I am currently working in mySAPERP 2005 upgradation project.
Here i am facing a strange situation. I want to submit a SAP standard program SAPMV50S (Delivery due list creation) in my custom program in Background.
I tried below option:
CALL FUNCTION 'JOB_OPEN'
JOBNAME = JOBNAME
JOBCOUNT = JOBNUMBER
CANT_CREATE_JOB = 01
INVALID_JOB_DATA = 02
JOBNAME_MISSING = 03
OTHERS = 99.
IF SY-SUBRC > 0.
SUBMIT SAPMV50S WITH VSTEL = 'USCQ'
WITH LEDAB = SY-DATUM
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB JOBNAME NUMBER JOBNUMBER
But program is not submitting in the background.
But same program is working in 4.5 b system, but it is not working in mySAPERP2005.
If anyone faced same kind of situation please help me on this.
Its very very very urzent.
Expecting the reply from you soooon.