Skip to Content

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

LSMW

Hi experts,

i wanna know where exactly we have to write the code for lsmw.

the logic which i have to write is

The data will be downloaded from the AMPL table of R3. Only those AMPLs which are valid will be extracted. The extraction will be done only for those plants whose warehouses are handled in EWM.

Data to be extracted are

• Internal material number (AMPL-BMATN)

• MPN number (AMPL-EMATN)

• Plant (AMPL-WERKS)

Selection criteria would be

• Plant (AMPL-WERKS)

• MPN number (AMPL-EMATN) > 0

• Valid To date (AMPL-DATUB) > current date

The transaction and the fields are

/SAPAPO/MAT1----Transaction

fields are

Source Table (R3) fields Target fields in EWM (properties 2 view

AMPL MATNR MATNR

ampl werks LOCNO

ampl ematn ALTPN

APNTYPE(constant,char2)

regards,

sandeep.

Former Member
Not what you were looking for? View more on this topic or Ask a question