A/c modifier@a/c key def
hi,
pls make me know abt a/c modifier@a/c key def in fi&sd integration
regards
jana
Hi,
Account Key means Automatic Posting of G/L Account Thru account determinsation system will hit gl account.
Similar Messages
-
Modify a primary key constraint
Hi,
I'm starting with oracle, and I have two doubts that can't handle after searching on the internet.
1º It's possible to make an ALTER TABLE of a CONSTRAINT DEFAULT?. Maybe you think that the question should be in another way like this: Does oracle database take the default condition as a constraint?. As long as I know, doesn't do that.
2º It's possible, with an ALTER TABLE, to MODIFY a CONSTRAINT of a PRIMARY KEY, to add another more field?
I've been searching on the internet, but I didn't find a clear answer. I'm using oracle 10g express edition.
Thank you very much.
P.D.:Sorry for my english it's not very good.#2 - You can not 'add a column to the primary-key constraint of a table' with a single ALTER, but you can drop and re-create the primary key constraint (including the additional column).
13:25:26> create table t1 (a number primary key, b number, c number );
Table created.
Elapsed: 00:00:00.09
13:25:46> alter table t1 drop primary key;
Table altered.
Elapsed: 00:00:00.06
13:25:47> alter table t1 add primary key (a,b);
Table altered.
Elapsed: 00:00:00.09But you will not be able to drop the primary key of an index-organized table.
13:25:47> create table t2 (a number primary key, b number, c number ) organization index;
Table created.
Elapsed: 00:00:00.03
13:25:59> alter table t2 drop primary key;
alter table t2 drop primary key
ERROR at line 1:
ORA-25188: cannot drop/disable/defer the primary key constraint for
index-organized tables or sorted hash cluster
Elapsed: 00:00:00.00
13:25:59> #1 - I'm not sure I understand your question , but you can alter a table's column to have a default. This is not a 'constraint', but a default. It only has effect when you perform an insert which does not include that column.
13:31:23> alter table t1 modify (c default 3.14);
Table altered.
Elapsed: 00:00:00.04
13:31:24> insert into t1 (a,b,c) values (1,2,3);
1 row created.
Elapsed: 00:00:00.01
13:31:24> insert into t1 (a,b,c) values (4,5,NULL);
1 row created.
Elapsed: 00:00:00.00
13:31:24> insert into t1 (a,b) values(6,7);
1 row created.
Elapsed: 00:00:00.01
13:31:24> select * from t1;
A B C
1 2 3
4 5
6 7 3.14
3 rows selected.
Elapsed: 00:00:00.18 -
Modify / Add registry keys through GPO
Hi
How can we add / modify registry key through GPO (we are using Windows 2003 AD). Our requirement is to add / modify below key
HKEY LOCAL MACHINE\Software\Microsoft\Ole , Name: EnableDCOM, Type: REG_SZ, Data: Y
Thanks in advance
LMSHi,
In addition to the above suggestions, Registry GPP is another alternative method to achieve your goal.
You do not need to upgrade to Windows Server 2008 or Windows Server 2008 R2 to use Group Policy Preference policies. You can configure a Group
Policy preference item in a Windows Server 2003 environment from either a Windows Server 2008/R2 server or a Windows Vista with Service Pack 1/Windows 7 client with RSAT update installed. If you do not have Windows Server 2008/R2 server, you can download
and install Remote Server Administration Tools on a Windows Vista or Windows 7 client to manage and configure them.
Microsoft Remote Server Administration Tools for Windows Vista
http://www.microsoft.com/downloads/details.aspx?FamilyId=9FF6E897-23CE-4A36-B7FC-D52065DE9960&displaylang=en
Remote Server Administration Tools for Windows 7
http://www.microsoft.com/downloads/details.aspx?FamilyID=7D2F6AD7-656B-4313-A005-4E344E43997D&displaylang=en
The CSEs for the new Group Policy preference functionality are required in Windows XP Service Pack 2 (SP2), Windows Server 2003 Service Pack 1 (SP1), and Windows Vista to process the new preference items. To download and install CSEs, please refer to the following
link:
Information about new Group Policy preferences in Windows Server 2008
http://support.microsoft.com/kb/943729
Regards,
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
ACE SSL - Modifying certs and keys
I'm having a problem updating the certs and keys I have in my ssl-proxy service.
My cert is about to expire and I've purchased a new cert. I've uploaded the new cert and key, but I still see the old cert when I go to the VIP with my browser. I thought that by deleting the proxy-service and re-adding I could get the ACE to recognize that it's got new certs but that didn't seem to work.
Is there a trick to make the ACE see the new certs? Does it cache the certs instead of reading them from flash? What's going on here.
Thanks!I changed my certs hot while the application was still running worked like a charm.
What i did was.
- import the new certificate into the crypto store (pkcs12)
- prepare a textfile with the necessary commands
no key old
key new
no cert old
cert new
- paste the commands into the running config.
I had several Customers and Application Admins test the App. while i was changing certs. They didn't even notice something happened. After approx. 60 seconds all new connections were using the new cert old connections were using the old cert. No trouble at all.
And yes the ACE caches the certs if i am not mistaken.
If you want to make sure that it works just create a test context or try it on a test farm first. That's what i did prior to changing the certs and the config on the production enviroment.
Hope it helps.
Roble -
Regarding :Modifying the partition key column
Hi,
I have Create one table.At that time i did range partition on one column(callend).these table has 1000 millions records.Now I want to chage that partiion on another column (callstart) .How can i do this.
Kindly provide me suggestion
Regards.Much nicer type of reply:
My best advice would be to just create a new table.
Since your data is already partitioned, it is unreasonable at that time to try to "change" that partitioning column.
Yes, you obviously have to, otherwise you wouldn't be asking I'm sure. Go ahead and just create a new partitioned table based on callstart and relax for a few hours :)
You might want to even use two separate boxes within the same network to perform this task. So that one box is focused on selecting and sending and the other box is worried about partitioning the data to a new table. Access via DB link. -
I need a way to turn ON the clearing of the cache programatically within a logon script. Kids are not clearing the cache and the roaming profiles on the Windows XP and Windows 7 machines are getting way too big to be moved across the network on every logon and logoff. Otherwise we will have to remove Firefox, which I do not want to do, nor do most of the people in the school :)
There have been some threads here about large-scale deployment, but I don't know whether they would help after Firefox has been installed.
Random thought:
I suspect (but haven't checked) that changing the "Clear Recent History" options would add corresponding entries to prefs.js in the user's profile folder. (These usually are added during Firefox shut-down.) That's just a plain text file and you could append to it by a variety of means.
It might be possible to use a VBScript during logon to update that file before the user starts Firefox. The script would have to detect the random folder name(s) in order to make the update. -
How to modify primary key column?
I want to modify one primary key column, But TT reported error.
How do I modify primary key column? Thanks first.In TimesTen, the values in primary key columns cannot be updated (except for the trivial case where you update the value to the same value as it currently has). If you want to change the values stored in primary key columns the application must insert a new row with the new key values (and of course values for the other columns) and then delete the old row.
Chris -
SQL Server - primary key constraint modify
Hi,
I have a table with many records. I wanted to modify the primary key constraint. The only way to alter the primary key constraint is to drop and create again. Please let me if it is right.
Can we create primary key constraint with NoCheck. Since we have lots of records in our table, creating primary key constraint takes more time because it is checking the existing data. Please provide your comments.
Thanks.>>I have a table with many records. I wanted to modify the primary key constraint. The only way to alter the primary key constraint is to drop and create again. Please let me if it is right.
http://technet.microsoft.com/en-us/library/ms181043(v=sql.105).aspx
Note
To modify a PRIMARY KEY constraint, you must first delete the existing PRIMARY KEY constraint and then re-create it with the new definition.
>>Can we create primary key constraint with NoCheck. Since we have lots of records in our table, creating primary key constraint takes more time because it is checking the existing data. Please provide your comments.
http://msdn.microsoft.com/en-IN/library/ms188066.aspx
When FOREIGN KEY or CHECK constraints are added, all existing data is verified for constraint violations unless the WITH
NOCHECK option is specified. If any violations occur, ALTER TABLE fails and an error is returned. When a new PRIMARY KEY or UNIQUE constraint is added to an existing column, the data in the column or columns must be unique. If duplicate values are found, ALTER
TABLE fails. The WITH NOCHECK option has no effect when PRIMARY KEY or UNIQUE constraints are added.
Satheesh
My Blog |
How to ask questions in technical forum -
Error when modifying tabular form
Hi
In Apex 3, I created a tabular form based on the query below:
select user_id /* PK */, name, dob
from users
It works perfectly well; I am able to update the name and dob fields.
Then I changed the query to:
select user_id /* PK */, name, null dob
from users
...(i.e. not interested in the dob column anymore but want to keep the report column) and cleared the properties reference table owner/name/column name of the dob report column.
However, when I try to update the name of a user, I get the error:
Error in mru internal routine: ORA-20001: Error in MRU: row= 1,
ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process.
current checksum = "7C3CD9C5DA0B5AF45AE616959020A0AA",
item checksum = "6910D5C7015D84773A9E8F65299991F6".,
update "SCHEMA"."USERS" set "USER_ID" = :b1, "NAME" = :b2, "DOB" = :b3Why is dob still being included in the update statement?
Did I miss something?
Thanks,
LuisSince the DOB was one of the columns specified when you created the tabular form, the internal PL/SQL process that it uses for making updates is still trying to update that column. As you have now modified the underlying query for the form and are passing a NULL for your DOB, you will find that any update made using this form would set the DOB to NULL, so beware!
Unfortunately, once you have created a tabular form, you cannot make changes to the process that it uses for manipulating data. Another drawback of the tabular form is that it uses the primary key of the table as a way of knowing which record it is updating when it processes the changes. As a result, you cannot modify the primary key value itself - and that is why you are getting the error.
Generally speaking it is not a good idea to edit primary key values. If this piece of information does require editing, I would suggest you find another candidate for the primary key - perhaps a standard sequence-populated column that could act as a surrogate key?
Cheers,
Colin -
How to modify a column name & How to modify a constraint name
How to modify a column name?
How to modify a primary key constraint name if the pk has been referenced by another foreign key?
Thanks.Hi,
What version of oracle are you using? If it is 9i,
then you can the command
alter table <table_name> rename column <column_name> to <new_column>;
if it is 8i or earlier, you can create a view with the required names.
hth
Always post the oracle version and the platform you are using to get better response. -
Remote Key Manupulation in Java MDM APIs
Hi ,
I need to do create/Modify/retrieve remote key using MDM Java APIs. I have found out two APIs for retrieve and modify of remote key (RetrieveRecordsKeyMappingsCommand and ModifyRecordsKeyMappingsCommand using RecordKeyMapping).
I am not getting any API to create remote key using Java APIs. Can anyone help me in this regard.If anyone has sample code also that would a great help.
Thanks and Regards,
SubhasisHi,
Please have a look on below code ...
/TableID/
TableId tableId = schema.getTable("table Code").getId();
RecordId recordId = new RecordId("R1"); // record id of record to which you are going to add key mapping
/Remote System Properties/
RemoteSystemProperties remoteSystem = schema.getRemoteSystem("RemoteSystemCode");
/*Creating new instance of RecordKeyMapping */
RecordKeyMapping recordKeyMapp = KeyMappingFactory.createRecordKeyMapping(tableId,recordId);
/*Creating new instance of KeyMapping */
KeyMapping keyMapping = KeyMappingFactory.createKeyMapping(remoteSystem.getId());
/*Setting value to Key value */
keyMapping.addKey("1234");
/storing keymapping instance in RecordKeyMapping instance/
recordKeyMapp.addKeyMapping(keyMapping);
RecordKeyMapping [] recordKey = ;
ModifyRecordsKeyMappingsCommand rkm = null;
try {
rkm = new ModifyRecordsKeyMappingsCommand(context);
} catch (SessionException e) {
} catch (ConnectionException e) {
rkm.setKeyMappings(keyMappings);
try {
rkm.execute();
} catch (CommandException e) {
Hope this helps you.
Cheers,
Veeru. -
Problem in modifying the main internal table gt_data
Hello i have written code for modifying the main internal table. i have read data from ausp table and put into the internal table gt_ausp. now i want to modify my main table GT-DATA with gt_ausp. i am not able to do this.
LOOP AT gt_data INTO ls_list.
lt_temp-objek = ls_list-matnr.
APPEND lt_temp. " 특성값 발췌용도로 저장
APPEND ls_list TO lt_work. " 핵심작업용도로 저장
ENDLOOP.
DESCRIBE TABLE lt_temp.
IF sy-tfill EQ 0.
pv_flg = 'X'.
EXIT.
ENDIF.
Get 제품인증(플랜트별).....
DESCRIBE TABLE lt_cetino_tp.
플랜트 자재번호
카타로그-인증 코드그룹-인증 인증코드
Certi. No.
Get 자재별 특성값..........
오브젝트 특성이름 내부특성 내부카운터 특성값
SELECT aobjek batnam aatinn aatzhl a~atwrt
INTO CORRESPONDING FIELDS OF TABLE lt_ausp_tp
FROM ausp AS a INNER JOIN cabn AS b
ON aatinn = batinn
FOR ALL ENTRIES IN lt_temp
WHERE a~objek EQ lt_temp-objek " 오브젝트키(자재번호)
AND a~klart EQ '001' " 클래스유형
AND a~atzhl EQ '001' " 특성값카운터(최종건만 존재)
자재특성 변경시 변경됨
AND b~adzhl EQ '0000'.
IF sy-subrc EQ 0.
DELETE ADJACENT DUPLICATES FROM lt_ausp_tp.
lt_ausp[] = lt_ausp_tp[].
lt_ausp_tp2[] = lt_ausp_tp[].
DELETE ADJACENT DUPLICATES FROM lt_ausp_tp2.
Get 특성내역
내부특성 " 내부카운터
특성값 특성값내역
SELECT aatinn " aatzhl
aatwrt batwtb
INTO CORRESPONDING FIELDS OF TABLE lt_cawn
FROM cawn AS a INNER JOIN cawnt AS b
ON aatinn = batinn AND
aatzhl = batzhl AND
aadzhl = badzhl
FOR ALL ENTRIES IN lt_ausp_tp2
WHERE a~atinn EQ lt_ausp_tp2-atinn " 내부특성
AND b~spras EQ sy-langu.
ENDIF.
SORT lt_work BY matnr .
BREAK-POINT.
LOOP AT lt_work INTO ls_list.
특성내역
READ TABLE lt_ausp WITH TABLE KEY objek = ls_list-matnr
atnam = 'SECTION_WIDTH'.
수출자재가 아닌 것은 제외
LS_LIST-SECTION_WIDTH = LT_AUSP-ATWRT.
MODIFY TABLE GT_DATA FROM LS_LIST TRANSPORTING SECTION_WIDTH.Hi,
Question before: why dont you just use the std.API for reading the classification data?
e.g. "BAPI_OBJCL_GETDETAIL"
Second: a DELETE DELETE ADJACENT DUPLICATES works only only sorted tables.
Doing this after a select will only succeed randomly depending on the buffers of your data based below.
( 90% chance if it is an oracle system)
To your question:
Just replace your LOOP AT gt_data into ls_list
by a LOOP AT gt_data ASSIGNING <current_list_record>.
then you can access the fields directly:
<current_list_record>-SECTION_WIDTH = LT_AUSP-ATWRT.
Cause of your issue:
"MODIFY" needs a key to to find the record to be updated.
If your gt_data ist referencing a DDIC table type with a key or a local type with a key
it has no chance to do it.
Hope that helps.
br, -
How to set a field primary key in a pre existing table
Hi,
Suppose i have a table and no field in it is a primary key like this
create table t1
(a number not null,
b number);
Later i want to make a as primary key then how to do that?
I tried with this statement but it gave error
alter table t1
modify a primary key;I see, you want autogenerated constraint name (I hate that feature). What version are you on? It works on my 10.2.0.4.0:
SQL> create table t1
2 (a number not null,
3 b number);
Table created.
SQL> alter table t1
2 modify a primary key;
Table altered.
SQL> SY. -
hi! I bought new MAC OS and after few days my key "h" does not work. It works like option key. how I can modify my "h" key to work as "h" key? also when i push the key +shift = Ó???how can I fix that problem?
Hello i,
First of all, what kind of keyboard are you using? Specifically, is it Apple or some other form of USB thing?
Secondly, is the language set up correctly for it? Check by going to System Preferences —> International and clicking on the Input Methods tab. Make sure only those flags for the language layouts you use are checked, but if you only use one, add another as well. While you're at it, check the Keyboard Viewer box too.
You should now see a little flag among the menulets in the top right hand corner of your screen. Click on the Show Keyboard Viewer command under the flag, and you'll see what the Mac thinks is happening when you press keys. Try changing language by clicking on a different flag and seeing if the layout changes properly.
Finally, are you sure you haven't got the Num Lock on?
HTH
Archie -
Form Validation on Complex Primary Key
I have a that inserts/updates a table with a 2 coulmn primary key (ticket_num, ticket_seq). Is there anyway to create a page validation item that will keep users from violating the pk constraint and getting the ugly ORA-00001 error.
I think I just don't understand the syntax of the "SQL Expression" validation.
I would like to just find if the key already exists, but the following does not seem to catch it. I have put the following in validation expression 1.
(select count(*)
from system_issue_timings
where ticket_num = :P3_TICKET_NUM
and ticket_seq = :P3_TICKET_SEQ) > 0The pl/sql with count(*) above will not work as select count(*) into... will never raise no_data_found, it will result in zero in v_test.
The other thing to watch out for on this type of validation (whether implemented as sql not exists or as a pl/sql returning boolean or pl/sql returning error) is that if you are doing updates on this page then you need to either :
1. not fire the validation when updating (assuming you cannot modify the primary key columns on the page), or
2. specifically exclude the row being updated from the validation lookup (using rowid for example) as otherwise it will satisfy the condition and fail the validation.
You want to probably use 'sql NOTexists' validation as it "Passes if the query return no rows." :
select 1
from system_issue_timings
where ticket_num = :P3_TICKET_NUM
and ticket_seq = :P3_TICKET_SEQ
Glen
Edited by: gjmorris on Sep 24, 2008 1:02 PM - added actual solution.
Maybe you are looking for
-
ABAP Exercises in SAP Netweaver 7.01 ABAP Trial Version
Hello, I just finished the ABAP academy, courses TAW10 and TAW12. I want to do some exercises for studying to the certification test, but the exercises in the books require ABAP objects (such as tables, structures, data elements, templates and so on)
-
How do I update mi osx 10.5.8 to sync my iPhone 5
I need to update my OSx to sync my iPhone 5
-
hi. does anyone know if there is a way to create folders within the photo library? i've been uploading photos into my ipod. everytime i upload, all the photos are placed into the same folder. thanks, kv
-
Does anyone know how to get the buttons on the Nano 1st generation to work again once they've stop reponding?
-
SmartForm execution does nothing - error
When I execute this SmartForm it does nothing. If I try to preview it nothing comes up and when I try to print it nothing goes to the print spool. However, if I remove the address node then it works fine. Does anybody have any ideas? I am also won