Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Regd SVS ?

Hi @,

I am implementing SVS for a context attribute wiht values like

a = Success

b= Failed

c = Exception

In my view I can see the Succe Fail Exc resp but what will be passed at the backend when the following things are selected a,b, c or Succes Faiuled etc.

Is it better to use own datatype to achive this or go for code based SVS and generate the list

Regards

replied

Hi

After creating a simple type and assigning this simple type to a attribute,

Make sure that the data type of the simple type is same as the data type of the Import parameter of RFC to which you want to pass this SVS value. Then on the Onselect event capture the value of the SVS by making use of getxxx() method and assign it to the Import parameter of the RFC by making use of setxxx() method and then execute the method of the RFC, so that the method of the RFC is executed after assigning.

In the RFC code try to make validations as per your requirement making use of If else statements

a = Success

b= Failed

c = Exception

Thanks & Regards,

Yusuf.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question