{"audience":"Project controllers, engineering team leads and project offices that keep time records outside SAP.","authorization_objects":[{"note":"Confirmation posting authorization by plant and order type","object":"C_AFRU_AWK"},{"note":"Network authorization by plant and order type","object":"C_AFKO_AWK"}],"components":[],"countries":[],"effort_days_max":6,"effort_days_min":4,"effort_size":"M","faq":[{"a":"No. If cost and capacity are not tracked per person, the confirmation can be posted with only network, activity, date and hours. If a personnel number is given, it is checked against the HR master data.","q":"Is the personnel number mandatory?"},{"a":"They are cancelled with CN29 or BAPI_NETWORK_CONF_CANCEL using the confirmation number and counter in the result list. A mass cancel option can be added to the program if needed.","q":"How are wrongly uploaded confirmations reversed?"},{"a":"Yes. BAPI_NETWORK_CONF_ADD is supported for classic networks on S/4HANA.","q":"Can this program be used on S/4HANA?"}],"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":"Failed rows can be corrected and uploaded again with the same template."},{"code":"background","label":"Runs as a background job","note":"Files in the server folder are processed automatically by a nightly job."}],"functions":[{"name":"BAPI_NETWORK_CONF_ADD","role":"Posts network activity confirmations in bulk"},{"name":"BAPI_TRANSACTION_COMMIT","role":"Saves successful confirmations permanently"},{"name":"BAPI_TRANSACTION_ROLLBACK","role":"Rolls back changes in test mode or on error"}],"gap":"CN25 enters each confirmation on screen one at a time; the CN27 collective confirmation screen also needs the rows typed in. CATS requires every employee to record in CATS and an approval process. Companies that keep time records in an external tool or Excel need an upload that reads a file and prevents duplicate postings to transfer the weekly hours to the network.","id":"ps-network-confirmation-upload","industries":[],"input_columns":[{"derived":false,"label":"Personnel no","required":false,"rule":"","target_field":"PERNR","target_table":"AFRU"},{"derived":false,"label":"Network","required":true,"rule":"","target_field":"AUFNR","target_table":"AFRU"},{"derived":false,"label":"Activity","required":true,"rule":"","target_field":"VORNR","target_table":"AFRU"},{"derived":false,"label":"Posting date","required":true,"rule":"","target_field":"BUDAT","target_table":"AFRU"},{"derived":false,"label":"Actual work","required":true,"rule":"","target_field":"ISMNW","target_table":"AFRU"},{"derived":false,"label":"Unit","required":false,"rule":"","target_field":"ISMNE","target_table":"AFRU"},{"derived":false,"label":"Activity type","required":false,"rule":"","target_field":"LEARR","target_table":"AFRU"},{"derived":false,"label":"Final confirmation (X)","required":false,"rule":"","target_field":"AUERU","target_table":"AFRU"},{"derived":false,"label":"Confirmation text","required":false,"rule":"","target_field":"LTXA1","target_table":"AFRU"}],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. The file is read from the user's PC or, in a background job, from a folder on the application server; each row carries personnel number, network, activity, posting date, hours, unit, activity type, final confirmation flag and text.\n2. Checks: the network and activity must exist and be released and must not be technically completed; hours must be above zero; the activity type must fit the activity.\n3. Duplicate check: if a non-cancelled (STOKZ blank) AFRU confirmation already exists for the same personnel number, network, activity and date, the row is skipped.\n4. Rows are grouped by network and posted with BAPI_NETWORK_CONF_ADD; in test mode the BAPI is called with its test flag and BAPI_TRANSACTION_ROLLBACK follows.\n5. In a real run BAPI_TRANSACTION_COMMIT is done per network; the confirmation number and counter (RUECK, RMZHL) are written to the result list. The processed file is moved to an archive folder and failed rows are written to a separate file.","module":"PS","object_type":"interface","output_columns":[{"calculated":true,"formula":"Row number in the file","label":"Row","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Network","source_field":"AUFNR","source_table":"AFRU"},{"calculated":false,"formula":"","label":"Activity","source_field":"VORNR","source_table":"AFRU"},{"calculated":false,"formula":"","label":"Personnel no","source_field":"PERNR","source_table":"AFRU"},{"calculated":false,"formula":"","label":"Actual work","source_field":"ISMNW","source_table":"AFRU"},{"calculated":false,"formula":"","label":"Confirmation no","source_field":"RUECK","source_table":"AFRU"},{"calculated":false,"formula":"","label":"Confirmation counter","source_field":"RMZHL","source_table":"AFRU"},{"calculated":true,"formula":"Posted, skipped (duplicate) or error","label":"Status","source_field":null,"source_table":null},{"calculated":true,"formula":"First error or success message from the BAPI return table","label":"Message","source_field":null,"source_table":null}],"parameters":[{"example":"/interface/ps/timesheet/","kind":"parameter","label":"File or server folder","name":"P_FILE","ref_field":"","required":true},{"example":"X","kind":"checkbox","label":"Read from application server","name":"P_SERVER","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Test mode (check without posting)","name":"P_TEST","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Skip rows already posted","name":"P_SKIPD","ref_field":"","required":false}],"part_of":[],"performance":"Weekly files are usually a few thousand rows and are processed in minutes as a nightly job. Committing per network is enough for locking and error isolation. Rows that fail because the same network is locked in CN25 at the same time can be retried.","quote_url":"https://nekuhub.com/en/request-a-quote/?report=ps-network-confirmation-upload","related":["ps-network-activity-planned-vs-actual-hours","ps-project-structure-upload"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Enters a single activity confirmation on screen; does not read a file.","tcode":"CN25"},{"note":"Keeps time records in CATS; requires every employee to use CATS and a transfer/approval process.","tcode":"CAT2"}],"summary":"A custom interface program that posts personnel, network, activity, date and hours rows from an external time tracking tool or an Excel timesheet as network activity confirmations in bulk. It skips rows already posted, checks in test mode and lists the confirmation number of every row.","tables":[{"access":"write","join_on":"","role":"Confirmation record: personnel, hours, date, final flag; also read for the duplicate check","table":"AFRU","variant":"both"},{"access":"write","join_on":"","role":"Activity actual work total (updated by the confirmation)","table":"AFVV","variant":"both"},{"access":"read","join_on":"AFVC-AUFPL = AFRU-AUFPL AND AFVC-APLZL = AFRU-APLZL","role":"Activity existence and work center check","table":"AFVC","variant":"both"},{"access":"read","join_on":"AUFK-AUFNR = AFRU-AUFNR","role":"Network existence and plant","table":"AUFK","variant":"both"},{"access":"read","join_on":"JEST-OBJNR = AUFK-OBJNR","role":"Network status (released, not technically completed)","table":"JEST","variant":"both"}],"title":"Network Activity Confirmation Upload from Weekly Timesheets Program","url":"https://nekuhub.com/en/programs/network-activity-confirmation-upload-from-timesheets-program/","vendor_id":"nekudos"}