Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Background Report

Former Member
0 Likes
406

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.

2 REPLIES 2
Read only

Former Member
0 Likes
372

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

Read only

Former Member
0 Likes
372

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....