{"audience":"Payroll specialists and finance teams that calculate sales commissions and bonuses.","authorization_objects":[{"note":"Write authorization for personnel data, infotype 0015","object":"P_ORGIN"},{"note":"Check that prevents users from posting to their own personnel number","object":"P_PERNR"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"As long as the payment date is after the payroll accounted-to date, the record is calculated normally in the next payroll period. Posting into a past period is blocked by default; a separate option can be enabled for deliberate retroactive payments.","q":"Does payroll recalculate retroactively after the upload?"},{"a":"No. The result list contains only row number, personnel number, wage type and message; file contents and amounts are not stored permanently.","q":"Are amounts stored in the program log?"},{"a":"Yes. The same structure can be adapted to recurring payments with start and end dates in infotype 0014; the template and checks are defined separately and increase the effort range slightly.","q":"Can it also be used for infotype 0014 (recurring payments)?"}],"features":[{"code":"test_run","label":"Test mode (check without posting)","note":""},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"error_file","label":"Download failed lines as a separate file","note":"Corrected rows can be uploaded again with the same template."},{"code":"excel","label":"Export to Excel","note":"An empty upload template can be downloaded as Excel."},{"code":"background","label":"Runs as a background job","note":""}],"functions":[{"name":"BAPI_EMPLOYEE_ENQUEUE","role":"Locks the employee before posting"},{"name":"HR_INFOTYPE_OPERATION","role":"Creates the infotype 0015 record; called without commit in test mode"},{"name":"BAPI_EMPLOYEE_DEQUEUE","role":"Releases the lock after posting"}],"gap":"PA70 fast entry creates records for many employees on screen, but it does not read a file and its field layout is fixed. PA30 is for one employee. When payment lists with hundreds of rows from a sales or bonus system are keyed manually, there is a risk of wrong wage types, duplicate payments or postings into a closed period.","id":"hcm-additional-payment-upload","industries":[],"input_columns":[{"derived":false,"label":"Pers. no.","required":true,"rule":"","target_field":"PERNR","target_table":"PA0015"},{"derived":false,"label":"Wage type","required":true,"rule":"","target_field":"LGART","target_table":"PA0015"},{"derived":false,"label":"Amount","required":true,"rule":"","target_field":"BETRG","target_table":"PA0015"},{"derived":false,"label":"Currency","required":true,"rule":"","target_field":"WAERS","target_table":"PA0015"},{"derived":false,"label":"Payment date","required":true,"rule":"","target_field":"BEGDA","target_table":"PA0015"},{"derived":false,"label":"Number","required":false,"rule":"","target_field":"ANZHL","target_table":"PA0015"},{"derived":false,"label":"Unit","required":false,"rule":"","target_field":"ZEINH","target_table":"PA0015"},{"derived":false,"label":"Assignment no.","required":false,"rule":"","target_field":"ZUORD","target_table":"PA0015"}],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. The file (XLSX or CSV) is read from the user's PC or the application server; the first row is skipped as the header.\n2. Each row is checked: is the employee active on the payment date and in the selected payroll area (PA0001), is the wage type permitted for infotype 0015 (T512Z), are amount and currency filled, is the payment date after the payroll accounted-to date (PA0003-ABRDT).\n3. Duplicate check: if PA0015 already has a record with the same employee, wage type, date and assignment number, the row is rejected.\n4. The employee is locked with BAPI_EMPLOYEE_ENQUEUE; the record is created with HR_INFOTYPE_OPERATION (operation INS) and the lock is released with BAPI_EMPLOYEE_DEQUEUE. In test mode the function is called without commit (no-commit) and the change is rolled back.\n5. Result and message are listed per row; failed rows can be downloaded as a separate file. The program does not write file contents or amounts to a permanent log.","module":"HCM","object_type":"upload","output_columns":[{"calculated":true,"formula":"Row number in the file","label":"Row","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Pers. no.","source_field":"PERNR","source_table":"PA0015"},{"calculated":false,"formula":"","label":"Wage type","source_field":"LGART","source_table":"PA0015"},{"calculated":true,"formula":"From the checks and posting: posted, test OK or error","label":"Status","source_field":null,"source_table":null},{"calculated":true,"formula":"Check error or HR_INFOTYPE_OPERATION return message","label":"Message","source_field":null,"source_table":null}],"parameters":[{"example":"C:\\temp\\kasim_primleri.xlsx","kind":"parameter","label":"Upload file (XLSX or CSV)","name":"P_FILE","ref_field":"","required":true},{"example":"TM","kind":"parameter","label":"Payroll area","name":"P_ABKRS","ref_field":"PA0001-ABKRS","required":true},{"example":"X","kind":"checkbox","label":"Test mode (check without posting)","name":"P_TEST","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Reject duplicate records","name":"P_DUPL","ref_field":"","required":false}],"part_of":["hcm-pre-payroll-pack"],"performance":"Locking and posting happen per employee; processing rows of the same employee consecutively reduces the number of locks. Run files above a few thousand rows as a background job and do not upload while payroll is running (while the payroll control record is released for payroll).","quote_url":"https://nekuhub.com/en/request-a-quote/?report=hcm-additional-payment-upload","related":["hcm-absence-attendance-upload","hcm-bank-details-changed-control"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Fast entry creates records for many employees; does not read a file and has no duplicate check.","tcode":"PA70"},{"note":"Maintains infotype 0015 for one employee.","tcode":"PA30"}],"summary":"A custom program that posts bonuses, sales commissions, premiums and similar one-time payments from an Excel or CSV file to infotype 0015 in bulk. It checks that the wage type is permitted, the payroll period is open and the same payment has not been entered before; it runs in test mode first.","tables":[{"access":"write","join_on":"","role":"Additional payments: wage type, amount, currency, payment date, assignment number","table":"PA0015","variant":"both"},{"access":"read","join_on":"PA0001-PERNR = PA0015-PERNR","role":"Check of the active assignment and payroll area on the payment date","table":"PA0001","variant":"both"},{"access":"read","join_on":"PA0003-PERNR = PA0015-PERNR","role":"Payroll accounted-to date; postings into closed periods are blocked","table":"PA0003","variant":"both"},{"access":"read","join_on":"T512Z-LGART = PA0015-LGART","role":"Whether the wage type is permitted for infotype 0015","table":"T512Z","variant":"both"}],"title":"Mass Additional Payment (Infotype 0015) Upload Program","url":"https://nekuhub.com/en/programs/mass-additional-payment-infotype-0015-upload-program/","vendor_id":"nekudos"}