Skip to Content
author's profile photo Former Member
Former Member

BDC for LT0E stop processing after catch an error

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)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jan 22, 2014 at 07:42 AM

    write calltransaction after the loop for filling bdcdata..

    or u can use session method ..

    regards,

    siva..

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 22, 2014 at 07:46 AM

    What error does it give you?

    Nabheet

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2014 at 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


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.