on 2022 Feb 14 2:12 PM
Hello Everyone,
Below is my inheritance scenario,
2 Templates. Template 1 with Rating AAAA and validity Area as EU. Template 2 with Rating BBBB and validity Area as EU. In both the templates we have same VAT i.e. GHS Classification.
Scenario:
So we have single value instance maintained in Source Spec A for VAT GHS Classification with Rating AAAA and BBBB together. This information is now passed to Spec B through Inheritance using both Templates i.e. 1 & 2. The ideal output expected is Value instance from Spec A (Source) along with with Rating AAAA and BBBB together should be inherited as is to Spec B (Target). But when inheritance is completed it is observed that single value instance is copied but only with Rating AAAA. Rating BBBB for the same instance is not copied. Now if I delete the inheritance template and reassign them to Spec B then the data gets copied correctly i.e. Rating AAA and BBBB both are copied.
Also when I assign Templates 1 & 2 to a new Spec C then also the source data is copied correctly with both Ratings.
So my observation is if target spec has both existing templates already maintained then somehow usage BBBB is not getting copied through inheritance.
Kindly let me know what is going wrong here and why Rating BBBB is not getting copied. Thanks.
Regards,
Rohan
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Rohan,
This might happened when you mark any Rating as relevant, cause I remember same kind of issue was happened for me when when I was sending Idoc from one system to another system where I marked one instance as relevant and the data didn't transfer at all and it's bug which resolved by implementing SAP note.
If it is still happening with out relevant flag for rating I'm not sure what the reason but if I understand when you delete and create the usage or rating again it's working fine. This means I assume that relevancy was ticked? Please check and let me know if this helps.
Best
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Satya,
Thanks for replying. The relevant indicator is active for both the ratings. In the last few days I understood the reason why this issue is coming up.
We have created 2 different Inheritance template. In these templates the properties to be copied are same but ratings are different. This is not the best practice as per SAP. We need to create one template and build the relation of properties in the same template and define both the ratings. This way the inheritance will work as expected.
Regards,
Rohan
Hi Rohan,
I'm not sure I understand correctly what you did. My understanding is that you created the inheritance templates as blanks, used them in the target specification and then you changed the templates to include the mentioned ratings and validity areas. Is that understanding correct?
Best regards,
Ralph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ralph,
I'm sorry I didn't do it as you said.
I already have 2 different Inheritance template A and B where the VAT assignment is GHS Classificatiion. One Template is valid for Rating AAAA and other is valid for Rating BBBB.
Both of these templates are assigned to Target Specification B and the Source is Specification A.
Now in Source Spec A, For VAT GHS Classification I add an instance value and assign 2 rating in the same usage i.e. AAAA and BBBB. Source A Spec now passes information to Source B through Inheritance via Template A and B. So ideally the output expected in Source B should also be One Value instance with 2 Ratings AAAA and BBBB in Usage for VAT GHS classification.
But instead only one Rating gets copied lets say AAAA. Somehow BBBB rating is not getting copied.
Please let me know if this helps. Thanks.
Regards,
Rohan
Hello Ralph
I've understood the issue probably. We have created 2 different inheritance template with same properties to be updated. But each template has a different rating. Now Source Spec has 2 different ratings for same property. By assigning both templates to the target spec we were expecting the target spec to be updated exactly as Source. But this wont happen. The reason being the rating is coming over from the template and not the source. So the best approach is to create one Inheritance template and define the relation and add both the rating in the same template. This way the source will inherit both the rating in the property.
Regards,
Rohan
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.