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

Short dump due to SUBMIT statement

Former Member
0 Likes
1,055

Hi,

When I issue an invoice using the transaction code VF02 I am getting an error POSTING_ILLEGAL_STATEMENT. This happens when I select the dispatch time as "4" - Send immediately(when saving the application).I do not get any error when I select the dispatch time as "1" - Send with periodically scheduled job

The error which I get is at the SUBMIT statement

SUBMIT (access_program) WITH kappl EQ gc_appl

WITH sel_date EQ gv_date

WITH SELECTION-TABLE sel_tab

AND RETURN.

The access program - RV13G953 is of type "1"- EXECUTABLE

Can anyone suggest any solution?

Thanks and Regards,

KUNAL SHAH

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
849

Check the field NAST-VSZTP, 4 if send immediate .. then do not get into the logic where it dumps..

if NAST-VSZTP EQ '4'.
 donot go into the logic.
else.
logic..
endif.

Hi,

When I issue an invoice using the transaction code VF02 I am getting an error POSTING_ILLEGAL_STATEMENT. This happens when I select the dispatch time as "4" - Send immediately(when saving the application).I do not get any error when I select the dispatch time as "1" - Send with periodically scheduled job

The error which I get is at the SUBMIT statement

SUBMIT (access_program) WITH kappl EQ gc_appl

WITH sel_date EQ gv_date

WITH SELECTION-TABLE sel_tab

AND RETURN.

The access program - RV13G953 is of type "1"- EXECUTABLE

Can anyone suggest any solution?

Thanks and Regards,

KUNAL SHAH

3 REPLIES 3
Read only

Former Member
0 Likes
849

For immidiate output there is one variable which we need to set as X.It starts with S.(Not having SAP in front). Check it

Read only

former_member156446
Active Contributor
0 Likes
850

Check the field NAST-VSZTP, 4 if send immediate .. then do not get into the logic where it dumps..

if NAST-VSZTP EQ '4'.
 donot go into the logic.
else.
logic..
endif.

Read only

0 Likes
849

Hi Jay,

I am also facing a similar kind of problem.

But then the requirement is like the program should work fine even when the status is set to '4' send immediately.

Can any one suggest an alternative for submit statement.

Thanks in advance.