Answer Posted / vijaypamulapati
Hi first retrive the data for basic list(from KNA1) after
that write the fallowing code.
AT LINE-SELECTION.
CASE SY-LSIND.
WHEN ‘1’.
SELECT KUNNR
VBELN
ERDAT
ERNAM
NETWR
FROM VBAK INTO TABLE T_VBAK WHERE KUNNR =
W_KNA1-KUNNR.
SORT T_VBAK BY VBELN.
NEW-PAGE LINE-COUNT SY-SROWS.
LOOP AT T_VBAK INTO W_VBAK.
WRITE:/10 SY-VLINE, W_VBAK-VBELN ,
35 SY-VLINE, W_VBAK-ERDAT,
55 SY-VLINE, W_VBAK-ERNAM,
67 SY-VLINE, W_VBAK-NETWR, 90 SY-VLINE .
HIDE W_VBAK-VBELN.
WRITE:/10 SY-ULINE(81).
Regards,
Vijay
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is the Difference between At Line selection and At user-command?
What is a subroutine?
What is the significance of hide?
What are the different types of the variable in the sap abap?
Difference between user exit and badis?
Difference between function group and function module?
State the differences between database view & projection view? : abap data dictionary
Explain the Inportance of pa30? : abap hr
What are the events used in abap in the order of execution?
What are the differences between a database index and a match code? : abap data dictionary
performance tuning concepts
What are the events used in interactive reports?
How to find the return code of a statement in abap programs?
What is asynchronous and synchronous update?
What are the layers of data description in r/3? : abap data dictionary