cancel
Showing results for 
Search instead for 
Did you mean: 

delete a value of a characteristic in DIR

Former Member
0 Kudos

Hi,

I need to delele 1 value of a characteristic.

But how can I delete this value in all the document info record which have this value in this characteristic ?

Does anybody have an idea ?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

following flow might help

1. bapi_document_getlist2-> pass characteristic and class information, this will give you all the dirs..

2. bapi_document_getdetail2-> for each dir

3. bapi_document_change2-> pass details from getdetail2 except the characteristic value

4. bapi_transaction_commit...

Answers (1)

Answers (1)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Regis,

maybe the functionality in transaction CLMM could be useful for this planned change. Within this transaction you can update classification values masswise. Here you can enter class type which should be 017 for document info records. Then enter the characteristic you want to change on tab 'Chars'. On tab 'Target Objects' you can search for the mentioned document info records by using the class. And on tab 'Assignments' you can choose 'create' or 'delete' action for these assignments.

Plesae note that you also have a 'Test mass change' button which you should use before you are going to made the change

in real.

Best regards,

Christoph

Former Member
0 Kudos

thanks Christoph, CLMM is a very helpfull transaction.

I won't forget the answer from SurjitSingh if I have to do it in a report.

thanks both for your help.

Régis