QM-Module .QM02 transaction

Hi,
In QM module for QM02 transaction i had to find a exit or badi
when i click on save button.
I got both Userexit and Badi but i have one issue.
For  ex :
In QM02 transaction i enter a notification number which has no
deletion flag Set.User goes in QM02  menu and set the deletion flag at runtime .
How to find the change in status of notification in  userexit and badi.
Thanks in advance.
Chetan

Hi,
First check out the deletion flag field in database table. It would be there in header table. Then check out all the enhancement where exactly you are getting that field. Based on that you can write your logic.
Rewards points if helpful.
Regards,
CS.

Similar Messages

  • BAPI Function module for transaction ME32K for change

    Please let me know the name of the BAPI Function module for transaction ME32K for change the contract.

    Hi Krishan,
    I have checked but their is no BAPI called
    BAPI_CONTRACT_CHANGE.
    If I am wrong plz correct me with the procedure to view the above BAPI in SAP System.
    Regards,
    Nitin

  • RVCTP module: Receiving Transaction Processor

    Hi,
    I am doing receipt using by passing ASN no as input parameter, not picking the records from interface tables.
    when i checked in rcv_transactions_interface table proceeing_status_code is "RUNNING" , "PENDING" .
    when i run the Receiving Transaction Processor got below error.
    i changed profile option as "BATCH", still getting same error
    please help to solve this
    Purchasing: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    RVCTP module: Receiving Transaction Processor
    Current system time is 16-NOV-2010 13:05:39
    Concurrent program RVCTP returned error
    Cause: RVCTP encountered an internal error. Parameters: RVCTP,BATCH,122227,
    Action: Note both this error number and the actions you are trying to perform. Contact your system admini
    RVTBM-007: Subroutine rvtbm_batch_mngr() returned error
    Cause: Subroutine rvtbm_batch_mngr() returned an internal error.
    Action: Note this error number and the actions you are trying to perform. Contact your system admini
    RVTBM-080: Subroutine rvtptcontrol() returned error
    Cause: Subroutine rvtptcontrol() returned an internal error.
    Action: Note this error number and the actions you are trying to perform. Contact your system administrator
    RVTLO-005: ORA-01403: no data found
    Cause: A SQL error has occurred in RVTLO. The SQL error is &LSQL_ERR.
    Action: Take note of both this error number and the actions you were t
    Concurrent Manager encountered an error while attempting to start your immediate concurrent program RVCTP. Routine &ROUTINE received a return code of failure.
    Contact your support representative.
    Current system time is 16-NOV-2010 13:05:40
    Executing request completion options...

    Hi Sandeep,
    thanks for your reply,
    i am inserting the records using below script.
    INSERT INTO RCV_HEADERS_INTERFACE
    HEADER_INTERFACE_ID
              ,GROUP_ID
              ,PROCESSING_STATUS_CODE
              ,RECEIPT_SOURCE_CODE
    ,TRANSACTION_TYPE
    -- ,RECEIPT_HEADER_ID
              ,LAST_UPDATE_DATE
              ,LAST_UPDATED_BY
              ,LAST_UPDATE_LOGIN
              ,CREATION_DATE
              ,CREATED_BY
              ,VENDOR_ID
    ,VENDOR_SITE_ID
              ,VALIDATION_FLAG
              ,ATTRIBUTE12
              -- ,SHIPMENT_NUM
              ,EMPLOYEE_ID
              ,BILL_OF_LADING
              ,PACKING_SLIP
              ,NUM_OF_CONTAINERS
              ,GROSS_WEIGHT
              ,GROSS_WEIGHT_UOM_CODE
              ,WAYBILL_AIRBILL_NUM
              ,COMMENTS
              ,FREIGHT_TERMS
              ,INVOICE_NUM
              ,INVOICE_DATE
              ,ATTRIBUTE1
              ,ATTRIBUTE2
              ,ATTRIBUTE3
              ,ATTRIBUTE4
              ,ATTRIBUTE6
              ,ATTRIBUTE7
              ,ATTRIBUTE8
              ,ATTRIBUTE9
              ,ATTRIBUTE10
              ,ATTRIBUTE11
    ,SHIPPED_DATE
    ,EXPECTED_RECEIPT_DATE
    -- ,RECEIPT_NUM
         VALUES(l_header_interface_id
         ,l_group_id
              ,'BATCH' --'PENDING'
              ,'VENDOR'
              ,'NEW' --'RECEIVE'
    -- ,H.SHIPMENT_HEADER_ID
              ,sysdate
              ,l_user_id
              ,l_login_id
    ,H.CREATION_DATE
    ,H.CREATED_BY
              ,H.VENDOR_ID
    ,H.VENDOR_SITE_ID
              ,'Y'
              ,H.ATTRIBUTE12
              -- ,l_sil_number
              ,H.EMPLOYEE_ID
              ,H.BILL_OF_LADING
              ,H.PACKING_SLIP
              ,H.NUM_OF_CONTAINERS
              ,H.GROSS_WEIGHT
              ,H.GROSS_WEIGHT_UOM_CODE
              ,H.WAYBILL_AIRBILL_NUM
              ,H.COMMENTS
              ,H.FREIGHT_TERMS
              ,H.INVOICE_NUM
              ,H.INVOICE_DATE
              ,H.ATTRIBUTE1
              ,H.ATTRIBUTE2
              ,H.ATTRIBUTE3
              ,H.ATTRIBUTE4
              ,H.ATTRIBUTE6
              ,H.ATTRIBUTE7
              ,H.ATTRIBUTE8
              ,H.ATTRIBUTE9
              ,H.ATTRIBUTE10
              ,H.ATTRIBUTE11
    ,H.SHIPPED_DATE
    ,sysdate
    -- ,11111111
    INSERT INTO RCV_TRANSACTIONS_INTERFACE
    INTERFACE_TRANSACTION_ID
    ,GROUP_ID
    ,LAST_UPDATE_DATE
    ,LAST_UPDATED_BY
    ,CREATION_DATE
    ,CREATED_BY
    ,LAST_UPDATE_LOGIN
    ,TRANSACTION_TYPE
    ,TRANSACTION_DATE
    ,PROCESSING_STATUS_CODE
    ,PROCESSING_MODE_CODE
    ,TRANSACTION_STATUS_CODE
    ,QUANTITY
    ,UNIT_OF_MEASURE
    ,ITEM_ID
    ,UOM_CODE
    ,INTERFACE_SOURCE_CODE
    ,SHIPMENT_HEADER_ID
    -- ,SHIPMENT_LINE_ID
    --,USER_ENTERED_FLAG
    ,SOURCE_DOCUMENT_CODE
    ,DESTINATION_TYPE_CODE
    ,PRIMARY_QUANTITY
    ,PRIMARY_UNIT_OF_MEASURE
    ,RECEIPT_SOURCE_CODE
    ,EMPLOYEE_ID
    ,PARENT_TRANSACTION_ID
    ,PO_HEADER_ID
    ,PO_RELEASE_ID
    ,PO_LINE_ID
    ,PO_LINE_LOCATION_ID
    ,PO_DISTRIBUTION_ID
    --,PO_REVISION_NUM
    ,PO_UNIT_PRICE
    ,CURRENCY_CODE
    ,CURRENCY_CONVERSION_TYPE
    ,CURRENCY_CONVERSION_RATE
    ,CURRENCY_CONVERSION_DATE
    ,VENDOR_ID
    ,VENDOR_SITE_ID
    ,TO_ORGANIZATION_ID
    ,LOCATOR_ID
    ,SHIP_TO_LOCATION_CODE
    -- ,AUTO_TRANSACT_CODE
    ,VALIDATION_FLAG
    VALUES
    l_transaction_id
    ,l_group_id
    ,sysdate
    ,l_user_id
    ,sysdate
    ,l_user_id
    ,l_login_id
    ,'RECEIVE'
    ,sysdate
    ,'PENDING'
    ,'BATCH'
    ,'PENDING'
    ,r.QUANTITY_SHIPPED
    ,r.UNIT_OF_MEASURE
    ,r.ITEM_ID
    ,l_uom_code--UOM_CODE
    ,'RCV'
    ,l_header_interface_id --r.SHIPMENT_HEADER_ID            
    -- ,r.SHIPMENT_LINE_ID
    -- ,'Y' --USER_ENTERED_FLAG  
    ,'PO' --SOURCE_DOCUMENT_CODE  
    ,'RECEIVING' -- DESTINATION_TYPE_CODE
    ,r.QUANTITY_SHIPPED --PRIMARY_QUANTITY              
    ,r.PRIMARY_UNIT_OF_MEASURE --PRIMARY_UNIT_OF_MEASURE   
    ,'VENDOR' -- RECEIPT_SOURCE_CODE -
    ,r.EMPLOYEE_ID --EMPLOYEE_ID                         
    ,-1 --PARENT_TRANSACTION_ID    -   
    ,r.PO_HEADER_ID
    ,r.PO_RELEASE_ID
    ,r.PO_LINE_ID
    ,r.PO_LINE_LOCATION_ID
    ,r.PO_DISTRIBUTION_ID
    --,r.PO_REVISION_NUM
    ,r.UNIT_PRICE --PO_UNIT_PRICE
    ,r.CURRENCY_CODE
    ,r.RATE_TYPE -- CURRENCY_CONVERSION_TYPE -
    ,r.RATE -- CURRENCY_CONVERSION_RATE
    ,r.RATE_DATE -- CURRENCY_CONVERSION_DATE
    ,r.VENDOR_ID
    ,r.VENDOR_SITE_ID
    ,r.TO_ORGANIZATION_ID --ORGANIZATION_ID
    ,41
    ,'GNE JEBEL ALI'
    -- ,'DELIVER'
    ,'Y'
    can you plz suggest if i am wrong

  • Any Bapi or Function module for transaction CA22

    Hi experts,
    Is there any Bapi or Function module for transaction CA22(Change Rate Routing).
    Thanks,
    Yogesh

    Hi,
    The following r the Enhancement's and BADI'S fro CA22
    Enhancement
    CMDI001                                 Determine explosion control for BOM
    CPAU0001                                Enhancement for Authorization Check in Task Lists
    CPDO0001                                Test units of measure for reference operation set
    CPRE0001                                Enhancement for Reorgnization Checks in Task Lists
    XCZD0004                                Extend authority check for the material-recipe allocation
    Business Add-in
    CEWB_OPR_MENU_EXTERN                    Menu Extensions in the Engineering Workbench
    CEWB_OPR_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
    CEWB_SEQ_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
    CEWB_TSK_MENU_EXTERN                    Menu Extensions in the Engineering Workbench
    CEWB_TSK_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
    CEWB_TSK_SCREENS                        Screen Extensions for Task Lists in the EWB
    CEWB_TSK_UPDATE                         Task List Maintenance and Checks in the EWB
    CP_DIG_SIGNATURE                        Digital Signature for Routings
    EWB_SELECTION                           Selection Within the Engineering Workbench
    ROUTING_EXIT                            User Exits for Routings
    CEWB_MTK_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
    CEWB_MST_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
    CEWB_MST_MENU_EXTERN                    Menu Extensions in the Engineering Workbench
    CEWB_ITM_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
    CEWB_ITM_MENU_EXTERN                    Menu Extensions in the Engineering Workbench
    CEWB_GEN_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
    CEWB_GEN_MENU_EXTERN                    Menu Extensions in the Engineering Workbench
    CEWB_COM_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
    CEWB_COM_MENU_EXTERN                    Menu Extensions in the EWB (SAP Internal)
    CEWB_CHA_MENU_INTERN                    Menu Extensions in the EWB (SAP Internal)
    CEWB_CHA_MENU_EXTERN                    Menu Extensions in the Engineering Workbench

  • SAP R/3 Modules and transactions belonging to them.

    Hello there,
    I have two questions which I would like some help with:
    Q1  Is there a link to documentation that lists all the SAP R/3 functional modules and provides an overview/description of each module?
    Q2  I would like to list all the transactions belonging to a fuctional module/area such as SD, MM, PM, FI/CO etc. I know that tables TSTC & TSTCT will provide a list of all the transaction codes, but is there a table that will show all transaction codes belonging to a specific fuctional module?.. if not then is there another way of getting this information?...Please bear in mind that I need to be able to download this information to an excel spreadsheet.
    Your help here would be much appreciated.
    Many thanks
    Sharon

    Hi williams,
    >> For your query regarding SAP R/3 modules refer: http://en.wikipedia.org/wiki/SAP_R/3
    >> For your query regarding Transaction codes refer:
    http://www.easymarketplace.de/transactions.php
    www.erpgenie.com/sapgenie/docs/useful-tcodes.pdf
    Reward points if its useful...

  • Function modules for Transaction SE16  for any table whole data

    Hi Experts,
    i need to pass report or function module input as table name:LFA1.
    I Need to get all the data with fileds for those table.
    say : i/p
    paramters: s_tabname  like (tabname).
    here s_tabname ='lfa1'.
    output :all the fileds details with  whole data like se16 or se11 transaction for table.
    is there any function module.
    Thanks
    nag

    Hi,
    you can create this easily using runtime creation of objects and SALV for display.
    Although I would never do something like this...
    REPORT  zzzz.
    DATA:
      gr_itab  TYPE REF TO data,
      gr_salv  TYPE REF TO cl_salv_table.
      PARAMETERS:
        p_table TYPE tabname.
      FIELD-SYMBOLS:
        <tab> TYPE table.
    START-OF-SELECTION.
      create data gr_itab type table of (p_table).
      ASSIGN gr_itab->* TO <tab>.
      select *
        from (p_table)
        into table <tab>.
      TRY.
          cl_salv_table=>factory(
            IMPORTING
              r_salv_table = gr_salv
            CHANGING
              t_table      = <tab> ).
        CATCH cx_salv_msg.                                  "#EC NO_HANDLER
      ENDTRY.
      DATA:
        lr_functions TYPE REF TO cl_salv_functions_list.
      lr_functions = gr_salv->get_functions( ).
      lr_functions->set_all( abap_true ).
      gr_salv->display( ).
    You won't find anything simpler.
    Regards,
    Clemens

  • BAPI or Function module for transaction POP2

    Hi,
    I have a requirement to change the value of a field in transaction POP2. Does anyone know any BAPI or FM to update the transaction POP2.

    Hi,
       CHECK THE Function module's
    VHUHU_HU_GET_MATERIALS
    VHUHU_READ_HU_HEADS_ITEMS_DB
    VHUPDCA_GET_CUSTOMIZING
    VHUPIAP_GET_PI_INFO
    Or
    Check the pacakge <b>ISAUTO_VHU_PACKOBJ</b> with this pacakge name you can search in SE37
    Regards

  • Function module for transaction lt06

    hi friends,
              I want to know is there any function module for the transaction LT06 for 311 movement.
    points will be rewarded if helpfull.
    Message was edited by:
            radhika kolluru

    hi friends,
              I want to know is there any function module for the transaction LT06 for 311 movement.
    points will be rewarded if helpfull.
    Message was edited by:
            radhika kolluru

  • Error in QM02 transaction

    Hellow all,
    when we try to delete a document (linked document) in the quality notification in the transaction QM02, we are getting the following error.
    "Document 100***** is still checked out "*
    Could you please help us in solving this error.
    thanks,

    Hi
    As per your query it seems that you are using the  DMS system.
    You have used document in CV01n & attached as ref object in notification.
    If this document is checked in as original document in CV01n ,then you have to remove the referenced link( to notification) in CV02n itself.
    then this will automatically removed from the notification.
    I hope this will work
    Regards
    Sujit

  • Require function module for transaction MI09

    hi,
    i require a Function Module that would perform the operation of transaction MI09 i.e to post count of physical inventory without reference to inventory document number
    please help

    Hi,
      The easiest way to find the FM in MI09 is,
      go to transaction MI09.
      system--> status  and goto the Program name.
    Double click the program name and Search what are the FM are used.
      Search using ' Call Function ' String , to find out the
    Fms are used in MI09.
    Thanks,
    Neptune.M
    Plz Reward if it helps.

  • Module Specific Transaction codes

    Hello All - Is there a way I can display all transactions codes module specific, like FI, MM, SD,...
    We have ancient display role which have about 400 transaction codes, i want to break these role module spcecific display like
    FI Display
    SD Display
    Can you suggest me a way I list all sap tcodes module specific.
    Thanks
    AJ.

    Hi there,
    from my point of view, there is not such a list as Tcodes are often cross module or used in different ones. You should rather try to seperate your Tcodes and Roles along your business processes / departments as they normally form the base for your roles.
    Something like
    - Base Authorization (e.g. Su53)
    - Procurement Process Display ( e.g.Display Stocks )
    - Procurement Process Create (Create Purchase Orders for XYZ)
    - Procurement Process Critical (Approve High Value Payment)
    Kind regards,
    R.

  • Application Module - Commit Transactions

    Hi, I have implemented a way to identify a foreign key, in the view object edit page, and put a lov beside it. When the user puts some invalid value in the foreign key field it validates the field and back to the edit page. But now I want to put another button beside the foreign key that allow the user to insert an entity of the foreign key view object type.
    For example:
    I have a sales page that have the following fields: code_sales, total_price, prod_id(foreign key), date... The user can choose a product from the LOV beside it or puts a prod_id directly on the field . Once the user has putted a invalid prod_id(a prod_id that does not exist on the product table) the system alerts the user indicating what field has generated the error and the user has the option to insert a new product or choose another product. If the user has choosen to insert a new product the system opens the product view object edit page and inserserts a new product. The problem is that when I insert and commit the product information it generates an error becouse the sales row is not valid. How can I insert the product in a independent way. Maybe I should open a new Application Module.
    Please, what can I do?
    Thanks in advance,
    Junior

    It does not work. I have tryed to insert the row in the Product's VO but the Product I have just inserted does not appears int the Product's LOV.
    Here is the code I have tryed:
    <jbo:Row id="myrowNew" datasource="ds" rowkeyparam="jboRowKey" action="updateNewRow" />
    <%
    TmsProductViewRowImpl viewRowImpl = (TmsProductViewRowImpl)myrowNew;
    TmsProductViewImpl vo = (TmsProductViewImpl) viewRowImpl.getViewObject();
    vo.insertRow(myrowNew);
    %>Junior:
    The above code looks to me that you are inserting row back in the Product VO, not Products LOV VO. If I undestand your app correctly, we have two VOs: ProductVO which you're using to create a new Product and ProductLOVVO which you're using to build the LOV.
    Your myrowNew is one created and inserted by ProductVO. Your "vo.insertRow(myrowNew)" will end up inserting myrowNew twice into ProductVO (which you wouldn't want). Instead, you want to insert myrowNew into ProductLOVVO. Assuming that named of the Product LOV VO is ProductLOVVO, you would want to change the code snippet above to something like the following:
    <jbo:Row id="myrowNew" datasource="ds" rowkeyparam="jboRowKey" action="updateNewRow" />
    <%
        TmsProductViewRowImpl viewRowImpl = (TmsProductViewRowImpl)myrowNew;
        // Replace "ProductLOVVO" with the appropriate Product LOV VO's name
        ViewObject productLOVVO = viewRowImpl.getViewObject().getApplicationModule().findViewObject("ProductLOVVO");
        productLOVVO.insertRow(myrowNew);
    %>Thanks.
    Sung

  • BAPI/Function Module for transaction PR05

    Hi All,
    I am searching for BAPI/Function Module for tx PR05(Travel Expense Manager).
    Thanks.

    Check thread Transferring data into travel manager  for Carlos David Moreno Lozano answer in message Re: Transferring data into travel manager
    Regards,
    Raymond

  • How to Attach Documents to QM02 Transaction

    Hi,
    We have a requirement to implement a RFC(Portal to R/3) which is used to attach the documents at the Header level of the Quality Notification(QM02). The input paremeters are the file content and file format. File content will be in the form of Byte Array which is coming from the portal and file format can be Word, Excel or PDF.
    Please help me on this regard.
    Thanks,
    Sathi

    Hi Raja,
    Thanks for your reply, I excecuted this RFC by providing the input values as
    CLASSNAME 'BUS2078'
    CLASSTYPE 'BO'
    OBJECT_KEY '0000000306' ( Quality Notification Number )
    SIGNATURE:
      DOC_COUNT 00000001
      DOC_VER_NO 00000001
      COMP_COUNT 00000001
    COMPONENTS:
      DOC_COUNT 00000001
      COMP_COUNT 00000001 
    CONTENT:
      LINE 10101010111010111010101010111101011110011010101011100101110101011101011010101
    But there was no attachment added to that particular Notification.
    If this process is not correct. Please let me know how i should use this RFC to attach documents.
    Thanks in advance,
    Sathi

  • Help needed in QM02 transaction ?

    Hi ,
    How to find the Sold-to partner function in the QM 02 transaction for a given notification type ?

    Hi Akshay, try this,
    However, the partners in a transaction are stored in the CRMD_PARTNER table. (The partner function of the BP in a transaction is stored in the PARTNER_FCT field) By calling the FM CRM_ORDER_READ you get back all the partners (ET_PARTNER table) for a given transaction (not BP number!) with their partner functions.
    hope this helps.
    Also,
    First of all u have to define this bp relatiuonship. Then go to partner determination procedure and define the partner procedure and assign this partner determination procedure to ur transaction typess. When u will create the sales transaction then if u wil enter the sold-to-party in header data the partner will automatically displayed in irem data.
    In activity what are the partners are reflecting in partner tab. Have u done all customization for activity sales. Whn u select the SP the partner will show u on partner tab in item details. Can u tell me what are the pertners are showing.
    kindly reward if found helpful.
    cheers,
    Hema.
    Edited by: Hema Sundar Munagapati on Jan 28, 2008 4:36 PM

Maybe you are looking for