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

Create variants through ABAP

Former Member
0 Likes
1,157

Hi,

Can an SAP ABAP program be built to create variants for other ABAP programs?

This is required as we have a regular interface inbound job which will

provide information on the values of the fields that need to be input

into the program. This program will then be scheduled to run periodically

using this new variant.

Thanks!

1 ACCEPTED SOLUTION
Read only

GauthamV
Active Contributor
0 Likes
730

use this function module.

RS_CREATE_VARIANT

Hi,

Can an SAP ABAP program be built to create variants for other ABAP programs?

This is required as we have a regular interface inbound job which will

provide information on the values of the fields that need to be input

into the program. This program will then be scheduled to run periodically

using this new variant.

Thanks!

4 REPLIES 4
Read only

GauthamV
Active Contributor
0 Likes
731

use this function module.

RS_CREATE_VARIANT

Read only

abdul_hakim
Active Contributor
0 Likes
730

Hi

Try using the function module RS_CREATE_VARIANT.

Regards,

Hakim

Read only

ThomasZloch
Active Contributor
0 Likes
730

Check out the function modules in group SVAR, with these you can build a program for your purpose.

Thomas

Read only

Former Member
0 Likes
730

Hello Gordon,

When you execute your abap program on the first selection screen you have an option from the menu bar to save that layout as a variant .

That is: from GOTO->VARIANTS ->SAVE AS VARIANTS..

Hope it helps you.

Thanks Mansi