Workflows : Unable to call a report from a Default Method of Business Objec

Hi,
Good afternoon.
Well, we had a requirement where a Business Object's Default method should call a report which in turn calls a User Defined Screen(Call Screen 100 say...) which had a Text Control with one OK button.
In this requirement, I had created a method with all the above functionality and then tested the BUSINESS OBJECT accordingly. Well, when Testing the BO directly, I am able to get my REQUIREMENT satisfied like the METHOD is working PERFECT as per the requirement.
Now I made it as an DEFAULT METHOD and used the same BO for a workflow. And that Workflow gets triggered with an Event within that BO. So the instance of this BO is coming to the Workflow.
Now, I created a new Decision step and copied the standard step's task into a new Standard task. And I included this task for my new DECISION STEP. In this standard task , I had created a CONTAINER Varaible for my BO.And in my WORKFLOW, I had passed the instance of my BO in the BINDING PART of this Decision Step.
Now, my objects and Attachments part had an HYPERLINK, but it is not executing the needed method. Why is it so?
Do we had any limitation for this?
Shouldn't we call any report which calls a user defined screen from a method ?
Is there any way for solving the above problem?
Like I want to display a TEXT CONTROL which takes COMMENTS from the Approver during the WORK ITEM PREVIEW before APPROVAL / REJECTION and this INPUT must also be shown in WORK ITEM PREVIEW in the next level.
Someone please help me.
Regards,
Raja Sekhar

Hi Raja,
Well it is not yet afternoon for me. In fact the work day just about started
Have you tried debugging it? Put a break point in your default method and click on the object link from the inbox and see if your method is getting executed and if it is you may find what the problem is.
Also, have you tried with a different default method like a display method and checked if it works?
Thanks,
Ramki Maley.

