on 09-11-2013 8:18 AM
Hi
i have a table called LT_STOCK in my WebDynpro.
How can i export/Import it to a memort id 'zzzzz' ?
cause i tried - export LT_STOCK to memory id 'zzzzz' , but without success.
thanks Ami
Hi Ami,
In general, we need to SUbmit the Export program name where you need to send the vallues of the internal table but I am not sure the same approach will work in Webdynpro.
Ex : -
* On Export end
DATA: ls_indx TYPE indx.
ls_indx-aedat = sy-datum.
ls_indx-usera = sy-uname.
ls_indx-pgmid = 'ZNAME'.
EXPORT tab = lt_orders
TO DATABASE indx(v1)
FROM ls_indx ID 'PERCENT'.
----------------------------------------------------------------------
* On the IMPORT side
DATA: ls_indx TYPE indx.
ls_indx-aedat = sy-datum.
ls_indx-usera = sy-uname.
ls_indx-pgmid = 'ZNAME'.
IMPORT tab = lt_orders
FROM DATABASE indx(v1)
TO ls_indx ID 'PERCENT'.
Kindly check the documentation for the Keyword for more Information to IMPORT / EXPORT your Itable values.
Hope it will be heplful!
Best regards,
NKC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
for core ABAP:
It should work ideally as the syntax u used is correct.
Is the table u are exporting is with header line.
If yes just create a new table without header line . transfer the date to the new table and export it.
For WD ABAP:
Export to memory id willnot work in WD scenarioes.
U will have to use the EXport to data base statement where ever needed.
if the export to database also not works then you can create a new table and pass your value the new table.
and when impring needs to be done just select the data from table and afterward refresh the table data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What is your requirement? . If you want to reuse the Value make that field as interface then reuse the component.
Regards,
John.
Regards,
John.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please refer to the below link
http://scn.sap.com/thread/1866558
You must create temporary table globally for export and import.
Try and let me know.
Best Regards,
Abirami
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.