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

Error in ME59

When we are executing ME59 in background with background jobs userid I am getting error "Contract nos. in header and item must agree me59" in Log

But when I executed same variant with my sap id I did not get any error & PO created.

What can be the reason for the same.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Sep 20, 2016 at 08:38 AM

    can you post a screenshot of the users log. Maybe it is possible to identify the message number there. From the text it looks very much home made.

    Where you do actually enter a contract number in the PO header?

    Add a comment
    10|10000 characters needed characters exceeded

    • ME59 was replaced with ME59N when R3 4.6c was released, and transactions such as ME59 are no longer supported since 2013 (which is already 10 years after the release)

      So I would suggest to bring your batch job over to the new report RM06BB30 and then see if you still encounter the same issue.

  • Posted on Sep 20, 2016 at 09:06 AM

    What is input criteria when you execute ME59 with your user ID and what is input value/values picks with by background job with ME59?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2016 at 08:49 AM

    Hi Kiran

    Is it that the selection criteria in ME59 is captured in a variant and the same variant is used to run the job in background and foreground

    and in background system gives error and foreground no error?

    Regards

    Jayaram

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 21, 2016 at 03:56 PM

    Hi,

    Seems strange. Can you create similar variant in ME59N (not ME59) and test the same in background and share the feedback.

    Also share your system details with EHP.

    Regards,

    AKPT

    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.