Skip to Content
author's profile photo Former Member
Former Member

Problem with DMS Classification data

Hello Friends,

Iam working in SAP DMS (Document Management System).

I want to change the Classification data of a given Document Number. Iam using BAPI_DOCUMENT_CHANGE2 for this purpose.



documenttype = documenttype

documentnumber = documentnumber

documentpart = documentpart

documentversion = documentversion

documentdata = documentdata

documentdatax = documentdatax


return = return


characteristicvalues = characteristicvalues[]

classallocation = classallocation.</b>

And in the characteristicvalues table I pass,

<b> CLEAR wa_char_value.

wa_char_value-classtype = '017'.

wa_char_value-classname = 'ESE_DCN'.

wa_char_value-charname = 'SALES_ORDER_NUM'.

wa_char_value-charvalue = vbeln.

APPEND wa_char_value TO characteristicvalues.</b>

And in the classallocation table I pass,

<b> classallocation-classtype = '017'.

classallocation-classname = 'ESE_DCN'.

APPEND classallocation.</b>.

The return code of my FM is 0. It does not give any error. BUt when I look into transaction cv02n for that particular document number, it does not display any classsfication data., it is empty.

Why the classification data is not getting populated using this BAPI_DOCUMENT_CHANGE2.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 04, 2006 at 04:11 AM

    Hello Friends,

    I didnt get any reply for my question.

    I just want to know whether I have given the correct details to the FM. And why doesnt my FM changes the Document Classification data.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.