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

Similar Messages

  • 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

  • BAPI_OBJCL_CHANGE error: valuated with object dependencies

    Hi expert,
    having programmed an extension for a customer for automatic maintenance of characteristic values of technical object, we have come across an error.
    When using BAPI_OBJCL_CHANGE to change a characteristic followed by BAPI_TRANSACTION_COMMIT (without wait) we have two scenarios:
    1. if the technical object has no value in the characteristic before calling  BAPI_OBJCL_CHANGE  the characteristic will be set.
    2. if there is already a value set there is an error stating
    Characteristic 'XYZ' valuated with object dependencies (old value '00')
    However, I can't find a dependency definition in CT04. do you know what's wrong here,or what is a usual cause of that?
    thanks
    Stefan

    Hi,
    Please see the given link, It may help you.
    Re: BAPI_OBJCL_CHANGE and BAPI_TRANSACTION_COMMIT
    Regards,
    Shamma

  • Batch specefic uom with object dependencies

    Hi all,
    i ' am working in variant configuration environment , i have a products as steel sheets this sheets have length, width, and thickness the so order is in ea, and the sales man configures length , width and thickness, in the configuration of so, i want the system to translate these characteristics as weight in the production order , i read about batch specific unit of measures with object dependencies but i couldn't do it  , can you tell me the required configuration and master data steps to fulfil this requirements?
    Regards,
    Ahmed Sobhi

    Dear Ahmed Sobhi !!!!
    If ur In variant Config Environment U have to Create Characteristic For Sheet  And assign value for that with length Width And Thickness So on like it should be like Permutation and Combination After that u need to make a class for this Characteristicsu2019 then assign this to the Material in classification view and For Finished Material also then and According to the Characteristic u need make a batch Selection either by dimension And In dependency as per the Selection Condition u can Make Selection of Particular Material And U can assign .
    In MSC1N u can call the Characteristic and Assign this to the Desire Batch
    Revert Back
    Pushpalas

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

  • 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

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

  • Mass Upload of object dependency for characteristics value

    Hi ,
      I need to upload the object dependency for characteristics values through transaction CT04. My input data consists of characteristcs name , characteristics value and the object dependency (KNNAM) . Need to populate the KNNAM field alone .
    Have tried with the FM 'CTMV_CHARACT_CHANGE_KNOWL_VAL' which suits my requirement but teh dependencies are not getting uploaded . Am I missing anything ? Since I do not have class details i.e class num and class type I am not able to use  the BAPI like 'BAPI_CLASS_CHARVALUE_LOCAL_DEP ' . Please suggest any othe r suitable method .
    Thanks in advance.
    Sanjeev

    Hi,
    Please check the below link..
    BAPI for Characteristic Dependency
    Thanks.

  • 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

  • Variant configuration-- syntax error in creation of object dependencies

    In variant configuration when i try to create object dependency (tcode=cu01), after entering the dependency and also description when i enter the syntax in the source code it is giving error: error in syntax check for simple condition
    I have entered syntax as  : engine_cap in ('1000','1400','2000'), pls guide me with the solution to create object dependency

    Dear, Shakeer
    Please follow along with my very own config guide of variant config.
    1)     Create a configurable Material Using KMAT u2013Material Type. Item Category 0002 and Item Category Group 0002. Go to classification tab-here you maintain the class type 300 and assign the class, we will create this shortly. (So after creating class come back into MM02 and input the class that you create in step 2.)
    2)     Create a class in T-Code CL01. Use class type 300 for Variants. In this we assign the characteristics we will create shortly.
    3)     Create characteristics in T-Code CT04. Create your characteristic like for example, Z_Type, Z_Model, and Z_Color.
    4)     We must create a characteristic for the pricing. Example, Z_CarPrice inside this characteristic we must maintain. Table Name SDCOM, Field Name VKOND in the additional data tab. Also, go to restrictions tab and enter the class type 300 Variants. Now in order to make this pricing work for you, you must maintain (enter) all the values from the characteristics. For example, Red, Blue, Black, Honda, Toyota, GLI, XLI, and 2.0D.
    5)     Now going back to the characteristics in CT04 change mode. Make sure Basic Data has *Multiple Selections circled. * Character Format has 26 and a check in case sensitive. Make sure in restrictions tab class type 300 Variants is present. Go back to Values and highlight the first one. Example, Red then go to Extras->Object Dependencies->Assignments You must maintain this code $self.Z_CarPrice=u2019Redu2019 in basic data make sure itu2019s released & procedure is filled in. Go back to dependency editor and paste the same code there after 000010 $self.Z_CarPrice=u2019Redu2019 and do this for each and every value. Very Important * Maintain configuration profile in T-Code CU41 for the material -> Priority 01, Variant Configuration, Class 300, status, Released 1, then click save. Note: If 2 conditions are inactive use class group A instead of B in SPRO for Condition type VA00.
    6)     Go to T-Code VK11 and enter VA00 condition type. Enter all the values maintained in the characteristics for example, Red, Blue, Black, Toyota, Etc and enter the price then click on save. Now it should work fine in VA01. Make sure you have assigned the VA00 condition type in the pricing procedure.
    Good Luck,
    Muhammad Ali Lozada

  • Reg: Creation of BOM along with Alternative BOM

    Hi Experts,
    I have written the below code for creating BOM along with Alternative BOM, I'm getting the following error.
    W BAPI1080             028
    Error/warning when checking the structure of the BOM group with ID=
    A BAPI1080             002
    Basic data for (BOM) group available twice
    A BAPI                 001
    No instance of object type BOMGroup has been created. External reference:
    W BAPI1080             028
    Error/warning when checking the structure of the BOM group with ID=
    A BAPI1080             002
    Basic data for (BOM) group available twice
    A BAPI                 001
    No instance of object type BOMGroup has been created. External reference:
    Please find the piece of code below.
      SORT it_bom01 BY matnr idnrk posnr ASCENDING.
      LOOP AT it_bom01 INTO wa_bom01.
        AT NEW matnr.
          CLEAR:
            it_bomgroup[],
            wa_bomgroup,
            it_variants[],
            wa_variants,
            it_items[],
            wa_items,
            it_matrel[],
            wa_matrel,
            it_itemas[],
            wa_itemas,
            it_return.
        ENDAT.
    * Material BoM Group Header Data
        wa_bomgroup-bom_group_identification = 'IDENTIFICATION'.
        wa_bomgroup-object_type = 'BGR'.
        wa_bomgroup-object_id = 'ID'.
        wa_bomgroup-bom_usage = wa_bom01-stlan.
        wa_bomgroup-ltxt_lang = sy-langu.
        wa_bomgroup-technical_type = ' '.
    *   wa_bomgroup-bom_text = .
        wa_bomgroup-created_in_plant = wa_bom01-werks.
        APPEND wa_bomgroup TO it_bomgroup.
    * Header Details of the different variants
        wa_variants-bom_group_identification = 'IDENTIFICATION'.
        wa_variants-object_type = 'BOM'.
        wa_variants-object_id = 'ID'.
        wa_variants-alternative_bom = wa_bom01-stlal.
        wa_variants-bom_status = wa_bom01-stlst.
        wa_variants-base_qty = wa_bom01-bmeng.
        wa_variants-valid_from_date = wa_bom01-datuv.
        wa_variants-alt_text = wa_bom01-alt_text.
        wa_variants-function = 'NEW'.
        APPEND wa_variants TO it_variants.
    * Details of the items of the variants
        wa_items-bom_group_identification = 'IDENTIFICATION'.
        wa_items-object_type = 'ITM'.
        wa_items-object_id = 'ID'.
        wa_items-item_no = wa_bom01-posnr.
        wa_items-item_cat = wa_bom01-postp.
        wa_items-component = wa_bom01-idnrk.
        wa_items-comp_qty = wa_bom01-menge.
        wa_items-valid_from_date = wa_bom01-datuv.
        APPEND wa_items TO it_items.
    * Details of the materials of the different variants
        CLEAR it_matrel.
        wa_matrel-bom_group_identification = 'IDENTIFICATION'.
        wa_matrel-material = wa_bom01-matnr.
        wa_matrel-plant    = wa_bom01-werks.
        wa_matrel-bom_usage = wa_bom01-stlan.
        wa_matrel-alternative_bom = wa_bom01-stlal.
        APPEND wa_matrel TO it_matrel.
    * Linking items to the corresponding variants
        CLEAR it_itemas.
        wa_itemas-bom_group_identification = 'IDENTIFICATION'.
        wa_itemas-sub_object_type = 'ITM'.
        wa_itemas-sub_object_id = 'ID'.
        wa_itemas-super_object_type = 'BOM'.
        wa_itemas-super_object_id = wa_bom01-matnr.
        wa_itemas-valid_from_date = wa_bom01-datuv.
        wa_itemas-function = 'NEW'.
        APPEND wa_itemas TO it_itemas.
        AT END OF matnr.
          CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
            EXPORTING
              all_error         = 'X'
            TABLES
              bomgroup          = it_bomgroup
              variants          = it_variants
              items             = it_items
              materialrelations = it_matrel
              itemassignments   = it_itemas
              return            = it_return.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
          LOOP AT it_return.
            WRITE:/ it_return-type, it_return-id, it_return-number,
            it_return-message.
          ENDLOOP.
        ENDAT.
      ENDLOOP.
    Thanks and Regards,
    Abdur Rafique

    Hi Sree,
    I used your code, I removed the levels because, i have only one level 'the lineitems'. Please find the modified code below. I'm not able to create the BOM, it throws an error as "BOM is recursive". I checked the header and item contents before passing to FM, it is correct.
    Please help me with the solution.
    REPORT  zbom_sdn.
    TYPE-POOLS: truxs.
    DATA: bom_header     LIKE cad_bicsk,
          bom_item       TYPE TABLE OF  cad_bom_item WITH HEADER LINE,
          bom_sub_item   TYPE TABLE OF cssubitem WITH HEADER LINE,
          dms_class_data TYPE TABLE OF cls_charac  WITH HEADER LINE,
          sap_field_data TYPE TABLE OF rfcdmsdata  WITH HEADER LINE,
          e_return       LIKE cad_return-value,
          e_message      LIKE message-msgtx,
          e_message_len  LIKE cad_return-message_len.
    DATA v_item  TYPE i.
    TYPES : BEGIN OF ty_data,
             matnr TYPE cad_bicsk-matnr," Material
             werks TYPE csap_mbom-werks," Plant
             stlan TYPE csap_mbom-stlan," BOM Usage
             datuv TYPE csap_mbom-datuv," Valid From
    *         posnr TYPE stpo_api03-item_no," Item Number
             idnrk TYPE stpo_api03-component," BOM Component
             postp TYPE stpo_api03-item_categ," Item category
             menge TYPE cad_bom_item-menge," Quantity
             bmeng TYPE stko_api01-base_quan," Base Qty
             stlst TYPE stko_api01-bom_status," BOM Status
             stlal TYPE csap_mbom-stlal," Alternative BOM
             alt_text TYPE stko_api01-alt_text," Alternative BOM text
            END OF ty_data.
    DATA : it_data TYPE TABLE OF ty_data ,
           wa_data TYPE ty_data.
    DATA:   wa_raw TYPE truxs_t_text_data.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    PARAMETER : p_file TYPE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          program_name  = syst-repid
          dynpro_number = syst-dynnr
        CHANGING
          file_name     = p_file.
    START-OF-SELECTION.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
           EXPORTING
    *       I_FIELD_SEPERATOR          =
             i_line_header              = 'X'
             i_tab_raw_data             = wa_raw     " Work Table
             i_filename                 = p_file
           TABLES
             i_tab_converted_data       = it_data[]  " Actual Table
           EXCEPTIONS
            conversion_failed          = 1
            OTHERS                     = 2 .
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CLEAR: bom_header, bom_item, bom_sub_item.
      REFRESH: bom_item, bom_sub_item.
      DATA : v_lineitem TYPE sposn VALUE '0000',
             v_slineitem TYPE sposn VALUE '0'.
      LOOP AT it_data INTO wa_data.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = wa_data-matnr
          IMPORTING
            output = wa_data-matnr.
    * fill BOM header
        CLEAR  bom_header.
        bom_header-matnr = wa_data-matnr. "'000000000200000016'.
        bom_header-stlal = wa_data-stlal. " Alternative Bom
        bom_header-werks = wa_data-werks.                       "'1000'.
        bom_header-stlan = wa_data-stlan.                       "'3'.
        bom_header-bmeng = wa_data-bmeng.
        bom_header-cadkz = 'X'.
        bom_header-stktx = wa_data-alt_text.
    *      bom_header-ztext = wa_data-text.
        bom_header-datuv = wa_data-datuv."'01.10.2010'.
    * fill item
        v_lineitem = v_lineitem + 10.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = v_lineitem
          IMPORTING
            output = v_lineitem.
    *    bom_item-upskz     = 'X'.     " If We hav the Sub items Enable it.
        bom_item-idnrk     = wa_data-matnr. "'000000000200000017'.
        bom_item-posnr     = v_lineitem.
        bom_item-postp     = wa_data-postp."'L'.
        bom_item-menge     = wa_data-menge.                     "'1'.
    *    bom_item-fmeng     = wa_data-fqty.
        APPEND bom_item.
        CLEAR: bom_item.
        AT END OF matnr.
          CALL FUNCTION 'CAD_CREATE_BOM_WITH_SUB_ITEMS'
               EXPORTING
                    i_bom_header   = bom_header
                    i_auto_posnr   = ''
               IMPORTING
                    e_return       = e_return
                    e_message      = e_message
                    e_message_len  = e_message_len
                    e_bom_header   = bom_header
               TABLES
                    bom_item       = bom_item
                    bom_sub_item   = bom_sub_item
                    dms_class_data = dms_class_data
                    sap_field_data = sap_field_data
               EXCEPTIONS
                     OTHERS         = 1.
          REFRESH bom_item.
          WRITE : e_message.
        ENDAT.
        CLEAR wa_data.
      ENDLOOP.
    Thanks and Regards,
    Abdur Rafique

  • PDS Creation with Object Dependency

    Hello Gurus,
    I´ve written a function to run BAPI_PDSSRVAPS_SAVEMULTI in order to create PDS with object dependency (Super BOM). The PDS created by my function looks good in CURTO_SIMU, but it is not respecting the characteristic dependency during PPDS Heuristic. If I take a PDS generated in ECC with the exact same attributes, the heuristics explodes the components correctly. When I run the getlist bapi, it shows both ECC created and function created with all tables (pds_header, pds_component,) filled with the same content. Though, one PDS works and the other doesnt. I am clueless.
    thank you a lot.
    Cheers
    Rafael

    Mainly due locking issues. Added some logic to wait.

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

  • Regarding BOM upload and Download

    Dear all,
    I am getting some problem with Bom upload and Download. Is there any report or Function module is  to upload and download  Bom. Please share your ideas with me . I am trying  in various ways to do it. There is no  success with it . If any one have work on this please share your ideas with me .
    Regards,
    Madhu.

    Dear Keshav,
    Thank you for your reply. Actually i tried to down load BOM.   Here first i have to get header item Under 1 header item it may contain sum sub items.Again every item have dependency. I want to download in this passion.
    Header item   ( one Header may contain number of items, at every item level it have some sub items )
    1)  item      every   item contains  dependency
    2)  item      every   item contains  dependency
    3)  item      every   item contains  dependency
    From header the fields i required is  Material,Plant,Usage,Base quantity,Base measurement,valid from date2
    From item Details Item no,Component material,Quantity,BOM ,Item category.
    Please suggest me how to download  these all and upload into ECC.
    Regards,
    Madhu.

  • LSMW for datatransfer of BOM; problem with effectivitydate on itemlevel

    Dear Guru's,
    We try to create BOM's with the LSMW tool standard batch/ direct input, object 0030, method 0001.
    It works fine, except for the effectivitydate on itemlevel. I just can't find the necessary fields (DATUB and DATUV) to populate for this!
    Any ideas how to solve this?
    Thanks!!
    Best regards, AJ

    Hi,
    You can find effectivity date fields in header structure BICSK - Batch Input Structure for BOM Header Data
    BICSK-DATUB           Valid to date (BTCI)
    BICSK-DATUV           Valid-From Date (BTCI)
    For Items, date values flows from header.

