Ansicht
Dokumentation

EHPRC_BADI_OD_INTEGR - BAdI: Integration with Product Stewardship Network

EHPRC_BADI_OD_INTEGR - BAdI: Integration with Product Stewardship Network

TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in Product Compliance for Discrete Industries. You can use this BAdI to exchange data with the SAP Product Stewardship Network. You have to decide how this BAdI is dealing with manufacturer part numbers.

Check, if you use multiple manufacturer parts (MPN) for one material.

This BAdI definition is not active in the standard system. It contains the following methods:

  • GET_SUPPLIER_CONNECTION_STATUS
    Use this method to determine the status of the connection between your company and one or more suppliers. For each supplier, it shows whether it was already invited or not. If a supplier is invited (yes), it shows whether the supplier has accepted or rejected the invitation.
  • GET_SUPPLIER_PART_STATUS
    Use this method to determine detailed status information about one or more supplier parts. If any assigned declaration exists, you also can view the status of this declaration for each supplier part.
  • GET_EXTERNAL_PAGE_URL
    Use this method when you want to process a supplier part in the SAP Product Stewardship Network, to get an external URL to this network.
  • INTEGRATION_ENABLED
    Use this method to verify if the integration of the SAP Product Stewardship Network is available.
  • GET_DECLARATION
    Use this method to get declaration data for a component from SAP Product Stewardship Network for one supplier part.
  • PROCESS_COMPONENTS
    Use this method to navigate to the SAP Product Stewardship Network and process one or more selected supplier parts.
  • GET_STATUS_CHANGES
    Use this method to synchronize all suppliers and supplier parts that have been changed on SAP Product Stewardship Network.
  • ACKNOWLEDGE_STATUS_CHANGES
    Use this method to send an acknowledgement to SAP Product Stewardship Network for each supplier, for each supplier part, or for each of both that has been successfully synchronized using method GET_STATUS_CHANGES. This causes SAP Product Stewardship Network to remove that supplier or supplier part, respectively, from the list of changed objects.
  • ACKNOWLEDGE_ALL_STATUS_CHANGES
    Use this method send an acknowledgement to SAP Product Stewardship Network after a successful full synchronization. This causes SAP Product Stewardship Network to remove all suppliers and supplier parts from the list of changed objects.
  • CONVERT_PRCDATA_TO_PSN_COMP_ID
    Use this method to create a unique identifier for the supplier part on SAP Product Stewardship Network. This identifier is used and displayed as a product identifier in SAP Product Stewardship Network. By default, it contains the material number and, only in case there are multiple manufacturer parts for one material, the MPN.
For more information about the standard settings like filters, single use, or multiple uses, see the Enhancement Spot Element Definitions tab in the BadI Builder (SE18).
  • You need the default implementation BADI_EHPRC_SCC_OD_MPN, when you use multiple manufacturer parts for one material and you want to use the supply chain on-demand integration with MPN handling.
  • You need the fallback class CL_EHPRC_SCC_OD_INTEGRATION_FB, when you don't use multiple manufacturer parts.
  1. Decide how the BADI_EHPRC_SCC_OD_INTEGRATION BAdI should work:
  • ,,If you use multiple MPNs, activate the default implementation BADI_EHPRC_SCC_OD_MPN.

  • ,,If you don't use multiple MPNs, let the default implementation being deactivated as delivered. The system will use the fallback class CL_EHPRC_SCC_OD_INTEGRATION_FB.

  1. If you activate the default implementation, run a full synchronization by using R_EHPRC_SCC_OD_STATUS_SYN report.
  2. If you want to adapt the standard functionality, create a new BAdI implementation. This BAdI is not "multiple use" and therefore, only one implementation can be active at the same time.






CPI1466 during Backup   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 4742 Date: 20240523 Time: 161640     sap01-206 ( 80 ms )