ISH_CALL_PAYMENT_DISTRIBUTION 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_CALL_PAYMENT_DISTRIBUTION into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
NPD1
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISH_CALL_PAYMENT_DISTRIBUTION' "
EXPORTING
ss_fkomk = " rnfk1
* ss_no_log = ' ' " npdok-xfeld
TABLES
ss_fkomp = " rnfp1
ss_xkomv_i = " komv Conditions
* ss_xkomv_e = " komv
ss_nleitab = " nlei
ss_nbewtab = " nbew
* ss_vbrk = " vbrk Billing Document: Header Data
* ss_vbrp = " vbrp Billing Document: Item Data
* ss_paym_distr_res = " rnpp0
EXCEPTIONS
ERROR_PAYMENT_DISTRIBUTION = 1 "
ERROR_FINISH_PD = 2 "
. " ISH_CALL_PAYMENT_DISTRIBUTION
The ABAP code below is a full code listing to execute function module ISH_CALL_PAYMENT_DISTRIBUTION 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).
| it_ss_fkomp | TYPE STANDARD TABLE OF RNFP1,"TABLES PARAM |
| wa_ss_fkomp | LIKE LINE OF it_ss_fkomp , |
| it_ss_xkomv_i | TYPE STANDARD TABLE OF KOMV,"TABLES PARAM |
| wa_ss_xkomv_i | LIKE LINE OF it_ss_xkomv_i , |
| it_ss_xkomv_e | TYPE STANDARD TABLE OF KOMV,"TABLES PARAM |
| wa_ss_xkomv_e | LIKE LINE OF it_ss_xkomv_e , |
| it_ss_nleitab | TYPE STANDARD TABLE OF NLEI,"TABLES PARAM |
| wa_ss_nleitab | LIKE LINE OF it_ss_nleitab , |
| it_ss_nbewtab | TYPE STANDARD TABLE OF NBEW,"TABLES PARAM |
| wa_ss_nbewtab | LIKE LINE OF it_ss_nbewtab , |
| it_ss_vbrk | TYPE STANDARD TABLE OF VBRK,"TABLES PARAM |
| wa_ss_vbrk | LIKE LINE OF it_ss_vbrk , |
| it_ss_vbrp | TYPE STANDARD TABLE OF VBRP,"TABLES PARAM |
| wa_ss_vbrp | LIKE LINE OF it_ss_vbrp , |
| it_ss_paym_distr_res | TYPE STANDARD TABLE OF RNPP0,"TABLES PARAM |
| wa_ss_paym_distr_res | LIKE LINE OF it_ss_paym_distr_res . |
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_ss_fkomk | TYPE RNFK1 , |
| it_ss_fkomp | TYPE STANDARD TABLE OF RNFP1 , |
| wa_ss_fkomp | LIKE LINE OF it_ss_fkomp, |
| ld_ss_no_log | TYPE NPDOK-XFELD , |
| it_ss_xkomv_i | TYPE STANDARD TABLE OF KOMV , |
| wa_ss_xkomv_i | LIKE LINE OF it_ss_xkomv_i, |
| it_ss_xkomv_e | TYPE STANDARD TABLE OF KOMV , |
| wa_ss_xkomv_e | LIKE LINE OF it_ss_xkomv_e, |
| it_ss_nleitab | TYPE STANDARD TABLE OF NLEI , |
| wa_ss_nleitab | LIKE LINE OF it_ss_nleitab, |
| it_ss_nbewtab | TYPE STANDARD TABLE OF NBEW , |
| wa_ss_nbewtab | LIKE LINE OF it_ss_nbewtab, |
| it_ss_vbrk | TYPE STANDARD TABLE OF VBRK , |
| wa_ss_vbrk | LIKE LINE OF it_ss_vbrk, |
| it_ss_vbrp | TYPE STANDARD TABLE OF VBRP , |
| wa_ss_vbrp | LIKE LINE OF it_ss_vbrp, |
| it_ss_paym_distr_res | TYPE STANDARD TABLE OF RNPP0 , |
| wa_ss_paym_distr_res | LIKE LINE OF it_ss_paym_distr_res. |
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_CALL_PAYMENT_DISTRIBUTION or its description.