Field to MIGO cert.enclosed in the BAPI BAPI_GOODSMVT_CREATE

Hi All,
I am doing Good Receipt for Purchase Order.
In MIGO we have Cert.enclosed (Quality) value Yes or No.
I want to insert the Cert.enclosed (Quality) using BAPI BAPI_GOODSMVT_CREATE.
Please let me know which field in BAPI_GOODSMVT_CREATE, I can insert the Cert.enclosed (Quality) value.
Thanks in Advance.
Debopriya G

Please take a look at SAP KBA- 0001718791. Kindly mark if helpful.
SAP Knowledge Base Article
Symptom
There is no import parameter in BAPI_GOODSMVT_CREATE that you can use to confirm the QM certificate.
Environment
SAP Release Independent
Reproducing the Issue
1. In T-code SE37, execute the function module BAPI_GOODSMVT_CREATE
2. In the import tab and tables tab, check all the parameters, there is no place to enter the QM certificate (COA)
Cause
Missing functionality in BAPI_GOODSMVT_CREATE
Resolution
Please use BDC (batch input) for MB** transactions (MB01, MB0A, MB1A, MB1B, MB1C, etc.) instead.
Keywords
QCERT_MIGO-ANSWER, QBCK_QM_GR_CHECK
Header Data
Product
This document is not restricted to a product or product version
References
This document refers to:
CSS SAP Notes
1718791 - Certificate of Analysis (COA) in BAPI_GOODSMVT_CREATE
Version 1 Validity: 05/15/2012 - active Language English
Released On 02/12/2013 02:32:24
Release Status Released to Customer
Component MM-IM-GF-BAPI BAPIs for Goods Movements
QM-CA Quality Certificates
Priority Normal
Category How To
304122 MIGO: Batch input and CATT not supported
Other Components

