cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello experts,

I am trying to check the value of a characteristic when I save a document in CV01N/CV02N.

I am using  IF_EX_DOCUMENT_MAIN01~BEFORE_SAVE but I have no access to classification information.

I have seen that in the same implementation there is a method call BEFORE_SEARCH_DATA that has the classification data.

How can I acces that information??

Thanks in advance.

0 Likes
View Entire Topic
Former Member
0 Likes

in my last example I used function CLAP_DDB_GET_BUFFER_PARAMS

it's not really correct because this function returns old values of characteristics and doesn't take into account new changes

You should use function CLFM_GET_INTERNAL_TABLES

CALL FUNCTION 'CLFM_GET_INTERNAL_TABLES'
     EXPORTING
       i_allausp     = 'X'
*     I_ALLKSSK     =
*     I_DELOB       =
*     I_DELCL       =
     TABLES
       exp_ausp_tab  = lt_ausp_tab
*     EXP_KSSK_TAB  =
*     EXP_DELCL_TAB =
*     EXP_DELOB_TAB =

all unchanged characteristics values     have lt_ausp_tab-statu = ""

old values for changed characteristics   have lt_ausp_tab-statu = "L"

new values for changed characteristics have lt_ausp_tab-statu = "H"