Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Badi for ME21N & ME22N to check storage location

former_member1349771
Participant
0 Kudos

Hello Guru's,

I need BADI for ME21N & ME22N to check storage location is maintained for plant used in PO i'm using method IF_EX_ME_PURCHDOC_POSTED~POSTED with definition name ME_PURCHDOC_POSTED but this throws message on SAVE.

But my requirement this message should be displayed before saving.Please guide

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use BADI:

ME_PROCESS_PO_CUST

BADI CL_ME_PO_CUST

Business Add-in

ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.

ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer

ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting

ME_PO_PRICING_CUST Enhancements to Price Determination: Customer

ME_PO_PRICING Enhancements to Price Determination: Internal

ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use

ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation

ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order

ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO

ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests

ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields

ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions

ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions

ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer

SMOD_MRFLB001 Control Items for Contract Release Order

MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order

MM_DELIVERY_ADDR_SAP Determination of Delivery Address

ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder

ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV

ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE

ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address

ME_REQ_POSTED Purchase Requisition Posted

ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions

ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.

ME_PURCHDOC_POSTED Purchasing Document Posted

ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer

ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal

ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders

ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant

ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active

ME_BSART_DET Change document type for automatically generated POs

ME_BAPI_PR_CREATE_02

ME_BAPI_PR_CREATE_01

ME_BAPI_PO_CREATE_02

ME_BAPI_PO_CREATE_01

ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked

ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level

MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI

EXTENSION_US_TAXES Extended Tax Calculation with Additional Data

ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)

ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)

ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)

ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders

ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active

ME_COMMITMENT_RETURN Commitment for return item

ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing

ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control

ME_CIN_MM06EFKO Copy PO data for use by Country version India

ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details

ME_CIN_LEINRF2R BADI for CIN India - Delivery charges

ME_CHECK_SOURCES Additional Checks in Source Determination/Checking

ME_CHECK_OA Check BAdI for Contracts

ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO

ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing

ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation

Edited by: Neenu Jose on Nov 21, 2008 6:13 AM

Edited by: Neenu Jose on Nov 21, 2008 6:16 AM

3 REPLIES 3

Former Member
0 Kudos

Hi,

Use BADI:

ME_PROCESS_PO_CUST

BADI CL_ME_PO_CUST

Business Add-in

ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.

ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer

ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting

ME_PO_PRICING_CUST Enhancements to Price Determination: Customer

ME_PO_PRICING Enhancements to Price Determination: Internal

ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use

ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation

ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order

ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO

ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests

ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields

ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions

ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions

ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer

SMOD_MRFLB001 Control Items for Contract Release Order

MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order

MM_DELIVERY_ADDR_SAP Determination of Delivery Address

ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder

ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV

ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE

ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address

ME_REQ_POSTED Purchase Requisition Posted

ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions

ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.

ME_PURCHDOC_POSTED Purchasing Document Posted

ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer

ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal

ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders

ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant

ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active

ME_BSART_DET Change document type for automatically generated POs

ME_BAPI_PR_CREATE_02

ME_BAPI_PR_CREATE_01

ME_BAPI_PO_CREATE_02

ME_BAPI_PO_CREATE_01

ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked

ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level

MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI

EXTENSION_US_TAXES Extended Tax Calculation with Additional Data

ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)

ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)

ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)

ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders

ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active

ME_COMMITMENT_RETURN Commitment for return item

ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing

ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control

ME_CIN_MM06EFKO Copy PO data for use by Country version India

ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details

ME_CIN_LEINRF2R BADI for CIN India - Delivery charges

ME_CHECK_SOURCES Additional Checks in Source Determination/Checking

ME_CHECK_OA Check BAdI for Contracts

ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO

ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing

ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation

Edited by: Neenu Jose on Nov 21, 2008 6:13 AM

Edited by: Neenu Jose on Nov 21, 2008 6:16 AM

Former Member
0 Kudos

hi

the badi for your requirement is ME_PROCESS_PO_CUST

also the User exit in your case could be MB_CF001 and use SMOD to look for user exits.

hope this helps

regards

Aakash Banga

0 Kudos

when i'm using this badi ME_PROCESS_PO_CUST with IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM while creating Purchase order the system is not stopping at breakpoints i have defined. All things are activated.