‎2011 Sep 22 7:38 PM
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.
‎2011 Sep 23 9:45 PM
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