How to set org in a Oracle custom form
Hi,
We are migrating a custom form from 11i to R12. But the form and LOVs in the fields dont return any values in R12. The custom views attached to these LOVs, return values in toad when the org is set. We think that the issue is that the org is not initialized in the form.
Can anyone help on how to resolve this?
Would it help if we used "MO_GLOBAL.SET_POLICY_CONTEXT('S',fnd_global.ORG_ID);" in the when new form instance trigger in the form.
Thanks
YOu should ask your question in an ebusiness-suite related forum.
Similar Messages
-
How to set record history for a customized form?
i have created a customized form and register it onto apps. everything is working fine expect for the Record History part. while going to Help -> Record History for my customized form it showing error message -
Recird History is not availbale here.
Please suggest if i have to write a specific trigger for setting the record history. also please provide the sample code for the same.
Thanks,
SamSam,
Please see if these threads help.
How to enable record history for custom forms
How to enable record history for custom forms
RECORD HISTORY (or) WHO COLUMNS in R12???
RECORD HISTORY (or) WHO COLUMNS in R12???
Regards,
Hussein -
How to set the status for a customer plan to RELEASED.
Hello all,
I created a program for mass creation of customer plans. But after the creation of a plan, the status should be set to released, so that the user can go about creating the trade promotions for the customer plan. Can anybody tell me how to set the status of a customer plan to RELEASED.
Thanks,
Disha.Hi Clemens,
I am not talking about doing it in the CRM_UI transaction..I created a program..which would create the customer plans based on the planning account data provided. I was succesfull in creating the plans, but I am not knowing how to release it, if only anybody can tell me about a Function module or method, which can help me do this, that would be great
Thanks,
Disha. -
hi,
sap gurus,
how to set partner determination procedure for customer
hierarhies.........
regards,
balaji.t
09990019711.Hello Rajesh,
The PDP is set up in customizing.You must create a regular partner determination procedure.In the IMG choose
CRM>Basic Functions>Partner Processing-->Define Partner Determination Procedure
You can define a partner determination procedure for each object type.
PDP assigned to the object type Campaign can also be campaign-type-dependent.
IMG:CRM>Marketing>Marketing Planning and Campaign Management>Partner Processing>
Assign Partner Determination Procedure
Hope this helps!
Best Regards,
Shanthala Kudva. -
How to set value on MRU insert Tabular Form
This post refers to the forum article found How to set value on MRU insert Tabular Form
I have included the problem and proposed solution below. My problem follows
Problem
Hi,
I am using a Tabular Form. I used the wizard and it created all of the items (Cancel, Submit, Add, Multidelete buttons, etc.). I have a table that is like an FK table. For instance, we could have a customer table, and then a customer address table. Each customer could have multiple addresses. In the address table, the first ID column is the customer ID. So in using the tabular form for the addresses, I need to make the first column the same when I insert. But when I choose add row, everything works fine except it tries to insert a null into customer id. The uniqueness of the row is determined by customer ID and address string.
Any time I make it to this screen, all new rows will have the same ID with I have in a variable that I can reference from the page called :P0_ITM_CUST_ID.
How do I set the first value for all inserts? My guess is I need to do this in Computations. I'm also guessing I need to do this with a replace statement. I'm just not sure how to reference the first column of the new row.
Thanks!
Tim
Solution
The way to do this is by using the "Default" value for that Column. Go to
Home>Application Builder>Application xxx>Page yyy>Report Attributes>Column Attributes
Set the default value for newly added rows as in
http://img237.imageshack.us/img237/5758/screenshot012di2.jpg
Hope this helps.
Un-resolved problem
have also tried to do this but the fields I see are not the same.
Please see screenshot=http://krisjones.freewebspace.com/apex.JPG
I am using the Oracle hosted environment, so 2.2.1.
To my knowledge I have done the same as the user in the first post. Am I doing something incorrectly or should I have created the tabular form differently?
Many thanks. KrisKristian - You see a different version of the form depending on whether the selected column is the primary key column or not.
Scott -
How to view concurrent program LOG from custom FORMs
Hi,
How to view concurrent program LOG from custom FORMs?
Thanks
ESLHi Thanks for your response....
lets assume there are 2 buttons, first button to submit concurrent program and second button to view concurrent program output/log.
Actually im able to submit concurrent program from oracle custom form(6i) in ebusiness(11.5.0.2) i.e first button (WHEN-BUTTON_PRESSED buitin).
Rather user navigating to VIEW-> REQUEST, i would like to give option to user to view concurrent program output/log when user clicks on second button (WHEN-BUTTON_PRESSED buitin)
How can i achive this?
Thanks,
ESL -
How to enable attachment icon to a custom form
Hello all,
I am developing one custom form in 6i version.. can any one help me how to enable attachment icon to a custom form..
Thanks in advance.What exactly are your trying to do when you say "enable attachment icon"? Also, since you mention "Custom Form" I assume you are developing in the Oracle Enterpise Business Suite (EBS). Whatever you are attempting, there may already be an "Apps Approved" method for doing this. I suggest you review the Applications Documentation specifically the Oracle E-Business Suite Developer's Guide and Oracle E-Business Suite User Interface Standards for Forms-Based Products guides. Also, you might want to post your question in the General EBS Discussion Forum.
Craig... -
How to run a report from oracle 10g form in .csv format
dear all,
how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
i'm using
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
Please Help..i have already tried.
but the report show in htm or html format. that file will not save into csv. please help. -
How to use Key Flex Fields in Custom Form
Dear Members,
I have developed a custom form.
In my form there is a search criteria for location.
When ever user wants to query based on the location ,I want to display Asset Location Key Flexfield so that user can choose the respective segements and search the assets.
Can any one please tell me what is the procedure to be followed to display Key Flex Fields in the custom forms?
Your inputs will be of great help to me.
Thanks in advance.
Best Regards,
Arun Reddy.Hi,
Please see the note:730068.1 - How To Invoke a DFF from a custom form
Thanks,
Ajikumar G -
How to attach PLD layout for my custom form.
How to attach PLD layout for my custom form.
Or
How to enable print functinality for my custorm form - purchase indent etc
Is the only option is Query print layout or any other option?Hi,
Unfortunately, you cannot create your own PLD layouts for your addons. Instead, most developers opt for a third party report writer such as Crystal Reports or SQL Reporting Services to provide reports.
If you search this forum you'll find a lot of useful information on how to integrate Crystal with your addon.
Kind Regards,
Owen -
How to set max size for a custom field ucm11g
Hi,
I need to set maximum length to a custom field created in ucm11g 11.1.1.6
The field's data type is Text and for example i want to limit the length to 10 characters
Any example how to do this ??
Regards
CarlosHi ,
If you are looking to limit the number of characters that can be entered to the field from GUI then a global side effect and rule combination will help you achieve it . It would be something like this :
This is done by leveraging Side Effects under Rules - Rules Activation Conditions. You also need to set the Rule as Global for this to be effective across the system.
In there the following has to be set:
<$dDocTitle:maxLength=80$>
<$dDocName:maxLength =50$>
Set the above side effect in the rules and corresponding Profile need to refer it for being able to limit the number of characters that can be entered for Title and Content ID.
Custom metadata too can be controlled in the same way . For example, if metadata "Version" need to limit the number of characters being entered then "Side Effects" to be set is as follows :
<$xVersion:maxLength=50$>
NB - the maxLength parameter is not supported for fields of type Memo. It will only take effect on standard text fields.
Thanks,
Srinath -
How to set default field values in customer master data.
hi,
I want to set default values in customer master data (account group wise).
but
I don't know how to set it .
please help me.
(I don't want to change field status in account group rather than I want to set default values for field. )
thank you.hi,
this is to inform you that,
in SAP there is no such a provision.
but
in LSMW there is an option of CONSTANT VALUES.
check in SHD0 - also
please check and confirm
balajis\a -
How to set lock level in Oracle
Does oracle have the similar way to set the lock level as SQL Server, say I have a statement in SQL server like:
update tablename with (rowlock) set....
How to convert it to an oracle statementUpdate statement automatically places a row level lock, so no extra statements (and/or steps) may be necessary.
You could optionally do a SELECT ... FOR UPDATE ...
to explicitly lock the rows you are about to update. -
How to set the language of oracle universal installer
Hi all,
I have downloaded oracle9i database release 2 Enterprise/standard/personal edition for windows. so I got the them into 3 different folders as said in the oracle site. I have few questions.
1.i have installed oracle using the universal installer, but my operating system is winxp german version.I want the installer to be in english so that i can easily navigate, how can i set the language. Does the installer automatically detects the OS and chosses the language.
2. I have 2 sql scripts. One with Schema(tables for database with create statements) and other file with data(insert statements).That is Schema.sql, data.sql. How can i use these scripts for querying using the installed database.
3. I am totally confused with SID, how to set it and what does it indicate(functionality).
4. The login for SQL PlUS, i used scott and tiger. Because i think the installer did not installled completely, i could not create my own username/password. What will be the host-string while logging to sqlplus.
Thanks and Regards
Babu.1.i have installed oracle using the universal installer, but my operating system is winxp german version.I want the installer to be in english so that i can easily navigate, how can i set the language. Does the installer automatically detects the OS and chosses the language.From the control panel, regional setting, make default for English (United States) and English as default language. While installing oracle from OU, choose only english langauge.
2. I have 2 sql scripts. One with Schema(tables for database with create statements) and other file with data(insert statements).That is Schema.sql, data.sql. How can i use these scripts for querying using the installed database.Once you have installed oracle and create database, make sure the following and then run your scripts.
1. Check oracle services are started or not from the windows services. If yes, then do step 2, else, start services first and then do step 2.
2. set oracle_sid=your_database_name
3. sqlplus /nolog -- when you give this command, if you get reply that connected to idel instance, then, your database is not up, in this case, startup your database after step 4. (startup)
4. connect / as sysdba
5. run your script to create schema.
--once schem created. connec to your newly created schema.
6. connect username/password --
7. run the script (insert records)
3. I am totally confused with SID, how to set it and what does it indicate(functionality).ORACLE_SID is nothing bur your oracle database name. You will be asked to provide the database name while installing and creating oracle database.
4. The login for SQL PlUS, i used scott and tiger. Because i think the installer did not installled completely, i could not create my own username/password. What will be the host-string while logging to sqlplus.As long as you want to do it on the database server, then, you dont need tnsname. If you want to access database from other machines, then, you need to create a tnsname to connect.
Jaffar
OCP DBA -
How to set authorization - salesman with own customer
Dear all,
would like to know how to set for the following:
User01 cannot create SO/Quotation with the user02's customer.
If fact, we have 10 salesman and they have their own customer individually, each salesman is only enable to use their own customer to create SO/Quotation and they are not allow to see other's salesman's customer or SO/Quotation.
please kindly help.
thank you very much.Hi,
a solution could be as follows:
- create and mantain a ztable where you stablish the relationship between user and customer (this user can work with those sold-to's).
- use userexit MV45AFZZ, form userexit-field-modificaction and check here if user creating the S.O. is found in ztable. Once you type in your sold-to system will check and you can pop-up an error message and stop the transaction if needed.
- you'll need a developper for this solution.
Regards,
Joan
Maybe you are looking for
-
How are you supposed to get help from Apple if you don't know what your serial number is? They say to input the serial number of the "product" that you are asking about. Since my problem is how to deauthorize/authorize computers, and they are sayin
-
Disable all the foreign keys in a database
Hy, what sql to use to disable all the foreign keys in a database and how to enable all them again. Thanks
-
Can't See Facebook "Log In" Button
When using Safri to access Facebook there is not "Log In" button displayed and therefore I can't log in. When I use Chrome everything is normal. I have cleared my cache and rebooted but nothing seems to help. Any thoughts?
-
Moving Subtitle clips in the timeline
I want to select all of the clips in one subtitle stream and slide them up in time by 1 sec. I'm sure it's simple but the obvious Shift-click or Command-click doesn't get it. Thanks.
-
Job Posting Data Overview Form
Hi All, In my job posting process there data overview tab where we see a PDF form coming up with all the data of Job posting. I had to made changes to my standard smartform by copying it(HRRCF_DATA_SUMMARY_POSTING) into custom (Z) smartform " ZHRRCF