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...

iam having 3 internal table how can i pass data to the 4th
internal table

Answer Posted / lokesh

you have 3 internal tables u want to populate these 3
internal tables data to 4th internal table ..right

Check out this eg code :

suppose we think u have 3 Internal tables i.e.,
t_marc,t_mara,t_makt
and 4th internal table is itab[final interanl table]

Start-of-selection.

Select matnr werks lvorm from marc
Into table t_marc
Where matnr = s_matnr
And werks = p_werks.


If t_marc is not initial.
Loop at t_marc .

Read t_marc into itab with key matnr = t_marc-matnr.



Select matnr Mbrsh Meins maktl from mara
Into table t_mara
For all entries in t_marc
Where matnr = t_marc-matnr.

Select matnr maktx spras from makt
Into table t_makt
For all entries in t_marc
Where matnr = t_marc-matnr.

Move :

T_mara-mbrsh = itab-mbrsh.
T_mara-meins = itab-meins.
T_mara-maktl = itab-maktl.
T_makt-maktx = itab-maktx.
T_makt-spras = itab-spras.


Endloop.


Else .

Write : / ‘No data is found in the first internal
table T_marc’.

Endif.

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is collect statement different from append?

992


Mention some important events in abap programming.

1007


Explain what are the different functions used in sap script? What are the parameters used in each function?

988


What are the disadvantages of logical databases?

1183


Where the payroll results are stored

2331


What are the buffering options in abap?

1066


Power is interrupted while transferring data from internal table to application server. How will you determine many records are transferred in session method and call transaction method? : abap bdc

1216


Explain pai and pbo.

1169


how to use table control?if suppose i have 6 records and i want more 4 records in sequence.How to handle this scenario?

1999


HOW TO DIFFERENT CALL TRANSACTION ON THE BASIS OF DOUBLE CLICKING ON DIFFERENT FIELD.

2231


What are the classifications of the sap abap data classes?

1077


How to know if the value entered contains records or not?

989


What is a data dictionary? : sap abap data dictionary

923


How does the interface between the dynpro and the abap/4 modules take place?

988


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

2224