SAP ABAP IMG Activity FBD_BADI_NOTIFY2 (BAdI: Notification using SMS or E-mail)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FIN-FSCM-BD-AR (Application Component) Accounts Receivable Accounting Process Integration
     EBPP_APAR (Package) EBPP_APAR
IMG Activity
ID FBD_BADI_NOTIFY2 BAdI: Notification using SMS or E-mail  
Transaction Code S_AX8_68000396   IMG Activity: FBD_BADI_NOTIFY2 
Created on 20030903    
Customizing Attributes FBD_257_KUA   Attribute: Non-Critical BAdIs for Biller Direct 
Customizing Activity FBD_BADI_NOTIFY2_OB   BAdI: Determine Output Medium for Automatic Notification 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name APAR_EBPP_NOTIFY2    

Use

You use this Business Add-in to create a text for a notification that you send either by e-mail or SMS. To do this you need to implement method CREATE_TEXT. The following import parameters are available:

  • I_KNA1 Customer master (with the structure KNA1)
  • I_VBDKR Document header view for billing (with the structure VBDKR)
  • I_NAST Message status (with the structure NAST)
  • I_LINK The URL that you defined in table T001URL for displaying the bill
  • I_SFORM The Smart Form that you entered in the message type used should you want to send the notification as a PDF attachment
  • I_SMS Displays whether an e-mail (= space) or an SMS (= X) is to be sent

You must fill the following export parameters:

  • E_TEXT Table containing the text to be output
  • E_DOC Document attributes with structure SODOCCHGI1. Field OBJ_DESCR contains the reference line of the e-mail sent.
  • E_DOC_TYPE Set this parameter to RAW, if you want to send an SMS or e-mail with unformatted text. Set the parameter to HTM if you want to send an e-mail in HTML format.
  • RETURN Set this parameter to 0 once the Business Add-In has run without errors.

Requirements

Standard settings

Activities

Example

A straightforward example is delivered, and you can display this by choosing Goto -> Example Coding -> Display.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20040218 
SAP Release Created in 2004_1_46C