Enhancement for ME21N and ME22N
Hi Expert,
I need to change the delivery priority in STO, according to the data entered in the header(EKKO). But i am not able to find an exit or BAdi which is having the parameter delivery priority. The table and field names: ( EKPV LPRIO).
In case anybody working similar requirements please let me know.
Thanks and Regards
Joby Jacob
in method Post you can do this stuff like that
DATA: ls_mepo TYPE mepoitem,
ls_items TYPE purchase_order_item,
lt_items TYPE purchase_order_items.
lt_items = go_header->get_items( ).
LOOP AT lt_items INTO ls_items.
ls_mepo = ls_items-item->get_shipping_data( ).
then set_shipping_data...
ENDLOOP.
Similar Messages
-
User Exit for PO creation(me21n and me22n) - A/c assgn Category is existing
Hi all,
I would like to have your guidance to find out an appropriate EXIT to meet the following req.
Requirement is such that : This EXIT should generate a G/L account automatically (or over-write the existing G/L a/c) during any PO creation(me21n and me22n tcodes - before saving) based on the fields(mandatory) :
A/c Assignment Category,
Material,
Company code and
Vendor
entered by the user(during his/her PO creation activity)
The identified EXITS as of now are EXIT_SAPLEBND_002 (But the package is not matching our PO tcodes : me21n and me22n)
and EXIT_SAPMM06E_017(Package ME- same as tcodes me21n,me22n)
and even other Exits available for PO based on <b>before saving</b> activity.
Even I tried out creating a PO in debugging mode(with break points set at the above EXITs).
Please do help me out at the earliest to identify the appropriate EXIT to meet this requirement.
With Regards,
SrividyaHi!
in SMOD give MM06E005 enhancement
FM name
EXIT_SAPMM06E_017
This will be triggered during saving.
Regards
Tamá -
Make Non-editable Column in Table Control of ME21N and ME22N
Hi Experts,
I was trying to look for a solution to make the columns for field MEPO1320-SLFDT(Stat Deliv. Date), MEPO1320-EEIND (Deliv. Date) and MEPO1211-NETPR (Net Price) from transaction ME21N and ME22N to be non-editable ONLY when Qty Received (MEPO1320-WEMNG) > 0.
I'd found that the modify screen codes were located at Class CL_TABLE_VIEW_MM, Method MODIFY_SCREEN_TC_LINE but there were no enhancement spots available to add my code. Is there any other method i can use to make those fields non-editable?
Thanks in advance!
Cheers,
Cheng
Edited by: Cheng Mei Tan on Jun 4, 2009 9:31 AMHi Cheng,
I think you can use this BAdi: ME_PROCESS_PO_CUST - Enhance Processing of Enjoy Purchase Order.
Use the method PROCESS_ITEM to control the fields at the item level.
I think is not possible to make the fields non-editable, however, you can put an error message whenever your condition is verified, and the user won't be able to change the fields.
Cheers,
Pedro -
New tabs added by Badi ME_GUI_PO_CUST not seen in ME21N and ME22N
Hi All
I am implementing BADI ME_GUI_PO_CUST / ME_PROCESS_PO_CUST to add additional fields in Purchase Order Header.
The implementation of the BADI ie the Subscreen of the fields to be added appears in Header of transaction ME23N but it does not appear in the transaction ME22N and ME21N.
Can anyone help me on this.How to make the tab appear on screen in transaction ME21N and ME22N.
Thanx.Dear Friend,
Just go to the Class CL_PO_HANDLER_MM
This is the Super Class for the PO & PR.
If u debug the PO u can see that PO is calling this super class.
For this u want to create Subroutine in the Function Group calling the Screen .
The Problem which u r facing is that the Instance are not yet created for that Cusotmer Data.
Once u created this Subroutine u can see the fields..
With Regards,
Sumodh.P -
Customer field Not shown in ME21n and ME22N
Hi,
While creation ME21N and change ME22N we are unable to get Customer field in Delivery address tab of the PO, We are getting Address and Vendor (Sc Vendor) fields in Delivery address tab , but customer not able to see.
The Customer field we can seen through ME23N.
We have cross check screen layout for ME21N and ME22 and NBF here in all cases Customer field is Optional.Hi,
Please check screen layout for AKTH & AKTV.
Regards
Subbu. -
PR mandatory in PO Creation ME21N and ME22N
Dear Experts,
I want to make PR mandatory for each line item in ME21N and ME22N transaction Code,how to do it in SAP ?
ThanksHi,
First Create a Function authorization in OMET named as XX.
In that tick on Ref to PR.
Hope Help U !
Regards,
pardeep malik -
SAP Standard Field Attributes for ME21n and ME
Hi,
Can anyone suggest me where i can see all the display,Hidden,Mandatory, optional SAP Standard field attributes for ME21N and ME51N.
I looking for Configuration settings
Thanks
VenkiHi ,
All i see is Field Label Reqd.entry Opt. entry Display for ME21N and ME51N
I want to see what SAP Standard Fields are Hidden for these T-codes.
I want to use and Non Used Field ( Hidden SAP Field) for new Enhancement instead of creating a custom Tab
Thanks
Venki -
User Exit transaction ME21N and ME22N in the save moment
Hi, all. I need one user exit to transaction ME21N and ME22N for SAVE.
I need name user exit please in the save moment.
Message was edited by:
Martínez Vásquez Rubén Dario
Message was edited by:
Martínez Vásquez Rubén DarioHi,
Please check this user exits.
EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
EXIT_SAPMM06E_013 - Update Customer's Own Data in Purchasing Document
EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
EXIT_SAPMM06E_016 and EXIT_SAPMM06E_017 are the best place to change line item. I used in both places again it depends on your requirement for PBO or PAI.
By the way, what do you mean by actualization?
Regards,
Ferry Lianto
Please reward points if helpful. -
Send mail with Z Message Class in me21n and me22n
Hi everyone, i'm new at the forum and this is may first post so i ask for apologies if i post it in the wrong please.
Well my question is this, i have an z class message in the NACE transaction that it's suppose to send a mail, well if i use the standard program SAPFM06P form ENTRY_NEU with a sapscript it send correctly the mail and i can display it in the SOST transaction, but i need it to display a smartform not a sapscript, so i copy the program to Z and make it call my smartform, if i go now to the me21n/me22n/me23n an make a print preview it's display my smartform correctly, to this point it's all ok, but the problem is that when i modify something in the order and save, my Z message class does not send the mail (i can't see it in the SOST transaction)
I was looking and it seems the problem is that the SOST and the SOOD table are not update but the NAST table does, so when i go to the SOST transaction it doesn't find the data to display.
I know that the update it's done in the form BUCHEN of the SAPLMEPO, but i can't find where.
Does anybody know how can i fix this problem? basically i want the me21n and me22n send the mail.
Thanks a lotThanks for your quick answer, I'll check and let you know any news
PD: what do you mean by "you need to maintain condition records as external send. then only it will send the mail automatically"?
Edited by: -tk85- on Jan 18, 2012 3:32 PM -
User exit for tcode ME21N and ME22N
Hi everyone
Can anybody tell me the user exits found in the tcodes ME21N nad ME22N, when saving a PO?
Regards
AnjaliAMPL0001 User subscreen for additional data on AMPL
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 Individual customer 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
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
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
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MM06E011 Activate PReq Block
LMEKO001 Extend communications structure KOMK for pricing
LMEKO002 Extend communications structure KOMP for pricing
If useful reward.
Vasanth -
Dear Gurus,
I have a question here.
Currently I am using an user exit EXIT_SAPMM06E_013 which is used for transaction code ME21N to check PO before saving. This user exit is to trigger an email to user when there is a creation of PO. The user exit is working fine in ME21N.
However, when user is in ME22N (Change mode) and then create PO by clicking "Create" button (in ME22N), the user exit is not working. There is no email trigger to user when a PO is created. By right, the user exit should work because user is in "Create PO" although it's in ME22N t-code.
I have tried to remove the t-code in my program but when user is in ME22N (changing PO) and then click Save changes, it kept on sending emails to user which it is not recommended. User would only like to receive emails when a PO is created instead of PO changes.
I would like to know if there is a way to solve this. Kindly help.
Thanks.
Santthi.Hi,
Are you using SY-TCODE to control the logic?
Just a suggestion, you can use the internal structure XEKPO to check whether there is an empty EBELN (PO number). If it's empty, meaning it's the saving of a new PO, else if it has value then most likely you are in another transaction to create the PO.
Please take note that the above will also work if you are assigning external PO numbers.
Hope that it helps to solve the logic to differentiate between ME21N or ME22N to create PO.
Thanks -
Dear Sdn'ers
I am facing a problem while updating the data from newly created tab in header for ME21N . Let me clarify I have designed the screen for adding the tab in header of me21n . Tab is diplay is over but New field added is not updated while in debugging.
badi : ME_GUI_PO_CUST
Method : IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_DYNP
break-point.
CASE IM_NAME.
WHEN SUBSCREEN1.
CALL FUNCTION 'ZMEPOBADIEX_POP'
IMPORTING
EX_DYNP_DATA = DYNP_DATA_PAI. "
IF DYNP_DATA_PAI NE DYNP_DATA_PBO.
something has changed therefor we have to notify the framework
to transport data to the model
RE_CHANGED = MMPUR_YES.
ENDIF.
WHEN OTHERS.
Regards
Pradeep
ENDCASE.DONE THROUGH USER EXIT
-
How to fix enhancements for speakers and headphones IDT high definition audio CODEC
I received a Windows message indicating "Windows has detected enhancements for the following are causing problems. Speakers & Headphones IDT High Definition Audeo CODEC.
How can I correct this?
fasteddie0717Did you install a third party CODEC?
****Please click on Accept As Solution if a suggestion solves your problem. That will help another person facing the same problem to find a solution easily****
2015 Microsoft MVP - Windows Experience Consumer -
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
-
Enhancement for ME21N in MM Module
Hi experts,
My customer gives me a requirement is that when the end user uses ME21N to create a purchase order,he/she inputs the data and then click the button "save" to save the data,then it needs to check whether the vender is valid or not.If the vender is valid,then the end user can save data.Otherwise,we should not create the purchase order.
I find out many customer functions and some BADIs,but I don't know which enhancement I should use.Could you please help me to find out which enhancement I should use??
Thanks a lot.
best regards,
Villy,LvDear Villy,
You should use BADI ME_PROCESS_PO_CUST mathod CHECK. This mathod is called before saving the PO and also if you press check button. This is best place to put your check.
If you do not have this BADI (Below release 470) or you do not want to use BADI, a user exit will also give this opportunity.
You may use EXIT_SAPMM06E_012 (Enhancement MM06E005).
If you do not acess of required data for this check, please use set data / get data to bring data into the enhancement.
I am sure this will meet the purpose.
Sanjeev
Maybe you are looking for
-
Need to connect different swf files into one site
I need to make this site like presentation for my next exam. I found a good template for a slide show. The presentation will be structured like this: MAIN PAGE with sidebar which links to: slide one with slideshow 1 slide two with slideshow 2 slide
-
How do I fix my ipod touch camera. It doesn't come up when I press the icon.
How do I fix my ipod touch camera? When I press icon, it doesn't come up.
-
[CS3] [JS] User canceled
I am doing my first steps trying to make the InDesignServer to create some pages. For some reason I sometimes get an error message: "User canceled this action." Obviously there is no user involved. And nothing is canceled. I cannot figure out what ca
-
Add photo to Notes section of Contact Record
When I try to add a photo to the Notes section of a contact record - it will not save. Error message is "Unknown Error". This used to work fine. How can I fix it?
-
In iPhoto, I know if I make an adjustment to a jpg, then a new version of the picture with the edits is created. Of course, creating a new version degrades the jpg just a wee bit, but I don't think it's noticeable, so that's OK with me. My question i