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
how to track records from data dictionary?
How do you display a data in a detail list?
How to insert a line into abap internal tables?
When a function module is activated syntax checking is performed automatically. State yes or no. : abap modularization
In sap script how to print bar code in vertical manner
Can you delete data element, which is being used by table fields?
What are the organizational related Infotypes
What is hotspot?
What is the difference between call transaction and session method? : abap bdc
What is buffering in abap?
What is bdc? : abap bdc
What is the use of the statement leave to list-processing?
What is a size category? : abap data dictionary
what are the important fields while preparing sales order,inquiry?
Explain the difference between get and get late?