Can i change or modify or insert the data in standard tables

hi gurus
can i change /modify/insert the data in standard tables
witout using module pools
plz send the  progem lines also
it ll be very helpful to me
thank you
kals.

Hi Kalyan,
It is not advisable to update standard tables directly or through your own module pool programs also.  The reasons are,
1.  It is difficult to find out how many tables are updated through the transaction.  if we leave one table also as Mr.Andrew said data integrity will be lost.
2.  Authorization objects and profiles will be totally bypassed if data is inserted through custom programs.
3.  Complete data validation is not possible.  There are certain validations that are executed through code and appropriate errors and warnings are shown in the transactions.  If we insert data directly to the tables anything can be inserted into the table field violating all the validations unless we have field level check constraints on the tables at database level.
4.  User Exits and BADIs that are implemented for specific business requirements and checks will not function on the data.
5.  Update & Transaction locks will not work properly.
Due to above reasons, definitely you should avoid updating standard tables directly.
There are many tools such as LSMW Recordings, BDCs, BAPIs, IDOCs, Upload Interfaces available in SAP through which bulk data can be updated without using relevant transactions.
You can collect data from end users in text or excel sheets or through custom programs in required format and upload at once through above mentioned tools.
Regards,
Hema

Similar Messages

  • Insert the data into two tables at a time.

    Hi ,
    i have these two tables
    create table [dbo].[test1](
    [test1_id] [int] identity(1,1) primary key,
    [test2_id] [int] not null
    create table [dbo].[test2](
    [test2_id] [int] identity(1,1) primary key,
    [test1_id] [int] not null
    alter table [dbo].[test1]
    add constraint [fk_test1_test2_id] foreign key([test2_id])
    references [dbo].[test2] ([test2_id])
    alter table [dbo].[test2] add constraint [fk_test2_test2_id] foreign key([test1_id])
    references [dbo].[test1] ([test1_id])
    I want to insert the data into two tables in one insert statement. How can i do this using T-SQL ?
    Thanks in advance.

    You can INSERT into both tables within one Transaction but not in one statement. By the way, you would need to alter your dbo.Test1 table to allow null for first INSERT test2_id column
    See sample code below:
    CREATE TABLE #test1(test1_ID INT IDENTITY(1,1),test2_id INT NULL)
    CREATE TABLE #test2(test2_ID INT IDENTITY(1,1),test1_ID INT)
    DECLARE @Test1dentity INT
    DECLARE @Test2dentity INT
    BEGIN TRAN
    -- Insert NULL as test2_ID value is unknown
    INSERT INTO #test1(test2_ID)
    SELECT NULL;
    -- get inserted identity value
    SET @Test1dentity = SCOPE_IDENTITY();
    INSERT INTO #test2(test1_ID)
    SELECT @Test1dentity;
    -- get inserted identity value
    SET @Test2dentity = SCOPE_IDENTITY();
    -- Update test1 table
    UPDATE #test1
    SET test2_ID = @Test2dentity
    WHERE test1_ID = @Test1dentity;
    COMMIT
    SELECT * FROM #test1;
    SELECT * FROM #test2;
    -- Drop temp tables
    IF OBJECT_ID('tempdb..#test1') IS NOT NULL
    BEGIN
    DROP TABLE #test1
    END
    IF OBJECT_ID('tempdb..#test2') IS NOT NULL
    BEGIN
    DROP TABLE #test2
    END
    web: www.ronnierahman.com

  • Modify or inserting the data from node data into standarad db table.

    Hi ...
    I want to modify the standard db table( say some hr table pa0002) ..with the values available in  node.
    But node consist of only 4 fields from pa0002.
    modify statement example:  modify itab1 from wa1.
    here wa1 should be same structure of itab1 then only above statement works.
    but in my scenario   node have only 4 fields , so how can i modify or insert the node values into Database table?
    Please help me in this.
    Regards
    Srinivas

    Hi,
    HR_MAINTAIN_MASTERDATA i dont know this is working for you or not. try once. and you serach any other fm/bapi available.
    Please go thorugh this...
    Infotype 0000 - FM for Inserting records ?
    Cheers,
    Kris.
    Edited by: kissnas on Jun 13, 2011 11:05 AM

  • How to insert the data system created table throuch RFC

    How can i Insert any data  system created table like MARC T100w .... throuh RFC.
    I created Funstion module.
    MY Email Address : [email protected]
                                   [email protected]

    Hello Chandan
    It is pure madness to update or modify tables like MARC or T100W directly, whether on remote systems or locally.
    If you need to update or modify such tables on remote system search for the appropriate <b>BAPI </b>(e.g. in case of MARC use BAPI_MATERIAL_SAVEDATA).
    Regards
      Uwe

  • Insert the data in sap tables from C SHARP application

    Hi All,
                 I want to save some data in sap table from my CSharp(DOTNET)  windows application.I tried with the help of  SAP.Net Connector but that connector is not been supported visual studio 2005 or i not have visual studio 2003 .Soo plz any one can help how i can do this .
    If any one have a idea then plz give me some example also how we did.
    thanks
    regards
    sandeep Dabral

    You have to use SAP .NET connetor to make interface with SAP. This is better way of doing interface between .NET and SAP.
    You create web service (wsdl) in .NET 2003 and try to use that in .NET 2005.
    You're getting the two technologies confused ......
    .Net Connector is used for RFC-type interfaces. It calls Bapi's directly. Web services are not involved for this type of interface.
    WSDL files are used to generate proxies for the .Net client to call Web Services (typically web-enabled Bapi's). This type of interface uses SOAP protocol not RFC and does not use the .Net Connector. Enterprise Web Services may be discovered using the .Net Enterprise Service Explorer, which is a different component from the .Net Connector.
    Regards,
    D.

  • Insert the data automatically in a table

    Hi,
    i want to insert the data in a table automatically if the time is 12:00AM
    Is it possible?

    hi,
    i have the table "tab_eg" like
    id name code
    1 Rai 1
    2 Hewlett 3
    id is primary key.
    code is auto generated.
    (ie) if anybody is getting the code from tab_eg table,
    the code is automatically incremented by 1 using update query.
    It is working fine.
    Then
    i am creating the DBMS_SCHEDULER like this:
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'UPDATE_TAB_CODE',
    job_type => 'PLSQL_BLOCK',
    job_action => 'begin execute '' update scott.tab_eg SET code = 1 '' ; commit; end;',
    start_date=> '01/APR/2007 12:00:00 AM',
    repeat_interval => 'FREQ=YEARLY',
    enabled => TRUE);
    END ;
    it is also created successfully in SYS.
    My doubt is
    when i have changed the server time as '01/APR/2008 12:00:00 AM',
    the code is not reset to 1.
    i want to reset the code as 1.
    what do i have to change in this DBMS_SCHEDULER.
    Thanx in Advance

  • I was gifted a app store 50$ gift card but it wont let me use it because I'm in the UK store. I can't change my location because of the credit card associated with the account and my phone number please help

    I can't change my location because of the credit card associated with the account and my phone number please help

    Gift cards are country specific.
    They can only be used inside the borders of the country of issue.

  • I cant remember my password to logon to my mac, how can i change it with out needing the old one?

    i cant remember my password to logon to my mac, how can i change it with out needing the old one?

    http://support.apple.com/kb/HT1274

  • HT1349 how can I change an email for authorization, the email address we used years back, is no longer a valid email address

    how can I change an email for authorization, the email address we used years back, is no longer a valid email address

    SfromW wrote: ... how can I change an email for authorization, the email address we used years back, is no longer a valid email address
    How to change account here: http://support.apple.com/kb/PH1641
    If you need more help, start here: http://www.apple.com/support/itunes/
    SfromW wrote: ... we can't remember the password from the old email address (for authorization)...
    Help Retrieving and changing passwords here: http://support.apple.com/kb/HT1911
    If you need more help, from iTunes for Windows, click  iTunes > iTunes Store > Support
    SfromW wrote: ... apple should make it easier to transfer authorization authority....I would think anyways.
    You might want to rethink your thoughts about making transferring authority easier.  Making it too easy would certainly degrade your account's security.  If you still believe it should be easier, you can send feedback directly to Apple via http://www.apple.com/feedback/itunesapp.html
    You will not get a response, but you can be certain that the responsible Apple people will see your input for consideration in FaceTime product development.
    As a new user, please understand that you are NOT directly addressing Apple here.  For more info about Apple discussions, start here: http://discussions.apple.com/static/apple/tutorial/etiquette.html 
    Message was edited by: EZ Jim
    Mac OSX 10.7.4

  • Can i change my old ipod to the new one with priceless

    I have an ipod, they said ipod touch 3 8gb, they said... Now i can't do anything with this because too many apps require IOS >4.2.1
    So i have a question: Can i change my old ipod to the new one with priceless.
    Thanks for reading
    p/s: im living in San Francisco now

    CookPu wrote:
    If you know, please answer my question
    TFR
    Wow! Give us a chance!
    I live in the UK (about five minutes drive from the Olympic cycle race route. Didn't you notice me waving to the cameras? ). Not far from you , but far enough away that I might be doing something else, even if the cycle race has finished. The same applies to everyone else too. I'm eight hours ahead of you, so if it's 9pm now, where you are, it's five in the morning where I am and most of us here will still be inspecting the inside of our eyelids!
    Now, about your problem.
    If your iPod is 8GB, then it is not a 3rd generation Touch - no matter who they are and no matter who said it was! If it has model number A1288 etched into the casing on the back, then that identifies the 2nd gen Touch. (Yes, there is a 4th gen Touch in 8Gb capacity, but still no 8GB 3rd gen - ever). The third generation is model No. A1318.
    Can i change my old ipod to the new one with priceless. I don't understand what that means, unless you mean "with the price difference". In which case, the answer is "no".
    Even more confusing is; Now i can't do anything with this because too many apps require IOS >4.2.1 because -
    a 2nd generation Touch (including the 8GB) can install iOS 4.2.1 But that's as high as it can go. So that's incorrect! 
    you can still use any App that doesn't require a higher iOS than you have. So still incorrect!
    you can still use it as a music player, so guess what, wrong again!
    ... to store your photos - you know what I'm going to say now, don't you?
    ... and play those videos!
    So wrong, wrong and wrong!
    Message was edited by: the fiend

  • Can i change my old iPad with the new one, i Will pay the difference... Do you have this kind of program?

    Can i change my old iPad with the new one, i Will pay the difference... Do you have this kind of program?

    If you are past the return date, you can sell the older iPad and put the money towards a new one.
    Plus, old iPads make great gifts ! ! !

  • My apple id is different to my icloud id how can i change my icloud id to the same as my apple id

    My apple id is different to my icloud id how can i change my icloud id to the same as my apple id

    Delete the iCloud Account
    I mean Delete Account on your iPad iPhone.

  • How can i open a DOC or TXT file and insert the data into table?

    How can i open a DOC or TXT file and insert the data into table?
    I have a doc file . the doc include some columns and some rows.(for example 'ID,Name,Date,...').
    I'd like open DOC file and I'd like insert them into the table with same columns.
    Thanks.

    Use the SQL*Loader utility or the UTL_FILE package.

  • HT1766 HOW CAN I CHANGE MY BACKUP FOLDER FROM THE C DRIVE TO ANOTHER?????

    HOW CAN I CHANGE MY BACKUP FOLDER FROM THE C DRIVE TO ANOTHER????? because my c drive in the windows computer gets filled and i need to back up my ipod to a portable hard disk.. bt i dont know how to do it.. plz help

    you can't change the backup folder as far as I know, but you can choose to move backups. The information you need can be found in this article: http://support.apple.com/kb/ht4946
    Where iTunes backups are stored on your computer
    The folder where your backup data are stored varies depending on the computer's operating system.   Make sure the backup folder is included in your periodic data-backup routine.
    iTunes places the backup files in the following places:
    Mac:  ~/Library/Application Support/MobileSync/Backup/
    Windows XP:  \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Note: To quickly access the Application Data folder, click Start, and choose Run. Type %appdata% and click OK.
    Windows Vista and Windows 7:  \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    Note: To quickly access the AppData folder, click Start. In the search bar, type %appdata% and press the Return key.
    Hope this helps
    Regards,
    Stijn

  • On an iMac I can't enter any text in safari or Firefox header bar. In all my program's I just have the arrow cursor and can't change to any tools in the tool bars - please help!

    I cant type any text in safari or and in all programs i have the arrow cursor and can't change to any tools in the tool bars - please help!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

Maybe you are looking for