How to track updates in Master Table?

hi all
I have few Master tables like MRP Controllers , Asset Classes, reason for Investment etc.I have got the master tables that store these information. but standard IDocs are not present for those Master data.
My requirement is , whenever new Master data is added / or existing master data is updated in these tables , i immediatly want to send that changed/newly added data to legacy system.
what are the different ways to track these changes and send it to legacy system ?
Regards
Sheetal

Hi Sheetal,
You can also check the user exits for the same.
Most of the master data creation program has the user exits associated with them at the new data creation.
So you can explore that option also.
Reward points if useful.
Regards,
Atish

Similar Messages

  • How  and where does SAP standard programs update the master tables...

    Hello there,
    How  and where does SAP standard programs update the master tables...
    to be precise.. if a (any) transaction occurs  the programs behind it holds the data in temporary structures.
    where and when does it get updated in the master table.
    can anyone tell me how it happens?
    I Know that from the where used list one can find the corresponding table but most of the time it wont suffice
    I am expecting a proper answer.
    Santosh B

    Hello Santosh,
    you need to do some self-reading on the following topic
    Updates in the SAP System (BC-CST-UP)
    http://help.sap.com/saphelp_47x200/helpdata/en/e5/de86e135cd11d3acb00000e83539c3/frameset.htm
    Regards,
    Siddhesh

  • How can I update a customized table from a text document?

    Hi,
    I am one sample file. The file is an text document. From this .txt file how can I update a customized table in SAP.
    How can I Update the fields in the Customized table.
    Thanks & Regards,
    NManohar.

    use the Function module GUI_UPLOAD or WS_UPLOAD and give the path and the file name from where the data has to be uploaded. in table parameter give the iternal table
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      =
      FILETYPE                      = 'ASC'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      tables
        data_tab                      =
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    and finally use insert command to update the database table with the data

  • How can I update the trigger table?

    I need a insert trigger on a table and also wants to insert the result value in one of its field.
    it gives mutating error........
    so wots the way of updating it? how can i update the same table.

    For example like this (inside the BEGIN/END section of the trigger):
    :NEW.Col2 := :NEW.Col1;
    C.

  • How can i update the ADRT table REMARK field

    How can i update the ADRT table REMARK field
    by using only function modules or BAPI's not by direct update's
    please help me
    i need it urgently

    Hi,
    you can try this code:
        SELECT SINGLE * FROM KNA1 WHERE KUNNR = wa_kunnr.
        IF sy-subrc = 0.
          CLEAR adrct.
          SELECT SINGLE * FROM adrct WHERE addrnumber = kna1-adrnr.
          IF sy-subrc = 0.
            adrct-remark = wa_remark.
            MODIFY adrct.
          ENDIF.
        ENDIF
    best regards,
    Thangesh

  • If record is in application server how do u update the single table

    hi
    could anybody tel me
    if record is in application server how do u update the single table
    by using direct input method

    If your Flash player/plugin is older, the only way is to go to Adobe's site (use Limnos' link) and download the full installer. A .DMG file, which you doubleclick to have it mount on the desktop. Inside is the Flash installer app you doubleclick to run and have it upgrade all. Will need an Admin user account.
    After you've upgraded to the latest & greatest, currently 11.5.502.110, a Flash perfpane will show up in System Preferences, where you can set it to auto-update itself, warn you of new updates or manually check for same.

  • How to insert past record after updating the master table in history table through store PROC

    Master Table
    Party Status
    A Active
    B Inactive
    C Active
    D Inactive
    Duplicate Table
    Party Status
    A Active
    B Active
    C Active
    D Inactive
    Updated Master Table
    Party Status
    A Active
    B Active
    C Active
    D Inactive
    Party History Table
    B Inactive
    I have two table one master and another duplicate I need to update master table based on duplicate table insert the record which updated into Party history table as shown above. need help to write store proc.

    Check MERGE syntax in BOL (example D). There should be a sample with output, e.g.
    insert into PartyHistory (Party, [Status])
    select Party, [Status] FROM
    (MERGE Master M using Duplicate D on M.[Party]=D.[Party]AND M.[Status]<>D.[Status]
    WHEN MATCHED THEN UPDATE
    SET [Status] = D.[Status]
    OUTPUT Deleted.[Party], Deleted.[Status], $Action) AS Changes (Party, [Status], Action) WHERE Action = 'UPDATE'
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • How do I update the result table ?

    I am having problem to design and update the competition results in WPC_RESULTS table.
    I have 3 tables
    1. WPC_COMPETITION - It has details of the competition to be conducted.
    2. WPC_MEMBERS - Member details.
    3. WPC_RESULTS - Competition results which will have Member_ID, Competition_ID and Status.
    In Region 1. I have a drop down list from which I can select the Competition.
    Problem is with region 2.
    ==================
    In Region 2. I plan to have All the Member's Name from WPC_MEMBERS, a Status column (W=Win or L=Lost or X=NotPlayed) from WPC_RESULT which can be updated. But the table WPC_RESULTS dosenot have a primary key but has 2 foreign key one from WPC_COMPETITION and one from WPC_MEMBERS.
    I am just not able to plan & create this region 2.
    Can someone login to my wokspace and give me a helping hand.
    Please mail me at [email protected] and I would give you the password for my workspace.
    Regards,
    Nikhil Karnik

    My problem is since the WPC_RESULT table has two master tables. I cannot use a Master Detail form.
    What I am trying is,
    On a form which displays all the member in WPC_MEMBERS, Drop down list of competition name from WPC_COMPETITION table and a there should be checkbox for status column of WPC_RESULT. So my challenge is to update the WPC_RESULT table with the respective member id and competition id and status in WPC_RESULT table.
    As you said I can use a PL/SQL, but I could not understand how do create my PLSQL block to identify each member on the form and update the competition status associated with that member.
    in short the table definition is like
    CREATE TABLE "WPC_COMPETITION"
    (     "COMPETITION_NAME" VARCHAR2(100),
         "COMPETITION_CODE" NUMBER,
         "DATE_CONDUCTED" DATE,
         CONSTRAINT "WPC_PK1" PRIMARY KEY ("COMPETITION_CODE") ENABLE
    CREATE TABLE "WPC_COMPETITION"
    (     "COMPETITION_NAME" VARCHAR2(100),
         "COMPETITION_CODE" NUMBER,
         "DATE_CONDUCTED" DATE,
         CONSTRAINT "WPC_PK1" PRIMARY KEY ("COMPETITION_CODE") ENABLE
    CREATE TABLE "WPC_RESULTS"
    (     "COMPETITION_CODE" NUMBER,
         "STATUS" VARCHAR2(1),
         "MEMBER_ID" NUMBER
    ALTER TABLE "WPC_RESULTS" ADD CONSTRAINT "WPKD_FK1" FOREIGN KEY ("COMPETITION_CODE")
         REFERENCES "WPC_COMPETITION" ("COMPETITION_CODE") ENABLE
    ALTER TABLE "WPC_RESULTS" ADD CONSTRAINT "WPKD_FK2" FOREIGN KEY ("MEMBER_ID")
         REFERENCES "WPC_MEMBERS" ("MEMBER_ID") ENABLE
    /

  • How to regularly update the Master data/Text/ Hierarchy for BW DEV?- Urgent

    Hi Experts,
    Can anyone help me to understand how to update the Master data/Text/ Hierarchy regularly for BW DEV.
    Since all the new query developments are taking place in DEV, users are not finding the latest Masterdata/ Texts /Hierarchy in the DEV system.
    I have searched in SDN and got a document "HOW TO DOWNLOAD A HIERARCHY TO A FLAT FILE". However, is there any other way to upload the master data automatically on periodical basis.
    Please help urgently.
    Advance Thanks,
    BW USA

    If you want to extract master data from PRD in order to load in DEV, i suggest to do this (its a tricky thing):
    For example, you want to download 0EMPLOYEE
    1-In PRD, transaction RSD1
    2-Enter 0EMPLOYEE
    3-Copy the Master table for 0EMPLOYEE (/BI0/MEMPLOYEE)
    4-transaction SE16
    5-Enter the table name /BI0/MEMPLOYEE
    6-in the selection screen, go to "Options" Menu and select "User parameters", and now select "Standard List SE16"
    7-Execute
    8-Now its show's up the 0employee data, go to "System" menu - List - Save - Local File
    9-After you have the flat file, only rest create Infopackae in DEV Env. and load it from the flat file.
    Asigns points if useful.
    Regards

  • How does CLOSED_CODE updated in PO_LINES_ARCHIVE_ALL table

    Hi,
      How does CLOSED_CODE column will be updated in PO_LINES_ARCHIVE_ALL table. We have setup "Archive On Approve" for archiving.
      Does below is a valid check to verify the line count between lines table and archive table?
      We are comparing the line count in Lines table and Archive table, and if there is difference in count, then it is assumed to be change in the Lines,
      so then direct the PO Approval Worfkflow for re-approval.
      Kindly suggest if below check is correct or not, especially check on CLOSED_CODE='OPEN'.
      In few cases, the lines in PO_LINES_ALL table has CLOSED_CODE = 'CLOSED' but, PO_LINES_ARCHIVE_ALL table has lines with CLOSED_CODE = 'OPEN' even after PO approval.
      Is this expected behavior? When Does CLOSED_CODE will get updated in archive table?
    SELECT COUNT(*)
             INTO x_lines_count
             FROM po_lines_all
            WHERE closed_code = 'OPEN'
              AND po_header_id = x_po_header_id;
           SELECT COUNT(*)
             INTO x_ar_line_count
             from po_lines_archive_all
          where closed_code = 'OPEN'
            and latest_external_flag = 'Y'
            and po_header_id = x_po_header_id;
    IF x_lines_count <> x_ar_line_count THEN
         RESULT: "Change in PO Lines";
    Regards,
    Ram

    Sathyaseelan wrote:
    Hi All,
    After creating requisition from R12 iProcurement , the column document_type_code in the table PO_REQUISITION_LINES_ALL got updated as BLANKET or CONTRACT.
    Need to know how these values was defaulting in the requisition.
    I am able to see the values soon after added the item to shopping cart.
    Regards,
    SathyaI think whatever the item is in the requistion..It should be associated with the blanket or contract agreement..that the reason why you are seeing that document type code
    HTH
    Mahendra

  • How do I update a Nested Table of inherited Object Types?

    Does anyone know why the following line (commented out) doesn't work and what I can do? Is there some way to cast the column I am trying to update? I think I am going crazy....
    create or replace type person_ot as object (name varchar2(10)) not final;
    create or replace type student_ot under person_ot (s_num number) not final;
    create type person_tt as table of person_ot;
    declare
    lv_person_list person_tt;
    lv_sql varchar2(1000);
    ref_cur sys_refcursor;
    begin
    lv_sql:= 'select new student_ot(''fred'', 100) from dual
    union all
    select new student_ot(''sally'', 200) from dual';
    open ref_cur for lv_sql;
    fetch ref_cur bulk collect into lv_person_list;
    close ref_cur;
    dbms_output.put_line(lv_person_list.count);
    for i in lv_person_list.first..lv_person_list.last loop
    lv_person_list(i).name := initcap(lv_person_list(i).name ); -- This works!
    lv_person_list(i).s_num := 9999;  Why doesn't this line work and how can I update the column s_num ??? :-(
    end loop;
    end;
    /

    Hi Tubby - You are right...It would make sense to create the Type as type of student_ot. Only problem is I am trying to keep it generic. I will include full listing to show what I am doing...
    create or replace type person_ot as object (name varchar2(10)) not final;
    create or replace type student_ot under person_ot (s_num number) not final;
    create type person_tt as table of person_ot;
    create table persons of person_ot;
    declare
    lv_person_list person_tt;
    lv_sql varchar2(1000);
    ref_cur sys_refcursor;
    begin
    lv_sql:= 'select new student_ot(''fred'', 100) from dual
    union all
    select new student_ot(''sally'', 200) from dual';
    open ref_cur for lv_sql;
    fetch ref_cur bulk collect into lv_person_list;
    close ref_cur;
    for i in lv_person_list.first..lv_person_list.last loop
    lv_person_list(i).name := initcap(lv_person_list(i).name );
    lv_person_list(i).s_num := 9999;*                             Why doesn't this line work?? :-(
    end loop;
    forall i in lv_person_list.first..lv_person_list.last
    insert into persons values lv_person_list(i);
    end;
    /

  • How do i update a db table using one JSP page

    I created a JSP Form page and I want to update a db table when the user hit submit. Please help my job depends on it Send me small code example below is what I have (very new to JSP)
    <%@ page language="java" import="java.sql.*" import="java.io.*" %>
    <html>
    <head><title>accessing database</title></head>
    <body bgcolor="white">
    <%     Connection con =null;
         try {
    // Load Driver Class File
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    //Make a connection to Data table
    con = DriverManager.getConnection("jdbc:odbc:SportsbookTables", "developer", "developer");
    Statement statement =con.createStatement();
    String SQL = new String("INSERT INTO tblLines (gameID,leagueType) VALUES (5,'gam')");
    statement.executeUpdate(SQL);
    statement.executeUpdate("INSERT INTO tblLines (gameID,leagueType) VALUES (6,'lea')");
    %>
    <table border=1 cellspacing=1 cellpadding=1>
    <form method="POST">
    <p><font color="#800000" size="5">Enter your name:</font><input name="leagueType" size="4"></p>
    <p><input type="submit" value="Submit"></p>
    </form>
    <%
    catch (IOException ioe)
    out.println("IO Exception:");
    out.println(ioe.getMessage());
    catch (SQLException sqle)
    out.println("SQL Exception:");
    out.println(sqle.getMessage());
    catch (ClassNotFoundException cnfe)
    out.println("Class Not Found Exception:");
    out.println(cnfe.getMessage());
    catch (Exception e)
    out.println("General Exception:");
    out.println(e.getMessage());
    finally {
    try
    if (con!=null) {
    con.close();
    catch(SQLException sqle)
    out.println(sqle.getMessage());
    %>
    </table>
    </Body>
    </HTML>

    First I would remove all the JDBC code you have in the JSP and place it in a servlet (or other Java) class, and have your form action call the servlet on submission. Then use the servlet API to extract the form data from the request and pass it to the JDBC in the servlet to update the DB. Once complete have it branch to another JSP/HTML to let the user know if they were successful or not.
    Take a look at some of the online tutorials as they will be helpful with regards to code examples.
    Depending on the size of your project, and deadlines naturally, you may also want to have a look at an MVC architecture and custom tags like Struts from Apache. These can make your job a lot eaiser.

  • How to find list of master tables in oracle apps GL

    Hi Friends,
    Is there a way to find all the master tables in GL?
    Thanks
    Prasuna,

    You could run a quick query to see which tables have the most rows for GL:
    -- TABLES
      SELECT owner
           , num_rows
           , table_name
        FROM all_tables
       WHERE num_rows > 0
         AND owner = 'GL'
    ORDER BY num_rows DESC;

  • How to track changes on the table not using triggers

    Hi,
    I would like to track DML changes on the tables. As I have many tables it is not efficient to write triggers.
    Is there any setup I can do at database level.
    I am using 11g R2.
    Thanks

    thanks fran.
    I would like to know old and new data in case of updates. This method will not show me.are you sure??
    SQL> sho parameter audit_trail
    NAME                                 TYPE        VALUE
    audit_trail                          string      DB, EXTENDED
    SQL> audit select, insert, update on fran.test1;
    AuditorÝa terminada correctamente.
    SQL> conn fran/fran
    Conectado.
    SQL> select * from test1;
    ninguna fila seleccionada
    SQL> insert into fran.test1 values('EX',2);
    1 fila creada.
    SQL> update fran.test1 set object_id=3 where object_id=2;
    1 fila actualizada.
    SQL> commit;
    Confirmaci¾n terminada.
    SQL> conn / as sysdba
    Conectado.
    SQL> select sqltext from aud$ where sqltext is not null;
    SQLTEXT
    select * from test1
    insert into fran.test1 values('EX',2)
    update fran.test1 set object_id=3 where object_id=2If you want more data, FGA is your goal
    I have read some where on flashback database ..
    would this create a replica table with old changesflashback database is to set the current data like in the past. I mean:
    SQL> conn / as sysdba
    Conectado.
    SQL> alter table fran.test1 enable row movement;
    Tabla modificada.
    SQL> drop table fran.test1;
    Tabla borrada.
    SQL> select * from fran.test1;
    select * from fran.test1
    ERROR en lÝnea 1:
    ORA-00942: la tabla o vista no existe
    SQL> flashback table fran.test1 to before drop;
    Flashback terminado.
    SQL> select * from fran.test1;
    OBJECT_NAME                    OBJECT_ID
    EX                             3

  • How can i update material master standard price.

    Hi Everyone,
    i would like to know if there is any way i can update my MM Std Price everytime i make any purchase.
    I.e i have std price 40, but next time when i make PO and update Inforec for 70 so i want this 70 also take effect in my material master. Is any expert can tell me about this functionality or any alternate. would be great help
    Ali

    If you are using std prices then these do not vary unless someone is manually changing them (or using a program to do this). That is the main point of std prices, they do not change unless you change them yourself.
    MAP and standard prices are used in material master and it has nothing to do with price with which you will sell your customer.
    MAP and Standard prices will just hit you inventory account and COGS account once you will do PGI.
    I am assuming that you are talking about the price at which you sell to your customer.The easy way of tracking changing prices is that you can make them manual conditions and based on your information you can put them manually in your sales order.
    It is not recommended to change standard price constantly. At this period end, modify the standard price in material Master & continue.
    This can be a regulr activity at period ends, say every month end or quater end or half yearly or yearly. In general it is prctices on yearly basis, but as per the requirement you can consider the period.
    Just go throught the links given below
    http://www.sap-img.com/materials/purchasing-tips.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
    Primarily, You cannot maintain both Standard Price & MAP. You can maintain only one of it.
    It is recommended that standard price should not be changed at randomly, but as a policy, if required, it should be changed at period end, say monthly, quaterly, Half-yearly or yearly.
    You can also check out transaction CK40N
    reward points if it helps
    regards
    Biju

Maybe you are looking for