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

Catchable/Non-Catchable exceptions

Former Member
0 Likes
1,005

Hi All

How to find all different <b>exceptions</b> associated with <b>SUBMIT</b> statement ?

What are <b>Catchable/Non-Catchable</b> Exceptions ?

Regards

Jaman

Message was edited by:

ABAP Techie

Message was edited by:

ABAP Techie

Message was edited by:

ABAP Techie

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
890

Non-Catchable Exceptions

Cause: The specified program was not found.

Runtime Error: LOAD_PROGRAM_NOT_FOUND

Cause: You tried to transfer an invalid value to a selection using the addition SIGN.

Runtime Error: SUBMIT_WRONG_SIGN

Cause: The specified program is not a report.

Runtime Error: SUBMIT_WRONG_TYPE

Cause: You tried to transfer more than one value to a report parameter.

Runtime Error: SUBMIT_IMPORT_ONLY_PARAMETER

Cause: You tried to use WITH sel IN itab to transfer a table that does not have the appropriate structure to a selection.

Runtime Error: SUBMIT_IN_ITAB_ILL_STRUCTURE

Cause: You tried to transfer a parameter that cannot be converted to the target field to the selection screen.

Runtime Error: SUBMIT_PARAM_NOT_CONVERTIBLE

courtesy SAP help

santhosh

6 REPLIES 6
Read only

Former Member
0 Likes
891

Non-Catchable Exceptions

Cause: The specified program was not found.

Runtime Error: LOAD_PROGRAM_NOT_FOUND

Cause: You tried to transfer an invalid value to a selection using the addition SIGN.

Runtime Error: SUBMIT_WRONG_SIGN

Cause: The specified program is not a report.

Runtime Error: SUBMIT_WRONG_TYPE

Cause: You tried to transfer more than one value to a report parameter.

Runtime Error: SUBMIT_IMPORT_ONLY_PARAMETER

Cause: You tried to use WITH sel IN itab to transfer a table that does not have the appropriate structure to a selection.

Runtime Error: SUBMIT_IN_ITAB_ILL_STRUCTURE

Cause: You tried to transfer a parameter that cannot be converted to the target field to the selection screen.

Runtime Error: SUBMIT_PARAM_NOT_CONVERTIBLE

courtesy SAP help

santhosh

Read only

0 Likes
890

Hi

Thanx yaar.. but i want sy-subrc values so that i can use the below options

CASE sy-subrc.

WHEN '0'.

MESSAGE S000(zz) WITH 'Call to ZKWIBN20_LABEL successful'.

WHEN '4'.

MESSAGE E000(zz) WITH 'Job scheduling terminated by user'.

Could you plz help me finding those values ...

Read only

0 Likes
890

Hi,

When scheduling a report with the SUBMIT ... VIA JOB job NUMBER n statement, you can check the following SY-SUBRC -

SY-SUBRC = 0: Job scheduled successfully

SY-SUBRC = 4: Job scheduling terminated by user

SY-SUBRC = 8: Error in job scheduling (JOB_SUBMIT)

SY-SUBRC = 12: Error in internal number assignment

Hope this helps!

Regards,

Saurabh

Read only

0 Likes
890

but all these are JOB related i want SUBMIT related exceptions without JOBs in background ...

Read only

0 Likes
890

Hi,

I think when u submit a program it means you are navigating from one program to another hence there will be no question of sy-subrc

santhosh

Read only

Former Member
0 Likes
890

Hi,

Open ABAP keyword documentation.From the ABAP Index go to SUBMIT.There you can find the exceptions.

Non-Catchable Exceptions

Cause: The specified program was not found.

Runtime Error: LOAD_PROGRAM_NOT_FOUND

Cause: You tried to transfer an invalid value to a selection using the addition SIGN.

Runtime Error: SUBMIT_WRONG_SIGN

Cause: The specified program is not a report.

Runtime Error: SUBMIT_WRONG_TYPE

Cause: You tried to transfer more than one value to a report parameter.

Runtime Error: SUBMIT_IMPORT_ONLY_PARAMETER

Cause: You tried to use WITH sel IN itab to transfer a table that does not have the appropriate structure to a selection.

Runtime Error: SUBMIT_IN_ITAB_ILL_STRUCTURE

Cause: You tried to transfer a parameter that cannot be converted to the target field to the selection screen.

Runtime Error: SUBMIT_PARAM_NOT_CONVERTIBLE

If helpful ,reward is useful,

Regards,

Tanmay