Have developed a report 'ABC' which has SUBMIT command (SUBMIT 'XYZ'). where XYZ is another abap report which has variant /selection screen.
While background processing, in SM36, i create a job for XYZ report and also provide its variant, and also creates spool when once checked in SM37.
but now in SM36, while creating a job, if given a report name as "ABC" and schedule( it has no variant) , in sm37, no spool created.
SO CAN WE USE THE VARIANT OF REPORT XYZ WHILE PROCESSING BACKGROUND JOB FOR REPORT 'ABC' ????
Report ABC. "Here report ABC has no selection screen, so no variant.
SUBMIT XYZ . " Here XYZ has selection screen, so variant created.