Execute Procedure in Forms Personalization with 4 parameters

Dear Friends,
i want to use ( Execute Procedure ) in forms personalization of Absence Form and i want to pass 4 parameters to the procedure (2 date and 2 number datatype)
but i failed so far in writing this so please help me to write this
my code look like this :
=' begin
XX_HR_CALL_REPORTS('''${ABA.ABSENCE_DAYS.value} ''','''||
${ABA.DATE_START.value}||''','''||${ACCRUALS.AFTER_NET_ENTITLEMENT.value}||''','''||
${ABA.DATE_END.value}||'''
end
Thank & Regards,
Yas

No Replies ? Is this an irrelevant question or I posted into wrong forum ??

Similar Messages

  • Running a SQL Stored Procedure from Power Query with Dynamic Parameters

    Hi,
    I want to execute a stored procedure from Power Query with dynamic parameters.
    In normal process, query will look like below in Power Query. Here the value 'Dileep' is passed as a parameter value to SP.
        Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData 'Dileep'"]
    Now I want to pass the value dynamically taking from excel sheet. I can get the required excel cell value in a variable but unable to pass it to query.
        Name_Parameter = Excel.CurrentWorkbook(){[Name="Table3"]}[Content],
        Name_Value = Name_Parameter{0}[Value],
    I have tried like below but it is not working.
    Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData Name_Value"]
    Can anyone please help me with this issue.
    Thanks
    Dileep

    Hi,
    I got it. Below is the correct syntax.
    Source = Sql.Database("ABC-PC", "SAMPLEDB", [Query="EXEC DBO.spGetData '" & Name_Value & "'"]
    Thanks
    Dileep

  • Calling Procedure in Form Personalization in R12

    Hi,
    I'm trying to call a procedure in form Personalization (R12).
    Tried below versions but getting error, could you suggest ?
    ='begin
    XXHI_DFF_NULL(''' || $KANBAN_CARDS.KANBAN_CARD_NUMBER || ''' );
    end'
    =========================================================================
    ='declare
    v_field_value VARCHAR2(200) := :KANBAN_CARDS.KANBAN_CARD_NUMBER;
    begin
    XXHI_DFF_NULL(v_field_value);
    end'
    Thanks.

    You are missing the curly braces.
    See http://apps2fusion.com/apps/21-technical/296-stored-procedure-form-personalization for an example.
    Hope this helps,
    Sandeep Gandhi

  • How To Pass Parameter To a Procedure in Form Personalization

    Hi ,
    I Have to pass some parameters to a procedure which will submit a concurrent request .
    But the parameter should pass through a Form , like lov or some check Boxs.
    when i am doing it through Form Personalization, i am unable to get the value from LOV . (11i)
    BEGIN
    XXCASTLE_CNTL_BRD_PRINT('Manufacturing','Released Allocated Tasks',${item.find_tasks.SUBINVENTORY.value}',fnd_profile.value('MFG_ORGANIZATION_ID'));
    END;
    Please Help.
    Thanks & Regards
    Rishi Gupta
    +91-9738174849

    Hello Rishi,
    The parameters are passed something like below in the forms personalization.
    item.LINE.SHIP_FROM_ORG_ID.value
    SHIP_FROM_ORG_ID being the item name
    LINE is the block name
    For calling the procedure in personalization,
    TYPE = Builtin
    Builtin Type = Execute a Procedure
    Argument = Call your code by including declare, begin etc...

  • Error when calling procedure from form personalization

    Hi every body
    I want to call a procudre using form personalization . I made the procedure and in form personalization i call it as follow:
    built in type : Execute a Procedure
    Argument :
    ='GAZ_EMP_ASSIGN_UPDATE(' || :ASSGT.ORGANIZATION_ID || ', ' || :ASSGT.ASSIGNMENT_ID || ', ' || FND_PROFILE.VALUE('USER_ID') || ', ' || FND_PROFILE.VALUE('DB_SESSION_ID') ||' )'
    but the following error raised when i click on Apply Now button :
    the string (='GAZ_EMP_ASSIGN_UPDATE(' || :ASSGT.ORGANIZATION_ID || ', ' || :ASSGT.ASSIGNMENT_ID || ', ' || FND_PROFILE.VALUE('USER_ID') || ', ' || FND_PROFILE.VALUE('DB_SESSION_ID') ||' )' )
    couldn't be evaluated because of error ORA-06550 :line 1 , column 43
    PLS-00103:encountered the symbol ")" while expecting one of the folowing (- + ...... etc
    can anyone have a solution to this problem because it made me mad .(urgent)
    Or if anyone have another way to call the procedure ??
    Note that i want to pass db_session_id to the procedure from the application so does anyone have a complian about the way of passing this parameter to the procedure ??

    See http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/forms-personalization-execute-a-procedure-1778674

  • Execute procedure from forms

    Dear all,
    i want to execute a procedure from forms. my code is below for calling procedure, this code is working fine from the SQLPLUS, but not working from forms.
    forms_ddl('execute audit_sessions('||''''||'et20'||''''||',sysdate,'||''''||'HELP'||''''||')');my procedure is below
    CREATE OR REPLACE PROCEDURE audit_sessions(uname varchar2,logon_date date,APP_USER VARCHAR2) is
    begin
    insert into admin.session_audit values(uname,logon_date,APP_USER);
    commit;
    end;my table is below
    SQL> desc session_audit
    Name                    Null?    Type
    ACTIVE_DIRECTORY_USER            VARCHAR2(30)
    LOGON_TIME              NOT NULL DATE
    APPLICATION_USER        NOT NULL VARCHAR2(30)kindly help. i am using oracle 10g database and forms version 9.0.4.0.19
    Regards.
    Edited by: Maahjoor on 09-Feb-2013 19:34
    Edited by: Maahjoor on 09-Feb-2013 19:35
    Edited by: Maahjoor on 09-Feb-2013 20:18

    Wa Alaikum Salam,
    Dear Ahmad Rafiq,
    it is compiled without error, so i think it should work, but now currently the forms is opened by some user,
    as soon as i am able to delete the old one and paste the current one, i will update you and will mark the answer correct accordingly.
    thank you so much dear.

  • HANA procedure call n times with different parameters

    Hi,
    I am implementing some procedures on sql script and due to parallelization reasons i would like to call the same procedure n times with different parameters being the procedure name one of the parameters.
    Which method would you advise me (xsjs, ...)?
    Thanks in advance

    This is a known issue. We plan to have a fix in a future release but there is currently no ETA that I can share with you. I would recommend that you log an SR with support so that we can track the fact that this issue is affecting you.
    Chris

  • Launch Concurrent through Personalization with default parameters

    Hi,
    I have one requirement as follows:
    Through personalization -> Buil-in -> Launch SRS from, I want to call one concurrent program with parameters. This concurrent should run as backround process. I like to use "Launch SRS form" or "execute a Procedure", but I dont have any examples or syntaxes to use that feature. If any one provide the guidelines it will be helpful.
    regards
    Ravi

    Ravi,
    We are still not clear of your exact requirement, r u trying to this on oa page or form. If on page, how are u calling the concurrent request api?Please reply, accordingly, then we can guide u correctlly!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to get 'exit event' script to execute again when form file with saved data is re-opened?

    I have created an Adobe Dynamic XML Form using LiveCycle Designer with many fields / subforms that are ‘visible’ or ‘hidden’ dependent upon the options selected from various Drop-Down Lists. The form has also been save-enabled. Users can successfully complete the form and save a copy with the data that has been input.
    The problem I have is that when the saved file is re-opened the ‘hidden’ fields / subforms which were previously made visible by selection of the appropriate options from the Drop-down Lists are now NOT displayed. However if you make the same selections from each of the Drop-down Lists AGAIN the hidden fields / subforms are displayed and do contain the data that was entered.
    The problem appears to be that the script which determines whether a field / subform is ‘hidden’ or ‘visible’ is an
    <event activity="exit" name="event__exit">
    which is followed by
    if (this.rawValue == "0")- (i.e. the value of the Drop-down List)
    sfCompanyDetails.presence = "visible";
    sfRecruitmentAgency.presence = "hidden";
    etc, etc
    and, therefore, it is not executed again when the saved file is re-opened.
    Can anyone please advise how to achieve this?

    Moved from Adobe Connnect Forums.

  • Assign a value to a global variable - form personalization

    Hi All,
    We have a requirement in which we want to display a message depending upon the out parameter of the procedure in form personalization.
    We are using 'Builtin' with the buitin type 'Execute a Procedure'.
    And the argument passed is :
    *='declare
    l_request_id Number;
    l_out_come VARCHAR2(10);
    begin
    apps.xx_sr_email_pkg1.xx_sr_email_p1
    ('''||${GLOBAL.XX_CUST_ACCOUNT_ID.VALUE}||''',
    '''||${GLOBAL.XX_INCIDENT_ID.VALUE}||''',
    '''||${GLOBAL.XX_EMAIL_TYPE.VALUE}||''',l_request_id);
    :GLOBAL.XX_REQUEST_ID := l_request_id;
    end'*
    But its not assigning the value of l_request_id to the gloabal variable XX_REQUEST_ID.
    Can you please help?
    Thanks

    I don't have a solution but a work around.
    What if you create a function that accepts the same in parameters and returns the message.
    And then you create an action of the type message and in the message you call the function such as
    = select xx_sr_email_pkg1.sr_email_f1 .... from dual
    Sandeep Gandhi

  • How to pass the FORM Fields value by Form Personalization

    Hi ALL,
    I want to pass form filds values in to procedure. I am calling this procedure through form personalization of that form..... But it's not accepting any form field's value there... when i am passing hardcoded vales procedure is executing fine...
    can any one suggest what to do???
    i tried with these syntax
    TEST_EMP_FP(:ADDR.ADDRESS_ID,'ABC')
    TEST_EMP_FP(${item.ADDR.ADDRESS_ID.value},'ABC')
    Regards
    Ravi

    Hi,
    Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transact5ions screen, The invoice number should be defaulted in the report parameter).
    Regards,,
    Anil.

  • Error in Form Personalization....

    I did the following: Action Type : Builtin ,Builtin Type : Execute Procedure, Argument ='declare
    BEGIN
    user_resp_single_signon ;
    END' -- This is running fine.
    When I try to pass parameter as below:
    ='declare
    BEGIN
    user_resp_single_signon_p('Test');
    END'
    I get error :The string '=declare End' could not be evaluated because of error ORA-000923: FROM keyword not found where expected.
    Could you plz let me know what is the issue on this?
    Thanks

    Pl post details of OS and EBS versions.
    Pl see if these MOS Docs can help
    How To Call Code Logic Or Procedure In CUSTOM.PLL Using Form Personalization - Builtin 'Call Custom          (Doc ID 747508.1)
    Not Able to Pass Parameters to a Procedure During form Personalization (Doc ID 308457.1)
    Sample CUSTOM Library Code To Customize Applications          (Doc ID 744065.1)
    HTH
    Srini

  • Got error when call standard library in form personalizations

    There is a standard library OEXOEFRM attached to from OEXOEORD. Now I tried to call a procedure in libary with form personalizations, but got failed.
    Action: Builtin
    Builtin type :execute procedure
    Argument: begin OE_SCHEDULE_ACCESS.SET_SCHEDULE_ACTION ('para1','para2'); end
    When 'apply now', got the error "....could not be evaluated becuase of error ORA-06550: line 3, column 1: PLS-00201:'OE_SCHEDULE_ACCESS.SET_SCHEDULE_ACTION' must be declared.
    My question is how to call form library procedure in form personalizations? What builtin type should be used and any extra steps need to be done?
    Is there any documents on oracle metalink specific to this issue?
    Thank you very much for your help.

    Forms personalization is described in detail in ML Note 279034.1.
    Limitations of personalizations are in note 420518.1
    HTH
    Srini Chavali

  • Forms personalization and global variable

    Hi,
    I'm trying to call a procedure in forms personalization and using a defined global variable. The data in the global variable is number. In the procedure, some of the parameter has a number datatype and I'm converting the global variable using to_number eg (to_number(:global.XX_LINE_NUM). This fails with error message ora-01403 no data found. I've tried putting the above into a variable with datatype number in the declare statement, and it errors as well.
    Does anyone knows the syntax to convert the global variable to number datatype in personalization.
    Thanks

    Ask in this forum : OA Framework

  • Executing Procedure with default parameters !!

    hi want a small help ...
    I have a
    procedure p1(p1 in number default 2, p2 in number default 3)
    begin
    end;
    When the procedure will be called without passing parameters it will execute with default parameters.
    That time I want to dispay message saying
    " AS paramters are not passed, procedure is being executed with foll. default parameters:
    Param 1 = 2
    Param 2 = 3 "
    Now issue is how do I capture this condition that , the parameters are being passed and it is using default parameters ?
    Thanks

    The IF NOT NULL check for the parameters cannot be inside the same procedure becuase when you reach that statement, even though the parameter are not passed to this procedure, at that stage, the parameters will acquire the dfault values already assigned to them. So you never reach the else part of it.
    That;s why i said, use third parameter and assign the value to this third parameter from the calling environment.
    here is the short test case that might help you to understand better.
    SQL> create or replace procedure myproc
      2  (p1               number default 1
      3  ,p2               number default 2
      4  ,parameter_passed char default 'Y') is
      5  begin
      6    if parameter_passed = 'Y' then
      7      dbms_output.put_line('Input values are :'||p1||'='||p2);
      8    else
      9      dbms_output.put_line('Default values are :'||p1||'='||p2);
    10    end if;
    11  end;
    12  /
    Procedure created.
    SQL> PROMPT Test for Case one with input parameter values
    Test for Case one with input parameter values
    SQL>
    SQL> declare
      2   param1 number := 5;
      3   param2 number := 6;
      4  begin
      5   if param1 is not null and param2 is not null then
      6     myproc(param1,param2);
      7   else
      8     myproc(parameter_passed=>'N');
      9   end if;
    10  end;
    11  /
    Input values are :5=6                                                          
    PL/SQL procedure successfully completed.
    SQL>
    SQL> PROMPT Test for Case two with no parameter values
    Test for Case two with no parameter values
    SQL>
    SQL> declare
      2   param1 number := null;
      3   param2 number := null;
      4  begin
      5   if param1 is not null and param2 is not null then
      6     myproc(param1,param2);
      7   else
      8     myproc(parameter_passed=>'N');
      9   end if;
    10  end;
    11  /
    Default values are :1=2                                                        
    PL/SQL procedure successfully completed.
    SQL>

Maybe you are looking for

  • Not possible to open PDF file generated by Report functionality

    Hello, we are facing the problem that reports in PDF format deliverd in SharePoint by Duet Enterprise cannot be opened by Adobe Reader. The error we get is the following: Adobe Reader could not open "filename.pdf" because it is either not a supported

  • Album starter edition 3.2 won't let me copy/paste pictures

    hello, photoshop album starter edition 3.2,winxp home,dell dimension 5100,lexmark x3350,3gig ram. this program will not allow me to copy/paste any pictures from MY PICTURES/DOCUMENTS. they ALL go into the photoshop program. i have to right click on t

  • Workflow & camera choice

    I'm considering purchasing the Panasonic AG-HMC40. However, the idea of shooting in a native FCP format (like the JVC GY-HM100) strikes me as a fantastic idea. On the other hand it costs 50-75% more. (Cost is always an issue, no?) After you trick out

  • Specs for the Credit Release  Report ?

    Hi, I need this report urgently, can anyone help me out in creating the specs for the same :- Fields Of The Report a) Sr. No. b) Business Area c) Sales Representative d) Customer Code e) Customer Name f) Sale Order Number g) Qty h) Delivery No. i) In

  • How  to get captions for iPad photos?

    Is there a way to add an identifier to each photo iPad takes? Thanks