Ansicht
Dokumentation

BAPI_SAG_CREATE - Create a Scheduling Agreement

BAPI_SAG_CREATE - Create a Scheduling Agreement

rdisp/max_wprun_time - Maximum work process run time   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

BAPI to create a scheduling agreement.

Example

Sample Code

Notes

Restrictions on the BAPIs for outline agreements

  • Master conditions:
  • When new items are created, only one period can be specified per variable key. This means that one period can be specified for the document header (i.e. condition table A019), for each item (i.e. condition table A016), and for each item/plant combination (i.e. table A068).

  • Scales are not supported during the creation of outline agreements.

  • The creation of scheduling agreements with document conditions is not supported.

  • Since volume rebate conditions are not taken into account in outline agreements, they are not processed.

  • No subitems (e.g. inclusive/exclusive bonus quantity, display, etc.) are taken into account.
  • The control key for quality management in procurement (EKPO-SSQSS) and the certificate category (EKPO-ZGTYP) are only taken into account to a certain extent: these two items of information are copied from the reference contract or from the material master but cannot be changed and no checks are carried out for these two fields.
  • The revision level (EKPO-REVLV) is not changeable because various quality management routines have not been implemented.
  • Version management is not supported.
  • External services management is not supported (neither planned nor unplanned services).
  • The creation of configurations is not supported.

Further information

When a scheduling agreement is created (activity 01), the following authorization objects are checked:

  • M_RAHM_BSA Document type of scheduling agreement
  • M_RAHM_EKG Purchasing group in scheduling agreement
  • M_RAHM_EKO Purchasing organization in scheduling agreement

The following Business Add-Ins are available:

  • MEOUT_BAPI_CUST for customer enhancements (the BAdI can be implemented multiple times).
  • MEOUT_BAPI_IBS for SAP-internal enhancements (the BAdI can be implemented multiple times).




Parameters

ACCOUNT
ACCOUNTPROFITSEGMENT
ACCOUNTX
DELIVERY_ADDRESS
EXPORT_IMPORT
EXPORT_IMPORTX
EXP_HEADER
EXTENSIONIN
EXTENSIONOUT
HEADER
HEADERX
HEADER_TEXT
HEAD_CONDITION
HEAD_CONDITIONX
HEAD_COND_SCALE_QUAN
HEAD_COND_SCALE_VAL
HEAD_COND_VALIDITY
HEAD_COND_VALIDITYX
HEAD_EXPORT_IMPORT
HEAD_EXPORT_IMPORTX
ITEM
ITEMX
ITEM_CONDITION
ITEM_CONDITIONX
ITEM_COND_SCALE_QUAN
ITEM_COND_SCALE_VALUE
ITEM_COND_VALIDITY
ITEM_COND_VALIDITYX
ITEM_TEXT
PARTNER
PARTNERX
PURCHASINGDOCUMENT
RETURN
SCHEDULE
SCHEDULEX
SC_COMPONENT
SC_COMPONENTX
SHIPPING
SHIPPINGX
SHIPPING_EXP
TECHNICAL_DATA
TESTRUN
VENDOR_ADDRESS

Exceptions

Function Group

2013

CL_GUI_FRONTEND_SERVICES - Frontend Services   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 8071 Date: 20240523 Time: 154717     sap01-206 ( 73 ms )