
METHOD define.
super->define( ).
DATA model_feature TYPE /iwbep/if_mgw_appl_types=>ty_s_model_features.
model_feature-use_strict_function_param_chk = abap_true.
model->set_model_features( model_feature ).
ENDMETHOD.
/sap/opu/odata/SAP/Z_REDEF_GWSAMPLE_SRV/SalesOrder_Confirm?SalesOrderID='0500000000_too_long'
{
"error" : {
"code" : "005056A509B11EE1B9A8DBD9EA7BB778",
"message" : {
"lang" : "de",
"value" : "Malformed URI literal syntax"
},
"innererror" : {
"transactionid" : "2CC63F1F947000D0E005F9B1B27A30E8",
"timestamp" : "20201103074652.3120690",
"Error_Resolution" : {
"SAP_Transaction" : "For backend administrators: use ADT feed reader \"SAP Gateway Error Log\" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details",
"SAP_Note" : "See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"
}
}
}
}
/sap/opu/odata/SAP/Z_REDEF_GWSAMPLE_SRV/SalesOrder_Confirm?SalesOrderID='0500000012'&$format=json
{
"d" : {
"__metadata" : {
"id" : "https://hostname:port/sap/opu/odata/SAP/Z_REDEF_GWSAMPLE_SRV/SalesOrderSet('0500000012')",
"uri" : "https://hostname:port/sap/opu/odata/SAP/Z_REDEF_GWSAMPLE_SRV/SalesOrderSet('0500000012')",
"type" : "GWSAMPLE_BASIC.SalesOrder"
},
"SalesOrderID" : "0500000012",
"Note" : "EPM DG: SO ID 0500000012 Deliver as fast as possible",
"NoteLanguage" : "EN",
"CustomerID" : "0100000005",
"CustomerName" : "TECUM",
"CurrencyCode" : "EUR",
"GrossAmount" : "24704.40",
"NetAmount" : "20760.00",
"TaxAmount" : "3944.40",
"LifecycleStatus" : "P",
"LifecycleStatusDescription" : "In Bearbeitung",
"BillingStatus" : "",
"BillingStatusDescription" : "Initial",
"DeliveryStatus" : "",
"DeliveryStatusDescription" : "Initial",
"CreatedAt" : "\/Date(1593122400000)\/",
"ChangedAt" : "\/Date(1604389733043)\/",
"ToBusinessPartner" : {
"__deferred" : {
"uri" : "https://hostname:port/sap/opu/odata/SAP/Z_REDEF_GWSAMPLE_SRV/SalesOrderSet('0500000012')/ToBusinessPartner"
}
},
"ToLineItems" : {
"__deferred" : {
"uri" : "https://hostname:port/sap/opu/odata/SAP/Z_REDEF_GWSAMPLE_SRV/SalesOrderSet('0500000012')/ToLineItems"
}
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
12 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |