Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

LSMW Customer Master Load

Hi,

I have to create a LSMW for customer master load XD01.

Therefore I need to transfer quite many customer informations. I have chosen the object

"Standard Bacht/Direct Input" with object "0050" ( Program "RFBIDE00" ).

I have one excel sheet for the import right now. One row for each customer. So I have

binded all the columns from the excel to the fields of the several structures ( KNA1, KNB1, etc... ).

But I also need to insert taxes ( KNVI-ALAND, KNVI-TAXKD ), and that could be up to 7 lines in this

system (depending to the number of languages).

What should I do now? Create up to 7 columns for these fields ( ...til KNVI-ALAND7, KNVI-TAXKD7 ) ?

I´m pretty new to LSMW and I can see I have possibilities to insert program code, but how can I solve

this in the best way?

Thank you very much for your answers.

Tags:
replied

Not pretty, but it might work:

Map the first KNVI record as normal, then after the standard "transfer_record" statement you could insert additional "transfer_record" statements, after filling the target fields and based on the condition that source fields 2 to 7 contain data.

This way you create up to 7 target records out of just 1 source record (with 7 tax fields).

Thomas

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question