Skip to Content
Author's profile photo Adrián Mejido

Enhancement segment E1WXX01 for IDOc WPUWBW (OUTBOUND)

The IDOc WPUWBW for goodsmovement, has a Basic Type WPUWBW01 which has some segments:

As you can notice in the image, the IDOc has three segments:

  • E1WPG01: Header segment which will have the information of the transaction (IT_TRANSACTION information)
  • E1WPG02: Item segment which will have the information of Goodsmovement (TRANSACTION-GOODSMOVEMENT)
  • E1WXX01: This segment is used to map some extra information (customer enhanmecent).

In my POSDM system, the information of GOODSMOVEMENT is not mapped so I have to map them with the information of RETAILLINEITEM. For this purpose I need to implement the /POSDW/TASK badi, and in the CALL method of my implementation, I receive these parameters:


Furthermore, in this method I call the FM  /POSDW/IDOC_OUTPUT_WPUWBW, which creates the IDOc.

At this point, the IDOc will be generated and for each transaction we will be able to see two segments (one E1WPG01 header and one or more E1WPG02 segments with goodsmovement information) in the IDoc. If you need to add some enhancement data to the IDoc, you will need to map the GOODSMOVEMENT-EXTENSIONS table in the CALL method that I showed before. This table has three main fields:

And the E1WXX01 segment has the same fields but with other names:

For each EXTENSIONS entry that you map in the CALL method there will be a E1WXX01 segment in the IDoc.

For example: I have mapped one EXTENSIONS entry in the GOODSMOVEMENT-EXTENSIONS table:

The result of my IDoc is:

In addition, if you need to do some extra modifications on the IDoc information, you can implement the /POSDW/IDOCOUTPUT badi to modify EDIDC  or EDIDD data. The CALL method of this badi receives as parameters the CT_EDDID table which contains all segments that have been created for all transactions.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Thanga Prakash Thanga Raj
      Thanga Prakash Thanga Raj

      Hello Adrian,

      Good document... keep up the good work 🙂



      Author's profile photo Piyas Kumar Das
      Piyas Kumar Das

      Hi Adrain,

      Nice document, good explanation......

      Do not use an image for codes use a code stepsister display.....

      Keep sharing knowledge.



      Author's profile photo Adrián Mejido
      Adrián Mejido
      Blog Post Author

      Thanks Piyas,

      I will take your tip into account next time.

      Best Regards

      Author's profile photo Ting Wang
      Ting Wang

      Hi Mejido

      Currently, we are encountering how to handle Idocs WPUMMS posting with batch information.
      I am not sure which field groupss and field names should be filled in in segment E1WXX01.

      Your detailed guidance would be greatly appreciated.

      Or ,is there any enhancement point can implemented in material document creation.

      Best Regards