on 05-18-2007 11:17 AM
Hi
in my Idoc to file ..
i want to get Segment Numbers and parent Segment numbers
SourceMT TargetMT
SegmentA SegmentA
SegmentB SegmentB
SegmentC SegmentC
SegmentD SegmentD
SegmentE SegmentE
SegmentF SegmentF
SegmentA is parent for SegmentB,C,F
SegmentC is parent for SegmentD,E
Segment numbering start from 1,2,3,..
SegmentA number is 1,SegmentB number is 2,..,SegmentF number is 6..we have total 6 segments
in every structure lookis like
SegmentXXX
segmnentnum
parentsegnum
.
.
Total numeber of segments varies on Idocs..one IDoc may contain 6 Segments ,another may contain 24 segments..
i want to get SegmentNumber and ParentSegment number for each Idoc..
eg:for SegmentE -->Segment Numeber is 5 (count starts from top)
parent Segmentnumber os 3 ( SegmentC is parent for SegmentE and 3 is the SegmentNumber for SegmentC)
please guide me how we can achieve this Segment number and parent SegmentNumbers dynamically in XI.
I tried in message mappig without success.,
please help
regards
ram
Hi chandra..
thanks for your response..
i want to increment segment numbers and also need to get Parent segment numbers...
guide me plzz
regards
ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ram,
Create a File port in WE21 and assign this port to your IDoc in WE20. When the Idoc is triggered the corresponding IDoc is converted into IDoc Flat file with fixed lengths. Then you can read this fixed length Idoc and can convert into Idoc XML. or Check the section 3.2 which converts your flat file idoc into Idoc XML. This should solve your issue.
---Satish
Hi Friends,
I am convering IDOC into IDOC-XML format..
but in XML file, I want eachSegment number and Parent Segment Number .
i am using XSD for Target Xml .
how to get segment number and ParentSegment number for all the Segments..
The IDOC contains more number of segments....
please guide me how we can achieve with Graphical Mapping....and suggest needfull steps
regards
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Chnadra...
thanks for your response..
I am using Graphical mapping..
cant this possible to get using Grapical Mapping..
suggest me
regards
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
use java mapping and get the required result..
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.