Skip to Content

Auto-check of values given by Web Service

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Nov 06, 2015 at 10:56 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.