Skip to Content

Validate the datas of header of contracts (ME31K ME32K)

Hello,

we need to implement a validation on contracts (ME31K and ME32K). We have been trying it with a user exit but when the message type 'E' is show the screen is blocked and it's not possible to correct the fields.
Also we have been searching a Badi but we have not found any.

How we can to validate the datas of header of open purchase order ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 10, 2017 at 12:31 PM
    -1

    ME31K is the transaction to create contracts, your subject line looks very confusing.

    What do you need to validate in detail and what shall be the result of the validation and what do you want the users to do?

    Which user exit did you try?

    If the screen is blocked and does not let you correct anything then I rather believe in incorrect coding, so you may consider posting your coding lines and asking this with an ABAP tag. But lets first clarify the requirement

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 16, 2017 at 03:29 PM

    We are trying to validate the field "You Reference" from header of contracts (ME31K and ME32K). We need to show an error menssage when the users input a value that not exits in a table Z. Then, if the users enters a value that don't exists in the table Z, an error must be shown and don't allow to continue until to correct the field "You Reference" with a correct value.

    We found the badi ME_CHECK_OA but we can't use it because is only provided for SAP internal use.

    Does anyone know any way to do this validation?

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded