SAP BANK_MAP_PP_START Function Module for









BANK_MAP_PP_START is a standard bank map pp start 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 bank map pp start FM, simply by entering the name BANK_MAP_PP_START into the relevant SAP transaction such as SE37 or SE38.

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



Function BANK_MAP_PP_START 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 'BANK_MAP_PP_START'"
EXPORTING
* I_PROGN = "Name of the Program/Report on an Application Process
* I_FLG_PACKFETCH_SEQ = "
* I_XSIMULRUN = ' ' "Indicator: simulation run
* I_MAXSTEPNO = '001' "Number of a Processing Step
* I_STR_APPL_PARAM = '#' "
* I_STR_PRINT = "Structure for Passing Print Parameters
* I_REF_LOGGER = "
* I_FLG_DEFAULT_EMSG = '+' "
* I_XLOG = "
* I_LOGEXTNUMBER = "Application Log: External ID
* I_TAB_LOG = "Data for Opening Message Objects in a Process
* I_PROGDATE = SY-DATUM "Date of Program Run
* I_X_SYNC = 'X' "
* I_X_USE_DIALOG_WP = "
* I_X_TRIGGER_START_BY_COMMIT = ' ' "Checkbox Field
* I_TAB_JOBDIST = "Jobs per Server Group and Server
* I_RUNID_EXT = "External Identification of a Mass Run
* I_FLG_FORCE_NEW_RUN = 'X' "
* I_FLG_UNIQUE_EXTID = "
I_APPLCATG = "Application Type in Parallel Processing
* I_PACKMAN_ID = "External ID of a Package Administrator Object
* I_TAS_PACKCR_PARAM = "Parameters for Package Generation
* I_FLG_PACKCR_ASYNC = "

IMPORTING
E_STR_RUNKEY = "ID of a Mass Run
E_RUNSTATUS = "Status of a Mass Run
E_RCD_APPL = "
E_TAB_LOGH = "Application Log: Log Handle Table
E_LOGEXTNUMBER = "Application Log: External ID
E_TAB_JOBS = "

EXCEPTIONS
NO_OUT_OF_SYNC = 1 NO_EXPORT_ALLOWED = 2 PACKMAN_INVALID = 3 PREPARE_FAILED = 4 START_FAILED = 5
.



IMPORTING Parameters details for BANK_MAP_PP_START

I_PROGN - Name of the Program/Report on an Application Process

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

I_FLG_PACKFETCH_SEQ -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

I_XSIMULRUN - Indicator: simulation run

Data type: BANK_DTE_PP_XSIMULRUN
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_MAXSTEPNO - Number of a Processing Step

Data type: BANK_DTE_PP_STEPNO
Default: '001'
Optional: Yes
Call by Reference: Yes

I_STR_APPL_PARAM -

Data type:
Default: '#'
Optional: Yes
Call by Reference: Yes

I_STR_PRINT - Structure for Passing Print Parameters

Data type: PRI_PARAMS
Optional: Yes
Call by Reference: Yes

I_REF_LOGGER -

Data type: IF_BANK_PP_LOGGER
Optional: Yes
Call by Reference: Yes

I_FLG_DEFAULT_EMSG -

Data type: EMSG_USAGE_FLAG
Default: '+'
Optional: Yes
Call by Reference: Yes

I_XLOG -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

I_LOGEXTNUMBER - Application Log: External ID

Data type: BALNREXT
Optional: Yes
Call by Reference: Yes

I_TAB_LOG - Data for Opening Message Objects in a Process

Data type: BANK_TAB_JC_APPL_LOG_DATA
Optional: Yes
Call by Reference: Yes

I_PROGDATE - Date of Program Run

Data type: BANK_DTE_PP_PROGDATE
Default: SY-DATUM
Optional: Yes
Call by Reference: Yes

I_X_SYNC -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_X_USE_DIALOG_WP -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

I_X_TRIGGER_START_BY_COMMIT - Checkbox Field

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_TAB_JOBDIST - Jobs per Server Group and Server

