Ansicht
Dokumentation

EHPRC_OD_IMP_BADI - BAdI: Automatic Release of Imported Declaration Data

EHPRC_OD_IMP_BADI - BAdI: Automatic Release of Imported Declaration Data

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is valid for Product Compliance in Discrete Industries. You can use this BAdI to determine whether declaration data that was imported from SAP Product Stewardship Network shall be automatically released.

The BAdI uses the method CHECK_DATA_FOR_RELEASEfor this determination:

  • The importing parameter IT_REQR_KEY contains a table of all compliance requirement revisions that were created during the import. While implementing the BAdI, you can load and check the declaration data.
  • Set the returning parameter RV_AUTO_RELEASE to abap_true if you want to release the data automatically. If you set the parameter to abap_false, the declaration data will not be saved in the database. The user has the chance to perform the import later manually.

In the standard delivery, an automatic release is only performed when, after executing the corresponding compliance checks, all imported compliance requirement revisions have the compliance status Compliant.

This means that any substances above threshold or exempted substances will prevent the auto-release.

Check the fallback implementation in class CL_EHPRC_IMPORT_DECLARATION_FB.






rdisp/max_wprun_time - Maximum work process run time   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1474 Date: 20240523 Time: 175658     sap01-206 ( 35 ms )