Create a protocol-Entry in the table beas_protokoll
(same as function protokoll), but this function have a lot of more parameters, tab-separated
protocol=<parameter=value><tab><parameter=value>
prior=(0-2)  | 
Priority 0=normal, 2=high  | 
area=x  | 
Description about area  | 
error  | 
set Prior 2  | 
info=x (text=x, information=x)  | 
set the Protocol-Text  | 
saperrorid=x  | 
set the sap-Error-Id  | 
beaserrorid=x  | 
set the beas-Error-Id  | 
doctype=x, basedoctype=x  | 
set the type of current document Example wo=workorder precalc=pre calculation  | 
base_docentry=x, docentry=x, belnr_id=x  | 
set the document-Nr  | 
base_line, base_linenum, linenum, lineentry, belpos_id  | 
set the Line-Number  | 
base_linenum2, base_line2,, linenum2, pos_id  | 
set the second Line Number  | 
base_info, knd_id, itemcode, art_id, art1_id  | 
set the base-link as String  | 
(all other)  | 
set to the Info-String  | 
Example
protocol=error<tab>area=itemcode<tab>&
   info=Update Error<tab>&
   base_info=<itemcode><tab>&
   base_type=itemcode
if you need a message and a protocol, then the syntax is
message=error (shortprotocol)$errormessage-id$errorMessage
base-types
wo  | 
Workorder  | 
precalc  | 
Precalculation  | 
system  | 
System  | 
Old Syntax
tools=protokoll=prior <0-2>=<area>=<information>