adesso orange🍊Stellenangebote:
Software Engineer Trainee · Senior
| (Senior) Cloud Software Engineer BTP
(Senior) Consultant Technologie
Werkstudent Softwareentwicklung · Fiori / UI5 · Consulting
API PURCHASING SOURCE SRV
Aus SAP Wiki ツ
Dieser Wiki-Eintrag wurde zum Zeitpunkt der Version 1.00 / letzte Änderung am 14.11.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
- Einzelnen Orderbuch:
- /sap/opu/odata/sap/API_CV_ATTACHMENT_SRV/A_PurchasingSource(Material='{Material}',Plant='{Plant}',SourceListRecord='{SourceListRecord}')
- Allgemein:
- /sap/opu/odata/sap/API_CV_ATTACHMENT_SRV/A_PurchasingSource
Orderbuch ändern
- HTTP-Methode: PATCH
- /A_PurchasingSource(Material='{Material}',Plant='{Plant}',SourceListRecord='{SourceListRecord}')
Hinweis |
Bei Nutzung und Erstellung des Wiki-Artikels war es nicht möglich das Kennzeichen "fester Lieferant" zu ändern.
Hierfür kann eine Behavior Defintion bzw. Behavior Implementierung verwendet werden, s. R_PURCHASINGSOURCELISTTP |
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.
adesso orange🍊Stellenangebote:
Software Engineer Trainee · Senior
| (Senior) Cloud Software Engineer BTP
(Senior) Consultant Technologie
Werkstudent Softwareentwicklung · Fiori / UI5 · Consulting