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: 

Problem in ALV (FI_ITEMS_DISPLAY)

Former Member
0 Kudos

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

6 REPLIES 6

anversha_s
Active Contributor
0 Kudos

Hi,

check the intranal table passing to the ALV has values.

especially in the NAME1 field.

rgds

anver

0 Kudos

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

anversha_s
Active Contributor
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

hi,

What is the use of FUNCTION MODULE FI_ITEMS-DISPLAY

and also standard structure RFPOSXEXT.

Former Member
0 Kudos

hi,

What is the use of FUNCTION MODULE FI_ITEMS-DISPLAY

and also standard structure RFPOSXEXT.