Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with variant while executing the program in background

hi,

I am facing an issue while running an interface program in the background.

There are two scenarios:

1. I run the program from the SE38 screen with variant X which will take me to the selection screen. Then i use F9 to run the program in the background.

2. I run the program using the Execute in Background option from the SE38 screen itself and using the variant X.

Both will create jobs in SM37 but in case1 i'm not getting the correct output. In the output program statistics i can see the variant has been converted to some SAP codes '&0000' instead of X.

I really appreciate if anyone can give me pointers on why this is happening and how it can be removed.

Note: I've coded abt variant X in some parts of the program. e.g IF sy-slset NE 'X'

thanks in advance

Nirmal

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question