Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAPScript: includung a domain documentation in a data element documentation

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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.

0 Kudos

Hi Andreas

Thanks for sharing this information.

Danke fuer die Auskunft!

Pushpraj