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

Similar Messages

  • 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

  • Error in bapi while  changing  and add items in transparant table

    data : t_poitems type standard table of bapimepoitem,
           t_poitemx type standard table of bapimepoitemx,
           w_poitems type bapimepoitem,
           w_poitemx type bapimepoitemx,
           t_return type standard table of bapiret2,
           w_return type bapiret2.
    loop at t_modify_detail into w_modify_detail-ebeln.       * populating changing data
    *--&modifying fields
    w_poitems-po_item = w_modify_detail-ebelp.
    w_poitems-material = w_modify_detail-matnr.
            append w_poitems to t_poitems.
    w_poitemx-po_item = w_modify_detail-ebelp.
    w_poitemx-po_itemx = 'X'.
    w_poitems-material = 'X'.
            append w_poitemx to t_poitemx.
    endloop.
          call function 'BAPI_PO_CHANGE'
            exporting
              purchaseorder                =  w_header-ebeln
            POHEADER                     =
            POHEADERX                    =
            POADDRV
           tables
             return                        =     t_return
              poitem                       =    t_poitems
             poitemx                      =     t_poitemx
            POADDRDELIVERY               =      
    call function 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT  
    ERROR IS:
    giving error : cl_po_item_handle_mm.................cp
    function in which error showing: mepo docitem_get

    Check this sample code
    http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
    BAPI PO CHANGE with MENGE
    Hope it helps to identify your requirement and fix accordingly.
    ashish

  • BAPI_PO_CHANGE Changing line Item

    Hi All,
    My requirement is like this I need to changed line item of a purchase order using BAPI_PO_Change is it required to pass header data other than po Number?I have to change only the Batch Number(POITEM-BATCH) can some body throw some idea on this?
    Thanks&Regards
    Mahesh

    Hi,
       PO number may solve your purpose. Just try filling
       PO number in your BAPI header structure and
       relevent field for your batch number.
    Regards
    Amole

  • BAPI_PO_CHANGE not changing the item data

    Hi All,
    I am facing an issue with bapi_po_change......though the return message says that the po is changed but then also i am not able to see the changes via me22n/me23n . Below is the code  Can anyone please let me know how to resolve this issue .
    REPORT  ztest111.
    DATA: git_po_items       TYPE STANDARD TABLE OF bapiekpo ,
          git_bapimepoitem   TYPE STANDARD TABLE OF bapimepoitem,
          git_bapimepoitemx   TYPE STANDARD TABLE OF bapimepoitem,
          git_bapimepoheader   TYPE  bapiekkol ,
          git_bapimepoheader1   TYPE  bapimepoheader ,
          gwa_bapimepoitem   TYPE bapimepoitem,
          gwa_bapimepoitemx   TYPE bapimepoitem,
          gwa_po_items       TYPE bapiekpo.
    DATA lv_pur_ord          TYPE bapiekko-po_number VALUE '4500000201'.
    DATA lv_return TYPE TABLE OF   bapiret2 .
    CALL FUNCTION 'BAPI_PO_GETDETAIL'
      EXPORTING
        purchaseorder                    = lv_pur_ord
        items                            = 'X'
    TABLES
        po_items                         = git_po_items.
    LOOP AT git_po_items INTO  gwa_po_items.
      gwa_po_items-short_text = 'Text changed'.
      MOVE-CORRESPONDING gwa_po_items TO gwa_bapimepoitem.
      gwa_bapimepoitemx-po_item = gwa_po_items-po_item.
      gwa_bapimepoitemx-short_text = 'X'.
      APPEND gwa_bapimepoitem TO git_bapimepoitem.
      APPEND gwa_bapimepoitemx TO git_bapimepoitemx.
    ENDLOOP.
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder                = lv_pur_ord
    TABLES
        return                       = lv_return
        poitem                       = git_bapimepoitem
        poitemx                      = git_bapimepoitemx.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

    HI,
    Check this link
    [Sample Abap code on BAPI_PO_CHANGE |http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm]
    [bapi_po_change   |Re: bapi_po_change]
    Edited by: Avinash Kodarapu on Mar 2, 2009 11:33 PM

  • BAPI for "Change Base Planning Object"

    Hi
    Is there any BAPI for "Change Base Planning Object" ( TC KKE2).
    I need to change the Price of a Resource in the Cost Items for a Base Planning Object.
    So if any one know the BAPI for this topic please let me know, and if possible send me your code also it will be really help full.
    Regards

    I didn't find a BAPI to do this. I had to do it by a Batch Input.

  • BAPI_AGREEMENT_MAINTAIN -Change an item in an agreement

    Hello,
    I found a bapi for changing agreements (BAPI_AGREEMENT_MAINTAIN), but I don't know how to use it.
    For example, if I want to change the SHORT_TEXT in the item data. Does anyone know which structures and fields  I exactly need to fill to change an item in an agreement?
    I found an earlier post on this BAPI, but that person  chose to edit via batch input.
    Thanks in advance.
    Minda

    I have the same problem, Can you send me how to use it.
    thank

  • Is there any function module or BAPI to create maintenance item.(Urgent)

    Hi Experts,
                       I want to create an RFC which creates the maintenance item in the sap. The RFC is going to receive data from XI. So is there any function module or BAPI to create maintenance item? so that i can call that FM in my RFC.
    Thanks,
    Prasanna
    Helpful answers will be rewarded.

    Check and implement your program accordingly:
    *& Report  ZMRS_BAPI_DEMO_ORDERS
    REPORT  ZMRS_BAPI_DEMO_ORDERS.
    DATA: gs_method     TYPE bapi_alm_order_method,
          gs_header   TYPE bapi_alm_order_headers_i,
          gs_header_up  TYPE bapi_alm_order_headers_up,
          gs_return     TYPE bapiret2,
          gs_numbers    TYPE bapi_alm_numbers,
          gs_return_commit TYPE bapiret2,
          gs_demo_order TYPE objidext,
          gt_demo_order LIKE TABLE OF gs_demo_order,
          gt_method     LIKE TABLE OF gs_method,
          gt_header     LIKE TABLE OF gs_header,
          gt_header_up  LIKE TABLE OF gs_header_up,
          gt_return     LIKE TABLE OF gs_return,
          gt_numbers    LIKE TABLE OF gs_numbers,
          gt_return_commit LIKE TABLE OF gs_return_commit.
    DATA lv_not_successful TYPE c.
    DATA lv_ref_cnt TYPE i.
    IMPORT gt_method FROM MEMORY ID 'MET'.
    IMPORT gt_header FROM MEMORY ID 'HED'.
    IMPORT gt_header_up FROM MEMORY ID 'HUP'.
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
      TABLES
        it_methods   = gt_method
        it_header    = gt_header
        it_header_up = gt_header_up
        return       = gt_return
        et_numbers   = gt_numbers.
    CLEAR lv_not_successful.
    LOOP AT gt_return INTO gs_return.
      IF gs_return-type = 'E'.
        lv_not_successful = 'X'.
      ELSEIF gs_return-type = 'W'.
       lv_not_successful = 'X'.
      ELSE.
      do nothing
      ENDIF.
    ENDLOOP.
    IF lv_not_successful <> 'X'.
    commit changes
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait   = 'X'
        IMPORTING
          return = gs_return_commit.
    ELSE.
    rollback changes
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
        IMPORTING
          return = gs_return_commit.
    ENDIF.
    EXPORT gt_return TO MEMORY ID 'RET'.
    EXPORT gs_return_commit TO MEMORY ID 'COM_RET'.

  • BAPI to Change Contract

    Hi All,
    I have a requirement to change the configuration of contract items in bulk. We have more than 600 contract numbers which contains more than 300 items each. Performing a BDC for VA42 does the requirement by changing the configuration of the contract items, but taking more than 15 minutes for each contract. So pls suggest me if anybody has used any BAPI to change the contract characteristics.
    I have used a BAPI FM BAPI_CUSTOMERCONTRACT_CHANGE. I have tried to change the configuration values using this but failed. Can anyone suggest me the procedure to meet my requirement.
    Will be thankful for your response.
    Rgds
    Pavan

    Hi Pavan,
    Welcome to SDN community!!
    Whatever table ur passing to the BAPI, you check the checkbox for those fields in structure.
    eg:
    whatever fields you pass in CONTRACT_DATA_IN,
    mark 'X' for those fields in CONTRACT_DATA_INX.
    Same is the case with CONDITIONS_IN and CONDITIONS_INX.
    Hope that helps..
    Regards,
    Tanveer.
    Please mark helpful answers

  • 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

  • Change of Item Categoy in Sales Order - AFS

    Hi Gurus,
    I am working on AFS. In the sales order for which delivery has not been created, system is not allowing to change the item category. From TAN to TAQ.
    I have maintained the Manual item category in VOV4. Still the item category field in sales order is in grey mode.
    Please let me now how to make it editable.
    Regards,
    Naren Dev

    Hi Naren,
    Can you please check if that item has any associated Purchase Requisitions?
    Standars SAP does allow change of item category if alternative item categories are configured and subsequent document are not yet created.
    Thank you
    Chaitanya

  • How to control Changing of item category in sales order Manually

    Hello Gurus,
    How to restrict manual changing of item category in sales order?
    Reason for it:
    When ever they want to give some free goods to customer , they are changing Item category in  Standard Sales order at item level  then deliverying free goods to  customer
    looking for your inputs
    Thanks in advance
    Regards
    Venkat

    Hello,
    There are two possible ways:
    1. In Item Caterogy Determination remove the Manual Item Categories so that system will determine the Item Category only from defined options.
    2. Use T-SHDO - create Screen Variant & make the item Category Feild as Display only.
    Hope this helps..
    Thanks,
    Jignesh Mehta

  • Printing of changed line item in scheduling agreement  smart form.

    Hi experts,
    I am facing problem in printing of changed line item in schedule agreement.
    can any body tell me how to find the line item has been changed through programming?what is the procedure to fetch the data for new line item.its
    very urgent for me.
    Please help me in this regard.
    Priti Shrivastava

    Hi
    with the help of  T180-TRTYP field you know if that doc has been changed or created.
    If it is not equal to H it is changed. H means created.
    pass the TCODE of Sched Agreement and check this field.
    You can use the CDHDR and CDPOS table s to get the changed values of new item.
    Reward points if useful
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Unable to change the item category in existing Scheduling Agreement

    HI,
    I have a schedule agreement where there are already list of line items but saved without the appropriate item category field in all of the line items. Now I see that the Item category column is greyed out & unable to edit or change thru ME32 T.code.
    I am already aware that deleting the item codes & adding again with resolve the issue. But when try to delete, those codes shows that they have GR & PO not completed one.
    My question is :
    Is there a way to edit/change the Item category field without deleting the item?
    Whethere is it possible to do it in bulk update for group of items in SA?
    If it is possible, pls provide how to do it with steps.
    Kindly advice.
    Thanks. in advance!
    -Umesh

    Please try using MASS tcode with object BUS2013
    or MEMASSSA
    Its a direct table update where you can select the Table Item and Field Item category and input the document number to change the value os item category and try with one sample data then do it in mass.
    Before cahngin the item categry Please make sure all the dependancies are met then nly the system will allow you to save.
    Refer for Mass upload function it is common for all
    [Mass update|http://www.sapkshare.com/user/image/mass-maintenance---mm17.pdf]
    Edited by: Karthik on Jul 29, 2011 2:44 PM

  • Cannot delete login item "You cannot change this item because it's managed by your system administrator"

    We migrated a server (ldap and file serving) to some new machines, which have new names.  We've got all of the login and file sharing functionality working on the new machines, but wherever we have a mount of a share in the Login Items for a user, we can't get the old machine out of the Login Items.  It's not fatal, but it does make login take a lot longer because it has to fail first.
    We can mount the share from the new server, and save THAT in a NEW Login Item just fine -- it's just that when you click on the old defunct one the minus sign is greyed out, and the mouseover says "You cannot change this item because it's managed by your system administrator."  There is a yellow triangle next to the item in the list.  Went into the user's ~/Library/Preferences/com.apple.loginitems.plist and it's not in the file.  The /Library/Preferences don't have anything that looks like a plist of the right name.
    Where do I find it and how do I get rid of it?

    In response to ManishBhatt94's post today, I may have some information that may be useful to you. I called Microsoft's 800-642-7676 and spoke with a technical representative with questions pertaining to my particular issue. I also have friend that has the
    same issue with her computer running windows 8. A representative from my ISP told me how to go into 1)Tools, 2)Internet Options, 3)Connections, 4)LAN settings and uncheck the proxy settings box. However after restarting or shutting down my computer it reappears.
    It will also reappears while I play games on Facebook not allowing me continue until I go back into the proxy settings in LAN and uncheck the box AGAIN and AGAIN. A local owner of a computer repair shop told my friend that it was a virus. After speaking with
    Microsoft today I was told the same thing/it was more than likely a virus on my personal PC at home. As most people likely do,  I use wireless internet in my home on the affected computer. Solution; as suggested by Microsoft rep was to have the virus
    professionally removed either by someone or to use their remote service for a fee of $149 which comes with several guarantees and does not require you to re-install software or documents. I hope that my response was of some help to you. I also kept trying
    to fix this problem but wasted a lot of time. He also suggested to Google the proxy problem to see if ANYONE has any alternatives to fixing this problem!
     

Maybe you are looking for

  • Remove duplicate holidays from calendar mac

    How do I remove duplicate holidays from calendar mac. I have iCloud and I have read that may be part of the problem, but I need help to remove duplicate holidays from calendar mac. Thanks

  • IMAP Sync not working (unread marks)

    We have a number of users that are set up with GMail as a personal email address on their blackberry.  If you read an email on the blackberry or delete an email on the blackberry it will sync that to GMail and the message will be read or deleted.  If

  • Time machine email backup showing incorrect emails

    I have been using time machine to backup my emails. The great thing about time machine is that I could always go back in time and restore yesterdays emails after I had just deleted them by accident. Since I upgraded to Yosemite I notice that in time

  • How do I put calendar in list mode

    I want to set my calendar to stay in list mode.  did once by accident.  how do I do it?

  • Email address being altered for Reply

    My reply to an email from a friend, also on Btinternet, wasn't received.  When I checked my Sent Mails the message was there but the To address had been changed from "[email protected]" to "[email protected]".  The change must have happened at my end