Display constant values in header and items from table in ALV

Hello all,
I have to dispaly the header and Item entires in the output . and the point is header values are all constant and they are not related to item data .  item data is to dispalyed from VBAP table .
so how can i achive this .. can i use this FM REUSE_ALV_HIERSEQ_LIST_DISPLAY ...
example of outpput..
Header inforamtions..
name             city                  areacode              areazone            postzip
abcde            xyz                   1244                    abc                      123456
and the item details should be right below the header details
Cnt     Vbeln            vkorg                vtweg               matnr       etc           etc
1         xxx               xx                         xx                 xxxx         xxx          xxxx
2        xxx               xx                         xx                 xxxx         xxx          xxxx
3       xxx               xx                         xx                 xxxx         xxx          xxxx
4      xxx               xx                         xx                 xxxx         xxx          xxxx
5    xxx               xx                         xx                 xxxx         xxx          xxxx
6   xxx               xx                         xx                 xxxx         xxx          xxxx
I am able to dispaly the line items with the FM 'REUSE_ALV_GRID_DISPLAY' plz advice  the best solution to achive this
thanks
Raj
Edited by: abaprthree on Oct 28, 2009 12:30 PM

Hi,
For this you will need to define header for the ALV. Here is a simple example how to do this:
First you need to write one Header form like following:
FORM f004_header  USING it_head TYPE slis_t_listheader..
  DATA : wa_line TYPE slis_listheader.
  CLEAR wa_line.
  wa_line-typ = 'H'. " H = Header, S = Selection, A = Action
  wa_line-info = 'List of Sales Orders'.
  APPEND wa_line TO it_head.
" Here type out all the required data one by one in work are and append it to internal table
ENDFORM.                    "f004_header
before calling REUSE_ALV_GRID_DISPLAY you need to call following
TO HEADER EVENT
FORM f006_top.
  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
      it_list_commentary = it_header.
ENDFORM.                                                   
and for REUSE_ALV_GRID_DISPLAY call as following
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program       = sy-repid
      i_callback_top_of_page   = 'F006_TOP'
      it_fieldcat              = t_fieldcatalog[]
    TABLES
      t_outtab                 = it_data.
Let me know if any other help is needed.

