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

saving as variant

syed_ibrahim5
Active Participant
0 Likes
857

hi,

i have copied a standard progrma sm13 to z program .....there is no save as opion enabled ....i am using a save button ..by clicking it it should save the data in the selection screen as variant...

how can i do that...

hi,

i have copied a standard progrma sm13 to z program .....there is no save as opion enabled ....i am using a save button ..by clicking it it should save the data in the selection screen as variant...

how can i do that...

4 REPLIES 4
Read only

Former Member
0 Likes
734

Hi Syed,

When you copy a Standard Program, you get an option of what all objects that you need to and optionally copy into your ZObject. Are you asking about something else as your Variant is one of the offered options in the popup.

Hope this helps.

Thanks,

Samantak.

Read only

0 Likes
734

hi sam,

by default in sm13 save button is disabled.....now i have added the save button in my z program...when i click that save button ... i need to save the data from that sm13 screen as variant....

thanks in advance,

syed

Read only

0 Likes
734

Hi Syed,

Have a look at these below mentioned links. I guess this is exactly what you are looking for:

[Variant handling on module pool screen|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/variant-handling-on-module-pool-screen-909297]

[How to Copy SAP Variants of ABAP Reports Using RS_COPY_SELECTION_SETS Function Module|http://www.kodyaz.com/articles/copy-sap-variants-of-abap-report-using-rs_copy_selection_sets-function-module.aspx]

Hope this will help.

Thanks,

Samantak.

Read only

syed_ibrahim5
Active Participant
0 Likes
734

closed.