SAP BAPI errors
What is it?
This page lists SAP BAPI error message numbers and their internal SAP descriptions. These errors originate from SAP itself when the SAP Agent calls into the SAP system through the BAPI surface (logon, job control, log retrieval, and so on). Use this table to map a numeric value found in agent logs or a SAP-side trace to a SAP-side meaning.
Use your browser's find shortcut (Ctrl+F on Windows, Cmd+F on macOS) to search for the message number you saw in an agent log or SAP trace.
Error categories at a glance
| Range | Typical area |
|---|---|
'9' – '020' | Logon, logoff, version checking, and message log selection |
'021' – '033' | Logon state and parameter validation |
'046' – '088' | Job lookup, run state, parameters, spool, and event handling |
'089' – '101' | Parent/child relationships, masking, and selection |
'194' – '220' | Job edit, modify, release, and target server problems |
'221' – '236' | Step handling, target groups, and authorization checks |
Full error list
The following table contains error numbers and descriptions of SAP BAPI Error Codes.
| Message Number | Description |
|---|---|
| value 'XM', | xmi_messages |
| value '9', | msg_logon_gen |
| value '010' | msg_logon |
| value '011' | msg_logoff_gen |
| value '012' | msg_logoff |
| value '013' | msg_auditlevel_set |
| value '014' | msg_versions_get_gen |
| value '015' | msg_versions_get |
| value '016' | msg_version_check |
| value '017' | msg_interface_describe |
| value '018' | msg_logmsg_enter |
| value '019' | msg_log_select |
| value '020' | msg_message_formats_upload |
| value '021', | msg_already_logged_on_gen |
| value '022', | msg_already_logged_on |
| value '023', | msg_unknown_interface |
| value '024', | msg_unknown_version |
| value '025', | msg_logon_denied_gen |
| value '026', | msg_logon_denied |
| value '027', | msg_not_logged_on_gen |
| value '028', | msg_not_logged_on |
| value '029', | msg_invalid_range |
| value '030', | msg_cant_select |
| value '031', | msg_cant_log |
| value '032', | msg_cant_upload |
| value '033', | msg_invalid_parameters |
| value '043', | msg_problem_detected |
| value '035', | msg_reorg |
| value '037', | msg_reorg_gen |
| value '046', | msg_jobname_missing |
| value '047', | msg_jobid_missing |
| value '048', | msg_ext_user_missing |
| value '049', | msg_job_does_not_exist |
| value '050', | msg_progname_missing |
| value '051' | msg_no_archive_info |
| value '052', | msg_invalid_print_params |
| value '053', | msg_invalid_archive_params |
| value '054', | msg_no_release_privilege |
| value '055', | msg_job_not_active |
| value '056', | msg_no_abort_privilege |
| value '057', | msg_no_job_found |
| value '058' | msg_targethost_missing |
| value '059', | msg_no_jobsteps |
| value '060', | msg_no_job_protocol |
| value '061', | msg_empty_job_protocol |
| value '062', | msg_step_count_missing |
| value '063', | msg_no_spoollist |
| value '064', | msg_privilege_missing |
| value '065', | msg_invalid_spoolid |
| value '066', | msg_no_immediate_start_poss |
| value '067', | msg_no_resources_found |
| value '068', | msg_invalid_date_time |
| value '069', | msg_invalid_server_name |
| value '070', | msg_prog_has_no_variant |
| value '071', | msg_prog_does_not_exist |
| value '072', | msg_no_execute_privilege |
| value '073', | msg_prog_not_executable |
| value '074' | msg_no_variants_defined |
| value '075' | msg_invalid_select_option |
| value '076' | msg_select_param_missing |
| value '077' | msg_trace_before_call |
| value '078' | msg_select_jobname_missing |
| value '079' | msg_select_username_missing |
| value '080' | msg_cant_del_in_jobtable |
| value '081' | msg_cant_del_joblog |
| value '082' | msg_problem_pred_succ |
| value '083' | msg_commit_failed |
| value '084' | msg_no_delete_privilege |
| value '085' | msg_job_running |
| value '086' | msg_interface_reorg |
| value '087' | msg_interface_reorg_gen |
| value '088' | msg_parent_child_inconsistency |
| value '089' | msg_child_register_error |
| value '090' | msg_mask_error |
| value '091' | msg_param_missing |
| value '092' | msg_event_does_not_exist |
| value '093' | msg_event_raise_failed |
| value '094' | msg_job_confirmation_failed |
| value '095' | msg_wrong_confirmation_type |
| value '096' | msg_wrong_selection_par |
| value '097' | msg_parentchild_inactive |
| value '098' | msg_interception_inactive |
| value '099' | msg_wrong_counter |
| value '100' | msg_wrong_printer_name |
| value '101' | msg_selection_finished |
| value '194' | msg_cant_enq_job |
| value '195' | msg_cant_read_jobdata |
| value '196' | msg_cant_release_job |
| value '197' | msg_cant_set_jobstatus_in_db |
| value '198' | msg_cant_start_job_immediately |
| value '199' | msg_cant_update_jobdata |
| value '200' | msg_eventcnt_generation_error |
| value '201' | msg_invalid_dialog_type |
| value '202' | msg_invalid_new_jobdata |
| value '203' | msg_invalid_new_jobstatus |
| value '204' | msg_invalid_startdate |
| value '205' | msg_job_edit_failed |
| value '206' | msg_job_modify_canceled |
| value '207' | msg_job_not_modifiable_anymore |
| value '208' | msg_nothing_to_do |
| value '209' | msg_no_batch_on_target_host |
| value '210' | msg_no_batch_server_found |
| value '211' | msg_no_batch_wp_for_jobclass |
| value '212' | msg_no_modify_privilege_given |
| value '213' | msg_no_release_privilege_given |
| value '214' | msg_no_startdate_no_release |
| value '216' | msg_invalid_targetgroup |
| value '217' | msg_conflicting_targets |
| value '218' | msg_job_doesnt_have_steps |
| value '219' | msg_wrong_step_type |
| value '220' | msg_job_doesnt_have_this_step |
| value '221' | msg_cannot_get_priarc_params |
| value '222' | msg_cannot_read_job |
| value '223' | msg_cannot_modify_job |
| value '224' | msg_wrong_step_number |
| value '225' | msg_error_modifying_worktable |
| value '227' | msg_job_nosteps |
| value '228' | msg_jobcount_missing |
| value '229' | msg_invalid_target |
| value '230' | msg_error_reading_worktable |
| value '231' | msg_delete_line_error |
| value '232' | msg_no_step_info |
| value '233' | msg_wrong_action |
| value '234' | msg_no_change_authority |
| value '235' | msg_invalid_jobclass |
| value '236' | msg_wrong_client |
FAQs
Are these errors generated by the SAP Agent? No. They originate in SAP and are surfaced through the BAPI/XBP interface. The agent reports them in its logs but does not create them.
Where can I see one of these errors at runtime?
In the SAP Agent log files (SAPLSAM.log and SAPLSAMTrace.log). See Logging for log locations.
Source
BC-XBP 6.10 Background Scheduling Job Scheduling System WAS 6.10 (Version 2.0) Documentation. Walldorf, Germany: Systems, Applications & Products in Data Processing (SAP), 2002. http://www.sap.com/partners/icc/scenarios/technology/bc-xbp.asp/ (accessed May 21, 2004).