Similar Messages

  • Error while using the Bapi   BAPI_GOODSMVT_CREATE

    Hi all,
    I am using the BAPI     BAPI_GOODSMVT_CREATE to Upload the Data in MB01 and for creating the MATERIAL DOCUMENT  for Multiple Lineitems at a time.
    But i am getting the error as  * NO ITEMS WERE TRANSFERRED*
    I am using two separate intenal tables One for Header records and One for Line item records
    and passing the tables in the BAPI.
    Please Solve my issue and if possible please send me the sample code along with the flatfile or excel sheet.
    Thanks and Regards
    ajay

    Check the below link for a sample code.
    [http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm|http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm]
    Hope this helps.
    Thanks,
    Balaji

  • 'Enter Stor.location'. error in the bapi 'BAPI_GOODSMVT_CREATE'

    Dear Friends
    We have a probelm in the bapi 'BAPI_GOODSMVT_CREATE'. While try to create goods movement using the above bapi the follwing error is coming : -
    M7
    E018
    'Enter Stor.location'.
    Though we have maintain storage location in the table parameter GOODSMVT_ITEM-STGE_LOC.
    Please help.
    Thanks in advance.
    Rajat M

    hi,
    wat is the movement type that u have used in the program.
    wat is the gm_code u r using?
    regards
    mano

  • Print via Output Control(XNAPR) field in MIGO to be checked through BAPI

    Hi Sir,
    I am creating goods movement using BAPI 'BAPI_GOODSMVT_CREATE'. I am able to fill all field exect the check bos for Print via Output Control(XNAPR) field in MIGO Header screen. I am unable to find out any field corresponding to this in the BAPI structure so that I can put 'X' in that.
    Please help me and I have to do this only using this BAPI.
    Regards
    Krishan

    Hi,
    I figured this one out, it's faily simple.
    Within the BAPI the table USR05 is checked for Parameter ID NDR(Print via output control in MM - Inventory management) it's the parameter ID linked to the field XNAPR.
    To make it work just update the table USR05 with the required setting and then execute the BAPI.
    Once the procecssing is done reset the value in the table to the default.
    Geting and setting the parameter ID doesn't work.
    This the code I have:
    Store current value in temp variable
          SELECT SINGLE * FROM usr05 WHERE bname = sy-uname
                                     AND   parid = 'NDR'.
          old_prflag = usr05-parva.
    Set the new value
          usr05-parva = rm07m-xnapr.
          UPDATE usr05 SET parva = usr05-parva
                    WHERE bname = sy-uname
                      AND parid = 'NDR'.
    Execute the BAPI
          CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
            EXPORTING
              goodsmvt_header  = gm_head
              goodsmvt_code    = gm_code
              testrun          = ' '
            IMPORTING
              materialdocument = g_mblnr
              matdocumentyear  = g_year
            TABLES
              goodsmvt_item    = gt_item
              return           = gt_return
              extensionin      = gt_ext.
    Set the print Parameter back
          usr05-parva = old_prflag.
          UPDATE usr05 SET parva = usr05-parva
                    WHERE bname = sy-uname
                      AND parid = 'NDR'.
    Regards,
    Jeroen

  • Unable to update sales order unsing the BAPI 'BAPI_SALESORDER_CHANGE'

    Hi All,
    I am unable to update the payment method field for some sales orders using the bapi 'BAPI_SALESORDER_CHANGE'. I am getting the reason in the table RETURN as 'Field 'ZLSCH' cannot be changed, VBAPKOM 000050  ready for input'.
    Could anyone throw some light on it.
    Thanks a ton.
    Regards,
    Santosh Kotra.

    Hi
    Without reversing invoice we can't update price and this is standard bevaior which is logical too. For your scenario I am wondering why would you want to change price for a line item or order which is alrady invoiced and posted to FI. What difference would it make to change price in sale order when this has already been posted in FI?
    Thank$

  • Regarding the bapi BAPI_OUTB_DELIVERY_CHANGE

    Hi all,
    Iam using the bapi 'BAPI_OUTB_DELIVERY_CHANGE' to change the deliveries..However i need to update three header fields which are not avaialble in the bapi.so i have added those three fields to the extension structure ..Now i have to update them to the database table....I found one badi 'SMOD_V50B0001' but this is not triggered which we use the FM..so unable to upload the data..can anyone suggest how to update the above three header fields.
    Regards,
    raj

    Hi,
      Try to use the FM 'WS_DELIVERY_UPDATE'.
    Rgds,
    Bujji

  • How to update j_1ipart1 j_1ipart2 by using bapi BAPI_GOODSMVT_CREATE

    i want to update records in j_1ipart1 , j_1ipart2 , rg1  as it gets updated when posting in MIGO with refer to excise incoice.
    i want to do the same  by using the bapi BAPI_GOODSMVT_CREATE.  Any one who can help me out , for what are the steps involved .
    thanks in advance

    Hi,
    Refer the following SAP notes.
    1. Note 485557 - BAPI_REQUISITION_CREATE: 'EXTENSIONIN' customer enhancements
    2. Note 584902 - BAPI_REQUISITION_CHANGE: ExtensionIn not connected
    3. Note 792132 - EBAN, EBKN: user-defined fields are not filled
    Regards,
    Harish

  • Getting error while using BAPI  'BAPI_GOODSMVT_CREATE'

    Hi,
    I am using the BAPI 'BAPI_GOODSMVT_CREATE' in program for goods issue i.e code 03.I am providing all details. the quatity is in KG and i am also providing ISO code i.e KGM but still getting error that Deficit of BA Unrestricted-use 32,900 KG .what would be the problem.

    Hi There,
    Please check if the PO in question has GR-based IV set to active.  In this case please refer to the SAP note 109396 which explains how the IDoc segment has to be filled in order for the posting be successful. The IDoc has to be filled as described in the note when try to post with this particular constellation (i.e. GR-based IV active, more than one goods receipt for the line item, first goods receipt already reversed). Normally when posting in dialog the user has to choose the correct line item to reverse. In the case of IDoc/BAPI processing this is not possible so these particular fields have to be filled at the interface so that the system finds the correct document to reverse.                            
    I hope this helps,
    Best Regards,
    Elaine.

  • Problem using BAPI--BAPI_GOODSMVT_CREATE

    Hi Gurus,
    I am trying to use the BAPI--BAPI_GOODSMVT_CREATE for performing goods reciepts but it is giving the Error "No stock posting possible for this material", When i try to use the MIGO for the same the posting is done. Can any one please suggest me what is the problem with the BAPI and how to correct it?
    Thanks in advance
    Anoop

    Hi Jurgen,
    I have done that still it is giving the same error, any other suggestions??
    Regards
    Anoop

  • BAPI :"BAPI_GOODSMVT_CREATE" for MB31

    hi all,
    I am using the BAPI "BAPI_GOODSMVT_CREATE" gor goods receipt against Production order .
    Please advise me where i will put the production order no in which field of table "GOODSMVT_ITEM".
    thanks
    Ravi arora

    Hi Ravi,
    Check this field ' ORDERID ' for produciton order, hope this helps.
    regards
    Ramakant

  • How to get serial number in bapi BAPI_GOODSMVT_CREATE

    hi everyone
    im using the bapi BAPI_GOODSMVT_CREATE to create goods receipt for a PO but its giving me an error 'Maintain serial numbers for total quantity' and I really dont know how to get the serial number data, i know the table GOODSMVT_SERIALNUMBER should be populated with the serial number data but i dont know where to get the data
    can anybody help me plz?

    Hi,
    Please check the following code
    DATA: lw_header         TYPE  bapi2017_gm_head_01,
             lw_headret        TYPE  bapi2017_gm_head_ret,
             lw_goodsmvt_item  TYPE  tw_goodsmvt_item,
             lt_goodsmvt_item  TYPE  tt_goodsmvt_item,
             lw_return         TYPE  tw_return,
             lt_return         TYPE  tt_return,
             lt_zprefg         TYPE  tt_zprefg,
             lw_zprefg         TYPE  tw_zprefg,
             lw_errorlog       TYPE  tw_errorlog,
             lt_zprefg_temp    TYPE  tt_zprefg,
            lw_afs_goodsmvt_sku TYPE /afs/bapi_gm_sku,
            lt_afs_goodsmvt_sku TYPE STANDARD TABLE OF /afs/bapi_gm_sku.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
         EXPORTING
           goodsmvt_header             = lw_header
           goodsmvt_code               = '04'
      TESTRUN                     = ' '
        IMPORTING
          goodsmvt_headret            = lw_headret
      MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
         TABLES
           goodsmvt_item               = lt_goodsmvt_item
      GOODSMVT_SERIALNUMBER       =
           return                      = lt_return
          afs_goodsmvt_sku            = lt_afs_goodsmvt_sku.
    IF sy-subrc EQ 0.
         COMMIT WORK AND WAIT.
       ENDIF.
       LOOP AT lt_return INTO lw_return.
         IF lw_return-type EQ co_msgtyp_e OR
            lw_return-type EQ co_msgtyp_a.
           lw_errorlog-msgtype = lw_return-type.
           lw_errorlog-msgid   = lw_return-id.
           lw_errorlog-msgno   = lw_return-number.
           lw_errorlog-message = lw_return-message.
           APPEND lw_errorlog TO gt_errorlog.
         ELSE.
           UPDATE zprefg FROM TABLE lt_zprefg_temp.
         ENDIF.
       ENDLOOP.
    Pls mark points if helpful
    Line Turbin

  • User Exit triggers BAPI BAPI_GOODSMVT_CREATE

    Hi Super Gurus!
    I have a complex situation, till now no solution is being provided.
    Does anybody know how can I trigger the BAPI BAPI_GOODSMVT_CREATE in a plant for make automatic recepction of a STO?
    I wanted to trigger it once shipment is another plant
    Any Guru idea?
    Thanks in advance and best regards

    Nothing is in CMOD since you haven't created a project yet.
    Try transaction SMOD and search for V56* and then you find
    a lot.
    Find the one you need and then create a project in CMOD
    and add the enhancement.

  • How to populate the TEXT field in MIGO

    Hi folks,
    While creating material document in MIGO or MB01, i am inserting some data in TEXT ( Field in line item level ). This text data is disappearing , once mat doc is created.
    how to populate the TEXT field in MIGO?Is there any cusomisation?it's urgent .
    Regards
    pabi

    Hello Pabitra,
    I had a similar issue in my Project.
    Please verify if the SMOD enhancement MBCF0002 (EXIT_SAPMM07M_001) is active in your system.
    If this is the case, verify from two angles:
    a) Whether the Enhancement was accidentally activated - If yes, then De-activate the same
    b) If there is some logic coded in the User Exit, but, the Text is somehow not determined...even the existing content in the text field (input to EXIT_SAPMM07M_001) will get vanished.
    Hope that your problem will be resolved by this.  Pls reward points.
    With Regards
    Vijay Gajavalli

  • I am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    i am trying to generate purchase order and i create a BAPI also which is active.
    But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    Hi,
    Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
    This is my CODE-
    FUNCTION ZBAPIPOTV2.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(POHD) TYPE  ZPOHD OPTIONAL
    *"     VALUE(POITEM) TYPE  ZPOITEM OPTIONAL
    *"  TABLES
    *"      RETURN STRUCTURE  BAPIRET1 OPTIONAL
    data: ls_pohd type bapimepoheader,
             ls_pohdx TYPE bapimepoheaderx,
             lt_poit TYPE TABLE OF bapimepoitem,
             lt_poitx TYPE TABLE OF bapimepoitemx,
             ls_poit TYPE bapimepoitem,
             ls_poitx TYPE bapimepoitemx.
       MOVE-CORRESPONDING pohd to ls_pohd.
       MOVE-CORRESPONDING poitem to ls_poit.
       ls_pohdx-comp_code = 'x'.
       ls_pohdx-doc_type = 'x'.
       ls_pohdx-vendor = 'x'.
       ls_pohdx-purch_org = 'x'.
       ls_pohdx-pur_group = 'x'.
       ls_poit-po_item = '00010'.
       APPEND ls_poit to lt_poit.
       ls_poitx-po_item = '00010'.
       ls_poitx-po_itemx = 'x'.
       ls_poitx-material = 'x'.
       ls_poitx-plant = 'x'.
       ls_poitx-quantity = 'x'.
       APPEND ls_poitx to lt_poitx.
    CALL FUNCTION 'BAPI_PO_CREATE1'
       EXPORTING
         POHEADER                     = ls_pohd
        POHEADERX                    =  ls_pohdx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
    *   PARK_COMPLETE                =
    *   PARK_UNCOMPLETE              =
    * IMPORTING
    *   EXPPURCHASEORDER             =
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
      TABLES
        RETURN                       = return
        POITEM                       = lt_poit
        POITEMX                      = lt_poitx
    *   POADDRDELIVERY               =
    *   POSCHEDULE                   =
    *   POSCHEDULEX                  =
    *   POACCOUNT                    =
    *   POACCOUNTPROFITSEGMENT       =
    *   POACCOUNTX                   =
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
    *   POLIMITS                     =
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
    *   POSRVACCESSVALUES            =
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
    *   POCOMPONENTS                 =
    *   POCOMPONENTSX                =
    *   POSHIPPING                   =
    *   POSHIPPINGX                  =
    *   POSHIPPINGEXP                =
    *   SERIALNUMBER                 =
    *   SERIALNUMBERX                =
    *   INVPLANHEADER                =
    *   INVPLANHEADERX               =
    *   INVPLANITEM                  =
    *   INVPLANITEMX                 =
    ENDFUNCTION.
    i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". 

  • How to add a field in the BAPI.

    hi,
    i wanted to add a field zchech in the BAPI (BAPI_INCOMINGINVOICE_CREATE) how to do that.

    Hi Preethi
    BAPI_INCOMINGINVOICE_CREATE is standard SAP BAPI.
    You cannot add new fields to the interface.
    Check whether the interface allows for any customer enhancements.
    Else copy this BAPI into a customer namespace and modify accordingly.
    Reward points if this helps.
    Regards
    Meera

