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 PM
Hi 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
Similar Messages
-
Screen Exit - Enhancement MM06E005 - Transfer input data back to program
I have implemented enhancement MM06E005 to create a subscreen on the PO header. I have created the screen and I see it on the POs tcodes (ME2#n). However, I can't figure out how to "save" the data that the user inputs. By save I mean bringing the data back to the calling program (tcode). When the PO is saved the input data goes away; it is there until the save. I realize that I am missing something but I can't figure how where/how to transfer the data in the FMs EXIT_SAPMM06E_007 and/or EXIT_SAPMM06E_008.
I have read the SAP documentation but that isn't much help. I also have a book from SAP on modifications/enhancements (from an SAP course) and that isn't of any help either.
Any ideas?
Regards,
DavisHello,
i think you can found an answer to your question in the thread below :
[MM06E005 functional exit;
Particularly, the post of Padmam is saying : "You incorporate your customer fields for the Document Header in the INCLUDE CI_EKKODB (in table EKKO)."
Have you add the customer fields (those displayed in the subscreen you create) in the include CI_EKKODB ?
Cordialement,
Chaouki. -
Tcode: /SCWM/VEH --Finding screen exits/enhancements in eWM
Hello All,
I need to add a dropdown or F4 help button on a custom screen in transactoin /SCWM/VEH related to SCM eWM. I did not finf any screen exits for this transactoins. Please suggest is there any way in acheiving this?
Also can anybody explain how to achieve Batch to Batch transfer posting technically in eWM.
Please suggest me where can i found good tech document related to eWM.
Thanks In Advance.
Anil
Edited by: anil007 on Nov 11, 2009 10:13 AMHi,
Check these:
MGA00001 - Material Master (Industry): Checks
and Enhancements
MGA00002 - Material Master (Industry): Number
Assignment
MGA00003 - Material Master (Industry and
Retail): Number Display
Check with 'BADI_MATERIAL_REF'
Refer
http://www.****************/Tutorials/ExitsBADIs/MM/MM01.htm
https://forums.sdn.sap.com/click.jspa?searchID=7217830&messageID=3313524
Regards -
Hi Experts,
I need to disable the "Create Batch" button (CREATE_BATCH) in ME22N. I have tried the screen exit in MM06E005 for SAPLXM06 0111. But it does not seems to work and documentation specifies that it cannot change standard fields. Is there any other way or exits to disable it?
Many thanks.
Regards,
JanetHi
disable few fields in standard infotype screen
disable a field in f-02 transaction
Regards
Pavan -
Hi.
I had implement a new screen exit using the enhancement MEREQ001, everything is working. My problem is that I only want that this new exit appears in ME51N, ME52N and ME53N when we are facing a PR that is from type ZNB. Can anyone tell me how I do it?Hi Merisaq,
As far as my knowledge, you cannot hide the screen tab but you can hide the fields in that tab, based on TCODE and Document Type writing the login in PBO of that screen.Example :
IF ( SY-TCODE = 'ME51N' OR SY-TCODE = 'ME52N' OR SY-TCODE = 'ME53N') AND WA_EBAN-BSART = 'ZNB'.
"Here WA_EBAN is a work area with PR details, use as you have declared
LOOP AT SCREEN.
IF SCREEN-NAME = <YOUR FIELD NAME>.
SCREEN-DISPLAY = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF SCREEN-NAME = <YOUR FIELD NAME>.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Hope this helps.
Thanks & regards,
Rock. -
In transactions ME21n, ME22n, ME23n I need to add new field to item detail
Hello,
In transactions ME21n, ME22n, ME23n I need to add a new field to the table control TC_1211, in SAPLMEGUI screen 1211 for PO line items. The new field is UNSPSC Code, a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
BADI ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order. Is this the correct BADI to use for the purpose of adding a new input/output field to the PO detail SAPLMEGUI screen 1211?
Does anyone have any examples of adding a new field to PO Item Detail screen using BADI ME_PROCESS_PO_CUST? I have had some experience creating Badi's, and would appreciate very much some sample code if possible.
We are on release SAP ERP Central Component 5.0
SAPKB64018 SAP Basis Component
SAPKA64018 Cross-Application Component
SAPKH50013 Logistics and Accounting
Thank you,
VictoriaHi,
Thank you for the response. I tried this and found Badi ME_PROCESS_PO_CUST. Do you have any examples of adding a new cust field to PO Item overview screen using badi ME_PROCESS_PO_CUST? I have had little experience creating badi's, and would appreciate very much some sample code if possible.
In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
Can you tell me if method FIELDSELECTION_ITEM of badi ME_PROCESS_PO_CUST the correct one to use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
Thank you for help - much appreciated,
Vicki -
Problem in transporting MIGO BADI screen exit?
Hi all,
I have implemented MB_MIGO_BADI for screen-exit of the MIGO.
Whem transporting I am getting an error that
Table ZMIGO_BADI_EX_SCREEN_FIELD could not be activated
(E- Routine EXPAND (Table ZMIGO_BADI_EX_SCREEN_FIELD could not be expanded) )
Table Type ZTY_T_EXTDATA could not be activated
(E- Row type ZMIGO_BADI_EX_SCREEN_FIELD is not active or does not exist ) .
But this row type is in the same request number and activated also ?
I am unable to identify the reason. Please help me to solve this problem?
Thanks,
VamshiHi,
Go to se80 and display the program name which you might have given in methof IF_EX_MB_MIGO_BADI~PBO_DETAIL and activate the screen which you have created,
Thanks,
Shailaja Ainala. -
Screen exit for CRMD_ORDER
Hi ABAPERs,
we need to add a custom field in the GENERAL tab in the TXN CRMD_ORDER...is there any screen exit / enhancement for the same.
BR,
Anubhav Jain.Hi,
Have a look
https://forums.sdn.sap.com/click.jspa?searchID=11604451&messageID=3708512
Regards
Kiran Sure -
Implementation:Enhancement using screen exit:QQMA0001 for Tcode:QM01
Dear Abaper,
I am implementing the Enhancement for Quality notification using screen exit:QQMA0001 for the transaction code :QM01,QM02,QM03.
when i was creating the subscreen in function group:XQQM and after saving that subscreen(for example 100) , it is automatically stored in local object, that mean local package or development class. it is not transporable.
my requirement is , i want to transport that Project. how to do that.
if you have a any idea, please help me.
advance thanks.
with best regards,
Velmurugan.SDear ravi,
yes of course , I have created already customer enhancement in CMOD.but my requirement is ,
when i save that subscreen after creation of subscreen, it is not ask Package or development class.but it is taking local object(local package) automatically . what is reason, i donot know .
if you have a any idea, please help me.
thank you.
with best regards,
velmurugan.S -
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 -
Hi,
I have a enhancement( screen exit ) to do... Has any one worked on this enhancement.. so that they can guide me...
This enhancement to be carried out in transaction ME21N and validated against the Purchase Organization (SG01). Singapore will be using this purchase organization alone. You can find this Purchasing Organization in header Org. Data Tab.
The field name to be Mode of Transport and to have fields Courier, Air, Sea, Land, & Local Transport. These fields to be displayed as dropdown for selection. This field has to be a mandatory field and to be validated while screen exit when they select Check and Save.
The data captured to be stored in Z table and additionally following field is to be captured for mapping.
 PO Number
This field should be available for amendment in transaction ME22N, displayed (greyed) in ME23N and again displayed in transaction ME29N.
The captured field in Z to be inserted in PO forms in transportation mode field.
I have found the Badi 'ME_GUI_PO_CUST'.
but dont know what parameters to pass, the parameters that to be passed in SPRO Olme transaction.
If anyone has better solution pls do forward to me so that i can try my best.
Regards,
Mahadev shetty.Hi,
For better understanding see the badi documentation in se18 transaction.
SAP people gives the sample code. Check the implementation class:CL_EXM_IM_ME_GUI_PO_CUST in se24 tcode.
U can use the subscribe and MAP_DYNPRO_FIELDS methods for screen exit.
or In se18 transaction,
give the badi def goto/sample code/display.
If it is helpful rewards points
Regards
Pratap.M -
ME21n/ ME22n BADI user exit or badi
Hi,
Can anybody tell me user exit or badi , for transaction code Me21N or Me22N ,
Regards,
PSTransaction Code - ME21N/ME22N Create/Display Purchase Order
Exit Name Description
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
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.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
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
No of Exits: 35
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal Nampalliwar -
Hi friends,
I need steps to create screen field in ME21N using the BADI ME_PROCESS_PO_CUST. Can anybody suggest me how to implement this.
Thanks in advance
Regards
Srikanth SHello Srikanth,
To created a screen exit you can use either a BADI or a USER EXIT.
BADI : ME_GUI_PO_CUST
USER EXIT: MM06E005
GO to transaction SMOD
and type MM06E005 and press display.
once inside the user exit, click on components, there you have function Module exits, screen exits and includes.
On the screen exits, you have to decide where you want to add the screen field, whether its on header or item level.
THE go to SE80, type the screen name as the program name. IT will give you all the objects for the particular program.
Choose screens, and then the relevent screen. Go to layout and add the field you want. Save and activate.
You also need to add the field in the Cl_include so that you could pass data and retrive data.
Write the relevant code in Function Modulte Exits.
ITEM LEVEL:
EXIT_SAPMM06e_016
EXIT_SAPMM06e_017
EXIT_SAPMM06e_018
Now you have to add the relevant code in the PAI and PBO module.
Reward if useful.
Regards,
Sandeep Salaria -
EXIT BADI FOR ME21N ME22N AND ME23N
Hello Boys.
I want to change the field 'Tax code' (MWSKZ) in a Purchase order on transaction ME21N, ME22N AND ME23N.
I want to change thios field in a BADI, USER EXIT or ENHANCEMENT-POINT.
But I can't find where change this field.
thanks for your help.
Best regards.Try Badi : ME_PROCESS_PO_CUST
CALL METHOD im_item->get_data
RECEIVING
re_data = v_data_item.
Your code to change the tax code
CALL METHOD im_item->set_data( v_data_item ).
<REMOVED BY MODERATOR>
Edited by: Aparna Shekhar on Jun 12, 2008 11:33 AM
Edited by: Alvaro Tejada Galindo on Jun 12, 2008 12:52 PM -
How to create new tab in Me21N using enhancement MM06E005
Hi All,
Can u guys please tell me know to create a new tab at item level in purhcase order ME21N using enhancement MM06E005.
Thanks in advance.
Thanks,
Jaffer Ali.SPlease search the forum:
addition of new tab (reasons) on me21n (item level)
Re: Adding a new Tab - ME22n - Item Detail Level
Maybe you are looking for
-
HT201269 How do I get my email addresses off my iPad to my iPhone contacts?
How do you transfer email addresses from a iPad to a iPhone?
-
Allow external host to relay through Ironport?
What is the "safest" way to allow an external host to relay e-mail through our Ironport? I know it's not "recommended", but I don't have any choice. I guess I could set up the external IP that's allowed to relay in Mail Policies --> Hat Overview - Re
-
Can you safely cast Object to generic Set MyType ?
I have a property change event evt where evt.getNewValue() contains a Set<MyType> value and I want to do the following: Set<MyType> newSet = (Set<MyType>)evt.getNewValue(); Is there a "safer" way of doing this which satisfies the compiler enough to p
-
Please Help!! My computer has died following the upgrade. I have installed additional memory to 3GB, but no joy. Please confirm what can be done to improve? Thanks
-
I'm using a MACO ml-1000 label sheet for ingredients of my beef jerky. It has 10 labels/sheet. I've typed in the ingredients on one label. How do I duplicate that one label over to the other nine labels?