The SAP table RESB is a cornerstone in managing material availability and requirements within an organization. Understanding its behavior, particularly the nature of its data and the generation of key identifiers like RSNUM, is crucial for anyone working with SAP's material management or production planning modules. This exploration, current as of May 8, 2025, delves into the intricacies of RESB.
The RESB table is a standard transparent table within SAP systems, including SAP R/3 and S/4HANA. Its primary function is to store detailed information about material reservations and dependent requirements. These are internal documents that signify a need to earmark or allocate specific materials for future use, such as for production orders, maintenance tasks, cost centers, or other consumption events.
A typical SAP screen showing details related to a material reservation, data often stored in or related to RESB.
RESB plays a vital role in the Material Management (MM) module, specifically within Inventory Management (MM-IM), and Production Planning (PP). By holding line-item details of reservations, it ensures that materials are effectively planned and made available, preventing stockouts and enabling smooth operational flows. Reservations can be created manually by users (e.g., via transaction MB21) or generated automatically by the system, for instance, as a result of Material Requirements Planning (MRP) runs or when production orders are created.
The RESB table comprises numerous fields that capture the specifics of each reservation item. Understanding these fields is key to interpreting the data accurately. Below is a table summarizing some of the most important fields:
| Field Name | Data Element | Description | Typical Data Type |
|---|---|---|---|
| MANDT | MANDT | Client | CLNT |
| RSNUM | RSNUM | Number of Reservation / Dependent Requirement | NUMC(10) |
| RSPOS | RSPOS | Item Number of Reservation / Dependent Requirement | NUMC(4) |
| RSART | RSART | Record type (e.g., 'AR' for automatic, 'MR' for manual reservation) | CHAR(2) |
| BDART | BDART | Requirement type | CHAR(2) |
| MATNR | MATNR | Material Number | CHAR(18) or CHAR(40) in S/4HANA |
| WERKS | WERKS_D | Plant | CHAR(4) |
| LGORT | LGORT_D | Storage Location | CHAR(4) |
| BDMNG | BDMNG | Requirement Quantity | QUAN |
| ENMNG | ENMNG | Quantity Withdrawn | QUAN |
| XLOEK | XLOEK | Deletion Indicator | CHAR(1) |
| KZEAR | KZEAR | Final Issue for Reservation Indicator | CHAR(1) |
| AUFNR | AUFNR | Order Number (e.g., Production Order) | CHAR(12) |
This table highlights some of the critical data points stored in RESB, facilitating the tracking and management of material commitments.
RESB does not exist in isolation. It is tightly integrated with various SAP modules and processes:
Your observation that the content of RESB seems to be recreated every day is common. However, it's crucial to understand that this is typically due to the highly dynamic nature of the data it holds and various system processes, rather than the table structure itself being deleted and rebuilt daily.
RESB stores active and current reservations. As business operations proceed:
Many organizations extract data from SAP into Business Intelligence (BI) tools (like Power BI, Tableau) or data warehouses (like SAP BW, or other external systems like Celonis) for reporting and analysis. These systems often require a daily snapshot of current data.
SAP systems frequently run batch jobs, often overnight:
Reservations have a lifecycle. They are created, materials are withdrawn against them, and eventually, they are marked as "final issue" or deleted (either manually or automatically). This constant turnover, especially in high-volume environments, contributes to the perception of daily "recreation" because the set of active reservations changes significantly from one day to the next.
In some custom scenarios or specific SAP industry solutions, RESB data (or a related temporary table) might be used in a more transient way, where data is staged, processed, and then cleared more aggressively as part of a defined daily or periodic workflow. This is less standard for RESB itself but can occur in related custom reporting or interface processes.
The RSNUM field is the primary key for identifying a reservation document in SAP. Understanding its generation and behavior is key to working with RESB data.
RSNUM stands for "Number of Reservation / Dependent Requirement." It is a unique, 10-digit numerical character (NUMC(10)) field. Each reservation document (which can contain multiple line items, each with its own RSPOS - Item Number) is assigned a unique RSNUM.
The RSNUM is generated internally and automatically by the SAP system whenever a new reservation document is created. This occurs:
RSNUM is unique within a client. Users typically cannot directly input or change an RSNUM; it is a system-controlled field.
The perception that RSNUM values are "recreated every day" is directly linked to the dynamic content of the RESB table itself:
RSNUM. If many new reservations are generated daily (e.g., from daily MRP runs or high production turnover), you will see many new RSNUMs appearing.RSNUMs (and associated RESB entries) are removed from the active table.RSNUMs being generated and old ones disappearing can lead to a significantly different set of RSNUM values in RESB on a day-to-day basis. This makes it appear as if the entire sequence of RSNUMs is regenerated, especially if the daily volume of new reservations is high.RSNUM assigned to a specific, still-active reservation will persist. It's the *population* of RSNUMs that changes due to the lifecycle of the reservation documents, not that individual, existing RSNUMs are arbitrarily changed for ongoing reservations.
The degree to which RESB data changes daily can vary significantly based on several operational factors. The radar chart below illustrates how different factors might contribute to this volatility in conceptual scenarios. A higher score (closer to the edge) indicates a greater impact on data churn within RESB.
This chart helps visualize that in environments with frequent MRP runs, high production changes, and daily data extractions for business intelligence, the RESB table will exhibit much higher data turnover.
To better understand the SAP table RESB and its interconnectedness, the following mind map illustrates its core aspects, relationships, and the factors influencing its data dynamics. It provides a bird's-eye view of RESB's role within the SAP environment.
This mind map highlights that RESB is central to material planning and is influenced by various master data, transactional data, and system processes.
Understanding how reservations are created is fundamental to grasping why RESB's content is so dynamic. The transaction MB21 is commonly used for manually creating material reservations. The following video provides a brief overview of this process.
This video demonstrates the MB21 transaction for creating material reservations in SAP, which directly populates the RESB table.
When a user executes MB21 and saves a new reservation, the SAP system generates a unique RSNUM and records the details (material, quantity, plant, movement type, etc.) as new entries in the RESB table. Similarly, automated processes like production order creation or MRP runs also populate RESB, contributing to its ever-changing dataset.