Data type: BANK_TAB_GRP_SRV
Optional: Yes
Call by Reference: Yes

I_RUNID_EXT - External Identification of a Mass Run

Data type: BANK_DTE_PP_RUNID_EXT
Optional: Yes
Call by Reference: Yes

I_FLG_FORCE_NEW_RUN -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_FLG_UNIQUE_EXTID -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

I_APPLCATG - Application Type in Parallel Processing

Data type: BANK_DTE_PP_PAAPPLCATG
Optional: No
Call by Reference: Yes

I_PACKMAN_ID - External ID of a Package Administrator Object

Data type: BANK_DTE_PP_PMID_EXT
Optional: Yes
Call by Reference: Yes

I_TAS_PACKCR_PARAM - Parameters for Package Generation

Data type: BANK_TAS_PP_PACKCR_PARAM_EXT
Optional: Yes
Call by Reference: Yes

I_FLG_PACKCR_ASYNC -

Data type: BANK_DTE_PP_FLG_ASYNC_PACKCR
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for BANK_MAP_PP_START

E_STR_RUNKEY - ID of a Mass Run

Data type: BANK_STR_RUNKEY
Optional: No
Call by Reference: Yes

E_RUNSTATUS - Status of a Mass Run

Data type: BANK_DTE_PP_RUNSTATUS
Optional: No
Call by Reference: Yes

E_RCD_APPL -

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

E_TAB_LOGH - Application Log: Log Handle Table

Data type: BAL_T_LOGH
Optional: No
Call by Reference: Yes

E_LOGEXTNUMBER - Application Log: External ID

Data type: BALNREXT
Optional: No
Call by Reference: Yes

E_TAB_JOBS -

Data type: BANK_TAB_JC_JOBKEY
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_OUT_OF_SYNC -

Data type:
Optional: No
Call by Reference: Yes

NO_EXPORT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

PACKMAN_INVALID -

Data type:
Optional: No
Call by Reference: Yes

PREPARE_FAILED -

Data type:
Optional: No
Call by Reference: Yes

