cancel
Showing results for 
Search instead for 
Did you mean: 

Validity link

Former Member
0 Kudos

Dear all

I have created class ,chara, value and maintain validity of document at time of creation of DIR.But that validity is used for disply purpose but it can not control the document.

ex: valid from --30 june 2009

valid to -


21 july 2009

IF I am putted same validity like above in DIR . System should not allow to acess the DIR . after finishing the validity (means today)

tell me how to link to DIR ?

Kindly help

Accepted Solutions (1)

Accepted Solutions (1)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Harish,

from my point of view the date in the classifcation characteristic is not having any effect on the access permission for the

document info record. To restrict the change permission or the access to some documents which validity has epired I think you need to implement a special authorization check by using BADI DOCUMENT_MAIN01 (method BEFORE_READ_DATA or AFTER_READ_DATA) or DOCUMENT_AUTH01.

With this BADI implementation a check could be done to verify if the 'valid to' date is in the past and if it is then the document info record should not be acessed in change mode.

I hope this information could be useful for you.

Best regards,

Christoph

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

Goto, DC10 define document type basic data screen u will find class type and class, 017 is your class type and u enter class name what u created using classification.

save , Now ur document is linked with your class.

in Charactristic, basic data screen set flag to restricatable. and statuse should be released.

in Additional data, enter your Document attributes.

restriction choose 017.

Benakaraj

??P

Former Member
0 Kudos

dear Benakaraj

Not working DIR validity as per u said above.

any thing else.

Former Member
0 Kudos

hi,

I think u need to use BADI as per Mr.Christoph Hopf sugession.

i think could work.

Benakaraj

??P

Former Member
0 Kudos

correct i am trying the same but i am unable to link classification date link to DIR number and system date.

ok

thx