cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate subtree in PI 7.11(EHP1) not working as it works in XI 3.0

Former Member
0 Kudos

Hi Friends,

I've exported a mapping program(graphical) from XI 3.0 to PI 7.1 as we are upgrading from old version to new one.

The mapping consists of the following target structure:

Item(Occ->0..1) Node

Err(Occ->0..1)Subnode under Item

Errtext0(Occ->0..1)Field under Err--->field being duplicated

Errtext0[1](duplicated field of Errtext0)--->field after duplication

Errtext0[2]](duplicated field of Errtext0)--->field after duplication

Errtext0[3]](duplicated field of Errtext0)--->field after duplication

In XI 3.0 when the duplicate fields are populated with values during mapping the fields appear at the target but in PI 7.1 the duplicate fields are not appearing even after values being populated.

One more observation is, In XI 3.0 when I duplicate a field its type(eg: String) and occurrence gets copied or is visible once the field is duplicated but in PI 7.1 the attributes are not visible.

Ultimately only the value of the field being duplicated is occuring after mapping transformation but not the values of duplicated fields.

Please let me know the answer if anyone of you have come across similar problem

Many thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member305267
Discoverer
0 Kudos

HI Diptee,

If fact I had an issue regarding the repetition of the duplicated node. It wouldn't replicate more than once that's why I was bothering about the occurence. What you say it is right though, it doesn't matter if the occruence appear.

In our case,we ended up disabling all the mapping in the target segment one after the the other. We then re-enabled them and it worked. I have no idea what was going wrong but it worked.

Thanks anyway.

Bye

Julien

stefan_grube
Active Contributor
0 Kudos

It seems to be a new restriction in EhP1 that a field which has occurrancy 0..1 cannot be repeated by duplicate subtree.

In my test (SP5) I found:

when target node has occurrancy:

- unbounded: works as desired.

- 0..1: only first value is taken

Check all your mappings, that the duplicated nodes have occurrancy unbounded to make sure that they work in PI 7.11

0 Kudos

how to make/change the occurance in mapping level as the node is being duplicated in mapping level.

Thanks.

Former Member
0 Kudos

Hello John,

Please update the occurrence in data type/external definition.

Regards,

Diptee

former_member305267
Discoverer
0 Kudos

hi there,

How do you apply the occurence to the duplicated subtree? Is there a solution or a workaround to this issue ?

Br

Julien

Former Member
0 Kudos

Hello Julien,

Looks like even if the occurrence does not show up in the mapping editor, the mapping works just fine at runtime.

Please refer to the below thread

http://scn.sap.com/thread/2124476

Regards,

Diptee

Shabarish_Nair
Active Contributor
0 Kudos

make sure you have done the mapping for the parent node of the duplicated strucutres

Former Member
0 Kudos

Thanks for your response.

Mapping exists for the parent node.

Former Member
0 Kudos

Hi

We are using PI7.1 EHP1. our issue is, we have create one data type, message type in PI7.1 EHP1.

Now whenever we are using the Message type in message mapping & whenever we are trying to duplicate any of the field using the duplicate subtree option in context menu, it is generating the duplicate subtree field without the occurence and the data type of field.

Now if we will do the mapping for the duplicate field, the field is not coming in the target structure, if we are testing our mapping using test option.

The issue we are facing with Pi7.1 EHP1. we already tried the same in XI3.0and PI7.1 and it is working fine.

could you please suggest if it is any service pack issue or any technical issue with mapping?

Thanks

RKothari
Contributor
0 Kudos

Hi,

Please check the SAP NOTE: 1371541:Duplicate subtree is Message Mapping not working properly.

-Rahul

Former Member
0 Kudos

Hi Rahul

Thanks for your response. we have already implemented the SAP note 1371451 given by you, but again no luck.

Any other suggesstions please.

Many Thanks

Former Member
0 Kudos

Rahul,

Just a quick question...

As per the note you mentioned..I just took the appropriate .SCA file as per the note from market place and the BASIS apllied that using JSMP tool and now the file is visible in ESP/ in location of the Server.

Is this the right way of deploying the file?

Please confirm if you have done this before

Many thanks.

RKothari
Contributor
0 Kudos

Hi,

It seems that the process you followed is correct and hope you have taken a Java stack re-start too.

I checked in Support Package Stack Guide NW PI 7.1 incl. EHP1 - SPS 05 point 2.4.1: Planning section.

We have some zip files also available for ESR content.

You can have a look into more details of applying support packs at https://websmp207.sap-ag.de/maintenancenwpi71

-Rahul

Former Member
0 Kudos

Rahul,

Thank you very much for your valuable suggestion.

Actually we are on SP 04...

When i duplicate a subtree with occurrence 0---Unbounded the node gets duplicated but the occurrence and type does not appear.

Is this because of the service pack issue or something else?

Thank you

Former Member
0 Kudos

Hello Rinku,

I am having this exact problem in PI 7.11. When I duplicate a subtree that has an occurrence of 0---Unbounded the node gets duplicated but without the occurrence and type.

Were you able to solve this issue?

Thank you,

Rhonda