Clean Job: Guided Procedures - Locked Objects & Background Action Process Q

I opened this thread also in Portal Content Development thread,
but I think its more useful here:
Hi Experts,
We are running several Workflows on our Portal, they often lock objects and use the background action processor queue.
You can unlock these objectes manually by selection 'Unlock Objects' (which is below Guided Procedures - Administration)
And you can delete the successfull processed action queues (Guided Procedures - Administration - Maintain Queues).
Is it possible to this in a weekly running job? All objects should be unlocked, the queue should only be deleted for actions which where processed successfully and are older then a date.
Is this possible?
Thanks for any help,
Chris

Hi Sitarama,
<br/>
<br/>Thanks very much for your fast reply. Yes, the smartforms are custom-built. Besides the deadlock error, there still has some errors in SP01 says "Could not pass request to host spool system". But it previews wonderfully in SP01. The detailed SP01 error log is like below:
Print request processing log
Errors occurred processing this print request
Error during print request output. l_rc = 99
There may be no printout
Most important attributes of spool request
Request number 2828
Request name SMART  LOCA 8000199
Client 800
Owner 8000199
Request attributes
Time created   2010120906014800
Remaining life  +00007235800
Dispo 1 (Go/Hold) G
Dispo 2 (Keep/Delete)     D
Dispo 3 (Indirect/Direct) D
Default output device LOCA
Default no. copies  1
Format ZTEST
Main print request characteristics
Spool request number 2828
Print request number 1
Print request attributes
Time created   2010120906020500
Output device LOCA
Format ZTEST
What do you mean parallel processing on table level? The smartforms extract data from different SAP tables and then transfer to smartform interface, then they can added in form pages. Do you think this results parallel processing towards tables?
<br/>
Thank you and hope to hear more from you.
Best Regards,
Jeff

