cancel
Showing results for 
Search instead for 
Did you mean: 

CV01n - Error: you are only authorized to maintain documents in company code

Former Member
0 Kudos

Dear All;

I am using CV01n to create a document using the document type ZLC "labor card". After I choose my authorization object and upload my document, an go to save my work I get the following error: you are only authorized to maintain documents in company code.

The user I am using has full access on the system.

Kindly help me in knowing why this is happening with only this document type, as the rest of the document types we have are working fine with no such error.

Best Regards

~Amal Aloun

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member188883
Active Contributor
0 Kudos

Hi Amal,

Looks like an User Exit being trigger on the event SAVE and it has restrictions defined for document type ZLC. Could you get an Abaper to have a check on this .

Please update your findings.

Regards,

Deepak Kori

Former Member
0 Kudos

Dear Deepak;

The strange thing is that one user is able to create a doc, and upload it successfully, but my user is not.

Is there any other configuration where i need to do to allow my user to upload docs in cv01n.

At this moment i am not able to get an abaper, but i will try to find someone who can help online.

Best Regards

~Amal

former_member188883
Active Contributor
0 Kudos

Hi Amal,

If you say, you have admin access in SAP system and still not able to upload document for particular document type, you shall need some ABAP help only to debug and find out the following

1) Any Z-table maintained for special access for ZLC document type

2) Any hard coding for user access defined in user exit while saving the document.

For reference check.

I think the most suitable BADIs for this scenario could be DOCUMENT_MAIN01 with mehtod BEFORE_SAVE or DOCUMENT_FILES01.

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Dear Deepak;

Thank for your help. As you suggested it turned out to be that this issue is related to abap.

Thanks again.

Best Regards

~Amal

former_member188883
Active Contributor
0 Kudos

Hi Amal,

Good to know issue has been resolved.

Regards,

Deepak Kori