START_FAILED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BANK_MAP_PP_START 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_progn  TYPE BANK_DTE_PP_PROGN, "   
lv_e_str_runkey  TYPE BANK_STR_RUNKEY, "   
lv_no_out_of_sync  TYPE BANK_STR_RUNKEY, "   
lv_i_flg_packfetch_seq  TYPE XFELD, "   
lv_i_xsimulrun  TYPE BANK_DTE_PP_XSIMULRUN, "   SPACE
lv_i_maxstepno  TYPE BANK_DTE_PP_STEPNO, "   '001'
lv_i_str_appl_param  TYPE BANK_DTE_PP_STEPNO, "   '#'
lv_i_str_print  TYPE PRI_PARAMS, "   
lv_i_ref_logger  TYPE IF_BANK_PP_LOGGER, "   
lv_i_flg_default_emsg  TYPE EMSG_USAGE_FLAG, "   '+'
lv_i_xlog  TYPE XFELD, "   
lv_i_logextnumber  TYPE BALNREXT, "   
lv_i_tab_log  TYPE BANK_TAB_JC_APPL_LOG_DATA, "   
lv_i_progdate  TYPE BANK_DTE_PP_PROGDATE, "   SY-DATUM
lv_e_runstatus  TYPE BANK_DTE_PP_RUNSTATUS, "   
lv_no_export_allowed  TYPE BANK_DTE_PP_RUNSTATUS, "   
lv_i_x_sync  TYPE XFELD, "   'X'
lv_i_x_use_dialog_wp  TYPE XFELD, "   
lv_i_x_trigger_start_by_commit  TYPE XFELD, "   SPACE
lv_i_tab_jobdist  TYPE BANK_TAB_GRP_SRV, "   
lv_e_rcd_appl  TYPE SY-SUBRC, "   
lv_i_runid_ext  TYPE BANK_DTE_PP_RUNID_EXT, "   
lv_packman_invalid  TYPE BANK_DTE_PP_RUNID_EXT, "   
lv_e_tab_logh  TYPE BAL_T_LOGH, "   
lv_prepare_failed  TYPE BAL_T_LOGH, "   
lv_i_flg_force_new_run  TYPE XFELD, "   'X'
lv_start_failed  TYPE XFELD, "   
lv_e_logextnumber  TYPE BALNREXT, "   
lv_i_flg_unique_extid  TYPE XFELD, "   
lv_e_tab_jobs  TYPE BANK_TAB_JC_JOBKEY, "   
lv_i_applcatg  TYPE BANK_DTE_PP_PAAPPLCATG, "   
lv_i_packman_id  TYPE BANK_DTE_PP_PMID_EXT, "   
lv_i_tas_packcr_param  TYPE BANK_TAS_PP_PACKCR_PARAM_EXT, "   
lv_i_flg_packcr_async  TYPE BANK_DTE_PP_FLG_ASYNC_PACKCR. "   

  CALL FUNCTION 'BANK_MAP_PP_START'  "
    EXPORTING
         I_PROGN = lv_i_progn
         I_FLG_PACKFETCH_SEQ = lv_i_flg_packfetch_seq
         I_XSIMULRUN = lv_i_xsimulrun
         I_MAXSTEPNO = lv_i_maxstepno
         I_STR_APPL_PARAM = lv_i_str_appl_param
         I_STR_PRINT = lv_i_str_print
         I_REF_LOGGER = lv_i_ref_logger
         I_FLG_DEFAULT_EMSG = lv_i_flg_default_emsg
         I_XLOG = lv_i_xlog
         I_LOGEXTNUMBER = lv_i_logextnumber
         I_TAB_LOG = lv_i_tab_log
         I_PROGDATE = lv_i_progdate
         I_X_SYNC = lv_i_x_sync
         I_X_USE_DIALOG_WP = lv_i_x_use_dialog_wp
         I_X_TRIGGER_START_BY_COMMIT = lv_i_x_trigger_start_by_commit
         I_TAB_JOBDIST = lv_i_tab_jobdist
         I_RUNID_EXT = lv_i_runid_ext
         I_FLG_FORCE_NEW_RUN = lv_i_flg_force_new_run
         I_FLG_UNIQUE_EXTID = lv_i_flg_unique_extid
         I_APPLCATG = lv_i_applcatg
         I_PACKMAN_ID = lv_i_packman_id
         I_TAS_PACKCR_PARAM = lv_i_tas_packcr_param
         I_FLG_PACKCR_ASYNC = lv_i_flg_packcr_async
    IMPORTING
         E_STR_RUNKEY = lv_e_str_runkey
         E_RUNSTATUS = lv_e_runstatus
         E_RCD_APPL = lv_e_rcd_appl
         E_TAB_LOGH = lv_e_tab_logh
         E_LOGEXTNUMBER = lv_e_logextnumber
         E_TAB_JOBS = lv_e_tab_jobs
    EXCEPTIONS
        NO_OUT_OF_SYNC = 1
        NO_EXPORT_ALLOWED = 2
        PACKMAN_INVALID = 3
        PREPARE_FAILED = 4
        START_FAILED = 5
. " BANK_MAP_PP_START




ABAP code using 7.40 inline data declarations to call FM BANK_MAP_PP_START

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.

 
 
 
 
DATA(ld_i_xsimulrun) = ' '.
 
DATA(ld_i_maxstepno) = '001'.
 
DATA(ld_i_str_appl_param) = '#'.
 
 
 
DATA(ld_i_flg_default_emsg) = '+'.
 
 
 
 
DATA(ld_i_progdate) = SY-DATUM.
 
 
 
DATA(ld_i_x_sync) = 'X'.
 
 
DATA(ld_i_x_trigger_start_by_commit) = ' '.
 
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_e_rcd_appl).
 
 
 
 
 
DATA(ld_i_flg_force_new_run) = 'X'.
 
 
 
 
 
 
 
 
 


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!