SAP Function Modules

FVD_NOTEPAY_OL_INIT SAP Function module - Global Data Procurement







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

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


Pattern for FM FVD_NOTEPAY_OL_INIT - FVD NOTEPAY OL INIT





CALL FUNCTION 'FVD_NOTEPAY_OL_INIT' "Global Data Procurement
* EXPORTING
*   i_bukrs =                   " bukrs         Company Code
*   i_ranl =                    " ranl          Contract Number
*   i_ntrans =                  " vvntrans      Transaction data key: Consecutive number
*   i_dtrans =                  " vvdtrans      Flow data key: System date
*   i_ttrans =                  " vvttrans      Transaction data key: system time
*   i_zlsch =                   " dzlsch        Payment Method
*   i_waers =                   " waers         Currency Key
*   i_gsart =                   " vvsart        Product Type
*   i_land1 =                   " land1         Country Key
*   i_nverf =                   " nverf         Disposal number within an outpayment
*   i_ucomm =                   " sy-ucomm      Screens, Function Code That Triggered PAI
    .  "  FVD_NOTEPAY_OL_INIT

ABAP code example for Function Module FVD_NOTEPAY_OL_INIT





The ABAP code below is a full code listing to execute function module FVD_NOTEPAY_OL_INIT 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_i_bukrs) = 'Check type of data required'.
DATA(ld_i_ranl) = 'Check type of data required'.
DATA(ld_i_ntrans) = 'Check type of data required'.
DATA(ld_i_dtrans) = 'Check type of data required'.
DATA(ld_i_ttrans) = 'Check type of data required'.
DATA(ld_i_zlsch) = 'Check type of data required'.
DATA(ld_i_waers) = 'Check type of data required'.
DATA(ld_i_gsart) = 'Check type of data required'.
DATA(ld_i_land1) = 'Check type of data required'.
DATA(ld_i_nverf) = 'Check type of data required'.
DATA(ld_i_ucomm) = 'some text here'. . CALL FUNCTION 'FVD_NOTEPAY_OL_INIT' * EXPORTING * i_bukrs = ld_i_bukrs * i_ranl = ld_i_ranl * i_ntrans = ld_i_ntrans * i_dtrans = ld_i_dtrans * i_ttrans = ld_i_ttrans * i_zlsch = ld_i_zlsch * i_waers = ld_i_waers * i_gsart = ld_i_gsart * i_land1 = ld_i_land1 * i_nverf = ld_i_nverf * i_ucomm = ld_i_ucomm . " FVD_NOTEPAY_OL_INIT
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_i_bukrs  TYPE BUKRS ,
ld_i_ranl  TYPE RANL ,
ld_i_ntrans  TYPE VVNTRANS ,
ld_i_dtrans  TYPE VVDTRANS ,
ld_i_ttrans  TYPE VVTTRANS ,
ld_i_zlsch  TYPE DZLSCH ,
ld_i_waers  TYPE WAERS ,
ld_i_gsart  TYPE VVSART ,
ld_i_land1  TYPE LAND1 ,
ld_i_nverf  TYPE NVERF ,
ld_i_ucomm  TYPE SY-UCOMM .

ld_i_bukrs = 'some text here'.
ld_i_ranl = 'some text here'.
ld_i_ntrans = 'some text here'.
ld_i_dtrans = 'some text here'.
ld_i_ttrans = 'some text here'.
ld_i_zlsch = 'some text here'.
ld_i_waers = 'some text here'.
ld_i_gsart = 'some text here'.
ld_i_land1 = 'some text here'.
ld_i_nverf = 'some text here'.
ld_i_ucomm = 'some text here'.

SAP Documentation for FM FVD_NOTEPAY_OL_INIT


The function module sets the global parameters for the current contract and the disbursement in the function group FVD_NOTEPAY_OL. ...See here for full SAP fm documentation








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