Skip to Content
Former Member
Jul 14, 2008 at 05:09 PM

reg. generating IDOC



I am asked to develop some screens. User will enter the data which will be stored in custom tables as well an IDOC needs to be generated which wil be sent to the EDI subsystem. My understanding is that I must do the following, please correct me if i am wrong, also let me know if i am missing any steps.

1. Create the custom IDOC segments and defintion in WE31 and WE30.

2. Populate the same via the program logic.

3. Create the neccessary message type and associate the same to the idoc in WE82.

4. Configuration personnels will take care of creating the partner profile and setting the output determination. This idoc is generated when a sales order is created.

Now how do i send i to EDI ? I must use CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' ??

thats it ?? am i missing anything ? also i do not know the custom idoc's segments. so i must ask the personnel the EDI document's format (segment definitions) and define the idoc as appr. right ? This is EDI 304.