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
Similar Messages
-
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 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,
YasNo Replies ? Is this an irrelevant question or I posted into wrong forum ??
-
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-9738174849Hello 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... -
Problem with IN OUT parameters whiloe calling procedure from Form 6i
Hi
Could some help please? I have the following scenario.
I am calling a stored procedure from form 6i by pressing a button on the form. Procedure has two IN OUT parameters, and I am passing these two IN OUT parameters and have declared them the way they are declared passed to the procedure. But I get an error when calling that procedure with these IN OUT parameters. the procedure works fine if parameters are IN only. The error says:
PLS:00363: Expression '1' cannot be used as an assigment target.
NO matter I pass some value or leave it blank, I get the same error message persistenetly.
Please help.
Thanksmake sure you are calling your procedure with variables as parameters,
i.e.
l_v1 := 1 ;
l_v2 := 'hello world' ;
your_proc(l_v1, l_v2)
not
your_proc(1,'hello world') -
Form Personalization in R12.1.3
Hi,
In R12.1.3, without enabling this Utilities:Diagnostics profile option value at the User(Or Site) level,
I am getting the error like this Function is not available for this responsibility.
But If I enable this profile option value as ‘Yes’ at user(or Site) level, it is working fine, but it is not prompting for ORACLE apps password, directly I am getting the forms personalize page
If we don’t enable this profile value, all the Diagnostics functions not working. Getting error like This function not available to this responsibility.
But sometime users will have the flexibility to enable the trace, examine..etc when they required.
Is there any way we can enable to prompt to enter Oracle Apps Password similar to 11i? Or It is intended functionality in R12? Can you please check it once and confirm?user8936206 wrote:
Hi,
In R12.1.3, without enabling this Utilities:Diagnostics profile option value at the User(Or Site) level,
I am getting the error like this Function is not available for this responsibility.
But If I enable this profile option value as ‘Yes’ at user(or Site) level, it is working fine, but it is not prompting for ORACLE apps password, directly I am getting the forms personalize page
If we don’t enable this profile value, all the Diagnostics functions not working. Getting error like This function not available to this responsibility.
But sometime users will have the flexibility to enable the trace, examine..etc when they required.
Is there any way we can enable to prompt to enter Oracle Apps Password similar to 11i? Or It is intended functionality in R12? Can you please check it once and confirm?It is an intended functionality in R12.
After Upgrade To Release 12.1.3 users receive "Function Not Available To This Responsibility" error while selecting sub menus under Dignostics [ID 1200743.1]
Not Able To Access Diagnostics Tool In Oracle R12 Instance [ID 1457779.1]
Why Can't Users Enable Forms Trace in 12.1.3 ? [ID 1223753.1]
Secure Configuration Guide for Oracle E-Business Suite Release 12 [ID 403537.1]
Oracle Application Object Library Release Notes for Release 12.1.3 [ID 1095283.1]
You may see the security functions using Role-Based Access Control (RBAC) -- http://www.oracle.com/pls/ebs121/search?word=Utilities%3ADiagnostics+&format=ranked&remark=quick_search
Thanks,
Hussein -
How to call Procedure in Forms
Hi All,
I'm having 1Form,in that one check box is there if i check that, if i save the form means it should automatically call the procedure.
Can any one know how to call th procedure inside the Form.When we save form procedure sholud call and Run.
Bit urget plsss
Regards
Sivathanks for ur reply,
i have got the solution
Cloding the Thread..
Regards
Siva -
Call procedure from form which displays HTML
I have a form based on a table with three columns. When I press the insert button, I want to insert the data into the table and then pass the data to a procedure (wihtin a package), which will call an external java procedure and get a passcode returned to it. I then need to display the passcode to the user's screen (which I am currently attempting to do via htp/htf calls within a procedure in the package).
I tried to put the call to the package in a trigger. It succeeded in calling the external procedure, but did not display anything to the browser afterwords.
I then tried to put the call to the PL/SQL code on my Insert button. I have tried various flavors of this call, but here is the current version:
declare
v_user_key_id lcams_db.user_token_link.user_key_id%TYPE;
v_tkn_ser_no lcams_db.user_token_link.tkn_ser_no%TYPE;
v_actv_ind lcams_db.user_token_link.utl_actv_ind%TYPE;
blk varchar2(10):='DEFAULT';
begin
v_user_key_id:=p_session.get_value_as_number(
p_block_name=>blk, p_attribute_name=>'A_USER_KEY_ID');
v_tkn_ser_no:=p_session.get_value_as_varchar2(
p_block_name=>blk, p_attribute_name=>'A_TKN_SER_NO');
v_actv_ind:=p_session.get_value_as_varchar2(
p_block_name=>blk, p_attribute_name=>'A_UTL_ACTV_IND');
lcams_db.otp.set_otp_user_key_id(v_user_key_id);
lcams_db.otp.set_otp_tkn_ser_no(v_tkn_ser_no);
lcams_db.otp.set_otp_actv_ind(v_actv_ind);
doInsert;--- This is the default handler
lcams_db.otp.otp_utl('INSERTING');
end;
otp is the package. I have three variables in my package otp_user_key_id, otp_tkn_ser_no, and otp_actv_ind which I pull from session storage and put into the package variables. the otp_utl sets a variable and calls otp_add_user, which gets more data from the table and calls the pl/sql wrapper for the java routine to actually add the user into the external OTP database. The java routine returns the status and initial passcode and then I call a routine internal to the package to display the results to the user via htp and htf calls.
The best result was getting the table to update and the external database to update, but I never got the resulting html to diplay. With the current code, the browser goes away with a message of Connecting to... and nothing gets updated and my browser eventually comes back with a 'No data...' message.
Is there a way to do what I want? Ideally I would like to call the package, display the results, and provide a back link so the user can get back to the original form after the user has read the passcode message.
nullOkay. I put the following code in the 'On successful submission of the form...'
section of the form and I tinkered with it until it works; however, it currently assumes
the Insert button was the button clicked.
declare
v_user_key_id lcams_db.user_token_link.user_key_id%TYPE;
v_tkn_ser_no lcams_db.user_token_link.tkn_ser_no%TYPE;
v_actv_ind lcams_db.user_token_link.utl_actv_ind%TYPE;
blk varchar2(10):='DEFAULT';
my_url VARCHAR2(200);
return_url VARCHAR2(200);
begin
v_user_key_id:=p_session.get_value_as_number(
p_block_name=>blk, p_attribute_name=>'A_USER_KEY_ID');
v_tkn_ser_no:=p_session.get_value_as_varchar2(
p_block_name=>blk, p_attribute_name=>'A_TKN_SER_NO');
v_actv_ind:=p_session.get_value_as_varchar2(
p_block_name=>blk, p_attribute_name=>'A_UTL_ACTV_IND');
my_url := 'lcams_db.otp.otp_utl?' | |
'p_user_key_id=' | | TO_CHAR(v_user_key_id) | |
'&p_tkn_ser_no=' | | v_tkn_ser_no | |
'&p_actv_ind=' | | v_actv_ind;
call(my_url,return_url);
end;
How do I determine which button was clicked for the 'On successful submission...' section so I can call the correct routine?
null -
Disable checkbox in multiple record block with form personalization in r12
hi
i try to personalized form 'Autocreate Document' in purchasing super user responsibility in R12
i want to disable some checkbox in block REQ_LINES that meet some criteria
but why when personalized run, it disable all checkbox in all record in block REQ_LINES
--Condition--
Event trigger : WHEN-VALIDATE-RECORD
Trigger object : REQ_LINES
--Action--
Type : property
Language : all
Object type : item
Target Object : REQ_LINES.SELECT_LINE
Properti name : enabled
value : false
please give me advice about this
thank you very much for helpI recommend you these forums for your question:
Forums Home » Oracle Technology Network (OTN) » Products » Database » JVM
Java in the Oracle Database
Forums Home » Oracle Technology Network (OTN) » Technologies » Java » Java Server Pages (JSP)
Java Server Pages (JSP)
Forums Home » Oracle Technology Network (OTN) » Technologies » Java
http://forums.oracle.com/forums/index.jsp?cat=24
Joel Pérez -
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 -
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?
ThanksI 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 -
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?
ThanksPl 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 -
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.
ThanksAsk in this forum : OA Framework
-
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
RaviHi,
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. -
EXIT_FORM in forms personalization
Hi All,
By entering anything in a database item in the form the status of the
block containing this item changes from 'QUERY' to 'CHANGED' and thus the
question 'do you want etc' is shown when leaving the form. I just
want to use the form as a querytool then leave the form by the command
exit_form(no_commit,no_validate);
How and where to call EXIT_FORM from forms personalization?
Oracle EBS 11.5.10.2 on Linux.
Thanks.If you are just using the form to query and view the data, the form will not show any warning message when you close it. You must be entering values in some fields when the form is not in query mode and form status is changing.
Open the form --> Press F11 --> Enter Query fields -- Press Ctrl + F11, unless you don't change the data, you can close the form and it will not show any warning messages.
Other option, if you want to use form as read-only, see if you can make the form function read only with READ_ONLY parameter. so that the entire form not editable.
Maybe you are looking for
-
GRC 10.0 SP14 - Poblems when generating rules for logical systems
Hello Experts! We recently updated a DEV system to SP14 and we're having issues regarding the rule set generation. I'd like to know if you have faced a similar problem after installing SP14. The details are described below: Create a test function ZTE
-
Changing the LTS mapping in BMM layer to new Physical Alias table
Experts I need to change the source table mapping in my BMM layer to new physical tables aliases. I have finished BMM layer design (column name changes, business friendly names etc.) before actually creating the alias tables in the Physical layer and
-
Sending PO as PDF attachment to Vendor
Hi Gurus I have requirement where, when PO is saved , a PDF attachment should be sent to Vendor email. Your help is appreciated. Regards, Gajanan
-
It's frustrating that they have the lousy live albums of Black Sabbath and none of their original studio albums. Specifically, their first three albums. The best music they ever did. Why aren't they available? Also, where are all the Blues Brothers A
-
Guides and Objects snap back when holding to long
When placing a new guide or resizing or moving objects these things snap back or disappear when holding the mouse button to long. I. e. when trying to position a guid I only have a few seconds to to, otherwise the guide just disappears. Same behaviou