Application Development 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: 

ABAP list

milascon_daniel
Participant
0 Kudos

hi ,

there is a function module or something which write an abap list according to some parameters like no of columns, etc ?

Writting an abap list with write instruction it is not so easy.

Thank you.

9 REPLIES 9

former_member182426
Active Contributor
0 Kudos

hi,

first tel me wat's ur requirement clearly. ABAP list means wat to display.....

Regards,

shankar.

0 Kudos

I have created a program which modify a purchase order with BAPI_PO_CHANGE and the result (stored into an internal table) i want to output the result as ABAP list

0 Kudos

hi,

if u want to display normal output of a report like this...

for ex: ur itab contains fields, EMPID, NAME, SALARY.

LOOP AT ITAB.

WRITE: ITAB-EMPID, ITAB-NAME, ITAB-SALARY.

ENDLOOP.

and in TOP-OF-PAGE event u display the titles like ur wish.

-


And one more way is u can diaply ALV list foramt by using FM.

REUSE_ALV_LIST_DISPLAY.

To do this first u have to create fieldcataulog and u have to pass ur ITAB to FM.

Regards,

Shankar.

0 Kudos

Hi,

You just want to display the internal table on screen?

Then use function module REUSE_ALV_LIST_DISPLAY

Regards,

Pooja

0 Kudos

many thanx my friends,

because i don't want to be forced to look for FM REUSE_ALV_LIST_DISPLAY documentation, this FM has a parameter where i can specify output type : ABAP list, SAP List Viewer, ...?

Thank you again.

0 Kudos

>

> many thanx my friends,

>

> because i don't want to be forced to look for FM REUSE_ALV_LIST_DISPLAY documentation, this FM has a parameter where i can specify output type : ABAP list, SAP List Viewer, ...?

>

> Thank you again.

You don't want to be forced to look at the documentation? And how are you supposed to use that function in your program? By asking us to look at the documentation and write the program?

0 Kudos

no Maen Anachronos ,

output the result is last step in my project... For me it would take much more time to search in FM REUSE_ALV_LIST_DISPLAY documentation and if someone know the answer i think that it would save a lot of time.

However I had to look for FM REUSE_ALV_LIST_DISPLAY

Regards,

Dan M.

0 Kudos

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' THIS IS FOR GRID DISPLAY

CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' THIS IS FOR LIST DISPLAY

ALV HAS MORE FUNCTIONALITY LIKE YOU ADD LOGO,COLOR SELECTED LINES.

ADD OR DELETE PF-STATUS ITEMS...

INTERACTIVE ALV LIKE BASIC AND SECONDARY LISTS.

GauthamV
Active Contributor
0 Kudos

deleted code as it is not the requirement

Edited by: gautham chakraverthi on Oct 3, 2008 3:37 PM