Hi All,
I am having problem in reading the UNH element from the
inbound message. Actually, the Inbound message i am trying to load is of
Agency - E [Edifact]
Version - S 93A [EDIFACT 1993 RELEASE (S-93A) STATUS 2]
Transaction - CUSRES [CUSTOMS RESPONSE MESSAGE].
I am receiving multiple messages in one single file(Sample file structure given below), so it becomes necessary to read the UNH segement for getting the message type. The message type is in the 2nd element of the UNH segement, where it is a composite element.
UNH Segement for 5108S Message:
==============================
UNH+26500091808501+CUSRES:S:93A:UN:5108S'
------
Whereas, 5108S is the message type. Which Table and the key need to be used in the Standard Rule to fetch the message type. If not possible through Standard Rule, please provide me the alternative method by which i can fetch the information.
Regards,
Nanda
==========================
The Sample file Structure:
==========================
(This all comes in one single file, all in one single line)
UNA:+.? '
UNB+UNOA:2+.....'
UNH+0916054513138+CUSRES:S:93A:UN:5252'
...
UNT+34+...'
UNH+..+CUSRES:S:93A:UN:5252'
UNT+..
UNH+..+CUSRES:S:93A:UN:5252'
UNT+..
UNZ+1+...'
UNA:+.? '
UNB+UNOA:2+....'
UNH+09160908051109+CUSRES:S:93A:UN:52041S'
...
...
...
UNT+34+...'
UNH+..+CUSRES:S:93A:UN:52041S'
UNT+..
UNH+..+CUSRES:S:93A:UN:52041S'
UNT+..
UNH+..+CUSRES:S:93A:UN:52041S'
UNT+..
UNZ+1+...'
I am having problem in reading the UNH element from the
inbound message. Actually, the Inbound message i am trying to load is of
Agency - E [Edifact]
Version - S 93A [EDIFACT 1993 RELEASE (S-93A) STATUS 2]
Transaction - CUSRES [CUSTOMS RESPONSE MESSAGE].
I am receiving multiple messages in one single file(Sample file structure given below), so it becomes necessary to read the UNH segement for getting the message type. The message type is in the 2nd element of the UNH segement, where it is a composite element.
UNH Segement for 5108S Message:
==============================
UNH+26500091808501+CUSRES:S:93A:UN:5108S'
------
Whereas, 5108S is the message type. Which Table and the key need to be used in the Standard Rule to fetch the message type. If not possible through Standard Rule, please provide me the alternative method by which i can fetch the information.
Regards,
Nanda
==========================
The Sample file Structure:
==========================
(This all comes in one single file, all in one single line)
UNA:+.? '
UNB+UNOA:2+.....'
UNH+0916054513138+CUSRES:S:93A:UN:5252'
...
UNT+34+...'
UNH+..+CUSRES:S:93A:UN:5252'
UNT+..
UNH+..+CUSRES:S:93A:UN:5252'
UNT+..
UNZ+1+...'
UNA:+.? '
UNB+UNOA:2+....'
UNH+09160908051109+CUSRES:S:93A:UN:52041S'
...
...
...
UNT+34+...'
UNH+..+CUSRES:S:93A:UN:52041S'
UNT+..
UNH+..+CUSRES:S:93A:UN:52041S'
UNT+..
UNH+..+CUSRES:S:93A:UN:52041S'
UNT+..
UNZ+1+...'