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 user specific parameter?
What are the different modes of processing batch input sessions? : abap bdc
A subroutine can contain nested form and endform blocks. State true or false. : abap modularization
List some of the many different ways that the sap standard functionality can be changed by a customer?
Explain what are extracts?
What is web dynpro for abap?
What are the modes in lock objects? : sap abap data dictionary
What are interactive reports?
What is the BAPI_CUSTMATINFO_GETDETAILM used for? what is the input and output of this bapi.
What is projection view?
Why do we use events and actions in web dynpro?
What are two different ways to add fields to sap tables?
What are the user interfaces of interactive lists?
in bdc session method. if u run the record in fore ground manually i have a 7 records but at the time of record processing first record produces the error how can u process records manually in fore ground please tell me any one knows?
Difference between top-of-page and top-of-page during at line- selection?