SAP OBJ_MAINT_CHECK_F1_HELP Function Module for Determines whether Maintenance button to be set in new F1 line









OBJ_MAINT_CHECK_F1_HELP is a standard obj maint check f1 help SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determines whether Maintenance button to be set in new F1 line 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 obj maint check f1 help FM, simply by entering the name OBJ_MAINT_CHECK_F1_HELP into the relevant SAP transaction such as SE37 or SE38.

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



Function OBJ_MAINT_CHECK_F1_HELP 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 'OBJ_MAINT_CHECK_F1_HELP'"Determines whether Maintenance button to be set in new F1 line
EXPORTING
CHECKTABLE = "
* DOCUID = 'NA' "
MESSAGEID = "
MESSAGENR = "

IMPORTING
IMGOBJECT = "
IMGOBJECTTYPE = "
IMGSUBOBJECT = "

CHANGING
OBJECTS_FOUND = "

TABLES
* LIST_OF_OBJECTS = "
.



IMPORTING Parameters details for OBJ_MAINT_CHECK_F1_HELP

CHECKTABLE -

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

DOCUID -

Data type: HELP_INFO-DOCUID
Default: 'NA'
Optional: Yes
Call by Reference: No ( called with pass by value option)

MESSAGEID -

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

MESSAGENR -

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

EXPORTING Parameters details for OBJ_MAINT_CHECK_F1_HELP

IMGOBJECT -

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

IMGOBJECTTYPE -

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

IMGSUBOBJECT -

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

CHANGING Parameters details for OBJ_MAINT_CHECK_F1_HELP

OBJECTS_FOUND -

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

TABLES Parameters details for OBJ_MAINT_CHECK_F1_HELP

LIST_OF_OBJECTS -

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

Copy and paste ABAP code example for OBJ_MAINT_CHECK_F1_HELP 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_imgobject  TYPE OBJSUB-OBJECTNAME, "   
lv_checktable  TYPE HELP_INFO-CHECKTABLE, "   
lv_objects_found  TYPE SY-SUBRC, "   
lt_list_of_objects  TYPE STANDARD TABLE OF T100O, "   
lv_docuid  TYPE HELP_INFO-DOCUID, "   'NA'
lv_imgobjecttype  TYPE OBJSUB-OBJECTTYPE, "   
lv_messageid  TYPE HELP_INFO-MESSAGEID, "   
lv_imgsubobject  TYPE OBJSUB-SUBOBJNAME, "   
lv_messagenr  TYPE HELP_INFO-MESSAGENR. "   

  CALL FUNCTION 'OBJ_MAINT_CHECK_F1_HELP'  "Determines whether Maintenance button to be set in new F1 line
    EXPORTING
         CHECKTABLE = lv_checktable
         DOCUID = lv_docuid
         MESSAGEID = lv_messageid
         MESSAGENR = lv_messagenr
    IMPORTING
         IMGOBJECT = lv_imgobject
         IMGOBJECTTYPE = lv_imgobjecttype
         IMGSUBOBJECT = lv_imgsubobject
    CHANGING
         OBJECTS_FOUND = lv_objects_found
    TABLES
         LIST_OF_OBJECTS = lt_list_of_objects
. " OBJ_MAINT_CHECK_F1_HELP




ABAP code using 7.40 inline data declarations to call FM OBJ_MAINT_CHECK_F1_HELP

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 OBJECTNAME FROM OBJSUB INTO @DATA(ld_imgobject).
 
"SELECT single CHECKTABLE FROM HELP_INFO INTO @DATA(ld_checktable).
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_objects_found).
 
 
"SELECT single DOCUID FROM HELP_INFO INTO @DATA(ld_docuid).
DATA(ld_docuid) = 'NA'.
 
"SELECT single OBJECTTYPE FROM OBJSUB INTO @DATA(ld_imgobjecttype).
 
"SELECT single MESSAGEID FROM HELP_INFO INTO @DATA(ld_messageid).
 
"SELECT single SUBOBJNAME FROM OBJSUB INTO @DATA(ld_imgsubobject).
 
"SELECT single MESSAGENR FROM HELP_INFO INTO @DATA(ld_messagenr).
 


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!