- The customer needs to perform additional checks when changing the status of engineering records. This involves checking attributes of the engineering record header, related change items, and linked objects.
- To implement these checks, the customer can enhance the /PLMI/IF_ECR_HDR and /PLMI/IF_ECR_CHG_ITM interfaces by creating new classes that inherit from the generic classes and override specific validation methods.
- The settings for the engineering record type would then be updated to use the new validation classes instead of the generic ones. This allows custom validation logic to be executed when engineering records are saved or changed.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
153 views3 pages
Plm19 - Web Tips 2
- The customer needs to perform additional checks when changing the status of engineering records. This involves checking attributes of the engineering record header, related change items, and linked objects.
- To implement these checks, the customer can enhance the /PLMI/IF_ECR_HDR and /PLMI/IF_ECR_CHG_ITM interfaces by creating new classes that inherit from the generic classes and override specific validation methods.
- The settings for the engineering record type would then be updated to use the new validation classes instead of the generic ones. This allows custom validation logic to be executed when engineering records are saved or changed.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3
Customer depending Additional check for...
Seiichiro Otsuka 9 posts since Apr 4, 2012
Customer depending Additional check for Engineering Record Oct 15, 2014 10:29 AM Dear Expert, Our customer is planning that they use the Engineering Record with NWBC for Product Design process. And I got the requirement from customer as below. - Check the 'Stats' ,'Validity Date' and 'Access Control Context' of Engineering Change Master related to this Engineering Record at change the Engineering Record status. - Check the 'Status' and 'Access Control Context' of objects (Ex.Material Master) related to Engineering Record at change the Engineering Record status. For this purpose, I'm looking for the BAdI of Engineering Record. But I can't find it for this requirement. Could you please advice me about approach for this requirement? Best Regards, Seiichiro Otsuka Tags: engineering_record, sap_product_lifecycle_management
Tamas Rakoczy 207 posts since May 16, 2013
Re: Customer depending Additional check for Engineering Record Oct 15, 2014 11:02 AM Hi Seiichiro, you can try to use the following BAdI: Logistics - General - Product Lifecycle Management (PLM) - PLM Web User Interface - Engineering Record BAdI: Change Items Settings Or: you can enhance the /PLMI/IF_ECR_HDR interface with methods for the header attributes: /PLMI/IF_ECR_HDR~VALIDATE /PLMI/IF_ECR_HDR~ENRICH /PLMI/IF_ECR_HDR~REFRESH you can enhance the /PLMI/IF_ECR_CHG_ITM interface with methods for the change items: /PLMI/IF_ECR_CHG_ITM~VALIDATE_ECR_ATTRIB /PLMI/IF_ECR_CHG_ITM~ ENRICH_ECR_ATTRIB
Generated by Jive on 2015-06-19+02:00
1
Customer depending Additional check for...
/PLMI/IF_ECR_CHG_ITM~GET_OBJECT_ATTRIB If your requirement is related to different actions (like save) then you can use the methods of the ECR BO: /PLMI/CL_ECR_BO e.g.: CHECK_BEFORE_SAVE etc. Best regards Tamas
Seiichiro Otsuka 9 posts since Apr 4, 2012
Re: Customer depending Additional check for Engineering Record Oct 16, 2014 5:21 AM Hi Tamas, Thank you for your prompt reply. I don't know the procedure of enhancement the /PLMI/IF_ECR_HDR and /PLMI/IF_ECR_CHG_ITM. I'd really appreciate If you explain more detail procedure for enhancement. Best Regards, Seiichiro
Gergely Gyula Kokas 19 posts since Jun 28, 2013
Re: Customer depending Additional check for Engineering Record Oct 17, 2014 2:29 PM Hi Seiichiro, In the Engineering Record customizing ( PLM Web User Interface -> Objects in PLM Web UI -> Engineering Record -> Make Settings for Engineering Records) if you open the details of one of the types, you will find this field: Class Name In this field you have a class which implements the mentioned interface (/PLMI/IF_ECR_HDR ). So if you create your own class implementing the same interface, or use the /PLMI/CL_ECR_HDR_GEN_FED as a super class and redefine the method, you can change the logic and implement your own code. The same is true for the Engineering Record Items. After you have your own classes, just use them in the customizing. Regards, Gergely
Gergely Gyula Kokas 19 posts since Jun 28, 2013
Re: Customer depending Additional check for Engineering Record Oct 15, 2014 1:10 PM Hi Seiichiro, For the Owning Context check you can use the BAdI /PLMB/EX_SPI_APPL_ACCESS. You can use the these filters: APPLICATION_BUILDING_BLOCK = PLM_OWNACC AND
Generated by Jive on 2015-06-19+02:00
2
Customer depending Additional check for...
NODE_NAME = ACC_REL_OBJ_ID If you implement the BEFORE_UPDATE method you can use the it_node_data importing parameter to check the Owning Context assignment to the given Engineering Record. Note: this implementation will be called for every objects, so make sure the code is only running for the Engineering Record. Kind Regards, Gergely
Abhishek Gupta 137 posts since Feb 8, 2007
Re: Customer depending Additional check for Engineering Record Oct 21, 2014 8:39 AM Hi There , The way to solve your problem is by using the interface /PLMI/IF_ECR_HDR and the procedure is very simple and not much efforts are needed . I personally have used this approach and found it very efficeint . SAP provides the feeder class for header : /PLMI/CL_ECR_HDR_GEN_FED.. Now what you need to do is to create your own feeder class and in this feeder class implement the interface /PLMI/IF_ECR_HDR. In order to perform a check on the fields of the header , you need to implement the VALIDATE method . After this you need to go at the following path in the spro settings as below : PLM Web User Interface -> Objects in PLM Web UI -> Engineering Record -> Make Settings for Engineering Records. Select your engineering record type and press on the details button . Here you need to replace the class name /PLMI/CL_ECR_HDR_GEN_FED. with your class name which you implemented . In this way you can check/validate the fields of the engineering record header . Hope this helps , bye from India Abhishek.
Optimizing Salesforce Industries Solutions on the Vlocity OmniStudio Platform: Implementing OmniStudio best practices for achieving maximum performance