Maybe you are looking for

  • Serious Issues tried everything, about to give up

    Hey there, Here's the story: Downloaded some new music for the first time in a couple weeks, went to plug my 3rd gen iTouch in to sync and iTunes said I had an update available for iTunes and Itouch, both got updated. After iTunes finished, iTouch wa

  • Music lost replaced with large 'other' file

    Hi. All my music disappeared from my 3gs which now has a large amount of 'other' files - I assume the corrupt music files. I'm having to re-sync my music but how do I get rid of the large other files. DO I need to restore from a back up? Ta

  • Very slow Aperture on MacBook Pro 2.16 Duo

    Hi All, This is most likely a topic that has been covered before but Ive looked and cant find the answer. Ive got a 1.5 yr old MacBook Pro 2.16 intel duo with 2GB RAM (its maximum ) I bought Aperture 2 a few months ago, and its now started to run ver

  • Which is the tracking code for my macbook with tnt

    well which code is it i cnt track with tnt even though apple is showing it has left w7***** or 80****** thanks in advance

  • Wireless guest-net IP before login

    We have a wireless guest net and we broadcast it thru-out our hospital. The problem is with all the IPAD's, IPHONE's, ADROIDS and such roaming around the hospital we are using all of our Class C IP addresses. Is there a way setup the WISM to keep the