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

HOW TO DISPLAY ITEMS OF FIELD 'ARBPL'(WORK CENTRE)IN HORIZONTAL IN ALV..

HI FRIENDS .

PLEASE GIVE THE SOLUTION OF THIS PROBLEM.

I AM DOING THE REPORT OF CAPACITY PLANNING USING ALV LIST.IN THIS REPORT FC REQUIRES THAT ITEMS(SUCH AS 1050T,300T) OF FIELD 'ARBPL'IN HORIZONTAL MANNER.

BUT THIER THE PROBLEM IS THESE ITEMS ARE VARIABLE FOR DIFFERENT PLANT FIELD IN REPORT.

SUPPOSE PLANT = F-II

WORK CENTRE = 1050T,300T.

PLANT = G228

WORK CENTRE = PRESS 250T,PRESS 300T.

PLEASE GIVE THE SOLUTION IMEDIATE I HAVE WASTED SO MUCH TIME ON THAT PROBLEM.

THANKS IN ADVANCE.

VIKRAM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2006 at 11:44 AM

    Hi,

    Please Use field symbols and this method

    Declaration:

    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,

    <dyn_wa> TYPE ANY ,

    <dyn_field>,

    <fs> TYPE ANY.

    DATA: dy_table TYPE REF TO data,

    dy_line TYPE REF TO data,

    xfc TYPE lvc_s_fcat,

    ifc TYPE lvc_t_fcat.

    CALL METHOD cl_alv_table_create=>create_dynamic_table

    EXPORTING

    it_fieldcatalog = ifc

    IMPORTING

    ep_table = dy_table.

    ASSIGN dy_table->* TO <dyn_table>.

    CREATE DATA dy_line LIKE LINE OF <dyn_table>.

    ASSIGN dy_line->* TO <dyn_wa>.

    Note:Pls Reward this answer if USEFUL.

    Regards,

    Kumaresh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2008 at 06:58 AM

    Thanks

    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.