on 11-10-2006 10:48 AM
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.
When using SUBMIT via JOB the sy-ucomm is automatically filled with 'JOBS'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.