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

Transaction Variant Error

Former Member
0 Likes
2,080

Hi all,

I am trying to create a transaction variant for one of the SAP std transaction and when I execute tcode shd0 and put the tcode there and hit the create button I get the following error message:

Variants are possible only for dialog transactions.

Message no. MS417

Diagnosis

You cannot create variants for variant or parameter transactions.

So can you please tell me how can I create variant for such case.

Thanks,

Rajeev

1 ACCEPTED SOLUTION
Read only

Former Member
1,617

What is the standard SAP transaction?

Rob

11 REPLIES 11
Read only

Former Member
1,618

What is the standard SAP transaction?

Rob

Read only

0 Likes
1,617

it's ABF1

Thanks,

Rajeev

Read only

0 Likes
1,617

It appears to be obsolete. Why not just create your own?

Rob

Read only

0 Likes
1,617

Hi Rob,

Thanks for the reply... but I couldn't understand what you were trying to say, I mean what is obsolete and what should I create my own.

Thanks,

Rajeev

Read only

0 Likes
1,617

My mistake, I saw the message "Obsolete: Use default values for transaction" and thought it was for this transaction only.Maybe it's for parameter transactions in general.

In any event, you can copy ABF1 to ZBF1 and make your changes there.

Rob

Read only

0 Likes
1,617

Yes that's true... but the only problem is the businees people here don't want to move from std transactin to the custom one.

Please advise ny solution

Read only

0 Likes
1,617

You can use FB01 instead of ABF1. Here ABF1 is variant transacation, you cannot create another variant transaction on a variant transaction.

a®

Read only

0 Likes
1,617

Time to talk common sense to the users. Have them use FB50, FB60 or FB70.

Rob

Read only

0 Likes
1,617

Rob ... can you please tell me what is the reason that I can't use a transaction variant for this.

Thanks,

Rajeev

Read only

0 Likes
1,617

This is the place you are getting the error MSHD0F01 , As in my earlier reply i mentioned you cannot write transaction variant wrapper on transaction variant


  select single * from tstc where tcode = shdtv-tcode.
  if sy-subrc >< 0.
    message e416 with shdtv-tcode.
  else.
    if tstc-cinfo o c_type_menu     "menu
    or tstc-cinfo o c_type_para.    "parameter-/variant transaction
      message e417.
    endif.
  endif.

a®

Read only

0 Likes
1,617

It doesn't really matter why you can't. Use one of the suggested workarounds.

Rob