on 08-24-2015 3:00 PM
Hi,
We have a requirement to create a custom entity which should be situated underneath the Distribution Chain level of data in a one to many relationship.
I have set this up...BUT the sales org and distribution channel are not pulling through to the custom entity.
I have noticed that my entity is under node MARA in the metadata and I need it to be under the node MVKE for this to work I think (example like MLANSALES).
How do I set up a custom entity to situate itself under the MVKE node and not the MARA node?
I presumed it would be relationships BUT I have tried all combinations of relationships (MATERIAL leading, MVKESALES leading etc.) and they all put my custom entity under the MARA node. Interestingly MLANSALES has no reference to MVKE in the data model but is found under the MVKE node in the metadata. How can this be?
All MDG documents I have read only deal with custom entities under the MARA node, so I can not find an answer in the documents.
or if it doesn't need to be under MVKE - how would I make sure the custom table changes for each distribution chain-
i.e. if I select the first line of Sales org XXXX, DC: 10. Ensure the custom entity uses XXXX, 10 as part of the key
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, not too sure about your data model - if your leading entity is MVKESALES or MVKEGRP, this should be done automatically.
That said, in chapter 5.5.3.3. of the UI guideline MDGM http://scn.sap.com/docs/DOC-30192, there is some additional information how to influence the SPI node structure.
Best regards, Ingo Bruß
My leading entity is MVKESALES but the node is still off on its own under the MARA node.
I've been reading some documentation and in order to get the desired system behaviour for interdependent UIBBs it states that i can either:
I can't do the first because of the way the node structure is manifesting itself.
Is the suggestion to implement a derivation done in the USMD_RULE_SERVICE BADI? and if so how do I derive a distribution channel from the line selected on MVKESALEs.
Just for sake of completion...
A very round-a-bout solution to my problem but I never did find out out how to situate my custom entity under MVKESALES
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.