Ansicht
Dokumentation

PY_99_ESS_CLM_RTS_39 - BAdI: Process Attachments

PY_99_ESS_CLM_RTS_39 - BAdI: Process Attachments

TXBHW - Original Tax Base Amount in Local Currency   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In is used in the Advanced Claims(PY-IN) component.

This Add-In enables you to store the attachments generated by the Advanced Claims component, on any third party server to minimize the consumption of storage space on the ERP Central Component(ECC) database server.

In the standard SAP solution, you store the attachments in PCL4 cluster table. Due to their large size, these attachments consume a lot of storage space on the ECC database server. To avoid this, you can use this BAdI to store the generated files on any third party server.

You can use the following methods in the BAdI with the corresponding import, change and export parameters as per your requirements:

1.,,CREATE_ATTACHMENT

You can use this method to create the attachments on any third party server.

  • Importing Parameters
  • IST_TRANS - Transaction data of the claim

  • IFD_REFNR - Reference number of the claim

  • ITB_FDATA - Attachments data

  • Exporting parameters
  • ETB_ERRTB - Table to store the error details

  • EFD_EFLAG - Error flag

  • EFD_DFLAG - Flag to check if third party is DMS

  • ETB_CLFDAT - Table to store the file data stored in third party server

2.,,DELETE_ATTACHMENT

You can use this method to delete the attachments that you have stored in the third party server.

  • Importing Parameters
  • IST_TRANS - Transaction data of the claim

  • IFD_DFLAG - Flag to check if third party is DMS

  • ITB_CLFDAT - Table to store the file data stored in third party server

  • Exporting parameters
  • ETB_ERRTB - Table to store the error details

  • EFD_EFLAG - Error flag

3.,,MODIFY_ATTACHMENT

You can use this method to modify the attachments stored in the third party server.

  • Importing Parameters
  • IST_TRANS - Transaction data of the claim

  • ITB_FDATA - Attachments data

  • Exporting parameters
  • ETB_ERRTB - Table to store the error details

  • EFD_EFLAG - Error flag

  • EFD_DFLAG - Flag to check if third party is DMS

  • ETB_CLFDAT - Table to store the file data stored in third party server

4.,,RETRIEVE_ATTACHMENT

You can use this method to retrieve the attachments stored in the third party server.

  • Importing Parameters
  • IST_TRANS - Transaction data of the claim

  • IFD_ DFLAG - Flag to check if third party is DMS

  • ITB_CLFDAT -Table to store the file data stored in third party server

  • Exporting parameters
  • ETB_ERRTB - Table to store the error details

  • EFD_EFLAG - Error flag

  • Changing Parameters
  • CTB_FDATA - Attachments data

You should only carry out this step if both of the following points apply:

  • The SAP standard processes do not suit your needs
  • You are a competent ABAP/4 programmer

In the standard SAP solution, the Business Add-In is not activated.

After calling up the Customizing activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:

  1. From the tab index, choose Interface.
  2. Place the cursor on the method, and double-click to enter method processing.
  3. Enter the coding for the implementation between the statements method if_AC_PROCESS_ATTACHMENTS ~ and endmethod.
  4. Save and implement your coding. Return to the Edit Implementation screen.
  5. Save the entries on the Edit Implementation screen.
    Note
    You can also change the implementation, and then activate it at a later time. In such a case, end the processing stage at this point.
  6. Choose Activate
    The coding you stored in the method will be run when the application program is executed.

To display the sample code, choose Goto -> Sample Code -> Display






ROGBILLS - Synchronize billing plans   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 6047 Date: 20240523 Time: 214237     sap01-206 ( 103 ms )