---
title: "BAPI_MATERIAL_GET_DETAIL space padding 3.0"
id: "bapi_material_get_detail-space-padding-3-0"
project: "Knowledge Base"
url: "https://docs.sepasoft.com/articles/knowledge-base/bapi_material_get_detail-space-padding-3-0"
updated: 2026-07-23T18:08:34Z
---

# BAPI\_MATERIAL\_GET\_DETAIL space padding 3\.0

## Problem

Using **BAPI\_MATERIAL\_GET\_DETAIL** on an all-numeric material (e.g., "12345678") gives the following error message: "*The material XXX does not exist or is not activated*"

 ## Solution

Using Transaction Code OMSL from the SAP GUI application, notice if the Lexicographical box is checked. If so, the material number must be space-padded on the *right* to 18 characters.

Example: "12345678" must be entered as "12345678 " ← 10 spaces

![](/resources/Storage/knowledge-base/bapi_material_get_detail-space-padding-3-0/image.png)