Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to get STPOV structure values using BOM number and Plant number

Former Member
0 Kudos

hello All,

could you please help me out

'How to get STPOV structure values using BOM number and Plant number'

is there any function module where can i give input as bom and plant number .

waiting for your response.

regards

srinivas

4 REPLIES 4

Former Member
0 Kudos

Take a look in function groups CSEP and CSAP in SE80. Most function modules dealing with reading BOM's are written for the specific BOM type (material, order, document, etc.)

Hope this gets you pointed in the right direction.

Regards,

Mark Schwendinger

Former Member
0 Kudos

Hi,

Use this FM CSAP_DOC_BOM_READ.

Regards,

Satish

0 Kudos

hello,

using this FM we will get only stpo values not stpov values. i am looking for how to get stpov structure values using bom number and plant. could you please send me the FM name . thank you.

0 Kudos

I did a quick where-used lookup in SE11 on the structure STPOV in function module interfaces and came up with the following:

Function Module Short Description

CK_F_TOTALCOST_COMPUTE

CS_ALT_SELECT_COUPLED_PRODUCT

CS_WHERE_USED_CLA Bills of material; class use

CS_WHERE_USED_CLA_ANY Bills of material; direct class use or via other class

CS_WHERE_USED_CLA_VIA_CLA Bills of material; class use via classes

CS_WHERE_USED_COP

CS_WHERE_USED_DOC Bills of material; document use

CS_WHERE_USED_DOC_ANY:Bills of material; direct and (indirectly) document use via

CS_WHERE_USED_DOC_VIA_CLA Bills of material; document use via classes

CS_WHERE_USED_KNO Bills of material; use object dependency

CS_WHERE_USED_MAT Bills of material; where-used list

CS_WHERE_USED_MAT_ANY:Bills of material; where-used list as article or class item

CS_WHERE_USED_MAT_VIA_CLA Bills of material; where-used list via classes

EXIT_SAPMC29M_001 BOM; Article Where-Used List

It appears that this structure is primarily used for where-used look-ups for components within the BOM. I don't know if any of these are what you're in need of.

Hope this helps,

Mark Schwendinger