SAP Function Modules

FKK_PAYMENT_RUN_START SAP Function module







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

Associated Function Group: FKPY
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM FKK_PAYMENT_RUN_START - FKK PAYMENT RUN START





CALL FUNCTION 'FKK_PAYMENT_RUN_START' "
  EXPORTING
*   i_aktyp =                   " tfk090a-aktyp
    i_laufd =                   " fkkpy_dynp-laufd  Run Date
    i_laufi =                   " fkkpy_dynp-laufi  Run ID
*   i_xsimu = SPACE             " fkkpy_dynp-xsimu  Simulation Run
*   i_xcopy = 'X'               " boole-boole
*   i_copyd =                   " fkkpy_dynp-copyd
*   i_copyi =                   " fkkpy_dynp-copyi
*   i_strdt =                   " fkkpy_dynp-strdt  Start Date
*   i_strzt =                   " fkkpy_dynp-strzt  Start Time
*   i_xstrf = 'X'               " fkkpy_dynp-xstrf  Start immediately
*   i_xfkjogreets = SPACE       " boole-boole
  IMPORTING
    e_progn =                   " fkkdijob-progn  Job Name
    e_progid =                  " fkkdijob-progid  Program ID
  EXCEPTIONS
    INVALID_INPUT = 1           "               Incorrect Input
    FOREIGN_LOCK = 2            "
    SCHEDULE_FAILURE = 3        "
    COPY_FAILURE = 4            "
    TEMPLATE_NOT_FOUND = 5      "
    PARAMETERS_NOT_FOUND = 6    "
    PARAMETERS_ALREADY_EXIST = 7  "
    NOT_AUTHORIZED = 8          "
    .  "  FKK_PAYMENT_RUN_START

ABAP code example for Function Module FKK_PAYMENT_RUN_START





The ABAP code below is a full code listing to execute function module FKK_PAYMENT_RUN_START 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_progn  TYPE FKKDIJOB-PROGN ,
ld_e_progid  TYPE FKKDIJOB-PROGID .


SELECT single AKTYP
FROM TFK090A
INTO @DATA(ld_i_aktyp).


DATA(ld_i_laufd) = 20210129

DATA(ld_i_laufi) = some text here

DATA(ld_i_xsimu) = some text here

DATA(ld_i_xcopy) = some text here

DATA(ld_i_copyd) = 20210129

DATA(ld_i_copyi) = some text here

DATA(ld_i_strdt) = 20210129

DATA(ld_i_strzt) = Check type of data required

DATA(ld_i_xstrf) = some text here

DATA(ld_i_xfkjogreets) = some text here . CALL FUNCTION 'FKK_PAYMENT_RUN_START' EXPORTING * i_aktyp = ld_i_aktyp i_laufd = ld_i_laufd i_laufi = ld_i_laufi * i_xsimu = ld_i_xsimu * i_xcopy = ld_i_xcopy * i_copyd = ld_i_copyd * i_copyi = ld_i_copyi * i_strdt = ld_i_strdt * i_strzt = ld_i_strzt * i_xstrf = ld_i_xstrf * i_xfkjogreets = ld_i_xfkjogreets IMPORTING e_progn = ld_e_progn e_progid = ld_e_progid EXCEPTIONS INVALID_INPUT = 1 FOREIGN_LOCK = 2 SCHEDULE_FAILURE = 3 COPY_FAILURE = 4 TEMPLATE_NOT_FOUND = 5 PARAMETERS_NOT_FOUND = 6 PARAMETERS_ALREADY_EXIST = 7 NOT_AUTHORIZED = 8 . " FKK_PAYMENT_RUN_START
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 ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 5. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 6. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 7. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 8. "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_progn  TYPE FKKDIJOB-PROGN ,
ld_i_aktyp  TYPE TFK090A-AKTYP ,
ld_e_progid  TYPE FKKDIJOB-PROGID ,
ld_i_laufd  TYPE FKKPY_DYNP-LAUFD ,
ld_i_laufi  TYPE FKKPY_DYNP-LAUFI ,
ld_i_xsimu  TYPE FKKPY_DYNP-XSIMU ,
ld_i_xcopy  TYPE BOOLE-BOOLE ,
ld_i_copyd  TYPE FKKPY_DYNP-COPYD ,
ld_i_copyi  TYPE FKKPY_DYNP-COPYI ,
ld_i_strdt  TYPE FKKPY_DYNP-STRDT ,
ld_i_strzt  TYPE FKKPY_DYNP-STRZT ,
ld_i_xstrf  TYPE FKKPY_DYNP-XSTRF ,
ld_i_xfkjogreets  TYPE BOOLE-BOOLE .


SELECT single AKTYP
FROM TFK090A
INTO ld_i_aktyp.


ld_i_laufd = 20210129

ld_i_laufi = some text here

ld_i_xsimu = some text here

ld_i_xcopy = some text here

ld_i_copyd = 20210129

ld_i_copyi = some text here

ld_i_strdt = 20210129

ld_i_strzt = Check type of data required

ld_i_xstrf = some text here

ld_i_xfkjogreets = 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 FKK_PAYMENT_RUN_START or its description.