‎2008 Jul 23 8:17 AM
Hi all,
i'm using tableitab type lvc_t_fact . pls tell me how to create work area for this table type.Now it's maintain a lot of data in it;s body.
regards,
Anuj
‎2008 Jul 23 8:19 AM
Hi,
for work area write,
data: wa like line of itab.
as the itab has the table type lvc_t_fact , wor area take the line type of itab ,i.e the structure of itab.
Regards,
Sujit
‎2008 Jul 23 8:19 AM
Hi,
for work area write,
data: wa like line of itab.
as the itab has the table type lvc_t_fact , wor area take the line type of itab ,i.e the structure of itab.
Regards,
Sujit
‎2008 Jul 23 8:19 AM
data : wa_itab type lvc_t_fact .
This is the required work area.
‎2008 Jul 23 8:20 AM
Hi,
DATA: wa_work_area TYPE lvc_t_fact.
Gothrough the following link,
http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f77a9d111d1a5690000e82deaaa/frameset.htm
Regards,
Harish
‎2008 Jul 23 8:20 AM
Hi,
You can declare work area as below
DATA: wa_fact LIKE LINE OF lvc_t_fact.
I guess this would help.
Regards,
Farheen.
‎2008 Jul 23 8:21 AM
‎2008 Jul 23 8:21 AM
If you created an internal table from type lvc_t_fact, you probably did that coding something like
DATA table_name TYPE STANDARD TABLE OF lvc_t_fact.If all you need is to create a work area - a one record memory area with the same structure as the table, all you have to do is to declare a variable of type lvc_t_fact, as follows:
DATA var_name TYPE lvc_t_fact.Now you can assign the values you need to update the table with - to this variable, and, in a loop, update the rows you need.
Hope it helps.
Avraham
‎2008 Jul 23 8:21 AM
hi,
This is a internal table of Field Catolog.
You have to make the work area of class lvc_s_fcat.
So that you can enter the data in the field Catalog table.
Regards
Sumit Agarwal
‎2008 Jul 23 8:24 AM
wa_tableitab like line of lvc_t_fact.
This is the declaration for work area.
Raghav
‎2008 Jul 23 8:26 AM
Hi Anuj,
here is the example for ur query...
data fcat type lvc_t_fcat.
data wa_fcat like line of fcat.
here wa_fcat is the work area for fcat.
i hope this will help u
Thanks & Regards
Ashu Singh.
‎2008 Jul 23 8:29 AM
‎2008 Jul 23 8:32 AM
Hi Anuj,
You can create a workarea by any one given options.
1. DATA: W_T_FACT LIKE LVC_T_FACT
2. DATA: W_T_FACT LIKE LINE OF TABLEITAB
3. DATA: W_T_FACT TYPE LVC_T_FACT
Hopefully this will resolve ur problem...
Now plz give a point....
With Regards,
Debopriyo
‎2008 Jul 23 8:37 AM
Hi
You can declare the work area by useing the following statement
DATA: wa_fact LIKE LINE OF lvc_t_fact.
Jatender Narang
‎2008 Aug 06 12:33 PM