Ansicht
Dokumentation

OMS_QUERY_JOBS -

OMS_QUERY_JOBS -

ROGBILLS - Synchronize billing plans   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is used to query the status of jobs in an Output Management System (OMS). The jobs to query are passed to the JOBS table. This table is also used for the return of the job status information. The table entries are partially filled by the calling program. The status information is filled by the function module.

The calling program enters the following job information from the R/3 System:

  • R/3 spool request ID of the OMS job
  • Number of the print request for the spool request
  • OMS job ID
  • Name of the logical OMS (LOMS) through which the request was distributed
  • Validity ID

The only data relevant for the OMS are the OMS job ID and the validity ID. The other data is for information purposes, but is important for assigning the reported status information within the R/3 System (this information must not be altered by the function module.

For the table entries processed by the call, that is, the entries filled with status information, the function module must set the validity ID to 'X'. The calling program sets the initial value of the field to "space".

The following are other IDs that are only important for the OMS command interface:

  • ' ' Not processed
  • 'X' Processed and filled
  • 'L' Logical OMS unknown
  • 'C' No command configured for desired action and LOMS
  • 'O' OMS command not output for this job
  • 'F' Error in output format of OMS command
  • 'E' OMS command cannot be executed for relevant LOMS
  • 'R' RFC connection problems
  • 'S' Desired action not supported for relevant LOMS

If the table entry is marked as valid, the other fields for the entry must be filled with the corresponding status information. The value '00' für "status code" means 'unknown'.

For more information about calling and configuring this function module, see the documentation for the function module OMS_QUERY_DEVICE.

Example

Notes

Further information

OMS_QUERY_DEVICE





Parameters

JOBS

Exceptions

ANSWER_FORMAT_ERROR
COMMAND_EXECUTION_FAILED
ILLEGAL_STRUCT_LENGTH
LINE_COUNT_ERROR
NOT_SUPPORTED
NO_ANSWER
NO_COMMAND
UNKNOWN_LOMS
UNKNOWN_PRINTER

Function Group

SEXT

Vendor Master (General Section)   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2856 Date: 20240605 Time: 205015     sap01-206 ( 60 ms )