Quantcast
Channel: SCN: Message List
Viewing all 2796 articles
Browse latest View live

Re: UJ_VALIDATION and input /load authorization

$
0
0

Hi Vadim,

 

 

Thanks for the referenced document.  I will definitely read that document to get a better idea.  By the way I didn't think anything from BPC 7 would be valid anymore

 

I have worked with BPC since it was Outlooksoft and I sometimes cannot recognize some functions that used to be very familiar to me.

 

Best Regards,

Leila


Re: Convênio ICMS 153/15 - Sua empresa tem cenário de Isenção?

$
0
0

Boa tarde Sergio,

 

Realizamos esse testes agora mas segue com erro 225, pois a SEFAZ diz que falta a informação no <pICMSInter>.

A única maneira que conseguimos autorizar esse tipo de NF foi retirando as conditions de partilha na pricing e alterando o campo consumidor final para zero. Desa forma a SEFAZ não critica a falta da TAG de partilha.

Creio que vamos deixar assim para go-live e tentar tratar de forma standard posteriormente.

 

Muito obrigado pela ajuda.

Re: NT003 - RVXBRA - Chaves de conta ICMS Partilha ( Nota SAP 2232757 )

$
0
0

Antes que eu esqueça, o mesmo raciocínio vale para a chave BRI, repare , usada nas offset.

 

Pergunte ao Contador que contas ele quer redutoras de receita.

 

Se ele disser que quer a mesma do ICMS normal, mantenha a BRI na Pricing, caso contrário, crie outras e as associe na VKOA.

 

Abrs.

IPS - Backup

$
0
0

Hi folks,

 

I am having a hard time to understand the IPS Backup. I read the Information Plataform Services Administrator Guide that has a Chapter about Cold Backup and Hot Backup.

 

Unfortunately, I could not understand the procedure to backup BI Content. It says:

 

 

"It is recommended that you use the Lifecycle management console for SAP BusinessObjects Business

Intelligence platform to regularly back up your Business Intelligence content, such as reports, users and groups,

and universes "


I downloaded the guide:

Lifecycle management console for SAP BusinessObjects Business

Intelligence platform 4.0 User Guide and it mentions about Backing up Subversion files but nothing about reports, users and groups.

 

The other point is the LCM, I cannot not find it on CMC -> Applications. The IPS is version 4.1 SP6.

 

 

 

Thanks in advance,

Re: EU Triangulation Deal

$
0
0

Hi Praveen,

 

I am new to the triangulation trade. Can you please help me to understand this in simple words.

As per my current understanding . In triangulation trade 3 parties are involved A, B and C.

 

C will request the material from B which will be supplied from A to C on behalf of B.

 

Can you please help me with the understanding of the flow of transactional elements at A, B and C and at which step we are able to save tax.

 

Thanks in advance.

 

Regards,
Swapnil

Is it possible to run a custom SQL query using a keyboard shortcut inside SAP B1?

$
0
0

I have created some SQL query. Is it possible to call it using a keyboard shortcut? Thanks.

SAP S/4 HANA - Need Career Path Guidance

$
0
0

Hello Xperts,

 

I started my career as ABAP consultant before moving to Data Migration (More with Mapping and Validation with minimal tools use for Mass loads). Next big thing is SAP S/4 HANA and I wanted to know how my current career path fits in this new big thing.

 

Any guidance , help related to my career is highly appreciated.

 

Cheers !!

Re: Regarding OData Services

$
0
0

Hi Ravi,

 

In my secenario Odata is at sender side, I am gettng a link  which I have to use it , How to use it Odata as a sender. I am also generate a file , It's like a Odata services to file. Can you explain the approach and process steps.I didn't see Odata adapeter in sender side. Could you please explain about the secenario.if the sender is OData.

 

Thanks

Praveen


Re: Employee extension fields

$
0
0

Hi Arin,

 

