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

disabling all fields of a tab in CV02n

Dear Abapers,

We use vistex system to maintain the materials. So, some of the materials are maintained from Vistex.

If a material is maintained in Vistex, then in CV02n under object links tab, if the user tries to change or delete that data an error should be shown. There is a table control in this tab which contains material data. If this material data is vistex controlled, it shouldn't be available to change.

I have implemented the badi if_ex_document_main02~d101_before_pai which gets triggered whenever that tab is clicked. This badi is also getting triggered when I click on save.

Is there a way by which I can block all the fields in a particular tab to display mode. ie if the materials shown are vistex controlled, they shouldn't be allowed to change.

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 Jan 02, 2014 at 10:19 AM

    You said your BADI gets triggered on save also. Why not you are putting a error message on save for your case. Else you can give Information message and Leave program.



    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.