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

In SAP Script,How to display a single field(like matnr)at the right end of the form.

2380


What is the significance of hide?

947


What are the different attributes that can be assigned to a variant?

986


Difference between select option and ranges ?

1047


What are different types of parameters?

1114


Can we create field without data element? If yes, how?

1100


What is pretty printer?

978


singleton class

1334


It is possible to assign a local data object defined in a subroutine or function module to a field group. State true or false. : abap modularization

1218


In tm, if a group of employees gets 10 days of annual leave, what will be the time evaluation status? : sap abap hr

987


when run my program in se38 it was showing output, when i take background execution and giving printer details it was shoing out put. but in SP01 when i give the Spool Request Number it was showing not yet processed entire page why it happens i dont know please give me a solution.

2523


What is For-period and In-period

2155


Name a few data dictionary objects? : abap data dictionary

1058


What are the aggregate objects in data dictionary? : sap abap data dictionary

1137


How are the function code handles in flow logic?

1030