Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: Edit SuperBOM Variant Configuration Selection Condition Outside SAP

$
0
0

Hi Clint Rhodes,

 

I think you are right, the system is parsing the dependency code and returning the characteristics / values satisfying the dependency itself.

 

A possible solution for your needs could be to read the dependency code. In this way, if we take your example above, it will return all the CFG_SIZE values that are satisfying the precondition, say for instance, something like that:

 

($root.CFG_SIZE IN ('70', '80', '90', '100') AND .....

 

To get any dependency code, there is the FM (Remote-enabled): CARD_DEPENDENCY_READ

Here a sample usage in my sandbox system:

 

img_96.PNG

set the flag on 'FL_WITH_SOURCE' to get the code back.

Here is my precondition code:

 

img_97.PNG

 

For what concerns characteristic values reading, there is a BAPI for it: BAPI_CHARACT_GETDETAIL.

 

Here again, a simple test in my sandbox system:

 

img_98.PNG

and here the result (in structure CHARACTVALUESCHAR)

img_99.PNG

 

Hope this could be of some help.

 

Just let me know if something is not clear or further details are needed.

 

Thanks and regards,

 

Flavio


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>