SAP TRANSACTION_TYPE_SELECT_S_H Function Module for NOTRANSL: Selektion einer Bewegungsart Soll/Haben









TRANSACTION_TYPE_SELECT_S_H is a standard transaction type select s h 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: Selektion einer Bewegungsart Soll/Haben 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 transaction type select s h FM, simply by entering the name TRANSACTION_TYPE_SELECT_S_H into the relevant SAP transaction such as SE37 or SE38.

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



Function TRANSACTION_TYPE_SELECT_S_H 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 'TRANSACTION_TYPE_SELECT_S_H'"NOTRANSL: Selektion einer Bewegungsart Soll/Haben
EXPORTING
I_RANTYP = "Contract Type
I_SBEWZITI = "Flow category
* I_SKOGRP = '000' "Condition Group
I_SSOLHAB = "Debit/credit indicator

IMPORTING
E_SBEWART = "Flow type
E_TZB0A = "Definition of flow types

EXCEPTIONS
SBEWART_1_2_NOT_FOUND = 1 SBEWZITI_NOT_FOUND = 2
.



IMPORTING Parameters details for TRANSACTION_TYPE_SELECT_S_H

I_RANTYP - Contract Type

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

I_SBEWZITI - Flow category

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

I_SKOGRP - Condition Group

Data type: TZK04-SKOGRP
Default: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SSOLHAB - Debit/credit indicator

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

EXPORTING Parameters details for TRANSACTION_TYPE_SELECT_S_H

E_SBEWART - Flow type

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

E_TZB0A - Definition of flow types

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

EXCEPTIONS details

SBEWART_1_2_NOT_FOUND -

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

SBEWZITI_NOT_FOUND -

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

Copy and paste ABAP code example for TRANSACTION_TYPE_SELECT_S_H 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_i_rantyp  TYPE TZBBB-RANTYP, "   
lv_e_sbewart  TYPE TZB0A-SBEWART, "   
lv_sbewart_1_2_not_found  TYPE TZB0A, "   
lv_e_tzb0a  TYPE TZB0A, "   
lv_i_sbewziti  TYPE TZBBB-SBEWZITI, "   
lv_sbewziti_not_found  TYPE TZBBB, "   
lv_i_skogrp  TYPE TZK04-SKOGRP, "   '000'
lv_i_ssolhab  TYPE TZB0A-SSOLHAB. "   

  CALL FUNCTION 'TRANSACTION_TYPE_SELECT_S_H'  "NOTRANSL: Selektion einer Bewegungsart Soll/Haben
    EXPORTING
         I_RANTYP = lv_i_rantyp
         I_SBEWZITI = lv_i_sbewziti
         I_SKOGRP = lv_i_skogrp
         I_SSOLHAB = lv_i_ssolhab
    IMPORTING
         E_SBEWART = lv_e_sbewart
         E_TZB0A = lv_e_tzb0a
    EXCEPTIONS
        SBEWART_1_2_NOT_FOUND = 1
        SBEWZITI_NOT_FOUND = 2
. " TRANSACTION_TYPE_SELECT_S_H




ABAP code using 7.40 inline data declarations to call FM TRANSACTION_TYPE_SELECT_S_H

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 RANTYP FROM TZBBB INTO @DATA(ld_i_rantyp).
 
"SELECT single SBEWART FROM TZB0A INTO @DATA(ld_e_sbewart).
 
 
 
"SELECT single SBEWZITI FROM TZBBB INTO @DATA(ld_i_sbewziti).
 
 
"SELECT single SKOGRP FROM TZK04 INTO @DATA(ld_i_skogrp).
DATA(ld_i_skogrp) = '000'.
 
"SELECT single SSOLHAB FROM TZB0A INTO @DATA(ld_i_ssolhab).
 


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!