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

Find Field catalog used for final ALV output report in Tcode VA05

Hi All,

In Transaction code VA05 give valid sales area and press enter.

The report will be displayed.

In that report I need to have two more new fields to be displayed which will be fetched from vbak.

I want to know the field catalog used to display that final output.

What is the form/exit for the field catalog which needs to be modified for the above requirement.

Please help me.

Reagrds,

Rupali Punekar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Aug 14, 2009 at 08:31 AM

    The tcode VA05 is customizable and you can add also your own fields if these doesn't exist. Firtst see what program is under the tcode (you should expect the SAPMV75A).

    After you have take this information go to the customizing via the path:

    SPRO -> F5 -> Sales and Distribution -> Sales -> Lists -> Define Selection Criteria.

    If you add your field in this catalog, then this field should be a selection criteria in your list.

    Now just to populate the list with data, you should implement a user exit:

    SPRO -> F5 -> Sales and Distribution -> System modifications -> User exits in Sales -> User exits for Lists .

    There you should find documentation for the right user exit and which communication structures you should enhance. ie the structure VBMTV has an include, theVBMTVZ.

    and an code-example:

    • This form is called in the include LV05TFMO.

    FORM MOVE_USERFIELDS USING ZP.

    CASE ZP.

    WHEN 'VBAK'.

    • header

    • MOVE LVBAK-XXXXX TO LVBMTV-ZZXXXXX.

    WHEN 'VBAP'.

    • item

    *{ INSERT R3QK903302 1

    MOVE LVBAP-BEDAE TO LVBMTV-BEDAE.

    *} INSERT

    • MOVE LVBAP-XXXXX TO LVBMTV-ZZXXXXX.

    WHEN 'VBEP'.

    • schedule line

    • MOVE LVBEP-XXXXX TO LVBMTV-ZZXXXXX.

    ENDCASE.

    ENDFORM.

    With Regards

    George

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2009 at 08:13 AM

    HI,

    pls see Structure - VBMTV

    Also FORM REUSE_ALV_FIELDCATALOG_MERGE in include - RVREUSE_FORMS

    Hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Gary,

      Thanks for quick response.

      According to my observation the output table is pt_outtab in form REUSE_ALV_LIST_DISPLAY.

      the catalog which is passed is ps_sd_alv-fieldcat.

      Is it possible for you to show me how exactly the fields would be added to the catalog you have suggested?

      I am not sure where exactly the field and its value is passed.

      Regards,

      Rupali Punekar

      Edited by: Ruapli Punekar on Aug 14, 2009 10:26 AM

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.