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

BDC for LT0E stop processing after catch an error

Former Member
0 Likes
958

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)

6 REPLIES 6
Read only

sivaprasad_paruchuri
Active Participant
0 Likes
863

write calltransaction after the loop for filling bdcdata..

or u can use session method ..

regards,

siva..

Read only

0 Likes
863

This one: RFC_CALL_TRANSACTION_USING ?

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
863

What error does it give you?

Nabheet

Read only

0 Likes
863

It's: " System cannot find source storage bin"

Read only

Former Member
0 Likes
863

Hello Jimmy,

I hope you are using CALL TRANSACTION method

Please mention, what type of error you are getting?

Regards,

Aneesh Menon


Read only

0 Likes
863

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)...