Similar Messages

  • Guided procedures - Sending request between actions

    Hi there,
    We are using GP workflow for a particular scenario in which we have a situation where the control needs to go back and forth between two actions which are under a single block.
    For example,
    Action 1 - First Action
    Action 2 - Second Action
    Both these actions are within the same block. We need to know is there a way where from Action 1 goes to Action 2 and then coming again back to Action 1 from Action 2. This process should be of indefinite times until the Action 2 says it is complete.
    Regards,
    Ponraj M

    Hi Ponraj,
    The Callable Object you have attached to each of the Action must be having some result states..
    Since you are using Web Dynpro Callable Object you can define the Result States in the Interface of the Callable Object.
    Lets say in the Web Dynpro Callable Object you have two Resutl States :
    Completed
    Not Completed
    Every time the control goes to Action2 you check if the execution is Not Completed in which case you set the target of the Result State Not Completed to Action1 in the Design time. This will ensure that the control goes from Action 2 to Action1 as long as the Result State is Not Completed.
    Now if the Result State in Action 2 is Completed you can proceed with your GP Workflow.
    Similarly in the Result State of the Callable Object attached to Action1 you set the target to Action2.
    Hope this solves your problem.
    Regards
    Sundeep

  • Guide procedures (callable objects ) using ABAP API.

    Hi,
    Is it possible to develop callable objects using ABAP APIs?
    IF yes how ?
    Regards
    Nisha

    hello Nisha,
    Plz see the basic information link on GP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92811997-0d01-0010-9584-f7d535177831

  • Guided Procedures - for long life cycle processes ?

    Not sure if this is the right forum, but my question is about using GP for a business process that we would expect to last more than a year from initiation to completion.
    The feedback I'm getting (from SAP sources) is that GP are for "short term processes". I'm curious now as to why this should be. I didn't think it could be a technical limitation, because persistance could be achieved through a call via the CAF to the backend system.
    And from my preliminary research in SDN, although simple scenarios are exampled, GP seems a product for the "front-end" (as opposed to ccBPM) where all types of cross application and ERP independant workflows resides.
    Thoughts, anyone ?
    Phil

    Thanks for the enthusiastic replies!
    Here's the scenario: I have to replace an existing change management workflow of regulatory approvals for pharmaceutical production. The point with these and other processes is that the activities happens outside the workflow, and the system is used to  bring to attention of approvers various document, get ER/ES validation for the step, report on progress for the different proposals. There a lot of "white space" while a change is under evaluation, under planning, document submission etc.
    I'm currently evaluating options. R/3 is out because strategically we don't want to develop bespoke solutions "from the ground up" (and there is no reference object), but package solutions are OK - if configuration (by a BPX?) is possible.
    There is a great demand for easy to build process automation applications, and there are some very good packages from other vendors in this space. So, I thought CAF-GP would be ideal, nice Java front-end, easy configuration, open architecture to interface with R/3 ECM and Documentum, for example.
    Is it a case of it being positioned short of where it could be, despite of it having huge potential?
    Phil

  • Guided Procedures - Integration of Webdynpro Java with Adobe Interactive fo

    Hi All,
    We have created Webdynpro java application with Adobe interactive forms.It works fine in NWDS and also in Webdynpro Content Administrator.
    When we have called this component in Guided Procedures (callable object - Webdynpro (GP Interface)), the form screen has not displayed.
    Plz help us..

    Hi,
    Scenario : User have to log into GP runtime, When he clicks the first action it should display the adobe form. He has to fill the details and submit the form. This form is routed for Approver 1 for review. The first approver will log into portal,view it (UWL),approve it and sent for second approver.The same process happens with the second approver.After both approvals, a BAPI updates the data in the interactive form in R/3
    All the process have to be done in Guided Procedures, then integrated with Portal at the end.
    We have tried creating an Wdynpro Java app with online adobe form and executed successfuly in NWDS and also in Webdynpro content administrator.
    issue:-
    When we create a callable object(webdynpro app(gp interface CO)) in GP and test, we were unable to view the form.
    Now our question is : what are we mising ?
    Is it possible to integrate online interactive adobe form with guided procedures?
    Is our approach to solve the scenario right?
    any links or tutorials will be greatly appreciated
    TIA,

  • Patch 9239090 - ORA-04021: timeout occurred while waiting to lock object

    Hello Guys,
    I need help urgently to comlete an upgrade of ebs 12.1.1 to 12.1.3.
    We are upgrading ebs 11i to 12i going live this weekend. We have encountered "ORA-04021: timeout occurred while waiting to lock object" on patch 9239090 with two Workers:
    In adctrl:
    1 Run AutoPatch R120 AFUTLGRS.pls FAILED
    2 Run AutoPatch R120 AFUTLOGS.pls FAILED
    sqlplus -s APPS/***** @/u02/applfinp/apps/apps_st/appl/admin/OFPROD/out/p001invok.sql
    Connected.
    create or replace package wf_bes_cleanup AUTHID CURRENT_USER as
    ERROR at line 1:
    ORA-04021: timeout occurred while waiting to lock object
    I have done everything everything imaginable but cannot get pass these 2 failed workers.
    1) I have checked are there are no locks blocking on any objects:
    select s1.username || '@' || s1.machine
    || ' ( SID=' || s1.sid || ' ) is blocking '
    || s2.username || '@' || s2.machine || ' ( SID=' || s2.sid || ' ) ' AS blocking_status
    from v$lock l1, v$session s1, v$lock l2, v$session s2
    where s1.sid=l1.sid and s2.sid=l2.sid
    and l1.BLOCK=1 and l2.request > 0
    and l1.id1 = l2.id1
    and l2.id2 = l2.id2 ;
    2) I also checked and there is space in the database.
    3) From adctrl, I have tried restarting the jobs one by one but the worker 1 hangs at and eventually fails on several (12) attempts.
    4) The solution on Doc ID 1291064.1 is not the problem:
    SQL> select SUPPLEMENTAL_LOG_DATA_MIN, SUPPLEMENTAL_LOG_DATA_PK, SUPPLEMENTAL_LOG_DATA_UI, FORCE_LOGGING
    from v$database;
    SUPPLEME SUP SUP FOR
    NO NO NO NO
    5) Manual execution still gave ORA-04021:
    sqlplus -s APPS/apps @/u02/applfinp/apps/apps_st/appl/admin/OFPROD/out/p001invok.sql
    sqlplus -s APPS/apps @/u02/applfinp/apps/apps_st/appl/admin/OFPROD/out/p002invok.sql
    6) The alert log has no related errors
    7) I Finally, after over 6 hours of waiting, I could only get the patch to continue after by using adctrl option 8 to skip these two workers.
    After proceeding, I have yet hit two more errors and now stuck:
    I have hit another error with the same patch:
    create or replace package body FND_LOG as
    /* $Header: AFUTLOGB.pls 120 ...
    AD Worker error:
    ORA-04021: timeout occurred while waiting to lock object
    Unable to process file in PACKAGE mode.
    Not converting file for Invoker's Rights because it appears to be a package body creation script (based on the filename).
    File is: /u02/applfinp/apps/apps_st/appl/fnd/12.0.0/patch/115/sql/AFUTLOGB.pls
    AD Worker warning:
    Product Data File
       /u02/applfinp/apps/apps_st/appl/admin/xniprod.txt
       does not exist for product "xni".
      This product is registered in the database but the above file does not exist in APPL_TOP.  The product will be ignored without error
    AD Worker error:
    The following ORACLE error:
    ORA-04063: package body "APPS.FND_LOG" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "APPS.FND_LOG"
    ORA-06512: at "APPS.FND_FUNCTION", line 834
    ORA-06512: at "APPS.FND_MENU_ENTRIES_C_DELTRG", line 4
    ORA-04088: error during execution of trigger 'APPS.FND_MENU_ENTRIES_C_DELTRG'
    Can I stop and restart this patch 9239090?

    Hello,
    I later executed the failed jobs or scripts manually (successfully) for the patch to continue
    sqlplus -s APPS/apps @/u02/applfinp/apps/apps_st/appl/admin/OFPROD/out/p001invok.sql
    sqlplus -s APPS/apps @/u02/applfinp/apps/apps_st/appl/admin/OFPROD/out/p002invok.sql
    The patch ended with the following :
    The following Oracle Reports objects did not generate successfully:
    ap reports/US APXARATE.rdf
    ar reports/US ARXCTA.rdf
    fa reports/US FASRSVED.rdf
    ont reports/US OEXOEORD.rdf
    pa reports/US PAXACMPT.rdf
    pa reports/US PAXALRUN.rdf
    pa reports/US PAXACRPT.rdf
    pa reports/US PAXCPGAL.rdf
    pa reports/US PAXPCRFD.rdf
    The patch execution ended but the patch number is not record in apps.ad_bugs table:
    select TO_CHAR(CREATION_DATE,'dd-Mon-yyyy, hh24:mm:ss'), BUG_NUMBER from apps.ad_bugs where bug_number in ('9239090');
    no rows selected
    JFI
    Patches located in ad_applied_patches to which there is no a corresponding record in ad_bugs:
    SQL> SELECT a.patch_name, TO_CHAR(max(a.last_update_date),'dd-Mon-yyyy, hh24:mm:ss')
    2 FROM applsys.ad_applied_patches a
    3 WHERE NOT EXISTS (SELECT '1'
    4 FROM ad_bugs b
    5 WHERE b.bug_number = a.patch_name)
    6 group by a.patch_name;
    PATCH_NAME TO_CHAR(MAX(A.LAST_UP
    9239090 26-Oct-2013, 00:10:27
    AutoConfig 25-Oct-2013, 17:10:51
    merger9179588 25-Oct-2013, 11:10:30
    merger_post_5903765 27-Apr-2013, 23:04:45
    mergeu6678700 25-Oct-2013, 16:10:09
    What could have happened that this was not recorded in ad_bugs?
    How to I get this recorded in the ad_bugs table?
    Thanks
    Mathias

  • Guided Procedure

    HI,
         Iam facing the issues in Guided procedure.I have two Action.The Action two is Assigned to two users.Both the user get the Action in the UWL and both the user are possible to edit the Action.If one user completed the Action,the Action assign for the second user also completed.These things are working fine.I need to solve other issue.If one user edit the action i need to provide some information to other user ie.the Action is in Processing by other user.(or) If one user edit the Action at the same time the second user open the same action in his UWL the Action is in non editable mode.please provide the suggession for these issue.Its urgent.
    Thanks and Regards,
    Satheshkumar.R

    Ok. Here are the steps.
    I'm assuming that you have good knowledge of GP process designing. Let me know if you are stuck anywhere.
    These steps have to be followed for all blocks in the process.
    1) Initiate the process
    2) Let us assume that the first step in the process has reached two agents' UWL (A and B)
    3) When the step is clicked for execution, you must actually execute a check step prior to the actual step. That is lets say that the actual step is called as 'Approve'. So the flow will be like this
    i) Initiate
    ii) "Check" step (invisible to the user) here perform the check for a flag say InUse = ' ' ? This parameter should be visible at the process level too. If this flag is not set, then set this flag to 'Y' and then branch out to the "Approve" step (iv).
    elseif the InUse flag is already set to 'Y' (by another person), then branch out to a display form CO that says that the step is being executed by someone else.
    iii) After the step has been successfully executed, then you can set the flag accordingly. Make sure you handle the case if he just opens the task but doesnt complete the action. In this case you need to set the flag back to initial and route back to that check step.
    Cheers,
    Mandrake!
    (The Magician)

  • Task based UI (Guided Procedure) in SAP CRM 7.0

    I am trying to build a Task Based UI in SAP CRM 7.0. I followed the steps which SAP mentions but unfortunately i can't get it work.I am a functional consultant and so its quite possible that might have missed something critical
    This is the sequence of steps i followed
    Step 1 - Create new BSP component
    2 - Created 3 custom views
    3 - Created a "Guided Maintenance Page"
    4 - According to SAP documentation/material - when i open the view/page created in step 3 i would be able to see the views i created in Step 2 and i can choose the views ( and the sequence) i want to use in the guided procedure.
    But unfortunately in Step 3 - i don't see any of the views i created in "Step 2" .
    So just wondering what i have missed and why the guided procedure is not working.
    thanks in advance!
    Cheers
    SS

    Hi Ruby,
    Thanks a lot for your reply.
    In your reply you have mentioned that - "As far as I know , if you use the guided  maintainence  procedure , at the top you can see the number of custom views added in the component , in your case you will be able to see them as 1, 2 and 3"
    The issue I am encountering is that  I don't see the (any) custom view in my guided procedure.
    I don't see any of the the custom views 1,2 or 3 listed in the top half of the page. All i see is a table with no entries in it.
    So i am wondering if i have missed out any important step in guided procedure( task based UI) creation process.
    thanks in advance!
    Cheers
    Subu

  • Question to Guided Procedures

    Hello,
    in our company I'm evaluating WFM-Tools.
    I have two questions about Guided Procedures:
    (1) Is it possible to delete entities of a running process in the CAF Guided Procedures? To stop a process is no problem, but I didn't solve to delete them completely.
    (2)Is it possible to escalate dates in a process?
    I would be very glad, when someone give me some links, informations, documents e.g. for implementing Composite Applications and Guided Procedures.
    Thanks a lot
    Steve Mussdorf

    Hi Steve,
    In addition to the link that Srini gave, you can check the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/39/198141f906040de10000000a1550b0/frameset.htm">GP documentation</a>.
    To your questions - the functionality to delete process instances is not yet available but will come soon.
    Changing the process due date is possible using the so-called process control items. See the following <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/42/cec68872c56baee10000000a1553f6/frameset.htm">docu</a>.
    Regards,
    Zornitsa

  • Pass lock to background job

    Hi,
    I'm looking for ideas.
    We have an inbound process for special messages transfered from XI system via asynchrounous call. Messages are identified by a GUID.
    The inbound process will save the messages in a database table and create background jobs for processing big messages while small messages are processed directly.
    To avoid any interference, we want to lock messages as long as they are processed. For this we have a lock object and the Enqueue/dequeue modules.
    Now my question is: How can I pass a lock to the background job (created by SUBMIT VIA JOB) and have it released there after processing is done. The Job will run in a new LUW.
    And then, if any error in background (or online) processing occurs, how to make sure all existing locks are released?
    Thanks for some good ideas on how to proceed.
    Regards,
    Clemens

    resolved - we won't do it. We'll create some kind of queue: A fully-buffered database table where we put the lock entries and remoce them when it's time to do so. This way we can integrate an activity monitor watching the objects being processed.
    Thanks for reading
    Clemens

  • Error while executing Guided Procedures Action

    Hello,
    We are getting the following error when a user is trying to execute an Action in the Guided Procedures Process:
    "Cannot complete Action: Activity could not be read".
    What can be causing this?
    Any help would be highly Appreciated.

    Hello,
    This is more than likely due to an inconsistency of a GP object at database level. I suggest opening an OSS ticket as this would require detailed analysis.
    Thanks and best regards,
    Carl Connolly
    Senior Support Consultant - Netweaver Web Application Server
    AGS Primary Support, Global Support Centre Ireland
    Guided Procedures trouble shooting guide:
    www.sdn.sap.com/irj/scn/wiki?path=/display/JSTSG/%2528GP%2529Home

  • Export: ". exporting post-schema procedural objects and actions"

    Hi all,
    I am trying to do a full database export from the server and an import to another PC.
    I tried exporting recieved the following warnings:
    . exporting synonyms
    . exporting views
    . exporting referential integrity constraints
    . exporting stored porcedures
    . exporting operators
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting triers
    . exporting matrializes views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh grups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    EXP-00008: ORACLE error 903 encountered
    ORA-00903: invalid table name
    ORA-06512: at "SYS.DBMS_RULE_EXP_RL_INTERNAL", line 311
    ORA-06512: at "SYS.DBMS_RULE_EXP_RULES", line 142
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when callig SYS.DBMS_RULES.schema_info_exp
    . exporting user history table
    . exporting defualt and system auditing options
    . exporting statistics
    Export terminated successfully with warnings.
    I been through the forum and was advised to run the catalog.sql, then rerun the exp command.
    I did as suggested but the export hangs at the last line:
    Export donw in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions <- hangs here
    Is there a way to resolve this? Or should I approach another method?
    Any of your help is greatly appreciated. Thank you.
    Thanks and Regards
    San

    I am also trying to figure all the stuffs out. I try to answer as much as I know. Thanks.
    What is the export utility version?
    Using exp, "Export: Release 9.2.0.1.0"
    What is the import utility version?
    Using imp, "Import: Release 9.2.0.1.0"
    What version of Oracle database are you trying to export?
    9.2.0.1.0
    Into what version of Oracle database are you trying to import?
    9.2.0.1.0
    What are the database character sets and values of environment variable 'NLS_LANG' for each case?
    Not sure about this but I didnt change any parameters of the character set, should be
    WE8MSWIN1252
    Using WinXP OS, <- quite problematic, having a hard time trying to configure. :(

  • How to enable disable result status of callable object in Guided Procedures

    hi,
    Currently we are using guided procedures to handle Life Event changes in ESS. Each process has sequential block with Respective actions and callable object assigned to each action.
    Most of the callable objects we are using are either standard Java Webdynpro screens that came with ESS business package or custom ABAP Webdynpro's. When we created callable objects with these web dynpro's there is tab that sets result status like "Complete", "Exit" etc.
    The issue we are currently facing with result status is, there is no way that control is passed to result status enabled for specific step of guided procedure from the callable object. For example we created callable object for Benefits enrollment screen with result status "Complete". When user initiated guided procedure to make changes to Benefits enrollment, make changes to plans and click save. Once User click Save we want to send control to result status to get enable, till then we don't want the "Complete" button to be enabled on the Guided procedure step.
    Is there way to control the result status button based on the action performed by user in respective screen/step of Guided Procedure?
    Could someone suggest is there better replacement for guided procedures where I can use some other framework/process to achieve better functionality than GP's.
    Thanks
    Ravi.

    migrate to BPM

  • Exporting system procedural objects and actions

    Hi
    Version-Oracle 11.2.0
    When i'm trying to export a blank dump it's getting hanged'.Even after 4 hours it's showing
    'exporting system procedural objects and actions'.
    Following is the command
    'exp username/password file=E:\Export\Blank.dmp log=E:\Export\Blank.log full=y indexes=n rows=n'
    Any help

    user588120 wrote:
    Hi
    Version-Oracle 11.2.0
    When i'm trying to export a blank dump it's getting hanged'.Even after 4 hours it's showing
    'exporting system procedural objects and actions'.
    Following is the command
    'exp username/password file=E:\Export\Blank.dmp log=E:\Export\Blank.log full=y indexes=n rows=n'
    Any helpTry to export only one table
    Do you get any error on your log file?
    If you fail to export any table, then try to TRACE the Data Pump job. Use the following Metalink note:
    *Export/Import DataPump Parameter TRACE - How to Diagnose Oracle Data Pump [ID 286496.1]*
    My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

  • 2 different actions being executed simultaneously through guided procedure

    Hi All,
    Can you let me know whether it is possible two run 2 different actions embedding 2 different callable objects simultaneously through guided procedure? Please let me know the procedure.
    Thanks in advance,
    Swaralipi

    Can any one help me regarding this questions?

Maybe you are looking for

  • My itouch wont let me open apps

    it will let me open apps that are on it automatically but not apps that i got off the app store

  • Can't play Movie Trailers from iTunes Store!

    I am wondering if anyone knows why I cant watch free movie trailers on the iTunes Store? It follows as far as letting me choose the size of the trailer cilp I want to watch but after that nothing loads up! the top half of the page is blank! Also I ca

  • New Hard Drive Installed on 4-1115DX

    Hello I recently lost my hard drive but luckily backed up using AOEMI Backupper.  I purchased a new 500GB hard drive and installed it but now the 'D' 32GB SSD Drive is redundant? How do I re-enable the RAID rapid start drive. When I use the RAID soft

  • Itunes wont download from the music store

    Cant download songs now, only started happening last week, any ideas?

  • FBCJ posting

    hai friends    i create one BAPI in FBCJ transaction.    it is used to save RECEIPT FROM BANK & PAYMENT TO BANK(Iis working fine .    i store the records in one Ztable.    i create one BDC to post all the data in fbcj    but it post only one record.