SAP CS_BT_DTAB_MARK_BY_DATA Function Module for NOTRANSL: Markieren Eintrag in Dialogtabelle aufgrund Schnittstelleninform









CS_BT_DTAB_MARK_BY_DATA is a standard cs bt dtab mark by data 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: Markieren Eintrag in Dialogtabelle aufgrund Schnittstelleninform 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 cs bt dtab mark by data FM, simply by entering the name CS_BT_DTAB_MARK_BY_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function CS_BT_DTAB_MARK_BY_DATA 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 'CS_BT_DTAB_MARK_BY_DATA'"NOTRANSL: Markieren Eintrag in Dialogtabelle aufgrund Schnittstelleninform
EXPORTING
* ECLASS = ' ' "
* EKLART = ' ' "
ENAME = "
* EPOSNR = "
* EPOSTP = ' ' "
* ESORTF = ' ' "
* ESTKOZ = ' ' "Item counter
* ESTLAL = ' ' "
* ESTLKN = ' ' "
* ESTPOZ = ' ' "
* EGUID = ' ' "
* EDOKAR = ' ' "
* EEBORT = ' ' "
* EUPOSZ = ' ' "
* EWERKS = ' ' "
* FLG_AENKZ = ' ' "
* FLG_EXACT = ' ' "Indicator: set exactly
* FLG_IDENT = ' ' "
* FLG_CAD = ' ' "
* FLG_NO_TEMP_NODES = ' ' "
* EDOKNR = ' ' "
* EDOKTL = ' ' "
* EDOKVR = ' ' "
* EIDENT = ' ' "
* EIDNRK = ' ' "
* EIDPOS = ' ' "
* EIDVAR = ' ' "

IMPORTING
ATABIX = "

EXCEPTIONS
NOT_ONLY_ONE_HIT = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLCSBT_001 Order BOM (Knowledge Based): Set Status at Fix

IMPORTING Parameters details for CS_BT_DTAB_MARK_BY_DATA

ECLASS -

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

EKLART -

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

ENAME -

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

EPOSNR -

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

EPOSTP -

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

ESORTF -

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

ESTKOZ - Item counter

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

ESTLAL -

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

ESTLKN -

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

ESTPOZ -

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

EGUID -

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

EDOKAR -

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

EEBORT -

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

EUPOSZ -

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

EWERKS -

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

FLG_AENKZ -

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

FLG_EXACT - Indicator: set exactly

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

FLG_IDENT -

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

FLG_CAD -

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

FLG_NO_TEMP_NODES -

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

EDOKNR -

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

EDOKTL -

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

EDOKVR -

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

EIDENT -

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

EIDNRK -

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

EIDPOS -

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

EIDVAR -

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

EXPORTING Parameters details for CS_BT_DTAB_MARK_BY_DATA

ATABIX -

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

EXCEPTIONS details

NOT_ONLY_ONE_HIT -

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

Copy and paste ABAP code example for CS_BT_DTAB_MARK_BY_DATA 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_atabix  TYPE SY-TABIX, "   
lv_eclass  TYPE STPO-CLASS, "   SPACE
lv_not_only_one_hit  TYPE STPO, "   
lv_eklart  TYPE STPO-KLART, "   SPACE
lv_ename  TYPE CHAR5, "   
lv_eposnr  TYPE STPO-POSNR, "   
lv_epostp  TYPE STPO-POSTP, "   SPACE
lv_esortf  TYPE STPO-SORTF, "   SPACE
lv_estkoz  TYPE STKO-STKOZ, "   SPACE
lv_estlal  TYPE STKO-STLAL, "   SPACE
lv_estlkn  TYPE STPO-STLKN, "   SPACE
lv_estpoz  TYPE STPO-STPOZ, "   SPACE
lv_eguid  TYPE STPO-GUIDX, "   SPACE
lv_edokar  TYPE STPO-DOKAR, "   SPACE
lv_eebort  TYPE STPU-EBORT, "   SPACE
lv_euposz  TYPE STPU-UPOSZ, "   SPACE
lv_ewerks  TYPE MAST-WERKS, "   SPACE
lv_flg_aenkz  TYPE CSDATA-XFELD, "   SPACE
lv_flg_exact  TYPE CSDATA-XFELD, "   SPACE
lv_flg_ident  TYPE CSDATA-XFELD, "   SPACE
lv_flg_cad  TYPE CSDATA-XFELD, "   SPACE
lv_flg_no_temp_nodes  TYPE CSDATA-XFELD, "   SPACE
lv_edoknr  TYPE STPO-DOKNR, "   SPACE
lv_edoktl  TYPE STPO-DOKTL, "   SPACE
lv_edokvr  TYPE STPO-DOKVR, "   SPACE
lv_eident  TYPE RC29P-IDENT, "   SPACE
lv_eidnrk  TYPE STPO-IDNRK, "   SPACE
lv_eidpos  TYPE STPO-IDPOS, "   SPACE
lv_eidvar  TYPE STPO-IDVAR. "   SPACE

  CALL FUNCTION 'CS_BT_DTAB_MARK_BY_DATA'  "NOTRANSL: Markieren Eintrag in Dialogtabelle aufgrund Schnittstelleninform
    EXPORTING
         ECLASS = lv_eclass
         EKLART = lv_eklart
         ENAME = lv_ename
         EPOSNR = lv_eposnr
         EPOSTP = lv_epostp
         ESORTF = lv_esortf
         ESTKOZ = lv_estkoz
         ESTLAL = lv_estlal
         ESTLKN = lv_estlkn
         ESTPOZ = lv_estpoz
         EGUID = lv_eguid
         EDOKAR = lv_edokar
         EEBORT = lv_eebort
         EUPOSZ = lv_euposz
         EWERKS = lv_ewerks
         FLG_AENKZ = lv_flg_aenkz
         FLG_EXACT = lv_flg_exact
         FLG_IDENT = lv_flg_ident
         FLG_CAD = lv_flg_cad
         FLG_NO_TEMP_NODES = lv_flg_no_temp_nodes
         EDOKNR = lv_edoknr
         EDOKTL = lv_edoktl
         EDOKVR = lv_edokvr
         EIDENT = lv_eident
         EIDNRK = lv_eidnrk
         EIDPOS = lv_eidpos
         EIDVAR = lv_eidvar
    IMPORTING
         ATABIX = lv_atabix
    EXCEPTIONS
        NOT_ONLY_ONE_HIT = 1
