2009 Jan 22 6:17 AM
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..???
2009 Jan 22 6:25 AM
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
2009 Jan 22 6:29 AM
thanx for ur reply shiva...
tcode is FAGLL03
program name is FAGL_ACCOUNT_ITEMS_GL .....can u identify the final internal table in it ???
2009 Jan 22 7:08 AM
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.
2009 Jan 22 7:48 AM
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..
2009 Jan 22 7:50 AM
2009 Jul 31 4:32 PM
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
2009 Jan 22 6:34 AM
hi
check out program RM06BF00 corresponding to ME55 transaction.
hope this helps
regards
Aakash Banga