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 ツ
M1ch3lde (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „Kategorie:SAP_APIs 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) <synta…“
 
M1ch3lde (Diskussion | Beiträge)
Zeile 5: Zeile 5:


=== Orderbuch erstellen ===
=== Orderbuch erstellen ===
*HTTP-Methode: POST
* HTTP-Methode: POST
* /sap/opu/odata/sap/API_PURCHASING_SOURCE_SRV/A_PurchasingSource
* /sap/opu/odata/sap/API_PURCHASING_SOURCE_SRV/A_PurchasingSource
* HTTP-Request(Body)
* HTTP-Request(Body)
Zeile 18: Zeile 18:
                         '"Supplier": "' iv_supplier '",'
                         '"Supplier": "' iv_supplier '",'
                         '"PurchasingOrganization": "' iv_purorg '",'
                         '"PurchasingOrganization": "' iv_purorg '",'
                         '"MRPSourcingControl": "' cv_mrpsourcecontrol '"'
                         '"MRPSourcingControl": "' iv_mrpsourcecontrol '"'
                     '}'
                     '}'
                   '}'
                   '}'

Version vom 7. Dezember 2024, 11:33 Uhr

Dieser Wiki-Eintrag wurde zum Zeitpunkt der Version 1.00 / letzte Änderung am 17.10.2024 geschrieben.

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