. " CS_BT_DTAB_MARK_BY_DATA




ABAP code using 7.40 inline data declarations to call FM CS_BT_DTAB_MARK_BY_DATA

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 TABIX FROM SY INTO @DATA(ld_atabix).
 
"SELECT single CLASS FROM STPO INTO @DATA(ld_eclass).
DATA(ld_eclass) = ' '.
 
 
"SELECT single KLART FROM STPO INTO @DATA(ld_eklart).
DATA(ld_eklart) = ' '.
 
 
"SELECT single POSNR FROM STPO INTO @DATA(ld_eposnr).
 
"SELECT single POSTP FROM STPO INTO @DATA(ld_epostp).
DATA(ld_epostp) = ' '.
 
"SELECT single SORTF FROM STPO INTO @DATA(ld_esortf).
DATA(ld_esortf) = ' '.
 
"SELECT single STKOZ FROM STKO INTO @DATA(ld_estkoz).
DATA(ld_estkoz) = ' '.
 
"SELECT single STLAL FROM STKO INTO @DATA(ld_estlal).
DATA(ld_estlal) = ' '.
 
"SELECT single STLKN FROM STPO INTO @DATA(ld_estlkn).
DATA(ld_estlkn) = ' '.
 
"SELECT single STPOZ FROM STPO INTO @DATA(ld_estpoz).
DATA(ld_estpoz) = ' '.
 
"SELECT single GUIDX FROM STPO INTO @DATA(ld_eguid).
DATA(ld_eguid) = ' '.
 
"SELECT single DOKAR FROM STPO INTO @DATA(ld_edokar).
DATA(ld_edokar) = ' '.
 
"SELECT single EBORT FROM STPU INTO @DATA(ld_eebort).
DATA(ld_eebort) = ' '.
 
"SELECT single UPOSZ FROM STPU INTO @DATA(ld_euposz).
DATA(ld_euposz) = ' '.
 
"SELECT single WERKS FROM MAST INTO @DATA(ld_ewerks).
DATA(ld_ewerks) = ' '.
 
"SELECT single XFELD FROM CSDATA INTO @DATA(ld_flg_aenkz).
DATA(ld_flg_aenkz) = ' '.
 
"SELECT single XFELD FROM CSDATA INTO @DATA(ld_flg_exact).
DATA(ld_flg_exact) = ' '.
 
"SELECT single XFELD FROM CSDATA INTO @DATA(ld_flg_ident).
DATA(ld_flg_ident) = ' '.
 
"SELECT single XFELD FROM CSDATA INTO @DATA(ld_flg_cad).
DATA(ld_flg_cad) = ' '.
 
"SELECT single XFELD FROM CSDATA INTO @DATA(ld_flg_no_temp_nodes).
DATA(ld_flg_no_temp_nodes) = ' '.
 
"SELECT single DOKNR FROM STPO INTO @DATA(ld_edoknr).
DATA(ld_edoknr) = ' '.
 
"SELECT single DOKTL FROM STPO INTO @DATA(ld_edoktl).
DATA(ld_edoktl) = ' '.
 
"SELECT single DOKVR FROM STPO INTO @DATA(ld_edokvr).
DATA(ld_edokvr) = ' '.
 
"SELECT single IDENT FROM RC29P INTO @DATA(ld_eident).
DATA(ld_eident) = ' '.
 
"SELECT single IDNRK FROM STPO INTO @DATA(ld_eidnrk).
DATA(ld_eidnrk) = ' '.
 
"SELECT single IDPOS FROM STPO INTO @DATA(ld_eidpos).
DATA(ld_eidpos) = ' '.
 
"SELECT single IDVAR FROM STPO INTO @DATA(ld_eidvar).
DATA(ld_eidvar) = ' '.
 


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!