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

Report Variants

Former Member
0 Likes
1,165

Hallo,

Does anybody know how to create & load report variants from abap?

Thanks in advance...

Hallo,

Does anybody know how to create & load report variants from abap?

Thanks in advance...

9 REPLIES 9
Read only

Former Member
0 Likes
1,012

Please Check the Link. http://help.sap.com/saphelp_erp2005/helpdata/en/c0/98037ae58611d194cc00a0c94260a5/frameset.htm

Hope This Info Helps YOU.

Reward Points If It Helps YOU.

Read only

Former Member
0 Likes
1,012

Ehm...

What I'd like to know is if there is any function that lets me create a variant from within an abap program...

Thanks

Read only

Former Member
0 Likes
1,012

Hi,

When u execute the report first u get selection screen to enter parameter.

After Entering that press on save button. Give name, description & other available options if u want.Save it.

Now Everytime when u run that report, u get one extra icon with execute button.

Press on that button. Select ur variant.

Regards,

Digesh Panchal

Read only

Former Member
0 Likes
1,012

HI Mike

to cerate a vairant just goto tehs selection screen enter the values in the parameter or select-options and then click save.

it will prompt you to create a variant.

after creatin the variant.

to load it there will be variant button next to the selection button.

regards

Read only

Former Member
0 Likes
1,012

Thanks to everyone...

I do know how to create a variant for a report...

What I should do is what follows...

report zfuffa.

start-of-selection.

[...]

Abap instructions to save a dynamic variant...

[...]

Abap instructions to delete a dynamic variant...

[...]

Read only

0 Likes
1,012

GIVE VALUES IN THE SLECTION SCREEN, AFTER THAT CLKICK ON THE SAVE ICON ABOVE.

Read only

0 Likes
1,012

Hi Mike,

check the function module RS_CREATE_VARIANT, it might serve ur purpose.

Reward points if found useful

Read only

0 Likes
1,012

also for all variant manipulation from program check out function group

SVAR

Regards

Raja

Read only

Former Member
0 Likes
1,012

Hi Mike,

1. RS_VARIANT_SAVE_FROM_SELSCREEN

Use the above FM.

2. It will save the values from

the current screen.

We can provide the name of the variant.

(But it will, as usual, popoup the screen

for entering the variant name)

regards,

amit m.