SAP BBP_PO_BGR_MAIL_SEND Function Module for









BBP_PO_BGR_MAIL_SEND is a standard bbp po bgr mail send SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for bbp po bgr mail send FM, simply by entering the name BBP_PO_BGR_MAIL_SEND into the relevant SAP transaction such as SE37 or SE38.

Function Group: BBP_PO_APP
Program Name: SAPLBBP_PO_APP
Main Program: SAPLBBP_PO_APP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BBP_PO_BGR_MAIL_SEND pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'BBP_PO_BGR_MAIL_SEND'"
EXPORTING
IV_GUID = "
* IV_USER = "
* IV_COMMIT = "
* IV_EVENT = "
* IV_ATTACHMENT_TYPE = "
* IV_ATTACHMENT_SUBJECT = "
* IT_ATTACHMENT = "
* IV_MAIL_BODY = "
* IV_APPEND_URL = "

EXCEPTIONS
NO_MAIL_ADDRESS = 1 NO_OUTPUT = 2
.



IMPORTING Parameters details for BBP_PO_BGR_MAIL_SEND

IV_GUID -

Data type: BBP_GUID
Optional: No
Call by Reference: Yes

IV_USER -

Data type: SYUNAME
Optional: Yes
Call by Reference: Yes

IV_COMMIT -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

IV_EVENT -

Data type: SYUCOMM
Optional: Yes
Call by Reference: Yes

IV_ATTACHMENT_TYPE -

Data type: SOODK-OBJTP
Optional: Yes
Call by Reference: Yes

IV_ATTACHMENT_SUBJECT -

Data type: SOOD-OBJDES
Optional: Yes
Call by Reference: Yes

IT_ATTACHMENT -

Data type: SOLIX_TAB
Optional: Yes
Call by Reference: Yes

IV_MAIL_BODY -

Data type: SOLI
Optional: Yes
Call by Reference: Yes

IV_APPEND_URL -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_MAIL_ADDRESS -

Data type:
Optional: No
Call by Reference: Yes

NO_OUTPUT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BBP_PO_BGR_MAIL_SEND Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_iv_guid  TYPE BBP_GUID, "   
lv_no_mail_address  TYPE BBP_GUID, "   
lv_iv_user  TYPE SYUNAME, "   
lv_no_output  TYPE SYUNAME, "   
lv_iv_commit  TYPE XFELD, "   
lv_iv_event  TYPE SYUCOMM, "   
lv_iv_attachment_type  TYPE SOODK-OBJTP, "   
lv_iv_attachment_subject  TYPE SOOD-OBJDES, "   
lv_it_attachment  TYPE SOLIX_TAB, "   
lv_iv_mail_body  TYPE SOLI, "   
lv_iv_append_url  TYPE XFELD. "   

  CALL FUNCTION 'BBP_PO_BGR_MAIL_SEND'  "
    EXPORTING
         IV_GUID = lv_iv_guid
         IV_USER = lv_iv_user
         IV_COMMIT = lv_iv_commit
         IV_EVENT = lv_iv_event
         IV_ATTACHMENT_TYPE = lv_iv_attachment_type
         IV_ATTACHMENT_SUBJECT = lv_iv_attachment_subject
         IT_ATTACHMENT = lv_it_attachment
         IV_MAIL_BODY = lv_iv_mail_body
         IV_APPEND_URL = lv_iv_append_url
    EXCEPTIONS
        NO_MAIL_ADDRESS = 1
        NO_OUTPUT = 2
. " BBP_PO_BGR_MAIL_SEND




ABAP code using 7.40 inline data declarations to call FM BBP_PO_BGR_MAIL_SEND

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
"SELECT single OBJTP FROM SOODK INTO @DATA(ld_iv_attachment_type).
 
"SELECT single OBJDES FROM SOOD INTO @DATA(ld_iv_attachment_subject).
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!