cancel
Showing results for 
Search instead for 
Did you mean: 

VC - Characterstics and Values associated with a Production Order

Former Member
0 Kudos

Is there a way to get the variant configuration details (Characterstics and it's Values) related to a particular production order which was created as a result of the selection of that component in the Super BOM.

For. Ex Let's Say Material A has as super BOM containing components Material B, C, D, E

Based on the Characterstics Values and Object dependencies Material B has been selected as the component that needs to be manufactured.

Now i need to know dynamically the configuration values associated for the Production Order that got created for Material B.

Something like i can pass the Production Order to some Function Module or something and get its characterstic values.

Any thoughts or inputs is Greatly Appreciated.

Best Regards,

Bharat.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Check this link. If you know the Sales Document and Line Item, you can get the Object (cuobj) from VBAP.

https://forums.sdn.sap.com/click.jspa?searchID=14193864&messageID=5312526

Former Member
0 Kudos

Hi Mike,

I remember your Inputs for my earlier VC Questions put in this forum back in April and Infact we made good progress based on your Great Inputs.

However the scenario is somewhat different now,

btw Guys, am trying to give a very detailed explanation below about the scenario, hence it might take a while to completely go through the details, no offense -- Please be patient.

to better explain, We have a Multi-level Configuration Scenario.

i.e we are trying to follow a Top-fill model for one of our products i.e

The Top-fill (like a wrapper ) will have two components blown in the Sales Order i.e

Matnr A -- Top-fill

-


Matnr B - Configurable Component.

-


Matnr C - Non-Configurable Component.

Matnr B is again a Multi-level Configurable with configurable components i.e

BOM of Matnr B looks like below,

Matnr B -- Configurable Component

-


Matnr D - Configurable compoent

-


Matnr D - Configurable component

-


Matnr D - Configurable component

Note: same Matnr D is repeated in the BOM as the product structure depends,

and Finally this Matnr D has the actual Super BOM i.e

--- Matnr D - Configurable compoent

-


ActualComponent 1 - for which Prod. Order gets created

-


Actual Component2 - for which Prod. Order gets created

-


Actual Compoent 3 - for which Prod. Order gets created

so if i explained it clearly you would understand that there is every possibility that sometimes based on the characterstic values chosen for Matnr D can endup choosing same ActualComponent.

i.e let's say Customer has chosen certain characterstic values and based on the object dependencies it could end up something like below,

--- Matnr A -- Topfill

-


Matnr B - Configurble Material

-


MatnrD - Configurble material - -


Actual Component 1

-


MatnrD - Configurable material

-


Actual Component 1

-


MatnrD - Configurable material

-


Actual Component 1

since MatnrD and Actual Component 1 arent being blown in Sales Order but only in Configuration Results screen, MatnrD OR Acutal Component 1 will not have any Reference Sales Order or Line Item.

So when individual production orders get created for Actual Component 1's, i have no idea which production order corresponds to which characterstic values of Matnr D.

I need to pass these characterstic values to Mfg. Systems.

I know the above is quite complex but trying to find an Answer.

I sincerely appreciate your Inputs.

Please feel free to ask any Questions if you want some more clarifiction.

Best Regards,

Bharat.

Former Member
0 Kudos

I found another Function Module you can look at. Try IBRT_GET_STRUCTURE_OF_CONFIG. You will need the Top Level Material (in your case Matnr A) vbap-cuobj. This FM will return the Object (Self) and will also return the Parent and Root Objects, that you can than pass to VC_I_GET_CONFIGURATION.

You can also use CUOBJ to go to the AFPO Table to get MATNR.

Hope this will help.