Application Development and Automation 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: 
Read only

Determining output type inside the IDOC processing FM

Former Member
0 Likes
532

Hi,

When sales order is created, ZXXX is the output type triggered which invokes the function module (FM) IDOC_OUTPUT_ORDRSP to send the IDOC. My question is how do we know which output type got triggered the execution inside the FM?

My requirement is to do some calculation only for ZAAA inside the FM IDOC_OUTPUT_ORDRSP but this same FM is triggered by many output types ZXXX, ZXYZ, ZMNO. So I want to know which output type triggered the FM. Hope I make it clear.

Thanks,

Sakthi.

1 REPLY 1
Read only

Former Member
0 Likes
353

dossgs

An import parameter of FM IDOC_OUTPUT_ORDRSP is the structure named OBJECT (like NAST). OBJECT-KSCHL is the message type (output type).

Regards,

zKen