Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Submit Logic not working

Former Member
0 Likes
916

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
887

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.

2 REPLIES 2
Read only

Former Member
0 Likes
888

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.

Read only

0 Likes
887

Thanks very much. Honestly I was not aware of this. Thanks for your guidance.

Regards,

Varun