Problem in creating a bapi for bom

hai all,
i am trying to create a bapi for bom using csap_mat_bom_create, but it am getting sy-subrc value as 1.
and displaying error message as the function module name itself.
is there any solution dor it.

Hello,
Try to use that bapi :
BAPI_MATERIAL_BOM_GROUP_CREATE
Thierry

Similar Messages

  • Problem in creating new versions for existing DIR using CV01N

    I am working in SAP ERP 6.0 EHP 4.0 system.
    I have problem in creating new versions for existing DIR using CV01N
    I create a DIR version 00 with functional location and mpd cycles. Then when i try to create a new version by copying the contents created from already created document.I change the MPD cycles in the new version and save it.
    once when i display the first document created the mpdcycle specified in version 01 is copied to the 00 version.
    The document is inconsistent where versioning of document doesnot work properly wrt MPDCYCLE and MP HEADER.
    The problem which i found was the document identification guid remains the same for all the document versions getting created.
    The same is working fine in SAP ERP6.0 EHP3.0 sytem.
    Please someone help me in resolving the above issue.
    Regards,
    Prasad.B

    There is a change in the standard code.The reason for the above problem was  because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
    IS-ADEC-MPD  - Enhancement to copy MPD data
    ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
    +*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    +**ENHANCEMENT 1  ZSF_AD_MPD_SAPLCV110.    "active version**+
    +*** copy MPD relevant data from templ. doc to current doc**+
      +**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
        +**EXPORTING**+
          +**is_draw = ls_draw**+
        +**TABLES**+
          +**ct_drad = lt_drad.**+
    +*ENDENHANCEMENT.**$*$-End:   CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
    The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
    Regards,
    Prasad.B

  • Create a  BAPI for T-Code FBV0(Post Parking Document)

    Hello Experts,
    I need to create a BAPI for the T-code FBV0(Post Parking Document). Please help me with a sample code.
    Thanks,
    Suma

    Hello There.
    I would like to suggest my opinion,
    To know the Function module for a particular Transaction,
    1. Table TSTC gives the Program name for a particular transaction.
    There are includes which contain (say) "Global data" and "Function modules".
    2. To get BAPI function modules, Transaction BAPI is the most powerfull solution for any module.
    One more thing, to be kept in mind while creating a BAPI is to create a function module and make it RFC enabled.
    BAPIs are nothing but RFC enabled function modules.
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • RFC BAPI for BOM explosion with parametric effectivity

    Hello,
    I'm searching for a RFC enabled BAPI for BOM explosion which allows to evaluate parametric effectivity.

    Hi you can also check CS_BOM_EXPLOSION_MAT
    If its not remote enabled, write a custom fm(Remote enabled) and wrap this Fm.

  • Problem in creating a SyncBo for Purchase Order BAPIs

    Hello Everybody,
    I am trying to create a smart sync application for Purchase Orders.
    I have used standard bapis like BAPI_PO_GETDETAIL AND BAPI_PO_CREATE1.
    I have developed my own wrapper functions using these std bapis. For the PO creation i only plan to insert the necessary and mandatory data. The problem i face is that some of the tables in the create bapi which are mandatory for a PO creation are freezed in the SyncBo.
    Tables like POITEMX, POADDRDELIVERY, POSCHEDULE and structure POHEADERX are all required for the creation of a PO. Without this minimum data a PO cannot be created.
    After i have created the syncBo, on the mapping screen i can only see these tables under the create BAPI. But i am not able to perform the mapping of their fields. These are non-editable or i must say that they are freezed.
    And if i cannot map them then i cannot pass data for them from the client. Although i can do the mapping for the table PO_ITEM and the structure PO_HEADER.
    I hope i am able to expplain my problem. Kindly get back to me if i am not clear. Any sort of help is welcome.
    Thanking in advance,
    Saurabh.

    Hi Saurabh,
    Hope you are aware of the prerequisites for creating the BAPI Wrappers.
    If you want to insert some data into the Business Object, then you have to include
    GETLIST, GETDETAIL and CREATE Bapi Wrappers.
    I think in your case,
    You might not have mapped those fields in your GETLIST Bapi Wrapper.Just check whether you have mapped those fields that are necessary for PO creation in your GETLIST and GETDETAIL BApi wrapper mapping screen.
    Those fields you have mapped in the GETLIST and GETDETAIL BAPI wrappers will be visible (for selection - checkboxes will be editable) in the mapping screen for CREATE BAPI Wrapper.
    So first of all, you have to map fields there in the mapping screens for GETLIST and GETDETAIL Bapi Wrappers...
    check this thing...
    refer these links..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/mobile/mobile%20infrastructure/mobile%20development%20kit%202.5/content/appdev/smartsync/introduction.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/mobile/mobile%20infrastructure/mobile%20development%20kit%202.5/content/appdev/smartsync/bapi_wrapper_types.html
    In the second link, you can see one figure, which is explaining the things that are to be satisfied by the BAPI Wrappers for SyncBO creation...
    Let me know If you have doubts in the prerequisite section itself...
    Regards,
    Kishor Gopinathan

  • Is there a BAPI to create Distribution demand for BOM purchase order?

    I have a scenario wherein Material# in ECC differs from that in APO. So when a BOM purchase order comes in the inbound CIF queue to APO, I am trying to create dependent demands manually reading the subsequent materials from ECC and mapping with APO data

    Please do not open a new thread with the same question:
    Re: Is there any FM to create manually Subsequent demands for BOM header product?
    Kind Regards,
    Mariano

  • Exchange rate not reflecting in PO created thru bapi for foreign currency!

    hi friends,
    am creating PO thru BAPI_PO_CREATE1...in the input file, i have given currency as USD and Exchange rate as 0.5, but in the created PO, i am able to see only 1 as the exchange rate...i even tried changing it using BAPI_PO_CHANGE, but no luck..but in case of local currency, which is EUR, am able to translate from the file whatever the value as exchange rate of the PO...this problem only comes if it's a foreign currency..am i missing something? pl advice
    Regards,
    Muthu

    Hai,
    Try like this:
    If you are populating Header conditions you must divide it by 10 as following:
    wa_hdrcond-cond_value = wa_hdrcond-cond_value / 10.
    If you are populating Item level conditions you must follow as:
    IF wa_itmcond-currency IS INITIAL OR
         wa_itmcond-currency EQ '%'.
        wa_itmcond-cond_value = wa_itmcond-cond_value / 10.
      ENDIF. 
    This will solve your problem. In the BAPI, it multiplies exchange rate by 10 for the header conditions.
    Where as Item condition value(exchange rate) is multiplied by 10 when it satifies the above conditions.
    So we must follow the same criteria as we did above.

  • Is there any BAPI for BOM creation? which does by RCSBI010 / Batch Input.

    Hi Experts,
    I need to Upload the extracted Excel-file(.txt) for BOM creation, so, pls, let me know that, Is there any BAPI for this purpose. In detail the requirement is that,
    The suggested idea shuld work as like as pgm. RCSBI010
    thanq
    Edited by: Srinivas on Feb 14, 2008 6:18 PM

    Hi Srinivas,
    Try these Function Modules
    CS_BI_BOM_CREATE_BATCH_INPUT   - Create BOM Via Batch Input
    CS_BI_BOM_CREATE_BATCH_INPUT1  - Create BOM Via Batch Input (Corrected Session Handling)
    There are two BAPI's too, which can be used
    ALE_MATERIAL_BOM_GROUP_CREATE
    BAPI_MATERIAL_BOM_GROUP_CREATE - Creation of a material BOM group
    Hoe this helps.
    Edited by: Priyabrata Samanta on Feb 15, 2008 3:56 AM

  • Bapi For Bom and material Bom in cs71

    Hi,
        In CS71 we have 2 pushbuttons on the top ie create/copy BOM and create/copy Material BOM.   for these 2 funtions i need Bapi or FM for the functionality of those 2 pushbuttons.
    Duplicate thread Continue with this one - Re: How to search for BAPI or FM for some requirement
    Edited by: kishan P on Aug 20, 2010 11:54 AM

    I tried to find BAPI for transaction CS71, but it seems that its no available.
    Try using BDC method for the same.
    Regards,
    Lalit Mohan Gupta.

  • Bapi for bom

    hi all,
    i am using bapi CS_BI_BOM_CREATE_BATCH_INPUT to upload data to cs01.
    its uploading only on line item. second record its not uploading, wat is the problem,how can we give multiple boms in this function module, is there any option available,can any body have code for this.
    help me in this regard

    Hi siva,
              Try clicking Double line  to test with multiple records in the FM.

  • Bins problem while creating goods receipt for production order.

    Hi All,
              I am facing a problem with selection of bins while creating goods receipt for production order in transaction MB31 and MBBE.
    The order of filling bins is with respect to storage Unit not by document no, Please suggest something.
    The scene is like that.
    The bins are not filled in the proper sequence, the system checks for the empty bins and filled those later on.
    like this,.
    Typ StorageBin  SC SS    Stock Avail.st BUn GR Date    DocumentNo Storage Unit         Time   
    SLoc Batch      Re IA PutawayS Pick qty Cert. No.                                                                               
    VN1 106A088                 0        0  CS  01/25/2010    4739297 1005721391           10:00:59
    100  0001020069            60        0                                                        
    VN1 107B076                 0        0  CS  01/25/2010    4739298 1005721392           10:01:01
    100  0001020069            60        0                                                        
    VN1 108B076                 0        0  CS  01/25/2010    4739299 1005721393           10:01:04
    100  0001020069            60        0                                                        
    VN1 109A077                 0        0  CS  01/25/2010    4739300 1005721394           10:01:06
    100  0001020069            60        0                                                        
    VN1 110B079                 0        0  CS  01/25/2010    4739301 1005721395           10:01:08
    100  0001020069            60        0                                                        
    VN1 106B088                 0        0  CS  01/25/2010    4739302 1005721403           10:01:11
    100  0001020069            60        0                                                        
    VN1 123B158                 0        0  CS  01/25/2010    4739303 1005721389           10:01:13
    100  0001020069            60        0                                                        
    VN1 124A160                 0        0  CS  01/25/2010    4739304 1005721390           10:01:15
    100  0001020069            60        0                                                        
    VN1 118A133                 0        0  CS  01/25/2010    4739305 1005721396           10:01:17
    100  0001020069            60        0                                                        
    VN1 119A128                 0        0  CS  01/25/2010    4739306 1005721397           10:01:20
    100  0001020069            60        0                                                        
    VN1 120B162                 0        0  CS  01/25/2010    4739307 1005721398           10:01:22
    100  0001020069            60        0                                                        
    VN1 121B159                 0        0  CS  01/25/2010    4739308 1005721399           10:01:24
    100  0001020069            60        0                                                        
    VN1 122B159                 0        0  CS  01/25/2010    4739309 1005721400           10:01:26
    100  0001020069            60        0                                                        
    VN1 123B159                 0        0  CS  01/25/2010    4739310 1005721401           10:01:29
    100  0001020069            60        0                                                        
    VN1 124B160                 0        0  CS  01/25/2010    4739311 1005721402           10:01:31
    100  0001020069            60        0                                                        
    Thnks you,
    Anmol.
    Edited by: anmol112 on Jan 25, 2010 10:34 PM

    no replay, clossing threat.

  • Problem in creating new implementation for filter dependent badi

    Hi Experts,
       I want to use badi NOTIF_EVENT_POST.It is a filter dependent badi. It is asking filter type while implementing thro se19. Could anyone pls tel me how to create new implementation for the filter dependent badi. Existing filter type is QMART. is there any problem if i change the filter type?
    Thanks in Advance!

    Hi ,
    NOTIF_EVENT_POST is filter dependent and filter values are based on QMART value in table TQ80. You need to specify the filter value ie : QMART value before implimentation , before that check all active implimentations for the same , if u have to impliment on same filter value , you need to deactivate the one which is implimented on same filter value .
    You are not supposed to change the filter type.
    Regards,
    Vamsi
    Edited by: CH. VAMSHI on Sep 29, 2009 11:58 AM

  • Problem in creating output device for RICOH Aficio MP 2000 PCL 5e printer

    HI,
    i have problem in creating a output device for the RICOH Aficio MP 2000 PCL 5e as i am unable make out which device type should be assigned and what should be given in spool server tab.
    i have pinged the printer in lan and it is connecting.
    when i am giving the print from new ricoh printer its going to some other old printer in network.
    we are unable to get the logo of our company when we are taking print from this printer from sap level.
    kindly suggest what other things has to be taken care.
    regards
    anil

    Hi,
    shall i do in development and then import the same to quality and production.
    also tell me what shd i put in these tabs
    version-sapsripthandling-driver
    list handling-printer driver
    printer character set-character set-syt character set
    we can find this tab in create option of device type.
    when i am trying to save its showing it has to be done on program level.
    kindly reply back as it will resolve the big issue for me.
    thanks
    anil

  • Problem when creating  a tcode for maintainence view

    when i'm trying to create a tcode for maintainence view of table ,i used to fields view name: here i gave the table name;
    update : x
    now when i activated and executed the tocde the screen is showing some abnormal values in the display..this is happening in the development server..can any one help me on this..i can send the screen shot if required..thanks in advance,,
    challa

    hi,
    thank you.
    i have done the same...but here i dont want to skip the intial screen...so i didnt check that box..now comes the problem ..i can see some boxes with 'x' at the end of the paarameters..give me u r mail id i can send u the screen shot..
    thanks,
    challa

  • How to create a PR for BOM from a Project (WBS, Network or Activity) ?

    Hello All,
    Project Structure:
    Project Defination
                1 level WBS
                           2 level WBS
                                 Network (Supply of Material for Sub station)
                                                Activity (Procurement of materials) Internal
                                                           Material Component (BOM)  Main Item
                                                                          Component 1
                                                                          Component 2
                                                                          Component 3..................
    Now i want to directly create a PR for this BOM and its components as well and using this PR i want to create a PO and procure the materials against the project.
    Can any one help me in this regard.
    Thanks and Regards,
    Sudarshan.

    Hello Sukhveer,
    Thanks for your reply.
    I have maintained in Material master MRP views and is also relevant for MRP.
    Also at the time of entering the BOM main materail, i am entering the item categery as L and exploding the BOM by going through the path:
    Go to Activty materail components, select the BOM main materail, now in the menu goto EDIT --> Component ---> Explode BOM.
    The component materails are getting exploded under the BOM main material, but the item categery of the main item is changing from L to T (Text item) and the PR's are created for all the component items individually after i save the project.
    Regards,
    Sudarshan.

Maybe you are looking for

  • Active Directory Server Problem

    Hi All, This mail Seeks to get help from people who have worked with Active Directory Server. The following is our Current scenario. We are in the process of establishing an SSL connection to Active Directory Server from java environment(a standalone

  • Credit  - use current convertion rate (possible?)

    Good Morning all!! I need help with something regarding sales credit value. There are situations where the customer has a credit limit configured in one currency (lets say dollar) and has it´s sales invoices in another (lets say euro). If I create an

  • Clean install of Lion from USB/DVD

    When i try to make a clean install of Lion on my imac late 2009 and my macbook pro 2010, it hang when it comes to registration of apple id. Nothing happen. I also tried to skip the register prosess with cmd+Q but no luck... This is very strange becau

  • Saving finished project to disk

    I now seem to have fixed the 'dropout' prob with various things including a major boost of RAM ! Please could somone tell me how and what files I need to save to disk at the end of a successful DVDSP4 project? I want to remove the film sequences from

  • Hi, wen i try using find my iphone it says no location avilable please advise !

    hi, wen i try using find my iphone it says no location avilable please advise !