MDI: Method getDescription for data elements terminates

[] [] [] [] [] [] [] [] []

Symptom

Calling the MDI method getDescription() for a data element leads to a NullPointerException.
You receive the following stack traces:
java.lang.NullPointerException at com.sap.mdi.ddtypes.DDDataelement.getDescription(
DDDataelement.java:305)
at com.sap.dictionary.types.mdi.util.TextServices.getDescription(
TextServices.java:165)
or
com.sap.dictionary.types.mdi.util.TextServices.getQuickInfo(
DdDataType.java:219)
or the following SAP Java Connector (JCo) exception:
com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:
The function module “DD_DTEL_GET” cannot be used for ‘remote’ calls.
In addition, the method getReptext() may also be affected.
Other terms

MetaDataInterface, DDDataelement, Dictionary metadata, getDescription
Reason and Prerequisites

A NullPointerException occurs. The reason for this is that the called function module DD_DTEL_GET does not allow any remote accesses from the R/3 back end.
Solution

Set the function module to “remote-enabled” or implement the attached correction instructions or import the relevant Support Package.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment