Approve SC in background

How can I Approve SC in background since WF is stuck?

Hi,
First, please analyse the issue of Workflow through SWI1 and find out the reason for stuck.
If possible, please fix it through SWI2_DIAG. However,
Use FM BBP_REQREQ_TRANSFER to create follow on documents for particular shopping cart
Or
Use SW01 and provide necessary GUID / Object ID of shopping cart and execute the setreleased method.
I hope the above information is very useful to you.
Thanks
Rajesh K

Similar Messages

  • How to Configure Transport MAnagement system in CHARM

    Hi
    How to Configure Transport MAnagement system in CHARM? Here our requirement is when ever a change request approved in the background Transport request should be created automatically. We have configured all the Transport Routes in our lanscape.
    Can any one tell me the detailed process? If you have any Configuration document please share it to me
    Points will awarded for helpful answer
    Thanks
    Bhaskar

    In a two system landscape is it necessary to make development the domain controller always?
    No such compulsion as such exist(correct me if wrong),however why you want to make production your domain controller?
    This is not recommended.
    Regards,
    Ashutosh

  • Transfer authorisation while maintaining substitute

    Hi All,
    I have a requirement for substitutes in PO approval workflow.
    Sceanario is:
    If approver is on leave, substitute should approve the PO, however, substitute do not have authorisation to approve it.
    Is there any way through which we can transfer role to approve PO when substitution is made active.
    Can we use Substitution profile here? e.g. create a profile with authorisation to Approve PO and attach that profile when creating substitution.
    Any other way to achieve this would be helpful.
    Regards,
    Sangvir Singh

    Hi,
    There is no connection between WF substitution profile and the user authorizations,
    so no authorizations are added to a substituting user.
    However, you can change the WF so the approver will approve the PO in a decision task,
    but a background task (for example PurchaseOrder.Release of object BUS2012)
    will perform the actual approval.
    The background task uses the WF-BATCH user and passes all authority checks.
    The substitution will be for the decision task and will require no auth as well,
    so the substituting user can approve the PO.
    You should, if you use this way, check the return of the release task to make sure there are no errors (PO locked for example).
    Ronen

  • SAP_WAPI_DECISION_COMPLETE  : Processing can be rejected option

    In my workflow I am using a decision task which sometimes has to be approved in the background. This decision task has two outcomes Approve and Reject. I am also using the option "PROCESSING CAN BE REJECTED"  under details tab of the approval step in the workflow. So I see three outcomes in the template.
    My requirement is that when I execute the workitem in the background I want the decision task to take the third outcome (not the Approved or Rejected option). I am using the function module SAP_WAPI_DECISION_COMPLETE .
    If decision keys 0001 or 0002 are passed approval or rejection is happenign. However I am not sure how to use the function module to take the outcome created out of "Processing can be rejected" option.
    Any help on this would be appreciated.
    Thanks,
    Madhu

    the FM SAP_WPI_DECISION_COMPLETE is completing t he workitem if you pass 0003 to the decision key as there will be no index with 3
    I have checked by creating a sample workflow template and included on activity step in the new Outcome when ever we enable the Processing can be rejected so all you have to do is
    Get the workitem ID and pass the workitem ID to the SAP_WAPI_REJECT_WORKITEM and in the wrokflow log the system conatiner element WIRESULT will be initial there will no value in it
    by executing t he FM you are reserving the workitem  check the FM documentation.

  • SWO1 approval in background does not clear manager workflow item

    Hi,
    I am trying to approve the shopping cart from a managers UWL in background through SWO1.
    But when I do the shopping cart is getting approved whereas the approval item is still pending with the manager of the shopping cart.
    How to  delete the workitem from the manager inbox once I push the shopping cart for approved status in SWO1 ?
    Regards
    harish

    Hi,
    Awaiting approval is document status. You can find workflow status and workflow item number in BBP_PD.
    Please check workflow item detail in SWI1 transaction.
    I think debug the setReleased method is good way for finding the root cause. It might change only document status and does not change workitem side.
    If the SWO1 method does not fit your requirement, please check the class /SAPSRM/CL_OFFLINEAPP_INBOUND.
    (b) Check whether workitem is still in status 'READY'
    (d) Check procurement document
    (e) Lock procurement document
    (f) Append approval note as a long text of type NOTM to the
        procurement document => Update document
    (g) Execute the workitem
    (h) Unlock the document
    Export the processing results and errors out of the method
    Regards,
    Masa

  • QA Approval - importing queue with background jobs

    Hi all,
    I have activated the QA approval in my system and it all works fine.  I have scheduled a background job via STMS to import the whole test system buffer each day and this works fine too. Now I want to schedule a background job to import the production buffer automatically too. This would allow us to have all approved transports automatically imported once a day (as QA approval is activated only approved transports would be imported).
    Sounds simple, but with QA approval the production buffer displays approved and non-approved requests, so the background job fails as not all transports in the buffer are in the correct status.
    Any suggestions on how I can get around this problem? 
    Thanks
    Claire.

    Hello Claire,
    This issue has been described in SAP Note 313991. please check.
    Regards,
    Debasis

  • How to display "APPROVED" text on report as a background

    hi
    i want to display Text "APPROVED" on purchase order report as a back ground text...how can i do this?
    plz help me...

    Thank Gurus,
    ROTATE option from the left sided tool bar
    http://1.bp.blogspot.com/_KYY-OV98iIo/TJtWxqY5s-I/AAAAAAAAAIo/kRmL3tp9uHs/s1600/rotate.JPG
    "Insert" the image in the "margins"
    http://4.bp.blogspot.com/_KYY-OV98iIo/TJtXvhsw3cI/AAAAAAAAAIw/E_lQpwY0DXs/s1600/Iimage.JPG
    I visualize the solutions.
    If you have any more questions, please post it.
    Otherwise:
    Mark Helpful or Answer accordingly.

  • Timesheet approval in Background

    Hi All,
      Actaully I am looking for any Task or Functions which can be used to update the timesheet record as apporved or rejected according to the desicion by the Approver.
    Because the standard task of SAP calls the Transaction CATSWF , which will be online approval, which I don't want to call, instead, once if approved from our standard workflow descision task, I need to update that Time sheet record as approved and rejected also in the same way instead of calling the standard transaction or task.
    Regards,
    Sabari Prabhu.

    Hi,
    Check this,
    1)   BAPI_CATIMESHEETMGR_INSERT
    2)   BAPI_CATIMESHEETMGR_CHANGE
    3)   BAPI_CATIMESHEETMGR_DELETE
    Regards,
    Surjith

  • /SAPSRM/OFFLINEAPPROVALSEND as background-job

    Dear All,
    We would like to send offline-approval mails for our workitems with the report "SAPSRM/OFFLINEAPPROVALSEND".
    This works very well in foreground, but not as batchJob.
    If we start this report in background (with the same variant that works in foreground) we receive the following spool-message:
    A total of 0 work items scanned
    No work items found that required forwarding
    Do you know this problem and do you know how to resolve it?
    Best regards,
    Thomas

    Hi,
    Check next:
    In the Customizing activity Change Organizational Plan (transaction PPOMA_BBP), you have set the attribute FORWARD_WI to 'X' for all users that are to use the offline approval function.
    Thanks and Regards,
    Ab.

  • Stucked in one background job

    Dear all,
    I am trying to change one HR workflow for travel request, ii's having two level of approval, I am trying to execute the workflow,  it's working fine till all the approvals but after all approvals there is one activity to create attandance of the employee for the perticular traveling  days and it is a background task activity.
    My workflow is getting stucked over here it's showing in process like it's not even giving any error but it's just showing IN PROCESS as status in the log.
    I tried all the possibility for this task assigned to the perticular activity,  it is a customized task and also I have tried to execute the method and function modules assigned  to the object BUS2089 which are customized method and function module and are working fine but this activity is not working at runtime.
    Can anybody please help me for the same?

    Hi,
    If you are using any enque deque functionality in that activity then it is not going to work, as I was having the same for attandance updation.
    You can also check wheather your task is general task or not, if your task is for user decision and it is not the general task then make it as general task.
    If still you are facing the problem then plz send brief notes about the activity and method you are using.

  • Error Message while Approving Tasks in Project Server 2010

    Hi All,
    While performing Tasks approvals in MS Project 2010 I am getting below error message:
    An Error Occured while processing one or more items. This was caused by one of the following:
    A timesheet job is failed and blocking coorelation in the queue.
    The approval item no longer exists or has already been approved
    The host server is unreachable.
    Following are the details of the error message found in Event Viewer:
    Standard Information:PSI Entry Point:
    Project User: <domain>\<windowsuserid>
    Correlation Id: 417dce51-740f-46f0-8f1e-182b4e0c635c
    PWA Site URL: http://<servername>/<projectserver>/
    SSP Name: spsusfiprojwebappservice
    PSError: GeneralQueueCorrelationBlocked (26005)
    Operation could not completed since the Queue Correlated Job Group is blocked. Correlated Job Group ID is: 2ae5d5f9-b554-4a44-93f0-f815d36976cd. The job ID of the affected job is: 82dce1fb-be71-4c4a-8d16-4516ea8c887d. The job type of the affected job is:
    TimesheetReview. You can recover from the situation by unblocking or cancelling the blocked job. To do that, go to PWA, navigate to 'Server Settings -> Manage Queue Jobs', go to 'Filter Type' section, choose 'By ID', enter the 'Job Group ID' mentioned in
    this error and click the 'Refresh Status' button at the bottom of the page. In the resulting set of jobs, click on the 'Error' column link to see more details about why the job has failed and blocked the Correlated Job Group. For more troubleshooting you can
    look at the trace log also. Once you have corrected the cause of the error, select the affected job and click on the 'Retry Jobs' or 'Cancel Jobs' button at the bottom of the page.
    In Server Settings>Manage Queues>Erro Details following information is listed
    General
    Timesheet:
    TimesheetIncorrectMode (3204). Details: id='3204' name='TimesheetIncorrectMode' uid='e53139e1-66cb-4b4a-a948-cbeda21340b8' mode='1'.
    Queue:
    GeneralQueueJobFailed (26000) - TimesheetSubmit.SubmitTimesheetMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='4c09d375-cad0-4b61-be16-49abbdc149e4' JobUID='b3737c2a-11f4-4799-9fd7-1d018e4c73d1' ComputerName='JSIDBWPRJA02' GroupType='TimesheetSubmit'
    MessageType='SubmitTimesheetMessage' MessageId='1' Stage=''. For more details, check the ULS logs on machine JSIDBWPRJA02 for entries with JobUID b3737c2a-11f4-4799-9fd7-1d018e4c73d1.
    Background:
    We are gearing up to upgrade our Project Server from 2003 to 2010; as part of this process we have installed MS Project Server 2010 on our dev environment. We created Test Project plans and assigned ourselves (we admins) to these plans and all of us have
    admin privileges.

    Hi, Can you give a bit more detail on how your generating the task approval. Are you going into myTasks and doing self assignment to your test project plans or are you generating these approvals via outlook or are you updating a timesheet and sending status?
    If you're using your timesheet have you created all your timesheet periods within server settings, time and task management...Donald R. Landry

  • Looking for recommendations for video/film background music resources

    Hello
    I am looking for background music for a client.  I need to be able to browse samples and download them for client approval before purchase of the music  license.
    This will be for music that is playing behind dialogue, so I am looking for instrumentals and/or beats.
    Thanks!
    Rowby

    Here is a little LIST that I have been keeping. Some of the music and SFX are free, and some are for sale.
    For background music,  I rely heavily on SmartSound, and here is an ARTICLE on using it.
    Good luck,
    Hunt

  • FIPP object, getting error while posting document in background step

    Hi Experts,
    Once approval is done we are posting document in background, but getting following error
    No batch input data for screen SAPMF05A 0607
    We have delegeted object FIPP to ZFIPP and added method zpost with same code as post with some initial validations.
    Your help in solving this error would be really appreciated.

    If you really haven't done any relevant changes to the SAP standard post method, I would look for an answer from OSS. And if not found, then ask from SAP. But if you have replaced the standard post method code with for example some BDC code, then you need to check this with your ABAP guys... I don't think that it has anything to do with workflow.
    Regards,
    Karri

  • ESYU: Blanket PO approve시 ASL과 Sourcing Rules이 생성되기 위해 요구되는 steps

    Purpose
    Oracle Purchasing - Version: 11.5.8 to 11.5.10
    Blanket Purchase Order approval 동안 ASL과 Sourcing Rules이 생성되게 하기 위해
    요구되는 steps에는 무엇이 있는지 알아본다.
    Solution
    Profile Options:
    - PO: Allow Auto-generate Sourcing Rules => CREATE AND UPDATE
    - PO: Allow Autocreation of Oracle Sourcing Documents => Yes
    - MRP: Default Assignment Set => Define with desired Assignment Set (eg. Supplier Scheduling)
    Note:
    - 위 Profiles은 User, Responsibility, Application 그리고 Site level로 setting 할 수 있다.
    - Profile option을 setting 하거나 변경 후, application을 re-log 해야 한다.
    Workflow Builder를 통해 PO Approval Workflow를 setup:
    Attributes
    - Create Sourcing Rule Flag: "Y"
    - Update Sourcing Rule Flag: "Y"
    - PO SR Rule Name Prefix: "PURCH" - Default Value
    - PO Assignment Type ID for SR: "3 - Item level "
    - PO Sourcing Organization ID: ASL이 생성되어야 하는 Inventory Org를 set
    Example 1 : 새로운 Socing Rule이 생성
    a. 아래 setting을 가진 Blanket을 생성:
    - "Enable Automatic Sourcing"
    - "Update Existing Sourcing Rule and Assignment"
    - Item: AS12345
    - Supplier: Advanced Network Devices
    - Site: SANTA CLARA
    b. Deferred Parameter "Yes", Workflow Background engine을 실행
    c. Supply Base> Approved Supplier List로 이동
    d. Item AS12345를 조회
    e. 생성된 ASL을 확인
    f. Soucing Rule 화면으로 이동
    - Sourcing Rule을 조회: PUR%
    - Soucing Rule 'PURCH_ABCD' 이 생성된 것을 확인
    - Supplier: Advanced Network Devices
    - Allocation = 100% , Rank =1
    g. Soucing Rule 생성을 확인
    h. Assignment Set 화면으로 이동
    i. 조회:
    - Assignment Set: Supplier Shceduling
    - Type: Item
    - Item: AS12345
    - Soucing Rule: PURCH_ABCD
    j. Assignment Set 생성을 확인
    Example 2 : 기존의 Soucing Rule / ASL을 update
    a. 아래 setting을 가진 Blanket을 생성:
    - "Enable Automatic Sourcing"
    - "Update Existing Sourcing Rule and Assignment"
    - Item: AS12345
    - Supplier: Advanced Network Devices
    - Site: SANTA CLARA
    b. Deferred Parameter "Yes", Workflow Background engine을 실행
    c. Supply Base> Approved Supplier List로 이동
    - Item 'AS1345'를 조회
    - Supplier Block으로 이동:
    - Supplier: Advantage Corp
    - Site: ADVANTAGE - US
    d. ASL이 존재하고 있음을 확인
    e. Soucing Rule 화면으로 이동
    - Soucing Rule을 조회: PUR%
    - Soucing Rule 'PURCH_ABCD' 이 생성된 것을 확인
    - Supplier: Advanced Network Devices
    - Site: SANTA CLARA
    - Allocation = 100% , Rank =1
    f. 기존의 Soucing rule PURCH_ABCD가 update 된 것을 확인
    g. Assignment Set 화면으로 이동, 조회
    - Assignment Set: Supplier Shceduling
    - Type: Item
    - Item: AS12345
    - Soucing Rule: PURCH_ABCD
    j. Assignment Set은 변경됨이 없음을 확인, 왜냐하면 soucing rule이 동일하기 때문
    Reference
    Note 273983.1

  • Error while releasing the PR in background

    Hi all,
    My scenario is when the PR is created it will be sent for approval when the approver decised to approve the PR the bapi  "BAPI_REQUISITION_RELEASE_GEN" is called in background to release the PR in background. When the approver approves the PR it is giving me an error  "Release outside field of responsibility".
    Please help me in this issue.
    Regards
    Balaji E.

    Hello Balaji,
    if you're using a background method (background work item), the release will be running under the user named WF-BATCH (or similar). Therefore you'll need to assign proper authorizations for this user that he can release a purchase requisition.
    In the customizing tree for the release process you'll find a doc link that gives you more details, what authorization objects you will need.
    Best regards,
    Florin

Maybe you are looking for

  • NOKIA N72: Whats the maximum size for RS-MMC??

    Hi guys... I am currently using NOKIA N72...I am planning to buy a New RS-MMC..Can you please tell me the maximum size of RS-MMC FOR NOKIA N72??i mean can i buy a 2GB RS-MMC FOR NOKIA N72??...Thanks in anticipation..Cheers...

  • Archiving for Info records.

    Hi. I have a question about to delete some purchasing info records. I use the object MM_EINA to do it, but do I need to use other object? I just need to delete info records, but I don't know if there is dependence with other object. I hope that someb

  • PSE 10 RAW-files Canon EOS 700D.

    I have PSE 10 and I can't open raw-files from my Canon EOS 700D. How do I do?

  • Error in bappi creating the sales order

    Hi Xi team,    i am creating a sales order via xi using the soap as sender adapter and rfc as receiving adpater. i am testing the scenatio using the altova xml spy. its writing the error as "Sales document type OR is not define".  But i could create

  • How to find which windows account owns oracle i.e Installed oracle

    Hi, I want to write a script which tells me the name of the Windows account that was used to Install oracle on a machine. How can I do this and where can I get this information. I have seen the registries. This information is not there. please help