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 query

Former Member
0 Kudos
210

Hi,

I am doing Lsmw for Fs00 using standard bacth input method.

At mapping i.e 5 th step of lsmw.

i want code such a way,that if the obligatory in the transaction is not pass from the test data then that record must skip.

transaction must run for the next record with same condition for all the records.

plz send me code.Its urgent.

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Kudos
181

Hi Saurabh,

You can write ABAP code as part of a MOVE step.

MOVE legacy field TO SAP field.

  • validation test (ABAP code)

  • test fails

WRITE ..... (Error)

skip_transaction. "This is the LSMW command to skip the transaction

Thanks,

Anky

Read only

0 Kudos
181

you can do this way too.

if your condition

g_skip_transaction = yes.

endif.

replace your condition with your validation