I have enhanced the employee master and have not faced the same issue. Please note from 1511 SAP has made a lot of changes in employee master object. Worth raising an incident and checking the issue.

 

Rrgards

 

Arumita.

Re: BPC KPI

$
0
0

Ups...

 

"BAS is better performer than MDX" - what do you mean by BAS in this case

 

"BPC uses to calculate child nodes with SUM, AVG" - BPC is not using AVG to calculate nodes, aggregation is alway done as SUM and standard measure formulas use some other function, but not AVG.

 

There is no big difference between complex and simple KPI's, both are slow . You have to test always to see if the particular report performance is acceptable or not. Sometimes to calculate KPI you will need to create extra members calculated with script or badi like here: Average percent values on nodes

 

And yes, Excel formulas is always an option

 

Vadim

Re: Restrict Account Changes by Account Group

$
0
0

Pam,

 

As Ankur mentioned an SDK developer should be able to create a UI Switch as per business requirements and then you can assign this UI switch to your desired business role and it should work.

 

Thanks

Pavan.

Issue starting dbmlsrv process in Win 7 64-bit

$
0
0

I'm not sure if this issue is related to PB12.6, ASA/Mobilink 16, or just a Win7 64 bit issue, but wondered if any of you have seen it.  I recently took over for a guy that retired who created our app and just learned (a bit) about Mobilink and syncing in the last year or so from him.  I have a good bit of experience, but this if my first foray into the mobile platform.

 

We have an app which syncs our workers tablets in the field to our consolidated DB on a SqlServer 2008 server.

 

It works fine on my XP machine and the Win 7 32 bit machines in the field, but I am trying to move the code and setup to my new Win 7 64-bit developer machine.  I have a clean install of PB12.6, ASA16 (I uninstalled PB11.2 temprorarily to exclude it from the issue as there was a conflict previously when starting with PB12.6). 

 

The problem occurs whey I try to sync from the code - it apparently cannot establish a connection to my local development server because I get an error stating 'unable to establish bidirection connection for dbmlsrv' at the point where the code calls the sync.  If I run the build/sync files locally they work fine.

 

I have admin rights on the computer, I have tried running as administrator.

 

Any help/ideas is appreciated.

Thanks,

jeff

Re: Convênio ICMS 153/15 - Sua empresa tem cenário de Isenção?

$
0
0

Perdão Thyago,

 

Esqueci de dizer que manipulamos a informação de consumidor final alterando de 1 para 0 nano método IF_J_1BNF_ADD_DATA-ADD_DATA.

Da para testar o XML alterando o campo na J1B2N.

 

Abs

Re: How to change Address Number on Vendor Master - and why is it linked to Site?

$
0
0

This is what is so strange. My Site Profile doesn't even allow assignment of the site to a vendor (Vendor Account Group is blank), only a customer. I wonder if the system assigned the same ADRNR to each because they had the same name and address? But now they cannot be separated.

Re: Retransfer Tariff codes to ECC

$
0
0

Hi Ratheesh,

 

Use the same transaction /SAPSLL/SWM_RTR from GTS and not from ECC.

The location is cockpit-->system monitoring-->Synchronization --> Transfer commodity codes.

 

Hope this helps!

Shrini


Re: What skill set is needed for Design Studio ?

$
0
0

All, I'm new to Business Objects (6 months), have learned Web Intelligence during that time and some Universe Design (and some Administration).

 

But this article sums up my hunches about Design Studio, e.g.

  • People are evaluating Design Studio and identify it requires a developer with specialist skills with they do not have internally and would need to  engage with a central IT function or consultancy providers

  • People are evaluating Design Studio but it is seen as too complicated to use with its reliance on Java code and Custom Style Sheets (css).

  • Users would rather have something on their desk than can build and deliver themselves rather than endure a dashboard project delivered by the IT department

 

So since we have no particular requirements for Dashboard (or Dashboards), I'm going to go into this with some hesitation.

 

thoughts ?

Re: no planned order created

