‎2010 Apr 01 10:05 AM
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
‎2010 Apr 01 3:12 PM
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.
‎2010 May 11 12:09 PM
‎2011 Sep 02 11:01 AM
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