cancel
Showing results for 
Search instead for 
Did you mean: 

Making a UDF mandatory only in certain conditions

rajesh_khater
Active Participant
0 Kudos

Hi,

I want to make a UDF mandatory in Marketing Documents only if the Item selected has an Inventory Unit different from the Purchasing or Sales Unit. How can this be achieved?

EDIT: It can be achieved using Stored Procedure, but that will get triggered only when the form is submitted

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

There is no need SDK to get what you want. SP is good enough for it. Have you tried?

Thanks,

Gordon

rajesh_khater
Active Participant
0 Kudos

Hi Gordon,

I have not tried SP, as I read that it is triggered only on Form Submit.

As I posted in my other thread in the SDK forum (http://scn.sap.com/thread/3458442😞 if I have a row level UDF which is mandatory in certain conditions and there are certain calculations based on the UDF and user should not be able to move to the next field or next row without inputting value in that UDF, then SP will not help. Note that the UDF is not mandatory in all conditions, hence probably SDK is required.

Former Member
0 Kudos

If that is your complete request, yes, SDK is required. Please close you thread.

former_member186712
Active Contributor
0 Kudos

Hi Rajesh,

In the SP you can archive what you want.

You need to create a query for that condition.

Also in SDK you can do it.

Regards,

Augusto

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi Rajesh,

Please chect this:

http://scn.sap.com/docs/DOC-48302

Thanks & Regards,

Nagarajan

rajesh_khater
Active Participant
0 Kudos

That document does not explain how to make UDF mandatory only in certain conditions.

rajesh_khater
Active Participant
0 Kudos

I have read many other such threads and I guess it is not possible without using Stored Procedure. Now I want to know whether it is possible using SDK at least.

How can I move this thread to SDK forum without creating a new thread?

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi Rajesh,

I don't think you can move this thread to SDK forum.

Close this thread here and repost your question in SDK forum.

Thanks & Regards,

Nagarajan