cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry, standard field make read only

Former Member
0 Kudos

Hello Experts,

We are into process of enhancing Work Manager 6.3

For one of the enhancement, we are trying to make the field non-editable as follows:

But field is not getting reflected, coming out as editable only.

Please suggest.

Regards,
Ajay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ajay,

Is the field standard? If yes are you sure you have checked the Checkbox for ReadOnly in the same screen? Please cross check the screen and platform.

Thanks

Ajitesh

Former Member
0 Kudos

Hi Ajitesh,

Thank you for the reply.

Yes, the field is standard one and I have checked the read-only checkbox in same screen.

Actually, for this particular screen, I have made same changes to some other fields, but for this field, it is not working.

Please suggest.


Regards,

Ajay

Former Member
0 Kudos

Hi,

I have tried a custom enable rule like below:

But still the Description field is coming out as editable only.

@Bill Froelich, Could you please comment on the same.

Thank you.

Regards,

Ajay

Former Member
0 Kudos

Hi Ajay,

Did you try the below setting?

If not, try this, it will make the field non editable.

Regards,

Abhishek Wajge

Former Member
0 Kudos

Hi Abhishek,

Thanks for reply.

Yup, I have tried this one too, but no luck.

Any other suggestions.

Regards,

Ajay

Former Member
0 Kudos

Hi Ajay,

This should definitely work.

Which platform are you using and which screen you have enhanced?

You are testing on WPF or actual device?

Regards,

Abhishek Wajge

Former Member
0 Kudos

Hi Abhishesk,

I am working on iPad platform, and testing on device.

Enhancing Work Order Edit detail screen for iPad.

Any other inputs.

Thanks,

Ajay

Former Member
0 Kudos

Ok, can you please tell what assignmentType you are using?

Former Member
0 Kudos

1. If you are using assignment type 5 then please check it in the "workorderaddbyplannergroup screen".

2. If you are using assignment type 8 then please check it in the "workorderaddbyworkcenter screen".

3. for other assignment type please edit this on "workorder add screen".

Thanks!

Ajitesh

Former Member
0 Kudos

Please guide me, where I can find Assignment type.

Thanks,

Ajay

Former Member
0 Kudos

you can get assignment type in SAP configpanel.

go to configpanel -> click on Mobile data object -> click on DO -> Find out your workorder fetch DO class and check

Former Member
0 Kudos

please find below assignment type in MDO:

Please guide with the same.

Regards,

Ajay

Former Member
0 Kudos

In this case please navigate to workorder add screen and check the checkbox for readonly. here it should work.

Former Member
0 Kudos

Thanks Ajitesh.

But as per requirement, I need to make it read only in Work Order Edit screen, not in Work Order Add screen.

Former Member
0 Kudos

Ok, In standard WM 6.3 workorder edit action uses "Work Order Add screen". You can create another screen which will be "Workorder Edit screen " and pass that screen from WorkorderEditwrapper action.

Former Member
0 Kudos

OK.

Thanks Ajitesh.

I will try this out and let you know.

So, do I need to add edit screen in WorkOrderEditTileByPlannerGroup screen set?

Regards,

Ajay

Former Member
0 Kudos

No dont add this screen to workorderplannergroupadd, Go to WorkorderEditWrapper action step then navigate to workordereditbyassignmenttype subaction step and navigate to the action there add another subaction which will be for workorderedit. Execute this action only if assignmenttype is 2. In the subaction pass workorder edit transaction and your workorder edit screen. If you dont have workorder edit screen then just copy workorderadd and rename it. it will work.

Thanks

Ajitesh

Former Member
0 Kudos

Thanks a lot Ajitesh.

It's perfectly working for Work Order Edit screen.

Unfortunately, I have encountered another issue as Work Order Add screen is too coming with non-editable fields.

Any suggestions on that.

Regards,

Ajay

Former Member
0 Kudos

Ajay,

Now navigate to workorderEditByAssignmentType action step and go to the subaction workorderEdit. In execution rule add the above condition. means NOT of assignmentType 2. (NOT -> EQSTR-> assignmentType(2)).

Then change your setting whatever you did previously for disabling description field.

Thanks

Ajitesh

Former Member
0 Kudos

Thanks Ajitesh.

I have updated the execution rule accordingly.

Please comment on below screen:

I have created a Zworkorderedit screen, replica of workorderadd screen.

But, this is in the Work Order Add Screen Set.

This way is right, or I need to move this z screen somewhere else.

Please suggest.

Regards,

Ajay

Former Member
0 Kudos

You do not need this "Z" screen set here. Check whatever previously checked. do not modify anything to standard.

Go to WorkorderEditWrapper action step then navigate to workordereditbyassignmenttype subaction step and navigate to the action there add another subaction which will be for workorderedit. Execute this action only if assignmenttype is 2. In the subaction pass workorder edit transaction and your Zworkorderedit screen.

Hope this makes you clear.

Thanks

Ajitesh

Former Member
0 Kudos

Thanks again Ajitesh.

Now, its very clear.

Regards,

Ajay

Answers (1)

Answers (1)

Marçal_Oliveras
Active Contributor
0 Kudos

Hi Ajay,

I'm quite sure you are not editing the right field or not publishing the changes in a right way if not even "Always disable" works.

To ensure that, change the field label to something different and see if this is reflected in the screen.