Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the code for basic list to 2ndry list?

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


Please Help Members By Posting Answers For Below Questions

what is user specific parameter?

2060


What are the different modes of processing batch input sessions? : abap bdc

1219


A subroutine can contain nested form and endform blocks. State true or false. : abap modularization

1313


List some of the many different ways that the sap standard functionality can be changed by a customer?

947


Explain what are extracts?

1089


What is web dynpro for abap?

1043


What are the modes in lock objects? : sap abap data dictionary

1030


What are interactive reports?

1072


What is the BAPI_CUSTMATINFO_GETDETAILM used for? what is the input and output of this bapi.

3397


What is projection view?

960


Why do we use events and actions in web dynpro?

1006


What are two different ways to add fields to sap tables?

1025


What are the user interfaces of interactive lists?

1033


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?

2149


Difference between top-of-page and top-of-page during at line- selection?

2340