‎2007 Apr 25 10:07 AM
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
‎2007 Apr 25 10:12 AM
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
‎2007 Apr 25 10:12 AM
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
‎2007 Apr 25 10:21 AM
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 ...
‎2007 Apr 25 10:30 AM
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
‎2007 Apr 25 10:38 AM
but all these are JOB related i want SUBMIT related exceptions without JOBs in background ...
‎2007 Apr 25 11:30 AM
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
‎2007 Apr 25 10:14 AM
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