How to give the Error in Odata services
1. How to give Error in odata services.
data: ls_header TYPE ihttpnvp.
ls_header-name = 'ofErCde'.
/iwbep/if_mgw_conv_srv_runtime~set_header( ls_header ).
ls_header-name = 'ofErCde'.
ls_header-value = 'Offer' && ls_request_data-zp2pdepoffr &&
'is closed please check with admin'.
/iwbep/if_mgw_conv_srv_runtime~set_header( ls_header ).
data: ls_header TYPE ihttpnvp.
ls_header-name = 'ofErCde'.
/iwbep/if_mgw_conv_srv_runtime~set_header( ls_header ).
ls_header-name = 'ofErCde'.
ls_header-value = 'Offer' && ls_request_data-zp2pdepoffr &&
'is closed please check with admin'.
/iwbep/if_mgw_conv_srv_runtime~set_header( ls_header ).
Comments
Post a Comment