Wb_rt_api_exec.run_task system_params and custom_params to schedule a job

Hi all,
Did anybody ever use system_params and custom_params in the wb_rt_api_exec.run_task function to execute a process flow execution?
I have three process flows under three different Item names within the same runtime repository, so the point here would be to differenciate them using the system_params and/or custom_params.
Using this syntax:
prodowbrt.wb_rt_api_exec.run_task('MY_PROCESS_FLOWS_LOC', 'ProcessFlow', 'MY_PROCESS_FLOW', '', 'item_key=MY_ITEM_NAME', 1);
This ends up with ORA-01422 error messages when I try running it into SQL*Plus
Anybody could help?
Thank you!

Hi,
I'm not to sure about the custom params, but the parameter 'processFlow' should be changed to 'process'.
Ragnar

Similar Messages

  • How to schedule a job from r3 to BI daily ?

    Please let me know how to schedule a job frm bi to r3, that is i want to load data from a sd ds to a sd cube in bi. I do not want to use a PC and can i schedule a job daily without a PC, which can run daily after 10pm ,remember its not a manual schedule. Do we have any option to schedule in hourly, weekly, daily from bi to r3. If yes HOW ? i know we can do it thru infopackage group but will the infopackage group accept if its only a single load....I think it should have multiple infopackage rite to add it to a group or can it b a single job as well.
    Edited by: Manohar P on Oct 16, 2008 3:14 PM

    An infopackage group can only run infopackages, and unfortunately, you will need an ABAP program to trigger the event in R/3.  There is plenty of ABAP code in this forum to show you exactly how to do this. 
    Try this:
    Triggering a Process Chain From R/3 pgm
    R/3 Jobs Triggering  BW job
    You can also review OSS Note 135637.  This note will show from R/3 to BI (BW).  But you can reverse the logic to go from BI to R/3.
    Hope this helps.
    My suggestion would be to replace the infopackage group with a process chain, because you can call an ABAP program from a process chain.  You also have many more processes at your disposal using process chains.

  • Problem while Scheduling Archive Jobs from SXMB_ADM

    Dear all,
    I am using this blog to delete and archive messages.
    /people/deepak.shah/blog/2010/04/22/archiving-deletion-of-messages-in-pi--part-2
    I have configured Retention periods from SXMB_ADM and there by scheduled Archive Jobs through SXMB_ADM itself.
    Now when i check in SM37, after Archive jobs scheduled , i am not able to see 2 jobs as described in this Blog.
    i am able to see only one Job with name "SAP_BC_XMB_ARCHIVE200"
    Please assist me what might be the problem
    Regards

    Hi Ganesh,
    Thank you for replying. Once this SAP_BC_XMB_ARCHIVE200 is finished, one more job has been generated
    ARV_BC_XMB_WRP20100602112115. But this is not for deletion . it is doing archiving
    When i check the log, SAP_BC_XMB_ARCHIVE200 contains the program as RSXMB_ARCHIVE_PLAN
    and ARV_BC_XMB_WRP20100602112115 job contains the program as RSXMB_ARCHIVE_MESSAGES
    There is no job generated for deletion of Archived ones.
    >>Deletion job starts automatically if in archiving setting u have selected START AUTOMATICALLY option for deletion .
    Could you please let me know where this should be done while doing Archiving jobs??
    Regards

  • SUMG -- Schedule Worker Job

    Dear Support group,
    We have successfully finished the CUUC process on our 46C system to ECC 60 system. Now we are at the fina stage and wanted to complete the SUMG final process..
    I have created file_info.tx and called the transaction SUMG. Then, Edit --> R3Load Log File and uploaded all the xml files in to db.
    Under Workers list tab, I see a total of 267 tables with the 'Completion category' as 'N'. How to process these tables. When ever I select the 'Schedule Worker Job', the job is starting but it is completing in less 2 seconds.
    If I select a line itme under worklist and select the Schedule Workers Job, the system is displaing the information windows as "Not Able to Repair the Source Yet"
    All the worklists items are in Gray color status. How to process these items..What exactly I am doing wrong here...
    Appreciate your advide and help.
    Thank you,
    Nikee
    Edited by: Nikee Cheella on Jun 4, 2008 9:34 AM

    You need to be a bit clearer on what you're monitoring. What "status" stays unchanged?
    Some basics. When a job is submitted an entry is made into the Job Queue (a data dictionary table). The views DBA_JOBS, USER_JOBS and ALL_JOBS are views on this table.
    When the job is to be executed, it is executed by a job queue process. There is a pool of these Job Processes that checks the job queue and execute jobs in the queue. Such a Job Process will have an entry in the V$SESSION virtual view.
    To monitor the status of the actual executing job, requires you to look at the active sessions on the database and not at the job queue. Looking at the Job Queue is not looking at the actual process running and executing the job.
    So what status is being looked at here? What status do you want, or do you expect to see?

  • Error in Process flow running in SQL owb_run_own.wb_rt_api_exec.run_task

    Hi all
    We are having issue with owb_run_own.wb_rt_api_exec.run_task using Sql Plus
    When i try to run through Warehouse Builder Process flow ran Successfully
    When i try to run through SQL Plus using owb_run_own.wb_rt_api_exec.run_task We are getting error
    ORA-20099: ORA-20003: Process Flow FailedSerious <PROCEDURE_NAME >unknown error
    RPE-02018: Oracle Workflow schema OWF_MGR on host OWD2HOST cannot be accessed using service OWDX.XXXX.XXXX through port 1523. Please check the location details and try again.
    Can any one help please
    Thanks in Advance
    Edited by: user1849 on May 5, 2009 9:56 AM

    Hi all
    We are having issue with owb_run_own.wb_rt_api_exec.run_task using Sql Plus
    When i try to run through Warehouse Builder Process flow ran Successfully
    When i try to run through SQL Plus using owb_run_own.wb_rt_api_exec.run_task We are getting error
    ORA-20099: ORA-20003: Process Flow FailedSerious <PROCEDURE_NAME >unknown error
    RPE-02018: Oracle Workflow schema OWF_MGR on host OWD2HOST cannot be accessed using service OWDX.XXXX.XXXX through port 1523. Please check the location details and try again.
    Can any one help please
    Thanks in Advance
    Edited by: user1849 on May 5, 2009 9:56 AM

  • Wb_rt_api_exec.run_task

    What is the function owbrt.wb_rt_api_exec.run_task intended for?
    I can't find it in this forum nor on Google nor on OTN nor in the OWB documentation.
    Why is it there and why is it never mentioned?
    Best regards,
    Erik Ykema

    please have a look in metalink:
    there you can find that this is the replacement for the oem templates (the code is not wrapped, so you can see, that it is nearly the same in PL/SQL as the oem template in the sql file)

  • Is there some error log for wb_rt_api_exec.run_task?

    Hi,
    I am trying to execute a mapping using "wb_rt_api_exec.run_task" by executing the following
    declare
    result_num number;
    begin
    result_num:= NEW_OWNER.wb_rt_api_exec.run_task('NEW_USER', 'PLSQLMAP', 'TEST_MAP', ',', ',', 0 ,0);
    end;
    And this is the output that I get:
    Stage 1: Decoding Parameters
    | location_name=NEW_USER
    | task_type=PLSQLMAP
    | task_name=TEST_MAP
    Stage 2: Opening Task
    | l_audit_execution_id=167
    Stage 3: Overriding Parameters
    Stage 4: Executing Task
    | l_audit_result=3 (FAILURE)
    Stage 5: Closing Task
    Stage 6: Processing Result
    | exit=3
    Command was executed successfully
    Now I have no idea why the execution of task failed? Is there some log file where I can lookup what the error is?
    Thanks,

    I had seen the error in Execution log accessed through Repository browser.
    But Ive resovled it now.
    Actually, the user (NEW_USER) connected to with sqlplus did not have privileges on the registered location - so I connected to OWB Design Center as that user(NEW_USER) and registered the location entering the password. Thats it. It worked!!

  • Link between Delivery and Sales Order Schedule Line

    Hi Gurus,
    I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
    For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
    Report should be something like this
    Sales Order    Item   Schedule Line    Delivery    Del Item   Confirmed Order Qty
    O1                 10      1                       D1           10            5
    O1                 10       2                      D2            10            5
    O1                 10       3                      D3            10            4
    How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
    We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
    Please help.
    Regards,
    Gaurav

    Hi,
    I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
    Sale order   Item    Schedule line  qty
    SO1            Item1     Sch1            10
    SO2            Item1      Sch2           10
    Delivery Item QTy
    DO1       IT1   15
    DO2       IT1    5
    In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
    So I am not sure if you can establish a one to one link, please check with your SD consultants.
    Regards,
    Ashwin G

  • MRP Type P1 and late firm schedule lines

    Hello All,
         We are using MRP Type P1 which firms our schedule agreement schedule lines within the planning time fence (as desired).  However, sometimes the supplier is late on delivery and the firm schedule line goes into the past.
         Is it possible to have MRP move the firm schedule line delivery date to today instead of going into the past?
         Thank you,
         Jerry

    Hi ,
    Bring process forward (reschedule in)
    Within this rescheduling horizon, the net requirements calculation checks whether, after a requirement, a firmed receipt exists, which can be used to cover this requirement. Then the system displays a rescheduling date as well as the exception message Bring process forward for this receipt. The net requirements calculation then uses this receipt and the system will only create another procurement proposal if the receipt quantity is not sufficient to cover the complete requirement. Several firmed receipts can be used to cover one requirement.
    It does not take in to account the GR processing time and it is purely based on the stock requirement date , parameters in Procurement and Scheduling in the Material Master
    So it will consume the requirement  backward scheduling and bring the Process forward.
    Kumar which  strategy are you using ?  scheduling agreement is of weekly , daily or monthly bucket ?
    How many days SA bring to Production and How many days SA for forecast you are doing ?
    Are you using any Program to convert these SA in to PIR and upload ( using any program ) .
    Regards,
    Jayavimal
    Edited by: jaya vimal on Jun 16, 2010 1:33 PM

  • Forecast delivery schdule and JIT delivery schedule difference

    Hi All,
    What isthe difference between Forecast delivery schdule and JIT delivery schedule in JIT scheduling agreement (LZJ)?? 
    I am doing JIT Inbound process now. Is it necesary to update both the schedule lines(Forecast delivery schedule&JIT delivery schedule)??
    Thanks,
    Anbazhagan E

    Hello,
    Forecast Schedule updates your planning , i.e. in MD04 you could see system is planning for quantities updated in forecast schedule.
    regards,
    amol

  • Creating a job and scheduling a job error in OEM

    Hi, Everyone,
    I am trying to create and schedule a job thru OEM. In the the pl/sql block provide i have given my code like this
    begin
    SET SERVEROUTPUT ON;
    SPOOL C:\RFV_PROFILE_REPORT.LOG APPEND;
    SELECT TO_CHAR(SYSDATE, 'DD/MM/YY HH24:MI:SS') FROM DUAL;
    EXEC PAC_RFV_PROFILE_REPORT.CALL_ALL (200910);
    SELECT TO_CHAR(SYSDATE, 'DD/MM/YY HH24:MI:SS') FROM DUAL;
    SPOOL OFF;
    end;
    i have created the job and scheduled it but i am getting this error:
    Error # 6550
    Details ORA-06550: line 2, column 5: PL/SQL: ORA-00922: missing or invalid option ORA-06550: line 2, column 1: PL/SQL: SQL Statement ignored ORA-06550: line 3, column 7: PLS-00103: Encountered the symbol "C" when expecting one of the following: := . ( @ % ;
    could anyone pls help as this is very urgent.
    Thanks in advance

    Ah, the problem is you are confusing SQLPlus commands with PL/SQL.
    SET SERVEROUTPUT ON; -- This is a SQLPlus command, not necessary here.
    SPOOL C:\RFV_PROFILE_REPORT.LOG APPEND; -- This is a SQLPlus command, in PL/SQL to write out to a file you will need to call the UTL_FILE package to open a file for writing to. Except that the file you write to will appear on the database server, not your workstation, when the scheduled job runs.
    SELECT TO_CHAR(SYSDATE, 'DD/MM/YY HH24:MI:SS') FROM DUAL; -- In PL/SQL you need to SELECT columns INTO variables FROM tables. But in fact I guess you want to write the time to file using UTL_FILE again. However, you don't really need to do this, since scheduler will log the start time and run duration itself.
    EXEC PAC_RFV_PROFILE_REPORT.CALL_ALL (200910); -- This is the SQLPlus equivalent of the PL/SQL command:
    BEGIN
    PAC_RFV_PROFILE_REPORT.CALL_ALL (200910);
    END;
    SPOOL OFF; -- This is a SQLPlus command, not necessary here.
    So to summarise, all you really need is:
    BEGIN
    PAC_RFV_PROFILE_REPORT.CALL_ALL (200910);
    END;
    And the scheduled job will log the start time and duration in the database, which you can find here:
    SELECT * FROM USER_SCHEDULER_JOB_RUN_DETAILS

  • Schedule background Job Programatically at specified date and time

    Hi Everybody,
    how can i schedule a job  in background programatically for a spefic date and time ?
    Thanks and Regards
    srikanta

    Hi Chandrasekhar,
    my requirement is :
    in selection screen there will be two run mode :
    1) Run in Foreground
    2) Run in Background
    If user selects  ' Run in Background ' option , a block will open where user can give
    job schedule date  and
    job schedule time.
    Based on this date and time program will be scheduled in background.
    I have used like this :
    CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname                = v_jname
            SDLSTRTDT              = p_date
            SDLSTRTTM              = p_time
          IMPORTING
            JOBCOUNT               = v_jcnt
         EXCEPTIONS
           CANT_CREATE_JOB        = 1
           INVALID_JOB_DATA       = 2
           JOBNAME_MISSING        = 3
           OTHERS                 = 4.
    where v_jname is jobname
              v_jcnt   is jobcount
              p_date is  schedule date ( taken screen value)
             p_time is  schedule time ( taken screen value)
    but the job is sxcheduling immediately
    Give suggestion.
    Thanks in advance.
    Srikanta

  • Deletion and creation of Schedule line for Line Item

    Hi BW Experts,
    In P.S.A. when i have checked for first schedule line 001 reqdelqty is 50 , after deleting 001 and after creation of second schedule line in R/3 there are two records transferred from R/3 for schedule line 002 first with reversal indicator 'X' and delivery quantity -50 and next record with Reversal Indicator blank with value 50. which in turn results Reqdelqty zero.
    Reason of wrong data in BW: -
    Schedule line category for an item is being deleted forcefully. R3 doesn’t allow deletion of a schedule line category if delivery is already created. Here user is creating one same schedule line and then he deletes the order quantity from earlier one. This forces system to pick up schedule line 2 in the document flow
    · User shouldn’t delete schedule line.

    Hello Ganesh,
    Schedule line number sequence will not be in control of the user.
    once delivery for a schedule line is completed, no way you can delete the schedule line (except renumbering case). This is general SAP logic relates to schedule lines.
    Let me know how they are deleting the schedule lines even though delivery is completed.
    Now coming to Data load problem in BI.
    When you delete schedule line 001, the generated record should be with schedule line 001 with Reversal Indicator as R and delivery quantity -50.
    And for new schedule line 002, reversal indicator as blank and delivery quantity 50
    Regards,
    Nandakumar.A

  • Just got a new Samsung laptop. Windows 7, .  Downloaded and installed Itunes 10.6.3.  Now every time i try to open Itunes, I get BSOD and a Veido Scheduler error message.  Anyone else heard of this problem ?

    Running Windows 7 on a new Samsung Series 7 laptop.  Downloaded latest Itunes 64 bit and installed.  Now, when i try to run Itunes, I get BSOD and a video scheduler error message

    Running Windows 7 on a new Samsung Series 7 laptop.  Downloaded latest Itunes 64 bit and installed.  Now, when i try to run Itunes, I get BSOD and a video scheduler error message

  • How to schedule ETL jobs to run periodically after BI Apps is up and runnin

    Hi,
    How do you schedule ETL jobs to run periodically after BI Apps is install and configured? Is there document out there that explains how the ETL scheduling is setup?
    Thanks

    Using DAC we can schedule the ETL to run periodically. In DAC Execute -> Scheduler you can set the date and time for the ETL which need to be scheduled. You can get detail information in guide 'Oracle® Business Intelligence Data Warehouse Administration Console User’s Guide'

Maybe you are looking for

  • Problem with ACE and Internet Explorer 8

    I have a problem with ACE (system A2(1.1)) and Internet Explorer 8. exactly: ACE is configured as end-to-end ssl with 2 rserver and with the sticky source address. When user is opening the virtual address from IEv7, the web portal (On Microsoft IIS)

  • How do I update apps that we're originally downloaded w/ non-email Apple ID?

    I have some apps on my iPhone thar I downloaded before an email address was required your Apple ID. Now that an email address is required I can't run updates on those apps from the app store because the apps still have my old username associated with

  • Sending Problemos

    When I try to send an email, I get an error that says: "This message could not be delivered and will remain in your Outbox until it can be delivered. The sender address [email protected] was rejected by the server" That is my e-mail address.

  • Value set not working in responsibility

    Hello everyone, I created a custom responsibility and added a custom concurrent program to it (specifically the payroll run concurrent program). Now this concurrent program has a value set attached to it (PY_SRS_PAYROLL_GB) to select the payroll name

  • Recover Files from Web Site I created?

    I created a site at mac.com but the original files were accidently deleted. Is there any way to download or import the flies from the web site into iweb so I can work with them? Thanks!