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

How can we use multiple transactions by using bdc_insert? : abap bdc

1136


What are Table control and tab strip control in dialog programming ?

5795


What are the contents in technical specifications?

1172


What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why? : abap modularization

1107


What are matchcodes?

986


How to transfer the objects? Have to transferred any objects?

1056


What are the parameter types for a method?

1489


What is function group?

1061


Define abap/4 layer? : abap data dictionary

1042


What is web dynpro for abap?

1048


What are the steps to be followed to set lockobjects? : sap abap data dictionary

1113


1.If there is one receiver,then To send 10 materials at a time through BD10 tcode, How many Master Idoc create? 2.If there is one receiver,then To send 1 material at a time through BD10 tcode, how many Master Idoc generated? 3.Can I Send Multiple Messges through BD10 tcode?

1963


How is time management and payroll is integrated? : sap abap hr

1026


What are the 3 methods that we use in sequence in a batch input session method? : abap bdc

1091


What is the bapi?

1148