Skip to Content

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

Setting parameters when calling a class method

I've created a function module that calls the following method

CALL METHOD CL_HTTP_UTILITY=>IF_HTTP_UTILITY~DECODE_BASE64

EXPORTING

ENCODED = cookie

RECEIVING

DECODED = cookiedecoded

.

When I run the code there is a check box that, when checked, allows you to pass it mixed case letters. The default is for it to be unchecked. How can I get the check box to be checked automatically when the code is run? I'm trying to run this function from a dot net program and I don't see a way in the abap call to set this value to be automatice. Any help would be greatly apprecieated.

Tags:
replied

you need to do that only when testing from SE37. when calling from external system just pass the string (with mixed case). if the import parameter is type string then youdont have to do anything. (the cookie parameter has to be of type string.) if you are using other data types in the FM import parameter choose a dataelement where lowercase allowed.

can you tell us the import parameter and export parameter definition of your function module. (which takes the input for cookie variable)

Regards

Raja

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question