SAP Function Modules

ISCD_BROK_STM_BATCH_POST SAP Function module - Broker Report - Basic Posting Module







ISCD_BROK_STM_BATCH_POST 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 ISCD_BROK_STM_BATCH_POST into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM ISCD_BROK_STM_BATCH_POST - ISCD BROK STM BATCH POST





CALL FUNCTION 'ISCD_BROK_STM_BATCH_POST' "Broker Report - Basic Posting Module
  EXPORTING
    i_ident =                   " ibrostmh-ident
    i_applc =                   " fkkop-applk
*   ix_postparm_upd = ' '       " boole-boole
*   i_postdate =                " budat_kk
*   i_docdate =                 " bldat
*   i_valdate =                 " valut
*   ix_payment_check = ' '      " boole-boole
*   i_bro_stmh =                " ibrostmh      ISCD: Broker Report - Header Data
*   i_broker_data =             " dimabroker    Broker-Specific Data in FS-CD
*   ix_dequeue =                " boole-boole
  IMPORTING
    e_status =                  " ibrostmh-status
  EXCEPTIONS
    PAYMENT_NOT_COMPLETE = 1    "
    DATA_NOT_FOUND = 2          "
    POST_ERROR = 3              "
    .  "  ISCD_BROK_STM_BATCH_POST

ABAP code example for Function Module ISCD_BROK_STM_BATCH_POST





The ABAP code below is a full code listing to execute function module ISCD_BROK_STM_BATCH_POST 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_status  TYPE IBROSTMH-STATUS .


SELECT single IDENT
FROM IBROSTMH
INTO @DATA(ld_i_ident).


DATA(ld_i_applc) = some text here

DATA(ld_ix_postparm_upd) = some text here
DATA(ld_i_postdate) = 'Check type of data required'.
DATA(ld_i_docdate) = 'Check type of data required'.
DATA(ld_i_valdate) = 'Check type of data required'.

DATA(ld_ix_payment_check) = some text here
DATA(ld_i_bro_stmh) = 'Check type of data required'.
DATA(ld_i_broker_data) = 'Check type of data required'.

DATA(ld_ix_dequeue) = some text here . CALL FUNCTION 'ISCD_BROK_STM_BATCH_POST' EXPORTING i_ident = ld_i_ident i_applc = ld_i_applc * ix_postparm_upd = ld_ix_postparm_upd * i_postdate = ld_i_postdate * i_docdate = ld_i_docdate * i_valdate = ld_i_valdate * ix_payment_check = ld_ix_payment_check * i_bro_stmh = ld_i_bro_stmh * i_broker_data = ld_i_broker_data * ix_dequeue = ld_ix_dequeue IMPORTING e_status = ld_e_status EXCEPTIONS PAYMENT_NOT_COMPLETE = 1 DATA_NOT_FOUND = 2 POST_ERROR = 3 . " ISCD_BROK_STM_BATCH_POST
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here 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_status  TYPE IBROSTMH-STATUS ,
ld_i_ident  TYPE IBROSTMH-IDENT ,
ld_i_applc  TYPE FKKOP-APPLK ,
ld_ix_postparm_upd  TYPE BOOLE-BOOLE ,
ld_i_postdate  TYPE BUDAT_KK ,
ld_i_docdate  TYPE BLDAT ,
ld_i_valdate  TYPE VALUT ,
ld_ix_payment_check  TYPE BOOLE-BOOLE ,
ld_i_bro_stmh  TYPE IBROSTMH ,
ld_i_broker_data  TYPE DIMABROKER ,
ld_ix_dequeue  TYPE BOOLE-BOOLE .


SELECT single IDENT
FROM IBROSTMH
INTO ld_i_ident.


ld_i_applc = some text here

ld_ix_postparm_upd = some text here
ld_i_postdate = 'Check type of data required'.
ld_i_docdate = 'Check type of data required'.
ld_i_valdate = 'Check type of data required'.

ld_ix_payment_check = some text here
ld_i_bro_stmh = 'Check type of data required'.
ld_i_broker_data = 'Check type of data required'.

ld_ix_dequeue = some text here

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 ISCD_BROK_STM_BATCH_POST or its description.