Application Development 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: 

Disable radiobutton in ML51 transaction

former_member185116
Active Participant
0 Kudos

Hello all,

while using transaction ML51

i want to have only the last radio button (Plant/Activity),

and the rest should be disabled(i.e should not appear here)..

how do i achieve this, as ML51 is a parameter transaction i could not create a variant for it..

Note : My first technical question in New Platform.

thanks all.

17 REPLIES 17

former_member235395
Contributor

Hi Vinay,

All those values that showing in "Key Combination" Screen, is because those values are setup on "Conditions: Access Sequences (Generated Form)" Table (T682I). Depending of this key, Screen will show the values. Check image001.jpeg

Now, if you can't do the configuration on this table, i think you can put do an Enhancement Point inside RV_GET_CONDITION_TABLES FM. Check image002.jpeg.

image002.jpg

Regards,

0 Kudos

Hi david,

thanks for your reply,

as you said i have created the implicit enhancement

but the break point is not triggering when i run ML51 transaction.

regards,

vinay.

But why you try to solve problem by abap?

You can set the customizing in order to show the last sequence or all sequences you need

0 Kudos

Look at ML51 definition, ML51 is actually a parameter transaction on ML48, so either check sy-tcode EQ 'ML48' or (for parameter and variant transaction) use CL_DYNPRO=>GET_CURRENT_TRANSACTION in a local variable and check with the returned code.

Regards,
Raymond

Former Member

Hi

Probably you should change the customizing for condition type PRS in order to set a your own sequence having only the last access

Max

0 Kudos

Hi Max Bianchi,

sorry for late reply as i was engaged with some other task,

i tried to change trough customization but i did not find anything where i could restrict the displayed radio buttons to only one (i.e Plant/Activity) in transaction IM51..

i tried using the following path,

SPRO->materials management->external service management->maintain conditions for services

i am unable to upload the screen shot , i think its problem with server.

thanks and regards,

vinay.

0 Kudos

HI max,

small correction here the transaction in ML51( in my earlier comment i have typed it as IM51, sorry for typing error)..

Its pity that the new platform not allowing to edit the comment..

in the top(under avatar) if i select actions->edit then its re directing me to edit the question that has started the thread.

i think this should be look into by the concerned people.

thanks.

vinay.

former_member235395
Contributor
0 Kudos

Hi Vinay,

I think , you can try first using customizing! If not possible on this way, put the Enhancement Point, now, if you see the image002.jpeg attached, you will see that the tcode is ML48 and not ML51, i think this is the reason!

Regards,

0 Kudos

Hi david,

ok i will check both by customizing and through Implicit Enhancement.

Regards,

vinay.

former_member185116
Active Participant
0 Kudos

HI max,

below is my screen shot,

vamsilakshman_pendurti
Active Participant
0 Kudos

HI ,

You can use Transaction Variant to do this.

TCODE for Transaction variant is SHD0. You can achieve your requirement using this process.

Thanks,

Vamsi.

0 Kudos

Hi vamsi,

yes, i know i can achieve this by using SHD0 , but we don't want use transaction variant..

any further suggestions,

thanks and regards,

vinay.

Timur
Explorer
0 Kudos

From your screenshot. 1. go to Conditions. 1.1. get access seq for PRS condit type

2

Timur
Explorer

2. from your screenshot go to access maintain. Check accesses assigned to access seq from 1.1

this table determines your 'tab list' in ml51.I have these 6 options in my system. If you delete first 5 the only tab will be 'Service condition'. But BE CAREFUL deleting lines here

0 Kudos

HI timur,

Thanks for your answer,

is deleting the only option (will it going to effect any other screens).

regards,

vinay.

0 Kudos

yes. I think on customizing level deletion is the only option

it can influence on previously created documents using this access sequence

to avoid it it's possible to copy and modify access sequence 0010 cond type PRS etc etc

Former Member

Hi Vinay

Yes you need to keep only the access you want to use in trx ML51, problably it should be better to create a new sequence and assign it to PRS

Max