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: 

Auto-check of values given by Web Service

sap_rocks
Participant
0 Kudos

Hi guys,

I have a function module which is called by a web service. Some of the attributes that are transported have fixed values defined in a domain, for example a flag can have the values "X" or "<empty>" only. I want the web service to check these attributes automatically before the function module is called - is it possible? If yes, how do I realise it?

Many thanks in advance for any information!

Cheers, Marius.

1 ACCEPTED SOLUTION

jitendra_it
Active Contributor
0 Kudos

Hi Marius,

In the web service FM you can call FM DD_DOMVALUES_GET to get domain values for a domain and compare those with value passed to web service.

2 REPLIES 2

jitendra_it
Active Contributor
0 Kudos

Hi Marius,

In the web service FM you can call FM DD_DOMVALUES_GET to get domain values for a domain and compare those with value passed to web service.

0 Kudos

Hi Jitendra,

thanks for your answer. I don't want to change my source code in the function module (fm). I heard I can realise the value check with "Webservice Consumption" without changing the source code of a fm. But I don't know how .

At the moment I realised it with your fm - but it would be nice to know how we can do it with the Webservice automatically.