SAP TV_SELECT_RELEVANT_FLOWS Function Module for Herausfiltern Preis- und Cashflow-relevanter Bewegungen









TV_SELECT_RELEVANT_FLOWS is a standard tv select relevant flows SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Herausfiltern Preis- und Cashflow-relevanter Bewegungen 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 tv select relevant flows FM, simply by entering the name TV_SELECT_RELEVANT_FLOWS into the relevant SAP transaction such as SE37 or SE38.

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



Function TV_SELECT_RELEVANT_FLOWS 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 'TV_SELECT_RELEVANT_FLOWS'"Herausfiltern Preis- und Cashflow-relevanter Bewegungen
EXPORTING
BEW_ART = "
RANTYP = "
* SOFVERR = ' ' "
* SANLF = "

IMPORTING
FLG_FDIS = "
FLG_MTM = "
FLG_OTHER_RANTYP = "

EXCEPTIONS
NOT_IN_AT19 = 1 NOT_IN_TZB0A = 2
.



IMPORTING Parameters details for TV_SELECT_RELEVANT_FLOWS

BEW_ART -

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

RANTYP -

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

SOFVERR -

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

SANLF -

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

EXPORTING Parameters details for TV_SELECT_RELEVANT_FLOWS

FLG_FDIS -

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

FLG_MTM -

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

FLG_OTHER_RANTYP -

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

EXCEPTIONS details

NOT_IN_AT19 -

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

NOT_IN_TZB0A -

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

Copy and paste ABAP code example for TV_SELECT_RELEVANT_FLOWS 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_bew_art  TYPE TZB0A-SBEWART, "   
lv_flg_fdis  TYPE TZB0A-JFDBUC, "   
lv_not_in_at19  TYPE TZB0A, "   
lv_rantyp  TYPE TZB0A-RANTYP, "   
lv_flg_mtm  TYPE TZB0A-JFDBUC, "   
lv_not_in_tzb0a  TYPE TZB0A, "   
lv_sofverr  TYPE VZZBEPP-JSOFVERR, "   SPACE
lv_flg_other_rantyp  TYPE VZZBEPP, "   
lv_sanlf  TYPE JBRBEST-SANLF. "   

  CALL FUNCTION 'TV_SELECT_RELEVANT_FLOWS'  "Herausfiltern Preis- und Cashflow-relevanter Bewegungen
    EXPORTING
         BEW_ART = lv_bew_art
         RANTYP = lv_rantyp
         SOFVERR = lv_sofverr
         SANLF = lv_sanlf
    IMPORTING
         FLG_FDIS = lv_flg_fdis
         FLG_MTM = lv_flg_mtm
         FLG_OTHER_RANTYP = lv_flg_other_rantyp
    EXCEPTIONS
        NOT_IN_AT19 = 1
        NOT_IN_TZB0A = 2
. " TV_SELECT_RELEVANT_FLOWS




ABAP code using 7.40 inline data declarations to call FM TV_SELECT_RELEVANT_FLOWS

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 SBEWART FROM TZB0A INTO @DATA(ld_bew_art).
 
"SELECT single JFDBUC FROM TZB0A INTO @DATA(ld_flg_fdis).
 
 
"SELECT single RANTYP FROM TZB0A INTO @DATA(ld_rantyp).
 
"SELECT single JFDBUC FROM TZB0A INTO @DATA(ld_flg_mtm).
 
 
"SELECT single JSOFVERR FROM VZZBEPP INTO @DATA(ld_sofverr).
DATA(ld_sofverr) = ' '.
 
 
"SELECT single SANLF FROM JBRBEST INTO @DATA(ld_sanlf).
 


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!