Skip to Content
avatar image
Former Member

JDBC to IDoc (Custom inbound function module)

Hi,

In my scenario JDBC to IDoc, I am using a custom function module to change the planned order. When I exectue the function module in WE19, it works fine and the IDoc status is also updated correctly.

But when I execute the entire interface right from JDBC, the status of the IDoc is set to 51 and the description it is giving is "No status record was passed to ALE by the application".

Can any one help me with this, where exactly is the error?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 25, 2008 at 06:49 PM

    For IDOC status 51 : Inbound IDOC

    In WE19, Give the IDOC number & execute ... then put the cursor on the idoc control record . then click on the Standard Inbound push button on the application tool bar.it will show show all the details like partner no,type , message type , process code & function module name ...

    now put a break point in the function module .. & debug .

    if u r using customised inbound function module , then click on inbound function module .. there u will get a pop screen with FM name & debugging option in both background & foreground mode...

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      WE19 is different from end to end processing...

      The problem is in the inbound function module at ECC/SAP, ask ABAPer to check the function module. for every inbound idoc there will be an inbound FM which shd return the status of processing to the ALE which is not happening in your scenario.