Mapping A Customers EDI Field in and Out of SAP
Mapping A Customers EDI Field in and Out of SAP
Customers that transact Orders to you via an EDI X12 850 often need you to send certain, customer specific, fields back
to them on subsequent documents. This is often a requirement at both the header and item levels of the order. A common
example of a header field would be the department number. It makes sense for the customer to have the department
number returned on subsequent documents but we don't have any use for that number in our SAP system other than to
store the details and pass it to subsequent documents.
In this example I am going to use the Internal Vendor number as my example at the header level and Customer's PO item
number as my example at the item level.
Note: Best practice is to map the Customer PO number to the "Purchase Order Item" field as shown in the diagram below.
And the resulting Sales Order EDI Technical Item text looks like this:
STEP 5: Create the Invoice / Billing Document
Now it's time to create the subsequent document for the sales order, namely the billing document. Because of the Text
copy control from the sales order to the invoice we now have the following text on the billing document at the header level:
And the following text on the Invoice / Billing Document item level:
REF*IA*115~
…
IT1*20*5*EA*7.99*VA*3234~
Advantages of doing it this way?
With this technique you can do this for any fields that the customers needs back for any outbound EDI message to them
that come from SAP and linked to the Sales Order document flow. I.e. The requirement for an ASN 856 can be met the
same way. Advantages of this approach include:
No custom fields required to store the data
No custom code required to implement the solution
Once the config of the EDI Technical text types are in place any further changes needed can be completely
handled by the EDI mapping team. This is desirable because it really is a pure EDI requirement to return a value to the
customer that we actually have no interest in
Other considerations
Since the EDI technical text is really only utilized by the EDI mapping team and really should not be seen or at
least changed by anyone, consider implementing some change control or authorizations in order to ensure the integrity of
the text is maintained (i.e. it is not changed)
You cannot allow for the manual creation of line items on EDI orders as they will not contain the EDI text - It is bad
practice to allow for the creation of line items on EDI orders so refrain from that practice.
If you have any comments or suggestions just leave a comment below.