Exist bapi to change bom item info?

hi
one case for me to need to change BOM ITEM( the table STPO's field about STPOZ).
exist bapi or function can  change BOM item info?
if not exist bapi or function to work it .
i can use abap sql--> update it ??
thank you very much!
Best Regard!

Chk this FM.
CSAP_BOM_ITEM_MAINTAIN

Similar Messages

  • Bapi to change QM Items

    Hello,
    Does anyone know a BAPI or FM who allows to change a item (table QMFE) for Quality Notifications.
    Thanks and Best Regards
    Sílvia

    HI,
    Look at the BAPI'S
    <b>BAPI_QNOTIFICAT_CREATE</b> Create Quality Notification                                             
    <b>BAPI_QNOTIFICAT_GETCATALPROFIL</b> Determine Catalog Profile for Quality Notification                       
    <b>BAPI_QNOTIFICAT_GETKEYFIGURES</b>  Determines Existing Quality Notifications                                
    <b>BAPI_QNOTIFICAT_GETLISTFORCUST</b> Select Quality Notifications for a Customer
    <b>BAPI_QNOTIFICAT_GETMATLISTFCUS</b> Select a Customer Material List for Quality Notifications                
    Regards
    Sudheer

  • Changing BOM-items in Process Order not allowed

    that Hello,
    Mi client is asking me if it is posible, once created a Process Order, upon modifying the order (COR2), that the user can not change any of the cuantities and batches of the material list (BOM) updated in the Process Order.
    Is there any way one can protect the material list from being modified once created, or once liberated the order?
    Is it posible, moreover to just protect the BOM ítems updated in the Process order but let the option open to add exta BOM ítems manually.
    Is there a userexit or a Badi one can use to acomplish this?
    Thanks for any reply.
    Aart

    Hi Aart,
    Yes, you can use BADI to protect the BOM items from not to change the BOM items in Process order.
    In one of our project we have taken the help from the ABAPer, has has done the same thing.
    Then we have acheived the same requirement.
    You check with the ABAPer, he will help you for the requirement.
    Thanks

  • Need BAPI for change of quality info record (Tcode: QI02)

    Hi,
       Currenrly iam using BDC for creation of Quality info record (QI01) and now i need to do this creation as a back ground task. for which BDC is not supporting. So, i need to know the relavent BAPI for creation/change of QI02.
    Regards,
    Krishna.

    Hi,
    Have you tried doing this in ECATT??
    See this Link:
    http://help.sap.com/bestpractices/BBLibrary/Documentation/G09_BB_InstallGuide_EN_DE.doc

  • Variant Configuration - Manual changes to BOM Items

    Hi All:
    We are implementing Sales ORder (SET) process. Need to have the ability to change BOM Items.
    According to SAP documentation referred in the link below, we have set the flag to allow the manual changes to BOM Items in the configuration profile. We have made sure that in the Material BOM configuration the fixed quantity flag is not set.
    But it is not working. Not sure if we are missing some other settings.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/92/58bfb9417011d189ec0000e81ddfac/content.htm
    Any help would be greatly appreciated.
    Thanks, Raja

    this would happen if you have edited the server.xml manually. if you do edit this file for valid reasons and want to keep the changes
    please run
    asadmin reconfig user admin password secret12 host host.domain.com  port 4848 --keepmanualchanges=true server1
    then deploy your applications, you should be ok

  • Change material BOM / item / Class Recursion

    I'm looking for a way to change the "recursiveness allowed" flags in the "Class Recursion" tab of a BOM item in transaction CS02. The flag corresponds with the fiels REKRS in table CLRK. No BAPI or FM found after half a day of searching. The CSAP_* function modules don't seem to cover this data.

    Hi,
    This indicator is automatically set based on the conditions mentioned here [Class Recursiveness|http://help.sap.com/saphelp_470/helpdata/en/ea/e9b54a4c7211d189520000e829fbbd/content.htm]. You can have look at fm CSAI_BOM_MAINTAIN which has that indicator FL_RECURSIVE. As the documentation says
    The system recognizes recursiveness for a class item if the following objects are allocated to the class in the class item:
        The BOM header material
        A material with a BOM which contains the BOM header material as an item
        A class to which one of the materials described above is allocated
    You can try logics like removing the header material from the item, so that recursiveness is avoided, May be by using CSAP_BOM_ITEM_MAINTAIN. Explode the existing BOM using CS_BOM_EXPLOSION and compare the header & item materials.

  • How to create SO by refer a QT with  BOM items by BAPI

    I want to create Sales order according to exist Quotations and I used the BAPI "BAPI_SALESORDER_CREATEFROMDAT2".
    I tested for those normal case, no problem, but if in Quotation have some BOM material,
    such as
    in a QT 600000000
    item        high item   materil   quantity
    000010  000000     M1         2                    <--BOM header material
    000020  000010     M2         2                    <--BOM son material
    000030  000010     M3         2                    <--BOM son material
    if a set the parameters of BAPI item and schedule line table like normal case
    BAPI-ITEM table
    item        high item   materil   quantity  refer QT     refer item   refer category
    000010  000000     M1         2            600000000  000010        B
    000020  000010     M2         2            600000000  000020        B 
    000030  000010     M3         2            600000000  000030        B  
    if a set the parameters of BAPI item and schedule table like normal case
    BAPI-schedule line table  
    item        schedule line    quantity
    000010  0001                 2           
    000020  0001                 2           
    000030  0001                 2           
    after BAPI executed
    Sales order will be
    item        schedule line materil   quantity 
    000010   0001             M1         2           
    000020   0001             M2         2  
    000020   0002             M2         2           
    000030   0001             M3         2           
    000030   0002             M3         2      
    i checked the logic in BAPI
    for the first item (BOM header item), system will automatically add its all son item to schedule line table due to BOM master
    and for those automatically added items, they have no reference doc(Quotation), so the second and third Quotation items' status is still open, just the first item's status is completed in SD flow.
    anyone know how to solve it?

    Hi Ram,
    Do you need to make changes in already existing rows or you need to create a new row for every line item?
    I think when the first time your view is getting displayed the node which is bound to table uie is empty and hence the table is grayed. If you want input enabled rows then you need to bind few empty rows using the supply_function of the node.
    data lt_tables type wd_this->elements_table.
    data ls_table  like line of lt_table.
    append ls_table to lt_table.
    append ls_table to lt_table.
    node->bind_table( lt_table ).
    Here table is the node which is bound to the table uie.
    Now when the first time view is displayed you will have 2 rows ready for input.
    To add more input enabled rows create a button and add empty lines in the action method assigned to button.
    Thanks,
    Abhishek

  • BAPI to change a BOM copmonent

    Hi gurus,
        I am using a BAPI named by BAPI_BOM_UPLOAD_SAVE.
    With this BAPI i could create a new BOM. But i am not able to change a specific component in the BOM. Is there any indicators to imply the change or is there any BAPI to change the existing BOM component without having the whole structure to be used.
    Regards,
    Nehru.

    FU CSAP_MAT_BOM_MAINTAIN
    Functionality
    You can use function module CSAP_MAT_BOM_MAINTAIN to process simple material BOMs.
    This function module is intended mainly as a tool for changing BOMs. However, it can also be used to create BOMs.
    If you only want to create BOMs, use function module CSAP_MAT_BOM_CREATE.
    To change BOMs, you can also use the following function modules:
    CSAP_MAT_BOM_OPEN
    CSAP_BOM_ITEM_MAINTAIN
    CSAP_MAT_BOM_CLOSE
    For more information and examples, see the documentation of the individual function modules.
    Restrictions:
    To date, you can only process one alternative or variant with this function module. This means that, if you do not enter an alternative for function module CSAP_MAT_BOM_MAINTAIN, the system assumes that you want to process alternative 01.
    To date, changes to the BOM header are not yet supported.
    Please note:
    The item to be changed can be identified in two ways:
    via the fields item category, item number, sort string, and object (depending on the item category, this can be material, document data, or class data).
    The names of these identifying fields begin with 'ID_' and are contained in structure CSIDENT_02. Structure CSIDENT_02 is part of structure STPO_API03.
    You can use any combination of these fields to identify the item, provided the fields identify the item uniquely. Otherwise you see the error message 'Item cannot be identified uniquely'.
    via the BOM node and BOM item counter
    These fields are only known to the system if you have read the BOM before. If you identify the item in this way, you should therefore use function modules CSAP_MAT_BOM_OPEN, CSAP_BOM_ITEM_MAINTAIN, or CSAP_MAT_BOM_CLOSE to change the BOM.
    If the error message 'Item cannot be changed' appears in the log, this can be for the following reasons:
    - The item is not valid on the valid-from date - it becomes valid at a
      later date.
    - The item has already been changed on the same valid-from date
      with a different change number.
    You cannot change the item category of an item that exists already in the system.
    To delete an item, you must identify it as described above for the change function and set the deletion indicator.
    FL_BOM_CREATE (default ' ')
    If you set this indicator to 'X', the system creates a new BOM if it cannot find the BOM you want to change and there is no other error.
    Items can only be created if sufficient data exists to do this.
    The system ignores items with a deletion indicator when creating a BOM.
    FL_NEW_ITEM (default ' ')
    If you set this indicator to 'X', the system creates a new item if it cannot find the item with the identification entered.
    The system ignores items with a deletion indicator.
    Example
    *---- BOM header data structure
    data: begin of tstk2.
              include structure stko_api02.
    data: end of tstk2.
    *---- BOM items table
    data: begin of tstp3 occurs 0.
              include structure stpo_api03.
    data: end of tstp3.
    *---- Object dependencies table
    *     Basis data
    data: begin of tdep2_data occurs 0.
             include structure dep_data.
    data: end of tdep2_data.
    *     Description
    data: begin of tdep2_descr occurs 0.
             include structure dep_descr.
    data: end of tdep2_descr.
    *     Source
    data: begin of tdep2_source occurs 0.
             include structure dep_source.
    data: end of tdep2_source.
    *     Sequence
    data: begin of tdep2_order occurs 0.
             include structure dep_order.
    data: end of tdep2_order.
    *     Documentation
    data: begin of tdep2_doc occurs 0.
             include structure dep_doc.
    data: end of tdep2_doc.
    data: flg_warning like capiflag-warning.
    *- Initialize database log
       call function 'CALO_INIT_API'
            exceptions
                 log_object_not_found     = 1
                 log_sub_object_not_found = 2
                 other_error              = 3
                 others                   = 4.
    *- Fill item data
    *  Exception: items that can be identified uniquely via their item
    *             number
    *  1. Item 0010: change quantity
       clear tstp3.
       tstp3-id_item_no = '0010'.                    "Item identification
       tstp3-comp_qty   = '5.000'.
       append tstp3.
    *  2. Item 0020: delete
       clear tstp3.
       tstp3-id_item_no = '0020'.                    "Item identification.
       tstp3-fldelete   = 'X'.
       append tstp3.
    *- 3. New item 0030 (stock material)
    *  For new items, the ID_ fields, BOM nodes, and BOM item counters are
    *  initial unless they use
    *  FLG_NEW_ITEM
       clear tstp3.
       tstp3-item_no    = '0030'.
       tstp3-component  = 'MAT200'.
       tstp3-item_categ = 'L'.
       tstp3-comp_qty   = '1'.
       tstp3-rel_prod   = 'X'.
       tstp3-sortstring = 'A1'.
       append tstp3.
    *  3. Item 0040: change component
       clear tstp3.
       tstp3-id_item_no = '0040'.                    "Item identification
       tstp3-component  = 'MAT500'.
       append tstp3.
    *- Change BOM
       call function 'CSAP_MAT_BOM_MAINTAIN'
            exporting
                 material   = 'MAT100'
                 plant      = '0001'
                 bom_usage  = '1'
                 valid_from = '14.10.1996'
                 fl_bom_create = ' '
                 fl_new_item = ' '
                 i_stko  = tstko
            importing
                 fl_warning = flg_warning
                 o_stko     = tstk2
            tables
                 t_stpo       = tstp3
            exceptions
                 others  = 1.
       if sy-subrc eq 1.
    *---- Error
    *     Please see log
       endif.
       if flg_warning eq 'X'.
    *---- Please see log for information, warning messages, and success
    *     messages.
       Endif.
    Parameters
    MATERIAL
    PLANT
    BOM_USAGE
    ALTERNATIVE
    VALID_FROM
    CHANGE_NO
    REVISION_LEVEL
    I_STKO
    FL_NO_CHANGE_DOC
    FL_COMMIT_AND_WAIT
    FL_CAD
    FL_BOM_CREATE
    FL_NEW_ITEM
    FL_COMPLETE
    FL_DEFAULT_VALUES
    FL_IDENTIFY_BY_GUID
    FL_WARNING
    O_STKO
    T_STPO
    T_DEP_DATA
    T_DEP_DESCR
    T_DEP_ORDER
    T_DEP_SOURCE
    T_DEP_DOC
    T_DOC_LINK
    T_DMU_TMX
    T_LTX_LINE
    T_STPU
    Exceptions
    ERROR
    Function Group
    CSAP

  • Any existing function to validate an item when other item has been changed?

    Any existing function to validate an item when another item has been changed? Because these 2 fields are related. When one filed is changed, the other one should be blank and let the user to input again. I am using oracle custom.pll library.
    Any ideas?
    Amy

    Hi Vikram,
    Thanks for posting your issue,
    You can switch of alerts and set E-Mail Notification to Yes under your Workflow Tasks list > Settings > Advanced Settings. By doing so user specified in AssignedTo will receive e-mail notification when task is created and if task ownership is not changed
    during your workflow this will be the only mail sent by system.
    Since you are already using SharePoint designer you also have option to include Send an Email action in your workflow (after task is created). This option is better if you want to send some specific info to user.
    Also, browse the below mentioned URLs to create workflow step by step
    http://sharepointsolutions.com/sharepoint-help/blog/2010/03/create-a-detailed-custom-task-notification-with-a-sharepoint-designer-workflow/
    http://sharepoint-community.net/forum/topics/configure-email-notification-for-discussion-board-activity
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

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

  • Bom massive change of item category

    dear
    can you suggest a valid tool for a massive change of item category.
    I need to change the item category of many bom component.
    The old value is L , the new value is N.
    In transaction CS02 is very difficult to change the item category of a component.
    Thanks.

    Hi,
    It is not possible to change the Item Category. You would need to delete the line & re-create back with the new item category.
    You may use CEWB as suggested above, or you may go for a Z program.
    Regards,
    Vivek

  • BOM item qty does not change when header qty changes in Outbound Delivery

    Hi,
    We are using sales BOM and exploding it in Sales Order.  ( Item category of components as TAE )
    I am creating a delivery with reference to  a sales oder ( i have maintained copy controls to copy header and item data). Now when i change BOM header quantity in delivery document system is  not redeterming the components quantity , item quantity of the components does not change.
    Please let me how can i control item qunatity when BOM heade quantity changes in outbound delivery document
    Thanks
    Venkata Rama Reddy.K

    Hello Venkata,
    The components item category is TAE, that means the item category for the header item will be TAQ. Also the pricing will be carried out at the header item level only.
    Now for your query:
    The standard item category controls of TAQ will not have any connection between the header & the item level quantities in the delivery. If you change the quantity of the header item in the sales order, the quantity of the compnenets will be automatically adjusted. But this will not happen in the delivery with the normal settings of TAQ.
    Solution:
    Go to transaction code VOV7 - select TAQ - double click - In the Bill of Material/Configuration section , there is a field "Create Delivery Group" - select "X - Form delivery group with one delivery date".
    Save the settings. Now create a new sales order & then create the delivery & try to change the quantity of the header item, the system will automatically change the quantity of the components. (the system may not change the quantity of the components in the delivery of the old sales order - change it manually)
    With best regards,
    Allabaqsh Patil.
    Idhasoft Ltd.

  • BAPI to change existing accounting document

    Is there a bapi to update an existing account document ?
    I want to change BKPF-BKTXT in an already existing document.
    I understand BAPI_ACC_DOCUMENT_POST is used to create a new document so I am hoping there is a BAPI to change an existing document.
    Any help appreciated ?

    ED,
    Check this
    1.  BAPI_ACC_DOCUMENT_REV_POST    (OR)
    2.  BAPI_ACCOUNTING_DOCUMENT_CHANGE
    Don't forget to reward if useful..

  • CEWB: BOM item Mass change new value Missing

    Hi Guru's
            When i plan to do BOM item lead time offset mass change in the (CEWB) Engineering Workbench,
    i have selected the ITem and Column LT offset, and in entra when i select the mass change, system showing a error.
    " no item selected", (new value and replace indicator is missing
    .Can u help whether we need to apply any notes ?
    Regards
    GS
    Edited by: GNANASEKARAN Suresh on Aug 1, 2011 4:40 AM
    Edited by: GNANASEKARAN Suresh on Aug 1, 2011 4:51 AM

    Upload screenshots of the step which you're taking in CEWB & the error you notice to some portal & paste the link here for a clear understanding.
    Also which version of SAP you're working on & what is the support pack level ? (If you're not sure about it, then check with your system admin for the same).

  • Mass change of BOM item and BOM item catergory

    Hello Everyone,
    I have a need to complete a mass change of a BOM item with another, usually I use transaction CS20,this works o.k. but this time I'm also changing the material with a new item catergory, for example a stock item with a phantom item.
    Does anyone have an idea how to complete this task.
    Kind Regards
    Frankie

    Hello,
    Thankyou very much for your reply.
    I did try adding the new material using CS20 but all the BOM qty's are different and as you know you have to complete this field, so it would mean changing one at a time, I attacked this issue from a different angle and created an LSMW so I can Mass delete the parts but then use this program to change the BOM item to the new part.
    Thanks again for your reply
    Kind Regards
    Frankie

Maybe you are looking for

  • Java.lang.NullPointerException returned from webservice

    Hi I have an axis client which sends an image attachment to an axis webservice, however I am returned with a null pointer exception, this is my client, package chapter5; import java.net.URL; import org.apache.axis.client.Service; import org.apache.ax

  • How can I modify the header quoting a reply?

    I hate the standard header for quoting original message in replies ("On <date> <someone> wrote") I like the standard header for forwarding ("original message"/ "Date" / "From" / "To") How can I get the same header for replies?

  • Can my macbook pro play blu-rays?

    Can my macbook pro play blu-rays without any extra equiptment purchased?

  • Sond control for external modem when faxing

    Does anyone know of a way to turn off the sound when using an Apple external modem for faxing? Oddly, my sound output is set for USB speakers which are off. I have the system volume turned all the way down. Yet when sending or receiving a fax, the in

  • BW to XI Proxy

    Hi ,   I have completed the BW to XI Proxy scenario and executed the process chain in BW and it comes up with a successful message with the message GUID. But I do not see the message in XI. Any thoughts. Joe Vellaiparambil [email protected]