Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CALL FUNCTION 'LIST_TO_ASCI'

Hi i have written the code as

CALL FUNCTION 'LIST_TO_ASCI'

EXPORTING

LIST_INDEX = -1

WITH_LINE_BREAK = ' '

TABLES

listasci = it_asc

LISTOBJECT = it_list

EXCEPTIONS

EMPTY_LIST = 1

LIST_INDEX_INVALID = 2

OTHERS = 3

Now have to fetch only one value stored in the table it_list.How to fetch it.

Tags:
Former Member
Former Member replied

Hi,

The ASCII list will be in the internal table "it_asc". You need to loop and identify the row you need.

Loop at it_asc into wf_asc.

...

if sy-index = 1.

Print "Row I want".

Exit.

endif.

.

Endloop.

Thanks and Best Regards,

Dinesh.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question