Skip to Content
author's profile photo Former Member
Former Member

How To Manually Change Output of PO Awaiting Approval

Hi, We are running SRM 7.0. We previously had an issue with one of SAP Component Connected to SRM. We had to re-push Shopping Carts stuck in Error In Process via REQREQ_RESUMBMIT FM. Regression of that process is, workflow error on the PO.

I cannot find a way to correct the error on the workflow. The next workaround is, Start the PO without Approval > Edit the PO > Add Approver. We would like to change the Output Medium of the PO to Printer so when the PO has been forced Approved, it won't be submitted to the Supplier. My question is, how can we manually change the Output Medium of the PO which is stuck in Awaiting Approval? I tried to PARAM_SET FM but it didn't work.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 19, 2015 at 09:33 AM

    Hi Lemuel

    Please could you put this code and try to see if it works

    Get the PO details and check for an error in workflow if any and then put this code ..

    CALL FUNCTION 'BBP_OUTPUT_PO_PARAMS_GET'

    EXPORTING

    guid = is_header-guid

    IMPORTING

    medium_vend = lv_medium.

    IF lv_medium = " Your condition "

    CALL FUNCTION 'BBP_OUTPUT_PO_PARAMS_SET'

    EXPORTING

    iv_guid = is_header-guid

    iv_medium_type = lv_medium_new

    EXCEPTIONS

    no_print_possible = 1

    no_mail_possible = 2

    no_fax_possible = 3

    no_xml_possible = 4

    OTHERS = 5.

    IF sy-subrc <> 0.

    " dO NOTHING AS OF NOW..

    ENDIF.

    ENDIF.

    The Above FM has value range as below one of which you could use

    PRN Print

    MAI Mail

    Regards

    Vinita

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.