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

Can i use field catlog merge in hierseq ALV

MY REQUIREMENT IS I AM USING HIERSEQ ALV

IN HEADER TABLE I AM HAVING SOME FIELDS WHICH ARE NOT DATA BASE FIELDS THEY ARE PERCENTAGE RELATED FIELDS.

HOW CAN I MENTION FIELDCAT-TABNAME = HEADER

FIELDCAT-TABNAME = ITEM

IN FIELDCAT IF I AM USING MERGE.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2006 at 11:21 AM

    Hi Venu,

    *Populate the header fieldcatalog

    perform get_fldcat_detail using 'IT_HEADER'.

    *Populate the item fieldcatalog

    perform get_fldcat_detail using 'IT_ITEM'.

    ****px_tabnam is a variable where the IT_HEADER & IT_ITEM tables get populated.

    form get_fldcat_detail using px_tabnam type slis_tabname.

    *Populate the fieldcatalog

    call function 'REUSE_ALV_FIELDCATALOG_MERGE'

    EXPORTING

    i_program_name = SY-REPID

    i_internal_tabname = px_tabnam

    i_inclname = SY-REPID

    CHANGING

    ct_fieldcat = it_fldcat

    EXCEPTIONS

    inconsistent_interface = 1

    program_error = 2

    others = 3.

    if sy-subrc <> 0.

    message i000(ZZ) with 'Error in Field Catalog merging'(023).

    stop.

    endif.

    endform. " GET_FLDCAT_DETAIL

    Thanks

    Vikranth Khimavath

    Message was edited by: Khimavath Vikranth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2006 at 02:14 PM

    Hi,

    Go thru this link it may help you

    http://www.sapdevelopment.co.uk/reporting/alvhome.htm

    Thanks

    Sunil

    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.