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

Output trancating when importing from List

Former Member
0 Likes
854

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

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
592

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