Application Development and Automation 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: 
Read only

FI_ITEMS_DISPLAY issue

Former Member
0 Likes
1,147

Hi,

I want to display the content of FBL3N in CSV file format. For that I am submitting Standard program RFITEMGL in zprog. I knew that output populated from internal table IT_ITEMS of BAPI FI_ITEMS_DISPLAY.Donu2019t want ALV output, wanted in CSV file. How to capture the values from IT_ITEMS.I tried , but not working. Also I tried to get it directly in SE37 FI_ITEMS_DISPLAY, its not working. How to fill the parameter in FI_ITEMS_DISPLAY.

Please correct the code

DATA: itab TYPE TABLE OF abaplist.

T_REPID = SY-REPID.

select-options :sd_saknr for skb1-saknr,

sd_bukrs for skb1-bukrs.

*so_budat for bsis-budat.

start-of-selection.

submit rfitemgl via selection-screen

with sd_saknr in sd_saknr

with sd_bukrs in sd_bukrs

with x_aisel = 'X'

with x_opsel = ' '

*with so_budat in so_budat

exporting list to memory

and return.

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

listobject = itab

EXCEPTIONS

not_found = 1

OTHERS = 2.

CALL FUNCTION 'WRITE_LIST'

EXPORTING

write_only = 'X'

TABLES

listobject = itab

EXCEPTIONS

empty_list = 1

OTHERS = 2.

Thanks in advance

3 REPLIES 3
Read only

andreas_mann3
Active Contributor
0 Likes
669

1) for parameters of fm FI_ITEMS_DISPLAY look into where used list (e.g. in RFPOSFE0)

2) your coding seems to be ok...I've found no mistake

-> here's an alternative: report RFBPET00

A.

Read only

0 Likes
669

SOLVED & THANKS

Read only

0 Likes
669

Hi Geeta,

Can you please share how did u solve the issue?

Actually I am supposed to use this FM and then get all the items, and then segregate( as it does for fbl1n )and then send it to a non-SAP system .

Please let me know how to pass data for this fm and also how to segregate the data.

Rgards,

Renuka