Re: wanted to display PO no of sales order in Invoice smartform

$
0
0

Dear Experts,

Thank you for your helpful suggestions. I tried to fetch only the PO number of sales order number by adding that field name i.e. BSTNK_VF into a ztable. Also created workarea (WA_ITAB like Ztable). Hence this WA_ITAB will fetch the data and display on the smartform.

 

But I am unable to print the value of this field in the smartform. All the naming conventions are proper but still no value gets displayed.

 

Also, sharing the code of the program below for your reference.

 


REPORT ZXX_XXX_CUSTOMERINVOICE.

TYPE-POOLS: slis.
TABLES : VBRK,VBRP,ADRC,KNA1,KONV,VBAK.
TABLES : nast.

DATA : VBELN TYPE VBRK-VBELN.
DATA : BSTKD TYPE VBKD-BSTKD.
DATA : KTGRD TYPE KNVV-KTGRD.
DATA : FMNAME TYPE rs38l_fnam,                    
control TYPE ssfctrlop,                     
errtab 
TYPE tsferror.

DATA : itab TYPE STANDARD TABLE OF zcust_inv,
wa_itab
type zcust_inv,
itab1
TYPE STANDARD TABLE OF zcust_inv,
wa_itab1
type zcust_inv,
itab2
TYPE STANDARD TABLE OF zcust_inv,
wa_itab2
type zcust_inv.

DATA:
it_vbrp
TYPE STANDARD TABLE OF vbrp,
it_vbpa
TYPE STANDARD TABLE OF vbpa,
it_vbak
TYPE STANDARD TABLE OF vbak,
it_adrc
TYPE STANDARD TABLE OF adrc,
it_konv
TYPE STANDARD TABLE OF konv,
it_konv1
TYPE STANDARD TABLE OF konv,
it_j_1iexchdr
TYPE STANDARD TABLE OF j_1iexchdr,
wa_vbpa
type vbpa,
wa_vbak
type vbak,
wa_adrc
TYPE adrc,
wa_konv
TYPE konv,
wa_konv1
TYPE konv,
wa_j_1iexchdr
TYPE j_1iexchdr.

data : tdname TYPE thead-tdname,
tdname1
TYPE thead-tdname,
temp
type TABLE OF tline WITH HEADER LINE.

DATA: amount_in_words TYPE spell-word,
lv_amount
type pc207-betrg,
pos
type posnr.
 
START-OF-SELECTION.
form entry using return_code us_screen.
perform get_data.
perform fetch_data.
perform processing.

ENDFORM.

FORM GET_DATA .

vbeln
= nast-objky.

select a~vbeln a~fkart a~kunag a~knumv a~fkdat A~ERDAT A~BSTNK_VF
b
~posnr b~matnr b~arktx b~netwr b~fkimg b~vrkme b~werks
from vbrk as A INNER JOIN vbrp as B
on b~vbeln = a~vbeln
into CORRESPONDING FIELDS OF TABLE itab
where a~vbeln = vbeln.

if itab[] is NOT INITIAL.
select * from j_1iexchdr
INTO CORRESPONDING FIELDS OF TABLE it_j_1iexchdr
FOR ALL ENTRIES IN itab
where rdoc = itab-vbeln.

SELECT * FROM vbpa
INTO CORRESPONDING FIELDS OF TABLE it_vbpa
FOR ALL ENTRIES IN itab
WHERE kunnr = itab-kunag and parvw in ('WE' , 'AG').

SELECT * from konv
into CORRESPONDING FIELDS OF TABLE it_konv
FOR ALL ENTRIES IN itab
where knumv = itab-knumv and kschl in ('PR00' , 'JHCS' , 'JECS' , 'JEXP' ,'JCST' ,'JLST','ZROU' ).

SELECT * from konv
into CORRESPONDING FIELDS OF TABLE it_konv1
FOR ALL ENTRIES IN itab
where knumv = itab-knumv and kschl in ('PR00' , 'JHCS' , 'JECS' , 'JEXP' ,'JCST' ,'JLST' ).
 
