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

Problem with Variants in Background processing

Former Member
0 Likes
732

Hi All,

I have created a Report with multiple selection Screens. Main selection Screen 1000 contains Sub Screens 101, 102 and 103.

In SE38 i have created a variant 'Znormal' Here, i have specified selection Screen 101 and entered the values, saved the variant. Also used Option only for Background processing.

But now when i execute this Report in bckground with this variant, it is not workinig perfectly. I waited for 7 minutes but still Job is not finished and it is active, normally for executing subscreen it takes around 10 seconds.

Can some one please provide me some help on this?

Note: When i execute pprogram normally with this variant(removing Background processing for variant), it is executing perfectly.

Thanks & regards,

NarsiReddy Cheruku

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
685

Could you try to create a variant with screen 1000 and 101, or with every screen?

Regards,

Raymond

Read only

0 Likes
685

Hi,

I have created a variant with 1000, 101 and also only with 101 but it is not working.

By Debugging i found it is not going to start-of-selection. In my program i have even tried removing AT selection Screen Output. But it is not working.

Thanks & regards,

Narsireddy Cheruku.

Read only

0 Likes
685

Could you add some dummy message in log?

LOAD-OF-PROGRAM.
   MESSAGE i398(00) WITH 'LOAD-OF-PROGRAM' sy-repid sy-dynnr.
   CALL FUNCTION 'DB_COMMIT'.

INITIALIZATION.
   MESSAGE i398(00) WITH 'INITIALIZATION' sy-repid sy-dynnr.
   CALL FUNCTION 'DB_COMMIT'.

AT SELECTION-SCREEN OUTPUT.
   MESSAGE i398(00) WITH 'AT SELECTION-SCREEN OUTPUT' sy-repid sy-dynnr.
   CALL FUNCTION 'DB_COMMIT'.

AT SELECTION-SCREEN.
   MESSAGE i398(00) WITH 'AT SELECTION-SCREEN' sy-repid sy-dynnr.
   CALL FUNCTION 'DB_COMMIT'.

START-OF-SELECTION.
   MESSAGE i398(00) WITH 'START-OF-SELECTION' sy-repid sy-dynnr.
   CALL FUNCTION 'DB_COMMIT'.

END-OF-SELECTION.
   MESSAGE i398(00) WITH 'END-OF-SELECTION' sy-repid sy-dynnr.
   CALL FUNCTION 'DB_COMMIT'.

You could also add some of your parameters to message (max 4 fields, replace my sy fields if required) to check their supplied values.


Regards,

Raymond

Read only

0 Likes
685

HI Raymond,

´Can you please tell me Where should i add this code?

Thanks &regards,

NarsiReddy