Ansicht
Dokumentation
LOG_CMM_CONTRACT_CREATE - CM: API to Create a Purchase Contract including Document Conditions
BAL_S_LOG - Application Log: Log header data TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
Functionality
You can use this function module to create purchase contracts.
Example
Notes
Restrictions in comparison with the transaction Create Contract (ME31K):
- Master conditions:
During the creation of outline agreements, just one time period can be specified per variable key. This means that a 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. condition table A068).
- Scales are not supported during the creation of outline agreements.
- Volume rebate conditions in outline agreements are not taken into account.
- No subitems (e.g. inclusive/exclusive bonus quantity, display, etc.) are taken into account.
- The control key for quantity management in procurement (EKPO-SSQSS) and the certificate category (EKPO-ZGTYP) are only taken into account to a certain extent: this information is copied from the reference contract or the material master record, 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 were not implemented.
- Version management(Document Change Management) is not supported.
- External services (planned and unplanned services) are not supported.
- Creation of configurations is not supported.
Further information
When a purchase contract is created (activity 01), the following authorization objects are checked:
- M_RAHM_BSA Document type in contract
- M_RAHM_EKG Purchasing group in contract
- M_RAHM_EKO Purchasing organization in contract
- M_RAHM_WRK Plant in contract
Parameters
ACCOUNTACCOUNTPROFITSEGMENT
ACCOUNTX
CONDITION
CONDITIONX
DELIVERY_ADDRESS
EXP_HEADER
EXTENSIONIN
EXTENSIONOUT
HEADER
HEADERX
HEADER_TEXT
ITEM
ITEMX
ITEM_TEXT
PARTNER
PARTNERX
PURCHASINGDOCUMENT
RETURN
TECHNICAL_DATA
TESTRUN
VENDOR_ADDRESS
Exceptions
Function Group
LOG_CMM_2014PERFORM Short Reference SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 4934 Date: 20240523 Time: 063606 sap01-206 ( 54 ms )