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,
Syed

Hi 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

Similar Messages

  • Function module related to procurement type and special procurement type

    Hi Gurus,
    Is there any function module related to procurement type and special procurement type?
    Regards
    Rajib

    Dear Rajib,
    What is your exact requirment?do you want to find out the list of materials based on procurement type
    and special procurement type?
    You can get the details from the table MARC.
    Regards
    Mangalraj.S

  • Function modules related to header and item GUID

    Hi,
    Please tell me the function modules related to header and item GUID.
    Thanq
    brahmaji

    You will need to be clearer about what you want to do. Try searching for function modules with names like "GUID". Also try searching forums first.
    Cheers
    Graham Robbo

  • How to find out the Functional module related to a T-code

    Hi All ,
    Please tell how to find out the Functional module related to a T-code.
    i want it for the T-code RSZDELETE.

    Hi
    There is no direct way to see this.
    You need to Pick the Program(Se37/38) and tables (SE16/11)and to see where its been used
    The FM for RSZDELETE is RSZ_DB_COMP_REORG_AS_POPUP.
    Hope it helps

  • 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 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 PM

    Hi 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.

  • 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.
    -Priya

    Priya,
    CS_BOM_EXPLOSION_MAT
    CS_BOM_EXPL_MAT_V2
    Also you can try searching CS* in transaction SE37.
    Regards,
    Prasobh

  • 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,
    Keny

    BAPI_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
    Rahul

    Dear
    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

  • Function module to get BOM

    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 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.

  • Need function module related to PCL2.

    Hi,
    Is there any function module that gives me all the related entries in PCL2 for any personnel number (PERNR) that i enter?
    I will reward all the useful answers.
    Thanks,
    Mohit.
    Edited by: mohit goel on Feb 28, 2008 2:51 PM

    Hi,
    This is not the one I want.
    This FM does not exist : RP_PRINT_PCL (Is the name write?)
    The other FM does not suffice to my requirement. It does not mention anywhere PERNR.
    Thanks,
    Mohit.

  • Function module related to release transport request

    Hello experts,
    I am working on product management system hierarchy. The hierarchy is like
      PRODUCTSSUBPRODUCTVERSIONPACKAGE
    we can create transport for VERSION directly from CONTEXT MENU. Next step is download transport to client PC I have done with it. FInal stage to release transport directly from context menu. For this i am searching for appropriate function module. If anybody know which function module to be used for transport request release please share it with me.
    Thanks,
    Avadhut

    Hi,
    You can use TR_RELEASE_REQUEST to release a transport request directly.
    The class CL_CTS_REQUEST is also worth looking at.

  • Doubt in function module relating to delta upload

    Hi,
        Is there any ABAPer alive around who can tell me how i can write a funtion module to update data to BW side.
    They only tell me data is not going to BW side. Can anyone throw light as to how function module should be structured. I  have a function module that works very finely for full update mode in RSA3. What should be done in my function module for delta update mode to work on BW side?????
    <h1> THIS IS CRITICAL </h1>
    Regards,
    Prakash.K

    Critical?  Why?  Should I respond faster because you've a problem that's urgent for you?
    Does full extraction work when you run the extraction from BW?  Extraction only stops when you return an empty package.  Hence, RSA3 won't tell you if you've made this mistake. RSA3 will work fine, but the extraction will never end when run from BW.  I refer you to this discussion I had earlier. [Re: Transport Organ9izer]  I'll emphasise one important point: Also SAP supply RSAX_BIW_GET_DATA_SIMPLE as an example of how to write FM extractors 
    If your FM is actually working with full, then to get your function module to work as a delta load, you need to be able to determine which data records have changed with since the last extraction, and only send those.  How you do this depends very much on the data.  You'll also have to define the datasource as Generic.
    matt

  • FUNCTION MODULE RELATED TO CUSTOM IDOC

    HI ALL,
    i have an requirement to create a catsdb custom idoc with four fields
           1.Personnel Number
            2. Date
            3. Activity Type
            4. Counter
       I created a custom idoc and had successfully send to receiver. now that idoc should be updated into databse tables.  here my problem is how to create a function module which should take care of updating data into database table at receiver side and also when i checked using WE02 at receiver side its showing an error 'Function module not allowed: IDOC_INPUT_STATUS' . for creating a process code i used IDOC_INPUT_STATUS function module at receiver side.
    is there any fm that automatically takes data and updates into databse table ctasdb at receiver side or if u want to create a custom Fm how to do it.
    any help will be highly appreciated.
    with regards,
    Suresh.A

    Hi,
    So for creating a process code you used IDOC_INPUT_STATUS function module at receiver side. whats that?
    Process code is created using tcode: we42 isn't it?
    What did you do please tell me.
    Thanks
    Dan

Maybe you are looking for

  • Synching SharePoint 2013 to Outlook 2010 - Is it possible to restrict the views?

    Hi, I'm trying to synch SharePoint 2013 calendars with Outlook 2010. If I require a certain view from SharePoint e.g. [Me] as a Project Manager to be synched to Outlook, can you restrict it so only this data is pulled through? I've tried and it curre

  • Is the iPod video supposed to suck out of the box?

    I just purchased a brand new 30 GB iPod video and it's awful right out of the box. Everytime I start it up for some reason I get that Apple restart screen but nothing is restarted. When I click on a song under and album it takes 30 seconds to a minut

  • User id type for connecting Universe with SAP BI

    Hi All, I am working on SAP BO XI 3.1 SP3 and I am successfully able to connect Bex query to the Universe. While creating a connection within Universe, we have to provide SAP BI logon parameters like Application IP, user id, password, etc while conne

  • Benefits Declaring Smoker Non Smoker and Rates Based on Choice

    We have requirements from out Benefits department as follows: have an affidavit on the Open Enrollment page on which an employee declares non-tobacco user, tobacco user, or tobacco user but signing up for cessation program. There will be one set of r

  • 8520 How to upgrade to OS 5 with mac

    I am new to this forum, so I apologize if this has been asked before, but I've looked everywhere and couldn't find the solution to my problem. The other day I accidentally downgraded my OS/ firmware, while I was using a PC. I went from threaded sms m