on 12-19-2006 2:49 PM
Hi,
How to mention the Record Structure occurences for repeated and/or optional segments in communication channel?
Sample Structure of the Input Message Type:
Invoic01 (Message Type)
IDoc
-E1EDK01 (1 occurence) (sub segment of IDoc)
-E1EDP01 (0..unbounded occurences) (sub segment of IDoc)
-E1EDP02 (0..1 occurence) (sub segment of E1EDP01)
-E1EDP26 (0..2 occurence) (sub segment of E1EDP01)
-E1EDPT1 (0..1 occurence) (sub segment of E1EDP01)
-E1EDPT2 (0..1 occurence) (sub segment of E1EDPT1)
-E1EDS01 (0..3 occurence) (sub segment of IDoc)
Can anybody please give any idea?
Yogi.
Hi Yogi,
Why you need adapter module?
Actually this is called as module processor program which will be used to enhance the adapter functionality.
Please see the following PDF documents to develop the Module processor programs.
http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm
help : http://ifr.sap.com
Some weblogs for JAVA mapping for IDoc mapping
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
Please clearly ask your question.
What is your input file, and file structure you are receiving, and what is your scenario.
Then only you will get correct solution.
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chilla,
Thanq for your information.
Problem resolved.
Regards,
Yogi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi yogendranath,
I suppose that the file is the output (inbound) message,
then why do you need occurrence of segments in CC? If the segment will be found in the target message it will be written otherwise it will not.
If I misunderstood your question please let me know.
Kind Regards,
Sergio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We have used keyfield in our Record sturucture. But the problem is that we have nested levels in our record structure. The problem coming while defining the Record Set Structure. Because the sub structures may come or may not and also they may come repeatedly.
Example of Flat File:
RootNode
Segement1
Segment2
Segment3
Segment4 (Here Segemennt 4 may come n number of times)
Segment5 (For each occurance of Segement4, Segment5 comes twice)
Segment6 (For each occurance of Segement4, Segment6 comes thrice)
Segement7
Segment8
That is XML File needs to be created like this:
<RootNode>
<Segment1>
<Segment2>
<Segement3>
</Segement3>
<Segement4>
<Segment5>
</Segement5>
<Segment5>
</Segement5>
<Segment6>
</Segement6>
<Segment6>
</Segement6>
<Segment6>
</Segement6>
</Segement4>
</Segment2>
</Segment1>
</RootNode>
How to define the record structure for nested levels?
Can anybody please give any idea?
Hi,
Such a strcuutre cannot be ceated using the sender file adaptes content conversion.
Ony the strucutre shown in this link is supported,
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Either change the source strucutre , or wrting an adapter module is the solution.
Regards
Bhavesh
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.