adesso orange🍊Stellenangebote:
Software Engineer Trainee · Senior
| (Senior) Cloud Software Engineer BTP
(Senior) Consultant Technologie
Werkstudent Softwareentwicklung · Fiori / UI5 · Consulting
API PURCHASING SOURCE SRV: Unterschied zwischen den Versionen
Aus SAP Wiki ツ
Zeile 34: | Zeile 34: | ||
* /sap/opu/odata/sap/API_PURCHASING_SOURCE_SRV/A_PurchasingSource(Material='{Material}',Plant='{Plant}',SourceListRecord='{SourceListRecord}') | * /sap/opu/odata/sap/API_PURCHASING_SOURCE_SRV/A_PurchasingSource(Material='{Material}',Plant='{Plant}',SourceListRecord='{SourceListRecord}') | ||
CONSTANTS cv_quot VALUE `'`. | CONSTANTS cv_quot VALUE `'`. | ||
CONCATENATE '/sap/opu/odata/sap/API_PURCHASING_SOURCE_SRV/A_PurchasingSource(Material=' cv_quot ls_sourcelist-matnr cv_quot ',Plant=' cv_quot ls_sourcelist-werks cv_quot',SourceListRecord=' cv_quot ls_sourcelist-zeord cv_quot')' | CONCATENATE '/sap/opu/odata/sap/API_PURCHASING_SOURCE_SRV/A_PurchasingSource(Material=' cv_quot ls_sourcelist-matnr cv_quot ',Plant=' cv_quot ls_sourcelist-werks cv_quot',SourceListRecord=' cv_quot ls_sourcelist-zeord cv_quot')' INTO lv_url. | ||
Version vom 7. Dezember 2024, 11:36 Uhr
Dieser Wiki-Eintrag wurde zum Zeitpunkt der Version 1.00 / letzte Änderung am 17.10.2024 geschrieben.
- https://api.sap.com/api/API_PURCHASING_SOURCE_SRV/overview
- https://help.sap.com/docs/SAP_S4HANA_CLOUD/bb9f1469daf04bd894ab2167f8132a1a/5692d23783a94d8282659356113c384f.html?locale=en-US
Orderbuch erstellen
- HTTP-Methode: POST
- /sap/opu/odata/sap/API_PURCHASING_SOURCE_SRV/A_PurchasingSource
- HTTP-Request(Body)
CONCATENATE
'{'
'"d":{'
'"Material": "' iv_product '",'
'"Plant": "' iv_plant '",'
'"ValidityStartDate": "' lv_startdate_year '-' lv_startdate_month '-' lv_startdate_day 'T11:00:00",'
'"ValidityEndDate": "' lv_enddate_year '-' lv_enddate_month '-' lv_enddate_day 'T11:00:00",'
'"Supplier": "' iv_supplier '",'
'"PurchasingOrganization": "' iv_purorg '",'
'"MRPSourcingControl": "' iv_mrpsourcecontrol '"'
'}'
'}'
INTO lv_json_string.
Orderbuch bekommen
- HTTP-Methode: GET
- /sap/opu/odata/sap/API_CV_ATTACHMENT_SRV/A_PurchasingSource(Material='{Material}',Plant='{Plant}',SourceListRecord='{SourceListRecord}')
Orderbuch ändern
Orderbuch löschen
- HTTP-Methode: POST
- /sap/opu/odata/sap/API_PURCHASING_SOURCE_SRV/A_PurchasingSource(Material='{Material}',Plant='{Plant}',SourceListRecord='{SourceListRecord}')
CONSTANTS cv_quot VALUE `'`. CONCATENATE '/sap/opu/odata/sap/API_PURCHASING_SOURCE_SRV/A_PurchasingSource(Material=' cv_quot ls_sourcelist-matnr cv_quot ',Plant=' cv_quot ls_sourcelist-werks cv_quot',SourceListRecord=' cv_quot ls_sourcelist-zeord cv_quot')' INTO lv_url.