cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC to IDoc (Custom inbound function module)

jwalithtatikonda2
Participant
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member183906
Active Contributor
0 Kudos

For IDOC status 51 :

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

jwalithtatikonda2
Participant
0 Kudos

Hi, Thanks for your quick response. But as I said through WE19 it works fine, when we run the interface from JDBC to IDoc it is giving this error.

Former Member
0 Kudos

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.