Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding fields to the standard Report

Former Member
0 Kudos
12,641

hi ,

could u plz tell me what r the guidelines we have to follow

while adding fields to the standard Report. (Ver ECC 6.0)

in QA32 Tcode, after executing it will generate a report there i hv to add it.

I could find structure of that main final table, i hv appended desired field also,

Now im looking into Enhancement spot for it, is there any method to do it.

Plz hv eye on it.

Regards

Vivek

1 ACCEPTED SOLUTION
19 REPLIES 19

former_member203501
Active Contributor
0 Kudos
2,661

Hi,

Some times it is needed for us to extend the standard structures using append stuctures. Go to the program and choose edit -


> Enhancement Operations------->Show implict enhancement.

Add the fields and to the fieldcatalog and modify the output data table before the alv display using the enhancements you can achieve it .

Regards,

Venkat Appikonda

samantak_chatterjee
Active Contributor
0 Kudos
2,661

Hi Vivek,

I guess every Customization Project fellows its own set of guidelines apart from the Standard Enhancement Options which SAP provides. So, the best option will be to talk to or get in touch with the Project Architect/Lead who can give you some documents which contains all the coding, performance, etc guidelines. This will be your first point of reference which will guide you with all the queries regarding enhancements. Next you can have a look at the standard SAP Guidelines which will have a less priority than the project specific guidelines.

Hope this will help.

Thanks,

Samantak.

Former Member
0 Kudos
2,661

Hi friend,

View this pdf you will get an clear idea of add fields to the report synamically.. Hope this will help you out..

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e0039a-0d79-2c10-0aaf-9f6c062c0...

0 Kudos
2,661

Thanks Divya For ur instant reply.

Ur sent data is fine, but i hv to add fields into standard report of QA32 not into selection screen.

Plz get data on it.

Thanks in advance,

Regards

Vivek

0 Kudos
2,661

Hi ,

check the Report RQEEAL10(Program for T-code QA32)

there are Multiple enhacemenet Points available to add the field in the output structure.

see the structure in RQEEAL10 and try to add the fields in the enhacement points

  • INTERNAL TABLES

DATA: BEGIN OF object_tab OCCURS 0.

INCLUDE STRUCTURE qals_d02.

DATA: kz_qave.

DATA: selected.

DATA: lights.

DATA: viewed TYPE pm_selected.

"----


you can find the enhcement Point here and add you fields here

DATA: END OF object_tab.

Prabhudas

0 Kudos
2,661

And you can append the fields in the Field catalog.

in perform routine in report RQEEAL10 there is a Enhacement Point you can add field catalog..

PERFORM create_fieldcat_l USING tabname TYPE slis_tabname.

prabhudas

0 Kudos
2,661

Thanks for ur genuine reply,

Actually ,

if u go to Tcode QA32 report display.

just select any inspection lot no. then click on Results Icon,

it will take u to General tab screen. here we can see " Insp Description" field.

I want these fields into main report, and I didnt get where this values getting stored in program and how to passed it to internal table structure of "Reuse_alv_grid_display".

these r details for Desc field:-

Screen Field QAQEE-PRUEFBEMKT

Table Name QAQEE

Field Name PRUEFBEMKT "Insp. Description

Data Element QKURZTEXT

I would be grateful if u look into this.

Waiting for ur reply.

Regards

Vivek

0 Kudos
2,661

hey its done.. thnks all.

Regards

Vivek.

0 Kudos
2,661

>

> hey its done.. thnks all.

>

>

> Regards

> Vivek.

Hmm

Thread: Adding fields to the standard Report

This question is not answered.

2,661

Can you please post it here that how you did it?

Regards,

Ibrar

Former Member
0 Kudos
2,661

Hi,

First check the Business requirement and try to search for enhacement points...

Enhacement Points----

And to find the Enhamcement Points go to progrmam or screen where the Items table is there and

Press SHIFT+F4(enhace application tool) -->go to menu bar >EDIT>enhacement Operations

-->Show implicit enhacements

--> once the yellow bar/Line appears right click and create a enhancement and add your own code.

write the code where ever necessary to show the extra fields.

Prabhudas

0 Kudos
1,344

Do you know what resolved the problem? I have the same problem here and cannot find a solution. Thank you. Patricia.

former_member203501
Active Contributor
0 Kudos
2,661

Hi ,

this is the exact answer for your question.

Go to the inclide RQALVF14 in this there is a perform call_listviewer_f14, in this the output is displaying using REUSE_ALV_GRID_DISPLAY function module . before this do like this ..

modify the output table p_object_tab like this .

the output table is of structure QALS_D02 you can extend this by appending a structure with the custom fields and there is an enhancement ( i have checked it) in this routine call_listviewer_f14 in RQALVF14. Create an enhancement in this routine at the start of the routine and modify the output table using your custom code in it , then you wil get the data as well as fields into fieldcatalog,.

Regards,

Venkat Appikonda.

0 Kudos
2,661

Note that this form is called in about 24 programs. (Perform a where-used on the FORM in your system) Program your code so as not to disrupt other programs.

Regards,
Raymond

Former Member
0 Kudos
2,661

closed

2,661

Hi Vivek,

May you please share a step by step detailed help on how you did the enhancement.

I want to add a field in the QA32 ALV.

Thanks,

Sakar

0 Kudos
2,661

Hi,

You can create an implicit enhancement in CALL_LISTVIEWER_F14 perform to add your fields to field catalog as well as final data. You can add your custom fields in structure QALS_D02 which is used in the OBJECT_TAB.

Thanks

Nabheet

0 Kudos
2,661

Dear Experts,

it display the correct result until reuse alv grid display itab. but not show the fields in alv after execution. i have also display all the fields in layout. But can't see the enhanced fields what can be the problem?

Regards,

Sohail