2006 Sep 08 11:12 AM
Hi all,
Can any one tell me how to declare a export memory id for an internal table???
regards,
madhu
Hi all,
Can any one tell me how to declare a export memory id for an internal table???
regards,
madhu
2006 Sep 08 11:12 AM
2006 Sep 08 11:13 AM
Hi
One point to remember here is that memoryID for exporting an Internal table is that the <b>memoryID and the internal table name must be the same</b>.
Regards,
Raj
2006 Sep 08 11:16 AM
HI madhu,
Refer this link:
http://help.sap.com/saphelp_erp2005/helpdata/en/fc/eb3bf8358411d1829f0000e829fbfe/frameset.htm
Regards,
Ravi
2006 Sep 08 11:21 AM
Hi,
data lv_date like sy-datum value '20050303'.
data itab like lv_date occurs 0 with header line.
itab = lv_date.
append itab.
<b> set parameter ID 'TEST' field itab.</b> click on test to activate parameter id
it is stored in table TPARA.
you can use Get parameter id 'TEST' field itab.
to get value assigned.
Set,get are active stored in SAP global memeory.
or
export itab to memory id 'TEST'.
import itab from memory id 'TEST'.
itab should have same length and type.
Regards
Amole
2006 Sep 08 11:22 AM
hi,
In first program,
types : begin of t_itab,
name(10),
end of t_itab.
data: itab type table of t_itab with header line.
ws_memid = 'MY_MEMID'.
export itab to memory id ws_memid.
In second program,
types : begin of t_itab,
name(10),
end of t_itab.
data: itab type table of t_itab with header line.
ws_memid = 'MY_MEMID'.
import itab from memory id ws_memid.
regards,
Sailaja.
2006 Sep 08 11:22 AM
Hi,
like this
export a = tb_zidi_sumrep to memory id 'zidi_sumrep'.
and getting it likewise.
Hope this helps
Regards
Nishant
2006 Sep 08 11:24 AM
TYPES:
BEGIN OF tab_type,
para TYPE string,
dobj TYPE string,
END OF tab_type.
DATA:
id(10) TYPE c VALUE 'TEXTS',
text1 TYPE string VALUE `IKE`,
text2 TYPE string VALUE `TINA`,
line TYPE tab_type,
itab TYPE STANDARD TABLE OF tab_type.
line-para = 'P1'.
line-dobj = 'TEXT1'.
APPEND line TO itab.
line-para = 'P2'.
line-dobj = 'TEXT2'.
APPEND line TO itab.
EXPORT (itab) TO MEMORY ID id.
IMPORT p1 = text2
p2 = text1 FROM MEMORY ID id.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |