Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>ProcessMessagePI



Index

ProcessMessagePI

ProcessMessagePI


The architecture area Process message contains the process
messages, which occur during the performance of the process.

These contain process message characteristics in which process features are described in value terms.


11-Dec-2005


Methods

Available Methods


  • CreateMultiple : CreateMultiple [ BAPI_PROCESS_MESSAGE_CREATEMLT ]
  • ExistenceCheck : ExistenceCheck [ BAPI_PROCESS_MESSAGE_CHK_EXIST ]

11-Dec-2005


CreateMultiple

CreateMultiple


Using this method, you create one or several process messages in the R/3 System.

You can, for example, use the method to transfer process messages from a process control system to process management in the R/3 System. These messages are processed in exactly the same way as manually created process messages or messages from
R/3 PI sheets
.

Notes

Authorizations

You need the following authorization to carry out the method:

Authorization object Field Value

C_MESS_WRK Plant Plant of the process message
Activity
01 (Create process message)

Message Data

In parameters ProcMessHeader, ProcMessCharac, and ProcMessTextlines, you pass on the data of the process messages to be created to the R/3 System.


The keys of the messages created are returned in parameter ProcessMessageNew.

System Messages

System messages issued during method processing are returned in the following parameters:

ProcMessHeaderReturn Messages on process messages


ProcMessCharacReturn Messages on message characteristics

Return General messages

For more information, see the parameter documentation.

Updating

To update the process messages in the R/3 System, you must carry out
the standard method for the commit work after the current method has been completed. You will find this standard method and thedocumentation in the Business Object Repository, section Cross-Application Components -> Business Framework
Architecture
.

If the commit work terminates, you can use method ProcessMessagePI.ExistenceCheck (Check existence of a process message) to determine whether the update was carried out.

Further Information

For more information on how process messages are processed, see the R/3 Library, section
PP - Production Planning - Process Industries
-> Process Management -> Process Messages.


11-Dec-2005


ExistenceCheck

ExistenceCheck


Using this method, you check whether a process message has been created in the R/3 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 the
process message whose existence you want to check to the R/3 System.

System Messages

System messages issued during method processing are returned in parameter Return. For information on possible system messages and their meaning, see the parameter documentation.


Further Information

For more information on process messages, see the R/3 Library, section PP - Production Planning - Process Industries -> Process Management -> Process Messages.


11-Dec-2005