Function to copy BOM object dependencies

Hi everyone.
I've had to create a program to copy (or extend) BOMs to other plants, like CS01 and CS07 transactions.
I did it like in the sample program MAT_BOMGROUP_CREATE_SAMPLE, replacing function ALE_MATERIAL_BOM_GROUP_CREATE with the bapi BAPI_MATERIAL_BOM_GROUP_CREATE.
The problem is that this functions cannot handle object dependencies. (leaves field STPO-KNOBJ empty)
I got this two sap notes, but for now it was useless:
488765
545676
Do you know any FM or bapi that do it?
Thank you.
Alberto
Edited by: A. Tabernero on May 21, 2009 4:56 PM

Any sugestion please?
Now i'm trying to use the function CS_BI_BOM_CREATE_BATCH_INPUT1 to create a new BOM, but i have a problem: only one item is created. ¿Anybody knows how to create all of them?
(The table contain all the items)
      CALL FUNCTION 'CS_BI_BOM_CREATE_BATCH_INPUT1'
        EXPORTING
        BDC_FLAG           = ' '
          bom_header         = wa_bicsk
        CLOSE_GROUP        = ' '
          commit_work        = 'X'
          group_data         = wa_bgr00
        NEW_GROUP          = ' '
          tcode_mode         = 'N'
        TCODE_UPDATE       = 'S'
        IMPORTING
          msgid              = v_msgid
          msgno              = v_msgno
          msgty              = v_msgty
          msgv1              = v_msgv1
          msgv2              = v_msgv2
          msgv3              = v_msgv3
          msgv4              = v_msgv4
        TABLES
          bom_item              = it_bom_items
          bom_sub_item       = it_bicsu.
Thanks,
regards
A.Tabernero.