endif.

if it_vbpa[] is NOT INITIAL.
select * from adrc
INTO CORRESPONDING FIELDS OF TABLE it_adrc
FOR ALL ENTRIES IN it_vbpa
where ADDRNUMBER = it_vbpa-adrnr.
ENDIF.


ENDFORM.                   
FORM FETCH_DATA .

loop at itab INTO wa_itab.
clear pos.
pos
= wa_itab-posnr.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT         = wa_itab-posnr
IMPORTING
OUTPUT        = wa_itab-posnr.

wa_itab
-fkimg = wa_itab-fkimg.
read TABLE it_vbpa into wa_vbpa with key kunnr = wa_itab-kunag.
read TABLE it_adrc into wa_adrc with key addrnumber = wa_vbpa-adrnr.
wa_itab
-name1 = wa_adrc-name1.
wa_itab
-city1 = wa_adrc-city1.
wa_itab
-STR_SUPPL1 = wa_adrc-STR_SUPPL1.
wa_itab
-STR_SUPPL2 = wa_adrc-STR_SUPPL2.
wa_itab
-STREET = wa_adrc-STREET.
wa_itab
-POST_CODE1 = wa_adrc-POST_CODE1.


loop at it_konv into wa_konv where knumv = wa_itab-knumv.
CASE WA_KONV-KSCHL.
WHEN 'PR00'.
wa_itab
-total = wa_itab-total + WA_KONV-KWERT.
*    wa_itab-per = wa_itab-per + WA_KONV-Kbetr.
WHEN 'JEXP'.
wa_itab
-EXC = wa_itab-EXC + WA_KONV-KWERT.
WHEN 'JECS'.
wa_itab
-CESS = wa_itab-CESS + WA_KONV-KWERT.
WHEN 'JHCS'.
wa_itab
-SH = wa_itab-sh + WA_KONV-KWERT.
*  when 'JCST'.
*    wa_itab-VAT = wa_itab-VAT + WA_KONV-KWERT.
*  when 'JLST'.
wa_itab
-LST = wa_itab-LST + WA_KONV-KWERT.
when 'ZROU'.
wa_itab
-r_off = wa_itab-r_off + wa_konv-kbetr.

ENDCASE.
endloop.

read TABLE it_vbpa into wa_vbpa with key kunnr = wa_itab-kunag  parvw = 'WE'.
SELECT SINGLE KTGRD INTO KTGRD FROM KNVV
WHERE KUNNR = wa_vbpa-kunnr.

IF KTGRD = '01'.
LOOP AT IT_KONV INTO WA_KONV
WHERE KSCHL = 'JCST' OR KSCHL = 'JLST'.
IF WA_KONV-MWSK1 = 'V1' or WA_KONV-MWSK1 = 'V3'.
wa_itab
-ADD_VAT_WORD = 'VATMum 5%'.
wa_itab
-ADD_VAT = WA_KONV-KWERT +  wa_itab-ADD_VAT.
ELSEIF WA_KONV-MWSK1 = 'V2'.
wa_itab
-ADD_VAT_WORD = 'VAT @5%'.
wa_itab
-ADD_VAT = WA_KONV-KWERT +  wa_itab-ADD_VAT.
ELSEIF WA_KONV-MWSK1 = 'C1'.
wa_itab
-ADD_VAT_WORD = 'CST 5%'.
wa_itab
-ADD_VAT = WA_KONV-KWERT +  wa_itab-ADD_VAT.
ELSEIF WA_KONV-MWSK1 = 'C2'.
wa_itab
-ADD_VAT_WORD = 'CST 2%'.
wa_itab
-ADD_VAT = WA_KONV-KWERT +  wa_itab-ADD_VAT.
ELSEIF WA_KONV-MWSK1 = 'C3'.
wa_itab
-ADD_VAT_WORD = 'CST(STO)'.
wa_itab
-ADD_VAT = WA_KONV-KWERT +  wa_itab-ADD_VAT.
ELSEIF WA_KONV-MWSK1 = 'C4'.
wa_itab
-ADD_VAT_WORD = 'CST formH'.
wa_itab
-ADD_VAT = WA_KONV-KWERT + wa_itab-ADD_VAT.
ELSEIF WA_KONV-MWSK1 = 'C5'.
wa_itab
-ADD_VAT_WORD = 'CST formE1'.
wa_itab
-ADD_VAT = WA_KONV-KWERT + wa_itab-ADD_VAT.
ELSEIF WA_KONV-MWSK1 = 'C6'.
wa_itab
-ADD_VAT_WORD = 'CST formE2'.
wa_itab
-ADD_VAT = WA_KONV-KWERT + wa_itab-ADD_VAT.
ENDIF.
ENDLOOP.
ENDIF.


