SAP Table MSG0

Output Control: Basic Data

MSG0 (Output Control: Basic Data) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link MSG0 to other SAP tables.

MSG0 table fields

Field Data element Checktable Datatype Length Decimals
MANDT Client MANDT T000 CLNT 3 0
KAPPL Application for message conditions SNA_KAPPL CHAR 2 0
OBJKY Object key NA_OBJKEY CHAR 30 0
KSCHL Message type SNA_KSCHL CHAR 4 0
SPRAS Message language NA_SPRAS T002 LANG 1 0
PARNR Message partner NA_PARNR CHAR 10 0
PARVW Partner function (for example SH for ship-to party) SNA_PARVW CHAR 2 0
ERDAT Date on which status record was created NA_ERDAT DATS 8 0
ERUHR Time at which status record was created NA_ERUHR TIMS 6 0
ADRNR Address number AD_ADDRNUM CHAR 10 0
NACHA Message transmission medium NA_NACHA CHAR 1 0
1 Print output
2 Fax
4 Telex
5 External send
6 EDI
7 Simple Mail
8 Special function
9 Events (SAP Business Workflow)
A Distribution (ALE)
T Tasks (SAP Business Workflow)
ANZAL Number of messages (original + copies) NA_ANZAL DEC 2 0
VSZTP Dispatch time NA_VSZTP CHAR 1 0
1 Send with periodically scheduled job
2 Send with job, with additional time specification
3 Send with application own transaction
4 Send immediately (when saving the application)
VSDAT Requested date for sending message NA_VSDAT DATS 8 0
VSURA Requested time for sending message (from) NA_VSURA TIMS 6 0
VSURB Requested time for sending message (to) NA_VSURB TIMS 6 0
MANUE Message processed manually NA_MANUE CHAR 1 0
NULL No manual processing
X Message processed manually
DATVR Processing date NA_DATVR DATS 8 0
UHRVR Processing time NA_UHRVR TIMS 6 0
DATRE Date of the expected response to a message NA_DATRE DATS 8 0
USNAM User name USNAM CHAR 12 0
VSTAT Processing status of message NA_VSTAT CHAR 1 0
0 Not processed
1 Successfully processed
2 Incorrectly processed
AKTIV Active NA_AKTIV CHAR 1 0
TCODE Communication strategy CSTRATEGY TCSTR CHAR 4 0
LDEST Spool: Output device RSPOPNAME TSP03 CHAR 4 0
DSNAM Spool request: Name RSPO0NAME CHAR 6 0
DSUF1 Spool request: Suffix 1 RSPO1NAME CHAR 4 0
DSUF2 Spool request: Suffix 2 RSPO2NAME CHAR 12 0
DIMME Print immediately TDIMMED CHAR 1 0
NULL No
X Yes
DELET Release after output TDDELETE CHAR 1 0
NULL No
X Yes
TELFX Fax number NA_TELFX CHAR 31 0
TELX1 Telex number TELX1 CHAR 30 0
TELTX Teletex number TELTX CHAR 30 0
AENDE Change message flag NA_AENDE CHAR 1 0
NULL No change message
X Change message
REPET Repeatability of message NA_REPET CHAR 1 0
NULL Repetition allowed
1 Repetition allowed (dialog step)
2 Repetition not allowed
REPID Unused field NA_OBS008 CHAR 8 0
PFLD1 Unused field NA_OBS030 CHAR 30 0
PFLD2 Unused field NA_OBS030 CHAR 30 0
PFLD3 Unused field NA_OBS030 CHAR 30 0
PFLD4 WFMC: SAPscript form in 30-character field NA_TDFORM CHAR 30 0
PFLD5 WFMC: Function module for print formatting NA_LABEL TFDIR CHAR 30 0
PMID1 Unused field NA_OBS003 CHAR 3 0
PMID2 Unused field NA_OBS003 CHAR 3 0
PMID3 Unused field NA_OBS003 CHAR 3 0
PMID4 Unused field NA_OBS003 CHAR 3 0
PMID5 Unused field NA_OBS003 CHAR 3 0
TDNAME Object key (long) NA_OBJKY_L CHAR 70 0
TDID Text ID TDID TTXID CHAR 4 0
TDSPRAS Language Key SPRAS T002 LANG 1 0
EDIKEY Dunning Date (Used in Retail) NA_DUNNING_DATE CHAR 8 0
EDITRANS Dunning Time (Used in Retail) NA_DUNNING_TIME CHAR 6 0
SNDDR Send: As disregard SO_SND_DR CHAR 1 0
NULL Value for deactivated
X Value for activated
SNDEX Unused field NA_OBS001 CHAR 1 0
SNDCP Unused field NA_OBS001 CHAR 1 0
SNDBC Address type (1=Organization, 2=Person, 3=Contact person) AD_ADRTYPE CHAR 1 0
1 Organization, Company
2 Private address
3 Contact person (in company)
FORFB Requested Status BCS_RQST CHAR 1 0
N Never
E Only if Errors
D If Transferred
R If Read
A Always
PRIFB Setting for Which Statuses Are Reported by Mail BCS_STML CHAR 1 0
N Never
E Only if Errors
D If Transferred
R If Read
A Always
ACALL Unused field NA_OBS001 CHAR 1 0
OBJAC Unused field NA_OBS001 CHAR 1 0
OBJRR Unused field NA_OBS001 CHAR 1 0
OBJRN Unused field NA_OBS001 CHAR 1 0
OUTFL Unused field NA_OBS001 CHAR 1 0
OBJSNS Unused field NA_OBS001 CHAR 1 0
OBJPRI Unused field NA_OBS001 CHAR 1 0
OBJCP Unused field NA_OBS001 CHAR 1 0
NAUTO Message determined via conditions NA_NAUTO CHAR 1 0
X Yes
NULL No
TDRECEIVER Spool Recipient Name SYPRREC CHAR 12 0
TDDIVISION Spool Department Name SYPRABT CHAR 12 0
TDOCOVER Print: SAP cover page SYPRSAP CHAR 1 0
NULL Do Not Print
X Print
D Default (Printer Setting)
TDCOVTITLE Spool Description SYPRTXT CHAR 68 0
TDAUTORITY Print: Authorization SYPRBER CHAR 12 0
TDARMOD Print: Archiving mode SYARMOD CHAR 1 0
1 Print only
2 Archive only
3 Print and archive
OPTARCNR Archive number for optical archives NA_OPTAR NUMC 10 0
CMFPNR Error management number NA_CMF_NR NUMC 12 0
USRNAM WFMC: Address number, 12 characters NA_PERS_12 CHAR 12 0
EVENT Event SWO_EVENT CHAR 32 0
SORT1 Sort criteria for message status records NAST_SORTK CHAR 20 0
SORT2 Sort criteria for message status records NAST_SORTK CHAR 20 0
SORT3 Sort criteria for message status records NAST_SORTK CHAR 20 0
OBJTYPE Object type OJ_NAME TOJTB CHAR 10 0
TDSCHEDULE Send time request SKSCHEDULE CHAR 3 0
IMM Send immediately
NIG Send at night
TLAND Country Key LAND1 T005 CHAR 3 0
SELFL Selection flag SELKZ CHAR 1 0
NULL Not selected
* Selected and processed
X Selected but not yet processed
PCODE Single-Character Indicator CHAR1 CHAR 1 0
TABIX Row Index of Internal Tables SYTABIX INT4 10 0
MSGNA Output description NA_MSGNA CHAR 30 0
PARTX Name VTXTK CHAR 20 0
PNAME Name 1 NAME1_GP CHAR 35 0
PCITY City ORT01_GP CHAR 35 0
PRILO Spool: Location and naming of an output device RSPOPLOCAT CHAR 64 0
MATNR Material Number MATNR CHAR 18 0
MAKTX Material Description (Short Text) MAKTX CHAR 40 0
NBEAR Output cannot be changed manually NA_NBEAR CHAR 1 0
NULL Output can be changed manually
X Output cannot be changed manually
REFOB Sales and Distribution Document Number VBELN CHAR 10 0
DESCRP_NACHA Short Text for Fixed Values VAL_TEXT CHAR 60 0

MSG0 foreign key relationships

Table Field Foreign key table Foreign key field Check table Check field
MSG0 LDEST MSG0 LDEST TSP03 Spool: Printer declaration PADEST
MSG0 MANDT MSG0 MANDT T000 Clients MANDT
MSG0 OBJTYPE MSG0 OBJTYPE TOJTB Business object repository: Basic data NAME
MSG0 PFLD5 MSG0 PFLD5 TFDIR Function Module FUNCNAME
MSG0 SPRAS MSG0 SPRAS T002 Language Keys (Component BC-I18) SPRAS
MSG0 TCODE MSG0 MANDT TCSTR Communication strategy MANDT
MSG0 TCODE MSG0 TCODE TCSTR Communication strategy STRATEGY
MSG0 TDID 'OCS' TTXID Valid text IDs TDOBJECT
MSG0 TDID MSG0 TDID TTXID Valid text IDs TDID
MSG0 TDSPRAS MSG0 TDSPRAS T002 Language Keys (Component BC-I18) SPRAS
MSG0 TLAND MSG0 MANDT T005 Countries MANDT
MSG0 TLAND MSG0 TLAND T005 Countries LAND1