Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Call Transaction in IDoc

Former Member
0 Kudos

Hi experts, I am facing the following problem: We create QM notifications via IDoc … so far so good. The new requirement is that a request for a refund has to be created automatically – with reference to a particular billing item. As there doesn’t exist any FM to do this (only for reference to a billing document – but not to a single position) it should be solved with CALL TRANSACTION VA01. I’ve tested the new procedure in developing system with WE19 – “Standard Inbound” and “Inbound function module” – Buttons. It works fine. So we transported the changes  - but now there are dumps with the error “DYNPRO_SEND_IN_BACKGROUND”. Does anybody have an idea how to solve this problem? Thanks so much! Monika

1 REPLY 1

karthikeyan_p3
Contributor
0 Kudos

Hi Monika,

DYNPRO_SEND_IN_BACKGROUND occurs when a dialog / pop up screen appears when the program is run in background.


Were you using CALL TRANSACTION in the IDOC user exit? If so, the above mentioned dump will occur, when the Inbound IDOC is executed in background. As a thumb rule, you should not be calling any screen during the IDOC processing.


I guess, you may need to replace the logic build using CALL TRANSACTION with a BAPI / FM call. If not, wrap the entire logic in a BDC and process it.


Regards,

Karthikeyan