loop at it_konv1 into wa_konv1 where knumv = wa_itab-knumv and kposn = pos and kschl = 'PR00'.
wa_itab
-per = wa_itab-per + WA_KONV1-Kbetr.
wa_itab
-***_VAL = wa_itab-***_VAL + WA_KONV1-KWERT.

endloop.

loop at it_konv1 into wa_konv1 where knumv = wa_itab-knumv and kposn = pos and kschl = 'JEXP'.
wa_itab
-tdpay = wa_itab-tdpay + WA_KONV1-KWERT.
endloop.
wa_itab
-total1 = wa_itab-total  + wa_itab-EXC + wa_itab-cess + wa_itab-sh + wa_itab-add_vat  + wa_itab-r_off .

lv_amount
= wa_itab-***_val.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM             
= lv_amount
IMPORTING
AMT_IN_WORDS            
= wa_itab-***_WORDS
EXCEPTIONS
DATA_TYPE_MISMATCH      
= 1
OTHERS                   = 2
.
REPLACE all OCCURRENCES OF 'Rupees' in wa_itab-***_WORDS with 'RUPEES'.
CLEAR lv_amount.
lv_amount
= wa_itab-EXC.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM             
= lv_amount
IMPORTING
AMT_IN_WORDS            
= wa_itab-EXC_WORDS
EXCEPTIONS
DATA_TYPE_MISMATCH      
= 1
OTHERS                   = 2
.

REPLACE all OCCURRENCES OF 'Rupees' in wa_itab-EXC_WORDS with 'RUPEES'.

CLEAR lv_amount.
lv_amount
= wa_itab-cess.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM             
= lv_amount
IMPORTING
AMT_IN_WORDS            
= wa_itab-CESS_WORDS
EXCEPTIONS
DATA_TYPE_MISMATCH      
= 1
OTHERS                   = 2
.
REPLACE all OCCURRENCES OF 'Rupees' in wa_itab-CESS_WORDS with 'RUPEES'.

CLEAR lv_amount.
lv_amount
= wa_itab-sh.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM             
= lv_amount
IMPORTING
AMT_IN_WORDS            
= wa_itab-sh_WORDS
EXCEPTIONS
DATA_TYPE_MISMATCH      
= 1
OTHERS                   = 2
.
REPLACE all OCCURRENCES OF 'Rupees' in wa_itab-SH_WORDS with 'RUPEES'.

lv_amount
= wa_itab-total1.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM             
= lv_amount
IMPORTING
AMT_IN_WORDS            
= wa_itab-total1_words
EXCEPTIONS
DATA_TYPE_MISMATCH      
= 1
OTHERS                   = 2
.
REPLACE all OCCURRENCES OF 'Rupees' in wa_itab-TOTAL1_WORDS with 'RUPEES'.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT         = wa_itab-vbeln
IMPORTING
OUTPUT         = wa_itab-vbeln.
TDNAME
= wa_itab-vbeln.

