Hierarchy

⤷

⤷

IMG Activity
ID | MILL_REF_CHAR_PURCH | Object Characteristics in Purchasing |
Transaction Code | S_KA5_12001414 | (empty) |
Created on | 20030113 | |
Customizing Attributes | MILL_REF_CHAR_PURCH | Object Characteristics in Purchasing |
Customizing Activity | MILL_REF_CHAR_PURCH | Object Characteristics in Purchasing |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | MILL_REF_CHAR_PURCH |
You can use this enhancement to make other fields from the purchasing document available to the object dependencies during configuration.
Method PURCH_ORDER_FIELDS_ASSIGN is used to read other fields in the purchase order and/or scheduling agreement, contract, or RFQ. The data can be taken from the structures IS_EKPO (item) and IS-EKKO (header), and can be placed in fields in the structures CS_VBAP and/or CS_VBAK.
In method PURCH_REQ_FIELD_ASSIGN, the data for the purchase requisition should be taken from structure IS_EBAN.
You can program in the object dependency using the Purchasing data by defining reference characteristics for the corresponding SD fields (VBAx).
Example
During configuration you want to access the desired vendor from the purchase requisition. To do this, implement the following from method PURCH_REQ_FIELD_ASSIGN:
cs_vbak-kunnr = is_eban-lifnr.
The information on the desired vendor is now available to the object dependency in the reference characteristic defined in field VBAK-KUNNR, and can now be evaluated.
Requirements
Configuration in the purchasing document, reference characteristics activated in Purchasing (Customizing).
Standard settings
Without further implementation using the exits described here, the following fields are available:
Purchase requisition:
ls_vbap-kwmeng = a_eban-menge.
ls_vbap-vrkme = a_eban-meins.
ls_vbap-matnr = a_eban-matnr.
ls_vbap-arktx = a_eban-txz01.
ls_vbak-mill_appl_id = 'MM'.
This last field can be used to differentiate in the object dependency between calls from the SD, PP, or MM document.
Purchase order:
ls_vbap-kwmeng = a_ekpo-menge.
ls_vbap-vrkme = a_ekpo-meins.
ls_vbap-umvkz = a_ekpo-umrez.
ls_vbap-umvkn = a_ekpo-umren.
ls_vbap-matnr = a_ekpo-matnr.
ls_vbap-arktx = a_ekpo-txz01.
ls_vbak-kunnr = a_ekko-lifnr.
ls_vbak-mill_appl_id = 'MM'.
Recommendation
Activities
Further notes
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | MILL_REF_CHAR_PURCH | 0 | KM50000003 | Materials Management (MM) enhancements |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20051025 |
SAP Release Created in | 471 |