on 10-22-2009 8:01 AM
Hi.
I have a small context problem that i can't solve.
The source structure looks as follow:
<headersource>
<sourcesegment1> 1...1
<sourcefield1> 1...1
</sourcesegment1>
<sourcesegment2> 1...unbounded
<sourcefield2> 1...1
</sourcesegment2>
</headersource>
target structure
<headertarget>
<targetsegment> 1...unbounded
<targetfield1> 1...1
<targetfield2> 1...1
</targetsegment>
<headertarget>
I want to map
sourcefield2 -> targetfield1
sourcefield1 -> targetfield2
In my mapping the targetfield1 gets populated for every segment but my targetfield2 only get populated in my first targetsegment.
How can I solve it so targetfield2 get populated for every targetsegment created?
BR
Kalle
Hi ,
While using the USEONEASMANY , you have to change the context of the 3rd parameter to the top or to the header .
You can check this is your display queue..
Regards,
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see a small error in my structure.
Source structure should be the following
<headersource>
<sourcesegment1> 1...1
<sourcefield1> 1...1
</sourcesegment1>
<sourcesegment2> 1...1
<sourcesubsegnmment> 1...unbounded
<sourcefield2> 1...1
</sourcesubsegnmment>
</sourcesegment2>
</headersource>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For your targetfield2 you need to use useoneasmany function. Check help.sap for the exact description of how to use this function.
Hope this helps.
Regards,
Siddhesh S.Tawate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
you can achieve this by using USE ONE AS MANY ...
Try , use remove context and collapse context if necessary
Regards,
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.