SAP G_MESS_APPEND_OBJECT Function Module for









G_MESS_APPEND_OBJECT is a standard g mess append object 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 g mess append object FM, simply by entering the name G_MESS_APPEND_OBJECT into the relevant SAP transaction such as SE37 or SE38.

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



Function G_MESS_APPEND_OBJECT 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 'G_MESS_APPEND_OBJECT'"
EXPORTING
I_ERROR = "
* I_TXTNR = "
* I_MSGV1 = "
* I_MSGV2 = "
* I_MSGV3 = "
* I_MSGV4 = "
* I_BKPF = "
* I_COBK = "
* I_ACCHD = "
* I_ACCTHD = "
* I_TEXT_LINE = "
* I_MSGTY = "
* I_TEXT = "
* I_ARBGB = "

TABLES
* T_MESG = "
.



IMPORTING Parameters details for G_MESS_APPEND_OBJECT

I_ERROR -

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

I_TXTNR -

Data type:
Optional: Yes
Call by Reference: Yes

I_MSGV1 -

Data type:
Optional: Yes
Call by Reference: Yes

I_MSGV2 -

Data type:
Optional: Yes
Call by Reference: Yes

I_MSGV3 -

Data type:
Optional: Yes
Call by Reference: Yes

I_MSGV4 -

Data type:
Optional: Yes
Call by Reference: Yes

I_BKPF -

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

I_COBK -

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

I_ACCHD -

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

I_ACCTHD -

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

I_TEXT_LINE -

Data type:
Optional: Yes
Call by Reference: Yes

I_MSGTY -

Data type:
Optional: Yes
Call by Reference: Yes

I_TEXT -

Data type:
Optional: Yes
Call by Reference: Yes

I_ARBGB -

Data type:
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for G_MESS_APPEND_OBJECT

T_MESG -

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

Copy and paste ABAP code example for G_MESS_APPEND_OBJECT 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:
lt_t_mesg  TYPE STANDARD TABLE OF MESG, "   
lv_i_error  TYPE CHAR1, "   
lv_i_txtnr  TYPE CHAR1, "   
lv_i_msgv1  TYPE CHAR1, "   
lv_i_msgv2  TYPE CHAR1, "   
lv_i_msgv3  TYPE CHAR1, "   
lv_i_msgv4  TYPE CHAR1, "   
lv_i_bkpf  TYPE BKPF, "   
lv_i_cobk  TYPE COBK, "   
lv_i_acchd  TYPE ACCHD, "   
lv_i_accthd  TYPE ACCTHD, "   
lv_i_text_line  TYPE ACCTHD, "   
lv_i_msgty  TYPE ACCTHD, "   
lv_i_text  TYPE ACCTHD, "   
lv_i_arbgb  TYPE ACCTHD. "   

  CALL FUNCTION 'G_MESS_APPEND_OBJECT'  "
    EXPORTING
         I_ERROR = lv_i_error
         I_TXTNR = lv_i_txtnr
         I_MSGV1 = lv_i_msgv1
         I_MSGV2 = lv_i_msgv2
         I_MSGV3 = lv_i_msgv3
         I_MSGV4 = lv_i_msgv4
         I_BKPF = lv_i_bkpf
         I_COBK = lv_i_cobk
         I_ACCHD = lv_i_acchd
         I_ACCTHD = lv_i_accthd
         I_TEXT_LINE = lv_i_text_line
         I_MSGTY = lv_i_msgty
         I_TEXT = lv_i_text
         I_ARBGB = lv_i_arbgb
    TABLES
         T_MESG = lt_t_mesg
. " G_MESS_APPEND_OBJECT




ABAP code using 7.40 inline data declarations to call FM G_MESS_APPEND_OBJECT

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!