‎2008 Apr 01 7:13 AM
Hi,
I am running 1 report in background.
In selection screen for company code i am giving only one company code. and scheduled the report for background execution.
After this I am debugging the Background job which i scheduled in background.
I found that, In debugging, S_BUKRS which is select-option in selection screen, is taking some 500 company codes, instead of 1 i have given in selection screen.
What may be the problem , y it is taking 500 company codes instead of 1 i have given in Selection screen.
Urgent please given ans if any one know about this.
‎2008 Apr 01 7:34 AM
Hi Praveen,
If u hav given that one company code in Low and left the high field empty it ll take all the values after the low value from table. that is why u r getting 500 company codes.
So either give no extension in ur select option or give the higher limit.
Thanks
Vasudha
‎2008 Apr 01 9:44 AM
hello Praveen-
First check the varient you are passing to the submit report.If the varient is pulling 500 company codes instead 1 try in a different way.
Code...
First step delete the existing varient by FM 'RSAQ_DELETE_ONE_VARIANT'.
Second step create new varient by FM 'RS_CREATE_VARIANT'.
dont forget to commit work after creating the varient.
later submit this varient to the job.
Cheers,
~Srini....