Fonction SAP BAPI_PROCESS_MESSAGE_CHK_EXIST - Check Process Message Existence

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
PROCESSMESSAGE BAPI_RCOMH-PROC_MESS_ID N 18 Import: Process Message Number

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Export: System Messages on Method Call

Functionality
Using this method, you check whether a processmessage has been created in the SAP system.

Notes
Authorizations
You need the following authorization to carry out the method:
Authorization object,,Field ,,Value
C_MESS_WRK ,,Plant ,,Plant of process message
,,Activity ,,03 (Display process message)
Messages to be checked
In parameter ProcessMessage, you pass on the number of theprocess message whose existence you want to check to the SAP system.
System Messages
System messages issued during method processing are returned inparameter Return. For information on possible system messages andtheir meaning, see the parameter documentation.

Further information
For more information on process messages, see the SAP Library, sectionPP - Production Planning - Process Industries -> ProcessManagement -> Process Messages.

Description
In this table, the SAP system returns messages issued during the methodcall.

Value range
Type,,ID ,,Number,,Message
E ,,CB1,,001 ,,An internal error has occurred
E ,,CB1,,305 ,,Message & not created in the system
E ,,CB1,,306 ,,Message & already being processed
S ,,CB1,,307 ,,Message & created

Description
For information on the meaning of the message number, see thedocumentation of the corresponding data element:
Process message number

Value range
See the ABAP Dictionary