Multiple Header Lines for the ALV  Layout

Hi Experts,
I am working on a ALV report in MM , the output should be like mentioned below, I have tried this by using  ALV List , I got it then ,  but I want the output by using  ALV Grid ( Function Modules / Classes ).
Material
Branch
Material No
Created on
Material Type
Plant
Valuation Category
    1343                 29/06/09            HALB                     HKM1                   01                        
    1342                 28/06/09            HALB                     HKM1                   01  
    1341                 27/06/09            HALB                     HKM1                   01   
    1340                 26/06/09            HALB                     HKM1                   01
    1339                 25/06/09            HALB                     HKM1                   01
    1338                 24/06/09            HALB                     HKM1                   01
Thanks
V. Venkatesh

check the standard program  BALVHD01_GROUP
http://www.geocities.com/mpioud/Z_ALV_HIERSEQ_LIST.html

Similar Messages

  • Multiple Header Line In HIERSEQ ALV

    Hi Experts,
    Please guide me how to get miltile Header lines in the HIERSEQ Alv , My requirment it develop a genledger for customers in which the Address of customer should be in 3 or four lines then followed by its balances. Please suggest me ...
    Regards,
    Prakash

    Hi,
    You need to pass the Row number to the filed catlog in order to display multiple header lines.
    For example,
       wl_fieldcat-row_pos = 1.  " This field will be displayed in first row
      wl_fieldcat-col_pos     = 1.
      wl_fieldcat-fieldname   = 'VBELN'.
      wl_fieldcat-tabname     = 'T_VBAK'.
      wl_fieldcat-outputlen   = 20.
      Append wl_fieldcat to t_fieldcat.
      wl_fieldcat-row_pos = 2.    " This field will be displayed in Second row
      wl_fieldcat-col_pos     = 1.
      wl_fieldcat-fieldname   = 'VBELN'.
      wl_fieldcat-tabname     = 'T_VBAK'.
      wl_fieldcat-outputlen   = 20.
      Append wl_fieldcat to t_fieldcat.
    Regards,
    Rajneesh

  • How to print header lines at the top of every page with Alv list display?

    Dear all,
    I need a requirement with printing issue. A program list should be printed with the function reuse_alv_list_display.
    The list has several pages and then can be printed but the header lines appear only first page when they printed. The other pages don't have header lines, they continue with the next record of the list remaining from previous page. I use the alv parameters as below:
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program       = l_repid
          i_callback_pf_status_set = 'ALV_PF_STATUS'
          is_layout                = ls_layo
          it_fieldcat              = lt_fcat
          i_default                = 'X'
          i_save                   = 'A'
          is_variant               = ls_variant
          it_events                = lt_events
        TABLES
          t_outtab                 = lt_data
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    and lt_events as below:
      ls_event-name = 'END_OF_LIST'.
      ls_event-form = 'ALV_END_OF_LIST'.
      APPEND ls_event TO lt_events.
      ls_event-name = 'END_OF_PAGE'.
      ls_event-form = 'ALV_END_OF_PAGE'.
      APPEND ls_event TO lt_events.
      ls_event-name = 'TOP_OF_LIST'.
      ls_event-form = 'ALV_TOP_OF_LIST'.
      APPEND ls_event TO lt_events.
      ls_event-name = 'TOP_OF_PAGE'.
      ls_event-form = 'ALV_TOP_OF_PAGE'.
      APPEND ls_event TO lt_events.
    So, how can I print header lines for every page?
    Best Regards,

    Hello Saba,
    Your point might be very close to solution.
    Because in the selection screen of the program there are two radio buttons, one of them visits 'REUSE_ALV_COMMENTARY_WRITE' function and the other doesn't. The one which visits has a problem with header liens in every page when printing. But I couldn't find out the solution yet.
    reuse_alv_list_display uses 4 event and of course I call subroutine. There are end_of_list, end_of_page, top_of_list and top_of_page. I use in the subroutine for top_of_page:
      CALL FUNCTION 'LVC_TRANSFER_TO_SLIS'
        EXPORTING
          it_fieldcat_lvc         = gt_fcat
        IMPORTING
          et_fieldcat_alv         = lt_fcat
        EXCEPTIONS
          it_data_missing         = 1
          it_fieldcat_lvc_missing = 2
          OTHERS                  = 3.
      CALL FUNCTION 'REUSE_ALV_LIST_WIDTH_GET'
        EXPORTING
          it_fieldcat = lt_fcat
        IMPORTING
          e_width     = l_width.
    WRITE l_reptx TO l_reptx CENTERED.
      NEW-LINE.
      WRITE: AT (l_width) l_reptx CENTERED.
      SUBTRACT 10 FROM l_width.
      WRITE: AT l_width sy-pagno RIGHT-JUSTIFIED.
        CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
          EXPORTING
            it_list_commentary       = lt_header
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    Do you have other suggestions ?

  • Flat file having multiple header lines , how to separate the same and pushit into my intrnal table

    Hi Guys,
                    I got an issue , My flat file having multiple header lines
    TPS27RPR  MOME                                      THRIFT (SAVING) PLAN SYSTEM                                           Page    2
    09:54 05 JAN 2014                          List of Contributors w/Company Contributions                           Phase DAY Unit TRE
    Company No: xxxxxxxx - xxxxxxxxxxxxx.
                                                                            Employee/       Employee/
    Employee Full Name/                                                       Company         Company                        Allocation
    Number  ID Number                           PS  PN  End Date        Contribution          Profit        Total Balance   Percentage
    some lines of data and again
    TPS27RPR  MOME                                      THRIFT (SAVING) PLAN SYSTEM                                           Page    2
    09:54 05 JAN 2014                          List of Contributors w/Company Contributions                           Phase DAY Unit TRE
    Company No: xxxxxxxx - xxxxxxxxxxxxx.
                                                                            Employee/       Employee/
    Employee Full Name/                                                       Company         Company                        Allocation
    Number  ID Number                           PS  PN  End Date        Contribution          Profit        Total Balance   Percentage
    in this case how could I separate the header lines from the flat file and update the details to my internal table.
    kindly help me on this issue.
    Thanks and regards,
    M.S.Amirtharajvijay.

    Hi Amirthraj,
    If the flat file is static (if the content within it is same for all) then use the offset concept. First get the contents of the flat file into an internal table and later find the field that has to be in final internal table within the line, calculate the offset for the line and get the value into an workarea. Finally modify/append the work area into an internal table. Also wait for other experts answers for any other hassle free way to achieve the requirement.
    With Regards,
    Giriesh M

  • This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left.

    This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left of each drop down.

    See McAfee support to find out how to disable that McAfee feature - that isn't part of the normal Firefox installation.

  • Check on multiple header line data.

    Hi All,
    I have one requirement where i need to check the multiple accounting document header line.
    Kindly suggest how to check the above requirement.
    Thanks in Advance!
    Regards,
    Chirag

    Hi All,
    Sorry for the short description.
    Currently i am validating only the one header line data of expense spread sheet file with vendor. but the now requirement has changed and there can be a multiple header line item also.
    So i need to check for each header line item whether vendor already exist or not.
    I am able to check it for 1 header line item, Kindly suggest how to check it for multiple header line item.
    Thankyou.
    Chirag

  • Unable to enter multiple Schedule lines for BOM material in Sales Order

    Hi All,
    We have a Sales Order where in which we cannot add additional schedule lines for BOM material.
    The schedule lines are greyed out, user was able to add schedule lines earlier.
    I have checked all assignments in VOV6, VOV7 and everything seems to be fine and no changes have been made to item category being used.
    Please provide a solution for this.
    PFB link in which similar situation posted in this community but the final resolution method is not discussed.
    http://scn.sap.com/message/13201504#13201504
    Regards,
    Samiksh

    Hi Samiksh,
    Pls check for that particular customer, only complete delivery allowed(c) is set in the CMR or CMIR. If so, you can't enter multiple schedule lines for that customer.. it would be grayed out in the sales order schedule lines except confirmed line.
    or check the problematic sales order at item level shipping tab if the par del/item is set to 'C'
    With regards
    S.Siva

  • Multiple Schedule Lines for Individual Qty in Standard Order

    Hello All,
    I have a Client Requirement to Set up the Standard Order for a Material which will be sold on Single Quantity every Month.
    This will have to occur from the same Order. For this Multiple Schedule Lines are required to be generated as per Monthly Delivery Schedule.
    I know this functionality comes under Scheduling Agreements where we can deliver goods as per confirmed Schedule Lines for the Month.
    But Client Requirement is to set up this functionality in Standard Order Only as setting up scheduling agreements calls for mapping of New Order Types which is not feasible.
    So Can you provide with your valuable Inputs as to whether this can be possible through Standard Order in the system.
    Looking forward to your esteemed reply!!
    Warm Regards,
    Onkar Khedekar

    Dear Onkar:
    If you don't want to use Schedule agreements, you can enter several schedule lines for each item in "Schedule line" tab at  item level.
    Enter in this tab each schedule line per month.
    But be aware which date you enter becuase this requirement will be transfered to MRP.
    Check it and revert.
    Jose Antonio Martinez

  • Multiple Header line in Receiver File adapter

    Hi,
    I have an issue in Receiver File adapter with multiple header lines. I am able to get only 1 header lines in the receiver file but not multiple header lines with 'nl' since it is static in file mode
    [CommunityTag:Header]
    empNo,EmpName,Age
    [CommunityTag]
    I tried with the below in content conversion one as below with no luck
    Root.addHeaderLine=1
    Root.headerLine=[CommunityTag:Header] 'nl' empNo,EmpName,Age 'nl' [CommunityTag]
    Root.fiedSeparator=,
    Root.endSeparator='nl'
    I am getting the Header line as same row as static text.
    Can you advise this.

    Hi Gabriel, I suggest to produce the header lines from additional nodes in the message payload. That means you need to modify the data type of the target message in order to generate an extra structure in the payload. Use constants in message mapping to generate the header column names, e.g.
    <Header>
      <H1>CommunityTag:Header</H1>
      <H2>empNo,EmpName,Age</H2>
      <H3>CommunityTag</H3>
    </Header>
    In content conversion you have to convert the Header row with
    Header.endSeparator='nl'
    You won't need parameter addHeaderLine anymore then.
    Regards, Martin

  • How can I insert multiple page contents in the page layout properly?

    I wanted to create 4 columns on the page layout. These 4 columns are of page contents.
    After creating new web page based on that page layout, I attempted to enter 4 different inputs on all 4 columns.
    Then, the result (from all columns) becomes the same.
    Image - edit the web page based on 4 columns page layout:
    Image - after edit & save:
    How can I insert multiple page contents in the page layout properly?

    First, I copied the HTML snippet for the Page Content on Sharepoint's Design Manger. The code of Page Content HTML snippet is shown below:
    <div data-name="Page Field: Page Content">
    <!--CS: Start Page Field: Page Content Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField"
    Namespace="Microsoft.SharePoint.Publishing.WebControls"
    Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldRichHtmlField:RichHtmlField
    FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server">-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <div id="ctl02_label" style="display:none">Page Content</div>
    <div id="ctl02__ControlWrapper_RichHtmlField" class="ms-rtestate-field"
    style="display:inline" aria-labelledby="ctl02_label"><div align="left"
    class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer"
    nowrap="nowrap"><span class="ms-formfieldlabel"
    nowrap="nowrap">Page Content</span></div>
    <div class="ms-formfieldvaluecontainer"><div class="ms-rtestate-field">
    Page Content field value. Lorem ipsum dolor sit incididuntet dolore.</div>
    </div></div></div><!--PE: End of READ-ONLY PREVIEW-->
    <!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
    <!--CE: End Page Field: Page Content Snippet-->
    </div>
    After I published the page layout, I found the code for Page Content from its ASPX page. The code is shown below:
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/></div>
    So, I attempted to create 4 columns by using 4 HTML snippets of Page Content on the same page layout. The page layout is generated from HTML file to ASPX file.
    Then I edited some parts in ASPX page layout:
    <asp:Content runat="server" ContentPlaceHolderID="PlaceHolderMain">
    <table>
    <tr>
    <td style="width:70px;">&nbsp;</td>
    <td style="width:250px; text-align:right;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:40px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:175px;">&nbsp;</td>
    </tr>
    </table>
    </asp:Content>
    The 4 columns for Page Contents appeared on the web page when I created new page using that page layout. But the problem is that all 4 columns displayed the same result from 4th column.

  • Multiple Header Lines

    Hi Gurus
    When I enter a header condition in the sales order and activate it,system automatically inserts a line for the same condition type but with condition value displayed.. I don't want this to happen.Could you please tell me where I can change the settings.
    Thanks
    Kumar

    Hi kumar,
    First as far as i see your header condtion base concept is not clear.
    system will automatically divide the value of the header condtion in the line items .
    Read the following to gain more insight in to the functionality
    Header conditions are those which appear in the header level of any sales order. these conditions are to be entered manually and get distributed automatically and the basis for distribution are taken from the NET VALUE of items mentioned at item level. 
    When we go to the conditions section in a sales order, where the details of pricing is mentioned, here we add these conditions. 
    Whenever any Header Condition is used, it overrides the PR00 condition type.
    Examples of header condition.
    - HA00 - % Based Header Condition. 
    - RB00 - Absolute or numeric value which applies to all items.
    - HB00 - Numeric value or Absolute value.   
    Usage of this feature is to apply price / discount for a specific group of materials. 
    1. You maintained a discount based condition record fbased on material group ( = 01 for example). You maintained scales also.
         Qty      Discount          
        1 - 10   Rs. 100.00
      11 - 50   Rs. 105.00
    51 - 150   Rs. 110.00 etc.
    2. You are creating a sales order for a customer with five different items with different quantities as below
    ITEM 1 - 25 No's
    ITEM 2 - 3 No's
    ITEM 3 - 12 No's
    ITEM 4 - 27 No's
    ITEM 5 - 62 No's
    All the material is having the material group = 01.
    3. While calculating the discount, because of this group condition, system add the quantities of items which have material group = 01. In the above example total quantity is = 109. System apply a discount of Rs. 110.00 to each item irrespective of the individual quantities.
    4. If you have not activated the group condition feature, system determines the discount value based on individual item quantity which is as below.
                                          Discount
    ITEM 1 - 25 No's         Rs. 105.00
    ITEM 2 -   3 No's         Rs. 100.00
    ITEM 3 - 12 No's         Rs. 105.00
    ITEM 4 - 27 No's         Rs. 105.00
    ITEM 5 - 62 No's         Rs. 115.00
    5. Is it clear now. Just try a sales order and see the out come
    Procedure to Test:
    1. Create 3 materials. Maintain Material Group of each item is same. 
    2. Activate the condition type as a group condition. 
    3. Create a condition record for this condition type with scales. 
    4. Process a sales order for a customer with these three material with different quantities. 
    5. Check the outcome.     
    Revert if helpful
    Mohit Singh

  • Multiple tax lines for same item

    Hi,
    Is it possible to have multiple tax lines for same item in an invoice in AR.
    Business Need - A few items have multiple tax applicable ( e.g. VAT, Service tax, etc ). And for regulatory purpose customer wants to show each tax separately.
    please Advise.
    thanks,
    K

    Hi Hikumar,
    With tax groups you have what is called compound taxes.
    A tax group is consisted of more than one tax codes and these tax codes may be related or not to each other,you can also specify the precedence of the tax codes in a tax group.
    On the Invoice or order item line, the tax group code is entered and the tax engine calculates the tax for each tax code that belongs to the tax group.
    If the user wants to see the taxes of this line he will see detailed the tax amounts and rates of each tax code that belong to this group.
    In my case i have used a tax group with 3 tax codes with the structure:
    Item line amount 1000
    1)The first line is a specific sales tax(12%) with taxable basis the amount of the item line=1000*12%=120
    2)The second line is a VAT(23%) tax with taxable basis the amount calculated from the first tax of the group=120*23%=27,6
    3) The third line is a VAT(23%) tax with taxable basis the amount of the item line=1000*23%=230
    For each item line that has the above tax group, the system creates three seperate tax lines
    Your case does not seem so complicate as mine.
    You can find more information on the AR user guide and the Oracle receivables tax manual.
    On which Ebs version are you working on?
    If you sent me more detailed you requirement i can quide you on the way to implement it and test it.
    I hope this helps.
    Regards
    Olga

  • Can I have multiple iTunes accounts for the same Ipod?

    Can I have multiple iTunes accounts for the same Ipod? What I mean is can I use multiple iTunes accounts through the same iPod for buying stuff?

    I believe you're limited to syncing DRM'd items from 5 different accounts.
    tt2

  • Folio Builder: An error has occurred opening the source file for the article layout.

    I have been working on a Folio. When I sat down to work on my folio, I was instructed by indesign to update my Folio producer tools, which I did.
    Since then I can no longer view any article layout from that folio in indesign. Indeed any folio that I create that does not reside on my desktop give the same problem. I can import articles, add articles and they all upload to the proper place at adobe and I can view them. But I simply cannot open them up through folio builder as I previously.
    The exact error message is as below:
    An error has occurred opening the source file for the article layout.
    The InDesign file for the layout cannot be found.
    Another strange thing that seems to be happening is that the folio will randomly reoder the articles in the folio.
    I have dumped my indesign prefs, tried creating an entirely new project, made a new account and even reinstalled the entire software.
    But the problem of opening an article that I have imported or added to a folio, simply not being found to open has got me stumped. I can't proceed with a major project until I can sort this out.
    Can anyone help.
    Many thanks
    Steve
    The problem initially seemed very similar to the one linked below, but I dont get the content generation error
    http://forums.adobe.com/thread/901804?decorator=print&displayFullThread=true

    Questions about the Adobe Digital Publishing Suite should be posted in the DPS Forum.
    http://forums.adobe.com/community/dps

  • When I open up an e-mail attachment a box pops up PRINT TO FILE below that line OUTPUT FILE NAME with an empty line for the file name vs. simply going to my default printer?

    when I open up an e-mail attachment a box pops up PRINT TO FILE below that line OUTPUT FILE NAME with an empty line for the file name vs. simply going to my default printer?

    Make sure that '''''Print to File''''' isn't selected in the native print dialog box ''(see screenshot below)'' middle-right, and make sure your Printer is selected at the top of that dialog box.
    ''I'm a little confused why an email attachment would need to go directly to the printer, but that's what you asked about.''

