SAP Function Modules

SCPRPRINT_SELECTION_SCREEN SAP Function module







SCPRPRINT_SELECTION_SCREEN is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name SCPRPRINT_SELECTION_SCREEN into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: SCPRPRINT
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM SCPRPRINT_SELECTION_SCREEN - SCPRPRINT SELECTION SCREEN





CALL FUNCTION 'SCPRPRINT_SELECTION_SCREEN' "
  EXPORTING
    bcset = SPACE               " scpr_id       Business Configuration Set
*   category = SPACE            " scpr_ctgry
*   act_id = SPACE              " scpr_handl    BC Sets: Activation Log and Links Key
*   druckausgabe = SPACE        " char1         Single-Character Flag
*   i_bcset_uebersicht = 'X'    " char1         Single-Character Flag
*   i_tabellen_uebersicht = 'X'  " char1        Single-Character Flag
*   i_datensatz_uebersicht = 'X'  " char1       Single-Character Flag
*   i_felduebersicht = SPACE    " char1         Single-Character Flag
*   i_mehrsprachig = SPACE      " char1         Single-Character Flag
*   i_alle_tabellenfelder = SPACE  " char1      Single-Character Flag
*   i_img_path = SPACE          " char1         Single-Character Flag
*   i_maximale_ausgabebreite = 120  " i         Dummy for B20 int1 (Local Everywhere)
*   i_variablenuebersicht = SPACE  " char1      Single-Character Flag
  IMPORTING
    e_bcset_uebersicht =        " char1         Single-Character Flag
    e_tabellen_uebersicht =     " char1         Single-Character Flag
    e_datensatz_uebersicht =    " char1         Single-Character Flag
    e_felduebersicht =          " char1         Single-Character Flag
    e_mehrsprachig =            " char1         Single-Character Flag
    e_alle_tabellenfelder =     " char1         Single-Character Flag
    e_img_path =                " char1         Single-Character Flag
    e_maximale_ausgabebreite =   " i
    e_variablenuebersicht =     " char1         Single-Character Flag
    .  "  SCPRPRINT_SELECTION_SCREEN

ABAP code example for Function Module SCPRPRINT_SELECTION_SCREEN





The ABAP code below is a full code listing to execute function module SCPRPRINT_SELECTION_SCREEN including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_bcset_uebersicht  TYPE CHAR1 ,
ld_e_tabellen_uebersicht  TYPE CHAR1 ,
ld_e_datensatz_uebersicht  TYPE CHAR1 ,
ld_e_felduebersicht  TYPE CHAR1 ,
ld_e_mehrsprachig  TYPE CHAR1 ,
ld_e_alle_tabellenfelder  TYPE CHAR1 ,
ld_e_img_path  TYPE CHAR1 ,
ld_e_maximale_ausgabebreite  TYPE I ,
ld_e_variablenuebersicht  TYPE CHAR1 .

DATA(ld_bcset) = 'Check type of data required'.
DATA(ld_category) = 'Check type of data required'.
DATA(ld_act_id) = 'Check type of data required'.
DATA(ld_druckausgabe) = 'Check type of data required'.
DATA(ld_i_bcset_uebersicht) = 'Check type of data required'.
DATA(ld_i_tabellen_uebersicht) = 'Check type of data required'.
DATA(ld_i_datensatz_uebersicht) = 'Check type of data required'.
DATA(ld_i_felduebersicht) = 'Check type of data required'.
DATA(ld_i_mehrsprachig) = 'Check type of data required'.
DATA(ld_i_alle_tabellenfelder) = 'Check type of data required'.
DATA(ld_i_img_path) = 'Check type of data required'.
DATA(ld_i_maximale_ausgabebreite) = 'Check type of data required'.
DATA(ld_i_variablenuebersicht) = 'Check type of data required'. . CALL FUNCTION 'SCPRPRINT_SELECTION_SCREEN' EXPORTING bcset = ld_bcset * category = ld_category * act_id = ld_act_id * druckausgabe = ld_druckausgabe * i_bcset_uebersicht = ld_i_bcset_uebersicht * i_tabellen_uebersicht = ld_i_tabellen_uebersicht * i_datensatz_uebersicht = ld_i_datensatz_uebersicht * i_felduebersicht = ld_i_felduebersicht * i_mehrsprachig = ld_i_mehrsprachig * i_alle_tabellenfelder = ld_i_alle_tabellenfelder * i_img_path = ld_i_img_path * i_maximale_ausgabebreite = ld_i_maximale_ausgabebreite * i_variablenuebersicht = ld_i_variablenuebersicht IMPORTING e_bcset_uebersicht = ld_e_bcset_uebersicht e_tabellen_uebersicht = ld_e_tabellen_uebersicht e_datensatz_uebersicht = ld_e_datensatz_uebersicht e_felduebersicht = ld_e_felduebersicht e_mehrsprachig = ld_e_mehrsprachig e_alle_tabellenfelder = ld_e_alle_tabellenfelder e_img_path = ld_e_img_path e_maximale_ausgabebreite = ld_e_maximale_ausgabebreite e_variablenuebersicht = ld_e_variablenuebersicht . " SCPRPRINT_SELECTION_SCREEN
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_bcset_uebersicht  TYPE CHAR1 ,
ld_bcset  TYPE SCPR_ID ,
ld_category  TYPE SCPR_CTGRY ,
ld_e_tabellen_uebersicht  TYPE CHAR1 ,
ld_e_datensatz_uebersicht  TYPE CHAR1 ,
ld_act_id  TYPE SCPR_HANDL ,
ld_e_felduebersicht  TYPE CHAR1 ,
ld_druckausgabe  TYPE CHAR1 ,
ld_e_mehrsprachig  TYPE CHAR1 ,
ld_i_bcset_uebersicht  TYPE CHAR1 ,
ld_e_alle_tabellenfelder  TYPE CHAR1 ,
ld_i_tabellen_uebersicht  TYPE CHAR1 ,
ld_e_img_path  TYPE CHAR1 ,
ld_i_datensatz_uebersicht  TYPE CHAR1 ,
ld_e_maximale_ausgabebreite  TYPE I ,
ld_i_felduebersicht  TYPE CHAR1 ,
ld_e_variablenuebersicht  TYPE CHAR1 ,
ld_i_mehrsprachig  TYPE CHAR1 ,
ld_i_alle_tabellenfelder  TYPE CHAR1 ,
ld_i_img_path  TYPE CHAR1 ,
ld_i_maximale_ausgabebreite  TYPE I ,
ld_i_variablenuebersicht  TYPE CHAR1 .

ld_bcset = 'Check type of data required'.
ld_category = 'Check type of data required'.
ld_act_id = 'Check type of data required'.
ld_druckausgabe = 'Check type of data required'.
ld_i_bcset_uebersicht = 'Check type of data required'.
ld_i_tabellen_uebersicht = 'Check type of data required'.
ld_i_datensatz_uebersicht = 'Check type of data required'.
ld_i_felduebersicht = 'Check type of data required'.
ld_i_mehrsprachig = 'Check type of data required'.
ld_i_alle_tabellenfelder = 'Check type of data required'.
ld_i_img_path = 'Check type of data required'.
ld_i_maximale_ausgabebreite = 'Check type of data required'.
ld_i_variablenuebersicht = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name SCPRPRINT_SELECTION_SCREEN or its description.