Function module to expode BOM
Hello,
Is there any function module availabe in 4.7 which will explode the all levels of the BOM?
Regards,
Mayur
Hi,
use below FM: Explore it with help of bapaer in SE37.
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = P_APPL
DATUV = P_DATE
MEHRS = 'X'
WERKS = P_WERKS
MTNRV = MAT-MATERIAL
TABLES
STB = STB
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
OTHERS = 8.
Similar Messages
-
Function module to get BOM which WOULD be created if I open a production
Is there a function module to get the BOM which WOULD be created if I open a production order?
note that I don't have the produciton order created.
I already tried with the FM CS_BOM_EXPL_MAT_V2 and CSAP_MAT_BOM_READ.
I debuged the CO01, but I did not find it.
This BOM should include materials which are under a phantom component.
Edited by: Rodrigo Pelos on Jul 20, 2011 6:55 PMHi Greetson Shunmugasundaram,
thanks for the reply, but for the FMs CO_SD_RESB_FROM_BOM_CREATE and CO_SD_NEW_BOM_ASSIGNEMENT it's necessay to have an production order but I don't have it. And with CS_ALT_SELECT_COUPLED_PRODUCT I could not get a BOM.
Let me explain in more details how I'm going to use this information, I think I was not clear in my post.
I'm creating a report to compare the BOM of a production order with BOM which would be created today if I open a production order.
Then I can check if there was changes in the reservation (RESB) of the production order. If this changes happened, how many pieces. I'll check also if there was differences in consumption, because during the production order confirmation it is possible to make changes.
I would not like to make the BOM explosion "manually" because there are too many variables in the BOM like phantom, alternative, scrap and so on, but I don't know if the function module that I'd like to use exists. -
Bapi or Function module for getting Bom Item Details (Urgent)
Hi All,
I Want to get the Bom Item Details Corresponding to Production Order Number.
So Please Provide me Some Function Module or Bapi So that by giving the
Production Order number I will get all material related to that PO.
Thanks In Advance.Hi,
use the function module.
call function 'CS_BOM_EXPL_MAT_V2'
exporting
capid = 'STD1'
datuv = sy-datum
mktls = 'X'
mehrs = 'X'
mmory = '1'
mtnrv = matnr
werks = werks
tables
stb = it_stb2
matcat = it_matcat
exceptions
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
others = 8.
Regards,
Sankar. -
Function Module to Explode BOM
Hi,
I need a function module to explode a BOM. The input for the funcion module is the material number and when I Execute, it should explode the BOM.
I found a couple of function modules, but my problem is I dont have a Sales Order Number, which is a Mandatory parameter for all these FMs.
So, could you please give a FM which explodes the BOM by taking the Material Number, Plant etc.
-PriyaPriya,
CS_BOM_EXPLOSION_MAT
CS_BOM_EXPL_MAT_V2
Also you can try searching CS* in transaction SE37.
Regards,
Prasobh -
Function Modules related to BOM
Hi BW Gurus,
I am having a requirement to extract data from the function module for the PP module for the standard BOM.
I found out some function modules for my requirement csap_mat_bom_read and my problem here when i am trying to create a generic data source on using this function module it displays a error msg " The specified table does not exist ".
I am working first on function modules please let me know whether these function modules useful to fetch data in BW or not.
Give me your input of how to proceed further.
Regards,
SyedHi Shahid
You cannot create a generic datasource directly on a SAP standard function module, you should either create a custom FM and use the standard FM to get the data to a internal table and pass the values to a structure of datasource. Or use SAP tables to extract data to ITAB.
Rahul -
BAPI'S or Function Modules for creating BOM
Hi all,
Can any one please suggest me what is the exact function module or BAPI for creating BOM..
If any created the same through bapi's or FM your sample codes are also welcome..
Thanks and Regards,
KenyBAPI_DOCUMENT_CREATE2 and BAPI_MATERIAL_BOM_GROUP_CREATE
chk them -
Function module required for BOM Changes
Dear SAP Guru
I need the function module which gives me the details of changes done in the BOM.
Scenario: Need to develop the report which gives only the details of BOM changed on the given date. The BOM level might vary.
Regards
RahulDear
I think you should have ECM in place to have tracability for any changes carried out in BOM .
Refer earlier posting : Re: ECM ECR
If the ECM is in place , then you can see what changes has been done in CC02/03 Environmnet - > Reporting -> Bill of Material.
Otherwise please try the following Functinal Module : You can also try CEWB and CS80
1. CSAP_BOM_ITEM_MAINTAIN
2.CS_BOM_EXPL_MAT_V2
3.CHANGEDOCUMENT_READ and CDHDR
Refer : http://help.sap.com/saphelp_40b/helpdata/en/92/58b521417011d189ec0000e81ddfac/content.htm
Regards
JH -
Friends,
Is there any FM to get BOM(Bill of Material) when Material Number and Alternative BOM Text (stko-stktx) is given/known?
thnx.Hi Sey,
After Calling the function module. Please check the table T_STKO and check the filed ALT_TEXT Eq 'UNRESTRICTED' and delete all other records.
Hope this may help you.
Please award points for all useful answers.
Regards,
Lanka
Hi Sey,
Please note that you have to delete T_STPO records also when you are checking at T_STKO.
Step1:
Check T_STKO -->filed ALT_TEXT Eq 'UNRESTRICTED' .
Get T_STKO-BOM_NO
Delete T_STKO IF ALT_TEXT NE 'UNRESTRICTED' .
Step2:
Delete T_STPO records For T_STKO-BOM_NO = T_STPO-BOM_NO.
Regards,
Lanka
Message was edited by: Lanka Murthy -
Function Module for BOM for posting BOM component long text
Is there any SAP provided Function Module for posting BOM components long
text if so please let me know as it is very urgent for me.Hello Sridevi,
The following customer exits are available for BOM, please check the excect one.
http://help.sap.com/saphelp_46c/helpdata/en/4a/d286ba5a1111d3b47b006094b9d648/frameset.htm
Hope this helps.
Regards
Arif Mansuri -
Function module VERBRAUCH_BCO
Hi,
Can anybody explain me the purpose of the function module
AUFBAU_WERTETABELLE
VERBRAUCH_BCO
WERTE_ZU_WERKSMATERIAL.
Within this function module we are fetching the Material consumption from MVER table based upon plant and vendor. Can i get some more details related to this function modules and exact purpose of this function modules.
thanks,
Revathi V.hi zakir,
Function module to Explode BOM is
CS_BOM_EXPL_MAT_V2 -
Hi
We have a function module in which we call a BAPI Function Module and we need to declare same parameter while passing values to in and out of function module
I have a case where
Example call function 'bapi_create1'
Table
schlx = bapi...
but in Bapi function module schlx was declared as 'schlex'
thus it makes any difference in unicode environment and parameters declared need to same?hi zakir,
Function module to Explode BOM is
CS_BOM_EXPL_MAT_V2 -
Function module to get the valid Subcontract BOM and components for Pur doc
Hello Gurus,
I need help to create a z report of subcontracting bom and their components exploded in Schedule agreement. Seems like there is no standard report which can give the boms from purcashing doc. Can someone please tell me the name of the function module for it? any help will be highly appreciated.
Regards,
Owaishi
u can use
STPO BOM - item
STAS BOMs - Item Selection
STZU Permanent BOM data
also check stko or mast or stpo
or
Perhaps you can run ST05 while run some transaction for display the
BOM.
Once the transaction for display the BOM gets finished, you need to stop the
trace on ST05 and then display it, you will see tables readden in the
transaction,
not tried plz check*
reward if helpful
regards
kunal
Edited by: kunal ingale on Jul 22, 2008 6:21 AM -
Function Module to Change / Update BOM Line Items
Hi,
I need a Function Module to Change / Update BOM Line Items.
Please help.
Thanks.Try this FM - CSAP_MAT_BOM_MAINTAIN
-
Function Module for Sale order BOM
Hi
What is the function module to retrieve sale order BOM ?
thanks in advance
krishnaHi, Your thread has been moved to SD Forum.
-
Function Module for creating Functional Location BOM and Equipment BOM
Hi All,
Is there any function module for creating and changing Functional Location BOM and Equipment BOM ???Hi,
Tables for Eq., BOM: EQST, STKO, STPO.
Tables fro Fun., Loc., BOM: TPST, STKO, STPO.
You can use FMs: CS_BOM_EXPL_TPL_V1, CS_BOM_EXPL_EQU_V2 & CS_BOM_EXPL_MAT_V2 for extracting the appropriate BOM related data.
And for the Alternatives please check the customizing or check with your respective Module experts for the appropriate configuration.
Hope this helps.
Best Regards, Murugesh AS
Maybe you are looking for
-
Hi, I have the iphone 4 and I manually deleted all the voice memos on my iphone but they still appear on my iphone when I open Itunes on my computer and they still take up space. I am soon running out of space. Any ideas to permanantly get rid of som
-
Got mine today along with thousands of others as Expansys selling them by the bucketload!! Two problems:- i) Bluetooth - cannot get it to see my Orange SPV E650 - is the phone too new? Phone no see tablet/tablet no see phone. ii) How do the rubber su
-
Bundled software for 10.4, no install disks
I am currently living abroad in China, and have left my install disks back in the states. My computer had crashed and was serviced under warranty, receiving a new hard drive, when it was returned for me it had not been installed with all the bundled
-
I have a UNIX script through which i call a procedure. In that procedure i have two statements EXECUTE IMMEDIATE 'ALTER ROLLBACK SEGMENT R01 SHRINK'; EXECUTE IMMEDIATE 'SET TRANSACTION USE ROLLBACK SEGMENT R01'; The procedure gives me the error insuf
-
Images Need to Be Reprocessed on Launch
Whenever I launch Aperture 3 a notice appears just below the histogram on the adjustments pane saying that the image shown in the Viewer was processed in an earlier version of Aperture and needs to be processed again, although all of my library has b