cancel
Showing results for 
Search instead for 
Did you mean: 

Call Transaction not executing in Function Module

Former Member
0 Kudos

Hi,

I am sending an IDoc from non SAP system to SAP system,IDoc calls(Inbound Process Code) Function Module in which i wrote BDC code.i found that it is not calling Call Transaction but when i test the same IDoc from WE19 it executes perfectly and update data in database.

And for this communication i dont have any other option then BDC.

Suggest me what to do

RP

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Problem Solved.

I was using NoBatchInput option in Program

i found that RFC Function does not support NoBatchInput.

Answers (3)

Answers (3)

prabhu_s2
Active Contributor
0 Kudos

also check if COMMIT WORK is added to ur call

Former Member
0 Kudos

where i should mention COMMIT WORK

if u have any sample code for such scenario then please send me

[Removed by the moderator.]

RP

prabhu_s2
Active Contributor
0 Kudos

WHAT IS THE ERROR U GET?

Former Member
0 Kudos

Hi Prabhu,

Error No 51

I found that when it tries to execute Call Transaction it leaves screen

but when i test the same IDoc through WE19 it works perfectly

even i test the function module in SE37 it works fine

RP

prabhu_s2
Active Contributor
0 Kudos

is the error desp is "Application document not posted"? can u give the descption?

Former Member
0 Kudos

yes

Status: Application document not posted

No status record was passed to ALE by the application

tell me where should be error

RP

prabhu_s2
Active Contributor
0 Kudos

1.Check for leading zeros for key fields like material number, vendor number etc .

2. make use of wrappers. check the below link:

https://www.sdn.sap.com/irj/go/km/docs/library/mobile/mobile%20infrastructure/mobile%20development%2...

Former Member
0 Kudos

Please check and debug your BDC again.

regards

krishna