SAP BUS_SCREEN_CALL Function Module for









BUS_SCREEN_CALL is a standard bus screen call SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 bus screen call FM, simply by entering the name BUS_SCREEN_CALL into the relevant SAP transaction such as SE37 or SE38.

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



Function BUS_SCREEN_CALL 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 'BUS_SCREEN_CALL'"
EXPORTING
* I_ACTION = '2' "Step
* I_DYNID = ' ' "
* I_VARTP = ' ' "
* I_POSNR = ' ' "
* I_SICHT_START = ' ' "
.



IMPORTING Parameters details for BUS_SCREEN_CALL

I_ACTION - Step

Data type: BUS000FLDS-CHAR1
Default: '2'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DYNID -

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

I_VARTP -

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

I_POSNR -

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

I_SICHT_START -

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

Copy and paste ABAP code example for BUS_SCREEN_CALL 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_action  TYPE BUS000FLDS-CHAR1, "   '2'
lv_i_dynid  TYPE TBZ3A-DYNID, "   SPACE
lv_i_vartp  TYPE TBZ3N-VARTP, "   SPACE
lv_i_posnr  TYPE TBZ3K-POSNR, "   SPACE
lv_i_sicht_start  TYPE TBZ3E-SICHT. "   SPACE

  CALL FUNCTION 'BUS_SCREEN_CALL'  "
    EXPORTING
         I_ACTION = lv_i_action
         I_DYNID = lv_i_dynid
         I_VARTP = lv_i_vartp
         I_POSNR = lv_i_posnr
         I_SICHT_START = lv_i_sicht_start
. " BUS_SCREEN_CALL




ABAP code using 7.40 inline data declarations to call FM BUS_SCREEN_CALL

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 CHAR1 FROM BUS000FLDS INTO @DATA(ld_i_action).
DATA(ld_i_action) = '2'.
 
"SELECT single DYNID FROM TBZ3A INTO @DATA(ld_i_dynid).
DATA(ld_i_dynid) = ' '.
 
"SELECT single VARTP FROM TBZ3N INTO @DATA(ld_i_vartp).
DATA(ld_i_vartp) = ' '.
 
"SELECT single POSNR FROM TBZ3K INTO @DATA(ld_i_posnr).
DATA(ld_i_posnr) = ' '.
 
"SELECT single SICHT FROM TBZ3E INTO @DATA(ld_i_sicht_start).
DATA(ld_i_sicht_start) = ' '.
 


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!