Quantcast
Channel: SCN: Message List - Internet Transaction Server (ITS)
Viewing all articles
Browse latest Browse all 818

Re: ITS returns 409 for ~okCodes specified in URL

$
0
0

Hi Seb,

 

it is slightly possible. It depends on the parameter that is passed in the URL.

 

I tested myself.

 

I created a test WEBGUI service called: webgui-okcode with the following parameters

 

  • ~WEBGUI 1
  • ~OKCODE_PERMIT /5,/2
  • ~OKCODE_PROHIBIT /3
  • ~TRANSACTION SM04
  • ~OKCODE /5

 

Tested the following URLS

 

/sap/bc/gui/sap/its/test/webgui-okcode?sap-client=000&~transaction=*sm04 dynp_okcode=/5

 

OR

 

/sap/bc/gui/sap/its/test/webgui-okcode?sap-client=000&~transaction=*sm04&~okcode=/5

 

the OKCode is called; this is the same as calling the URL

 

/sap/bc/gui/sap/its/test/webgui-okcode?sap-client=000

 

TESTING

/sap/bc/gui/sap/its/test/webgui-okcode?sap-client=000&~transaction=*sm04 dynp_okcode=/2

 

the /2 okcode code is executed

even though have the parameter ~OKCODE /5 is set in the GUI Configuration.

 

TESTING

/sap/bc/gui/sap/its/test/webgui-okcode?sap-client=000&~transaction=*sm04&~okcode=/2

or

/sap/bc/gui/sap/its/test/webgui-okcode?sap-client=000&~okcode=/2

I get the

"

The termination occurred with error code  409  and for the reason  Conflict.

"

for a final test I made sure /3 did not execute so I called

 

/sap/bc/gui/sap/its/test/webgui-okcode?sap-client=000&~transaction=*sm04 dynp_okcode=/3

and

/sap/bc/gui/sap/its/test/webgui-okcode?sap-client=000&~okcode=/3

 

I get the following message

Service call /sap/bc/gui/sap/its/test/webgui to transaction sm04 was terminated because : ok code /3 is prohibited as start ok code in service webgui for transaction sm04

The termination occurred with error code  409  and for the reason  Conflict.

 

Hope this helps.

 

Regards,

 

Oisin

__________________________________________________


Viewing all articles
Browse latest Browse all 818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>