CL_EX_ISU_AMI_MSG - Example Implementation for BAdI ISU_AMI_MSG

General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Functionality

This is an example implementation for interface method IF_EX_ISU_AMI_MSG~SET_LANGUAGE_OF_TEMPLATE of BAdI ISU_AMI_MSG.

This method provides the default language for the template.

Relationships

The purpose of this implementation is to get the language from the contract account and export thislanguage, which will be used as the default language in the Template Languagefield, where the message can be sent from the user interface.

The implementation does the following:

  • Uses importing parameter XT_V_EGER_AND_BP_NO (this parameter contains device data V_EGER and business partner numbers)
  • Finds the installation from database table EASTL for all devices
  • Finds the contract from database table EVER for the installation found
  • Finds the contract account for the contract from the above step
  • Gets the communication language from the contract account

In case of multiple contracts, contract accounts, and so on, the language from the first found entity is returned.

This language is normally the language used to communicate with the business partner.

Example

Notes

Further information



Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.


Length: 1390 Date: 20120526 Time: 123107     triton ( 72 ms )