Ansicht
Dokumentation

LWM_FIN_FACTSHEET - BAdI: Data Retrieval for the App

LWM_FIN_FACTSHEET - BAdI: Data Retrieval for the App

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used with the mobile application SAP Customer Financial Fact Sheet. You can use this BAdI to prepare the data that comes from the back-end system, and that the sales representative sees on his mobile device. The following BAdI methods are available:

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definition tab in the BAdI Builder (transaction SE18).

There is an active BAdI implementation in the standard system (LWM_FIN_FACTSHEET_BADI_DEFAULT), whose methods function as follows:

  • Determine the customer numbers (GET_CUSTOMERS_OF_SALESREP)
    Determines the customers of a sales representative using the partner function Sales Employee. The link between the sales representative and the customers is made in the sales data of the customer master data. Prerequisite for this is that the sales representative has been created in Human Resources (HR) as an employee.
  • Check whether a customer is rated as critical (EVALUATE_CUSTOMER)
    Determines the highest dunning level of a customer. This method also analyzes the trend of the days in arrears. If the trend is negative and the customer has at least dunning level 2, the customer is rated as critical. The method also provides an explanation.
  • Return a list of additional customer attributes (GET_ADDITIONAL_ATTRIBS)
    Provides the payment terms of a customer.
  • Return a list of additional invoice attributes (GET_ADD_INV_ATTRIBS)
    Provides the reference document number (purchase order no) of an invoice.
  • Determine the credit segment/credit control area (DETERMINE_CREDIT_SEGMENT)
    Determines the credit segment or credit control area of a customer. If the result is not unique, the system returns the first option found.
  • Return the sales volume trend (GET_SALESVOLUME_TREND)
    Analyzes the sales volume for the current fiscal year compared with the same periods of the previous year and returns the sales volume trend.
  • Return ArchiveLink documents for a customer (GET_ALINK_DOCS)
    Returns a list of ArchiveLink documents for a customer covering a period of 90 days. The list contains meta data information, such as document ID, mime type, file size, document type, archiving date and so on.
  • Return the content of an ArchiveLink document for a customer (GET_ALINK_DOC_CONTENT)
    Returns the content of a given ArchiveLink document as a byte stream with meta data information for the document.

If you create a customer-specific implementation, use class CL_LWM_CFS_BADI_DEFAULT as the superclass for your implementing class. If you do so, you are able to redefine single methods (for example GET_CUSTOMERS_OF_SALESREP) without losing the default logic of the other methods you do not want to change.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.






CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 5343 Date: 20240523 Time: 204112     sap01-206 ( 188 ms )