SAP BPAR_C_NOTES_ASSIGN Function Module for NOTRANSL: Bearbeiten von Notizen
BPAR_C_NOTES_ASSIGN is a standard bpar c notes assign 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: Bearbeiten von Notizen 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 bpar c notes assign FM, simply by entering the name BPAR_C_NOTES_ASSIGN into the relevant SAP transaction such as SE37 or SE38.
Function Group: BPN1
Program Name: SAPLBPN1
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BPAR_C_NOTES_ASSIGN 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 'BPAR_C_NOTES_ASSIGN'"NOTRANSL: Bearbeiten von Notizen.
EXPORTING
* FLG_SAVE_IN_UPDT = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* TITLE_NOTE = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FUNCTION = 'D' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FUNC_ZUS = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* LANGUAGE = SY-LANGU "ABAP System Field: Language Key of Text Environment
* LINE = ' ' "SAPscript: Text Lines
OBJECT_ID = "Texts: Application Object
TEXT_ID = "Text ID
* TDNAME = ' ' "Name
* TDNAME_NEW = ' ' "Name
IMPORTING
FLG_CHANGED = "Note Changed
EXCEPTIONS
ERROR = 1 ILLEGAL_FUNCTION = 2 NOT_FOUND = 3
IMPORTING Parameters details for BPAR_C_NOTES_ASSIGN
FLG_SAVE_IN_UPDT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TITLE_NOTE - DE-EN-LANG-SWITCH-NO-TRANSLATION
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)
FUNC_ZUS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
LANGUAGE - ABAP System Field: Language Key of Text Environment
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
LINE - SAPscript: Text Lines
Data type: TLINEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJECT_ID - Texts: Application Object
Data type: THEAD-TDOBJECTOptional: No
Call by Reference: No ( called with pass by value option)
TEXT_ID - Text ID
Data type: THEAD-TDIDOptional: No
Call by Reference: No ( called with pass by value option)
TDNAME - Name
Data type: THEAD-TDNAMEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TDNAME_NEW - Name
Data type: THEAD-TDNAMEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BPAR_C_NOTES_ASSIGN
FLG_CHANGED - Note Changed
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR -
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 - 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 BPAR_C_NOTES_ASSIGN 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_error | TYPE STRING, " | |||
| lv_flg_changed | TYPE STRING, " | |||
| lv_flg_save_in_updt | TYPE STRING, " SPACE | |||
| lv_title_note | TYPE STRING, " SPACE | |||
| lv_function | TYPE STRING, " 'D' | |||
| lv_illegal_function | TYPE STRING, " | |||
| lv_func_zus | TYPE STRING, " SPACE | |||
| lv_not_found | TYPE STRING, " | |||
| lv_language | TYPE SY-LANGU, " SY-LANGU | |||
| lv_line | TYPE TLINE, " SPACE | |||
| lv_object_id | TYPE THEAD-TDOBJECT, " | |||
| lv_text_id | TYPE THEAD-TDID, " | |||
| lv_tdname | TYPE THEAD-TDNAME, " SPACE | |||
| lv_tdname_new | TYPE THEAD-TDNAME. " SPACE |
|   CALL FUNCTION 'BPAR_C_NOTES_ASSIGN' "NOTRANSL: Bearbeiten von Notizen |
| EXPORTING | ||
| FLG_SAVE_IN_UPDT | = lv_flg_save_in_updt | |
| TITLE_NOTE | = lv_title_note | |
| FUNCTION | = lv_function | |
| FUNC_ZUS | = lv_func_zus | |
| LANGUAGE | = lv_language | |
| LINE | = lv_line | |
| OBJECT_ID | = lv_object_id | |
| TEXT_ID | = lv_text_id | |
| TDNAME | = lv_tdname | |
| TDNAME_NEW | = lv_tdname_new | |
| IMPORTING | ||
| FLG_CHANGED | = lv_flg_changed | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| ILLEGAL_FUNCTION = 2 | ||
| NOT_FOUND = 3 | ||
| . " BPAR_C_NOTES_ASSIGN | ||
ABAP code using 7.40 inline data declarations to call FM BPAR_C_NOTES_ASSIGN
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_title_note) | = ' '. | |||
| DATA(ld_function) | = 'D'. | |||
| DATA(ld_func_zus) | = ' '. | |||
| "SELECT single LANGU FROM SY INTO @DATA(ld_language). | ||||
| DATA(ld_language) | = SY-LANGU. | |||
| DATA(ld_line) | = ' '. | |||
| "SELECT single TDOBJECT FROM THEAD INTO @DATA(ld_object_id). | ||||
| "SELECT single TDID FROM THEAD INTO @DATA(ld_text_id). | ||||
| "SELECT single TDNAME FROM THEAD INTO @DATA(ld_tdname). | ||||
| DATA(ld_tdname) | = ' '. | |||
| "SELECT single TDNAME FROM THEAD INTO @DATA(ld_tdname_new). | ||||
| DATA(ld_tdname_new) | = ' '. | |||
Search for further information about these or an SAP related objects