‎2005 Aug 19 7:45 AM
Hi, could anybody help me?.
I have created an sms message type for an outbound delivery. I have a variable - declared as string type with 1024 lenght. This variable stores the content of the sms to be sent. It's filled in several lines.
The problem appears when this variable is passed to the function http_post, as long as the function requires a char type on it. Therefore, it brings a short dump.
If you declare the variable as char type with lenght 1024, when you debug it, ONLY 255 characters are displayed.
Does anybody have a clue about how to mend it?.
Thanks in advance.
Raúl.
‎2005 Aug 19 7:56 AM
Do you pass this value to "REQUEST_ENTITY_BODY"?
there is a better approach availalbe. Instead of using HTTP_POST function module, try using class CL_HTTP_CLIENT. If you need help in coding with CL_HTTP_CLIENT do let us know.
Regards
Raja
‎2005 Aug 19 9:26 AM
Hi, RAja!.
Thanks for the reply!. The 'beloved' variable is being passed to ABSOLUTE_URL field - which is declared as told you earlier.
Going to try and pass it to the REQUEST_ENTITY_BODY - am not sure what'll happen....jeje.
Concerning to the class you told me about, have no deep idea either about how should I code. Could you please give me a clue?.
Thanks in advance!!!
Regards
Raú
‎2005 Aug 19 9:30 AM
raul just open that class and click where used list
i am sure you will find one example
regards
‎2005 Aug 20 9:38 AM
check out the sample program
RSHTTP01
If you need any help in understanding the code do let us know.
Regards
Raja
Since you are new to SDN have a look at the following link to learn about how to say thanks the SDN way
/people/mark.finnern/blog/2004/08/10/spread-the-love