Similar Messages

  • LSMW for BOM Object Dependencies

    Dear Sir,
    I can use LSMW to upload BOM component without object dependencies.
    If the BOM component have object dependencies, how to upload OD using LSMW.
    Who can help me !

    Hi all
    I have so much OD to be upload, how can I do that through LSMW ?
    No expert can help me ?
    Regards,

  • Function modules (and the like) for testing Object Dependencies in PLM

    Hi all,
    I've created an upload program for characteristic values to AUSP, but I need to <b>check the object dependencies</b> (as shown in transaction CU03) before saving the data.
    I have the list of the dependencies for the characteristic in question, but how can I perform a dependency check in program code? Is there any <b>function modules</b> (and the like) which I can use?
    All helpful answers will be rewarded!
    - Mari Virik

    Thanks!
    I'm not that familiar with BAPIs, which transactions can I use to check it out? Transaction BAPI? And how do I locate it in the BAPI Explorer? How do I perform the method call?
    More points will be rewarded
    - Mari

  • Function modules (and the like) for testing Object Dependencies

    Hi all,
    I've created an upload program for characteristic values to AUSP, but I need to <b>check the object dependencies</b> (as shown in transaction CU03) before saving the data.
    I have the list of the dependencies for the characteristic in question, but how can I perform a dependency check in program code? Is there any <b>function modules</b> (and the like) which I can use?
    All helpful answers will be rewarded!
    - Mari Virik

    Hi,
    How did you solve this problem?
    I have the same.
    Thanks.

  • BOM UPload with object dependencies

    Hi PP Gurus,
              Does anyone have a LSMW project or upload program to upload BOM with Object Dependencies?.. I would really appreciate if someone could help me. Thank you very much.
    Sincerely,
    Heinrick Palad

    Hi Sir..
          Do you have an existing excel template for this BAPI. I cant seem to find the field where it assigns object dependencies.
    Thank you Sir

  • Select bom items with object dependencies

    Hello everyone,
    this is my problem: during bom explosion from production order I want to select
    a bom item (eg 0020) only if not selected the previous item (eg 0010). there any way? what's the syntax for this object dependencies?
    Thanks to all!

    Hi,
    As per my knowledge we can use selection condition in the BOM with reference to the Characteristics value only. I don't think so, there are options based on previous item selection.
    Let's wait for PP Guru's Answers.
    Thanks,
    R.Loganathan

  • SCAT program for copying BOM from one material to another material??

    Hi Gurus,
    Tried creating SCAT program for copying BOM from one material to another material and founf that the copying function does not work.
    Please advise??
    Thank you.
    Naveen.

    HI Satish Ji,
    We are using version 6.0.
    We were able to create SCAT for creating new BOM but, for copying we are facing an issue.
    Kindly advice.
    Thank you.
    Naveen.

  • Mass upload of VC object dependencies

    Hi Gurus,
    My client is implementing VC, which is now in legacy system.  There are around 25K object dependencies to be uploaded.
    These include all types of selection conditions, preconditions & procedures. Is there any way to mass upload all these object dependencies.  Or do we need to manually type all the object dependencies. 
    We are planning to create constraints as well, which I understood should be manual.
    Any third party tool to mass upload is also fine.
    Thanks,
    Surya.

    Hi,
    It is better to have them uploaded manually. Because you cannot guarnatee the sequences of ODs will be same for all the objects viz, BOM and routing.
    Regards,
    Pavan

  • Problem with Copied Business Object : SELFITEM

    Hi,
    sub:    Problem with Copied Business Object : SELFITEM
    I want to use changed selfitem BOR for carbon copy functionality. For it, i copied the BOR : SELFITEM. it is giving error
    In SWI2_DIAG it is showing like this.
    Work item  cannot be read                                                
    Work item 000000639770: Object  method SWW_BI_EXECUTE_S cannot be executed
    The problem is with COPYING The Business Object. Because , generally we extend BOR ,not copy. But i did copy.
    Please help me regarding this.
    Balaji.T.

    hi Martin,
    The problem may not be in method. because simply we copied the BO:SELFITEM into ZSELF . And i want to test this for a mail at first , whether copied BOR  is working or not.The mail is not triggering . it is saying that it is Error.
    WF_BATCH error...
    I can see error in Tx: SWI2_DIAG ,
    this is Error :
    Work item 000000639770: Object  method SWW_BI_EXECUTE_S cannot be executed
    Once it is rectified i can modify the method in BO:ZSELF.
    Thank you in Advance..
    Balaji.T.

  • Pulling Variant Configurator's object dependencies

    hello friends
    could someone please let me know if there are any BAPIs that can pull VC's object dependencies.
    Any comments or feedback on this will be highly appreciated.
    Thanks
    Ram

    All the function modules below are related to object dependency and variant configurations. Please reward points is useful
    CARD_CLASS_CHAR_READ_ALLOC    
    CARD_CLASS_CHAR_READ_DEP      
    CARD_CLASS_CHAR_VAL_READ_ALLOC
    CARD_CLASS_CHAR_VAL_READ_DEP  
    CARD_CLASS_READ               
    CARD_CLASS_READ_ALLOC         
    CARD_CLASS_READ_ATTR          
    CARD_CLASS_READ_CHARACTS      
    CARD_CLASS_READ_DEP           
    CARD_CHARACTERISTIC_READ      
    CARD_CHAR_READ_ALLOC          
    CARD_CHAR_READ_ALLOC_CLASS    
    CARD_CHAR_READ_DEP            
    CARD_CHAR_VAL_READ_ALLOC      
    CARD_CHAR_VAL_READ_DEP        
    CARD_CNET_CONSTRAINT_READ     
    CARD_CONSTRAINT_NET_READ      
    CARD_CON_PROFILE_READ         
    CARD_TABLE_SELECT_LINES       
    CARD_DEPENDENCY_READ           
    CARD_GET_ALL_DEPENDENCIES      
    CARD_FUNCTION_READ             
    CARD_TABLE_READ_ENTRIES        
    CARD_TABLE_READ_STRUCTURE

  • Finding object dependencies using Enterprise Manager

    We would like to know if it's possible to use the Enterprise Manager using version 9i or higher to determine the object dependencies of specified procedures, functions, packages, ect... If yes, what function should I be looking at?
    We plan on changing some source code and we would like to determine all object dependencies that specified procedure, function or package is connected to. This would help gather and prepare our user casses and to proactively check before making changes.
    Thanks.

    On 10g, if you go to your procedure, you can pick show dependencies under actions. I believe it's the same for OEM9i, you right-click on your procedure, and you choose Show dependencies.

  • How the relation is maintained between BOm and dependencies

    Hi Gurus,
      Please tell me how the relation is maintained between BOm and dependencies

    First you need to create object dependencies (CU01). Then these dependencies are to be assigned to BOM items in bill of material create / change  mode(CS01/CS02). For this you need to select a component / BOM item and click 'Allocations' button.(Select BOM item + cntr F1)
    Pls reward points if found suitable.
    Thank you.
    Umesh

  • Popup through Object Dependencies

    Dear all,
    is there any way to get popup through object dependencies
    in variant function we have one input and one output value
    if i give characteristic value in variant function it will give popup for that is there any suggestion
    Thanks
    Surendra

    Solved by mySelf

  • Copying an object not it's reference

    Hi,
    is there a function provided by the java API that allows you to copy an object into a new instance as opposed to just copying the reference to that object?

    You could use the clone() method. Refer the documentation for more help.
    Alternatively, you could write the object to an java.io.ObjectOuputStream and read it from java.io.ObjectInputStream.
    This will give you the copy of the object written to ObjectOutputStream.
    -Manish.

  • Routing Object Dependencies ALE.

    Hello Everybody,
    I need to copy the Routing Object Dependencies from one client to another.
    I think that we need to use ALE for that.
    Can someone tell me if that is possible and if it is ,
    give me the detailed steps to show me how to do that?
    I need it very soon , please help me with that.
    Full marks assured.
    Thanks,
    Sneha Singh.

    Hi,
    Actually the Basis guy can help u in this matter boz i don't have that much detail information in ALE
    Basis guy can help you . but i want to give u advice that fetch the data from system for that go to SE16 give the name of Routing table & tick on field which ever u want from system
    try in this way it is fast & secure then ALE.  
    Thanks
    shiva

Maybe you are looking for

  • "cannot find symbol : class Scanner"  error message

    I have an error message that says: "cannot find symbol : class Scanner" I tried typing at the top of the program import java.util.Scanner;but I still have the same error message. What should I do ? Thank you in advance

  • IPhoto quits unexpedtedly!

    iPhoto 4 quits unexpedtedly on my friend's iBook G4 - never makes it past the start-up process. Deleting the preference file doesn't make an iota of difference, however, logging in as a diferent user does get this app up and running. What's going on?

  • PO report including amount already delivered and invoiced

    Is there a standard report that shows, by line item, the total amount delivered and invoiced.  We are looking for something that will display the PO number, vendor, qty on the PO, amount received, value of the items and amount invoiced.  I tried ME2N

  • Get Sales order from Billing document number

    Given Billing document number from VBRK-VBELN, how to get the Sales order number VBAK-VBELN?

  • Unicode Conversion for SAP BI

    Hi We are upgrading out SAP BW 3.1 system to SAP NW 7.0. We are also planning to do a Unicode conversion of the upgraded system. Please let me know the following: 1. What extra tests we need to do for Unicode Conversion 2. If you have done a Unicode