SAP NOTES_MAINTAIN Function Module for NOTRANSL: Notizbuchfunktion (Testen, Anz., Anl./Korr., Sichern, Löschen, I









NOTES_MAINTAIN is a standard notes maintain SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Notizbuchfunktion (Testen, Anz., Anl./Korr., Sichern, Löschen, I 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 notes maintain FM, simply by entering the name NOTES_MAINTAIN into the relevant SAP transaction such as SE37 or SE38.

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



Function NOTES_MAINTAIN 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 'NOTES_MAINTAIN'"NOTRANSL: Notizbuchfunktion (Testen, Anz., Anl./Korr., Sichern, Löschen, I
EXPORTING
APPLICATION = "DE-EN-LANG-SWITCH-NO-TRANSLATION
ENTITY = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FLG_SAVE_IN_UPDT = ' ' "
* FUNCTION = 'D' "DE-EN-LANG-SWITCH-NO-TRANSLATION
KEY = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* NEW_KEY = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* TITEL = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
DELETED = 1 ILLEGAL_FUNCTION = 2 NOT_FOUND = 3 NOT_SAVED = 4
.



IMPORTING Parameters details for NOTES_MAINTAIN

APPLICATION - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

ENTITY - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

FLG_SAVE_IN_UPDT -

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

FUNCTION - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

KEY - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

NEW_KEY - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TITEL - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXCEPTIONS details

DELETED - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

ILLEGAL_FUNCTION - Inadmissible function code

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

NOT_FOUND - No Note Exists

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

NOT_SAVED - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for NOTES_MAINTAIN 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_deleted  TYPE STRING, "   
lv_application  TYPE STRING, "   
lv_entity  TYPE STRING, "   
lv_illegal_function  TYPE STRING, "   
lv_not_found  TYPE STRING, "   
lv_flg_save_in_updt  TYPE STRING, "   SPACE
lv_function  TYPE STRING, "   'D'
lv_not_saved  TYPE STRING, "   
lv_key  TYPE STRING, "   
lv_new_key  TYPE STRING, "   SPACE
lv_titel  TYPE STRING. "   SPACE

  CALL FUNCTION 'NOTES_MAINTAIN'  "NOTRANSL: Notizbuchfunktion (Testen, Anz., Anl./Korr., Sichern, Löschen, I
    EXPORTING
         APPLICATION = lv_application
         ENTITY = lv_entity
         FLG_SAVE_IN_UPDT = lv_flg_save_in_updt
         FUNCTION = lv_function
         KEY = lv_key
         NEW_KEY = lv_new_key
         TITEL = lv_titel
    EXCEPTIONS
        DELETED = 1
        ILLEGAL_FUNCTION = 2
        NOT_FOUND = 3
        NOT_SAVED = 4
. " NOTES_MAINTAIN




ABAP code using 7.40 inline data declarations to call FM NOTES_MAINTAIN

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.

 
 
 
 
 
DATA(ld_flg_save_in_updt) = ' '.
 
DATA(ld_function) = 'D'.
 
 
 
DATA(ld_new_key) = ' '.
 
DATA(ld_titel) = ' '.
 


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!