Grammars for IDocs - SHPMNT03 DELVRY03 INVOIC01

204 views
Skip to first unread message

oziel Martinez

unread,
Mar 13, 2021, 3:59:50 PM3/13/21
to Bots Open Source EDI Translator
Hello,

Could someone please share Grammars for IDocs:

SHPMNT03
DELVRY03
INVOIC01

Or any advice on how to develop them properly.
I found the grammars for ORDERS01 and WP_PLU02 from the demo.
And I am currently using them as reference to slowly map the ones I need by hand.

My end goal is to translate SAP IDocs SHPMNT03 or DELVRY03 to ANSI X12 856. And SAP IDoc INVOIC01 to ANSI X12 810.

Any advice would be appreciated.

Regards,
Oziel Martínez

Eppye Bots

unread,
Mar 14, 2021, 5:22:28 AM3/14/21
to 'Chuck Turco' via Bots Open Source EDI Translator
can you send the xsd's for those?
(mostly SAP idocs have custom fields or records).

kind regards, Henk-Jan Ebbers


--
You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/botsmail/4b7cd076-9564-4066-ab76-2e8b947600abn%40googlegroups.com.

oziel Martinez

unread,
Mar 14, 2021, 1:34:48 PM3/14/21
to Bots Open Source EDI Translator
Hello, and thank you very much for your time and help.

I've attached here the XSDs downloaded from my SAP system.

I tried using bots-xml2botsgrammar.py and got the attached grammar files.
But it looks like they are missing the "element name" tags.

Regards,
Oziel Martínez

INVOIC01.py
ORDERS01.py
DELVRY03.XML
SHPMNT03.XML
SHPMNT03.py
DELVRY03.py
INVOIC01.XML
ORDERS01.XML

oziel Martinez

unread,
Mar 14, 2021, 2:57:58 PM3/14/21
to Bots Open Source EDI Translator
Hi,

Update, tried bots-xml2botsgrammar.py with an XML from an actual generated IDoc and got a pretty decent grammar.

Regards,
Oziel Martínez

tmp.py
TMP.XML

Eppye Bots

unread,
Mar 15, 2021, 9:06:55 AM3/15/21
to 'Chuck Turco' via Bots Open Source EDI Translator
see attachments
kind regards, Henk-Jan Ebbers


DELVRY03.py
ORDERS01.py
INVOIC01.py
SHPMNT03.py
Reply all
Reply to author
Forward
0 new messages