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

Program for Prime numbers and Matrix plz explain me the procedural method with steps

2764


Which one is better joins or views and why?

1090


Explain how to create any functions?

1145


Hat are the different types of mode (run code) in call transaction method?

1122


How do you set up background jobs in sap? What are the steps? What are the event driven batch jobs?

1039


What is the difference between field-group header and other field groups?

982


What are conversion routines? : abap data dictionary

1020


There is a situation where there is a field "MATERIAL DESCRIPTION" in say 20 display only transaction. You want that whenever user opens any of these transaction, this particular field is masked with ****. But table does not holds ****. It holds the actual value. What are different ways of doing it? Which is the best way.

1392


How many types of size categories and data classes are there? : abap data dictionary

1098


What is the tcode for sapscript forms?

1144


How can we decide weather we can enhance the standard infotype or not ? : abap hr

1101


What are the check tables and value tables?

1171


While doing bdc exp va01 transaction sometime in the item level data shows only 4 items and other times it will show 6 line items, how will you maintain this kind of screen resolutions scenerio? : abap bdc

1220


What is alv programming in abap? When is this grid used in abap? : abap hr

1165


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