cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW: Sales order upload for multiple line items using Direct Input method.

0 Kudos

Hi SAP Experts,

I am uploading Sales orders with multiple line items using Direct input method in LSMW.

0090->object,

0000->Method,

RVINVB10->Program,

D->Type.

Created two files...One for Header and one for line items. HeaderFile->AUART,VKORG,VTWEG,SPART,SP_KUNNR, SH_KUNNR,BSTKD,AUGRU

Item File->BSTKD,POSNR,MATNR,ZMENGC,BSTKD_E,IHREZ

after executing DI Program, at first I am facing 'Date / / is not valid' , I tried with hardcoding certain fields PRSDT,ANGDT and FKDAT and the error is solved.

Now Iam facing the below mentioned problem.

                               V1                   449

Exchange rate of 1 in GBP 2 for date 08/09/2012 3 could not be determined.

And also I would like to know how to map sold-to-party and ship-to-party... I am just trying with mapping  BVBPAKOM-PARVW = 'AG'. and

BVBPAKOM-KUNNR = SP_KUNNR. How to map SH_KUNNR with PARVW = 'WE'.

Pls help...

Thanks,

Shivakrishna.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Guys,

here is the solution to map sold-to party and Ship-to party customer no's to the same target field in LSMW. Working using BAPI.

Using Variants:

in Segment E1BPPARNR... Map E1BPPARNR-PARTN_ROLE = 'AG'.

                                                E1BPPARNR-PARTN_NUMB = <source_struct-sold-to>.

in END_OF_RECORD for the same segment.

write the following code:

*******************************************************************

transfer_record.

E1BPPARNR-PARTN_ROLE = 'WE'.

E1BPPARNR-PARTN_NUMB = <source_struct-ship-to>.

transfer_record.

*******************************************************************