Fnd.request.submit_request fails in Forms Personalization - fine in TOAD
Hello,
I have this code to call a concurrent request within TOAD - it works perfectly.
I've created a special menu in the PO form so the user can submit the PO. In the personalization, I am calling the same code as I run in TOAD (with a slight exception), but I am getting an error. Since the code is long, the error doesn't display.
Here is the code that runs fine in TOAD:
DECLARE
l_success NUMBER;
xml_layout boolean;
BEGIN
fnd_global.apps_initialize( user_id => 1110, resp_id => 20707, resp_appl_id => 201);
xml_layout := FND_REQUEST.ADD_LAYOUT('PO',
'POXPRPOP',
'en',
'US',
'PDF');
l_success :=
fnd_request.submit_request
('PO', -- Application Short name of the Concurrent Program.
'POXPRPOP', -- Program Short Name.
'TEST PO', -- Description of the Program.
SYSDATE, -- Submitted date. Always give the SYSDATE.
FALSE, -- Always give the FALSE.
'R',
NULL,
'23',
'23',
NULL,
NULL,
NULL,
NULL,
'Y',
NULL,
'Y',
NULL,
1110,
2,
'N',
NULL,
'N',
'N'
COMMIT;
END;
Here is the forms personalization:
='DECLARE
l_success NUMBER;
xml_layout boolean;
BEGIN
xml_layout := FND_REQUEST.ADD_LAYOUT('PO',
'POXPRPOP',
'en',
'US',
'PDF');
l_success :=
fnd_request.submit_request
('PO',
'POXPRPOP',
'TEST PO',
SYSDATE,
FALSE,
'R',
NULL,
'23',
'23',
NULL,
NULL,
NULL,
NULL,
'Y',
NULL,
'Y',
NULL,
1110,
2,
'N',
NULL,
'N',
'N'
COMMIT;
END;'
Any ideas why this code won't run in the forms personalization?
I shortened the code and the error is:
"could not be evaluated because of error ORA-00923: FROM keyword not found where expected"
This isn't of much help to me.
Edited by: user11970177 on Mar 4, 2011 7:06 AM
Similar Messages
-
Forms personalization - passing a parameter to a concurrent request
I am using forms personalization to give the user the ability to submit a concurrent request from the 'Actions' menu of the form. I would like to be able to pass a field from the form to a parameter of the concurrent request. I know how to set a global variable using forms personalization. Does anyone know how I could use this variable as the default value for the parameter in the concurrent request? (e.g. The concurrent program uses PO number as a parameter - I'd like to be able to pass the PO number from the form to the concurrent request.)
user572941 wrote:
I am using forms personalization to give the user the ability to submit a concurrent request from the 'Actions' menu of the form. I would like to be able to pass a field from the form to a parameter of the concurrent request. I know how to set a global variable using forms personalization. Does anyone know how I could use this variable as the default value for the parameter in the concurrent request? (e.g. The concurrent program uses PO number as a parameter - I'd like to be able to pass the PO number from the form to the concurrent request.)Please see if old threads (which discuss the same topic) help -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Forms+AND+personalization+AND+Parameter&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
OIM 11G : Selecting Multiple RO's in Single "Self Request Resource" Failing
Hello Everyone,
OIM 11G : End User "Self Request Resource" failing when user selects 2 or more resources in a Single Self Request Resource Request
1) On OIM 11G, I have created 2 resource objects, workflow, process forms.
2) Created the separate request dataset xml and imported into OIM repository
3) Now if an end user creates a request , "Self Request Resource" and selects one of the resource
4) Form defined as per request dataset shows up perfectly for the application on Resource Attributes page which comes next.
5) Only Problem that I am seeing is when End User selects 2 resources in one single request
Both the resource request dataset has been correctly configured because selecting only 1 works not both when both are selected in same request.
Thanks,
DeepakHello Experts,
on OIM 11G
I am getting the above issue when an end user does a "self request resource" and selects 2 Resource Objects.
On the Next Page, attribute form defined as per the request dataset.xml does not show up.
Both the RO's are seen on top breadcrumbs but with a blank form. I can navigate to the next RO Resource Data Details again with a blank form.
Though the attribute form as per request dataset comes up properly if I select any 1 of the 2 RO's and make "self request resource". everything goes fine.
I have followed the documentation thoroughly to import the datasets etc and can see request dataset in MDS_PATHS table (DEV_MDS user).
If anybody has also faced a similar issue or tested that selecting 2 RO's in 1 single "self request resource" works , pls let me know.
Thanking in advance,
Deepak -
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. -
Forms Personalization Messaging.
Hi,
I am implementing a Forms Personalization that works fine apart from the fact that the Show Message displays twice.
Is this a feature of Personalization or is it something I can fix?
Thanks,
Kieran.Hussein,
Thanks for the reply. Here are the details of the personalization . . .
Form: CSXSRISR (Find Service Requests)
Condition
Trigger Event: WHEN-VALIDATE-RECORD
Trigger Object: CREATE_TASK
Condition: :CREATE_TASK.TASK_STATUS='On hold' AND :SYSTEM.RECORD_STATUS='CHANGED' (This has been shortened but gives the same result)
Processing Mode: Not in Enter Query Mode
Context: Set as User for Testing.
Actions
Seq: 1
Type: Message
Description: Imformation Message
Language: All
Message Type: Show
Message Text: =:CREATE_TASK.TASK_NUMBER || ' Refer to Admissions Training manual to determine if a letter is required'
Thanks again,
Kieran. -
Problem in Form personalization of FA module of Quick Additions
Hi Experts,
Version : 12.1.1
I am doing a form personalization in Quick additions of FA module.
I have registered a concurrent as PL SQL procedure. The procedure updates the asset number as per our requirement once the asset gets added.
To achieve this I have created a procedure to submit the concurrent request and executed the procedure as follows in form personalization:
Condition:
1) Trigger Event=> When Validate record
2) Trigger Object => Addition Dist
Actions:
1) Type => Buitin
2) Builtin Type => Execute a Procedure
3)Argument => 'begin proc_name end'
The problem is concurrent is being executed seven times,
Please suggest me your valuable solutions as soon as possible.Hi,
In PBO write like this.
Module SET_NAME_OF_SCREEN_PBO.
THEN INSIDE THE MODULE WRITE
Module SET_NAME_OF_SCREEN_PBO OUTPUT.
DATA PROCESS TYPE STRING.
IF SY-TCODE EQ 'ZPURCR_22609'.
PROCESS = 'CREATE'.
ENDIF.
IF SY-TCODE EQ 'ZPURCHG_22609'.
PROCESS = 'CHANGE'.
ENDIF.
IF SY-TCODE EQ 'ZPURDIS_22609'.
PROCESS = 'DISPLAY'.
ENDIF.
ENDMODULE.
Regards
Sandipan -
Hi Experts
We are working on one requirement in which on a standard D2K EBS form based on the response of a warning message we need to perform certain actions using Form Personalization.
The problem is that we are not able to capture response of OK and Cancel buttons of the warning.
If any one has come across such scenario, I would request to please share your valuable suggestions. 2898414
Thank You
Regards
Mirza TanzeelFigured out myself that this is mot possible using Form Personalization.
Only option possible is to try implementing by modifying custom.pll
Thanks
Mirza Tanzeel -
Hi All,
I get the below error when i refresh a report from smartview.
Small reports works fine but if the report is huge i get this error
Smart View Error: Requested Operation Failed. Error: Java.lang.NullPointerE
Smart View 11.1.2 MS OFFICE 2007 SP3
Essbase 11.1.2
Any pointers.
Regards,
Minkyou mean i have to set below in essbase.properties of aps
SET JAVA_OPTIONS=–Xms128m –Xmx1024m
Regards,
Mink -
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... -
Call form in EBS with form personalization
Hi all guru,
i try to call a form (function in EBS) with the form personalization and pass it one parameter (P_PO_HEADER_ID) in new SPECIAL41 menu:
1) create new sequenze with condition "TRIGGER: special41"
2) create action Built-in, type "Launch a function", function code "XX_TEST", parameter "P_PO_HEADER_ID = 3473".
In this case it's work fine
But i want pass the parameter P_PO_HEADER_ID dynamically coping the valus from the field :PO_HEADERS.PO_HEADER_ID....so parameter "P_PO_HEADER_ID = :PO_HEADERS.PO_HEADER_ID".
In this case dosen't work!!!!!
Any idea for solved the problem?
Tank's all
Attiliowith these tests I got the following errors:
1) P_PO_HEADER_ID = $(PO_HEADERS.PO_HEADER_ID)
errors(a,b,c,).....
a)no such parameter named G_QUERY_FIND exists in form XX_TEST.
(note: the parameter G_QUERY_FIND exist in the custom form)
b)Unabled to resolve reference to item PARAMETER.G_QUERY_FIND.
c)Parameter P_PO_HEADER_ID type does non match definition in form XX_TEST.
end of errors...
2) P_PO_HEADER_ID = ${PO_HEADERS.PO_HEADER_ID}
error....
Tokens in the string (P_PO_HEADER_ID = ${PO_HEADERS.PO_HEADER_ID}) could not be evaluated. Please check the syntax
Attilio -
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 -
Hi Team
I have an issue in my PO form personalization i have set an alert notification to alert the buyer
when the price varies from the standard cost it shows an alert notification //
but The buyer has to click more no of time in order to close each notification. ...?/This is the issue
I just want to close the notification in single click ...
what do i want to check in this issue to solve it
Please let know how to solve this issue ?
Thanks in advance
ATHi friends
In my form personlization
I have set one warning (ie) if the price entered in the Po line differs from the standard cost it alerts a popup warning that "the price entered is greated than that of the std cost"--this is the requirement..and the logic is fine
1)once if i create PO with price entered differs from the standard cost ,and if i save my Po line i ll get notification
in the popup it displays "the price entered is greated than that of the std cost"
2)my issue is
i get the warning when i try to close the warning by clicking "OK" -- here i have to click "ok" for more than 5 times
Once if i create a 2nd PO lines with price entered differs from the standard cost i get notification in the popup it displays "the price entered is greated than that of the std cost"
But for the 2nd po lines when i try to close the warning by clicking "OK"-- here i have to click "ok" for only twice
What i need to check for this issue please suggest your opinion
I want to close my notification in single click and start proceeding
I have used the Trigger event "when validate record " and the action i have set it as warning message
Yes my standard PO form 'when validate record' fires five times
Thanks in advance
Thanks
AT -
PO Form Personalization affecting for False condition.
Hello All,
I have done with PO(Enter PO) form personalization to disable the Cancel functionality from tools Menu for 'Goods' Line Type.
The condition am using for personalization is (:PO_LINES.LINE_TYPE= 'Goods') AND (:PO_HEADERS.DOC_TYPE_NAME = 'Standard Purchase Order')
For True status showing one Error message " You Cant Cancel PO"
Personalization is working fine for True Condition but for False condition the normal process has to happen means other than 'Goods' Line Type, User should able to Cancel PO.
But whenever am trying to Cancel Po other than Goods line Type its not working, Cancel PO form is not opening at all.
For this personalization I have followed the (Doc ID 1316584.1) Metalink document. I Also tried personalization with Trigger Special13 still same problem persisted.
If anyone knows Please help.
Thanks
Ravi Raj.Oracle Forms Personalization is a feature of the Oracle Enterprise Business Suite (EBS) not a feature of Oracle Forms. Please post your question in the EBS General Discussion.
Craig... -
How to use form personalization to lunch concurrent program
Hi,
Now I am using the form personalization to lunch a concurrent program with global variables.But how to post the global variables to the program parameters.
Thanks and best regards
Fang
Edited by: 895910 on Dec 25, 2011 7:54 PMHi,
I have defined global variables using form personalization. But how should i launch a SRS Form to submit a request and pass the variables as parameters. What should the syntax be.
Thanks and best regards,
Fang -
After Form Personalization getting problem
Dear All,
I did one form personalization, it's working fine. But the problem is ..
At the time of closing that form it's asking Do you want to save? with out changing any filelds.
Just i opened that form and queried records, then i tried to close that form . at this time it's asking do u want to save.
i didn't change any filed data.
why it's asking .pls give me solution.
Regards,
Reddy.E-business related questions are better asked here OA Framework
Maybe you are looking for
-
CS6 Applications crash at launch on new Windows 8 Machine
I've installed the entire CS6 Creative Suite on a new Windows 8 Machine. Launcing any of the applications other than Acrobat 10 causes a crash. Windows 8 and the Nvidia GTX670 are all up to date. Crash reports for Photshop and Illustrator are as foll
-
Do not see multitasking option in settings of iOS4.3.3 on ipad 1
Should I be seeing multifunctions in the settings menu of my ipad 1 with iOS 4.3.3?
-
Hey, I have an instrument for which there are a large number of controls on a panel. I want to have the controls reflect the state of the instrument at the time the panel opens. I was planning on creating a sub-vi, then clustering a reference to each
-
Can't find/use Exception OBJECT_NOT_FOUND in DBMS_DATAPUMP
Oracle DB 11.2.0.1.0 on Windows 7 Enterprise Hi All, maybe I'm not looking at the right place but it seems like OBJECT_NOT_FOUND exception is missing in DBMS_DATAPUMP. When I try to use "dbms_datapump.object_not_found" exception I have the following
-
Workbook - Import & Export authorization
Hi , I wanted to apply OSS Note "592918 - Error message "Workbook storage fault: " during opening". Start role maintenance transaction (PFCG) 2. Select role 3. Choose "Change" button 4. Select tab "Authorizations" 5. Choose "Change authorization data