Maybe you are looking for

  • The new versons of flashplugin are very slow?

    Hi, I discovered some flicker issues when viewing flash clips in fullscreen. I downgraded the flashplugin to flashplugin-10.1.85.3-1-i686.pkg.tar.xz and everything seems to be fine again. The biggest plus for the old version can be seen with sites th

  • QM UD Error Message: Check table XEKBN: entry 45039875220001003 does not exist.

    Hello QM expert, I encounter a error when I make a UD. (Please refer to below screenshot. ) Case 1: I did quantity post to unrestricted use, to scrap, to blocked stock, to new material, to reserves, return delivery. When I save this UD, there is a er

  • ITunes does not sync music to iPhone 4

    I just installed 10.5 iTunes and got iOS 5 on the phone but when I click "Sync" it goes through all the processes it used to but no music actually gets put on the phone. Yes, all the boxes are checked. No, there are no ! beside the songs in the libra

  • Has anyone gone the Refurbished route???

    I am thinking about getting a refurbished iBook...its very reasonably priced. I was just wondering if anyone has gotten an Apple refurbished product, specifically and iBook. With the 1-year warranty, plus I would plan to buy AppleCare additionally, I

  • Work Flow Setting for Vendor Payment Release using TCode F-53

    Hi Experts, We want to 3 level payment release strategy for Vendor using Workflow in F-53 Regards, Gaurav.