SAP Function Modules

ISH_EXPORT_DOWN_PAYMENT_DATA SAP Function module







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

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


Pattern for FM ISH_EXPORT_DOWN_PAYMENT_DATA - ISH EXPORT DOWN PAYMENT DATA





CALL FUNCTION 'ISH_EXPORT_DOWN_PAYMENT_DATA' "
  EXPORTING
    einri =                     " tn01-einri    Institution
    falnr =                     " nfal-falnr    Case Number
*   i_nfal =                    " nfal          IS-H: Case
*   i_npat =                    " npat          IS-H: Patient
    patnr =                     " npat-patnr    Patient Number
    is_ncir =                   " ncir          IS-H: Case-Related Insurance Relationships
* TABLES
*   nbewtab =                   " nbew          Table of Movements for Case
*   ndiatab =                   " ndia          Table of diagnoses for case
    .  "  ISH_EXPORT_DOWN_PAYMENT_DATA

ABAP code example for Function Module ISH_EXPORT_DOWN_PAYMENT_DATA





The ABAP code below is a full code listing to execute function module ISH_EXPORT_DOWN_PAYMENT_DATA 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:
it_nbewtab  TYPE STANDARD TABLE OF NBEW,"TABLES PARAM
wa_nbewtab  LIKE LINE OF it_nbewtab ,
it_ndiatab  TYPE STANDARD TABLE OF NDIA,"TABLES PARAM
wa_ndiatab  LIKE LINE OF it_ndiatab .


SELECT single EINRI
FROM TN01
INTO @DATA(ld_einri).


SELECT single FALNR
FROM NFAL
INTO @DATA(ld_falnr).

DATA(ld_i_nfal) = 'Check type of data required'.
DATA(ld_i_npat) = 'Check type of data required'.

SELECT single PATNR
FROM NPAT
INTO @DATA(ld_patnr).

DATA(ld_is_ncir) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_nbewtab to it_nbewtab.

"populate fields of struture and append to itab
append wa_ndiatab to it_ndiatab. . CALL FUNCTION 'ISH_EXPORT_DOWN_PAYMENT_DATA' EXPORTING einri = ld_einri falnr = ld_falnr * i_nfal = ld_i_nfal * i_npat = ld_i_npat patnr = ld_patnr is_ncir = ld_is_ncir * TABLES * nbewtab = it_nbewtab * ndiatab = it_ndiatab . " ISH_EXPORT_DOWN_PAYMENT_DATA
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_einri  TYPE TN01-EINRI ,
it_nbewtab  TYPE STANDARD TABLE OF NBEW ,
wa_nbewtab  LIKE LINE OF it_nbewtab,
ld_falnr  TYPE NFAL-FALNR ,
it_ndiatab  TYPE STANDARD TABLE OF NDIA ,
wa_ndiatab  LIKE LINE OF it_ndiatab,
ld_i_nfal  TYPE NFAL ,
ld_i_npat  TYPE NPAT ,
ld_patnr  TYPE NPAT-PATNR ,
ld_is_ncir  TYPE NCIR .


SELECT single EINRI
FROM TN01
INTO ld_einri.


"populate fields of struture and append to itab
append wa_nbewtab to it_nbewtab.

SELECT single FALNR
FROM NFAL
INTO ld_falnr.


"populate fields of struture and append to itab
append wa_ndiatab to it_ndiatab.
ld_i_nfal = 'Check type of data required'.
ld_i_npat = 'Check type of data required'.

SELECT single PATNR
FROM NPAT
INTO ld_patnr.

ld_is_ncir = '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 ISH_EXPORT_DOWN_PAYMENT_DATA or its description.