Skip to Content

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


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


fields are

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


ampl werks LOCNO

ampl ematn ALTPN




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