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
In Smartforms or ADOBE Forms Can we get text from standard table in verticle form? if yes, How?
BDC program to migrate data to SAP R/3 database. The data will be uploaded using transaction ME11. (Session Method) plz mention the detail coding Tahnks, Rahul
How can we upload a text file having delimiters in to legacy system?
Explain how do you use structures in the abap programs?
Persistent class
What are the kinds of foreign key fields?
Explain the advantages of logical databases?
Differentiate between static and dynamic step loops?
What are your ways to performance optimization?
Have you printed any report?
Can you assign a matchcode object to a parameter? If so how?
What are the two different ways of building a match code object? : abap data dictionary
Explain what are the system fields? Explain?
What is delivery class? : abap data dictionary
What is smart forms? : abap hr