2014 Jan 22 6:47 AM
I try to execute BDC but it's stopped when there is an error in the middle of the process. Usually it doesn't stop the process, but I think because the error is change the display into another screen. How to solve this problem? Thanks.
This is the code:
TCODE : LT0E
MODE : N
=====================================================================
PROGRAM DYNP D FNAM FVAL
=====================================================================
SAPML03T 0201 X
0000 BDC_CURSOR RL03T-REFNR_2ST
0000 BDC_OKCODE /00
0000 LTAK-LGNUM XXX
0000 RL03T-REFNR_2ST XXX
0000 RL03T-KZGSM X
0000 RL03T-DUNKL H
SAPML03T 0202 X
0000 BDC_OKCODE =TERZ
0000 BDC_SUBSCR SAPML03T 2020D0202_S
0000 BDC_CURSOR L2SKTOTAL-OFMNA(01)
//--> Error starts here and the code below is not executed then <--\\
SAPML03T 0102 X
0000 LTAP-VLTYP XXX
SAPML03T 0202 X
0000 BDC_OKCODE =BU
0000 BDC_SUBSCR SAPML03T 2020D0202_S
0000 BDC_CURSOR L2SKTOTAL-OFMNA(01)
2014 Jan 22 7:42 AM
write calltransaction after the loop for filling bdcdata..
or u can use session method ..
regards,
siva..
2014 Jan 24 6:31 AM
2014 Jan 22 7:46 AM
2014 Jan 24 6:35 AM
2014 Jan 22 10:25 AM
Hello Jimmy,
I hope you are using CALL TRANSACTION method
Please mention, what type of error you are getting?
Regards,
Aneesh Menon
2014 Jan 24 6:33 AM
This one: RFC_CALL_TRANSACTION_USING ?
It's: " System cannot find source storage bin", after I get that error message, then the BDC stop processing the rest code and change the display to another screen (something like LT01)...