SAP CRM Opportunity行项目Alternative ID的填充逻辑

Requirement

When you maintain Opportunity line item and try to maintain a product, you can enter the alternative ID of a given product instead of the product ID. It is expected that the corresponding product identified by the alternative ID could be determined successfully.

Detail steps to achieve it

(1) I plan to use the standard alternative ID type ALT_NO. The related customizing could be found here:

SAP CRM Opportunity行项目Alternative ID的填充逻辑

The database table to store alternative ID is ISAM_O_VEH_IDS:

SAP CRM Opportunity行项目Alternative ID的填充逻辑

This type is assigned to profile ISAM:

SAP CRM Opportunity行项目Alternative ID的填充逻辑

(2) Assign the profile ISAM to transaction type ZJER:

SAP CRM Opportunity行项目Alternative ID的填充逻辑

(3) In tcode COMM_HIERARCHY, assign ALT_NO to product category.

SAP CRM Opportunity行项目Alternative ID的填充逻辑

The settype ISAM_O_VEH_IDS must also be assigned to category.

SAP CRM Opportunity行项目Alternative ID的填充逻辑

(4) Now you could maintain alternative ID for product created based on product category MAT_:
SAP CRM Opportunity行项目Alternative ID的填充逻辑

Once saved, you can find one entry in ISAM_O_VEH_IDS:

SAP CRM Opportunity行项目Alternative ID的填充逻辑

(5) Now create an opportunity with transaction type ZJER,
it is not necessary to type product ID “JVM” now. Instead I can type alternative ID “JDK 1.7”:

SAP CRM Opportunity行项目Alternative ID的填充逻辑

And the product could successfully be determined. Click the hyperlinks in the two columns and still the product overview page could be reached.

SAP CRM Opportunity行项目Alternative ID的填充逻辑

If determination does not work as expected, you can debug the function module CRM_ORDERADM_I_PROD_DETERM_OW for trouble shooting.

SAP CRM Opportunity行项目Alternative ID的填充逻辑

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
SAP CRM Opportunity行项目Alternative ID的填充逻辑