Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

lsmw batch input

Former Member
0 Likes
344

Hi all,

Can any one help me out how to do lsmw batch input. I am new to lsmw. I want in specific how to do validations in it.

1 REPLY 1
Read only

Former Member
0 Likes
297

Hi ,

You need to put custom code in the field mapping and conversion rules.

For example-> in material master update if you need to validate the material number input ->

under structure BMM00 for field MATNR put the code -.

Material number

SST_MATHDR-MATNR (Material Number)

SELECT SINGLE matnr FROM mara INTO bmm00-matnr

WHERE matnr = sst_mathdr-matnr.

IF sy-subrc NE 0.

PERFORM ur_collect_log USING '001'.

skip_transaction.

ENDIF.

Rgds,

HR