on 08-08-2008 6:59 PM
Hi,
I am trying to find a function module (or series of FMs) that can be used to perform the following:
INPUT: Sales order item (sales order item is a configurable material)
ACTION: Read the BOM of the sales order item (one level) based on the configuration maintained against the sales order item.
OUTPUT: Table of BOM items and quantities
Does anyone have any experience with something like this?
Thanks,
Matt
If you have correctly put all the data in the characteristics of your configurable material, then all de materials and quantities of BOM will come automatically just after it like this:
pos QTY name uepos
10 X CONF. MATERIAL 0
20 Y ITEM 1 10
30 Z ITEM 2 10
and so on.....
so with the input VBELN and POSNR of your config. material in the sales order you could just get the information you want by doing the query to VBAP where UEPOS = POSNR of your conf. material.
hope this helps,
Sebastiá
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
still no answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Turns out you can use CS_BOS_EXPLOSION.
You will need to provide the following parameters: aumng = 1, auskz = 'X', capid = 'PP01', cuobj = vbap-cuobj, cuovs = 0, datuv = Current Date, emeng = 1, mktls = 1, mtnrv = vbap-matnr, stpst = 0, svwo = 'X', werks = vbap-werks, vbeln = vbap-vbeln, vbpos = vbap-posnr, and vrso = 'X'. These are the parameters I use to explode my BOM's.
I see that the input parameters to CS_BOM_EXPLOSION include:
VALUE(VBELN) LIKE KDST-VBELN DEFAULT SPACE
VALUE(VBPOS) LIKE KDST-VBPOS DEFAULT 0
But these do not seem to activate a filter...
Anyone have any thoughts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.