SAP ABAP IMG Activity SIMG_CFMENUOLSDPCB02 (BAdI for Checking a Catalog Item)
Hierarchy
☛
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
⤷ SD-EDI (Application Component) Electronic Data Interchange
⤷ VPRI (Package) Application Development R/3 Retail/CP EDI messages
⤷ SD-EDI (Application Component) Electronic Data Interchange
⤷ VPRI (Package) Application Development R/3 Retail/CP EDI messages
IMG Activity
ID | SIMG_CFMENUOLSDPCB02 | BAdI for Checking a Catalog Item |
Transaction Code | S_PLN_16000308 | (empty) |
Created on | 20020506 | |
Customizing Attributes | SIMG_CFMENUOLSDPCB | Attributes for BAdIs in PRICAT |
Customizing Activity | SIMG_CFMENUOLSDPCB02 | BAdI for Checking a Catalog Item |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | PRICHECKPOSITION |
Using the Add-In PRICHECKPOSITION, you can implement an additional check for the catalog item. You can then define more mandatory fields in the catalog, for example, or run checks on logical dependencies.
This Add-In consists of five methods:
- CHECK_POSITION
The complete catalog item is checked here apart from the customer- specific conditions. - CHECK_CUSTOMER_PRICE
You can run checks on conditions for each customer individually. - CHECK_BOM
This method enables you to check the components from K007 for one material and to set a return code. The return code controls the system behavior once the method is returned: - 0
OK, no further action - 1
Status record (K003S) is set to error, transport indicator in K003S is set to 'No transport'. - 2 (and all other values except for 0 and 1)
Status record is set to error, transport indicator is set to 'Transport' . - CHECK_CUSTOMER_PRICES_ALL
This method allows you to run checks on the conditions in their context. All the conditions are transferred from K008C for this. The current material item is also transferred so that you can also see the conditions of all the customers for each current material. You can use table IT_CUSTOMERS to enter the customers by whom error messages occurred. This table is interpreted after the method is returned and the status records concerned (K003S) are set to error without transfer. - CHECK_POSITION_CUST
The method allows you to run a check at customer/material level and also lets you set the transport indicator in the transferred K003S.
Example
Requirements
It is assumed in the calling routine that the system fields SY-MSG are filled if an error occurs. You should output the system message in a variable for this. The message is then logged by the calling routine in an application log.
Standard settings
Recommendation
Activities
Further notes
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired activity |
Critical / Non-Critical | 1 | Critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20020506 |
SAP Release Created in | 110 |