cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service failing at call transaction

Former Member
0 Kudos

Hi,

We are invoking a web service that wraps a custom BAPI (that uses CALL

TRANSACTION) to update backend data. The BAPI when tested standalone

works fine and updates the required data. But when invoked via the web

service, it fails at the CALL TRANSACTION code. We have tried to debug

the BAPI and during debugging process, it aborts when executing the

CALL TRANSACTION code. The web service returns with a "Unexpected

Content type" error message.

Any help is highly appreciated

Thanks

Som

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

<u>This worked very nicely</u>. Thanks for taking the time to answer.

I would award you points but I cannot see how to do this or say that the question is answered. I think it is because it is originally your question.

Thanks again

Billy

Former Member
0 Kudos

Thanks for testing it. I used it in my BSP application to update infotypes and it works. I think Som can award points if this helps.

Former Member
0 Kudos

Try to create a RFC enabled Function module as a wrapper to the the BAPI and call the BAPI a background task with a RFC destination.

Ex: call function 'ZHR_IT0082_UPDATE' destination gc_destination

This will execute the trasaction as a background user login and should work very similar to your testing in R/3.

Former Member
0 Kudos

Hi Som,

Did you get an answer to this problem?

Many thanks

Billy