Application Development and Automation 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: 
Read only

BAPI_DOCUMENT_GETDETAIL2 - Read classification

Former Member
0 Likes
881

Hi all,

i want to read the classification of a document.

I have already one document type where i use this fm successfully.

Now i have a new document type. If i want to read the classification of this type one entry is found.

CHARNAME: ZTEST

CHARVALUE:

The charname is correct but the charvalue is empty. The classification field in the document is filled with the letter "B".

For this field i use an own Z-domain with value range (fix values).

If i debug the fm i can see that the value "B" is in field VALUE_NEUTRAL and not in field VALUE (internal table LT_CHARS).

Any ideas?

regards

1 REPLY 1
Read only

Former Member
0 Likes
426

Hi,

i have found it by myself.

If i configure the characteristics value check with a fm the bapi_document_getdetail2 does not read the classification.

regards