‎2014 Apr 16 8:53 AM
Hello Team,
Need your help in SUBMIT statement error. Please refer to below screen shots: Please help me with the solution.
Program to be called in SUBMIT statement:
Output comes as below.
I want the above output to be written in memory.
It is giving me below dump.
Regards,
Varun.
‎2014 Apr 16 9:05 AM
your called program is not a write-output one. So you can't force SAP to write some enjoy controls in this way.
Imagine your called program has two enjoy controls - the ALV tree and one object ALV. How would you expect it to be written to a ASCII format? SAP does not know and you do not too, I believe.
There are some workarounds with this (try searching for "enjoy control / object alv in background"), but I believe those would not be able to work in your case. Find the business classes / function modules for respective values and use them, not directly the report.
‎2014 Apr 16 9:05 AM
your called program is not a write-output one. So you can't force SAP to write some enjoy controls in this way.
Imagine your called program has two enjoy controls - the ALV tree and one object ALV. How would you expect it to be written to a ASCII format? SAP does not know and you do not too, I believe.
There are some workarounds with this (try searching for "enjoy control / object alv in background"), but I believe those would not be able to work in your case. Find the business classes / function modules for respective values and use them, not directly the report.
‎2014 Apr 16 9:14 AM
Thanks very much. Honestly I was not aware of this. Thanks for your guidance.
Regards,
Varun