Skip to Content
-1

issue with the BDC call transaction sy-subrc returning 1001

Hi,

I have a strange issue with BDC for me32k when I run the BDC with mode 'A' its working perfectly and when I ran the same BDC with mode N its catching SY-SUBRC as 1001. i had searched in the forum for the same and its becoz of some pop up like that they are saying . but when I do the same manually from ME32K there is no pop up. how to over come this scenario . please suggest.

thanks,

rg

Add comment
10|10000 characters needed characters exceeded

  • Hi,

    I solved it my self the issue is we are trying to pass value to a field in display mode hence its catching an error where as in A ( all screen display mode) its showing an simple warning at the bottom.

    correcting this would solve my issue.

    thanks,

    rg

  • Get RSS Feed

2 Answers

  • Sep 27, 2017 at 02:41 PM

    Hi Ramya,

    What is the error message that is getting captured from BDCMSGCOLL. Recently I had done the BDC for the same transaction and it is working fine for me.

    Regards,

    Ramesh.

    Add comment
    10|10000 characters needed characters exceeded

    • Correct. SY-SUBRC = 1001 is simply an error in the BDC, and there's more information in the internal table "messages" (lines of type BDCMSGCOLL) CALL TRANSACTION ... MESSAGES INTO messages. Those messages are of type 'S' and message class '00', but one should consider them as true errors. In "A" mode (display all screens), those 'S' messages appear as 'S' messages at the bottom.

  • Sep 27, 2017 at 07:52 AM

    First, in recent versions only, remove any break-point in called transaction (or use mode 'P')

    Then when you recorded the transaction (SHDB) did you check/uncheck some options like 'Not a Batch Input Session' or 'Simulate Background Mode' as this will change expected values for fields like sy-binpt and many programs will adapt their behavior) So you must use a CALL TRANSACTION mode consistent with SHDB recording mode (Perform some tests).

    You should also search and read the many OSS notes available for BDC in MM and consider usage of a BAPI like BAPI_CONTRACT_CHANGE.

    Add comment
    10|10000 characters needed characters exceeded