SAP Function Modules

RP_INTITLED_TO_IJSS SAP Function module







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

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


Pattern for FM RP_INTITLED_TO_IJSS - RP INTITLED TO IJSS





CALL FUNCTION 'RP_INTITLED_TO_IJSS' "
  EXPORTING
    pnppabrj =                  " qppnp-pabrj
    pnppabrp =                  " qppnp-pabrp
    pnpxabkr =                  " qppnp-xabkr
    abrdt =                     " p0003-abrdt
    ipernr =                    " pernr-pernr
    rrdate =                    " p0003-rrdaf
*   cas_general = 'Y'           "
*   local_currency = 'FRF'      " t500c-waers
    subty =                     " p0424-typar
  IMPORTING
    cotisation_maladie1 =       " pc207-betrg
    cotisation_maladie2 =       " pc207-betrg
    heures_travail =            " pc207-anzhl
    datbeg =                    " d
    datend =                    " d
    aheures =                   " p0003-koabr
  TABLES
    pp0003 =                    " p0003
    .  "  RP_INTITLED_TO_IJSS

ABAP code example for Function Module RP_INTITLED_TO_IJSS





The ABAP code below is a full code listing to execute function module RP_INTITLED_TO_IJSS 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_cotisation_maladie1  TYPE PC207-BETRG ,
ld_cotisation_maladie2  TYPE PC207-BETRG ,
ld_heures_travail  TYPE PC207-ANZHL ,
ld_datbeg  TYPE D ,
ld_datend  TYPE D ,
ld_aheures  TYPE P0003-KOABR ,
it_pp0003  TYPE STANDARD TABLE OF P0003,"TABLES PARAM
wa_pp0003  LIKE LINE OF it_pp0003 .


DATA(ld_pnppabrj) = Check type of data required

DATA(ld_pnppabrp) = Check type of data required

DATA(ld_pnpxabkr) = some text here

DATA(ld_abrdt) = 20210129

DATA(ld_ipernr) = Check type of data required

DATA(ld_rrdate) = 20210129
DATA(ld_cas_general) = 'some text here'.

SELECT single WAERS
FROM T500C
INTO @DATA(ld_local_currency).


DATA(ld_subty) = some text here

"populate fields of struture and append to itab
append wa_pp0003 to it_pp0003. . CALL FUNCTION 'RP_INTITLED_TO_IJSS' EXPORTING pnppabrj = ld_pnppabrj pnppabrp = ld_pnppabrp pnpxabkr = ld_pnpxabkr abrdt = ld_abrdt ipernr = ld_ipernr rrdate = ld_rrdate * cas_general = ld_cas_general * local_currency = ld_local_currency subty = ld_subty IMPORTING cotisation_maladie1 = ld_cotisation_maladie1 cotisation_maladie2 = ld_cotisation_maladie2 heures_travail = ld_heures_travail datbeg = ld_datbeg datend = ld_datend aheures = ld_aheures TABLES pp0003 = it_pp0003 . " RP_INTITLED_TO_IJSS
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_cotisation_maladie1  TYPE PC207-BETRG ,
ld_pnppabrj  TYPE QPPNP-PABRJ ,
it_pp0003  TYPE STANDARD TABLE OF P0003 ,
wa_pp0003  LIKE LINE OF it_pp0003,
ld_cotisation_maladie2  TYPE PC207-BETRG ,
ld_pnppabrp  TYPE QPPNP-PABRP ,
ld_heures_travail  TYPE PC207-ANZHL ,
ld_pnpxabkr  TYPE QPPNP-XABKR ,
ld_datbeg  TYPE D ,
ld_abrdt  TYPE P0003-ABRDT ,
ld_datend  TYPE D ,
ld_ipernr  TYPE PERNR-PERNR ,
ld_aheures  TYPE P0003-KOABR ,
ld_rrdate  TYPE P0003-RRDAF ,
ld_cas_general  TYPE STRING ,
ld_local_currency  TYPE T500C-WAERS ,
ld_subty  TYPE P0424-TYPAR .


ld_pnppabrj = Check type of data required

"populate fields of struture and append to itab
append wa_pp0003 to it_pp0003.

ld_pnppabrp = Check type of data required

ld_pnpxabkr = some text here

ld_abrdt = 20210129

ld_ipernr = Check type of data required

ld_rrdate = 20210129
ld_cas_general = 'some text here'.

SELECT single WAERS
FROM T500C
INTO ld_local_currency.


ld_subty = 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 RP_INTITLED_TO_IJSS or its description.