CLEAR: temp[] , temp.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID                            = 'Z003'
LANGUAGE                      = 'E'
NAME                         
= TDNAME
OBJECT                       
= 'VBBK'
TABLES
LINES                         = temp
EXCEPTIONS
ID                            = 1
LANGUAGE                      = 2
NAME                         
= 3
NOT_FOUND                    
= 4
OBJECT                       
= 5
REFERENCE_CHECK              
= 6
WRONG_ACCESS_TO_ARCHIVE      
= 7
OTHERS                        = .

LOOP AT temp.
CONCATENATE wa_itab-lr temp-tdline INTO wa_itab-lr
SEPARATED BY space.
ENDLOOP.

CLEAR: temp[] , temp.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID                            = 'Z005'
LANGUAGE                      = 'E'
NAME                         
= TDNAME
OBJECT                       
= 'VBBK'
TABLES
LINES                         = temp
EXCEPTIONS
ID                            = 1
LANGUAGE                      = 2
NAME                         
= 3
NOT_FOUND                    
= 4
OBJECT                       
= 5
REFERENCE_CHECK              
= 6
WRONG_ACCESS_TO_ARCHIVE      
= 7
OTHERS                        = .

LOOP AT temp.
CONCATENATE wa_itab-VEHICLENO temp-tdline INTO wa_itab-VEHICLENO
SEPARATED BY space.
ENDLOOP.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT         = wa_itab-posnr
IMPORTING
OUTPUT        = wa_itab-posnr.
CONCATENATE vbeln wa_itab-posnr INTO  TDNAME1.
CLEAR: temp[] , temp.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID                            = 'Z002'
LANGUAGE                      = 'E'
NAME                         
= TDNAME1
OBJECT                       
= 'VBBP'
TABLES
LINES                         = temp
EXCEPTIONS
ID                            = 1
LANGUAGE                      = 2
NAME                         
= 3
NOT_FOUND                    
= 4
OBJECT                       
= 5
REFERENCE_CHECK              
= 6
WRONG_ACCESS_TO_ARCHIVE      
= 7
OTHERS                        = .

LOOP AT temp.
CONCATENATE wa_itab-nopck temp-tdline INTO wa_itab-nopck
SEPARATED BY space.
ENDLOOP.


CLEAR: temp[] , temp.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID                            = 'Z003'
LANGUAGE                      = 'E'
NAME                         
= TDNAME1
OBJECT                       
= 'VBBP'
TABLES
LINES                         = temp
EXCEPTIONS
ID                            = 1
LANGUAGE                      = 2
NAME                         
= 3
NOT_FOUND                    
= 4
OBJECT                       
= 5
REFERENCE_CHECK              
= 6
WRONG_ACCESS_TO_ARCHIVE      
= 7
OTHERS                        = .

LOOP AT temp.
CONCATENATE wa_itab-avgperpck temp-tdline INTO wa_itab-avgperpck
SEPARATED BY space.
ENDLOOP.

SELECT SINGLE J_1IEXCD FROM J_1IMOCUST INTO WA_itab-ecc
WHERE kunnr = wa_itab-kunag.


READ TABLE it_j_1iexchdr into wa_j_1iexchdr with key rdoc = wa_itab-vbeln.
IF WA_ITAB-ERDAT <= '20150331'. "'31.3.2015'.
CLEAR: temp[] , temp.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID                            = 'Z007'
LANGUAGE                      = 'E'
NAME                         
= TDNAME
OBJECT                       
= 'VBBK'
TABLES
LINES                         = temp
EXCEPTIONS
ID                            = 1
LANGUAGE                      = 2
NAME                         
= 3
NOT_FOUND                    
= 4
OBJECT                       
= 5
REFERENCE_CHECK              
= 6
WRONG_ACCESS_TO_ARCHIVE      
= 7
OTHERS                        = .

