Warning: Undefined array key 1 in /customers/3/8/f/se80.co.uk/httpd.www/page/php/functions-noconn.php on line 190 Warning: Undefined array key 2 in /customers/3/8/f/se80.co.uk/httpd.www/page/php/functions-noconn.php on line 191 SAP SD_MESSAGE_COLLECT Function Module for Collect message

SAP SD_MESSAGE_COLLECT Function Module for Collect message









SD_MESSAGE_COLLECT is a standard sd message collect SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Collect message processing and below is the pattern details for this FM, 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 sd message collect FM, simply by entering the name SD_MESSAGE_COLLECT into the relevant SAP transaction such as SE37 or SE38.

Function Group: VMSS
Program Name: SAPLVMSS
Main Program:
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module Warning: Undefined array key "UPDATE" in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 212
Update:



Function SD_MESSAGE_COLLECT 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. Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 267 Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 296 Warning: Undefined variable $pimport in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 304 Warning: Undefined variable $pidet in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 305 Warning: Undefined variable $ai in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 307 Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 267 Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 296 Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 267 Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 296 Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 267 Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 296 Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 267 Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 296 Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 267 Warning: Trying to access array offset on value of type null in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 296 Warning: Undefined variable $pattern in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 347 Warning: Undefined variable $abapcall in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 349
CALL FUNCTION 'SD_MESSAGE_COLLECT'"Collect message
EXPORTING
I_MESG = "
* I_OBJECT = 'SD-SLS' "
I_GROUP = "
* I_VBAK = "
* I_VBAP = "
* I_VBEP = "
.


Warning: Undefined variable $idoc in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 395 Warning: Undefined variable $exitfms in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 397 Warning: Undefined variable $custfunc in /customers/3/8/f/se80.co.uk/httpd.www/builder/sap-function-modules/index.php on line 399 Warning: file(/customers/3/8/f/se80.co.uk/httpd.www/sap/fms/sd_message_collect/sd_message_collect.txt): Failed to open stream: No such file or directory in /customers/3/8/f/se80.co.uk/httpd.www/page/php/functions-noconn.php on line 575 Warning: foreach() argument must be of type array|object, bool given in /customers/3/8/f/se80.co.uk/httpd.www/page/php/functions-noconn.php on line 595 Warning: Undefined variable $endtag in /customers/3/8/f/se80.co.uk/httpd.www/page/php/functions-noconn.php on line 859

IMPORTING Parameters details for SD_MESSAGE_COLLECT

I_MESG -

Data type: BALMI
Optional: No
Call by Reference: No ( called with pass by value option)

I_OBJECT -

Data type: BALHDR-OBJECT
Default: 'SD-SLS'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GROUP -

Data type: BALHDR-SUBOBJECT
Optional: No
Call by Reference: No ( called with pass by value option)

I_VBAK -

Data type: VBAK
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VBAP -

Data type: VBAP
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VBEP -

Data type: VBEP
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SD_MESSAGE_COLLECT 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_i_mesg  TYPE BALMI, "   
lv_i_object  TYPE BALHDR-OBJECT, "   'SD-SLS'
lv_i_group  TYPE BALHDR-SUBOBJECT, "   
lv_i_vbak  TYPE VBAK, "   
lv_i_vbap  TYPE VBAP, "   
lv_i_vbep  TYPE VBEP. "   

  CALL FUNCTION 'SD_MESSAGE_COLLECT'  "Collect message
    EXPORTING
         I_MESG = lv_i_mesg
         I_OBJECT = lv_i_object
         I_GROUP = lv_i_group
         I_VBAK = lv_i_vbak
         I_VBAP = lv_i_vbap
         I_VBEP = lv_i_vbep
. " SD_MESSAGE_COLLECT




ABAP code using 7.40 inline data declarations to call FM SD_MESSAGE_COLLECT

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 OBJECT FROM BALHDR INTO @DATA(ld_i_object).
DATA(ld_i_object) = 'SD-SLS'.
 
"SELECT single SUBOBJECT FROM BALHDR INTO @DATA(ld_i_group).
 
 
 
 


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!