BAPIBANKDETAILSIMULATECREATINL 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 BAPIBANKDETAILSIMULATECREATINL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
PBNK_NL
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'BAPIBANKDETAILSIMULATECREATINL' "Simulation: Create Bank Details
EXPORTING
employeenumber = " bapip0009-pernr Personnel Number
validitybegin = " bapip0009-begda Valid From Date
validityend = " bapip0009-endda Valid To Date
* banktype = " bapip0009-bnksa Type of Bank Details Record
* paymentmethod = " bapip0009-zlsch Payment Method
* payee = " bapip0009-emftx Payee Text
* payeepostalcodecity = " bapip0009-bkplz Postal Code
* payeecity = " bapip0009-bkort Location
* bankcountry = " bapip0009-banks Country Key of Bank
* bankkey = " bapip0009-bankl Bank Key
* accountno = " bapip0009-bankn Bank Account Number
* standardvalue = " bapip0009-betrg Default Value
* currency = " bapip0009-waers Currency Key
* standardpercent = " bapip0009-anzhl Standard Percentage
* timeunit = " bapip0009-zeinh Time/Measurement Unit
* checkdigit = " bapip0009-bankp Check Digit for Bank/Account Numbers
* controlkey = " bapip0009-bkont Bank Control Key
* purpose = " bapip0009-zweck Note to Payee on Bank Transfers
* nocommit = " bapi_stand-no_commit COMMIT Control at BAPI Interface
* standardvaluecurr = " bapicurr-bapicurr Currency Amount in BAPI Interfaces
* iban = " bapip0009-iban
IMPORTING
return = " bapireturn1 Structure for Return Parameter
employeenumber = " bapip0009-pernr Personnel Number
subtype = " bapip0009-subty Subtype
objectid = " bapip0009-objps Object Identification
lockindicator = " bapip0009-sprps Lock Indicator for HR Master Record
validitybegin = " bapip0009-begda Valid From Date
validityend = " bapip0009-endda Valid To Date
recordnumber = " bapip0009-seqnr Number of Infotype Record
. " BAPIBANKDETAILSIMULATECREATINL
The ABAP code below is a full code listing to execute function module BAPIBANKDETAILSIMULATECREATINL 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).
| ld_return | TYPE BAPIRETURN1 , |
| ld_employeenumber | TYPE BAPIP0009-PERNR , |
| ld_subtype | TYPE BAPIP0009-SUBTY , |
| ld_objectid | TYPE BAPIP0009-OBJPS , |
| ld_lockindicator | TYPE BAPIP0009-SPRPS , |
| ld_validitybegin | TYPE BAPIP0009-BEGDA , |
| ld_validityend | TYPE BAPIP0009-ENDDA , |
| ld_recordnumber | TYPE BAPIP0009-SEQNR . |
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_return | TYPE BAPIRETURN1 , |
| ld_employeenumber | TYPE BAPIP0009-PERNR , |
| ld_employeenumber | TYPE BAPIP0009-PERNR , |
| ld_validitybegin | TYPE BAPIP0009-BEGDA , |
| ld_subtype | TYPE BAPIP0009-SUBTY , |
| ld_validityend | TYPE BAPIP0009-ENDDA , |
| ld_objectid | TYPE BAPIP0009-OBJPS , |
| ld_banktype | TYPE BAPIP0009-BNKSA , |
| ld_lockindicator | TYPE BAPIP0009-SPRPS , |
| ld_paymentmethod | TYPE BAPIP0009-ZLSCH , |
| ld_validitybegin | TYPE BAPIP0009-BEGDA , |
| ld_payee | TYPE BAPIP0009-EMFTX , |
| ld_payeepostalcodecity | TYPE BAPIP0009-BKPLZ , |
| ld_validityend | TYPE BAPIP0009-ENDDA , |
| ld_recordnumber | TYPE BAPIP0009-SEQNR , |
| ld_payeecity | TYPE BAPIP0009-BKORT , |
| ld_bankcountry | TYPE BAPIP0009-BANKS , |
| ld_bankkey | TYPE BAPIP0009-BANKL , |
| ld_accountno | TYPE BAPIP0009-BANKN , |
| ld_standardvalue | TYPE BAPIP0009-BETRG , |
| ld_currency | TYPE BAPIP0009-WAERS , |
| ld_standardpercent | TYPE BAPIP0009-ANZHL , |
| ld_timeunit | TYPE BAPIP0009-ZEINH , |
| ld_checkdigit | TYPE BAPIP0009-BANKP , |
| ld_controlkey | TYPE BAPIP0009-BKONT , |
| ld_purpose | TYPE BAPIP0009-ZWECK , |
| ld_nocommit | TYPE BAPI_STAND-NO_COMMIT , |
| ld_standardvaluecurr | TYPE BAPICURR-BAPICURR , |
| ld_iban | TYPE BAPIP0009-IBAN . |
You can use this method to simulate creating a datarecord for infotype
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 BAPIBANKDETAILSIMULATECREATINL or its description.
BAPIBANKDETAILSIMULATECREATINL - Simulation: Create Bank Details BAPIBANKDETAILGBSIMULATECREATN - Simulation: Create Bank Details BAPIADDRESSEMPSIMULATECREATION - Simulation: Create employee address BAPIADDREMPUS_SIMULATECREATION - Simulation: Create Employee Address BAPIADDREMPPL_SIMULATECREATION - Simulation: Mitarbeiteradresse anlegen BAPIADDREMPNL_SIMULATECREATION - Simulation: Create Employee Address