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: 

how to add new fields to standard reports

Former Member
0 Kudos
2,397

hi friends,

im into ABAP and working across all modules..the basic thing is users and functional people are not satisfied with the standard reports..they need some logic change or to add some more fieldsinb the standard reports.For logic change we have to copy the standard to zprogram and can do or create a new program itself..but in many cases they ask for extra fields.how to achive it ..

for example my requirement now is adding vendor name field to the report FAGGL03 ....i found a badi and have make changes to it ...now the vendor name will be coming in sgtxt over writing the text ...but they need text also...now what shall i do???

append structure vendor name field in faglposx table ....???how to find out the final internal table from where the output is coming ????

?when we check the standard rewport codes...there are lot of include statements perform statements etc ...how to find out the final structure or internal table which has the output values..???

7 REPLIES 7

Former Member
0 Kudos
402

hi

it would be better if u giv full name of the report

if ur displaying the data in alv then search for the

word REUSE_ALV_LIST_DISPLAY REUSE_ALV_GRID_DISPLAY from which u can get the final table name

then check the data that is comming into

try using implicit enhancement or any other exit in the declaration and declare a new structure with the field and append it to the field catalog

if ur displaying the data using write statement

then create a zprogram and add a write statement

fi ur unable to find here the final table then after displayign the report start the debugging and double click on any row to find out more easily

shiva

0 Kudos
402

thanx for ur reply shiva...

tcode is FAGLL03

program name is FAGL_ACCOUNT_ITEMS_GL .....can u identify the final internal table in it ???

0 Kudos
402

Hi ,

please check the FM below which is being called in the prog FAGL_ACCOUNT_ITEMS_GL for display..

FM - ' FAGL_ITEMS_DISPLAY '. line number -915 in prog FAGL_ACCOUNT_ITEMS_GL

IT is using REUSE_ALV_LIST_DISPLAY inside the Fm..and the final table is IT_POS[] .

hope that helps.

0 Kudos
402

hi friends....it_pos is using one table ....i added one field using append structure and moved the values to it...thank u guys for ur suggessions..

0 Kudos
402

can be closed.

GFV
Active Contributor
0 Kudos
402

Hi Manikandan,

I think I have a similar problem with Vendor ID and Name.

Was it difficult to add the Customer Name? How much time does it take to?

Could you share the relevant code adjustments?

Thanks in advance

GFV

Former Member
0 Kudos
402

hi

check out program RM06BF00 corresponding to ME55 transaction.

hope this helps

regards

Aakash Banga