In my current project, we are on Single Stack SAP PO 7.4 , B2B add-on SP02 Patch 12. In course of our EDI developments(we are dealing with ANXI X12 documents mostly), we noticed that the XSD generator does NOT list all EDI message versions our client is currently trading with their partners. Our client is currently using another EDI subsystem(Amtrix). We are migrating these interfaces to SAP PO. We did some research, raised an SAP incident and got to know about SAP Note 1934041. Thought it would be useful to share to the community. I will explain, taking an example of an EDI 855 document for which we needed the XSD for version 002000(this version is not listed in the default control key SAP in b2bic). The steps to get this XSD are below.

1) Goto B2B integration cockpit – http://<host><port>/b2bic.

2) Select EDI content Manager -> Editor -> Message Editor

/wp-content/uploads/2014/02/sc1_379849.png

3) Select a version & set that you would like to copy(in my example scenario i chose to use version 002003 and set 855), Now select “copy control key”.

/wp-content/uploads/2014/02/sc2_379916.png

4) select copy control key and in the popup window that appears, specify a new control key, description & also specify the new message version you need, in our example, we need 002000

/wp-content/uploads/2014/02/sc3_379918.png

5) After you save, you should see the new message version against the new control key you specified. There is a step to validate if its good, the pdf attached in SAP note 1934041 should guide you better on the validation.

6) You could now select the new message XSD generated in above step, and adjust it, meaning, you have to refer to the X12 855 v2000 manual and based on the manual, add/delete segments & loops, add or remove or modify the position of the fields in a segment.

Adjustment.png

/wp-content/uploads/2014/02/addfields_393323.png

7) After adjusting the XSD and saving it, you could then navigate to the control key scenario association under EDI content manager -> Editor and insert a new entry in the table shown in the screen. You should take care NOT to have all of the columns wildcarded, looks like these entries are used by EDISeparator for routing.

/wp-content/uploads/2014/02/sc4_379919.png

8) So for the new control keys & message versions we generated, we specify the exact sender component , service interface etc so that this entry is only confined to a specific interface where its needed.

/wp-content/uploads/2014/02/sc5_379920.png

9) Now, when you navigate to the XSD generator option under ANXI X12 , you should be able to select the new control key from the drop down and once you do so, see the new version we just generated. In our exmaple, it is EDI 855 message version 002000.

/wp-content/uploads/2014/02/sc6_379921.png

9) You could generate the XSD ande then use it in your mapping developments.

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. Satish Chauhan

    Hi Sara,you need this assciaation so that at runtime for that you can tell which control key to consider.SAP or custom while preparing a structure.

    Adapter module will use the transaction message type accordingly.

    You could also have that your custom control key has 855 structure different than SAP provided and your interface want to send custom structure to your trading partner in one scenario and sap standard provided in other scenario

    Regards,

    Satish

    (0) 

Leave a Reply