2008 Nov 11 5:10 AM
Dear all,
When using CL_HTTP_CLIENT->SEND, How can I catch the TIMEOUT error?
Regards,
Alex
Dear all,
When using CL_HTTP_CLIENT->SEND, How can I catch the TIMEOUT error?
Regards,
Alex
2008 Nov 11 5:43 AM
Hi Alex,
Try using this BAPI it will surely be helpful.
data: it_ret type standard table of bapiret2,
wa_ret type bapiret2
CALL FUNCTION 'BAPI_BATCH_CHANGE'
EXPORTING
MATERIAL =
BATCH =
PLANT =
BATCHATTRIBUTES =
BATCHATTRIBUTESX =
BATCHCONTROLFIELDS =
INTERNALNUMBERCOM =
EXTENSION1 =
MATERIAL_EVG =
IMPORTING
BATCHATTRIBUTES =
TABLES
RETURN = it_ret " this is the table I am talking about.
Once u execute the bapi, the errors get stored in here..which can be passed onto a loop and using write can be displayed.
Loop at it_ret into wa_ret.
write: / wa_ret-message.
endloop.
Regards,
Amit.