cancel
Showing results for 
Search instead for 
Did you mean: 

graphical message mapping

Former Member
0 Kudos

Hello Expert

I am woking in IS retail Outbound Scenario for article master where enhancement segment E1WXX01 repeat multiple time and contain different -2 value and I want to collect that different value in different Target filed

Suppose

When first time segment E1WXX01 come contain

fldname Zcolor

Fldvalue red

Target field Color

In second time segment E1WXX01 contain value

fldname ZSIZE

Fldvalue 40

Target filed SIZE

And so on

I want configure that scenario with the help of graphical message mapping

Thanks

Amit Shivhare

Accepted Solutions (0)

Answers (7)

Answers (7)

shivhare
Active Contributor
0 Kudos

Thanks all my problem solved

shivhare
Active Contributor
0 Kudos

Hi All thanks

For suggestion my problem is approximately solved I have use context mapping but still facing one problem

I want to pass default value in targets field

Thanks

Amit Shivhare

Former Member
0 Kudos

HI Amit

could u provide me ur mail id so that i can send u the document on ABAP mapping

cheers

shivhare
Active Contributor
0 Kudos

Hi vemuganti naga phalguna

you can send it in my gmail. account amit.shivhare

Thanks

Amit Shivhare

Former Member
0 Kudos

Hi,

You can do this mapping in Graphical Mapping easily.

You can write a UDF (Advanced Function) in Java.

Take this UDF in context mode and in the input provide the fldName and fldValue as input.

Change their context to a higher context. Now in the UDF for each value of fldName and fldValue provide the corresponding target field Value.

Let me know in case any further help is required.

Regards,

Anurag Mahendru.

shivhare
Active Contributor
0 Kudos

Hi Anurag Mahendru

can u send me some example function that match with my scenario

Thanks

Amit Shivhare

Former Member
0 Kudos

Hi Amit,

If you can send me the input structure and example output structure, then i can help you with the code.

As such i dont have any matching UDF code with me right now.

Regards,

Anurag Mahendru.

Former Member
0 Kudos

Hi AMIT,

You can do it easily with graphical mapping.

i had also encountered same problem.

Do the following steps

1) First find the just root node under which the node ( E1WXX01) comes, Then assign the root node a constant and keep the value blank in that constant.

2) Assign the same blank constant to the segment field under this parent node.

3) then right click on the field E1WXX01 and click on duplicate subtre. after this you can see this field two time in your mapping under the same parrent node and then you can easily assign two different values to this field(E1WXX01)

you can duplicate this subtree as many times as you want depending upon the crdinality.

remeber assigning empty constant to the parent node and segment field is mandatory

other wise without asigning these values if you save your mapping then it will remove your duplicate node

save your maping and activate

definitly this will solve your problem

Thanks

sandeep sharma

Ps if helpful kindly reward points

shivhare
Active Contributor
0 Kudos

Hi

we have some value of root node

I have configure this scenario for IDOC WP_PLU03

Parent segment E1WPA01 this will contain SITE code under this segment E1WXX01 come

Seg Scource Trget

E1WPA01 FILIALE FILIALE

E1WPA01 ARTIKELNR ARTIKELNR

E2WXX01 Field Value Season

E2WXX01 Field Value Style

E2WXX01 Field Value Design

E2WXX01 Field Value Fabric

E2WXX01 Field Value Collarneck

Thanks

Amit Shivhare

Former Member
0 Kudos

Hi Amit

we have some value of root node 

I have configure this scenario for IDOC WP_PLU03

Parent segment E1WPA01 this will contain SITE code under this segment E1WXX01 come 
Seg Scource Trget
E1WPA01 FILIALE FILIALE
E1WPA01 ARTIKELNR ARTIKELNR

E2WXX01 Field Value Season
E2WXX01 Field Value Style
E2WXX01 Field Value Design
E2WXX01 Field Value Fabric
E2WXX01 Field Value Collarneck

as per your requirement

1) assign values to your root node if you have other wise assign a blank constant

2) Parent segment E1WPA01 this will contain SITE code, then assign the site code to it .

under this node E1WPA01 just next to it, there must be a field name segment or Begin assign value to this field coz this is mandatory other wise it will not allow you to duplicate tree.

If you have values for this field then assign value otherwise assign blank constant.

3) now right click on E1WPA01 and duplicate it

then you can assign this the value you required

same process you can follow with E2WXX01

kindly assign points who are helpfull for you

Thanks

sandeep

Edited by: sandeep sharma on May 15, 2008 1:52 PM

Former Member
0 Kudos

Hi,

Clarify below:

r u always getting E1WXX01 segment only two times or it can come many times in the source.

Wat I understood is

u have source segment

parent E1WXX01 with occurrence 0-unbound

child -fldname occurrence is 0-1

child- Fldvalue occurrence is 0-1

now that is mapped to target segment

suppose u have

Target root occurrence 0-unbound

child-color - 0-1

so in this case u only need to map the E1WXX01 to Target root and fldname -color use a std function which removes the Z from the start.

chirag

Former Member
0 Kudos

Hi,

With graphical message mapping this will be very difficult. With Abap-mapping it would be easy though...

shivhare
Active Contributor
0 Kudos

Hi Cernum NetWeaver

can you send me some siple secenario of ABAP mapping because idont know

how message mapping done in ABAP

Thanks

Amit Shivhare