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

LXWOCU07 ( PM Order: Customer Check for 'Save' )


I'm using the user-exit LXWOCU07 (PM Order: Customer Check for 'Save' Event) and the problem is that sometimes the code is executed two times and I save PM Order just once.

Someone knows something about this behavior?

How can I solve this problem?

Thanks a lot.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 22, 2008 at 08:17 AM


    I don't know about the behaviour but it is OK if it runs twice. Take an example you put a validation there. When you run, you can not get through the validation. But after you change your data you can pass the validation. This means the user exit runs twice right.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Teddy,

      You said me that this behaivor is OK but I need that the code that I have in the user-exit is executed just once. In order to do this, I check in a Z table if there is a register, if its not inside then I execute the code and insert the new register, otherwise I don't execute it.

      The problem is when I check in Z table, cause the second time that it executes the user-exit for some strange reason the value is not still in the table... And it's because I can't execute a commit-work in the user-exit.

      Any idea to solve this problem?

      Thanks a lot.

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.