Submit transporting a internal table (ABAP)

Question:
Hello,
I need help to submit to another report some varibles and a ITeable and how to get it on the 2nd reporte.
I use:
SUBMIT zRepr With variable
and i get it ok
but i need to transport an internal table
so i post
SUBMIT zRepr With it
and i do not know how to get it of if it is ok posted.
thank you very much
Federico
_________________
Hi
Answer:
Hello,
I need help to submit to another report some varibles and a ITeable and how to get it on the 2nd reporte.
I use:
SUBMIT zRepr With variable
and i get it ok
but i need to transport an internal table
so i post
SUBMIT zRepr With it
and i do not know how to get it of if it is ok posted.
thank you very much
Federico
Actually you did not transfer variables you passed parametes which are defined on the selection-screen. You cannot pass internal tables (other than select-options) that way.
Christian
Answer:
... so take a look at IMPORT and EXPORT. That should help you out.
_________________
Oscar.
Answer:
Hi,
Y make a submit posting the ITable of the Select-OPTIONS
You must use
Submit Zreporte
WITH SEL_OP IN SEL_OP
Hello,
I need help to submit to another report some varibles and a ITeable and how to get it on the 2nd reporte.
I use:
SUBMIT zRepr With variable
and i get it ok
but i need to transport an internal table
so i post
SUBMIT zRepr With it
and i do not know how to get it of if it is ok posted.
thank you very much
Federico
Actually you did not transfer variables you passed parametes which are defined on the selection-screen. You cannot pass internal tables (other than select-options) that way.
Christian
Answer:
You can "transfer" an internal table created in one report to another where a Memory transfer will not work , particularly if one of the submits must go to batch.
On you selection-screen you create a VERY WIDE ( as wide as your table) SELECT-OPTION field NO-DISPLAY, create a corresponding RANGES and loop at your internal table an place each record into the LOW field of the RANGES table and SUBMIT the report transfering the range into the select option either use a parameter field ( again no display) to tell the receiving code there is an internal table to reload. then loop at the select-option table and place to LOW into the internaltable, the fields will drop into the correct place without having to parse.
Example:
Wow.......interesting. Wouldn't it be easier to just use EXPORT/IMPORT?
Regards,
R Heilman
It could fail if one of the reports is submitted (scheduled) in batch.
Christian
Answer:
hi ficoferreyra,
last week i was trying to do the same as you.
But i couldn't export an internal table, is not possible, also in the submit, because it was in batch mode.
Maybe you can create a RANGES and enter all the information you need.
The export and import works fine for especific data but using de ID 'key'
Need you necessary to pass an internal table from a report to another? or maybe you can change it and do it in a different way.
I hope you can find the answer soon.
M.
Answer:
As noted Export and import will not work if you have part of the process requiring submission to batch. The select option does work. I use it for uploading from excel and then submit to batch for long processing....
Answer:
Wonder if exporting the internal table to database cluster is a better option?
2. EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key.
Answer:
It is an option but if you do not use a unique key then you cannot parallel process, if you use a unique key the you must code to clean up your mess... The Select option frees you from this.

More Articles:

Authorization Object?
BDC Session - How to check if session processed successfully?
BAPI_PO_CREATE?
SAPFTPA problem?
ZTable data Transport?
reg bdc?