Need to change in procedure already used in mulitple forms
There is ONE PROCEDURE IN database which called from approx 15 forms.
But now i want to make change in procedure i.e i want to add one more parameter but i don't want to make changes in all the screens to pass the parameters.
is it possible? if yes then please describe the steps
i'm using 10g and 11g forms and database.
Regards,
kam.
Then re-compile is the last option.
You can re-compile it without opening each form. Do a batch recompile.
Write this in a batch file
Echo compiling Forms....
for %%f IN (*.fmb) do frmcmp.exe userid=mail/tt@ait module=%%f batch=yes
module_type=form compile_all=yes window_state=minimize
ECHO FINISHED COMPILING Hope this will help you.
Edited by: HamidHelal on Jan 13, 2012 4:33 PM
Similar Messages
-
Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE
Hi,
I need to change date of a contract and for the same I am using Bapi "BAPI_CUSTOMERCONTRACT_CHANGE".
I am passing the following Parameters to the BAPI.
SALESDOCUMENT -- Have passed the Contract Number in this.
CONTRACT_HEADER_IN -- Have passed the values of the following fields ::
COLLECT_NO -- Sales Document number
Sales_Org -- Sales Organization
Distribution Channes -- Dist. Channel
Division -- Division
CT_VALID_T -- New date which I want as the contract end date.
CONTRACT_HEADER_INX -- Following values have been paased in this Structure.
UPDATEFLAG -- 'U'.
CT_VALID_T -- 'X'.
Now when I run the BAPI with these inputs I get the output as ' Field 'GUEEN' cannot be copied, because it is not ready for input'.This is a information message. But the changes are not reflected in the contract. I have done the commit work after BAPI.
When I changes the value for CT_VALID_T flag from 'X' to 'U' the message mentioned above does not come but the end result is same and changes are not reflected in the contract.
I would be really helpful to you if get any kind of helf to know ehy the output is not coming.
Thanks a Lot for your kind help!!!!
Regards,
Lalit KabraHi Lalit,
The value for CT_VALID_T flag has to be 'X' in the CONTRACT_HEADER_INX structure.
In this case, you receive an informative message "Field 'GUEEN' cannot be copied, because it is not ready for input'"
That is the problem. You cannot change this field because your functional team has this field as "not ready for input" in change mode.
Can you change this field in transaction VA42? If you can't modify it in dialog, you can't modify it with BAPI.
Regards, -
Consolidation unit change - error: company already used in hierarchy
Hi all,
I have Company 1018 moving up in the hierarchy from congroup B to congroup A.
I have configured the divestiture date as 12/2010 for Company 1018 in congroup B.
When I try to add company 1018 to congroup A, I get errormessage that u201CCompany 1018 is already used in hierarchiesu201D that it exist in congroup B.
Could anyone tell me exactly how to add company 1018 to congroup A to avoid this error message.
I understand that Iu2019m not doing this in correct way.
Thanks in advance,
Sveinn Muller.Hi,
SAP Note 702649 refers to when consgroup is moved
SAP Note 721376 refers to when cons.unit is moved, as it is in my case
I'm doing this according to below description in SAP Note 721376
the only problem is when I add 1018 in consgroup A in my example, I get mentioned error.
CG1
|- A First consolidation in 2003/012 (Start) divestiture accounting > (grater than) 2005/006 (End)
|- CG2
|- A First consolidation in 2003/012 (Start) divestiture accounting in 2005/006 (End)
Rgds.
Sveinn. -
Settings that I need to change so no restrictions on reader enabled forms
Hi,
I have a reader enabled form that needs to be filled in with a digital signature that needs to be added with a submit button to email to client however I don't want the restrictions. Just wondering what the settings are that I need to change so it only sends the data instead of the whole PDF form (so there are no restrictions) ?
CheersThanks.
So I've done the doc as xfdf and even though it still only saves and sends the form data it can still be viewed as a pdf with the new filled in content and printed nicely with the content. This is fine. Is there any expiration date as to how long this data can be view for? And just to confirm there are no restrictions on this plus the designer can use their copy of Arobat to create these forms, not the client? The client can also still view all the submitted forms fine if they don't have acrobat pro?
The only limitation is that signatures will not work.
Cheers -
I upgraded my old 3G Iphone to the new 5C and need to transfer the data and number. Is there a procedure to do this or do I just use the USB from the phone to my computer and use the ITUNEs.
Yes, use current iTunes on computer, Restore from back up of your iPhone 3g.
-
Hi,
I'm trying to change email address on my Apple ID since the email registered for the account has been hacked and I can't access it anymore. The email I want to change to is connected to another Apple ID I created about 4 years ago, though I successfully changed the email on that account as well. So the email I would like to use for my main Apple ID shouldn't be "locked" anymore.
Though, when trying to change the email on my Apple ID I get an error message (in Swedish, so this is a direct translate from google): "This e-mail address is your email address for notification. It can not be used as the Apple ID or primary email. Choose a different address."
I'm not really sure what this means or how I can fix this. The email address is connected to my Ipad and Iphone for the email app, can that have anything to do with it?
If it makes any difference, I updated both my Ipad3 and Iphone4 to ios 7 today. I'm trying to change from my Macbook air though.
Please advise, would really appreciate a reply ASAP.caek1 wrote:
Hi,
I'm trying to change email address on my Apple ID since the email registered for the account has been hacked and I can't access it anymore. The email I want to change to is connected to another Apple ID I created about 4 years ago, though I successfully changed the email on that account as well. So the email I would like to use for my main Apple ID shouldn't be "locked" anymore.
Though, when trying to change the email on my Apple ID I get an error message (in Swedish, so this is a direct translate from google): "This e-mail address is your email address for notification. It can not be used as the Apple ID or primary email. Choose a different address."
I'm not really sure what this means or how I can fix this.
It means exactly what it says... The email Address is in Use. You cannot re-use it.
Apple ID Support > http://www.apple.com/support/appleid/ -
I need to change my email add for my contact form
Hi there
I'm making a homepage in Muse for friend of mine. She needs online booking on her page. How is it possible with Muse?
Please help, if someone knows how to do
Thanks
SaraHi Sara,
Not sure what you are asking as the topic doesn't seem to match the comment
As for changing the email on a contact form just select the form, click on the small blue icon to open the properties and simply replace the email address there. -
When I first attached a cable from iphone6 to hdmi on tv, I was able to read kindle on tv. After watching movies and playing Pandora from iphone to tv through the cable, I can no longer read kindle through it. What settings do I need to change?
Hi,
Already mentioned on the following post:
http://h30434.www3.hp.com/t5/Other-Notebook-PC-Questions/VGA-on-laptop-HDMI-on-TV-needs-connected/m-...
You need a CONVERTER, not ADAPTER The setup:
The following list may help:
http://www.ebay.com.au/sch/sis.html?_kw=HDMI+To+VGA+COMPONENT+Adaptor+A+V+Digital+Converter
Laptop (VGA) ---- Converter from VGA to HDMI ------ TV
You also need sound, you can buy a converter with sound OR connect sound directly from laptop to TV.
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
Help needed regarding change of system CLASSPATH
Hi All,
I need to change the system CLASSPATH using my java programe. I tried the following code but its not working though it returns the correct CLASSPATH, but unable to do the modification. All I need is to append a new jar file in the existing CLASSPATH..
code]
try{
sysMap = System.getenv();
}catch(Exception se1){
System.out.println("Exception in finding Environment properties");
Set Keys = sysMap.keySet();
Iterator It = Keys.iterator();
while(It.hasNext()){
String strNow =(String) It.next();
if(strNow.contains("CLASSPATH")){
System.setProperty("CLASSPATH", ".;C:\\Calypso\\Software\\\\Release\\jars\\calypso.jar;C:\\Calypso\\Software\\Release\\build;C:\\Calypso\\Software\\Release\\build\\calypsofx;C:\\Calypso\\Software\\Release\\resources;C:\\Calypso\\Software\\Release;C:\\Calypso\\Software\\Release\\jars\\jconn2.jar;C:\\Calypso\\Software\\Release\\jars\\jaxb-1.0.4\\;C:\\Calypso\\Software\\Release\\jars\\javacup.jar;C:\\Calypso\\Software\\Release\\jars\\antlr.jar;C:\\Calypso\\Software\\Release\\jars\\ojdbc14.zip;C:\\Calypso\\Software\\Release\\jars\\web\\servlet.jar;C:\\Calypso\\Software\\Release\\jars\\web\\webserver.jar;C:\\Calypso\\Software\\Release\\jars\\ftp.jar;C:\\Calypso\\Software\\Release\\jars\\itext-1.02b.jar;C:\\Calypso\\Software\\Release\\jars\\Jama-1.0.1.jar;C:\\jdk1.5.0_10\\bin;C:\\Calypso\\Software\\Release\\webfx\\calypsoWebFXServer.jar;C:\\XXX.jar");
System.out.println("Classpath changed");
Any help will be appreciated.Hi Kaj ,
Well I am in a situation where we need to extend a
existing system and we are providing the client with
a new jar file for every modification. Now all I need
is that our programe automatically add (infect
append) the jar file in the existing system
CLASSPATH, so that the client need not to add(append)
the new jar files all the time.
Can you provide any help??As others have said, use -cp as argument when you start your application. It's quite common that people write a script that adds all jars in a certain directory to the argument to -cp.
Kaj -
Need to change report data source on reports in a copied universe
We are setting up a new testing environment. So I made a copy of our BO universe so we could have two different testing universes. I then created a copy of the data source database that will be used as the data source for the reports in the copied universe. The two different databases have the exact same tables, columns and indexes as the development database. The only difference will be the data inside the tables.
I now need to change the reports to use the new universe since the reports were written using the universe instead of using the database. I am not changing anything else in the reports. I just need them to run against a different Oracle database.
So I go into Crystal Reports version 11.5.0.313 and open the report up. I then go into Database fields in Field Explorer to change the data source. I then go to the Set Datasource Location screen. I open up the universe label by clicking on the plus sign and I select the copied universe. When I do that, the Business Objects Query panel screen opens up. Because I have switched universes, Crystal Reports wants me to reselect the columns and rebuild the query.
We have over three thousand reports so we are trying to avoid rebuilding them. I am looking for a better way to change what database a report runs against.
Note: All of the reports will be run ion demand. Nothing will be scheduled.
Any suggestions and information will be greatly appreciated.
Has anyone run into this? What was your solution to this problem?Hi Joe,
Moved your post to the Universe Forum.
First you are using the original release of XI R2. You need to upgrade to Service Pack 6 by:
Run License Manager first to get the keycode if you don't have it on paper somewhere.
Then download these and uninstall then run full build first:
https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
Try again
Don -
How to call a stored procedure that use a type defined in a package?
Hi all,
this is stored procedure:
GET_GIORNATAEVENTO( in_nome_servizio IN VARCHAR2,
out_dati_aggiornati OUT TAB_VARCHAR2);
TAB VARCHAR2 is defined in the package specification:
TYPE tab_varchar2 IS TABLE OF VARCHAR2(5) INDEX BY BINARY_INTEGER;
and this is the name of the package: PKG_SERVIZI_MMSPUSH.
This is my php script:
<?php
// Connect to database...
$c=OCILogon("venus_vfl", "venus_vfl", "venvi");
if ( ! $c ) {
echo "Connessione non riuscita: " . var_dump( OCIError() );
die();
echo "<br>PKG_SERVIZI_MMSPUSH.GET_GIORNATAEVENTO</br> ";
echo "<br> </br>";
// Call database procedure...
$in_servizio = "MOTO";
$s = OCIParse($c, "begin PKG_SERVIZI_MMSPUSH.GET_GIORNATAEVENTO(:bind1, :bind2); end;");
OCIBindByName($s, ":bind1", $in_servizio);
OCIBindByName($s, ":bind2", $out_esito);
OCIExecute($s,OCI_DEFAULT);
echo "OUT_DATI_AGGIORNATI= " . $out_esito;
// Logoff from Oracle
OCILogoff($c);
?>
How to test stored procedure to get the output parameter?
Thanks in advance.Thanks,
but I need to test stored procedures that uses type defined in the package.
e.g.
if I have s.p.
PROCEDURE get_risultati_squadra
( in_squadra IN VARCHAR2,
out_serie OUT tab_varchar2_5,
out_tiporisultato OUT tab_varchar2_5,
out_n_giornata OUT tab_varchar2_5,
out_squadre OUT tab_varchar2_200,
out_risultato OUT tab_varchar2_10,
out_marcatore OUT tab_varchar2_50,
out_punti OUT tab_varchar2_3,
out_rimbalzista OUT tab_varchar2_50,
out_rimbalzi OUT tab_varchar2_3,
out_esito OUT tab_varchar2_2);
I have to define every type external to the package, in this case five new TYPE !!
Is there another way to solve this problem?
Thanks -
List of tables used in Custom Forms
Hi All,
I am working on forms . There are nearly 100 forms, I need to find all the tables used in these forms.
Is there any way I can know the list of tables used in each form from backend.
Or do I need to open each form and analyze the forms one by one?
Thanks,
Raj KumarI am working on forms . There are nearly 100 forms, I need to find all the tables used in these forms.
Is there any way I can know the list of tables used in each form from backend.
Or do I need to open each form and analyze the forms one by one?You cannot get the list from the backend.
You have 3 options here.
Option 1) Open each form using Forms Builder and get the list of objects
Option 2) Use Record History and LAST_QUERY
Option 3) Enable trace
How To Determine Table and Column Name from a Field in a Form in 11i [ID 259722.1]
FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
Thanks,
Hussein -
I have changed my e-mail address and therefore need to change my apple ID. When I change it to my new address it says it is already my rescue address and cannot be used. Any ideas how to change my rescue address?
To change the iCloud ID ("email address") you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use. When you do this you may find that the password for your old ID isn't accepted. If this should happen, and if your old ID is an earlier version of your current ID, you need to temporarily recreate your old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Click edit next to the primary email account, change it back to your old email address and save the change. Then edit the name of the account to change it back to your old email address. You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll. When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was. Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
-
I used different email addresses when I signed up for my iPod and my iPhone. I would like to use only ONE email address for both devices. When I try to edit, it tells me there is already a user with that address (hint: I know that!). Does anyone know how to sync two email accounts into one? Thanks,
When I go into my account settings and try to change my old hotmail address to my current Yahoo! address, it tells me "That email address is already used as an Apple ID." Yeah, I know that. I set up the account that I'd really, really, like to have together, but it won't let me go further. End of activity! It is trusting that my email account and password are correct b/c it will let me make purchases, etc., so it's not like it is preventing fraud or anything. Summary: iPod = Yahoo!, iPhone = hotmail, would like to have both reflect my Yahoo! address.
-
Need some help on procedure calling procedure using object type reg
dear all,
i need to test one procedure by passing only one value but how do i pass single value. i am showing the details of few section on which i am working on. here is few details about the package.
Description: package pkj_emp contains two procedure pkj_emp and procedure proc_rem.
purpose:based on passing dname values to procedure pkj_emp, cursor cur_emp will fetch empid from emp table and then we are passing 4 empid records to procedure proc_rem using empid object type.Inside the procedure proc_rem it will delete all 4 records of table A,B,C and D at one short.
Requirement:i need to test for only one value that means is it possible i can pass only one value using the cursor cur_emp.
create or replace package pkj_emp
TYPE obj_emp IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
procedure proc_emp(empid obj_emp);
create or replace package body pkj_emp
as
procedure(
dname varchar2;
as
cursor cur_emp is select emp_id from emp a,dept d
where a.deptid=d.deptid
and d.deptname=dname;
begin
count:=0;
for cur_emp_rec in cur_emp LOOP
empid(count) := cur_emp_rec.emp_id;
IF (count = 4) THEN
proc_rem(empid); // calling another procedure
commit;
END IF;
count := count + 1;
END LOOP;
end;
proc_rem(
empid obj_emp;
is
begin
delete from A where emp_id in (empid(0),empid(1),empid(2),empid(3));
delete from B where emp_id in (empid(0),empid(1),empid(2),empid(3));
delete from c where emp_id in (empid(0),empid(1),empid(2),empid(3));
delete from d where emp_id in (empid(0),empid(1),empid(2),empid(3));
end;
regards
LaxmanYou have hardcoded your IN LIST in the REM procedure. I recommend changing the code to take a variable number of inputs. You could do something like the following:
SQL> CREATE TABLE A (ID NUMBER);
Table created.
SQL> CREATE TABLE B (ID NUMBER);
Table created.
SQL> CREATE TABLE C (ID NUMBER);
Table created.
SQL> CREATE TABLE D (ID NUMBER);
Table created.
SQL> INSERT INTO A VALUES(7566);
1 row created.
SQL> INSERT INTO B VALUES(7902);
1 row created.
SQL> INSERT INTO C VALUES(7876);
1 row created.
SQL> INSERT INTO D VALUES(7369);
1 row created.
SQL> CREATE OR REPLACE TYPE EMP_TYPE AS TABLE OF NUMBER(4);
2 /
Type created.
SQL> CREATE OR REPLACE PACKAGE PKJ_EMP
2 AS
3 PROCEDURE PKJ_EMP
4 (
5 DNAME IN SCOTT.EMP.DEPTNO%TYPE
6 );
7
8 PROCEDURE REM
9 (
10 pEMPList IN EMP_TYPE
11 );
12 END PKJ_EMP;
13 /
Package created.
SQL> CREATE OR REPLACE PACKAGE BODY PKJ_EMP
2 AS
3 PROCEDURE PKJ_EMP
4 (
5 DNAME IN SCOTT.EMP.DEPTNO%TYPE
6 )
7 AS
8 pEMPList EMP_TYPE := EMP_TYPE();
9 i NUMBER := 1;
10 BEGIN
11 FOR r IN
12 (
13 SELECT EMPNO
14 FROM SCOTT.EMP
15 WHERE DEPTNO = DNAME
16 )
17 LOOP
18 pEMPList.EXTEND;
19 pEMPList(i) := r.EMPNO;
20
21 i := i + 1;
22 END LOOP;
23
24 REM(pEMPList);
25 END PKJ_EMP;
26
27 PROCEDURE REM
28 (
29 pEMPList IN EMP_TYPE
30 )
31 AS
32 BEGIN
33 DELETE FROM A WHERE ID IN (SELECT COLUMN_VALUE FROM TABLE(pEMPList));
34 DELETE FROM B WHERE ID IN (SELECT COLUMN_VALUE FROM TABLE(pEMPList));
35 DELETE FROM C WHERE ID IN (SELECT COLUMN_VALUE FROM TABLE(pEMPList));
36 DELETE FROM D WHERE ID IN (SELECT COLUMN_VALUE FROM TABLE(pEMPList));
37 END REM;
38 END PKJ_EMP;
39 /
Package body created.
SQL> EXEC PKJ_EMP.PKJ_EMP(20);
PL/SQL procedure successfully completed.
SQL> SELECT * FROM A;
no rows selected
SQL> SELECT * FROM B;
no rows selected
SQL> SELECT * FROM C;
no rows selected
SQL> SELECT * FROM D;
no rows selected
SQL> spool off;HTH!
Maybe you are looking for
-
FIX FOR: iPhone 4 battery draining fast, phone running hot
I had the same issue many have reported here and in comments on blogs, where their +_battery was draining at least twice as fast_+ as on an iPhone 3GS with iOS 4. Some threads suggest +_this happens to iPhone 4 when restored from a 3G or 3GS_+, and i
-
End of page in ALV display using OOPS
Hi all, How can i display end of page or footer in ALV display using OOPS concept. Thanks, vinit
-
All my file type associations work fine. Every image opens in Photoshop CC 2014. No problem there. But when I make a droplet I do have a problem. The droplet opens Photoshop CC (not 2014) and my actions fail because that is a Dutch version of Photosh
-
Can I show different fonts and colors text on 1 multi-line text fields?
I want to format different messages on 1 mutli-line field with different fonts and colors for the heading lines. Can I do that in Forms 6i ?
-
HT1551 Hi, i have an Apple TV and i need to add storage to it,is that possible?
i have a task of connecting an external storage accesible through apple tv.please suggest me the best solution on it.