cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Suppress Standard Warning Message in ABAP Program After SUBMIT Statement?

SANDEEP_077
Explorer
0 Kudos
2,208

Hello SAP Community,

I am working on an ABAP program where I use the "SUBMIT" statement to call another report. Even though I have included the "AND RETURN" clause, I am still encountering a standard warning message after the execution of the report. Here is a simplified version of my code:

SUBMIT rfbila00
WITH SELECTION-TABLE it_select
EXPORTING LIST TO MEMORY
AND RETURN.

I have also tried using EXPORTING LIST TO MEMORY and SUPPRESS DIALOG, but the warning message still appears. I would like to know how to suppress this warning message effectively while using the SUBMIT statement.

Has anyone experienced this issue, and what is the best way to handle or suppress warning messages in this scenario?warning message.pngsubmit error.png

Accepted Solutions (0)

Answers (2)

Answers (2)

ulrich_mhrke
Participant
0 Kudos

Your problem may not be with the syntax, but with the values ​​in your it_select table. I suspect you want a single value for Company Code. To do this, you need to set "option = 'EQ'" where "selname = 'BUKRS'".

SANDEEP_077
Explorer
0 Kudos

Thank you for your input! I understand that the SUBMIT statement doesn’t prevent warning messages.

Could you please explain how to modify the standard? Are there any other ways to suppress these warning messages without making changes to the standard?

Also, is there another way to download reports from transaction F.01 through an ABAP program?

Thanks!

Sandra_Rossi
Active Contributor
0 Kudos
Please don't post an answer for comments, asking or giving additional details. Answer is reserved to propose a solution. Instead, use Replies > Comment (on the question or on a proposed answer).