Skip to Content
0
Former Member
Nov 10, 2006 at 10:48 AM

Submit Problem in /SAPAPO/RLCDELETE

51 Views

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.