Maybe you are looking for

  • Office 2010 Bug with Multiple Lines

    Hi, It appears this bug has not been fixed in the December CU.  http://sharepoint.nauplius.net/2013/09/office-2010-update-kb2760758-incorrectly-checks-multi-line-columns/. This is causing me large problems with SharePoint to Word integration does any

  • Help with removing my account name from the search...

    Dear Sirs: Due to a breach security in my P.I., I need to have my skype name to be removed from the search directory.  Please help me. Thanks, GP

  • Use 10.8.2, but somehow with old version of Notes

    Until yesterday, I accessed Notes easily and pretty much daily. However, did a Spotlight search for a list of DVDs, and that turned my 10.8.2 Notes to a smaller virtual tablet. This is what I get: It looks like a prior version of Notes, like an older

  • How do I get a network connection with an Arch rescue CD? [solved]

    trying to get my system back up as this has also happened to me after a -Syu https://bbs.archlinux.org/viewtopic.php?id=93107 In my case I get mounting ' ' failed No such device Failed to mount the real root device. Bailing out, piss off. or similar,

  • Report generation - Property values display

    Hi Everybody,                   I am trying to generate a report for the Substance in trx CG02. For that i have created a template in trx CG42 which consists of the Substance master data and substance property tree (density, total solids, color..) va