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

SAP Variant Selection in Background Mode

Former Member
0 Kudos

Hi Friends,

I am facing some problem with regards to SAP Variant. In my program I need to select a variant with which the program will be executed before calling the transaction (CALL TRANSACTION for BDC)... i.e My BDCDATA Table must have proper variant values...for the program execution. After selecting the variant I need to change the Value of a particular Field in the Selection Screen. Can this be done.??

How do I get the exact Variant... I tried creting the SHDB Recording using the " SELECT VARIANT present on the selection screen of the report" the recording got run but while processing the VARIANT is not selected.... The Field has values like ( 8/21 -- I can't get this also..) the program variants get selected only when I do a manual select here .

Any help as to how the problem can be solved....I need to select the varinat before the program execution...then change some value in a field ...after that do either CALL Transaction or SUBMIT report...

Thanks in Advance for the Suggestions...



Former Member
0 Kudos


check function group SVAR .