cancel
Showing results for 
Search instead for 
Did you mean: 

B2B Addon - XML to X12 conversion issue - missing separators

rene_press
Explorer
0 Kudos
1,349

Dear SAP Community,

we are implementing an EDI scenario, of type IDOC -> SAP PO -> ANSI X12.

On receiver Side, there is an AS2_Receiver Channel. This channel also performes the XML to X12 conversion by accessing the X12ConverterModule. The field separator is "^" (Caret).

Here is the issue: Fields, that are not mapped in graphical Message Mapping (MM) are supposed to cause an additional "^" delimiter as a placeholder in the X12 message. But this is not the case. If a target field contains a value, it's displayed properly, but if its not present in the XML, no "^" is inserted. As a result, all the fields to the right are shifted and the resulting X12 message is useless!

EXAMPLE:

This is the target Message in ESR, segment ITD from ANSI Invoice (810):

... this is the expected x12 message (generated manually with XML to X12 converter tool in B2B Cockpit):

... but this is the actual resulting X12 message:

--> As you can see in the above examples, the "^" separators from the not-mapped fields are missing. The validation on receiver side fails.

Has anyone seen this kind of error before and knows how to solve this??

Thanks and best regards

René Preß

View Entire Topic
HansHougaard
Discoverer
0 Kudos

Facing the same issue.
Customer is asking for this UNB record - UNB+UNOC:3:::7 .......
This means a value of "7" mapped to C_S001/D_0076, while D_0080 and D_0133 should be empty.
This is impossible to achieve.
Fun fact: when running the conversion through the B2B cockpit -> Edifact -> Converter XML to Edifact it works just fine and it doesn't remove the separators. Issue seems to be with the GenericConverterModule used on the receiver com. channel.
We're on PIB2BTOOLKIT 1000.2.0.1.23.20201120084000
Will raise an OSS with SAP.

rene_press
Explorer

Yes that's correct, the B2B converter keeps the separators. Our version is 1000.2.0.1.17.20200907124100 - so it still seems to be unresolved.

OSS Ticket: Good point, let me know the SAP response!

Best regards

René