11-04-2006 2:04 PM
Hi all....
My requirement is to add a fields LFA1_NAME1 to the Vendor history report (Main program is rfitemap)(Tcode is FBL1N)
i copied this program in to a z program.There is a FM called FI_ITEMS_DISPLAY, an internal table is passed (IT_POS)into this so that it populates the ALV.internal table IT_POS is of type a standard structure rfposxext.i was able to get fetch the value of LFA1-NAME1 and pass it into IT_POS.
MY problem is this....
when i execute the program my ALV list does not having the field NAME1.i did created the field catalog properly.
Field Name1 is hidden...so,i went to the layout and brought it to the display.Im gettin the field label NAME1. but my column is empty...ie., my values are not populating in to the field NAME1.
(i even tried to copy the function group and modifying the copied standard structure)...nothin works.
Any help to solve this problem will be HIGHLY appreciated...
Thanks in advance
11-04-2006 2:11 PM
Hi,
check the intranal table passing to the ALV has values.
especially in the NAME1 field.
rgds
anver
11-04-2006 2:14 PM
Thanks Anver....
the internal table is passing the values to the fuction module FI_ITEMS_DISPLAY...i debugged it and whent inside the FM and i found the data being populated to REUSE_ALV_LIST_DISPLAY and REUSE_ALV_GRID_DISPLAY.
Regards,
Prabhu S
11-04-2006 2:17 PM
hi,
Ok then check then chk the field catlog.
eg
it shuld be the same name as like interal table field declaration name
fieldcatalog-fieldname = 'NAME1'. "<b>caps and correct Spelling</b>
fieldcatalog-seltext_m = 'Name'.
<b>append fieldcatalog to fieldcatalog.
clear fieldcatalog.</b>
rgds
anver
11-04-2006 2:23 PM
Thanks for replyin Anver...
i did built the field catalog properly...no flaws.
gave field name, reference table name, selection text, no out is suppressed so that output is ON...
But the problem still persists.
Regards,
Prabhu S
01-11-2007 9:45 PM
hi,
What is the use of FUNCTION MODULE FI_ITEMS-DISPLAY
and also standard structure RFPOSXEXT.
01-11-2007 9:46 PM
hi,
What is the use of FUNCTION MODULE FI_ITEMS-DISPLAY
and also standard structure RFPOSXEXT.