cancel
Showing results for 
Search instead for 
Did you mean: 

Submit Problem in /SAPAPO/RLCDELETE

Former Member
0 Kudos

Hi,

When use the below code in my custom program the sy-comm values changes to 'JOBS' instead of 'ONLI'. So please let me know how can I rectify it?

Note: Its working fine if I remove the addition job from the submit statement.

Thanks in advance.

Regards,

Siva.

SUBMIT /SAPAPO/RLCDELETE

USER LV_BATCHUSER

VIA JOB LV_JOBNAME NUMBER LV_JOBCOUNT

AND RETURN TO SAP-SPOOL

WITHOUT SPOOL DYNPRO

DESTINATION 'LOCL'

IMMEDIATELY ' '

KEEP IN SPOOL ' '

USING SELECTION-SET P_VARIANT

WITH SEL_LOC IN PR_LOCNO

WITH SEL_PROD IN PR_MATNR.

Accepted Solutions (0)

Answers (2)

Answers (2)

koen_durnez
Explorer
0 Kudos

When using SUBMIT via JOB the sy-ucomm is automatically filled with 'JOBS'.

Former Member
0 Kudos

The sy-ucomm is populated with 'JOBS' in at selection-screen of report /SAPAPO/RLCDELETE. Since there is a check with UCOMM 'ONLI' the process gets failed.