Create Rejection Note after approval/rejection using Ztranscation.

Hi Experts,
I have a requirement to create a Rejection Note when a document is rejected using a SAP Transaction.
I mean I would call a Z Transaction to show the details and have the approve/reject buttons on which the approver can action them directly.
Now, when rejected, I would like to advance with dialog and immediately pop up to capture the reason for rejection.
Please advice.

Hi Vijay,
You can use the std task TS20000139 to enter rejection text.
Or
Try as given in this link below.
http://wiki.sdn.sap.com/wiki/display/ABAP/ApprovalDecisiononApproveorRejectwithReasonsor+Comments
Regards,
Raj

Similar Messages

  • After approver reject RFx response(QUOT), is that possible tho open back?

    Hi Gurus,
    We are now implementing SRM 7 EHp 1 and with workflow in RFx creation and evaluation. During RFx evaluation, once the approval reject the quotation and the status will turn into REJECTED. Is there anyway to open back the quotation in order leave it as rejected.
    There is few scenario we facing at the moment.
    1. 5 lines item. Bidder A been partial award 3 items and Bidder B partial award 2 item. Both quotation route to approval in awaiting approver status. If approval reject bidder A quotation and put a remark to purchaser that bidder B should get the full award (5 items). Is that possible to handle by the system?
    2. 5 lines item. Bidder A been partial award 3 items and Bidder B partial award 2 item. Both quotation route to approval in awaiting approver status. The approval reject bidder A and accept bidder B. Could system handle the 3 items back to the sourcing cockpit?
    Best regards,
    Wind

    Hello Wind,
    Kindly refer to the thread Re: Quotation in Release Rejected Status, how does the purchaser can review it? , to solve your issue here.
    As per the standard functionality delivered with SRM 701, purchaser user should be allowed to view the details for the Rejected RFx response and he also he will be provided with the Undo Reject option to re-submit the response for approval to the purchasing manager.
    Hope this helps you.
    Best Regards,
    Rahul

  • System not capturing approve/reject status.

    Hello All,
    In ESS/MSS employee is applying for leave and leave workflow is triggered in sap and mail has been sent to approver.
    Approver is also able to approve the leave request but the system is not triggering workflow in system.
    And then next process is started.
    Is it related to authorization issue ???

    Hello.
    We need to export sales order number and status to a particular memory id.
    Syntax:
    Export <sales_order_number> to memory id 'M1'.
    Export <status> to memory id 'M2'.
    Write these export statements in Zinclude present in the user exit.
    And you need to import these values in your perform like...
    Import <sales_order_number> to <sales_order_number>  from memory id 'M1'.
    Import <status> to <status>  from memory id 'M2'.
    Check this concept in help.sap.com - [click here.|http://help.sap.com/saphelp_45b/helpdata/en/34/8e73a36df74873e10000009b38f9b8/frameset.htm]
    You do this problem will be solved.
    I will be watching your thread. Let me know you need any thing more.
    All the best.
    Vamsi
    For your next post:
    Both in the new include (in which your perform present) and in FM.
    click on Utilitites - > Update navigation index.

  • Purcahse document cannot be released after PO reject using ME29N

    Hi gurus/experts,
    is it SAP standard behaviour that once PO was rejected using ME9N, the PO document cannot be release anymore ?
    if that is tha case, how can an approval reject the approval so that the release status can go back to previous release code ?
    TQ

    Hi,
    It is possible to go back into ME29N and cancel the rejection, then the purchase order is available for approval again.  The reject icon will change to a reverse rejection button after the rejection is done..
    Normal process is after rejection the buyer will cancel the rejection, make any necessary changes and save.  This will return the purchase order for approval.  The buyers changes may reset the entire approval process if they exceed the conditions configured for resetting the approvals.
    James

  • Disable approval/rejection at item level.

    Hi All,
    We need to stop the user from approving/rejecting a SC at item level.
    On EBP Home screen , click on Approval link , then click on magnifying glass,there are two radio buttons .I hide the radio buttons with help of [this thread.|How to hide Approve and reject radio buttons at item level.;
    Although the radio buttons are hidden but still if the user presses "Save" button the SC is approved by default because the Approved RBs are selected at item level.
    How can I initialize both radio buttons ie. none RB is checked so that clicking save does nto approves/rejetcs  a SC .
    Or can i use some BADI for this..please suggest.
    Reagrds,
    Anubhav

    Hi Daniel,
    As you said,its not possible to avoid approval/rejection at item level on click of save button and coding a new save button will be very complex so I created two radio buttons (approval / rejection ) at header level If the Approval RB at header level is selected , all the approval RBs at item level are selected automatically selected and same applies for rejection RB at header level.The item level RBs are invisible/hidden so the user has no idea of item level RBs.
    Now I am facing two problems..
    1)If I put the code for RBs in Template 120 , it also ahows up on other screens like in step2 , while creating the SC.
    If i put the code in Template 140 , i get it in step3 while creating the SC.
    In which template should I code the RBs so that they are visible in the approval screen or is there a way to know from where the template was called I mean was it called during SC creation or directly clicking on approval link  OR  can we check if the user has employee role or manager role so that the approval / rejection RBs are displayed only for managers ?
    2) For this JS function to work perfectly , i need to know the number of items in the SC.
    Which variable in the Template 120 of BBPSC01 contains the no. of items in SC?
    Thanks a lot,
    Anubhav
    Edited by: Anubhav Jain on Mar 31, 2009 7:47 AM

  • Multilevel dynamic approval process using precondition loop block

    HI,
    I am trying to create a multivel dynamic approval process using a precondition loop block. The structure of my process is,
    Process->1)Sequential Block containing requestor action->processor of requestor action is initiator
                2)Precondition Loop Block containing
                        i)Loop Decision action containing a business logic callable object
                        ii)Loop Body Block containing Approver action-processor of approver action is filled from context parameter
    The loop decision action implements the logic for loop decision. Can anybody help me by suggesting the proper target of each of these actions, and the processor for loop decision action?
    Whenever I am initiating the process, the requestor action is getting executed,  On completion of this action I am getting a message "No activity is currently selected", that is, it is not entering the precondition loop block.
    Please guide me with the proper process flow of this and how to adjust the roles and parameters
    Thanks,
    Swaralipi

    Posted another thread on the same issue

  • Workitems not getting approved in SRM

    We have shopping cart created  but even after approving the item by the approving manager - shopping cart still shows in Awaiting Approval status and a new line ite gets created under the main item. No PO gets generated. All workflow related settings are maintained correctly.
    - SK

    Hi,
    if this is only a one time problem and you need to create the follow-on document, you can trigger the SC transfer with the function 'BBP_PD_SC_TRANSFER' with the GUID of the SC (you can get the GUID from the transaction BBP_PD). If there is no error in the SC, the PO will be created (in this case the workitem won't be closed).
    If the new line created under the main line item can not be deleted, I would suggest to delete the whole SC, and create a new one.
    Regards,
    Peter

  • Update Rejection note in Invoice using Program

    Hi,
    We have one requirement to Reject & Approve the invoice using the POWL report. I have completed all the approval process, but while in rejection we have done one enhancement in invoice that invoice can't be rejected without entering the value in the Reason for rejection. I have called the method in this following sequence. There is no exception but Reason for rejection doesn't updated.
    /SAPSRM/IF_PDO_DO_LONGTEXT~ADD_LONGTEXT
    /SAPSRM/IF_PDO_DO_LONGTEXT~UPDATE_LONGTEXT_BUFFER
    /SAPSRM/IF_PDO_BASE~SUBMIT_UPDATE
    Give me some suggestion how i can achieve this.
    Regards,
    Nishant

    Hi,
    I want to update the Rejection Note from Program in APPROVAL mode.
    Below is the i wrote for update the REJECTION NOTE .
    data     lV_USER_TYPE TYPE BBP_IV_USER_TYPE VALUE 'PROFI' .
                 lv_mode = 'APPROVAL'.
                 lv_decision = 'REJECTED'.
                 lv_objecttype  = /sapsrm/if_pdo_obj_types_c=>gc_pdo_invoice.
           TRY.
             CALL METHOD /sapsrm/cl_pdo_bo_inv_adv=>get_inv_adv_instance
               EXPORTING
                 iv_header_guid = I_GUID
                 iv_wiid        = I_IV_WIID
                 iv_mode        = lv_mode
                 iv_subtype     = IV_SUBTYPE"ls_header_INV-subtype'
                 iv_user_ID     = I_APPROVER
                 iv_user_type   = lV_USER_TYPE
               RECEIVING
                 ro_instance    = lr_inv_adv.
           CATCH /sapsrm/cx_pdo_no_authorizatio .
           CATCH /sapsrm/cx_pdo_parameter_error .
           CATCH /sapsrm/cx_pdo_status_error .
           CATCH /sapsrm/cx_pdo_incons_user .
           CATCH /sapsrm/cx_pdo_abort .
           CATCH /sapsrm/cx_pdo_lock_failed .
           CATCH /sapsrm/cx_pdo_error .
           CATCH /sapsrm/cx_pdo_be_comm_error .
         ENDTRY.
    data lr_message TYPE REF TO /SAPSRM/IF_PDO_MSG_CONSUMER.
    data lo_pdo_notes        TYPE REF TO /sapsrm/if_pdo_do_longtext.
    data lr_message_update TYPE REF TO /SAPSRM/CL_PDO_MSG.
    DATA:   lx_abort            TYPE REF TO /sapsrm/cx_pdo_abort.
    CREATE OBJECT lr_message_update.
    lr_message ?= lr_message_update.
    lo_pdo_notes ?= LR_INV_ADV.
    IF lr_inv_adv IS BOUND.
    TRY.
    *  TRY.
       CALL METHOD lo_pdo_notes->add_longtext
         EXPORTING
         iv_p_guid          = I_GUID
         iv_tdid            = 'NOTE'
         iv_tdspras         = SY-LANGU
         iv_tdformat        = 'X'
         iv_text_preview    = 'Reason For Reject'.
    *     CHANGING
    *      co_message_handler =
        CATCH /sapsrm/cx_pdo_abort .
       ENDTRY.
    TRY.
    CALL METHOD lo_pdo_notes->update_longtext
       EXPORTING
         iv_p_guid          = I_GUID
         iv_tdid            = 'NOTE'
         iv_tdspras         = SY-LANGU
         iv_tdformat        = 'X'
         iv_text_preview    = 'Reason For Reject'
    *  CHANGING
    *    co_message_handler = lr_message
           CATCH /sapsrm/cx_pdo_abort INTO lx_abort  .
    *          mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_abort ).
           ENDTRY.
    TRY.
    DATA TEXT_ID TYPE TDID VALUE 'RREJ'.
    CALL METHOD lo_pdo_notes->update_longtext
       EXPORTING
         iv_p_guid          = I_GUID
         iv_tdid            = TEXT_ID
         iv_tdspras         = SY-LANGU
         iv_tdformat        = 'X'
         iv_text_preview    = 'Price Difference'
    *  CHANGING
    *    co_message_handler = lr_message
           CATCH /sapsrm/cx_pdo_abort INTO lx_abort  .
    *          mo_cll_message_handler->set_a1bort( io_pdo_abort_exception = lx_abort ).
           ENDTRY.
    CALL METHOD lr_inv_adv->/SAPSRM/IF_PDO_BASE~submit_update( ).
    *  CHANGING
    *    co_message_handler = lr_message
      CATCH /sapsrm/cx_pdo_wrong_mode .
      CATCH /sapsrm/cx_pdo_abort .
    ENDTRY.
             CALL FUNCTION '/SAPSRM/FU_WF_RFC_DECISION'
               EXPORTING
                 iv_header_guid = I_GUID
                 iv_mode        = lv_MODE
                 iv_botype      = lv_OBJECTTYPE
                 iv_wiid        = I_IV_WIID
                 iv_decision    = lv_DECISION
                 iv_approver    = I_APPROVER
               IMPORTING
                 return_code    = return_code
               TABLES
                 message_lines  = lt_message
               EXCEPTIONS
                 error_in_pdo   = 1
                 OTHERS         = 2.
             IF sy-subrc <> 0.
    * Implement suitable error handling here
             ENDIF.
    After execute this function module i got message REJECTION NOTE IS MANDATORY.
    Regards,
    Nishant

  • PO creator not getting mails if the approver rejects the same

    Hi Friends,
    We have an issue in SRM PO approval workflows, our requirement is that the creator should get a mail notification if the PO is rejected by the approver. This is not happening, while in case of shopping cart the creator is getting the mail if rejected.
    On little investigation we have found that the workflow via business object attributes is looking at a table 'BBPC_WF_MAILSEND' and sending mail if there is corresponding entry. For shopping cart there is one entry and the fields for sending mails to created, approver etc are checked.
    We could not figure out where to maintain this table, can some body throw light please.
    Thanks
    Bejjanki

    Hi
    <u>Please use the following SAP Oss note as well -></u>
    Note 989135 Wrong languages in mail notifications
    Regards
    - Atul

  • OM Notable able to capture Approver Rejected comments from the Note field in WF

    Hi,
    Could you see attached image, I need to capture the comments from Approver if it is rejected.
    Any these comments must flow to (Notification from AR).
    Could you let me know how to capture Rejected comments.
    Approver has Note field for providing Rejected comments.
    Thanks

    hi,
    If you want to use digital signatures for each status do the following procedure
    1) Define signature strategy for each status
    2) Select status detail and assign signature strategy
    3) Under 'Attributes' select 'Content version'
    4) Select the 'Status type' as 'Locked'
    Assign a signature strategy to the document status.
    Also the required settings are made under Document Management >> Control data >> Define document type >> Define document status. (You can select any status for which you want digital signature for approval)
    Assign a signature strategy to the document status.
    Save the changes.
    Create DIR
    Once the Document is reached to that particular status it will ask for digital signature. Choose Digital signature (Double click on Enter key).
    if everything is right 
    The Digital Signature dialog box appears. Enter your comment upto 200 words in the text field. Select the individual signature strategy is assigned to you DIR. Put the login id and password.Thus the Digital signature process has been completed.
    If this answer is useful donu2019t forget to award points,
    Thxu2026

  • Why I am not able to approve/reject my workflow notification from email?

    For R12 AP Invoice Approval Workflow, I have done Approver group set ups in AME. In HR People form, set my email id for that person. In FND USER from, used that person as the employee to have the email id populated for the user and saved the record.
    When I am creating an invoice and initiating workflow, I am getting a notification in my mailbox but cannot approve or reject from the mailbox. I may hit the Approve link but it is not doing anything. In order to approve/reject the notification, I have to log in as that person in Oracle Apps and do it from there.
    Is there anything I am missing? I have a requirement that the approver only approve / reject from their mailbox and they do not log in to Oracle Apps to see their notifications. What to do to make them enable approving from mailbox only?
    I am having a steep deadline and will very much appreciate your responses.
    Thanks.
    Edited by: 951713 on Aug 8, 2012 3:47 PM

    When you try to approve/reject or do any operation on the workflow using email the issue is the you do not have the responsibility/user values set.
    You need to login to Oracle Apps and select the correct resp in order to take action on workflow.
    Please check if you are table to take action from oracle apps that explains it. there are a couple of metalink notes too.
    You may apply appropriate patch and then this will work.
    If it is an SSHR WF you need to be minimum on ATG ROLLUP 7

  • Send an email to previous approver after rejection in OOB Approval workflow

    Hi all,
    I have created OOB Approval workflow with two approvers.
    If first approver rejects then i want it to send an email to the requester. 
    If second approver rejects then i want it to send an email to the first approver as well as requester?
    Is there any way to acheive this? 
    And same should happened when document is approved
    Also how to identify that the first approver has completed their task? 

    Hi Trupti,
    you can do that using SharePoint designer workflows:
    you can do that by putting the actions in the complete condition so you check who approved it and based on that you do the actions of sending email so it will be if conditions and where to put that in here
    http://bobbyspworld.com/2013/02/08/5-step-to-enhance-sharepoint-2010-approval-workflow/
    https://support.office.com/en-gb/article/Use-the-task-process-editor-for-approval-workflows-8680b4a4-36b1-441c-b070-e515976078aa
    <section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
    Completion conditions for the task process
    When you click the completion conditions, you’re taken to a full-page workflow editor where you can add or change the completion conditions that for the task process. Specifically, these actions
    will run every time an individual task is completed. You can customize the logic here using the workflow commands in SharePoint Designer, like conditions, actions, and else-if statements. You can also add task behavior actions, like the Set Content Approval
    Status and End Task Process.
     Top
    of Page
    </section><section class="ocpSection" style="color:#363636;font-family:'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;font-size:10.3999996185303px;line-height:normal;">
    Behavior of a single task
    From the summary page, if you change the behavior of a single task, you’re taken to another full-screen workflow editor where you see the individual task events, such as when it’s assigned, pending,
    expires, and so on. Specifically, there are five events:
    Before a task is assigned: These actions run before every individual task is created.
    When a task is pending: These actions run after every individual task has been created.
    When a task expires: These actions run every time an individual task is incomplete after its due date.
    When a task is deleted: These actions run every time an individual task is deleted before it’s completed.
    When a task completes: These actions run every time an individual task is complete.
    You can add any of the available conditions and actions, and you can add several more task behavior actions this time, like append, delegate, escalate, and reassign. You can even add task notification
    emails and wait for changes in a task process item. The available task behavior actions change depending on the event you’ve selected.
    </section>
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • Expense request getting errored out after Expense approver rejected

    Dear Experts,
    I am facing issues where employee expense request is getting errored out when the expenses approver reject the Request.
    We are using a workflow to move this request.
    Once the employee submitted the expense request. We are having 2 level approval of his/her. Supervisor at the 1st and Expense approver at 2nd level
    In the 2nd phase the Expense approver rejecting the travel request to make modifications, however the rejected request is NOT routing back to the employee.
    Any assistance highly appreciated

    Hi Venkat,
    Many thanks for your reply
    The required work flow is properly configured. I can see after rejection it has been routed to the employee again.
    However after rejection its getting errored out, any idea on the possible reasons, does er approver is selecting or inputing any incorrect parameters.
    Regards,
    Tamiz

  • PO not created after approval.

    Hi
    We are working on SRM4.0 classic scenario with SAP R/3 4.7.
    We are having following scenarios to create backend docs.
    1. All SC created from catalog should create PO in backend R/3.
    2. All SC created using Free text description (All non catalog items) should generate PR in backend.
    All PRs are getting generated perfectly as per point 2.
    But the problem is with point 1 where PO is not getting generated in backend after approval is done.
    As per my analysis, system is picking the PO number and object type perfectly. But all these records exists in BBP_DOCUMENT_TAB. Even after running CLEAN_REQREQ_UP also they are not going to backend.
    In BBP_PD it shows I111  Item in transfer process with no check in inactive column.
    No errors in SC monitor(RZ20).
    I dont know where am I missing. Checked all possible things.
    Did anyone faced such situation please throw some light on this.
    Thanks in advance
    Jagadish

    Jagdish
    Not sure, try to run FM BBP_PD_PO_TRANSFER_EXEC...
    Regards
    Reddy

  • Can we have approve/reject action button in email sent using SharePoint designer or do we need to custom code it?

    Hello,
    for particular item approval, when user receives an email, can email contain button of approve/reject or if user just replies to that mail using one word "Approve/Reject", so that item value should get updated in list and also get approved.
    Is it possible using SharePoint designer workflow or custom code workflow or Nintex workflow?
    Please guide.
    Thanking you in advance.
    Regards,
    Jayashri

    Follow these steps:
    You can create custom page with code to approve/reject item.
    Then you should pass item id (and other information if needed) in a query string.
    In a workflow you can generate a link to the created page and add it to email body.
    When a user will receive email, he/she will click on the button (link), then new tab with created page will be opened, where your custom code will approve an item.
    [custom.development]

Maybe you are looking for