Skip to Content
avatar image
Former Member

About IDocs

Hi!

How can I check for a given IDoc basis type (For example ZSD_ORDER), which program/function module is run,

- when an IDoc arrives into the system

- when an IDoc leaves the system

Thanx.

Tamá

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 16, 2007 at 11:38 AM

    u have to use the process codes these process code containin function modules in out bound it generate idoc when reading application document.

    in in bound these process code read the idoc and generate application document for these t codes are we41 for out bound we42 for in bound

    depend on the u have to customize the settings for predefined applications to generate idocs see the transaction code BD60 u will get the idea

    regards

    paruchuri.nagesh

    reward if u find usefull.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      As you have mentioned the customized IDOC type 'ZSD_ORDER', so in this case you have to create the selection program( The program that creates outbound Idoc out of application data) and the posting function module(function module that creates the applcation data from Inbound Idoc).

      In case it is already created in the system, then for inbound posting function module you can check the entry in the <b>t. code WE57</b>. It maintains the relation between basic type, message type and the inbound fn module.

      Then you can check the process code for this fn module by<b> t. code WE42</b>.( we always maintain process code attached to the fn module in the partner profile)

      For creating outbound Idoc , you have to search whether person has created a standalone program to create Idoc or the function module.

      (Mostly in the customized idoc types , a selection program is created to create the outbound Idoc).

      For outbound fn modules you can check the <b>t.code WE41</b> that contains the outbound process codes.

      I hope this will help you.

      Regards,

      Monica