Skip to Content
-1

Right BADI for validating ​UNSEZ field (transaction ME31K, table UNSEZ)

Hi,

I am having trouble finding BADI in regard to UNSEZ field which is part of transaction ME31K, table UNSEZ. I am tring to set input mask using ABAP code to this field.

Using ABAP debbuger, closest I could find is ME_CHECK_OA but this is SAP standard which isn't meant to change or upgrade, please see screenshot bellow.

Other relevant BADI's I found are

ME_INFOREC_SEND
WVKU_DETERMINE_SP
ADDRESS_UPDATE
ME_PURCHDOC_POSTED

but I think that only logical solution would be to create new implementation via ME_CHECK_OA but this BADI is only provided for SAP internal use.

I am not sure what to do is this case?

Thank you.
Sam

knaxo.png (97.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Feb 21, 2017 at 02:44 PM

    The OSS note 2300802 - ME_PROCESS_OUT_CUST is not called in ME31L/ME32L/ME31K/ME32K.

    explains that the the BADI ME_PROCESS_OUT_CUST does not influence online transactions, only the BAPIs BAPI_CONTRACT_CREATE and BAPI_CONTRACT_CHANGE

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 14, 2016 at 06:47 AM
    -1

    Any suggestion from SAP expert is welcome.

    Thanks.
    Sam

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 14, 2016 at 08:13 AM

    Hi Sam,

    Please try to find BADI through Google -> 'how to find BADI site:sap.com'.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 14, 2016 at 11:23 AM

    Hi,

    Please check the BAdI: ME_PROCESS_OUT_CUST with method: PROCESS_HEADER

    Regards,

    AKPT

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 16, 2016 at 06:05 PM

    Hi AKPT,

    thank you so much for useful suggestion.

    Please see screenshot. After trying to create new implementation I found out that ME_PROCESS_OUT_CUST is missing in the system. I am confused, as only ME_PROCESS_PO_CUST and ME_PROCESS_REQ_CUST exists?

    Thank you.
    Sam

    Add comment
    10|10000 characters needed characters exceeded

    • Hi AKPT,

      thank you for very much for quick and useful reply.

      It is visible (ME_PROCESS_OUT), just as it looks like on your screenshot. Anyway, my SAP version is ECC 6.0. It think my "mistake" was is that I, as it can be seen on screenshot, searched via 'Classic BadI' instead 'New BadI' under 'Create Implementation' section of SE19 transaction. Reason for that is because I learned that using following tutorial

      https://www.sapnuts.com/courses/core-abap/badi-sap/real-time-of-using-badi.html#step1

      which is based on 'Classic BadI' instead of 'New BadI'.

      So, I should use 'New BadI' in this particular case, right?

      Thank you and all the best.
      Sam

  • Feb 21, 2017 at 02:28 PM

    Hello samnovice new, PRASOON AK ;

    I try to create implementation for ME_PROCESS_OUT, ME_PROCESS_OUT_CUST but it is not working in ME31K-ME32K .

    Did you solve the problem ? If yes, please inform.

    M.Ozgur Unal

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Mehmet,

      I still didn't manage to complete it. However, I will try again based on new post from Jurgen L (BAPI_CONTRACT_CREATE and BAPI_CONTRACT_CHANGE), and let you all know if it works out.

      Thanks.
      Sam