Similar Messages

  • Unable to call a report from form.

    Hi i've facing a problem like calling a report(rdf 10g developer) from a form(fmb 10g developer) in 11g database (LINUX)
    show FRM-41214: Unable to run report.
    But in 10g Database it's running nicely.
    If u have a solution plz provide me.
    It's urgent.

    Hello,
    FRM-41214 means that the Reports Execution request has been received by the Reports Server but an error occured during its execution
    To get some details about the error, use the URL :
    http://<server>:<port>/reports/rwservlet/showjobs?server=<reports server name>
    If in the column "Job Status" there is a red cross in a white circle, click on this icon to get details about the error
    Regards

  • Unable to call a form from drill-down report

    hello
    i have a drill-down report, from where i wanna to call a transacation level form, so that user can modify the data from that transaction level form after seeing the result from report. After modification in data through form, report should be refreshed automatically.
    i am using form6i, can't user dde.app_begin because it starts a new session

    Hi,
    if this is for Forms on the web, just call the Reports from web.show_document() when closing the Forms (assuming you close the Forms after the update).
    If it is on client/server then you don't have a hook into Reports except you run a new Reports from Forms and close the Reports that called the Forms application (needs to be done within this Report)
    Frank

  • Unable to call a form from report

    hello
    i have a drill-down report, from where i wanna to call a transacation level form, so that user can modify the data from that transaction level form after seeing the result from report. After modification in data through form, report should be refreshed automatically.

    Hi,
    if this is for Forms on the web, just call the Reports from web.show_document() when closing the Forms (assuming you close the Forms after the update).
    If it is on client/server then you don't have a hook into Reports except you run a new Reports from Forms and close the Reports that called the Forms application (needs to be done within this Report)
    Frank

  • Calling a report from a report in reports 10g !

    Which one is the most easist way of calling a report from a report in Reports 10 g ?
    Capri !

    Actually the scenario is that I have a report in which suppose a list of names is there. I want another report called on the basis of a name selected by passing that name_id as a parameter to the called report.
    In Reports 6i that is easily done by a BUTTON. But i am unable to find a solution here.
    Hope its clear now.
    Capri !

  • Calling a report from forms

    Hello
    i have a problem with calling a report from a form.
    i use the following statement in the when-button-pressed trigger:
    Run_Product(REPORTS, report.rdf',ASYNCHRONOUS, RUNTIME,FILESYSTEM, '', null);
    in the reports background engine i get the error
    REP-0110: Unable to open file 'report.rdf'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file 'report.rdf'.
    End report report [Mon Nov 25 12:30:40 2002].
    the file report.rdf is in the same folder as the form calling it
    where is the problem
    thanks
    Marjan

    Hi Marjan,
    The problem seems to be that the report is not in a directory
    listed in the reports60_path. Add the directory into your reports60_path
    and check if it solves the problem.
    Best Regards
    Chandra Mohan

  • Calling Crystal Reports from Oracle Forms 6i

    Hello
    I am trying to invoke/call Crystal Reports from Forms 6i.
    I have created OCX Item, while right click on item and insert-object, i am unable to see "Crystal Report" Control.
    I have installed crystal Reports 2008 (Version 12) and CR Standard Production version 9.
    Is there any Active X control registration in forms.
    I could see "Crystal Report Viewer Control 9" and "Crystal Report Print Control 12.0"
    Could some one help me,
    Thanks
    Tumuganti

    Did u Succeed in calling crystal Reports XI from Forms 6i
    or from Forms10g
    for me also the same Requirement
    please send any document ,Attachment ,steps to call Crystal Reports XI from Forms
    [email protected]
    Message was edited by:
    user501763

  • Problem calling a report from Forms

    Hi,
    I am currently trying to upgrade our Forms and Reports from 6.0 to 10g. I created a simple form and a simple report and I called the report from the form (passing no parameters) and report was generated fine. Now I'm looking at one of our existing forms and I've complied them in 10g. This time I'm passing a parameter and the report is failing. If I run the report on its own with the same parameter it works fine. I am using the Run_report_object builtin.
    The error I get is the 41214:Unable to run report. The weird thing about this is if I pass in a bogus parameter (not valid in the database), the report will execute fine and I will get a page saying that No Data was Found (text displays when nothing was returned from the query). However, whenever I pass in a good parameter (Data should be returned), the report do not execute and I get the error. So, I updated the database to have the bogus parameter and then when I passed in the bogus parameter again, this time it failed. So it looks like that when data is coming back from the query in the report, I get the error. I'm connected to the same database that was used in the simple example stated above that returned data.
    Does anyone have any idea what could be causing this? Let me know if more information is needed.
    Thanks,
    Karen

    You can check the reports queue for error messages to see what the error actually is.
    http://server:port/reports/rwservlet/showjobs?server=repsever

  • Simplest Way 2 Call a report from Forms 10g

    Hello,
    i am using Oracle 10g & tools 10g too,
    What i am trying to do is to call a report from a form...
    So one friend told me 2 use a library exists in Folder Forms90 called " rp2rro"on the installed developer10g tools,i am using the following code :
    ============================================
    Begin
    PARAM_ID := GET_PARAMETER_LIST(PARAM_NAME);
    IF NOT ID_NULL(PARAM_ID) THEN
    DESTROY_PARAMETER_LIST('REPORT_PARAMETER');
    END IF;
    PARAM_ID := CREATE_PARAMETER_LIST(PARAM_NAME);
    ADD_PARAMETER(PARAM_ID,'PARAMFORM',TEXT_PARAMETER,'NO');
    ADD_PARAMETER(PARAM_ID,'COPIES',TEXT_PARAMETER,:COPIES);
    ADD_PARAMETER(PARAM_ID,'P_DISPLAY',TEXT_PARAMETER,:DESTYPE);
    ADD_PARAMETER(PARAM_ID,'DESFORMAT',TEXT_PARAMETER,'pdf');
    ADD_PARAMETER(PARAM_ID,'P_DATA_TYPE',TEXT_PARAMETER,:PERIOD_MONTH);
    ADD_PARAMETER(PARAM_ID,'P_MATERIAL_CODE',TEXT_PARAMETER,:MATERIAL_DESC);
         ADD_PARAMETER(PARAM_ID,'P_DATE_FROM',TEXT_PARAMETER,:DATE_FROM);
         ADD_PARAMETER(PARAM_ID,'P_DATE_TO',TEXT_PARAMETER,:DATE_TO);
         ADD_PARAMETER(PARAM_ID,'MONTH_ID',TEXT_PARAMETER,:MONTH_ID);
         ADD_PARAMETER(PARAM_ID,'FIN_YEAR_CODE',TEXT_PARAMETER,:FIN_YEAR_CODE);
    rp2rro.rp2rro_run_product(REPORTS,'Report_name',SYNCHRONOUS, RUNTIME, FILESYSTEM, PARAM_ID, NULL);
    END;
    The problem is that i am receiving many errors as:
    frm-41219:Can't find report invalid id
    frm-47023:No such parameter named rp2rroDesformat exist in form my_form_name
    frm-40105:Unable 2 resolve reference to item parameter.rp2rrodesformat
    can any kind guy help me pls it's urgent i have no time 2 even read a document 4 it pls help me..!!??
    Regards,
    Abdetu..

    Hi Abdetu,
    Here is a procedure and simple call of the procedure witch Iam using successfully now.
    PROCEDURE INVOKE_REPORT
         url_and_server in VARCHAR2,
         file_name in VARCHAR2,
         des_type in NUMBER,
         des_name in VARCHAR2,
         des_format in VARCHAR2,
         param_list in PARAMLIST
    IS
         l_report_id REPORT_OBJECT := FIND_REPORT_OBJECT('QMSREP');
         l_report_job_id VARCHAR2(100);
         l_userid VARCHAR2(200) := GET_APPLICATION_PROPERTY(USERNAME) || '/' ||
         GET_APPLICATION_PROPERTY(PASSWORD) || '@' ||
         GET_APPLICATION_PROPERTY(CONNECT_STRING);
         l_report_url VARCHAR2(200) := substr(url_and_server, 0, instr(url_and_server, ',') - 1);
         l_report_server VARCHAR2(100) := substr(url_and_server, instr(url_and_server, ',') + 1);
         l_vcStatus VARCHAR2(100);
         l_vcJob VARCHAR2(100);
    BEGIN
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_COMM_MODE, ASYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_EXECUTION_MODE, RUNTIME);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_SERVER, l_report_server);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_FILENAME, lower(file_name));
    SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_DESTYPE, des_type);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_DESNAME, des_name);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_DESFORMAT, des_format);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_OTHER, 'paramform=no userid='||l_userid);
         -- invoke the report (currently we don't use the returned ID)
         l_report_job_id := RUN_REPORT_OBJECT(l_report_id, param_list);
         l_vcstatus := Report_Object_Status(l_report_job_id);
         l_vcJob := substr(l_report_job_id, instr(l_report_job_id ,'_', 1 , 3 ) + 1);
         WHILE l_vcstatus in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
         l_vcstatus := Report_Object_Status(l_report_job_id);     
         END LOOP ;
         if l_vcStatus = 'FINISHED' then
         Web.Show_Document('http://'||l_report_url||'/reports/rwservlet/getjobid'||l_vcJob||'?server='||l_report_server,'_blank');
         else
              message('Failed - Status was :'||l_vcStatus);
         end if;
    END;
    INVOKE_REPORT ('172.198.1.1:7777,rep_SRV'
                                            ,'MYREP.RDF'
                                            ,cache
                                            ,'htmlcss'
                                            ,l_par_list_id
    hope this helps,
    Alireza

  • **How to call a report from a form by passing a specfic value?????

    Hi Expert,
    I want to call a report from a form.My problem scenario like, a user is login to his account and there is a option called ADMIT CARD(Push Button).Now when he pressed the button a report will generate.I want that when he pressed the button the user id of the user will passed to the report and the report will generate corresponding to his details which was stored in the database.This scenario is like any online admit card.
    Suppose I want a details report of employee whose employee_id=100.How could I pass this value(employee id) to report which will generate a report details.
    Thanks,
    TAPAN
    Message was edited by:
    user630863

    Thanks for replying.
    Actually I am a beginner.I think that I have to use RUN_REPORT_OBJECT built-in.But I cannot understand the parameterlist.Can u plz give me any example or code then I am very thankful.
    Suppose I want a details report of employee whose employee_id=100.How could I pass this value(employee id) to report which will generate a report details.
    Thanks,
    TAPAN

  • Calling a report from a form based on procedure

    I created a form based on a procedure.
    It is a entry form where the user is selecting or enters data then on submit I must display the report based on selected data.
    I know I can simply create a report with all bind variable and do the job.
    My question is what is the syntax to call the report from the procedure for the selected parameters values.
    Thanks
    Lawrence

    If you want to display other HTML page after successful submission, you need to use
    either go or call method.
    I created a form on SCOTT.EMP and a report on SCOTT.EMP and the report accept a parameter for
    the deptno. Here is my on successfull submission code:
    declare
    l_dept number;
    l_url varchar2(2000);
    begin
    l_dept := p_session.get_value_as_number('DEFAULT', 'A_DEPTNO', 1);
    l_url := 'scott.rpt_mask_1.show?p_arg_names=emp.deptno&p_arg_values='&#0124; &#0124;l_dept;
    go(l_url);
    end;
    null

  • How to call a report from a web application

    Hi,
    I have a web server in wich is installed Reports 6i. My question is how can I call reports 6i to generate a pdf using a .rep file from my web application (built with java)?

    Hi,
    The below link will be very useful for one who need idea on calling Oracle Report from Java Application,
    http://www.oracle.com/technology/products/reports/htdocs/getstart/examples/reportswebservice/index.html
    Thanks & Rgds,
    M T

  • Call Oracle Reports from  Forms ver 9i or 10g

    Hi,
    Can somebody guide me, how to call Oracle Reports from the Oracle form 9i,
    Run_product is no more available into 9i & 10g, Run_report_object is not working with out put type "Screen" or "preview".
    What is the best way to call the reports from the form ??? pls help...
    Thanks in avdance.
    Jitesh ([email protected])

    You can use RUN_REPORT_OBJECT with CACHE type, and WEB.SHOW_DOCUMENT to view the document on the screen.
    In the Forms help you should find examples.
    If you have access to Metalink, have a look at Note:207396.1.

  • How to call a report from a menu ?

    I am converting 6i client/server forms to 9i.
    I have a menu that has an option on it to run a report for each menu item selected using RUN_PRODUCT.
    9i is making this obsolete, so how can I call a report from a menu (not a form) now then ?
    In a form it is fine cos I just use the Report Object - a menu does not have this facility.
    Thanks in advance.

    Hi,
    so here is how this should be done:
    1. Create a Reports node in the Forms module that uses the menu (you don't have to create one Reports Object for each report that you want to run)
    2. From the menu, before calling Run_Report_Object() use Set_Report_Object_Property() to set the phsical file name of the Reports that should be executed. This is kind of best practice and does not have a performance hit.
    There is a bug filed against Forms to extend the menu files with a reports Object node. This could require a change to teh file structure which is why we looking for Forms 10i to implement this. (If it turns out that we can have it without recompiling the menu modules then it may go into a patch set - however this seems unlikely from my point of view)
    Fran

  • Calling a report from Form 6i

    Hi,
    I want to call a report from Form 6i at run time. And I write the following code in When Buttton Press trigger . when I press the button it will gives no response.
    declare
         x report_object;
         y varchar2(100);
    begin
         x:=find_report_object('billform');
         y:=run_report_object(x);
    end;
    for more information , path of my report is: C:\REP\billform.rdf
    please send me the solution of this problem
    E_mail: [email protected]
    Shahzad

    hi,
    now i am using the following code in when button press trigger. if u give me ur e_mail address i will send u FMB and RDF files used for Scott/tiger EMP table for the sample.
    declare
    repo_Para     ParamList;
    BEGIN
    repo_Para:=Get_Parameter_List('Report_para');
    IF not Id_null(repo_Para) THEN
         destroy_parameter_list(repo_para);
    end if;
    repo_Para:=Create_Parameter_List('Report_para');
    Add_Parameter(Repo_para,'PARAMFORM',TEXT_PARAMETER,'No');
    Add_Parameter(Repo_para,'MAXIMIZE',TEXT_PARAMETER,'Yes');
         Add_Parameter(Repo_para,'BDATE',TEXT_PARAMETER,:BLOCK3.a_dptno);
         Add_Parameter(Repo_para,'EDATE',TEXT_PARAMETER,:BLOCK3.b_dptno);
         RUN_PRODUCT(REPORTS,'c:\apu\DDATE.rep', SYNCHRONOUS,
              runtime, FILESYSTEM,Repo_para,NULL);
    end;
    BDATE & EDATE are two user parameters created in report.
    when i press the button in form pass parameters the report will be called but no data will be display but when i directly run reprot from report buider and pass same values of BDATE & EDATE it will show data.
    please give me ur e mail address or help me for this problem
    best regards,
    shahzad

Maybe you are looking for

  • WLS 6.1 The transaction is no longer active...

    Hello guys, I have a litle problem. We have an application deployed on WLS 5.1. It is working perfect for more than an year now. We recently migrated to WLS 6.1, which went pretty painlessly. The only problem I figured out is a transaction timeout on

  • How to undock Thinkpad Yoga from Onelink Docking station?

    I used the search but I couldn't find the answer to my problem, so here it is: I've got a Thinkpad Yoga and a Onelink Docking station but I can't figure out how to safely hot undock. I cannot find any option to undock and just ripping of the onelink

  • How to enter pay term 45 days to month end

    Hi all, in France they have to handle their pay terms more clear by law ( starting January 1st, 2009 ). My France colleagues want to use the term 45 day to month end. As far as I know, itu2019s only possible to enter this with a day limit: Step 1: da

  • Moving a rectangle - [CS2 VB Script]

    Hi I'm writing a scatter proof programme and I have no problem importing the graphics into separate graphic frames. The problem happens when I attempt to move each frame into position. I'm using this code:         For myCounter = 1 To UBound(myFileLi

  • Could not complete the Check Spelling command because of a program error.

    I'm trying to spell check a flyer and I continue to get this message.