SAP BPAR_C_NOTES_SELECT Function Module for NOTRANSL: Suchen von Notizen









BPAR_C_NOTES_SELECT is a standard bpar c notes select 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: Suchen 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 select FM, simply by entering the name BPAR_C_NOTES_SELECT 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_SELECT 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_SELECT'"NOTRANSL: Suchen von Notizen
EXPORTING
* FLG_ALL = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FLG_SAVE_IN_UPDT = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FUNCTION = 'C' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* LANGUAGE = SY-LANGU "ABAP System Field: Language Key of Text Environment
OBJECT_ID = "Texts: Application Object
TEXT_ID = "Text ID
* TDNAME = ' ' "Name

IMPORTING
FLG_MORE_LINES = "DE-EN-LANG-SWITCH-NO-TRANSLATION
LINE = "SAPscript: Text Lines

TABLES
TXHEADER = "SAPscript: Text Header

EXCEPTIONS
ERROR = 1 ILLEGAL_FUNCTION = 2 NOT_FOUND = 3
.



IMPORTING Parameters details for BPAR_C_NOTES_SELECT

FLG_ALL - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

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)

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

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

LANGUAGE - ABAP System Field: Language Key of Text Environment

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

OBJECT_ID - Texts: Application Object

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

TEXT_ID - Text ID

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

TDNAME - Name

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

EXPORTING Parameters details for BPAR_C_NOTES_SELECT

FLG_MORE_LINES - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

LINE - SAPscript: Text Lines

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

TABLES Parameters details for BPAR_C_NOTES_SELECT

TXHEADER - SAPscript: Text Header

Data type: THEAD
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_SELECT 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_all  TYPE STRING, "   SPACE
lt_txheader  TYPE STANDARD TABLE OF THEAD, "   
lv_flg_more_lines  TYPE THEAD, "   
lv_line  TYPE TLINE, "   
lv_flg_save_in_updt  TYPE TLINE, "   SPACE
lv_illegal_function  TYPE TLINE, "   
lv_function  TYPE TLINE, "   'C'
lv_not_found  TYPE TLINE, "   
lv_language  TYPE SY-LANGU, "   SY-LANGU
lv_object_id  TYPE THEAD-TDOBJECT, "   
lv_text_id  TYPE THEAD-TDID, "   
lv_tdname  TYPE THEAD-TDNAME. "   SPACE

  CALL FUNCTION 'BPAR_C_NOTES_SELECT'  "NOTRANSL: Suchen von Notizen
    EXPORTING
         FLG_ALL = lv_flg_all
         FLG_SAVE_IN_UPDT = lv_flg_save_in_updt
         FUNCTION = lv_function
         LANGUAGE = lv_language
         OBJECT_ID = lv_object_id
         TEXT_ID = lv_text_id
         TDNAME = lv_tdname
    IMPORTING
         FLG_MORE_LINES = lv_flg_more_lines
         LINE = lv_line
    TABLES
         TXHEADER = lt_txheader
    EXCEPTIONS
        ERROR = 1
        ILLEGAL_FUNCTION = 2
        NOT_FOUND = 3
. " BPAR_C_NOTES_SELECT




ABAP code using 7.40 inline data declarations to call FM BPAR_C_NOTES_SELECT

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_all) = ' '.
 
 
 
 
DATA(ld_flg_save_in_updt) = ' '.
 
 
DATA(ld_function) = 'C'.
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_language).
DATA(ld_language) = SY-LANGU.
 
"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) = ' '.
 


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!