PO rejection via workflow

Hello Guru's,
I have a senario where the PO needs to be released or rejected in Background mode via workflow.
Currently I am using the task with calls the transaction ME29n, but you all know the users will not have authorization for transaction ME29n.
For release we can use the BAPI "BAPI_PO_RELEASE".
My question is how the PO can be rejected via WF in BG.
Please guide me.
Thanks and Kind Regards,
Basheer.
Edited by: A Basheer on Feb 17, 2009 11:33 AM
Edited by: A Basheer on Feb 17, 2009 11:34 AM
Edited by: A Basheer on Feb 17, 2009 11:38 AM

Hi did you ever get an answer? If not check Re: PR Rejection Dialog
Regards,
Ann Muhoro.

Similar Messages

  • Changing a Parked Document via workflow

    Hi again
    Before we did the upgrade from 4.7 to ECC6.0, on 4.7 approvers were able to make changes to parked documents via their inbox i.e. they would be able to go to change wrong data or add missing account assignments. However after the ECC6.0 upgrade when approvers access documents via their inbox they can only display the documents with only the option to release or reject and without the option to change.
    Could this be a result of changes between 4.7 and ECC6.0 and if so what can we do to allow for approvers to be able to change parked documents via their inbox.

    I found SAP Note 670910 explaining that this was actually a program error which allowed approvers to changed parked documents via workflow.

  • Creating automated email reminders to users every 2 weeks via Workflow 2010 Out of Box approach only

    Hi,
    I have been asked to automate the email reminders to users (every two weeks) from the SharePoint2010 solution.
    I am trying to achieve this via workflow ,but am unable to get the results.
    Req :
    Twice a month the users should get an automated email reminder for a specific task.
    1. On 14th (or last working day in mid month -1) of the month. ( a field "mid month end" captures the date as 15th of the month)
    2. On last working day - 1 of the month. ( a field "month end" captures the date as last day of the month)
    Please let me know how i can achieve this via Out of box functionality. I donot have exp with workflows so a detailed steps guidlines will be very helpfull.
    Regards,
    Guru

    Although you can start a workflow and then pause it for a number of days, I'd feel uncomfortable with that. If the farm crashes, who guarantees that the paused workflows will pick up where they were left off?
    SharePoint does no offer to run a workflow on all items in a list/library -- which I feel is a big draw back. 
    The good news is that there is a free 3rd party tool that can run a workflow on all (or specific) items in a list or library.  It's called the
    HarePoint Workflow Scheduler and I love it.
    You can create a view that shows the items that you want to run the workflow on.
    Or, if you know how to write CAML, you can feed the CAML Query right into the HarePoint Workflow Scheduler task. 
    At my company we have several sites in production that use the HarePoint Workflow Scheduler with a view. 
    So, first, create a SharePoint Designer workflow and define it to run manually.
    Then use the HarePoint workflow scheduler to define a schedule.
    You can define a schedule for the HarePoint tool, like every day, month, week, etc., by just clicking a few boxes. 
    Since this functionality does not come out of the box with SharePoint 2010, this free tool is a real gem. 
    cheers, teylyn

  • Sending mail to a particular positon in org structure via workflow

    hi all
    i have a problem regarding sending mail to particular position in org structure on runtime execution  via workflow so that i neednt hard court the particular position
    to achieve this i am using expressions,first i have created a new container element and then i have used container operation like this:
    (lead.employee responsible.business partner= container element defined by me)
    when i first try to execute the workflow and test it ,in the container  i am getting the value of the container element in which i have the position where i have to send the mail.but inspite of value getting populated ,when i am using that container element to send mail like:
    expression: container element
    the mail is not send,when i checked the log it is mentioned that " you are not the authorised person to stsart the workflow and start failed" but workflow is still triggered and i am able to pass the object but not able to send the mail.
    please tell me is there any feasible way to achieve this,like rule or in my way how is it able to achieve
    detailed possible solution will really be appreciated.on thing we are working on CRM 5.0 standalone system
    full marks will be rewarded
    best regards
    ashish

    Hi,
    Follow this ,
    Goto PFTC -> Choose "Workflow Template" from the drop down -> Enter the workflow template id "123********" in the text box -> now click on "change" button -> Now goto the menu addional data -> agent assignment -> maintain -> select the task text -> and set it as general task.
    I guess you have done the same for the standard task TS*********** but failed to do it for the workflow template (WS123*************). Or have you done it already?
    Also once you make this change "Refresh your buffers" once before checking it out.
    Richard A

  • Granting item permissions to specific group or users via workflow- sharepoint online

    I want to create a Document Set and upon doing that i want to grants users/ groups item level permissions to the document set.
    Can this be done via workflow?
    What are my options?

    If workflow starts on document set, you will change permission on the document set: if the files inherit permission from document set, all children files will have the same document set permission.
    the document set is nothing more than a souped-up folder
    Regards,
    Bubu
    http://zsvipullo.blogspot.it
    Please mark my answer if it helped you, I would greatly appreciate it.

  • Supplier Created via Workflow Approved By Default

    Hi Experts,
    I have a requirement in Create supplier via workflow where I have to make
    Purchsing hold check box unchecked and Approved Supplier check box
    checked by default ,I have customized the vendor registration via
    workflow process wherein I have written a script to make Approved
    supplier checkbox under header checked by default,in supplier creation
    via workflow page but When the workflow ends and the supplier is
    approved and I click on Done and come out of document,the Approved
    supplier checkbox is unchecked though the supplier is created and we
    are getting a background error as well saying that the approver does
    not have enough permission to view the document though we have provided
    all the necessary rights to the Approver, please suggest as what could
    be the rerason for Approved supplier to be unchecked though the script
    is running fine and what could be the reason for background error as
    this is not the expected behavior.

    Hi Dhiraj,
    Thanks for yor reply , I have written the code in script.and the issue is resolved by writing two scripts .
    regards,
    VIshal

  • Critical parts goes below Re-order pt - to trigger email via Workflow

    Hi Experts,
    I am new to workflow and here is my requirement.
    When Material goes below Re-order pt in MM , MRP runs and creates PR/Sch Line. I want to trigger email to some Group when few Critical parts goes below Re-order point via Workflow
    A workflow should trigger and get email to Group I saw one standard workflow (WS03100020) but I dont know how to active and how it will work.
    I can copy this to custom workflow using PFTC and do, but when the material document creates - Means Critical parts are consumed and Stock level goes below re-order point. how my copied custom workflow triggers?
    Critical Parts A , C , F, X  and Z
    If Material  A ,C and F goes below re-order pt then email to trigger to GROUP1.
    If Material X and Z goes below re-order pt then email to trigger to GROUP2.
    Need to know :
    1) steps to copy and modify
    2) How to Execute manually
    3) How to execute automatically when Material stock falls below re-order point. ( Lets say in MM03 Re-order pt is 5 ) and IN MMBE current stock is 20, when there is consumption ( Material DOcument to Cost center - Mvtype 201 ) for 16 QTY.. then my Custom or Standard Workflow should Trigger and should get a email to Group.
    How to achieve this. Please explain me with Step. Highly apprieciate your help and will reward points
    Thanks in advance.
    Bala M

    o.k. lets first handle the check function module
    you need to start from the key and run the check is it higher or lower then the reorder point,
    if it's higher, raise an exception (use message... raising), else do noting.
    test the function module directly and see if it works, then look at the event trace(SWEL) and see what happens when your event is raised, if it's higher then the reorder point you should see an error (specific linkage is red and the message you entered in the function module in the details) else the event linkage should be o.k (green).
    now for the function itself: if you use the cl_bcs to send the mail, you do not need to link SWW_WI_CREATE_VIA_EVENT_IBF as the receiver function module, but the function module you create to send the mail. again test the function module directly first and only then link it to the event.
    if you want to send the mail by workflow see the link in my earlier reply.

  • Creating Organization via Workflow`

    What is the best way to create an organization via workflow?
    Would you use an external process to create the ObjectGroup xml file then import into the repository?
    Is there an easier way? If so, does anyone have an example?
    Thanks in advance
    - DeepEllumMatt

    Just for clarification - I'm trying to create a waveset organization via a workflow.
    something like Top:Domain:1122

  • Travel Request Approval Scenario via Workflow does not trigger

    Hi guys,
    System Information: SAP ECC 6.0 EHP4 / Using WDA-Scenarios on Portal NW 7.01.
    I'm having trouble understanding/implementing the approval scenario of the Travel Request via Workflow/UWL. POWL isn't usable for us as it isn't flexible enough to process the complex agent assignment rules for the respective approver our (momentarily..) requirements 'dictate' ...
    What I did so far:
    I copied the Workflow Template 200000040 to a custom template (since I'll have to alter it) and activated the Event of Creation for BUS2089. Thus, in SWE2, the respective entry for BUS2089 for the event CREATED has been set by the system. All good so far. When I create a TRIP via PR05 (we are public sector), the event for BUS2089 gets fired in SAPMP56T and the Workflow gets triggered; works out well. However, when I post a travel request in Portal (FITE_REQUEST), the workflow is not getting triggered. I searched for information or similar questions on the forum but didn't find anything. Neither did I find a concrete clue in the View Containers FITE_VC_* etc..
    Could anyone assist me with this? I'm sure I'm missing something very basic here.... -_-
    Bottom line:
    Why is my workflow not getting triggered from creating travel requests via FITE_REQUEST?
    Cheers, Lukas

    SWE2 linkage is activated for my Workflow number (I didn't do it by hand, it's set by the system since I activated the event in my workflowtemplate --> this way actually no inconsistencies can happen).
    SWDD Tests are successful and the Workflow is working well in general. That's why I pointed out in my previous post that the process is working fine when initiated via PR05.
    EDIT: Or maybe somebody knows the part in coding FITV_FPM/FITE_VC* where the workflow should be triggered? It's freaking unfindable, I've been debugging for hours. >:-(
    EDIT: Debugged the entire WDA Frmaework for like five hours...feeling dead inside...someone please tell me from where the workflow gets triggered when saving travel request from portal -_-....
    Edited by: Lukas Weigelt on Dec 5, 2011 2:55 PM
    Edited by: Lukas Weigelt on Dec 5, 2011 7:14 PM

  • Approval Process of Quotes via Workflow

    Dear Experts,
    I'm looking for a Workflow solution, with which I can elektronically appove a Quote. In detail it means e.g. to reales a quote, two sgnatures are mandetory. These two people should be chosen inside the quote as a partner. After Savind they should get an e-mail notification and be able to approve the quote via e-mail (Outlook) or inside SAP.
    Is there a possibility to do that via workflow? How? Do anybody has some experience?
    Other proposals?
    Thanks in advance.
    Regards,
    Abbas

    1. backup the existing Update user workflow as an xml file
    2. Copy paste the same in the BPE.
    3. Save the copy as a new object with a different name.
    4. Edit the new workflow as follows:
    4.1 Create new activity
    4.2 In the new activity, add a variable with some name
    4.3 create a new action, and let that action be a subprocess. For that subprocess, browse and choose 'Approval' as the action.
    4.4 Add a argument as name=approvalForm and value=<name of approval form>
    4.5 Include argument user=$(user), etc. (Check the original approval workflow to see what the names of the arguments are)
    4.6 For return to=name of the variable declared, from=approved
    4.7 Add a 'isTrue' condition for the variable declared.
    5. Make the appropriate transitions, and ur ready to go.
    Let me know if this helps. I can post some skeleton code tomorrow. I need to work on it. Drop a line at [email protected]

  • Reject in Workflow

    Hi All,
    How can we make REJECT in workflow. I didnt find any option for REJECT in Visio. Can and body help me in this?
    Regards,
    Nikhil

    I think you are searching this option in MS VISIO screen under Approver stencil property.... That's not correct.. Follow below points:
    Login to data manager by using approver user name and password
    Go to Workflow tab in record mode
    you can see workflow task pending in his/her queue(if you have use approver stencil currectly)
    right click on that task...you will find done, undone, approve, disapprove, send next step etc based on your design of workflow...
    Hope this solves ur query...
    thx,
    R.n
    Mark useful if this helps!

  • Page customization of Supplier Edit via Workflow

    Hi,
    I have a custom collection in Supplier and Supplier Modification via Workflow object (10002203).
    In page customization of Supplier Modification by Workflow, I am setting this custom collection as NOT Editable
    But when I open a Supplier by clicking Edit via Workflow, this collection is still Editable.
    Please suggest how can we achieve this or am i missing anything.

    Hello Vaibhav,
    This is actually related to a recent thread Help required for Page Customization test
    As it turns out such a page customization will not work (it applies for all collections, standard or custom).
    A solution for this is to use custom scripting to achieve this result using IapiDocumentLockManager.
    Also note that to fully lock a collection you need to use it like so:
    1. IapiDocumentLockManager.lockField(session, doc, "collection_id"); -> disable add/delete buttons
    2. IapiDocumentLockManager.lockField(session, collection_row, "collection_field"); -> lock field in collection row
    Bogdan

  • HCM = FI: Posting an IDOC via Workflow

    Hello,
    I hope I'm right here in this part of the forum. In addition I hope my explanations will be good enough to understand.
    Every month the HCM-System send IDOCs (payment of salary) to the FI-System. Everything works well (in partner profile (WE20) we used message types ACC_EMPLOYEE_EXP, ACC_EMPLOYEE_PAY, ACC_EMPLOYEE_REC, PDTCO_POSTPRIMARY und PLANDATATRANSFERCO_POSTKEYFIGU (all inbound parameters) and process code BAPI is attached). Every payment is automatically and fully posted in FI.
    Latter the FI accounting clerks do not want. They do want to decide when the IDOCs are posted into the FI. What we've done so far ist that we've changed the process code BAPI at the above mentioned message types into ED00. ED00 uses the standard task TS30200088 for generating a workitem in the BWP of a or some users. That's exactly what we want, no instant posting but self-decided action through the clerk. The only problem is that the standard task only displays the IDOC as seen in BD87. The process then can be terminated via the menu and the status of the IDOC changes to 53, but no FI posting has been processed what's not very amazing 'cause the standard task only displays the IDOC. Now my questions:
    1. Is there any process code which comes with an appropriate SAP-Standard-Workflow to fulfil the request of the FI users (keeping the IDOC in Workflow status until the user executes the workitem  which leads to posting of the IDOC)?
    2. If not, do I have to create a new process code and do I have to create an own Workflow?
    3. If all that would not help what else can I do?
    In advance many thanks for your help.
    Kind regards,
    Frank
    Edited by: Frank Zieger on Oct 21, 2011 11:40 AM

    Hi,
    U have to use the lookup.
    1) pass the customer no to R3 system as input to function module.
    2) IN function module check whether that customer no present or not?
    3) Based on that u send a result back to Xi and go ahead.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70d90a91-3cf4-2a10-d189-bfd37d9c3231
    chirag

  • How to make PO reject in workflow.

    Hi experts,
    I have finished multi-level PO release in workflow with WS20000075 and some self configuration, but fail in PO reject with WS65400030 (multi-level).
    How to make it?
    thanks.
    HERO

    Hello ,
    Yes, please use template WS200000075, and after the initial task TS2000016,
    The outcomes are either Po Release, PO Rejected or PO chnaged significantly,
    Use the task TS20000167, it is defaulted so there is no way you cannot see it, it would say "Release of PO Cancelled", you could use this for further action

  • Need BAPI for Purchasing Order Reject through Workflow

    Hi All.
    I need a bapi to reject Purchase Order(PO) through Workflow. i've found some to release but not to reject, ('08' status Code). Can anybody hlp me please.
    Thanks & Regards,
    Mani.

    You can check standard Wflow Template WS65400030
    I think you can use Method ResetRelease of businress Object BUS2012

Maybe you are looking for