2016 Sep 22 12:48 PM
Hi Exert,
I have the requirement where i need to submit in FBL3N program and get the output.
DATA: listobject1 like table of ABAPLIST,
l_contents_hex like table of ABAPLIST.
data: it_textlines(1024) type c occurs 0 with header line,
wa_textlines LIKE it_textlines.
SUBMIT RFITEMGL
WITH SD_SAKNR in s_saknr
WITH SD_BUKRS in s_bukrs
EXPORTING list TO MEMORY
all function 'LIST_FROM_MEMORY'
tables
listobject = listobject1
exceptions
not_found = 1
others = 2.
BREAK-POINT.
.
call function 'LIST_TO_ASCI'
tables
listobject = listobject1
listasci = it_textlines
exceptions
empty_list = 1
list_index_invalid = 2
others = 3.
but my problem is that when i am import the list from memory i am not getting full output.
Output is getting truncated,
How i can get the full output from the list any idea.
Regards,
Zubera
Hi Exert,
I have the requirement where i need to submit in FBL3N program and get the output.
DATA: listobject1 like table of ABAPLIST,
l_contents_hex like table of ABAPLIST.
data: it_textlines(1024) type c occurs 0 with header line,
wa_textlines LIKE it_textlines.
SUBMIT RFITEMGL
WITH SD_SAKNR in s_saknr
WITH SD_BUKRS in s_bukrs
EXPORTING list TO MEMORY
all function 'LIST_FROM_MEMORY'
tables
listobject = listobject1
exceptions
not_found = 1
others = 2.
BREAK-POINT.
.
call function 'LIST_TO_ASCI'
tables
listobject = listobject1
listasci = it_textlines
exceptions
empty_list = 1
list_index_invalid = 2
others = 3.
but my problem is that when i am import the list from memory i am not getting full output.
Output is getting truncated,
How i can get the full output from the list any idea.
Regards,
Zubera
2016 Sep 22 1:57 PM
FBL3n, as FBL1n and FBL5n, are able to display data in ALV, so you can use cl_salv_bs_runtime_info to get the actual internal table (and the metadata like field catalog too) Perform some search on this class, many threads available.
Alternative Read data from BKPF/BSIS (thru BSxS secondary index) and then with help of FI_CURRENCY_INFORMATION , some code for field of t021 and ITEM_DERIVE_FIELDS to generate the final itab.
Regards,
Raymond
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |