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

how to create varient for transaction code

Former Member
0 Likes
1,529

hello expert,

I created one Mod. pool program and transaction code.

while run this tcode, Save button is disable and unable to create varient.

could you please guide me hw to enable this save button and create varient. please

with best regards

srinivas

14 REPLIES 14
Read only

Former Member
0 Likes
1,484

Go to SE41 and check STATUS.

make sure 'SAVE' function code assigned ro not .IF not assign SAVE function code.

save button 'll be activated

Read only

Former Member
0 Likes
1,484

In transaction se80 ..select your program name and write click on name..u"ll get variants there.

OR

in the program , in toolbar you have goto option there click variants and save variants.

reward points if this is useful.

Read only

0 Likes
1,484

could you plesae tell me how to create variant for Fun.Mod program while run the tcode.

like in report program, we can create/change/delete varient.

i want to add create/change/delete variant Functionality for my Fun.Mod. program.

with best regards

srinivas

Read only

0 Likes
1,484

You can create a "wrapper" report program which calls this transaction. Create a variant for the wrapper.

Rob

Read only

0 Likes
1,484

Could you please explain me in details please..!

if possible one small example..!

what is 'wrapper' report.

Read only

0 Likes
1,484

The wrapper program simply calls the transaction after setting the parameters to the values in the selection screen. Press F1 on CALL TRANSACTION.

Rob

Read only

0 Likes
1,484

Hello Mr.Rob Burbank

thank you for your help but still i was unable to implement in my Fun.Mod program.

could you please send me one small example with code.

regards

srinivas

Read only

0 Likes
1,484

Is it a module pool program or function module?

Rob

Read only

0 Likes
1,484

hello Rob Burbank ,

Sorry for last mail mistake, it's a Module Pool Program.

Read only

0 Likes
1,484

Try something like this:

REPORT ztest LINE-SIZE 80 MESSAGE-ID 00.

PARAMETERS: bukrs TYPE bseg-bukrs MEMORY ID buk,
            belnr TYPE bseg-belnr MEMORY ID bln,
            gjahr TYPE bseg-gjahr MEMORY ID gjr.

CALL TRANSACTION 'FB03'.

Rob

Read only

0 Likes
1,484

Hello Mr. Rob,

Excellent solution.

but in my Module pool Program i created few sub screen and 9 radio buttons, 10 selection parameters at different places and 6 screens etc..

So above code is not enough to solve my problem, So please let me now if there is any other alternative sol.

with best regards

srinivas

Read only

0 Likes
1,484

Hi,

You can create variants for transaction using transaction variants. That is meant to simplify these kinda scenarios.

The tcode for transaction variants is SHD0. You can create variants as you wish. It is simple only. No coding required. Just take SHD0. Give your transaction name.

Then press create variant.

It will guide you.

Regards,

Renjith Michael.

Read only

Former Member
0 Likes
1,484

Hi,

Go to SE41, check whether SAve button is activated or not?

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
1,484

Hi Srinivas,

By using the se93 tcode we can create varient for the tcode

in se93 .. you can select transaction variant option...