cancel
Showing results for 
Search instead for 
Did you mean: 

SAP S/4HANA How to modify addon field based on User

eithazinhtwe
Explorer
0 Kudos
281

Hi,

I would like to get some advice of controlling the custom addon field based on user.

My requirement is I would like to control the field(modifying/changes) based on user and want to throw error message in Service Order. What can I do to fulfill my requirement?

Or is there any documentation that you would like to advice ?

Regards,

Ei

Marissa
Product and Topic Expert
Product and Topic Expert
0 Kudos

We helped you to accept the answer, since there were no updates after 7 days.

You can unaccept it anytime if you have further questions.

Accepted Solutions (1)

Accepted Solutions (1)

Marco_Valencia
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ei,

I took a quick look and just want to provide some ideas:

The Business Role restriction for service order doesn't contain custom field, so this will be hard to manage at the authorization level as you don't have restrictions for custom fields.

So a potential idea - Use API /BAdln to do a logic on a side-by-side to check the custom field per user and perhaps cancel or reject the service order using the Badln when creating. Again, I have not done it, I am just sharing this idea base on similar use cases we work in the past.

Double check and I hope this helps,

Marco

eithazinhtwe
Explorer
0 Kudos

Dear Marco,

Thank you so much for your advice.

But I would like to confirm that according to your logic it will only effect (throw error msg)

if custom addon field is same with some fix value right?

But what if something changes in custom addon field only and throwing error message.

How we can do on that requirement?

Regards,

Ei

Answers (0)