cancel
Showing results for 
Search instead for 
Did you mean: 

Variant name and Program Variant

Former Member

What is Variant? What is Program Variant? Point out the differences?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Riyaz

The word "Variant" has multiple use in SAP. One of the most common use is how your business process supports mutiple variant of the same product to meet customer requirement. e.g. customer may want cell phone in different colours (black, white, red) or memory (16GB/32GB) etc. Details about the config can be found here:

http://help.sap.com/printdocu/core/print46c/en/data/pdf/lovc/lovc.pdf

A Program variant is a set of selections or input values that a program is run e.g. you may want to run a program with material 12345, plant 1234 and date between current date -7 days to current date. this way, program is flexible to choose any value that user wants to provide as input rather than "hard coding" them. More details can be found here

http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm

I am sure Google would provide a lot more resources on this topic.

Thanks,

Prasun

Answers (2)

Answers (2)

0 Kudos

Hello.. trying help little more..

Variant you will use when you want save some filter for example. Saving the variant you don't need fill all fields every time, only load the variant.

You can use combine background jobs and variants too.

The transaction variants have the same ideia, but you can decide if the user can show the field or not. Which field will be filled or bypass some screens(filled with your desires fields for example).

You can convert your transaction variants to Z transactions too.

Best Regards

Marcelo

satish_waghmare3
Active Contributor
0 Kudos

Hello Riyaz,

Process Variant, Program Variant, Transaction Variant are different types variants which I am aware of. Following is how I understand those -

Process Variant are seen when we work on creation process chain having different process steps.  Process variants helps in creating steps in the process chain. Process variant internally may include particular program variant.

Using transaction SHD0 we can create a Transaction Variant against the original transaction code. This allows you to alter transaction screen layout being shown by the standard transaction. 

Most important, Whenever you are executing an ABAP Program having a some selection criteria to specify the input values, you can create program variant to save this selection criteria.  This is called as Program Variant. Table Name :  VARID  shows you the existing variants for the various programs. Besides table VARIS and VARIT contain various information about the variants. Also Program Variants are transportable. Transports can be created using report : RSTRANSP.

Hope this will help.

Thank you

Satish Waghmare