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

Maximum line size for OO ALV

Hi,

1) What is the maximum line size for OO ALV?

Or in the other way round, how is the maximum column size for OO ALV when i using the method below:

DATA: r_grid TYPE REF TO cl_salv_form_layout_grid.

CREATE OBJECT r_grid.

r_grid->create_text(

row = 2

column = 2

text = sy-mandt ).

2) Another question, how to change the below time format:

223801 -> 22:38:01?

When I try to use sy-uzeit to display the header in ALV like below:

CREATE OBJECT r_grid.

r_grid->create_text(

row = 2

column = 2

text = sy-uzeit ).

The ALV will be displaying 223801. How i can convert to format 22:38:01 and display it in ALV?

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 03, 2006 at 05:46 AM

    Hi,

    For your second qn.,try by declaring an extra field of type character of length 10 in the structure you are using for ALV.

    After that ,after you appended the records,just try the follg...

    loop at itab into wa.

    concatenate f10(2) ':' f12(2) ':' f1+4(2) into f2.

    modify itab from wa transporting f2 index sy-tabix.

    endloop.

    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.