2007 Jul 19 7:02 PM
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
2007 Jul 19 8:15 PM
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
2007 Jul 19 8:46 PM
you can do this way too.
if your condition
g_skip_transaction = yes.
endif.
replace your condition with your validation