ME22N Enhancements
Hi
Requirement is that when we change the 'item delivery date' in ME22N, a pop-up should be displayed saying that ' Do you want to change the statistical delivery date also'.
After clicking 'yes' the 'statistical delivery date' should be modified with the 'item delivery date'. Now both these dates will be same.We have already implemented EXIT_SAPMM06E_012 and EXIT_SAPMM06E_013.
Please provide the right user-exit or BADI.
Thanks.
Hi,
As per your requirement use the BADI ==>ME_PROCESS_PO_CUST
Use the method PROCESS_ITEM.
Just create an active implementation of this BADI and put a break point in the method PROCESS_ITEM.
Then you have to call two methods:
1. get_data : To get the details
2.set_data: To change the field value.
Hope this will be sufficient info for you to get the outcome. If not I will give you code sample. First just try with this.
cheers
Somnath
Similar Messages
-
Version Completed ME22N Enhancement
Hi Gurus,
At the time of Version Complete tick is on and save event fire ,I want to insert new record of Version into customize table.Which Enhancement will work for this requirement.
I checked ME_PURCHDOC_POSTED Badi, but no import parameter found for Version Complete.
Regards
Vinayak SapkalHi,
Try this
MM06E005 -
> EXIT_SAPMM06E_012--->ZXM06U43 --check Customer-Specific Data Before Saving -
Hi all,
I'm working on ME22N condtion tab. In which for particular condition type when user enters the value other then specifed
value system shoud through ERROR message.
But i'm not getting error message, If give as ERROR message its coming out of the screen.
If give other then error message its coming as status message.
Please help me to get the error message.
Regards
Suprith
Edited by: suprith kumar on Dec 29, 2009 9:22 AMHi Surprit,
define one message in message class SE91.
and in the abap program write it as follows and try it out.
MESSAGE W001(ZNRD_MSG) DISPLAY LIKE 'E'.
Hope this would help you.
Thanks & Regards,
Ranjith Nambiar -
Change PO Output, user exits
Hello Champions,
Will anyone share me, is there any user exit which triggers while changing Purchase Order Output Medium in ME22N transaction. How to know list of user exits which are applicable for ME22N transaction?. will anyone guide me.
Reward with Full pointsHi,
Here are the list of User Exits for ME22N
Enhancement
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
Business Add-in
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_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
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_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
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
SMOD_MRFLB001 Control Items for Contract Release Order
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_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
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
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
Edited by: Raj on May 12, 2008 10:05 PM -
Badi or Enhancement for Purchase order invoice plan change for ME22N
Hi ,
I have a req to have a custom tab at the header level with the push button in ME22N , By clicking the push button i need to update the invoice plan detail to all item level by using the 1st line item invoice paln entered while creating PO . I have done with adding the custom tab using MM06E005 enhancement. The problem i am facing is need to change the PO invoice plan detail for all line item. Please let me know the BADI or Enhancement to change the PO detail in the Tcode ME22N . Any Badi before save or after save with invoice plan details.
<offer removed by moderator>. Many thanks for you help!
Regards,
Vinoth.v
Edited by: Thomas Zloch on Oct 14, 2011 11:59 AMHi Eduardo
ME_PROCESS_PO_CUST is don'tt have the Invoice plan and ME_GUI_PO_CUST is for screen but i need the badi to get the invoice plan details and change the remaining item with the invoice plan .
Regards -
Implementing ME21N / ME22N screen exit (Enhancement MM06E005)
I've just implemented enhancement MM06E005 and have extended a new field to CI_EKKODB. The subscreen is in place and the project has been activated without issues. I can populate the DB via the new field in 'customer data' tab. The only problem I have is I don't see my new value after saving the PO and re-accessing it in change mode ME22N. The new field is blank. I can see the record's new field has the value in SE16N and I see the value when debugging EXIT_SAPMM06E_006. My assignment statement in EXIT_SAPMM06E_006 for the new field is similar to: i_ci_ekko-zzvbeln = i_ekko-zzvbeln. What have I missed?
Edited by: Steve Fenske on Oct 13, 2009 11:45 PMHi steve ,
In addition to the function exit u r doing , u have to code the bellow exit also .
See the documentation of this exit , it explains u clearly in the document.
EXIT_SAPMM06E_006 Export Data to Customer Subscreen for Purchasing Document Head
EXIT_SAPMM06E_008 Import Data from Customer Subscreen for Purchasing Document
The dynpros are linked to the standard program via function modules.
There are function modules that provide your subscreen with data
(export) and function modules that fetch data from your subscreens
(import).
o Header screens:
- EXIT_SAPMM06E_006 Export data to customer subscreen for header
(PBO)
- EXIT_SAPMM06E_007 Export data to customer subscreen for header
(PAI)
- EXIT_SAPMM06E_008 Import data from customer subscreen for
header
Rajendra -
Hi All,
There is requirement to enhancement in Release strategy (ME22N). If user increase the OP price the release strategy being changed but he decrease the OP the price release strategy not being changed. The reauirement is there if they make any change in OP price either incrase or decrease, release strategy should be change. therefore there is any User-Exit or BADI which change the release strategies related informantion. I have aslo tried some user exit and BADI but in these exit and BADI the OP header information not in export parameters (this information is import parameters) so I can not make change it. there is any other user exit or BADI for do that.
Thanks in Advance
Jitendra SinghI need to make some fields output only at item level
> in transaction ME22N i.e. during PO change. Is there
> any exit or BADI available for that.
>
> Regards
This is mainly config.
Check in SPRO - IMG
Materials Management > Purchasing > Purchase Order > Define Screen Layout at Document Level
Also these BAdis are available:
ME_PROCESS_PO_CUST - For Custom logic in Enjoy transactions
ME_GUI_PO_CUST - For Additional Custom screens in ME2xn
Read the documentation, it will help.
Also, read the config section about enhancements in Purchasing using old enhancement technology. See below.
OSS is also a good place for documentation. OSS 496083.
Good luck!
Leonardo De Araujo
Develop Enhancements for Purchasing
In this step, you develop enhancements for Purchasing.
The following SAP enhancements are available for the Purchasing area:
o AMPL0001
User subscreen for additional AMPL data (Manufacturer part number)
o LMELA002
Adoption of batch number from shipping notification at time of
posting of a goods receipt
o LMELA010
Incoming shipping notification: adoption of item data from IDoc
o LMEQR001
User exit for source determination
o M06B0001
Role determination for release of requisitions
o M06B0001
Changes to communication structure for release of requisitions
o M06B0003
Number range and document number
o M06B0004
Number range and document number
o M06B0005
Changes to communication structure for overall release of purchase
requisitions
o M06E0004
Changes to communication structure for release of purchasing
document
o M06E0005
Role determination for release of purchasing documents
o ME590001
Grouping of requisitions for PO split in transaction ME59
o MEETA001
Determination of schedule line type (backlog, immediate requirement,
forecast)
o MEFLD004
Determination of earliest delivery date for checking at time of
goods receipt (PO only)
o MELAB001
Generation of forecast delivery schedule: realization via creation
profile
o MEQUERY1
Enhancement for document overview ME21N / ME51N
o MEVME001
Calculation of default GR quantity and over/underdelivery tolerances
o MM06E001
User exits for inbound EDI messages and outbound purchasing
documents
o MM06E003
Number range and document number
o MM06E004
Control of import data screens in purchase orders
o MM06E005
Customer fields in purchasing documents
o MEREQ001
Customer's own data in purhcase requisitions
o MM06E007
Change document for requisitions when converting into POs
o MM06E008
Monitoring of contract target value in case of release orders
o MM06E009
Relevant texts for "Texts exist" indicator
o MM06E010
Field selection for vendor address
o MM06E011
Activation of requisition block
o MM06L001
Exits for determination of ratings in vendor evaluation
o MMAL0001
ALE source list distribution: outbound processing
o MMAL0002
ALE source list distribution: inbound processing
o MMAL0003
ALE purchasing info record distribution: outbound processing
o MMAL0004
ALE purchasing info record distribution: inbound processing
o MMDA0001
Default values for delivery addresses
o MMFAB001
User exit for generation of releases
o MRFLB001
Control items during release creation
o LWBON001
Enhancement of LIS update through extension of the communication
structure MCKONA (business volumes and rebate income)
o LWBON003
Change settlement data for end-of-period rebate settlement before
creation of settlement documents
o LWSUS001
Customer-specific source determination in Retail
Activities
1. Either create a new project or use an existing one and then enter
the enhancement.
2. Activate the project
Your enhancement will only become effective after activation.
Further notes
In contrast to modifications, enhancements are basically
release-insensitive since they are not implemented in the SAP original
but in a name range that is reserved for the customer.
The general procedure for creating enhancements can be found in the
enhancement transaction at Help -> Application help.
If you want to display the documentation for an enhancement, choose Goto
-> Documentation in the enhancement transaction.
Return ->
Application -
Enhancement for ME22N , Triggers at PBO
Dear all,
My Requiremnet Is to Trigger an Enhancement( BADI or USER-EXIT) during PBO, from which I want to fetch the PO Number,
so that i make the necessary validation to Enter into transaction 'ME22N' else simple throw an error message to the user.
Note : Some BADI are triggering but not providing the Purchase order Number(EBELN).
Frwd with any further issues.
Regards,
Niranjan.GHi,
I i understand correctly what you are trying to do is when user goes into transaction ME22N and tries to view or change a purchase order you want to do certain validations on the purchase order number and if teh validations fail you want to raise an error. If thats what you wnat to do you can try enhancement > MM06E005 > EXIT_SAPMM06E_006 > Import parameter I_EKKO should have the PO number .
Regards,
Himanshu -
Hi,,
I have changed standard program using enhancement for me22n..
Requirement is :
For all the users if there is no tick then the field appears editable and if there is a tick
then it is disabled except few authorized users the fields appears editable.
a. Check for the value of field EKPO-ELIKZ , (Deliv Compl)if ticked, then do point u2018bu2019 and
u2018cu2019 if not ticked then it is editable for all.
b. Check for Authorization object u2018Z_DEVCOMP1u2019 , Activity parameter
value = u201802u2019 (change) and Authorization field u2018Z_DEVCOMPu2019 value =
u2018YESu2019
c. Set the fieldstatus to u2018*u2019 (display only) for Metafield u201876u2019 ( table pool u2013 MMMFD)..
I tried using the below code,but i am not able to read data lineitem wise when i debug...plz suggest
ENHANCEMENT 1 ZMM_PO_DELIVERY_INDICATOR. "active version
FIELD-SYMBOLS: <fs_fieldselection> TYPE MMPUR_FS,
<fs_ekpo> TYPE ekpo.
ASSIGN ('(SAPLMEPO)EKPO') TO <fs_ekpo>.
if sy-subrc = 0.
if <fs_ekpo>-elikz = 'X'.
AUTHORITY-CHECK OBJECT 'Z_DEVCOM1' " u201Cauthorization object that weu2019ve created
ID 'ACTVT' FIELD '02' " u201CActivity = 02, authorized to change
ID 'Z_DEVCOMP' FIELD 'X'. " u201Cvalue is 'YES'
if sy-subrc <> 0.
READ TABLE my_fieldselection assigning <fs_fieldselection>
WITH KEY metafield = '76'.
IF sy-subrc EQ 0.
<fs_fieldselection>-fieldstatus = '*'.
ENDIF.
endif.
else.
endif.
endif.
ENDENHANCEMENT.
Thanks.Hi,
In the me22n screen at the item table control there is configuration tab at the right side corner.
try to create a variant by hidding the fields you required.
and at the time of calling the table control screen use the standard variant or custom variant according to the requirement.
Prabhudas -
Hi
everyone ,
I am trying to get the appropriate function exit for ME22N , My req is like in me22n (in header) ,in tab additional data there is a field validity start date , suppose any purchase order is changed ,so the date of purchase order change will be validity start date .......
so if anybody can suggest any thing which could help me.
regards
sanHI JEEVI,
THANKS FOR REPLY ,HERE IS A LITTLE CONFUS..
LIKE EXIT_SAPMM06E_013 (UPDATE CUSTOMER'S OWN DATA FOR PO)
BUT THIS FIELD (VALIDITY START DATE) IS NOT CUSTOMERS FIELD ITS EKKO-KDTAB SO PLS CONFIRM.
THANKS & REGARDS
SAN -
Exit or enhancement for ME21, ME22, ME21N, ME22N and ME27
Can anyone tell me an exit which can be used for ME21, ME22, ME21N, ME22N and ME27.
I tried using EXIT_SAPMM06E_006, it did not work as the values get cleared from the internal table once out of the Exit.
Requirement:
Need an user exit which is common to transactions ME21, ME22, ME21N, ME22N and ME27 to block the line item of a purchase order based on following conditions:
u2022 Document type is u2018xxu2019 or u2018yyu2019
u2022 IF Condition type u2018aau2019 or u2018bbu2019 exist in the PO line item
Please adviceUSe export to database indx..
check this wiki for more info
http://wiki.sdn.sap.com/wiki/display/Snippets/ImportandExporttoCluster+Databases -
Enhancement to remove a message in ME22N
Hi guys,
In Me22N
If the vendor in a held PO is changed, new output message is determined and output is getting triggered for both the vendors. We expect system to delete or update the first message with new vendor instead of creating a new message.Hi Brad,
Thanks for the quick reply.
Can you please elaborate how exactly it can be done.
The problem is vendor with meduim as "External Send" in the Message tab of a purchase order should be deleted or update when i replace with a new vendor number for the same po. However it is not getting deleted or updates.
Thanks again, will be waiting for your updates.
Regards,
Ali -
Hi Gurus,
I'm just new to ABAP development and I want to seek your help with my problem:
I want to disable/hide the delete button on the versions tab of ME22N.
I don't think this is possile in SHD0 so i'm thinking of just displaying an error message when the delete button is clicked but i don't know what user exit can handle this event.
Thanks and Regards.Hi I don't think this is possible in BADI ME_PROCESS_PO_CUST since this badi will be triggered while saving the data.
Regards, -
Hi All,
My requirement is to add an custom tab to ME22N transaction screen if there is an attachment in the PO.
Please advise.
Thanks
Abhijeet KHi Abhijit,
There is a Screen Exit Available for additional tab in PO screen.
Go to transaction CMOD. Create a Project and attach Exit - MM06E005 - Customer fields in purchasing document.
Go through the documentation of Exit componant.
Create sub screen 101 for PO Customer data at header level and
111 for PO Customer data at item level.
List of Exits under MM06E005 are:
u2022 EXIT_SAPMM06E_006 u2013 Export Data to Customer Subscreen for Purchasing Document Header (PBO)
u2022 EXIT_SAPMM06E_008 u2013 Import Data from Customer Subscreen for Purchasing Document Header
u2022 EXIT_SAPMM06E_009 - Reset Customer Data at Beginning of New Document (Without Dialog)
u2022 EXIT_SAPMM06E_012 u2013 Check Customer-Specific Data Before Saving
u2022 EXIT_SAPMM06E_016 u2013 Export Data to Customer Subscreen for Purchasing Document Item (PBO)
u2022 EXIT_SAPMM06E_017 u2013 Export Data to Customer Subscreen for Purchasing Document Item (PAI)
u2022 EXIT_SAPMM06E_018 - Import Data from Customer Subscreen for Purchasing Document Item
you can write your logic in concerned exit.
Regards,
Amee. -
Enhancement for ME21N & ME22N new subscreen
Hi all,
I'm looking to ad a new subscreen using definition ME_GUI_PO_CUST. I looked at the example CL_EXM_IM_ME_GUI_PO_CUST to understand how it works. Do you know why in the example the include "LMEVIEWSF01" is used? How the logic in the PBA and PAI works with the new subscreen? And where to put the new logic?
Thanks.DONE THROUGH USER EXIT
Maybe you are looking for
-
Dear Apple Support Community, I have an early-2008 MacBook, running OS X Lion (10.7.5). I also have some assorted external hard drives for data backup. One of them is an older WD 500GB external HD that I purchased in 2007. It has been running fine
-
HELP using a fire wire to tranfer files from my PC to my new MacBook
I just purchased a new MacBook and am trying to transfer my songs, pictures and movies from my desktop pc (windows XP) to my new MacBook. I was instructed to use a 6pin to 6pin firewire to tranfer the files from my pc to my MacBook by using the MacBo
-
Dynamic PL/SQL - Urgent help required
Hi there I am trying to write a packaged function which takes the table name and column name as arguments and build a pl/sql table which the function returns. Please do find the code below: Create or Replace Package Pk_valid_values is TYPE list_rec i
-
Help on Radio Buttons - Retreiving the value in a Servlet
I am trying to use a Servlet to get values of list of Radio buttons in from a JSP. The problem is that I am getting a "null" My JSP has the following: <form name="AddNewClient" action="AddNewClient" method="POST"> <input type="radio" name="TypeOfBusi
-
Changed my email (login) now I can't disconnect from the older one
Hi there I changed my email on Apple account and now I can't access the older one. What happens is that how the email has changed it can't find the old one that is settle up on the notebook and iphone. So I thought about disconnecting from the old em