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

Dump with Submit statement

Former Member
0 Likes
1,431

I am getting a dump if I use Submit statment ..

is there any way to use it..?

Statement "SUBMIT" is not allowed in this form.

  • submit RSTXPDFT4 via SELECTION-SCREEN

  • WITH SPOOLNO EQ spool

  • WITH P_FILE EQ P_FILE AND

  • RETURN.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
807

It is working fine for me.

REPORT  ztest_pdf.

DATA: spool TYPE rqident.

PARAMETERS: p_file  TYPE filename.
SUBMIT rstxpdft4 VIA SELECTION-SCREEN
WITH spoolno EQ spool
WITH p_file EQ p_file AND
RETURN.

But In background it will fail. are you working in Background?

2 REPLIES 2
Read only

Former Member
0 Likes
808

It is working fine for me.

REPORT  ztest_pdf.

DATA: spool TYPE rqident.

PARAMETERS: p_file  TYPE filename.
SUBMIT rstxpdft4 VIA SELECTION-SCREEN
WITH spoolno EQ spool
WITH p_file EQ p_file AND
RETURN.

But In background it will fail. are you working in Background?

Read only

0 Likes
807

Its working..

But If I access/save invoice then it giving a dump that the

Submit cannot be allowed in the print program ani..