How to get only one line between tables in database diagram?

Hi!
I'm using jdev 10.1.3. I've got a database schema with a lot of tables. I would like to have them in one database diagram in compact view with only ONE line between two tables even if there are more foreign key columns between the two tables. In the shema there are a lot of foreign keys with multiple columns and the diagram is hard to read.
How to archieve this?
Thanks,
Carsten.

hi,
u should use the same variable across all your queries.In the WAD there is a propoerty "display same variable once". Check that.
hope it helps,
regards,
Parth

Similar Messages

  • How to get only one character

    my problem is the following:
    i want to get only ONE character from the input without pressing the "enter"-key. for example pressing ESC and doing something because it is ESC hit.
    thank you

    You can't. Either use a GUI or create a JNI DLL function that calls getch ().
    Kind regards,
      Levi

  • How to restrict only one row in Table ??.

    Hi all,
    i want to restrict no. of rows to one,
    that is not more that one row should be there in the table.
    Following trigger works well in all conditions
    except:
    insert into myTab select 'x' from emp;
    inserts 14 rows.
    Create or replace trigger one_row_myTab
    before insert on myTab
    for each row
    declare
    cnt number;
    pragma AUTONOMOUS_TRANSACTION;
    Begin
    select count(*) into cnt from mydual;
    if cnt=1 then
    raise_application_error(-20001,'MyDual Can have only one Row');
    end if;
    end;
    i think with trigger it w't be possible because,
    same transaction triggers c't query the table (Mutating Table),
    Autonomus trans ca't identify uncommited changes.
    pls add your suggestions.
    Thanks for Reading the Post.
    Rajashekhar Ganga,
    mail : [email protected]

    nice try Mulder ! it doesn't work everywhere...
    SQL> connect scott/tiger@lsc69
    Connected to:
    Oracle7 Server Release 7.3.4.5.0 - Production
    With the distributed and parallel query options
    PL/SQL Release 2.3.4.5.0 - Production
    SQL>  create table d as select * from dual;
    Table created.
    SQL> create index i on d(1);         
    create index i on d(1)
    ERROR at line 1:
    ORA-00904: invalid column name
    SQL> connect scott/tiger@lsc65
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production
    JServer Release 8.1.7.4.0 - 64bit Production
    SQL> create table d as select * from dual;
    Table created.
    SQL> create index i on d(1);         
    Index created.
    SQL> connect scott/tiger@lsc68
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - 64bit Production
    With the Partitioning and Data Mining options
    SQL> create table d as select * from dual
    Table created.
    SQL> CREATE UNIQUE INDEX i on d(1);                  
    CREATE UNIQUE INDEX i on d(1)
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel

  • I am getting only one record from table data

    Hi Experts,
    I am using interacive forms to bring the table data i used  GET_STATIC_ATTRIBUTES_TABLE
    method. initially the table is empty when i fill some records more than one it is giving me only one record.
    where as i fill the table in wddoinit more than one record and try to retreived it, showing all the records more than one. waht is the reason.. if i fill manually why it is not bringing all the reocrds.
    i have used the cardinatly as follows
    1. parent node(no tables/structure used)
    Dictionary structure       empty not used
    Cardinality 1..1
    Selection 0..1
    Initialization Lead Selection  Checked
    Singleton    Not checked
    Supply Function  not used
    2. table node(i used table type)
    Dictionary structure    SFLIGHT_LIGHT
    Cardinality 1..n
    Selection 0..n
    Initialization Lead Selection  Checked
    Singleton    Not checked
    Supply Function  not used
    Pleae help me out...
    Thanks,
    Mahesh.Gattu

    hi,
    Use the following code for making the rows editable for a table UI element.
      DATA lo_nd_cn_try TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_try TYPE REF TO if_wd_context_element.
      DATA ls_cn_try TYPE wd_this->element_cn_try.
      DATA ls_cn_try1 TYPE wd_this->elements_cn_try.
    navigate from <CONTEXT> to <CN_TRY> via lead selection
      lo_nd_cn_try = wd_context->get_child_node( name = wd_this->wdctx_cn_try ).
    do 5 times.                       
    clear ls_cn_try.
    append ls_cn_try to ls_cn_try1.
    lo_nd_cn_try->bind_table( ls_cn_try1 ).
    enddo.
    ->  cn_try is the node which is binded with the Table UI element.
    What all this is called as initialization of table. This code will make 5 rows editable, If u want more rows editable then run the loop according to the requirement.
    U can write this code in the WDDOINIT.
    Thanks,
    Pankaj Aggarwal.

  • WAD : 2 Queries in 2 tables : How to get only one input parameter ? :-(

    Hi,
    In my WAD Report, I've several tables ( each include a query result ). Those query have one variable ( which is a range of month ).
    How can I link the range of month to all my queries ?
    ( for the moment, the parameters(variables) screen display as much month variable as query )
    Thx,
    Regards,
    Erwan

    hi,
    u should use the same variable across all your queries.In the WAD there is a propoerty "display same variable once". Check that.
    hope it helps,
    regards,
    Parth

  • Two partitions with OSX how to get only one back

    I installed xp on my macbook and did not know it was service pack 1. Hours later I have two partitions on my macbook both with OSX now. How can I get my macbook back to one partition with OSX on it?


    Enlarging a volume
    If you have multiple volumes on a disk and one is running out of space, you may be able to enlarge it
    without losing any of its data.
    To enlarge a volume, you must delete the volume that comes after it on the disk, and then move the
    volume’s end point into the freed space. You can’t enlarge the last volume on a disk. You can see the
    order of the volumes in Disk Utility by selecting the disk, clicking Partition, and looking at the Volume
    Scheme list.
    All data on the deleted volume will be erased. Be sure to back up your disk’s data before you begin.
    To enlarge a volume:
    From the list at the left, select the disk that contains the volume you want to enlarge, and then click
    Partition.
    In the Volume Scheme list, select the volume beneath the volume you want to enlarge, and then click
    Delete〔-〕.
    The volume is immediately erased, leaving the space it formerly occupied available.
    Resize the volume.
    You can drag the divider at the bottom of the volume in the Volume Scheme list, or you can select the
    volume, and then enter a value in the Size field.
    If the enlarged volume doesn’t use all the space from the deleted volume, you can create new volumes
    in the unused space.
    To create a new volume, click Add〔+〕, select the new volume, and choose its name, format, and size.
    Click Apply.
    Disk Utility enlarges the volume and creates any new volumes.
    Kj ♞

  • How to get only one record per machine

    I have this SQL statement that works.
    SELECT 
    cn.Name0 AS [Computer Name],
    cn.Model0 AS [Model],
    cn.Manufacturer0 AS [Manufacturer],
    bios.SerialNumber0 AS [Serial Number],
    rs.Operating_System_Name_and0 AS [OS Type], 
    --ld.FreeSpace0 AS [Free Disk Space],
    --ld.Size0 AS [Actual Disk Size],
    x86.TotalPhysicalMemory0 AS [Total Memory], 
    aa.SMS_Assigned_Sites0 AS [Assigned Site]
    FROM
    v_GS_COMPUTER_SYSTEM cn INNER JOIN v_GS_LOGICAL_DISK ld on cn.ResourceID = ld.ResourceID
    INNER JOIN v_GS_PARTITION gs ON cn.ResourceID = gs.ResourceID
    INNER JOIN v_GS_X86_PC_MEMORY x86 ON gs.ResourceID = x86.ResourceID
    INNER JOIN v_R_System rs ON gs.ResourceID = rs.resourceID
    INNER JOIN v_GS_PC_BIOS bios ON rs.resourceID = bios.ResourceID
    INNER JOIN v_RA_System_SMSAssignedSites aa ON bios.ResourceID = aa.ResourceID
     WHERE 
    cn.Model0 LIKE '%780%' 
    ORDER BY
    cn.Name0
    The problem is whent his runs it returns multiple rows for each serial number/machine it finds.  So I'll have 5 or 6 rows for the exact same machine.  How do I make it only give me 1 row for each serial number/machine?
    mqh7

    ... because you added v_GS_PARTITION gs (which results in multiple rows per resource) and then you are doing the inner join blues.
    This should be better:
    SELECT
     cn.Name0 AS [Computer Name],
     cn.Model0 AS [Model],
     cn.Manufacturer0 AS [Manufacturer],
     bios.SerialNumber0 AS [Serial Number],
     rs.Operating_System_Name_and0 AS [OS Type],
     --ld.FreeSpace0 AS [Free Disk Space],
     --ld.Size0 AS [Actual Disk Size],
     x86.TotalPhysicalMemory0 AS [Total Memory],
     aa.SMS_Assigned_Sites0 AS [Assigned Site]
    FROM
     v_GS_COMPUTER_SYSTEM cn
     -- INNER JOIN v_GS_LOGICAL_DISK ld on cn.ResourceID = ld.ResourceID
      --INNER JOIN v_GS_PARTITION gs ON cn.ResourceID = gs.ResourceID
     INNER JOIN v_GS_X86_PC_MEMORY x86 ON x86.ResourceID = cn.ResourceID
     INNER JOIN v_R_System rs ON rs.ResourceID = cn.resourceID
     INNER JOIN v_GS_PC_BIOS bios ON bios.resourceID = cn.ResourceID
     INNER JOIN v_RA_System_SMSAssignedSites aa ON aa.ResourceID = cn.ResourceID
     WHERE  cn.Model0 LIKE '%780%'
    ORDER BY
     cn.Name0
    Torsten Meringer | http://www.mssccmfaq.de

  • How to get FINAL One Line Text Message of "Any Query" in variable???

    Hi Guru,
    I have a table which consist of columns like
    sql_stmt varchar2(2000),
    sql_output_msg varchar2(2000).
    You know that, Every successful  sql stmt comes with result msg like 10 Rows Updated, Grant Succeed, Table Created, Table Dropped etc...
    I want to capture that last msg into variable and update (populate) sql_output_msg with this msg.
    Please help me in that.
    Thanks in Advance,
    Virus

    Hi,
    Use on message trigger

  • Only one line is getting printed in Table in Smartforms (ECC 6.0)

    Hello Sir,
    I am new in ABAP and doing Smartforms (ECC 6.0) on project from customer side.
    I have to deliver the object in time and it is already late, please help me.
    This is my question:
    Object :  Stock Transport Order.
    =======================
    I have created Table in main window after Program Line Node.
    >Main Window
    >>Code2
    >>Table1
    >>>Header
    >>>>Row1
    >>>>>Cell1 to Cell10
    >>>Main Area
    >>>>Row2
    >>>>>Cell1 to Cell10
    >>>Footer
    >>>>Row3
    >>>>>Cell1 to Cell10
    I have mentioned internal tabel as well work area table in "DATA" tab in table Node.
    In Row1 I have created Text Node in every cell having Column Heading.
    In Row2 I have created Text Node in every cell having variable.
    In Row3 all cells are blank.
    On output only one line is getting printed
    What could be the reason.
    =====================================================================
    This is Code1 (is in the beginning of the form in window1)
    ==========
    *& Selection of Purchasing Document No,Plant,Short Text,Quantity,Material No,
    *& Gross order value in PO currency
    select single ebeln werks txz01 menge matnr brtwr
    from ekpo into
    (v_ebeln,v_werks,v_txz01,v_menge,v_matnr,v_brtwr)
    where ebeln = DOCNO.
    *& Selection of Plant address
    select single adrnr from t001w into v_adrnr
    where werks = v_werks.
    *& For Selection of phone,fax
    select single name1 tel_number fax_number from adrc into (v_name1,phone,fax)
    where addrnumber = v_adrnr.
    *& For E-Mail Selection
    select single SMTP_ADDR from adr6 into mail where addrnumber = v_adrnr.
    *& For CST No.,GST No.
    select single J_1ICSTNO J_1ILSTNO
                  from J_1IMOCOMP into (CST,GST)
                  where werks = v_werks.
    *& Selection of Vendor Address No., PO date
    select single reswk aedat from ekko into (v_reswk,v_aedat) where
    ebeln = v_ebeln.
    *& Selection of Supplying (Issuing) Plant address
    select single adrnr from t001w into vendor
    where werks = v_reswk.
    *& Selection of storage location
    select single lgort from ekpo into v_lgort where werks = v_werks
    and ebeln = v_ebeln.
    *& Selection of description of storage location
    select single lgobe from t001l into v_lgobe where werks = v_werks.
    *& Fetching data into internal table from ekpo
    select ebeln ebelp matnr txz01 menge brtwr from ekpo into corresponding fields
    of table iekpo where ebeln = v_ebeln and werks = v_werks.
    Fetching data into internal table from marm for Pck
    select * from marm into corresponding fields of table imarm for all entries
    in iekpo where matnr = iekpo-matnr.
    Fetching data into internal table from mara for Pack Type Code
    select * from mara into corresponding fields of table imara for all entries
    in iekpo where matnr = iekpo-matnr.
    Fetching data into internal table from tvegrt for Pack Type Description
    select * from tvegrt into corresponding fields of table itvegrt
    for all entries in imara where magrv = imara-magrv.
    Fetching data into internal table from eket for Receipt Date
    select * from eket into corresponding fields of table ieket
    where ebeln = v_ebeln.
    Selection of Order Type from mepo_topline
    *select single bsart from mepo_topline into v_bsart where ebeln = v_ebeln
    *and superfield = v_werks.
    *if v_bsart = 'UB'.
    xhead = 'Replenishment Order'.
    *eleseif v_bsart = 'ZSTO'.
    xhead = 'Purchase Order'.
    *endif.
    *& Defining of variable for Printing Line Serial Number,Total Quantity,
    *& Total Value
    =====================================================================
    This is Code2 (is in the main window)
    ==========
    xln = 0.
    tmenge = 0.
    tvalue = 0.
    Loop for printing table
    loop at iekpo into wekpo.
      xln = xln + 1.
      xmatnr = wekpo-matnr.      " Material Number (Code)
      xtxz01 = wekpo-txz01.      " Material Name
      xmenge = wekpo-menge.      " Line Quantiy
      xbrtwr = wekpo-brtwr.      " Basic Rate
    *& Pck
      read table imarm into wmarm with key matnr = wekpo-matnr.
      xpck = wmarm-umren.        " Packing Size
    *& Num
      xnum = xmenge / xpck.      " Numbers of Packing
    *& Line Value
      xvalue = xmenge * xbrtwr.  " Line Basic Value
    *& Packing Type
      read table imara into wmara with key matnr = wekpo-matnr.
      xpacktype = wmara-magrv.   " Packing Type Code
    *& Packing Type Description
    read table itvegrt into wtvegrt with key magrv = imara-magrv.
    xpackdesc = wtvegrt-bezei. " Packing Type Description
    *& Receipt Date
      read table ieket into weket with key ebeln = v_ebeln.
      xrcpdt = weket-eindt.      " Receipt Date
    *& Report Total
      tmenge = tmenge + xmenge.
      tvalue = tvalue + xvalue.
    *& Serial No. increment
    endloop.
    =====================================================================
    Thanks and Regards,
    Yogesh Pathak

    Did you debug and check the umber of values in internal table before calling the TABLE Node....
    seeing all SELECT SINGLE along with WHERE = condition and no loop call on them, my assumption  is there will be on record only. Check in Debug mood. Search forum to find how to debug a smartform.

  • In Table Control How to get only a single row .

    Hi
    In Table Control How to get only a single row .I am able to decrease it its height to 4 but then 2 rows is getting dsplayed .I want only one row to be display and 2nd row should be deactivated or not visible.
    regards
    Avik
    Edited by: Julius Bussche on Jan 30, 2009 1:10 PM
    Removed friendly greeting from the subject title

    Hi Avik
    use this code it will help you.
    MODULE passdata OUTPUT.
      READ TABLE it_revision INTO wa_rev INDEX tab_clc-current_line.
      IF sy-subrc = 0.
        LOOP AT SCREEN.
          IF screen-group1 = '111'.      " 111 IS THE GROUP NAME
            screen-input = 1.          " input mode
            screen-active = 1.         " input mode.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-group1 = '111'.       "GROUP NAME
            screen-input = 0.           " display mode
            screen-active = 1.          " DISPLAY MODE.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDMODULE.                 " PASSDATA  OUTPUT
    Make sure in group tou are passing the field name that you want in input mode on the base of other field
    Hope it will help you.
    Thanks
    Arun Kayal.

  • How to get page one to animate only once in interactive pdf?

    how to get page one to animate only once in interactive pdf? I like when the document opens up in acrobat and the the page animations work but when I go to one of the pages and hit my designated home button it goes back to page one but it reloads again. As a user it would drive me crazy to have to wait for all of it to load......anyway to have that page one load once as the opening page?

    I don't think you really mean animations (unless you have a placed SWF file) because things created with the Animation panel don't work in PDF. Nonetheless, you're talking about some kind of interactivity which is set to happen On Page Load.
    So when you return to that page, of course the interactivity loads again.
    There isn't a On Page Load Once command.
    Perhaps you need to rethink why the interactivity is there. If it's important, maybe it should be triggered by a rollover or by clicking a button.

  • How to get only current exception message from tables

    Hi
    In my sceanario , I want to have the list of Current MRP exception messages list from table
    I understand that MRP detailed lists, including all exception messages, are stored in transparent table MDKP and cluster table MDTC.
    I can tell ABAPer to write a report for me , to read the data from these tables , but I guess these tables contain old exception message also , which are not currently appearing in MRP list
    How to get only current exception message
    Rgds,
    sandeep

    Sandeep,
    MDTC contains only data from the most recent MRP run.  So, all messages you see are those which are currently valid.
    The messages might have first appeared during a previous run, but they still need to be addressed.
    Before you invest a lot of time and effort into writing and debugging a custom report, you should probably try to use the standard SAP functionality found in MD06.  On the Processing indicator tab, you can select "Only with new exceptions".  Here you can tag a material/plant as 'processed', and thereafter, the exceptions that existed there before you tagged the part will not be re-displayed.
    Best Regards,
    DB49

  • How to get all the line items for each Purchasing Document ?

    Hi,
    There are multiple purchase orders (EBELN) in PSA with different line items (EBELP). But, when loaded into ODS from PSA, I am getting purcahse orders with only one Line item.
    Eg.,If the EBELN has a Record# 4000005 and has 3 line items in it (10,20, 30), I am receiving 10 or 20 or 30 Line item.
    As there are more than one line item per PO, how can I retreive all of them?
    Also, there are no conditions / routines in transfer structure and update rules.
    Please let me know

    problem solved.
    I moved the EBELP field from Data fields to Key Fields in ODS.

  • Multiple line item in billing but only one line item in accounting document

    Hi Everyone,
    I am having one scenario in which sales order has more than one line item. Only one billing document is create for all line items in Sales Order but billing document contains as many items as sales order has. In accounting document of billing i find only one customer line which has total amount of all line items in billing as debited. My requirement is Accounting document also should have as many line of customer-debit as in billing items i.e sales order. For example :
    (1) Sales order has 2 line items.
    (2) Billing document is only ONE and has 2 line items
    (3) currently accounting document has only ONE line of Customet - Debit ( Total amount of both items)
    My requirement is
    Accounting document should have 2 line item of customer - Debit
    Customer - Debit (amount of first line item)
    Customer - Debit (amount of Second line item)
    Sales - Credit
    How can it be done ?
    Regards,
    Manish

    Hi,
    This is the SAP expected behaviour
    As far as the values correspond to same account key and same GL account as per account determination, then ti will be posted as a single line item in FI document.
    If you want the customer specific items to be posted in two GL accounts , then you have to do the account determination that way.
    For example, you should have a condition table in FICO as follows.
    Sales org/ Account key / Customer
    For this condition table, the entries shoudl be as follows.
    5110/ERS/Customer A  GL ACCOUNT IS 5000100
    5110/ERS/Customer B GL ACCOUNT IS  5000200
    In this case, there will be 2 entries for the invoice instead of just one line entry.

  • How to display only one row in report when...

    Hi,
      I've a report display in which i've 3 fields EBELN, LIFNR , MENGE. EBELN, LIFNR are from EKKO table and MENGE id from EKPO table .
             On clicking the EBELN there will be getting another report in which we get EBELN,EBELP and MATNR and MENGE from EKPO table .
           The problem is while displaying 1st report if the purchase order has two items in EKPO table then its displaying two times. How can i get only one time and the MENGE should be sum of those two item prices.

    hi use the statement not to get the  multiple items..
    sort itab by ebeln.
    delete adjacent duplicates from itab comparing vbeln.
    i will give u an example to get the total and subtotal ....
    *& Report  ZR_A1
    REPORT  ZR_A1
            NO STANDARD PAGE HEADING.
    Tables declarations
    TABLES: VBAK, VBAP.
    Variable declarations
    DATA: C1 TYPE C.
    Internal Table declarations*
    DATA: BEGIN OF IT_VBAK OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          VKORG LIKE VBAK-VKORG,
          VTWEG LIKE VBAK-VTWEG,
          SPART LIKE VBAK-SPART,
          END OF IT_VBAK.
    DATA: BEGIN OF IT_VBAP OCCURS 0,
          VBELN LIKE VBAP-VBELN,
          POSNR LIKE VBAP-POSNR,
          MATNR LIKE VBAP-MATNR,
          NETWR LIKE VBAP-NETWR,
          BRGEW LIKE VBAP-BRGEW,
          NTGEW LIKE VBAP-NTGEW,
          END OF IT_VBAP.
    DATA: BEGIN OF IT_FINAL OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          VKORG LIKE VBAK-VKORG,
          VTWEG LIKE VBAK-VTWEG,
          SPART LIKE VBAK-SPART,
          POSNR LIKE VBAP-POSNR,
          MATNR LIKE VBAP-MATNR,
          NETWR LIKE VBAP-NETWR,
          BRGEW LIKE VBAP-BRGEW,
          NTGEW LIKE VBAP-NTGEW,
    END OF IT_FINAL.
    Selection-screen design
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-R01.
    SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN.
    SELECTION-SCREEN: END OF BLOCK B1.
    TOP-OF-PAGE.
    FORMAT INTENSIFIED ON COLOR 5.
    WRITE:/7 'LIST TO DISPLAY SALES ITEM INFO'.
    START-OF-SELECTION.
    Populating it_vbak table
    SELECT VBELN
           VKORG
           VTWEG
           SPART
           FROM VBAK
           INTO TABLE IT_VBAK
           WHERE VBELN IN S_VBELN.
    populating it_vbap table
    IF NOT IT_VBAK[] IS INITIAL.
    SELECT  VBELN
            POSNR
            MATNR
            NETWR
            BRGEW
            NTGEW
            FROM VBAP
            INTO TABLE IT_VBAP
            FOR ALL ENTRIES IN IT_VBAK
            WHERE VBELN = IT_VBAK-VBELN.
    ENDIF.
    populating the final list
    LOOP AT IT_VBAP.
    READ TABLE IT_VBAK WITH KEY VBELN = IT_VBAP-VBELN.
    IF SY-SUBRC = 0.
    MOVE:  IT_VBAK-VBELN TO IT_FINAL-VBELN,
           IT_VBAK-VKORG TO IT_FINAL-VKORG,
           IT_VBAK-VTWEG TO IT_FINAL-VTWEG,
           IT_VBAK-SPART TO IT_FINAL-SPART,
           IT_VBAP-POSNR TO IT_FINAL-POSNR,
           IT_VBAP-MATNR TO IT_FINAL-MATNR,
           IT_VBAP-NETWR TO IT_FINAL-NETWR,
           IT_VBAP-BRGEW TO IT_FINAL-BRGEW,
           IT_VBAP-NTGEW TO IT_FINAL-NTGEW.
    APPEND IT_FINAL.
    ENDIF.
    ENDLOOP.
    SORT IT_FINAL BY VBELN.
    LOOP AT IT_FINAL.
    AT FIRST.
    FORMAT INTENSIFIED ON COLOR 1.
    WRITE:/35 'SALES DOCUMENT ITEM LIST'.
    ULINE AT (100).
    *endat.
    FORMAT INTENSIFIED ON COLOR 5.
    WRITE:/ SY-VLINE,
          2  'SALES.DOCU.NO',
          13 'ITEM',
          21 'MATERIAL',
          50 'NET-VAL',
          65 'GROSS-WT',
          82 'NET-WT',
          100 SY-VLINE.
    ENDAT.
    FORMAT INTENSIFIED ON COLOR 2.
    WRITE:/ SY-VLINE,
           2   C1 AS CHECKBOX,
           5 IT_FINAL-VBELN,
          13  IT_FINAL-POSNR,
          21  IT_FINAL-MATNR,
          41  IT_FINAL-NETWR,
          56  IT_FINAL-BRGEW,
          71  IT_FINAL-NTGEW,
          100 SY-VLINE.
    AT END OF VBELN.
    SUM.
    FORMAT INTENSIFIED ON COLOR 3.
    WRITE:/    SY-VLINE,
             30   'SUB-TOTAL:',
             41   IT_FINAL-NETWR,
             56   IT_FINAL-BRGEW,
             71   IT_FINAL-NTGEW.
       WRITE:/100 SY-VLINE.
    ENDAT.
    AT LAST.
    SUM.
    FORMAT INTENSIFIED ON COLOR 6.
    WRITE:/ SY-VLINE,
              30  'GRAND-TOTAL:',
              41  IT_FINAL-NETWR,
              56  IT_FINAL-BRGEW,
              71  IT_FINAL-NTGEW.
      WRITE:/100  SY-VLINE.
      ENDAT.
      ENDLOOP.
    regards,
    venkat .

Maybe you are looking for