Similar Messages

  • Loop through header and item internal table

    Hi,
        My scenario will be like this, i have two internal tables which is populated based on certain conditions, now i have to call one bapi to update values that am going to store values in a tree structure say for eg mat01 is header and mat02 and mat03 are item values.
          What is the efficient method to call that bapi one time for header creation and consequte times for item creation respectively.
      shall i have to loop thro two internal tables i.e header and item?
    suggestions are welcomed from the experts...
    Thanks in advance...
    Regards,
    Babu

    Hi Babu
    you can do something like that.
    loop it_header.
    *Call bapi to create header
      loop it_item where field_key = it_header-field_key.
    *  Call bapi to create item  
      endloop.
    endloop.
    The important part is the where sentence in the second loop.
    Regards
          David N.

  • Net Value at Header and Item Level

    Guyz
    I have a header condition say ZFRE, which is manual. when I see total at header level it should be added to other components and show the Net Value. But, it shouldn't appear at item level Net value. With standard settings, ZFRE is being distributed to item level and item total is also considering this condition.
    Thanks!
    MAM

    Hi,
    Header conditions apply to all items in the document and are automatically distributed to the items. A header condition can be based on either a percentage or on an absolute amount. If you enter a header condition that is based on a percentage (for example, a discount of 2%) the system automatically applies this percentage to all items in the document. If the header condition is an absolute amount, there are two different ways in which the system can distribute the amount among the items in the document:
    The condition value of a header condition is either
    distributed proportionally among the items or
    the amount entered at header level is duplicated for each item.
    You control the distribution of absolute header conditions in the group price field per condition type. In the standard version, condition type HB00 is marked as a header condition and as group condition. Condition type RB00 is only marked as a header condition.
    You can try with User Exit USEREXIT_XKOMV_ERGAENZEN_MANU
    in RV61AFZB.
    Thanks.
    Krishna.

  • Difference in excise value at header and item level

    While doing Migo with excise option, in the header excice tab, BED is calculating wrongly ..
    Basic - Rs 1000
    BED - 14% - Rs 1400 instead of Rs 140
    where in item column, the exicse values are correct 1.e. 140

    Hi,
    Plz check the taxinn calculation procedure it is std do not disturb but have  alook in to it,
    the conditions u chk JMOP 14 %, jmx1 100%
    then also check the tax default settings
    Pandari

  • Difference between  header and item table

    hi experts
    I have doubt in choosing header and item table. what is the difference between them. on what situations they can be choosed, how can i conclude that my object needs only item or header table.
    thanks in advance.
    maaya

    Hi
    Header will be always a single time data in a transaction
    where as Item data is Multiple lines of data
    Item data in most of the times consists of more number of lines.
    see the header and Item related tables for some Tcodes
    Tcode      Header   Item
    VA01       VBAK    VBAP  Sales order
    VL01N     LIKP       LIPS    Delivery
    VF01       VBRk      VBRP   Invoice/Billing Doc
    ME21N    EKKO     EKPO   Pur order
    Regards
    Anji

  • Query to display BOMs Header and Item

    Hello SAP gurus
    I am trying to create a query to display BOMs with header and item. For that I am using tables MAST, STKO and STPO.
    The table join is:
    MAST -> STKO -> STPO
    MAST - WERKS, STLNR and STLAL
    STKO - STLNR and STPOZ
    The system dont show anything...
    Can someone help me?
    Thanks in advance.
    Adelmo Silva

    Yes, it works but...
    If I have 2 alternatives, the system show everything even if i select alternative 1 or 2.
    I am missing something... because system is showing all alternatives...
    System is showing something like this:
    Material     BOM     AltBOM     BOM St     Item     ICt     Component     Valid from     Quantity     Un
    726121012     00131075     1     01     0010     L     109219     17-12-2007     0,200     KG
    726121012     00131075     1     01     0020     L     109230     17-12-2007     0,003     KG
    726121012     00131075     1     01     0030     L     109232     17-12-2007     1,166     M2
    726121012     00131075     1     01     0040     L     726004012     17-12-2007     0,120     M3
    726121012     00131075     1     01     0010     L     109526     17-12-2007     0,200     KG
    726121012     00131075     1     01     0020     L     109232     17-12-2007     1,166     M2
    726121012     00131075     1     01     0030     L     726004012     17-12-2007     0,120     M3
    Edited by: Adelmo Silva on Jan 9, 2008 9:07 AM

  • Header and Item Text is not replicating from ECC6.0 to SAP CRM 7.0

    Hi SAP Experts,
    When the text is added at header and item in Texts tab from SAP CRM then this is transferring into ECC6.0 but the otherway round is not working i.e., from ECC6.0 to SAP CRM.
    Would appreciate for giving solution.
    Thanks in advance.
    Best Regards
    Succhi

    Hi Succhi
    There are a number of oss notes to check: 1169856, 720147, 550343, and 549209
    Please make sure that the text tables are included in the filter as per note 720147.
    Also include the configuration as per note 549209.
    It is necessary that the same text types exist in both systems so please review the configuration carefully.
    I hop this helps.
    Best Regards
    Gavin

  • Printing of Condition value at both header and Item level

    Dear Sap Gurus,
    Please any body tell me how to print the condition value at both header and at item level in PO print out. ie.  I am using RA00 at both item and header level and i want to print this value at both header and item level.
    Thanks and Regards,
    Patil

    Hi,
    Please check with abaper is he calling the function like mention below or not
    CALL FUNCTION 'PRICING'
        EXPORTING
          calculation_type = 'B'   
    or  (calculation types = as in condition type)
          comm_head_i      = komk
          comm_item_i      = komp
          preliminary      = ' '
          no_calculation   = ' '
        IMPORTING
          comm_head_e      = komk
          comm_item_e      = komp
        TABLES
          tkomv            = i_komv.
    regards
    Edited by: bvdv on Jul 8, 2009 7:35 PM

  • Sender FILE Adapater Content Conversion: Header and Item Data

    Hi
    I need to pick a file and do the content conversion. The XML structure which should be formed should be in the below format. I have a CSV file which needs to be converted.
    Kindly suggest how can I maintain parameters for Header and Item level data in Recordset structure.
    How can I specify in Recordset parameter which is Header(Customerno, Doc type and Address) and Item level(Line Item) data.
      <?xml version="1.0" encoding="UTF-8" ?>
      <customernumber></customernumber>
      <documenttype></documenttype>
    - <Address>
            <name1></name1>
            <name2></name2>
      </Address>
    - <LineItem>
            <material>100016</material>
            <amount>1000</amount>
    </LineItem>

    Hi Swetank,
    The file after conversion should have one Header and you can have any number of line items.
    Once you choose File Content Conversion in the message protocol header while configuring the Sender File Adapter, you get the following enteries in the Content Conversion Parameters:
    Document Name
    Document Namespace
    Document Offset
    Recordset Name
    Recordset Namespace
    Recordset Structure
    Recordsets per Message
    Key Field Name
    To maintain the Header information, Some entries are mandatory, i.e.
    Recordset Name: Here please specify the name of the structure. It is included in the XML schema.
    Recorset Structure: Here you need to enter the sequence and the number of substructures. Since Header is one but you can have many Line items, you will write:
    customernumber,1,documenttype,1,Address,1,LineItem,*
    this format is clearly explained in the link provided by Divya.
    And in the Additional fields you need to write the name of fields corresponding to different Recorset Structures and also add some property to it, like fixed lengths, use some separators etc.
    and Most important field is:
    Key Field Name: If you specified a variable number of substructures for Recordset Structure, in other words, at least one substructure has the value ‘*’, then the substructures must be identified by the parser from their content. This means that a key field must be set with different constants for the substructures. In this case, you must specify a key field and the field name must occur in all substructures.
    Here you need to enter LineItem as it is the only Recordset Structure with an *.
    I hope this solves your problem,
    Thanks and Regards,
    Varun Joshi

  • Header and Item data in a module pool

    Hi Friends,
    I designed a screen in that i have header data and item data.
    Here in my screen header i have vendor number,Vendor name,
    bank Name, Branch, LC value and Due date fields.
    and for item details i have to take table control.In the item details i have the fields Sl No, PO Number and Po Value.
    and Two push buttons i need to put.SAVE and CANCEL.
    When i click on SAVE all my screen details should be saved in a ZTABLE and should generate a LCDOCUMENT-Number from the system.
    So my question is shell i take the two tables for header and item data or one is enough and if i take two tables(one is header and one is item data) how i write the logic to store into the ztables.
    How can i proceed.Plz provide me with ur inputs
    Thanks and Regards.

    Hi!
    you have to take one table.....in which u have to move the header and item data into that b'coz according to the header data the items are to be displayed.......
    select the data for which ever tables they came and then take a final table in which include all the fields of header and item .loop on all the tables from which data u have taken and inside it move the data of those fields into the fields of the final table.
    In the ALV u need to call the function module to display the ALV with that final table in which ur all data is there and prepare a field catalog of those fields you want to display in the item list.
    for example a sample code is there...
    types:
      begin of type_s_vbak,
        vkorg type vbak-vkorg,             " Sales Organization
        aufnr type vbak-aufnr,             " Sales Order Number
        auart type vbak-auart,             " Sales Order Type
        kunnr type vbak-kunnr,             " Customer Number
        vbeln type vbak-vbeln,             " Sales Document
        knumv type vbak-knumv,             " Number of Document Condition
      end of type_s_vbak.                  " BEGIN OF TYPE_S_VBAK
    types:
      begin of type_s_konv,
        kwert type konv-kwert,             " Condition Value
        kbetr type konv-kbetr,             " Rate (Condition Amount)
        knumv type konv-knumv,             " Number of Document Condition
        kschl type konv-kschl,             " Condition Type
      end of type_s_konv.                  " BEGIN OF TYPE_S_KONV
    types:
      begin of type_s_material,
        kunnr      type vbak-kunnr,          " Customer Number
        matnr      type vbap-matnr,          " Material Number
        arktx       type vbap-arktx,          " Material Description
        steuc       type marc-steuc,          " Fiscal Classification
        kwmeng   type vbap-kwmeng,         " Quantity
        knumv      type vbak-knumv,          " Number of Document Condition
        vbeln        type vbak-vbeln,          " Document Number
        kwert       type konv-kwert,          " Condition Value
        total         type p length 14 decimals 2,
                                           " Total
        ipitype  type p length 9 decimals 3,
                                           " IPI Type
        ipivalue type konv-kwert,          " IPI Value
      end of type_s_material.              " BEGIN OF TYPE_S_MATERIAL
    data:
      fs_vbak type type_s_vbak.
    data:
      fs_mati type type_s_material.
    data:
      fs_konv type type_s_konv.
    data:
       t_vbak like
    standard table
           of fs_vbak.
    data:
       t_konv like
    standard table
           of fs_konv.
    data:
       t_mati like
    standard table
           of fs_mati.
    loop at t_konv into fs_konv where kschl eq 'ZPNF'.
        move fs_konv-kwert to fs_mati-kwert.
        modify t_mati from fs_mati
        transporting kwert
        where knumv eq fs_konv-knumv.
      endloop.                             " LOOP AT T_KONV INTO FS_KONV
    * Modifying Total Field of Material Table.
      loop at t_mati into fs_mati.
        w_total = fs_mati-kwmeng * fs_mati-kwert.
        move  w_total to fs_mati-total.
        modify t_mati from fs_mati
        index sy-tabix
        transporting total.
        clear w_total.
      endloop.                             " LOOP AT T_KONV INTO FS_KONV
    * Modifying IPI-Type Field of Material Table.
      loop at t_konv into fs_konv where kschl eq 'IPI3'.
        w_total = fs_konv-kbetr div 10.
        move w_total to fs_mati-ipitype.
        modify t_mati from fs_mati
        transporting ipitype
        where knumv eq fs_konv-knumv.
        clear w_total.
      endloop.                             " LOOP AT T_KONV INTO FS_KONV
    * Modifying IPI-Value Field of Material Table.
      loop at t_konv into fs_konv where kschl eq 'IPI3'.
        move fs_konv-kwert to fs_mati-ipivalue.
        modify t_mati from fs_mati
        transporting ipivalue
        where knumv eq fs_konv-knumv.
      endloop.                             " LOOP AT T_KONV INTO FS_KONV
    and then fill the fieldcatalog and display the ALV
    Edited by: Richa Tripathi on Apr 15, 2009 3:28 PM

  • Header and item data in po

    Hi,
    What are all the tables from which the data would be taken to display in header and item data in process PO ? From where these data would be taken ?
    Thanks alot.
    Regards, Sunayana N

    ADR10 Printer (Business Address Services)
    ADR11 SSF (Business Address Services)
    ADR12 FTP and URL (Business Address Services)
    ADR13 Pager (Business Address Services)
    ADR2 Telephone Numbers (Business Address Services)
    ADR3 Fax Numbers (Business Address Services)
    ADR4 Teletex Numbers (Business Address Services)
    ADR5 Telex Numbers (Business Address Services)
    ADR6 E-Mail Addresses (Business Address Services)
    ADR7 Remote Mail Addresses (SAP - SAP - Communication; BAS)
    ADR8 X.400 Numbers (Business Address Services)
    ADR9 RFC Destinations (Business Address Services)
    ADRCOMC Comm. Data Serial Number Counter (Business Address Services)
    ADRCT Address Texts (Business Address Services)
    ADRG Assignment of Addresses to Other Address Groups (BAS)
    ADRGP Assignment of Persons to Further Person Groups (BAS)
    ADRT Communication Data Text (Business Address Services)
    ADRU Table for Communication Usages
    ADRV Address Where-Used List (Business Address Services)
    ADRVP Person Where-Used List (Business Address Services)
    BBP_PDACC Account Assignment
    BBP_PDATT Document Attachment
    BBP_PDBEH Backend Specific Header Data
    BBP_PDBEI Backend Specific Item Data
    BBP_PDBGP Partner Extension Gen. Purchasing Data
    BBP_PDBINREL Transaction Object Linkage (EBP)
    BBP_PDCON Purchase Order Item Confirmation
    BBP_PDHAD_V Business Transaction Versions
    BBP_PDHCF Set for Tabular Customer and Solution Fields on Hdr
    BBP_PDHGP Business Transaction Purchasing Information
    BBP_PDHSC Header Extension for Customer Fields
    BBP_PDHSS Hdr Extension for SAP Internal Enhancements (IBUs and so on)
    BBP_PDIAD_V Business transaction item
    BBP_PDICF Set for Tabluar Customer and Solution Fields on Itm
    BBP_PDIGP Business Transaction Item-Purchasing Information
    BBP_PDISC Item Extension for Customer Fields
    BBP_PDISS Item Ext. for SAP Internal Enhancements (IBUs and so on)
    BBP_PDLIM Value Limit
    BBP_PDLINK_V Transaction - Set - Link
    BBP_PDORG Purchasing Organizational Unit
    BBP_PDPSET Further Procurement Information
    BBP_PDTAX Tax
    BBP_PDTOL Tolerances
    CDCLS Cluster structure for change documents
    CDHDR Change document header
    CDPOS_STR Additional Change Document - Table for STRINGs
    CDPOS_UID Additional Table for Inclusion of TABKEY>70 Characters
    CRMD_LINK Transaction - Set - Link
    CRMD_ORDERADM_HBusiness Transaction
    CRMD_ORDERADM_IBusiness Transaction Item
    CRMD_PARTNER Partners
    CRM_JCDO Change Documents for Status Object (Table JSTO)
    CRM_JCDS Change Documents for System/User Statuses (Table JEST)
    CRM_JEST Individual Object Status
    CRM_JSTO Status Object Information
    SROBLROLB Persistent Roles of BOR Objects
    SROBLROLC Persistent Roles of Business Classes
    SRRELROLES Object Relationship Service: Roles
    STXB SAPscript: Texts in non-SAPscript format
    STXH STXD SAPscript text file header
    STXL STXD SAPscript text file lines
    TOA01 Link table 1
    TOA02 Link table 2
    TOA03 Link table 3
    TOAHR Container table for HR administration level
    TCURR- Exchange table

  • FCC parameters for  header and item

    Dear All,
    I am working on a File to RFC scenario. The file has the PO deatils from which Salesorder has to be created in R/3. Am using the BAPI BAPI_SALESORDER_CREATEFROMDAT1 to create salesorders. I have tested the scenario with XML message - it is working file .
    The problem is with FCC.
    The structure of the file is as follows
    PO number,podate,deliv. date,cust. material,quantity,receiving point
    message type:
    -->MT_messagetype
    >input
    >header
                    po number
                    po date
                    deliv date
    >item
    >item
                         cust_material
                         quantity
                         receiving point
    >partner
    >partner
                         dummy field.
    input is the recordset
    i have to get the first 3 fields from the file inlto header and the rest into item.
    i have created a dummy field in partner because I am mapping a constant value to sold to party in partner node .
    what should be the FCC parameters ?

    After looking at your structure which is comma separated and doesn't have any keyfields it will be difficult to content convert it into different nodes like header and item.
    I was looking at using fixed field lenght's along with field separator to split the structure, as the first 4-5 fields of u r row seem to be standard structures which will have fixed length, but then your last field "receiving point" is not a of fixed length.
    so as long as my understanding goes you will have to content convert the input into a flat xml structure like this:
    <input>
              <header>
                  </po number>
                  </po date>
                  </deliv date>
                  </cust_material>
                  </quantity>
                  </receiving point>
            </header>    
    <input>
    Recordset name - input
    Recordset structure --header,*
    FCC
    header.fieldNames -- po_number,1,po_date,1,deliv_date,1,cust_material,1,quantity,1,receivingpoint,1
    header.fieldSeparator -- ','
    header.endSeparator -- 'nl'
    Since in your scenario looks like you are creating  one sales order per row of file, the above structure should do the job for you.
    Cheer's

  • Z-Report for PR using ES language not getting the Header and Item text deta

    Hi,
    We have developed Z report for PR report and we ahve used ES and EN language, but when i select language ES and execute the report then we are not getting the Header and Item text data,
    Secondly when We select language EN and execute the report then we are getting the Header and Item text details.
    Please guide me.
    Thanks
    Shital

    Have you maintained Tetexxt in ES language or is it that you are expecting  on selecting ES the text from En will get coverted to ES and display in your report?

  • Header and Item Odata through SEGW

    Hi,
    I know that this Topic was raised million times, but still raising this query. I have already consulted http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0d92637-3d0d-2f10-ebb2-efc1f40a85e8?QuickLink=index&… link.
    Requirement: Create Header and Item Odata THROUGH SEGW.
    Steps I have followed:
    1. Created Header and Item Structure and have added them in the Export Parameters of an RFC.
    2. Created the RFC and have populated the the internal tables corresponding to the Header and Item structures.
    3. Go to Transaction SEGW and Imported the Header from the RFC. Then created Read and Query mapping for Header.
    4. Go to Transaction SEGW and Imported the Item from the RFC. Then created Read and Query mapping for Item.
    5. Created an association between "ID" of Header with "ID" of Item. Cardinality- 1:N
    Observation:
    Now when I run the Odata and execute /sap/opu/odata/sap/ZTEST_SRV/HDRSet(2)/ITEMSet, I get all the Items from the Item table for Each and every Header. But I guess for every header corresponding Items should have been enlisted.
    Is there any step that I am missing?
    Important: In the MPC class(ZCL_TEST_MPC), I could see a method named DEFINE_ASSOCIATION. I have put an external Breakpoint in it, but this breakpoint is not triggered.
    -Regards
    Dhrubajyoti

    Hii Dhru,
    In addition to the steps followed, you have to create navigation property using association created.
    You have to implement Get_expand_entityset method in DPC method for multiple headers and corresponding items and for single header and corresponding items you have to implement GET_EXPANDENTITY method.
    The URL is as format below :
    /sap/opu/odata/sap/<service name>/<Header entity set>/?$expand=<navigation property from header to item>&$filter= eq '<ID>' '<value>'
    Example URL : https://<server>:<port>/.../<service_name>/SalesOrders?$expand=SalesOrderItems
    For reference :
    https://help.sap.com/saphelp_gateway20sp08/helpdata/en/ca/c683e803494b77a2e1290b987556e2/content.htm
    When GET_EXPANDED_ENTITYSET method invoked
    For get_expanded_entity_set method implementation please refer the below URL
    http://scn.sap.com/community/gateway/blog/2014/07/18/implementing-expand-entityentity-set
    Regards,
    Lokeswar Reddy byni.

  • Blocked ALV Header and Item Displau

    Hi Friends,
    I`m new to ABAP and the forum.I`m in dire need of solution for a report.
    Scenario
    I have an internal table with fields ebeln vbeln adrnr.
    For every change in ebeln i need to create a new page in ALV and display the item VBELN and some more fields.
    Its like a header and item in a single page of alv report.
    Is there a possibility to use ALV here or only classical report can be used in the scenario???

    Hi,
    For Blocked alv header and item display you
    declaration internal table fields ebeln vbeln adrn
    TYPE-POOLS SLIS.
    TYPES : BEGIN OF TY_EKKO,
         EBELN TYPE EKKO-EBELN,
         AEDAT TYPE EKKO-AEDAT,
         vblen TYPE EKKO- vbeln,
         END OF TY_EKKO.
    DATA : IT_EKKO TYPE TABLE OF TY_EKKO,
         WA_EKKO TYPE TY_EKKO.
    DATA : WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
         IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA : WA_EVENTS TYPE SLIS_ALV_EVENT,
         IT_EVENTS TYPE SLIS_T_ALV_EVENT,
         IS_LAYOUT TYPE SLIS_LAYOUT_ALV.
    For Build catalog
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-FIELDNAME = 'EBELN'.
    WA_FIELDCAT-SELTEXT_M = 'PO NUMBER'.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-KEY = 'X'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-FIELDNAME = 'AEDAT'.
    WA_FIELDCAT-SELTEXT_M = 'DATE OF CREATION'.
    WA_FIELDCAT-COL_POS = 2.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-FIELDNAME = 'LIFNR'.
    WA_FIELDCAT-SELTEXT_M = 'VENDOR NO'.
    WA_FIELDCAT-COL_POS = 3.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    read_data :
    SELECT * INTO TABLE IT_EKKO FROM EKKO UP TO 20 ROWS.
    print_header :
    DATA : IT_LIST TYPE SLIS_T_LISTHEADER,
         WA_LIST TYPE LINE OF SLIS_T_LISTHEADER.
    CLEAR WA_LIST.
    WA_LIST-TYP = 'H'.
    WA_LIST-INFO = 'LIST OF PURCHASE ORDERS'.
    APPEND WA_LIST TO IT_LIST.
    Header along with write statement at top-of-page then use these function module
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = IT_LIST

Maybe you are looking for

  • I have redeemed my itunes money and want to buy music -yet it keeps asking for a credit card.  Won't take money from my account.

    I have money in my account -yet when I try to buy music it keeps asking for a credit card.  I saw that someone else had the same problem -yet no answer.

  • How can i add more a phone number in phone 4s

    Hi i'm new for IOS, i have got iphone 4s in my hand. i try to synchronize my contact list to iphone, it's work. but i would like to know how can i add more a phone number into a person in the list. default as show 1.mobile and 2.iphone Thanks

  • Ignore record in JMS sender content conversion

    Hi, I am using JMS sender adapter with content conversion. In the input text file, I have to ignore the first record. for this, in Module tab I have given parameter like this: Plain2XML -> documentOffset -> 1 so that it will not read the first record

  • IPhoto still has mobileme gallery

    iPhoto still has mobileme galleries and I can't get rid of them! You can't log into me.com anylonger, my computer has MobileMe shut off, but iPhoto still has mobileme galleries - if I try to click on them to delete, the program crashes. Does anyone k

  • Soft links and inodes

    It's my understanding that a unix file consists of three components: a filename, an inode, and the data. So if you create a text file called "original", you get something like this: original -------> inode ------> data Then if you create a soft link