EDIFACT message guide · Statistics and reporting

RDRMES Raw data reporting

The UN/EDIFACT message used to report raw data in answer to predefined and identified questions, such as statistical surveys.

Sent by
Enterprise or other respondent
Received by
Statistical office or data collector
Standard
UN/EDIFACT · Batch message
X12 equivalent
No direct equivalent

What is the EDIFACT RDRMES message?

RDRMES is the UN/EDIFACT raw data reporting message. The directory defines it as a message sent in response to predefined and identified questions. Raw data are collected by many offices in the public and private sectors, much of it predefined and repetitive, and often coded so that it can be processed automatically.

Enterprises answering recurring statistical surveys, such as production, turnover or employment surveys, can send their answers as RDRMES instead of filling in forms. The collector then aggregates the raw data into statistics, which may be exchanged further with GESMES.

How the EDIFACT RDRMES message worksDiagram of the UN/EDIFACT RDRMES Raw data reporting message. Enterprise or other respondent sends it to statistical office or data collector. It usually starts the exchange. It is usually followed by GESMES. Inside the UNB and UNH envelopes, the directory D.21A requires, in the start of message: BGM (Beginning of message) and body and segment groups: the required SG3 loop with IDE (Identity) and the required SG6 loop with SCD (Structure component definition). 3 conditional segment groups are listed by their trigger segment.How the EDIFACT RDRMES message worksRaw data reporting: who sends it, where it fits and what the directory marks mandatory1 WHERE IT FITSUSUALLY FOLLOWSStarts the exchangeRDRMESSENDEREnterprise or otherrespondentRECEIVERStatistical office ordata collectorCONTRL syntax report back, if agreedUSUALLY FOLLOWED BYGESMESGeneric statistical2 WHAT DIRECTORY D.21A REQUIRESInterchange: sender and recipient IDsUNB … UNZMessage RDRMESUNH … UNTSTART OF MESSAGEBGMBeginning of messageBODY AND SEGMENT GROUPSMandatory group SG3 · repeats up to 9,999IDEIdentityMandatory group SG6 · repeats many timesSCDStructure component definition+ 3 conditional groups, starting with:NADBlue box: mandatory segment group. Conditional groups are listed by the trigger segment that starts them; a group is sent only when its data applies.Conditional segments outside groups are not drawn.Structure: mandatory segments and groups in the UN/EDIFACT directory D.21A listing for RDRMES. Your trading partner's implementation guide adds itsown requirements.
How the EDIFACT RDRMES message worksDiagram of the UN/EDIFACT RDRMES Raw data reporting message. Enterprise or other respondent sends it to statistical office or data collector. It usually starts the exchange. It is usually followed by GESMES. Inside the UNB and UNH envelopes, the directory D.21A requires, in the start of message: BGM (Beginning of message) and body and segment groups: the required SG3 loop with IDE (Identity) and the required SG6 loop with SCD (Structure component definition). 3 conditional segment groups are listed by their trigger segment.How the EDIFACT RDRMESmessage worksRaw data reporting: who sends it, where it fitsand what the directory marks mandatory1 WHERE IT FITSUSUALLY FOLLOWSStarts the exchangeRDRMESSENDEREnterprise orotherrespondentRECEIVERStatisticaloffice or datacollectorCONTRL syntax report back, if agreedUSUALLY FOLLOWED BYGESMESGeneric statistical2 WHAT DIRECTORY D.21A REQUIRESInterchange: sender and recipient IDs(UNB … UNZ)Message RDRMES (UNH … UNT)START OF MESSAGEBGMBeginning of messageBODY AND SEGMENT GROUPSMandatory group SG3 · repeats upto 9,999IDEIdentityMandatory group SG6 · repeatsmany timesSCDStructure componentdefinition+ 3 conditional groups, starting with:NADBlue box: mandatory segment group. Conditionalgroups are listed by the trigger segment thatstarts them; a group is sent only when its dataapplies. Conditional segments outside groups arenot drawn.Structure: mandatory segments and groups in theUN/EDIFACT directory D.21A listing for RDRMES.Your trading partner's implementation guide adds itsown requirements.

How to read this diagram: the top row shows who sends RDRMES, to whom, and which messages usually come before and after it. The lower part shows what the directory D.21A itself requires: the envelopes around RDRMES and the segments and segment groups it marks mandatory. Conditional groups are listed by their trigger segment rather than drawn in full. This is the directory's minimum, not a trading partner's requirement: a message implementation guide, such as an industry subset or a partner’s own guide, usually makes some conditional groups mandatory, restricts the codes and may use an older directory.

Expand diagram Download SVG

When it is used

  • Answering recurring statistical surveys
  • Reporting predefined data items to a collector
  • Replacing paper or web survey forms

Where it fits in the message flow

This message RDRMES Raw data reporting
Usually followed by GESMES Generic statistical

Structure

Mandatory segments in RDRMES (directory D.21A)

In UN/EDIFACT directory D.21A, the RDRMES message has 25 segment positions arranged in 8 segment groups. These are the segments and segment groups marked mandatory at message level, in order; a mandatory group is shown with the segment that starts it. Segments inside conditional groups are needed only when the group is used. This is the directory’s requirement, not your trading partner’s: each partner’s message implementation guide names the directory it uses, often an older one such as D.96A or D.01B where the structure can differ, makes some conditional segments mandatory and restricts the codes.

  • UNH
  • BGM
  • SG3 (IDE)
  • UNT

Practical example

RDRMES in practice

A manufacturer must report monthly production volumes and turnover to the national statistics office. Its ERP extracts the figures and sends an RDRMES answering each survey question by its identifier. The statistics office validates the answers and includes them in the monthly industrial statistics.

Implementation

Implementation considerations for RDRMES

  • Map survey question identifiers to internal data sources.
  • Submit answers within the survey calendar for each period.
  • Validate figures before submission to avoid follow-up queries.
  • Check which electronic formats the collector currently accepts.

Related messages

Related statistics and reporting messages

All 8 statistics and reporting messages

Need help with RDRMES?

ECOM maps, tests and monitors EDIFACT messages for your trading partners and integrates them with your ERP.