2013 Feb 27 8:15 AM
Hi,
EXPORT & IMPORT working in 4.7 but when it comes same report not working in 6.0
Thanks
Shree
2013 Feb 27 9:00 AM
Hi Shree,
Some statement does not work in ECC 6.0 coz they are obsolete.
Check the below thread link .
http://scn.sap.com/thread/335221
Hope this will help....
Regards,
AKS
2013 Feb 27 9:30 AM
Dear Shree,
Few statements are obsolete in OO context, in that case u will have to write in FORM.
example:-
export itab from itab to database indx(ar) id text-b02. this is used by me and it works.
Could you please paste both your Import and Export statements.
Thanks & Regards,
Vignesh Yeram
2013 Feb 27 9:49 AM
Hi Vignesh,
Could you tell me clearly...what means indx(ar)?
thanks
Shree
2013 Feb 27 9:54 AM
Hi Vignesh,
Why do we need to use the index or from database...I need to get all data from another report''s final internal table.
thanks
shree
2013 Feb 27 10:20 AM
Dear Shree,
EXPORT itab FROM itab TO DATABASE indx(ar) ID text-b02.
If DATABASE is given data cluster with id text-b02 is stored in database INDX and
area ar, which must be specified directly, splits up the rows of the database table into several areas, so that data clusters with the same ID text-b02 can exist multiple times in the database table.
then you can import this data in other report where you want.
IMPORT itab TO gt_selected_vdarl FROM DATABASE indx(ar) ID text-b01.
DELETE FROM DATABASE indx(ar) ID text-b01.
you can also try with the code pasted by Vinoth.
for better understanding could you please paste your code.
Thanks & Regards,
Vignesh Yeram
2013 Feb 27 10:21 AM
Hi Shree
Please try this and it should work.
DATA : itab TYPE STANDARD TABLE of ty_type.
CONSTANT : mem(3) TYPE c VALUE 'MEM'
IMPORT itab from MEMORY ID mem to itab
EXPORT itab to MEMORY ID mem from itab
ECC 6.0 supports the above syntax. Hope this helps!
2013 Feb 27 10:04 AM
hi sree,
use the proper statement ,
IMPORT ITAB FROM MEMORY ID 'TD'
EXPORT ITAB TO MEMORY ID 'TD'
it will work properly,,
hope it helps,
'Vinoth
2013 Feb 27 10:10 AM
Hi Vinoth,
I used the same nothing different but not working in ECC 6.0
Thanks
Shree
2013 Feb 27 10:18 AM
Hi ,
For IMPORT
Example: IMPORT var1 TO var1 FROM MEMORY ID ABC. Better use the TO
EXPORT:
EXPORT var1 FROM var1 TO MEMORY ID ABC.
BR,
Bharani
2013 Feb 27 10:30 AM
Hi expert,
One more thing, my report already working for particular variants. it's not working for few of the input values..
thanks
Shree.
2013 Feb 27 11:32 AM
Dear Shree,
Are you facing this issue in production or dev, quality?
Regards,
Vignesh Yeram
2013 Feb 27 12:16 PM
2013 Feb 27 12:20 PM
2013 Feb 27 10:55 AM
Hi,
If use the export and import statements as below
EXPORT itcpo TO MEMORY ID 'RFFORI01_ITCPO'.
IMPORT itcpo FROM MEMORY ID 'RFFORI01_ITCPO'.
it works fine 4.7 version but in Ecc6.0 it doesnot work.
Change the above code with following code then it works fine and the below code is not obsolete.
EXPORT gs_itcpo FROM itcpo TO MEMORY ID 'RFFORI01_ITCPO'.
CLEAR: itcpo,
gs_itcpo.
IMPORT gs_itcpo TO itcpo FROM MEMORY ID 'RFFORI01_ITCPO'.
2013 Feb 27 11:17 AM
Hi Vineesh,
I used as you said but it's not working...you want to add work area? is it?
Thanks
shree
2013 Feb 27 12:00 PM
2013 Feb 27 12:04 PM
Hello,
use: export f1 from g1 to memory id 'XYZ'.
import f1 to g2 from memory id 'XYZ'.
free memory id 'XYZ'.
Thanks
Sabyasachi
2013 Feb 27 12:21 PM
2013 Feb 28 5:37 AM
2013 Feb 28 5:48 AM
Hi Shree,
Please paste your actual code here to analyze better.
2013 Feb 27 12:33 PM