How to fill set up tables with out missing the delta records

Hi,
I would like fill set up tables in the productioon system of apllication of logistics.
Can you please guide me how do we perform.?
What are points to be considered?
Because,when i start the filling  set up table by 10.AM if there are any posting at 10:05,10:06....like that
how can collect them i.e will i miss any records in second delta run?What setps to be taken care?
Thanks in advance
Naresh.

Hi.
You can fill the set-up tables during normal operation hours ,if you load the data into ODS and the update queue is 'Queued delta' .Downtime is needed to avoid the duplicates .But if you use  'Direct delta' you miss the delta documents. Hence it is better to go for downtime approach for this case.
Initially your delta records will be stored in the extraction queue and then when you run the collective job, records will be moved into delta queue. You can run the collective job (LBWE) anytime after the init run.If you need a daily delta ,then schedule this job before the delta loading. You can schedule this job either hrly or daily .This will move your records into delta queue. At the time of delta loading ,all your delta queue records will be moved into BW .
Thanks.

Similar Messages

  • How do i set up and automatic out of the office message while I am away on vacation?

    How do I set up an automatic out of the office reply while I'm on vacation?

    Firefox doesn't do email, it's a web browser.
    If you are using Firefox to access web mail, you need to seek support from your service provider or a forum for that service.
    If your problem is with Thunderbird, see this forum for support.
    [http://www.mozillamessaging.com/en-US/support/]
    or this one
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • How to fill a sparse table with zero

    Hi All
    I have a sparse table, most of the cells is null, but and few of the cells is "1"
    I would like to fill the null with zero.
    This table is from pivoting a transactional table into a table that will describe the attributes and later on for data mining
    I am thinking of
    1) do a user_tab_columns and copy and paste make a script that use NVL
    for e.g.
    select 'NVL('||column_name||',0,'||column_name||'),' from user_tab_columns
    where lower(table_name) = 'claims_t1'
    but I run into an issue
    e.g.
    create or replace view claims_t2x
    as
    select
    NVL('Diagnostic Imaging'_SPEC_SUM,0,'Diagnostic Imaging'_SPEC_SUM) 'Diagnostic Imaging'_SPEC_SUM
    from
    claims_t1
    I keep getting error of ORA-00911: invalid character
    as the column name got "'" in it.
    or
    2)Use PL/SQL
    I just do a select and loop through the whole thing
    For 2), I am not sure how I can get all the column attribute.
    As the attribute in the transaction table is not fix so the number of column after pivoting is not fix
    any idea?
    -Thanks so much for your input.
    Edited by: xwo0owx on Apr 27, 2011 11:08 AM

    >
    pivoting A transactional TABLE INTO A TABLE that will describe THE ATTRIBUTES AND later ON FOR DATA mining
    >
    You should have created all the columns with DEFAULT 0 NOT NULL;
    Why doing all this every time. Why not generate the table itself like that?
    what do you mean by a fill? you want to update them?
    then loop through and update like this,
    DECLARE
       p_tab_name   VARCHAR2 (100) := 'your_table_name';
       l_sql        VARCHAR2 (1000);
    BEGIN
       FOR i IN (SELECT *
                   FROM user_tab_columns
                  WHERE table_name = p_tab_name
                    AND datatype IN ('VARCHAR2', 'NUMBER', 'CHAR'))
       LOOP
          l_sql :=
                'update '
             || p_tab_name
             || ' set '
             || i.column_name
             || '=0 where '
             || i.column_name
             || ' is null';
          EXECUTE IMMEDIATE l_sql;
       END LOOP;
    END;G.

  • How to install E-bussiness suite with out creating the database?

    We are planning to Migrate our Single node Tru64 E-bussines suit installation to multi node IBM-AIX (DB Node) and Sun Solaris(APPL_TOP)
    We are thinking to follow below step
    1) Install E-Bussines suit with out Oracle Database( Only Oracle DB sotware and Apps Filesystem need to be installed) -- IBM AIX (DB Node) & Sun Solaris (APPL_TOP)
    2) Migrate current Oracle DB on Tru64 into IBM AIX using transportable Tablespace method
    It is ok to follow this approach?
    How to install Oracle E-bussiness suit with out Oracle Database? ( Only Oracle DB sotware and Apps Filesystem need to be installed)
    Thanks
    John

    John,
    For migrating the application tier, please refer to the following note:
    Note: 238276.1 - Migrating to Linux with Oracle Applications Release 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=238276.1
    For the database, you need to export/import the database.
    Note: 369693.1 - Using Oracle Applications with a Split Configuration Database Tier on Oracle 10g Release 2
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=369693.1
    Note: 362205.1 - 10g Release 2 Export/Import Process for Oracle Applications Release 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=362205.1
    Note: 304489.1 - Using Oracle Applications with a Split Configuration Database Tier on Oracle 9i Release 2
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=304489.1
    Note: 230627.1 - 9i Export/Import Process for Oracle Applications Release 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230627.1
    1) Install E-Bussines suit with out Oracle Database( Only Oracle DB sotware and Apps Filesystem need to be installed) -- IBM AIX (DB Node) & Sun Solaris (APPL_TOP)
    2) Migrate current Oracle DB on Tru64 into IBM AIX using transportable Tablespace method
    It is ok to follow this approach? 1) What about the patches you have applied since the time of the installation? Doing a fresh installation will not include these patches.
    2) The supported method to migrate an Oracle Apps database between two Operating Systems which are not binary compatible is by using export/import. I believe transportable Tablespace has some limitations and would not work for such migration.
    How to install Oracle E-bussiness suit with out Oracle Database? ( Only Oracle DB sotware and Apps Filesystem need to be installed)You would need to follow the steps in the notes referenced above. However, to answer your question, please refer to:
    Oracle Applications Installation Guide: Using Rapid Install - Chapter 5, Installing Technology Stack Components
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/r115102ins.pdf

  • How to Centre tables with out centreing the text in elements?

    Ok so this bug has been boggling my brains for a while. When i create a table and center it, all the text inside the table also center justifies (in the output and preview, but is not visible in HTML editor), no matter what the justification is for the cells, the cells will always justify as the table is justified.
    I have Robohelp ver.8
    In editor
    In output

    ok that solved the alignment problem. But now, i had a flaoting object in my header with navigation buttons. It is no longer floating.
    here is my master page code:
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="topic-comment" content="" />
    <meta name="generator" content="Adobe RoboHelp 8" />
    <title>SHARQ_Master_MO_2_1_2011</title>
    <link rel="StyleSheet" href="SHARQ_MO_2_1_2011.css" type="text/css" />
    <style type="text/css">/*<![CDATA[*/
    div.floating-menu {
    position: fixed;
    background: #000000;
    border: 0;
    width: 150px;
    z-index: 100;
    div.floating-menu a,
    div.floating-menu h3 {
    display: block;
    margin: 0 0.5em;
    /*]]>*/</style>
    </head>
    <body>
    <?rh-region_start type="header" style="width: 100%; height: 26px; background-color: #ffffff;" ?>
    <div class="floating-menu" style="width: 100%; border-left-width: 1px;
       border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px;
       float: none; background-color: #ffffff;">
      <table style="border: Solid 2px #66ccff; background-attachment: scroll;
         background-image: url('Images/header background.png');
         background-repeat: Repeat-X; left: 0px; top: 0px; height: 50px;"
         cellspacing="0" background="Images/header background.png"
         width="99%">
       <col width="48" />
       <col width="764" />
       <col width="521" />
       <tr style="height: 42px;">
        <td style="vertical-align: top;"><p style="margin-left: 5pt;
                  margin-top: 5pt; margin-bottom: 0pt;"><img
         src="Images\sharq_logo.png" alt="" style="border: none;"
         width="40" height="28" border="0" /></p></td>
        <td style="vertical-align: top;"><p style="margin-bottom: 0pt;
                  font-family: Garamond, serif;
                  color: #00337a; font-weight: bold;
                  margin-left: 5pt;
                  margin-top: 1pt; font-size: 20pt;">Mechanical
         Engineer Training Manual</p></td>
        <td><p style="margin-bottom: 0pt; margin-right: .15in;
           margin-top: 5pt; color: #0064ae;" align="right"><input
         type="image" name="image" src="Images\home.png" title="Home page"
         onclick="window.location.href='Disclaimer.htm'" style="width: 23px;
         height: 21px;" />&#160;<input type="image" value="Go Back"
                 onclick="history.go(-1)"
                 src="Images\Go Back.png"
                 name="image" title="Go back to previous page"
                 style="width: 77px; height: 21px;" />&#160;<script
         type="text/javascript">var sForward = canGo(true);
    var sBackward = canGo(false);
    //Get the path of the root of the project
    var sRelPath = _getRelativePath(document.location, gsStartPage);
    if(sBackward == true)
    document.write('<img src="'+sRelPath+'/images/left_out.png" title="Previous topic" onclick="onPrev()" style="cursor: pointer"/>');
    else
    document.write('<img src="'+sRelPath+'/images/left_in.png" title="No more topics to display"/>');
    if(sForward == true)
    document.write('<img src="'+sRelPath+'/images/right_out.png" title="Next topic" onclick="onNext()" style="cursor: pointer"/>');
    else
    document.write('<img src="'+sRelPath+'/images/right_in.png" title="No more topics to display"/>');</script></p></td>
       </tr>
      </table>
    </div>
    <?rh-region_end type="header" ?>
    <p style="margin-bottom: 1pt; line-height: Normal; margin-top: 1pt;">&#160;</p>
    <?rh-placeholder type="breadcrumbs" ph-align="2" sep-char=" -|- " home="Home"
    usetopicformat="0" ph-style="font-family:Calibri;font-size:8pt;font-weight: normal;font-style: normal;text-decoration: none; margin-top: 5pt" ?>
    <?rh-region_start type="body" ?>
    <p>&#160;</p>
    <?rh-region_end type="body" ?>
    <?rh-region_start type="footer" style="width: 100%; position: relative;" ?>
    <table style="left: 0px; top: 232px; height: 36px;" cellspacing="0"
        width="100%">
      <col style="width: 100%;" />
      <tr>
       <td style="vertical-align: bottom;"><p style="margin-top: 30px;"><span
        style="font-family: Calibri, sans-serif; color: #c0c0c0;">Copyright
        <?rh-symbol_start name="Copyright" ?>©<?rh-symbol_end ?> </span></p></td>
      </tr>
    </table>
    <?rh-region_end type="footer" ?>
    </body>
    </html>

  • How to connect to FTP server with out hardcoding the Password?

    HI experts,
    IN my SAP R3 i neeed to send a small file to FTP server from SAP application server using abap program.
    I found out many FMS which can connect ot FTP , but password need to be stored in Program.
    As per security issues i am not allowed to hardcode or keep the Password as constant , as my clinet will change the password weekly.
    Please suggest me a solution. How can we give the Password dynamically to the system.

    hi sivaram,
    You can keep the id password in a Batchfile and create a external command which doesnot need anyput just call external command from program and transfer file.

  • I lost my ipod touch and never set up gps how to set it up with out having my ipod

    i lost my ipod touch and never set up the gps. How do i set it up with out having my ipod touch

    You can't. You are SOL.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • Fill dynamic internal table with data from another dynamic table

    Hi,
    I have a huge dynamic table with a few columns and need to fill another dynamic table with some of the columns, that are also existing in the other one. I first know at runtime, which fields the smaller table contains.
    Until now, I did it that way:
      LOOP AT <it_tab_structure> ASSIGNING <wa_tab_structure>.
        LOOP AT lt_comp_full INTO ls_comp_full.
          ASSIGN COMPONENT ls_comp_full-name OF STRUCTURE <structure> TO <column>.
          ASSIGN COMPONENT ls_comp_full-name OF STRUCTURE <wa_tab_structure> TO <value>.
          <column> = <value>.
        ENDLOOP.
        APPEND <structure> TO <table>.
      ENDLOOP.
    lt_comp_full contains the columns of the second table, that have to be filled.
    This is taking a very long time, as there can be a lot of columns in the source table and the source table contains at least 100000 records.
    Is there therefore any way to fill the other table faster?
    Thank you & best regards,
    Michael

    Hey Sharath,
    thank you for your answer! Unfortunately I don't have a 7.4 system here, but your example pointed out, that I can also use move-corresponding from one structure to the other, which I thought, was not possible. I'm trying out, if this makes it faster now.
    I'll let you all know, if this made the deal.
    Thank you & best regards,
    Michael & Arne

  • How to fill depended Z-Table, created by Rapid Application Tool, with initial data?

    Hello gurus,
    I created a component ZBOOKING with RAD Tool and will fill booking detail table with initial data during a creation of new booking objekt.
    My Booking component looks like on the picture below. It was created with Rapid Application Tool and is based on one ZBOOKING Table with was created in CRM Backend and one “Booking details” Table with was created with Rapid Application.
    My Question is how should I populate initial Template-Data to this dependent “booking details” Table wenn I will create a new booking object.
    Web UI of ZBooking component
    Component structure of ZBooking
    I have tried to do sample implementation in do_init_context method of ZACL_CLASS00000C_IMPL class to fill ZBOOKING_DETAILS with some data.
    method DO_INIT_CONTEXT.
    CALL METHOD SUPER->DO_INIT_CONTEXT.
    DATA: lr_col TYPE REF TO if_bol_bo_col,
    lr_valuenode TYPE REF TO  cl_bsp_wd_value_node,
    lr_template  TYPE REF TO  ZBOOKING_DETAIL.
    CREATE DATA lr_template.
    CREATE OBJECT lr_valuenode
    EXPORTING
    IV_DATA_REF = lr_template.
    if lr_valuenode is BOUND.
    lr_valuenode->SET_PROPERTY_AS_STRING(
    iv_attr_name = 'ZZVISITDATE' "#EC NOTEXT
    iv_value     = '01.01.2014'
    ENDIF.
    CREATE OBJECT lr_col TYPE cl_crm_bol_bo_col.
    lr_col->ADD(
    exporting
    iv_entity = lr_entity
    IV_SET_FOCUS = ABAP_TRUE
    me->TYPED_CONTEXT->ZBOOKING_DETAIL->SET_COLLECTION( lr_col ).
    endmethod.
    After this implementation the initial data is displayed in “Booking details”.
    However if I press an Edit-List-button (Assignment block) I get an error “CUST Operation”.
    May be I should fill this depented table ZBOOKING_DETAILS without cl_bsp_wd_value_node?
    Where should I implement logic if I want to fill initial data just during creation of booking object and not every
    time when the booking object is called or initialized?
    Regards Dmitry

    Hi,
    I get an error "Dereferencing of the NULL reference" during created_related_entity.
    If you see on the picture below I think that I use right relation name for my zbooking_detail table.
    method DO_INIT_CONTEXT.
    CALL METHOD SUPER->DO_INIT_CONTEXT.
    data :   lr_leading_entity  TYPE REF TO cl_crm_bol_entity,
                lr_col TYPE REF TO if_bol_bo_col.
               lr_leading_entity->create_related_entity(
                      iv_relation_name = 'ZAET_CA_ATAB000000' ).
               lr_leading_entity->SET_PROPERTY_AS_STRING(
                           iv_attr_name = 'ZZVISITDATE' "#EC NOTEXT
                           iv_value     = '01.01.2014'
    lr_col->ADD(
       exporting
         iv_entity = lr_leading_entity
         IV_SET_FOCUS = ABAP_TRUE
    me->TYPED_CONTEXT->ZBOOKING_DETAIL->SET_COLLECTION( lr_col ).
    endmethod.
    Many Thanks & Regards,
    Dmitry

  • How to get iterator with out dragging the table?

    Hi,
    Kindly help me out in getting the iterator for a view object with out dragging it on to the JSF page.
    Can we create bindings in the binding container with out dragging the table on to page.
    Kindly come up with suggestions.
    Thanks,
    Phani

    if i understud correclty. follow this
    public String getit58Value() {
    try
    if(!this.isEmptyDescr())
    DCBindingContainer dcBindings = (DCBindingContainer)getBindings();
    DCIteratorBinding dcIterator = dcBindings.findIteratorBinding("CrmCntrl2View1Iterator"); // r u meaning something like this. // am accessing without drop in jspx page
    System.out.println(""+dcBindings.getIterBindings());
    Row row = dcIterator.getCurrentRow();
    this.setEmptyDescr(false);
    System.out.println(""+row.getAttribute("BuDesc"));
    return (String)row.getAttribute("BuDesc");
    and another one .
    pagedef file . in bindings.
    we can create bindings as we need.
    but one suggestion. by default adf tak care its bindings . so time to ask what is usecase?

  • How to fetch the data to the internal table with out using mandt

    Hi all,
    Iam giving my code please observer... and give me the reasonable solution.
      t_mar LIKE STANDARD TABLE OF z_mar.
    SELECT  mandt
             werks                         " Plant
             lifnr                         " Vendor
        FROM z_mar
        INTO TABLE t_mar
    where sal = 2000.
    By removing MANDT from select query, it is going to dump.
    ex:
       SELECT 
              werks                         " Plant
              lifnr                         " Vendor
         FROM z_mar
         INTO TABLE t_mar
    where sal = 2000.
    > Now it is going to dump ( here i removed the mandt field ).
    Please give me a solution to fetch the data by removing mandt in select statement, with out chaning the internal table structure.
    Thanks,
    Ravi

    hi Ravi,
    i also had to avoid move-corresponding and the following is what i did...its extra work and goes around but it will
    do the needed work..............
    t_mar LIKE STANDARD TABLE OF z_mar.
    SELECT *
    FROM z_mar
    INTO TABLE t_mar
    where sal = 2000.
    the above gets you all the fields ...but if you still want to narrow it down to just two fields
    *****Declaring structure with 2 fields
    data:begin of fs_data.
    data:werks type z_mar-werks,
         lifnr type z_mar-lifnr ,
    data:end of fs_data.
    *******internal table of above
    data:int_data like fs_data occurs 0 with headerline.
    *****moving the only 2 required fields
    loop at t_mar.
    t_mar-werks  = int_data-werks.
    t_mar-lifnr  = int_data-lifnr.
    append int_data.
    endloop.
    Hope you found it useful...
    Regards
    Bx

  • Problem about fill set up table

    Hi all,
    I got a problem when I run the fill set up table for sales billing data source. what I did is:
    first delete the setup table then oli9bw->type in a sales document no.(as I only want this order data), then give a run name, last execute, but I got the message as follow:
    Data source 2LIS_13_VDITM contains data still to be transferred
    Could you pls explain what this means, and what should I do to solve the problem
    Thanks

    Set up table definition
    Setup table is store the historical data, where as the delta records are updated in delta queue not to set up table.
    So once historical data is loaded you can delete the contents of the set up table.
    name is extract sturcture of your data source + setup
    also data is taken from setup table when an init / full/ full repair load is done.
    so in order to take ur records from the table delete the setup table(LBWG) and initialize it with ur records.
    You can find the contents SE16
    Filling set up tables
    transac LBWG
    + SBIW -> Logistics -> Managing Transfer Information Structures-> Setup of Statistical Data-> Application-Specific Setup of Statistical Data
    set up tables
    Set up tables
    Set up tables
    view of set up tables data in se11??????????
    Set Up tables..
    lo: delete set up tables: DOUBT
    LBWQ is the extraction queue and RSA7 is delta queue. Data is sent to delta queue from extraction queue through collective job scheduled in transaction LBWE.
    when we want to extract the data using LO Cockpit, the data will be come to the extraction queue first and from there it will processed to the delta queue. SO lbwq works as a outbound queue.
    If the update mode is Unserialised V3 then as soon as the document is posted it comes update table which you can see in Tr. Code SM13. After the jonb is scheduled the records come to RSA7 i.e delta queue from which BW pulls the data
    If you use u201CQueued Deltau201Dupdate method then the data moves to Extraction queue(LBWQ). Then run Collective update to move the data from LBWQ into Delta Queue (RSA7). Then schedule the data using the infopackage by selecting Delta Load in the update tab.
    So in If you are going to do Setup table filling, delete the data from LBWQ.
    The usage of Extraction queue(LBWQ) comes in to picture in delta loading. But actually system starts collecting the data (whenever there is document creation in R/3) after activating the EXtraction structure.
    Steps to Be Performed
    We know that there are 4 types of delta extraction that are available in LO. If you use u201CQueued Deltau201Dupdate method then the data moves to Extraction queue(LBWQ). Then run Collective update to move the data from LBWQ into Delta Queue (RSA7). Then schedule the data using the infopackage by selecting Delta Load in the update tab.
    Here is Roberto's weblog:
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    check this out...
    LBWQ - T code is for what?
    Ttransaction LBWQ
    What is LBWQ?
    Assign points if it helps
    Hope it helps
    regards
    Bala

  • 2LIS_11_VAHDR - Filling set up tables chanceled

    Hello,
    I set up a new cube. Here filling set-up tables of application 11 is necessary.
    The job chanceled. Error message:
    Error converting quantity: unit KG numerator 0 denominator 0 (doc. 75555833)
    Is there a possibility to start from the point where it failed or is a complete new start
    (delete of set-up tables of area 11) necessary?
    In the corresponding set-up tables I don't see the doc.-numbers.
    Than

    Hello,
    thanks for you input!!!! It was very helpful.
    As I understand - ALL documents must be correct in order to fill the set-up table.
    Over the weekend I scheduled the job again - chanceled after 24 hours.
    I set the no. of records to be ignored = 999.999. Nevertheless the job failed.
    Question: Is there a way to find out how many douments are wrong? I assumed in the job-log....but here was only a doc. number.
    By the way - it's all in production system.
    Any idea how I can proceed? ...time slot for weekend on the system is already reserved.

  • Internal table with out header line

    Hi friends,
    Can u send me code for internal table with out header line : how to declare ,how to populate data and how to access the data
    Regards,
    vijay

    Hi Vijay
    There are several ways to declare an internal table without header line:
    A) You can define a type table
    TYPES: BEGIN OF TY_ITAB OCCURS 0,
            INCLUDE STRUCTURE ZTABLE.
    TYPES: END   OF TY_ITAB.
    and then your intrnal table:
    DATA: ITAB TYPE TY_ITAB.
    B) DATA: ITAB TYPE/LIKE STANDARD TABLE OF ZTABLE.
    C) DATA: ITAB TYPE/LIKE ZTABLE OCCURS 0.
    All these ways create a STANDARD TABLE
    You can create other types of internal table, for example SORTED TABLE or HASHED TABLE.
    These kinds of table can allow to improve the performance because they use different rules to read the data.
    When it wants to manage a table without header line, it need a work area, it has to have the same structure of table.
    DATA: WA LIKE ZTABLE.
    DATA: T_ZTABLE LIKE STANDARD TABLE OF ZTABLE.
    A) To insert the record:
    If you use INTO TABLE option you don't need workarea
    SELECT * FROM ZTABLE INTO TABLE T_ZTABLE
                                      WHERE FIELD1 = 'Z001'
                                        AND FIELD2 = '2006'.
    but if you want to append a single record:
    SELECT * FROM ZTABLE INTO wa WHERE FIELD1 = 'Z001'
                                   AND FIELD2 = '2006'.
    APPEND WA TO T_ZTABLE.
    ENDSELECT.
    Now you need workarea.
    B) To read data: you need always a workarea:
    LOOP AT T_ZTABLE INTO WA WHERE ....
      WRITE: / WA-FIELD1, WA-FIELD2, WA-FIELD3.
    ENDLOOP.
    or
    READ T_ZTABLE INTO WA WITH KEY FIELD3 = '0000000001'.
    IF SY-SUBRC = 0.
    WRITE: / WA-FIELD1, WA-FIELD2, WA-FIELD3.
    ENDIF.
    Anyway if you want to know only if a record exists, you can use the TRANSPORTING NO FIELDS option, in this case it doesn't need a workarea.
    READ T_ZTABLE WITH KEY FIELD3 = '0000000001'
                                      TRANSPORTING NO FIELDS.
    IF SY-SUBRC = 0.
    WRITE 'OK'.
    ENDIF.
    C) To update the data: it always needs a workarea
    LOOP AT T_ZTABLE INTO WA WHERE FIELD3 = '0000000001'.
    WA-FIELD3 = '0000000002'.
    MODIF T_ZTABLE FROM WA.
    ENDLOOP.
    or
    READ T_ZTABLE INTO WA WITH KEY FIELD3 = '0000000001'.
    IF SY-SUBRC = 0.
    WA-FIELD3 = '0000000002'.
    MODIF T_ZTABLE FROM WA INDEX SY-TABIX
    ENDIF.
    AT the end you can use the internal table to update database:
    MODIFY/UPDATE/INSERT ZTABLE FROM T_ZTABLE.
    See Help online for key words DATA, you can find out more details.
    Max
    Message was edited by: max bianchi

  • Deletion of duplicates in the table with out using rowid

    How can I delete duplicates in the table with out using ROWID .

    hi
    sleect count(coulmnname),columnname from table
    group by columnname
    having count(columnname) > 1;
    find the primary key of the table
    apply the below query
    delete from table
    where (primary key,repeated column name )
    not in
    ( select min(primary key), repeated column
    from employee group by repeated column );
    use this in the primary key column use empid ,,,the repated column is ename
    empid ename
    1 sankar
    2 sankar
    try this one

Maybe you are looking for

  • ITunes creating duplicates in my Windows music folders?

    I ran out of space on my local hard drive, so I moved iTunes and all my music folders to an external drive. I wish I had checked here first, and gotten the instructions to move my music, but I didn't. I just dragged everything to my external drive. I

  • Digital Copy, The Dark Knight

    I bought the dark knight on bluray which came with a digital copy but it won't sync to my ipod even tho I downloaded it via itunes. It says unable to copy to ipod cause format is not supported by ipod. I have ipod nano 3rd gen and never had this prob

  • Finding i photos easily to add as email attachments .

    Is there an easy way to add attachments to emails of photos that are stored in i photo folders ? . Before I always stored folders in an image folder and could easily find them . Now that I have a new Mac I started placing everything in folders in i P

  • ORA-39125 importing tablespace

    Oracle SE 10g SO- Unix I'm traying import a tablespace using EM, but y got this error, can somebody give me an advise? Processing object type TABLE_EXPORT/TABLE/TABLE_DATA ORA-39125: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS

  • What is an ideal Mac video production set-up?

    G'day y'all, I am running the Final Cut Pro Studio version. I have done some basic Avid editing professionally over the past several years and purchased my PowerBook G4 to produce some family videos. I have been producing personal videos on my PowerB