LOOP AT temp.
CONCATENATE wa_itab-exnum temp-tdline INTO wa_itab-exnum
SEPARATED BY space.
ENDLOOP.
ELSE" WA_ITAB-ERDAT > '20150331'.   "'31.3.2015'.
wa_itab
-exnum = wa_j_1iexchdr-exnum.
ENDIF.
wa_itab
-exdat = wa_j_1iexchdr-exdat.
wa_itab
-dt = wa_j_1iexchdr-exdat.
wa_itab
-prepare_time = wa_j_1iexchdr-cputm.

modify itab from wa_itab transporting rate posnr fkimg name1 city1 str_suppl1 str_suppl2 street post_code1
***_val exc cess sh total total1 ***_words exc_words cess_words sh_words lr vehicleno ecc total1_words
exnum exdat dt prepare_time vat lst nopck avgperpck per tdpay add_vat_word add_vat r_off
where vbeln = wa_itab-vbeln and posnr = wa_itab-posnr.
clear : wa_vbpa,wa_adrc,wa_konv,wa_j_1iexchdr.
clear wa_itab.
endloop.

ENDFORM.
FORM PROCESSING .

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME                
= 'ZSD_SSF_CUSTOMER_INVOICE1'
IMPORTING
FM_NAME                  
= FMNAME
EXCEPTIONS
NO_FORM                 
= 1
NO_FUNCTION_MODULE      
= 2
OTHERS                   = 3
.
IF SY-SUBRC <> 0.
ENDIF.



CALL FUNCTION FMNAME
EXPORTING      VBELN                      = VBELN
IS_NAST                   
= NAST
TABLES
ITAB                     
= ITAB
EXCEPTIONS
FORMATTING_ERROR          
= 1
INTERNAL_ERROR            
= 2
SEND_ERROR                
= 3
USER_CANCELED             
= 4
OTHERS                     = 5
.
IF SY-SUBRC <> 0.
ENDIF.

CALL FUNCTION 'SSF_READ_ERRORS'
IMPORTING
errortab
= errtab.
IF NOT errtab IS INITIAL
ENDIF.

ENDFORM.



Please guide asap.

Sizing inquiry

$
0
0

We have recently migrated our BW from SQL Server 2005 to SQL Serve 2008 however we have not yet compressed the SQL data yet as that's gonna take some time planning etc..

 

We want to do sizing exercise for BW on HANA however if I were to run report as per note 1736976, would it take the SQL compression into account for sizing or would you recommend we do the sizing exercise when we are done with SQL compression. Can you share your thoughts please ?

 

Regards

Kalyan

Re: Copy quote to order

$
0
0

Hi Mike


how was it code?

 

I'm trying


IF oOrder.GetByKey(BaseEntry) = True Then     Dim oInvoices As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseInvoices)     oInvoices.CardCode = oOrder.CardCode     oInvoices.CardName = oOrder.CardName     oInvoices.DocDate = oOrder.DocDate     oInvoices.DocDueDate = oOrder.DocDueDate     oInvoices.DocCurrency = oOrder.DocCurrency
i = 0     While i < oOrder.Lines.Count          IF i <> 0 Then              oInvoices.Lines.Add()          End IF          oOrder.Lines.SetCurrentLine(i)          oInvoices.Lines.BaseEntry = oOrder.DocEntry         oInvoices.Lines.BaseLine = oOrder.Lines.LineNum         oInvoices.Lines.BaseType = 22          oInvoices.Lines.WarehouseCode = oOrder.Lines.WarehouseCode         oInvoices.Lines.TaxCode = oOrder.Lines.TaxCode          i += 1     End While     oInvoices.DocDueDate = Date.Today     Retval = oInvoices.Add     If Retval <> 0 Then          MsgBox( "Error: " & oCompany.GetLastErrorDescription())     Else          MsgBox(String.Format(" {0} Items", i))     End If
End IF

get an error: Item number is missing; specify an item number [PCH1.ItemCode][line: 5]


thanks!

Viewing all 2796 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>