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

urgent

When ever the user done the changes in va02 or filed are not maintained in va02 i have to block.how should i write the code for this.i have the exit i.e.userexit_save_document_prepare.

simply..

if the user changes the field lgort,kwmeng,vstel,netpr in va02

i need to block the hole data.(.e dilivart is not created).

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 20, 2008 at 07:08 AM

    Dear Venkat,

    data FCODE_PFKO like sy-ucomm.

    if ( sy-dynnr eq '6002' or sy-dynnr eq '0104' ) and sy-tcode eq 'VA02'.

    case sy-ucomm.

    when 'SICH' or 'YES'.

    message e091(zwb).

    leave to current Transaction.

    endcase.

    endif.

    Rewards points if useful,

    Regards,

    Sumanjeet.

    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.