hello,
I am working on posting comments upon approval. the comments are a string of 255 characters.
I used to the get function to get an output and used the same input for the request and tried executing it but I get an error saying : The server is refusing to process the request because the entity has an unsupported format
i also tried making the type in content type as entry but none seem to work. where have I gone wrong??
create_entity
DATA: exref TYPE REF TO cx_root,
lt_comment TYPE TABLE OF /AAG362/CL_SD_SPECI_01_MPC=>TS_COMMENT,
ts_comment TYPE LINE OF /AAG362/CL_SD_SPECI_01_MPC=>TT_COMMENT.
TRY.
CALL METHOD io_data_provider->read_entry_data
IMPORTING
es_data = ts_comment.
CATCH /iwbep/cx_mgw_tech_exception INTO exref.
ENDTRY.
entityset

error

regards
Siddharth
Request clarification before answering.
Your parameter "requestNumber" is a string.
You pass a number.
0000000037 --> "0000000037"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.