Skip to Content
author's profile photo Former Member
Former Member

alv - subtotal text - userdefined

Hi experts,

I AM ABLE TO GET THE SUBTOTAL IN THE OUTPUT.

Iam getting as <b><u>SUBTOTAL</u></b> = 19000/-

but i nee dto write as <u><b>net price</b></u> = 19000/-

instead of subtotal, i need to put this text, how can i change the text, if any sample code available can u send this one to me

......

urgent URGENT ...

Message was edited by:

dasr r

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2007 at 11:41 AM

    Hello,

    Check this sample

    DATA: I_LAYOUT TYPE TABLE OF SLIS_LAYOUT_ALV WITH
    NON-UNIQUE DEFAULT KEY WITH HEADER LINE INITIAL SIZE 0.
    DATA: I_SORT TYPE SLIS_T_SORTINFO_ALV,
    X_SORT LIKE LINE OF I_SORT.
    
    X_SORT-SPOS = 41.
    X_SORT-FIELDNAME = 'PERSG'.
    X_SORT-UP = 'X'.
    X_SORT-SUBTOT = 'X'.
    
    APPEND X_SORT TO I_SORT.
    
    I_LAYOUT-ZEBRA = 'X'.
    I_LAYOUT-SUBTOTALS_TEXT = 'SUBTOTAL'.
    
    and pass that i_layout to the FM.
    if ur using any other function module,then change I_LAYOUT to that FM type and pass it. 
    

    Vasanth

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.