Skip to Content
-1

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

Oct 13, 2016 at 03:25 PM

236

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

6 Answers

Jürgen L
Feb 21, 2017 at 02:44 PM
2

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

Share
10 |10000 characters needed characters left characters exceeded
samnovice new Oct 14, 2016 at 06:47 AM
-1

Any suggestion from SAP expert is welcome.

Thanks.
Sam

Share
10 |10000 characters needed characters left characters exceeded
Ankur Chauhan Oct 14, 2016 at 08:13 AM
0

Hi Sam,

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

Share
10 |10000 characters needed characters left characters exceeded
PRASOON AK Oct 14, 2016 at 11:23 AM
0

Hi,

Please check the BAdI: ME_PROCESS_OUT_CUST with method: PROCESS_HEADER

Regards,

AKPT

Share
10 |10000 characters needed characters left characters exceeded
samnovice new Oct 16, 2016 at 06:05 PM
0

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


zt3te.png (29.6 kB)
Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi,

Please check the below screenshot:

If its still not visible, share your SAP release details.

Regards,

AKPT

alfx1.png (25.3 kB)
0

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

0
Mehmet Ozgur Unal Feb 21, 2017 at 02:28 PM
0

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

Show 1 Share
10 |10000 characters needed characters left 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

0