PCW call custom task after approval process

Hi comunity,
I need to know how could call a custom task from PCW. Because I need to update a Z log table after the users approval SC just when the document is set to approved. I've checked the WS40000015, but seem to me that this is not possible.
I have no other option to use the BBP_DOC_CHECK_BADI to do so? Am i right?.
Regards.

Rick, thanks for your answer.
I didn't explain myself right with Z table. This is a relationship that required my customer between different entities (SC guid and one external number ID from a Non SAP SRM system and other fields).
I agree that maybe the business requirement could be revised. But the core question it's the same, is not posible call a custom task from the process level, because seems to be limited to decision tasks. I don't get why SAP does not create a condition step in WS40000015 which allow us to call custom background tasks.
I will use the BADI, hoping to get the SC when it's already approved.
Regards.

Similar Messages

  • Change Status of archived document after approval process

    hi how can we change the status of an archived document in KM after it has gone thru the approval process.
    the reason once we archive we cannot resubmit the document for approval.
    thanks

    Hi Venu,
    have a look under System Administration - System Configuration -- Knowledge Management -- Configuration --Content Management -- User Interface -- Commands -- UI Command Groups -- StatemanagementGroup.
    See Java class: com.sapportals.wcm.rendering.uicommand.cm.UIStatemanagementGroupCommand. Take the class and decompile this and everything needed around to understand how this class works.
    Then you can choose to extend this CommandGroup to also have a command "Resubmit for Approval" or you can implement your own UI Command only for resubmitting (you will also have to activate your command (group) by settings within the configuration).
    On the other hand, if all this is completely new to you, I'm a bit sceptical if the task isn't a bit too big as a first task on KM implementation topics...?
    Hope it helps
    Detlev

  • Problem with custom task for approval

    Hi Experts,
    I have created webdynpro for abap application and custom task for apporval of the clock correction. I have maintained the visualization parameter in SWFVISU. But when I clicks on the approval task in UWL, it opens R/3 screen and it shows "Work item 000090007959 cannot be read".
    Could you please give me solution.
    Thanks
    Sameer

    Hi,
    We cleared the cache and tweaked the system
    Now its working

  • Call javascript function after submit process

    Hi,
    How can I call javascript function after my submit process ?
    Thanks.

    Hi Carl,
    You say that I must have an Item or region that contains my js with conditionnal display. With this method I can execute my js with specific request value.
    My problem is that I tried to integrate the "save large value workaround" in my application with the APEX wysiwyg (fckeditor). To do that I have to call the javascript function clob_submit on the save button. This function save the value of my field but if I want to save other item value, how can I do that ?
    If I use your method, I will submit the page, save the other field and after that, I will branch on the same page. At this moment, I will execute my javascript file.
    Is it what did you said ?
    Sylvain Michaud
    Homepage : http://www.insum.ca
    InSum Solutions' blog : http://insum-apex.blogspot.com

  • Custom AP payment approval process

    hello,
    in AP module, we currently process payments via batch-payment which in the end, generates a txt file with account numbers & amounts of the suppliers.
    before this file is generated i would like somebody to approve the generation of this file after looking at the payments made.
    has anybody implemented any workaround / customized solutions? im only looking for ideas.
    thanks.
    ps: im already aware of AME. its not possible to use it in our place.

    Hi,
    APP ( T.code F110) is used to make payments enmasse for one or more vendors/customers.
    We can also group vendors/customers for more than 1 co.code for payments.
    The entore config for APP is done in capsule T.code FBZP.
    Here are the steps:
    1. Set up paying and sending co.codes( In case of cRoss co. payments paying and sending co.codes will ahve to be different)
    2.Set up a payment method for country and co.code 1 each for outgoing and incoming payments.
    3.Define house banks and set up bank accounts for payment method with relative ranking.
    4.In F110 :
    define the parameters like co,code;vendors etc
    craete and edit a payment proposal where you can select the open items to be paid
    create and run a payment run
    Hope this helps.
    I would also recommend to go thru SAP help and also search this forum for further notes and specific queries in F110.
    Pls assign points if this info was helpful.
    Thanks,
    Vamsi

  • Automate copy version after approval process

    Hi,
    My client wants the system automatically copy data from version A to version B after they approve a request. Example: Department manager approve asset request with "Final - ABC", then this version is automatically copied to "Working - DEF".
    Is it possible to do that in Hyperion?

    Hi,
    While not entirely automatic, you could attach a business rule that copies Version A to Version B, to the form that the person reviewing and approving the asset req uses for the review. Make sure only that/those reviewer(s) have access to see and use the business rule. If they know they are going to approve, run the BR then approve.
    Regards,
    Robb Salzmann

  • Approval process missing payload

    Hi,
    I have created a custom soa compsite/approval process and it works fine ..only thing is the approver isnt getting the request payload (which contains the information of the request) so in the approvers task tab there isnt any req id it doesnts shows the requesters name and other details ....the OIM log shows the error
    IAM-3050082 : An error occurred while unreserving User attribute and corresponding request ID is 144.:144>
    I am checked and rechecked all the steps without any success. Please help me out here
    Thank you

    Does the approvers tab show anything? Also how about the request instance in EM? What does it show? Does it show in fault state? What is the error message at the fault? Also you need to paste your error stack trace from OIM logs if any and the OIM version.Are you seeing this will all your approval processes?
    -Bikash

  • Help on Discount after Approval Procedures

    Hi Experts,
    Our customer is reporting an error after approval process that some documents has discount after the approval procedure.
    Our customer insist that there are no discount when they approved the PO/ or Ap invoice but after approval, the originator can no longer add the documnts due to discounts.
    Is there anybody experience the same problems with thier system.
    I cannot report this since I cannot simulate the error
    We are using 2007B Pl15
    Regards,
    Sandra

    HI Sandra,
    I agree with Gordon, I faced similar issues with the discount field but not with approval process though.
    This happens when Quantity and unit price of an item are entered and the line total gets populated automatically after this if the user changes the line total without deleting unit price or quantity the discount field gets populated according to the change in the line total, please check if the end user is doing any of this.....or similar changes in these lines.....
    regards,
    Murali

  • PO approval process in ByD

    We have been doing approvals of PO based on cost centre and value and happy with the way it works.
    We now want to also do PO approvals based on Project Tasks and though on the PO you can "see" which cost centre is defined against that Project Task the approval process does not "translate" or recognize the relevant cost centre.
    Is anyone creating PO's where the details are project task based rather than cost centre and how do you make the approval process work for these?
    Grateful for any help
    John

    Hi Jennifer,
    Since SRM PO will be leading PO in extended classic scenario, why donot you design the process controlled workflow in line with the existing release strategy that you are using for ECC PO?
    Thanks and regards,
    Ranjan
    Ranjan Sutradhar

  • Error when reassigning a custom task process

    Hello!
    I have an error when reassigning a custom task process.
    That is what I see at the workflow history: Task assigned to xxx was delegated by xxx. Coments: xxx
    However in the second line of the history an error is shown with the following information:
    Event type: error
    User ID: System account
    Description: An error has occurred in nameofthetask
    No new task is created for the user who the task was reassigned to.
    Any help would be appreciated

    Hi,
    From the error message, I
    guess that you come across an OOTB Approval
    Workflow.
    When you define your workflow, there is a section "Enable content Approval Workflow Activities", where you can check "Update the approval status after the workflow is completed (use
    this workflow to control content approval)". If you check this option, and you do not have content approval enabled on the library level, you get the system account error message. If you do not check it, everything works fine.
    Or you can go to the document library settings and go to Versioning Settings Page, set "Require content approval for submitted items to?" to yes and everything should be fine.
    Refer to  the following blogs about the similar issue:
    http://mossnwss.blogspot.com/2008/10/workflow-error-system-account-error-has.html
    https://sharepointtechs.wordpress.com/2011/11/18/workflow-error-an-error-has-occurred-in-approval/
    Besides, here is a similar post, you can use as a reference:
    https://social.msdn.microsoft.com/Forums/en-US/fff5ee1f-904b-4a95-989f-c5a079cdf666/workflow-error-system-account-an-error-has-occured-after-workflow-completed-moss-2007?forum=sharepointcustomizationlegacy
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Approver Details Not Visible After Changing the Approval Process

    Hi Gurus,
    This expense report belongs to an open approval task when an approval process has ended its validity date.
    After a new approval process is activated, all pending approval tasks experience the issue of approver details not showing.
    In order to reproduce following steps need to be done :
    1. Deactivate the current approval process and activate the new approval process.
    2. When the status of the recently deactivated approval process is "Ended With Open Tasks", go to the "Show Open Approval Tasks" to
    see the open approval tasks.
    3 Check the Cost Assignment area for expense report which is in the open approval tasks.
    3. Approver Details are available.
    4. The approver sees the expense report on his/her approval list.
    Once the approver approves, it doesn't go out of his/her approval list and the expense report is still pending for approval.
    To determine if the expense report has no other pending approval from anyone else, there should be the approver
    details but the issue is it doesn't show up.
    The expense report is also stuck on the approver's approval list even after approving.
    Workaround provided to the Customer:   Recall the ER and submit again for approval.
    But as per customer there should be a background job to refresh the expense report to reflect the approval details.
    And issue should not occur as explained on the point 4.
    Kindly suggest if anything is possible to improve the system behavior.
    Regards,
    Rahul Mishra

    Hi Rahul,
    Although we have a workaround, I believe a permanent solution has to be implemented.
    In cases when an expense report has more than one approver (for example there are 4 approvers) and the 3 approvers had already approved, I think it will not be good to recall the expense report and resubmit because the traveler will have to seek for approval again from all the approvers.
    Regards,
    Catherine Mapili

  • Avoid Duplicate Tasks when Expanding Groups for Custom Task Process

    Is there a way to:
    Avoid Duplicate Tasks when Expanding Groups for Custom Task Process?
    I've got a people metadata column that I am planning on putting groups into.  I want the groups to expand and send a task for all users in the groups.  I also want to avoid creating multiple tasks if a user happens to be in two groups at the same
    time.
    I'm trying to work out a way to assign users a read task based on job training requirements.  Right now assigning groups and using a workflow task to confirm read is what I'm trying to accomplish.  I just end up getting two tasks for a user if
    their in multiple groups.
    David Jenkins

    Hi David,
    Please verify the followings:
    After Participants, select Parallel(all at a once)
    Expand Task Options, select ‘Assign a task to each member within groups’
    Open the action properties, make sure ExpandGroup is Yes
    Also in SharePoint Designer ,you can edit the property for the Start Approval Porcess to enable ExpandGroup:
    Reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/d14da1c4-bd5a-459b-8698-3a89bb01e6ad/expand-groupnot-creating-tasks-for-users-issue-in-sharepoint-2013-designer-workflow?forum=sharepointgeneral
    https://social.technet.microsoft.com/Forums/office/en-US/ac245d45-ff66-4341-815c-79213efc4394/sharepoint-2010-designer-workflows-and-sharepoint-user-groups?forum=sharepointcustomizationprevious
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Calling an actionable email from process task OIM11g

    Hello Experts,
    Is there a way to call an actionable email from process task, meaning can i trigger a workflow on demand from process task.

    You are correct in the actionable emails, you just need to be creative.
    This is my suggestion:
    Create a Modify Application/Request request data set for your Active Directory workflow.  When your scheduled task runs (assuming it will be only once a day so that you don't have multiple being sent out), generate a new request with code, and in the request dataset, set the value to the 365 days in the future.  You can then create an approval policy either using the default manager approval, or custom soa composite.  Regardless, you want the approval task to go to the manager.  If you have enabled the Actionable Email Notifications (UMS Messaging i believe), then the manager will get an email for the approval and at the bottom it will have two options, APPROVE and REJECT.  The manager can click the link and it will process the request based on their response.
    If they approve it, the date is updated, and they get extended in AD.  If they reject it, the request is rejected and it never gets updated.
    -Kevin

  • Trigger another Process Task after Enable User completed

    I would like to have a process task trigger after the "Enable User" process task successfully completed.
    E.g. Scenario
    A user currently has a disabled resource. When I enable the user, the Enable User process task
    gets called and enables the user. After that I would like to have my custom process task triggered after that.
    I tried adding my custom process task in the Enable User task as a dependent task, but it never gets called.
    Also, I tried adding the custom task to Tasks to Generate but that did not work.
    What am I doing wrong or am I missing a step?

    Instructions:
    Goal: When 1st process task is triggered, the 2nd process task will kickoff.
    1. Select the 1st process task
    2. In the Task Dependency Tab of the 1st process task, add the 2nd process task in the Dependant Task section.
    3. In the Responses Task of the 1st process task, select the SUCCESS response and add the 2nd process task in the Tasks to Generate section.
    IMPORTANT: Each response has its own Task to Generate. So make sure you add to the response you want the 2nd process task to trigger off by.

  • OIM: Error while deploying Custom Approval Process for Self-Register

    While deploying the Custom Approval Process for Self-Register, i am getting the following error in scac.log file
    Nov 16, 2011 2:48:58 PM oracle.fabric.common.wsdl.SchemaManager isIncrementalBuildSupported
    INFO: XMLSchema incremental build enabled.
    Nov 16, 2011 2:48:58 PM com.collaxa.cube.CubeLogger info
    INFO: validating "ApprovalProcess.bpel" ...
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
         at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
         at oracle.integration.platform.blocks.WLSPlatformConfigurationProvider.<clinit>(WLSPlatformConfigurationProvider.java:44)
         at oracle.integration.platform.blocks.FabricConfigManager.<clinit>(FabricConfigManager.java:155)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXpathFunctions(FabricXPathFunctionResolver.java:271)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXPathConfigFile(FabricXPathFunctionResolver.java:153)
         at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.init(FabricXPathFunctionResolver.java:51)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.loadFabricXpathFunctions(BPELXPathFunctionNameResolver.java:57)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<init>(BPELXPathFunctionNameResolver.java:48)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<clinit>(BPELXPathFunctionNameResolver.java:44)
         at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.<init>(XPathExprValidatorVisitor.java:122)
         at com.collaxa.cube.lang.compiler.bpel.AssignValidator.<init>(AssignValidator.java:89)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.<init>(BpelParser.java:452)
         at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:60)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1117)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Nov 16, 2011 2:49:00 PM CubeProcessGenerator compile
    WARNING: classpath is: D:\JDev11g\Middleware\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;D:\OIMPS1\Middleware\oracle_common\modules\oracle.jps_11.1.1\jps-manifest.jar;;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\gen-classes;D:\OIMPS1\Middleware\Oracle_IDM1\server\workflows\new-workflow\process-template\SelfRegistrationApprovalApp\SelfRegistrationApproval\SCA-INF\lib\oimclient.jar;D:\JDev11g\Middleware\oracle_common\modules\commonj.sdo_2.1.0.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;D:\JDev11g\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel1-1-xbeans.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpel_coherence_config.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\bpm-analytics.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\wsif-binding.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\monitor-rt-xbean.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\oracle.soa.bpmn.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\user-patch.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.thirdparty.jar;D:\JDev11g\Middleware\jdeveloper\uddi\lib\oracle.soa.uddi.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\bpm-infra.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\testfwk-xbeans.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-scheduler.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\xmlunit-1.1.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-xpath-exts.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle-soa-client-api.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.wls.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-was.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime-ext-wls.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.workflow_11.1.1\bpm-services.jar;D:\JDev11g\Middleware\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\classes
    In scac_out.xml file following is the error message
    <Fault>
    <severity>error</severity>
    <loc>/ns:composite</loc>
    <line/>
    <col/>
    <file/>
    <msg>
    <![CDATA[SCAC-50012]]>
    </msg>
    </Fault>

    Hi,
    I have run into the same problem with SOA 11.1.1.5 version. In my case after fixing the following two errors it seems to work fine.
    If you have followed the guide, there must be some errors:
    First the java code if copied then contains an extra enter value:
    Instead of:
    "try {
    System.out.println("Prototype for invoking an OIM API from a SOA Composite");
    System.out.println("RTM Usecase: Self Registration Approval by Organization
    Administrator");"
    Use the following:
    "try {
    System.out.println("Prototype for invoking an OIM API from a SOA Composite");
    System.out.println("RTM Usecase: Self Registration Approval by Organization Administrator");"
    The other error is that you should not use <BEAHOME>/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar, but the <BEAHOME>/oracle_common/modules/oracle.jps_11.1.1/jps-api.jar in jdeveloper. After these the deployment to the application server works fine for me.

Maybe you are looking for

  • Column Template conditions foiled by a single quote

    I am using a generic column template and have a few pl/sql conditions to shade different rows like so: '#1'  like '%Total%'This worked fine until an employee's name appeared in the first column with a single quote in his last name (like O'Brien). Wel

  • I'm having sound issues with my iphone 3gs

    Ok, so the speaker sound on my iphone 3gs has stopped working.  The only sound I do get is my ringtone and if I play a voicemail.  I also do get sound when I plug headphones in.  However, whenever I get a text message or an email, my phone vibrates e

  • Adding video to E2

    When trying to add video to my E2 I get an message that says... unable to add video file to the Device or Card, because the Device does not support the video file.  How do I fix this problem? Post relates to: Tungsten E2

  • Universe design on Database Views Vs. on Tables

    Hi, I am builidng a universe over oracle database. The warehouse has both tables and views. Some of the reports we will be creating are based on the tables for which views are created. It would be my call to to choose the reporting too (webi or cryst

  • Help!!!! Comparing 2 libraries

    Help Please! I was trying to organize all my music onto 1 hard drive and I dragged the Itunes Music Folder into the Itunes on my new computer. Now some of the music is missing. I put music from other computers into the new one already and when I adde