i am sending email(from program) with attachment (sapshortcut of a ztransaction) to external email address.
i am exporting internal table with data to memory id so that when user open that attachment(sapshortcut),
i'll be able to import that internal table and then allow user to process that data.
I am using statement:
free memory id 'it'.
Export itab to memory id 'it'.
And i email, when attachment(sapshortcut) is opened i am using:
import itab from memory id 'it'.
But this use case seems to be not working.Import statement sets SY-SUBRC = 4.and itab is not imported.
What else is the alternative option.