Application Development 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: 

POSTING_ILLEGAL_STATEMENT

Former Member
0 Kudos

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 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

2 REPLIES 2

Former Member
0 Kudos

Hi,

It is a printer setting problem , related to Basis. Please check with a basis person.

And one more thing is you should check the routine also for that output type.

Thanks.

0 Kudos

Hi,

Can you expand a little by what you mean by printer problem? I think we cannot use SUBMIT while processing in the background or may be some other issue. But in the short dump it points towards the SUBMIT statement