Smart Forms Part 7: Texts, Translations and Language Handling
Preview · a free account unlocks the full lesson
Handle texts in Smart Forms: text elements, text modules (SMARTFORMS), include texts from SO10 and document texts (READ TEXT objects like VBBK), translation with SE63, language selection via CONTROL PARAMETERS-LANGU and NAST-SPRAS, and formatting with Smart Styles.
In this lessonShow sectionsHide sections
Visual overview
Explanation
Part 6 of this series printed data; most business forms also carry legal texts, terms, and document-specific notes, often in several languages, so this lesson covers how to handle text and translation properly. There are three sources of text.
Text elements are static text typed directly into a text node, which can include fields such as &GS_ITEM-ARKTX&; they get translated along with the form itself, but aren't reusable elsewhere.
Text modules, created under SMARTFORMS → Text module, hold reusable text — a company footer or legal terms, for example — shared across several forms, translated centrally in SE63, and changed once for every form that uses them.
Include texts, also called SAPscript texts, cover two cases: standard texts maintained in SO10, identified by a text name, an ID such as ST, object TEXT, and a language; and document texts, tied to objects like VBBK and VBBP (sales and billing header and item texts) or EKKO/EKPO (purchasing), named by the document number plus item, with a text ID such as 0001 or 0002.
Inside an include text node, the text name can itself be a variable, such as &IS_HEADER-VBELN&, the language can be a variable too, such as &IS_HEADER-SPRAS&, and there's an option for "No error if text does not exist."
Create a free account to keep reading
You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.
- Full explanation
- Code example
- Real project scenario
- Common mistakes
- Best practices
- Interview angle
One tap with Google works too. Every topic keeps its first lesson open to everyone.
Keep exploring
Interview questions on this topic
Related SAP topics
Referenced SAP objects
Reviewed reference pages for the objects this page mentions.
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.