03-09-2009 1:10 PM
Dear ABAPers,
I have a couple of (self-defined) DDIC data elements referring all to the same domain. How does the SAPScript INCLUDE-command need to look like in order to include the domains text in the data element text? (which object and which ID needs to be provided for domain documentation?).
Thanks in advance
Andreas
03-09-2009 1:31 PM
Hi Andreas
What kind of documentation do you need?
I don't know of any ID or OBJECT to get the domain documentation.
However if you are looking for the descriptions of the fixed values the table DD07T might help.
Pushpraj
03-09-2009 1:31 PM
Hi Andreas
What kind of documentation do you need?
I don't know of any ID or OBJECT to get the domain documentation.
However if you are looking for the descriptions of the fixed values the table DD07T might help.
Pushpraj
03-09-2009 2:11 PM
Hi Pushpraj,
for any kind of DDIC-object (table, structure, data element, domain...) you can maintain documentation, which is saved as SAPScript (there is a button "Documentation" or in the case of the domains you have to go via the menu "Goto -> documentation"). In that sort of SAPScript-based texts you can basiscally include any other SAPScript-Text with the INCLUDE-Command.
Example: with SAPScript Command "INCLUDE BELEGART" you can reuse SAPs standard help-text for field BKPF-BLART. But usually the SAPScript INCLUDE command looks like this:
INCLUDE <name_of_text> OBJECT <object> ID <ID>.
Thanks
Andreas
Edited by: Andreas Fluegel on Mar 9, 2009 3:11 PM
03-09-2009 3:36 PM
Hi Pushpraj,
hi everybody,
I solved the problem myself by saving the help-text which is supposed to be reused in the documentation of a data type/element instead of a domain.
That works fine with the following SAPScript Command :
INCLUDE <element_name> OBJECT DOKU ID DE
The ID "DE" does not mean "language DE = german". It is an abbreviation for "Daten-Element" (data type/element). I expected it to work the same way for ID "DO" (=Domain), but it doesn't, at least not in the documentation texts of data types.
03-10-2009 5:05 AM
Hi Andreas
Thanks for sharing this information.
Danke fuer die Auskunft!
Pushpraj