17.08.2013 Views

Data Interfaces

Data Interfaces

Data Interfaces

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Return Codes and System Fields<br />

© SAP AG<br />

Return codes:<br />

Value Meaning<br />

0 Successful<br />

< 1000 Error in dialog program<br />

> 1000 Error in batch input processing<br />

(see system fields)<br />

System fields:<br />

Field name Meaning<br />

SY-MSGID Message ID<br />

SY-MSGTY Message type (E,I,W,S,A)<br />

SY-MSGNO Message number<br />

SY-MSGV1 Message variable 1<br />

SY-MSGV2 Message variable 2<br />

SY-MSGV3 Message variable 3<br />

SY-MSGV4 Message variable 4<br />

To find out whether the processing of the called transaction was successful or not, you can read the<br />

return code value. There are also other system fields which contain the number, ID, type and variable of<br />

the dialog message output by the called transaction. You can use this information to display the message<br />

text (see following page).<br />

If you want to see all the messages output by the transaction, you should use the MESSAGES INTO<br />

option and then evaluate the contents of .

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!