Error in badi ME_GUI_PO_CUST for ME21n/22n/23n
Dear All,
I want to add 1 tab in ME21n/22n/23n.
In that 2 field in EKKO table using ci_ekkodb include is add
For that I use badi ME_GUI_PO_CUST.
in that
MAP_DYNPRO_FIELDS
TRANSPORT_FROM_MODEL
TRANSPORT_TO_DYNP
TRANSPORT_FROM_DYNP
TRANSPORT_TO_MODEL
these method find error do to field name passing.
method IF_EX_ME_GUI_PO_CUST~MAP_DYNPRO_FIELDS.
FIELD-SYMBOLS: <mapping> LIKE LINE OF ch_mapping.
LOOP AT ch_mapping ASSIGNING <mapping>.
CASE <mapping>-fieldname.
WHEN 'ZZDEPT'. " Field Name
<mapping>-metafield = mmmfd_cust_03.
WHEN 'ZZPOGR'. " Field Name
<mapping>-metafield = mmmfd_cust_04.
ENDCASE.
ENDLOOP.
endmethod.
Referening **************** - Step by step guide on adding a new tab in ME21N using a BADI
Replay is appreciable.
Regards,
Pooja
First you go to se18 and read documentation of this badi.
You have to implement BAdI ME_PROCESS_PO_CUST before implementing this BAdI.
Sample code is available here.... goto->sample code->display
In case any doubt u ask..
Regards
Sreekanth
Similar Messages
-
Screen exit for ME21N/22N/23N
Hi All.
I have created all the subscreens available for enhancement MM06E005 (sub. scr. 0101, 0111, 0201, 0211, 0301 and 0311) , and have put a text inside each subscreen. All I want so far is to see this text in transactions ME21N/22N/23N, but I can´t find it. Is there any other step I should follow in order to make my subscreens show up in those transactions?
I have followed everything I could find in every topic in this forum, but I still can´t see my subscreen and the texts inside it.
Any help will be much appreciated, and points will be given to helpful answers.
thanks a lot in advance.did u activated the project for which u assigned the exit.
you can check the exit directly in
SMOD.
give the exit name and press test.
check that u get u r requirement.
regards
santhosh reddy
reward if useful -
User exit - for ME21N, 22N, 23N - at line item level
Hi,
I want to add new text field to display the description of the MPM(material) in it.
That filed I want to add to the Account Assignment tab at item level.
How to add that field on the screen, I mean any screen exit for this?
and function module to pass the data to that field.
If anybody worked on such problem then pls. let me know.
Thanks in advance.
-- UmeshHi,
These are the user exits for me21n.
AMPL0001
LMEDR001
LMELA002
LMELA010
LMEQR001
M06B0001
M06B0002
M06B0003
M06B0004
M06B0005
M06E0004
M06E0005
ME590001
MEETA001
MEFLD004
MELAB001
MEVME001
MM06E001
MM06E003
MM06E004
MM06E005
MM06E007
MM06E008
MM06E009
MM06E010
MMAL0001
MMAL0002
MMAL0003
MMAL0004
MMDA0001
MMFAB001
Regards
praveen -
Error: 400 "Bad Request" for "deletetree", file "": Unsupported protocol .
Hi
I have an C# application suddenly crashing after months of operation. The application is running on a Windows7 machine and is controlling 2 x NI6602 PCI counter cards through daqmx. The only clues to what when wrong is the following messages in the Windows Application Log.
Message 1 (occurring first):
LabVIEW information: Error: 400 "Bad Request" for "deletetree", file "": Unsupported protocol .
Message 2:
Faulting application name: RecordingStationGUI.exe, version: 1.0.0.0, time stamp: 0x4e3fa214Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdaaeException code: 0x80000003
Does anyone know what is causing this error and/or how I prevent this from happening again?
Regards,
molaWhere you ever able to resolve this issue? I have a very similar issue
-
BADI ME_GUI_PO_CUST for PO screen
Hello,
I need to add a button to the ME21n/22/23 transaction to call my own screens. I am trying to identify some screen enhancements through which I can add my push button. I am working on ERP2005. I identified badi ME_GUI_PO_CUST, but it does not have a subscreen name in the subscreens tab. Does that mean that I need to modify the standard to include the subscreen. I am doing the screen enhancements for the first time and would appreciate your opinion. Please let me know if there is any other badi which is best suited for this requirement.
Thanks in advance.
Regards
MalthiHi Malthi
Even if you have a subscreen you cannot place a button in the subscreen. You can place only input/output fields only on a subscreen.
So, you can try for a menu-exit and from there call you own screens.
If you don't find any menu-exit you have to go for a modification only.
Regards
Surya. -
Implementation Of Badi ME_GUI_PO_CUST for adding fields in Purchase Order
Hi All
I am implementing BADI ME_GUI_PO_CUST / ME_PROCESS_PO_CUST to add additional fields in Purchase Order.
The implementation of the BADI ie the Subscreen of the fields to be added appears in transaction ME23N but it does not appear in the transaction ME22N and ME21N.
Can anyone help me on this.
Thanx.
Moderator message - Duplicate post locked
Edited by: Rob Burbank on Jul 10, 2009 12:10 PMcheck the answer
[New tabs added by Badi ME_GUI_PO_CUST not seen in ME21N and ME22N;
bye -
Hello experts,
I have a couple of queries regarding the BADI implementations ME_GUI_PO_CUST/ME_PROCESS_PO_CUST .
1. I want to add a new tab under the PO item <b>based on the PO item type</b>. E.g., If the PO item type is 'D' (service) then the new tab should be displayed otherwise not.
2. How can I disable the editing of a PO item field (say PO item number) or a PO header field (say Company code) in edit mode? I know its through fieldselection but a detailed example would be of great help.
Thanks for your help in advance.
Best regards,
YuvarajHi,
FIrst you need to implement the 2 BADIs in SE19.
The BADI ME_GUI_PO_CUST is responsible for Screen display and data exchange b/n db and the screen.
The second BADI ME_PROCESS_PO_CUST is responsible for PO upadate.
To get the screen in the Transaction you need to code in the method SUBSCRIBE of the first BADI.
Example:
ls_subscriber-name = subscreen4.
ls_subscriber-dynpro = 0700.
ls_subscriber-program = prog_name.
ls_subscriber-struct_name = structure.
ls_subscriber-label = TEST.
ls_subscriber-position = 4.
ls_subscriber-height = 6.
ls_subscriber-height = 8.
append ls_subscriber to re_subscribers.
clear ls_subscriber.
Plz go through the sample code provided by SAP for the BADIs in SE18.
Hope this will help.. -
Error in ecatt testing for me21n transaction.
Hi All,
I have created Test script, test data container and Test configuration for ME21N (create purchase order) transaction
While executing test configuration, I got below error message.
S00349 Field COBL-KOSTL. does not exist in the screen SAPLMEGUI 0014
Please help me for further action.
Many thanks
VikasHi Vikas,
Before running the test configuration, Please check ME21N transaction manually and find out the field
COBL-KOSTL and check whether it is mandatory or not.
If it found check your script whether that field is properly recorded or not.
May be this field is newly added as mandatory for that transaction
Regards,
Santosh.
Edited by: ABAP Santosh on Oct 19, 2009 9:17 AM -
Create new tab in header using badi ME_GUI_PO_CUST for tcode ME21N
Dear all,
i have implemented method SUBSCRIBE in ME_GUI_PO_CUST to create new tab in ME21N,
but the tab is not coming
following is the code snips, please tell where is the error, or some setting needs to be done
method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE.
DATA: ls_subscriber LIKE LINE OF re_subscribers.
if sy-tcode eq ' ME21N' OR SY-TCODE EQ 'ME22N' OR SY-TCODE EQ 'ME23N'.
CHECK im_application = 'PO'.
CHECK im_element = 'HEADER'.
CLEAR re_subscribers[].
ls_subscriber-name = 'Customer-Data'.
ls_subscriber-dynpro = '0101'.
ls_subscriber-program = 'SAPLMEGUI'.
ls_subscriber-struct_name = 'MEPO_SUBSCRIBERS'.
ls_subscriber-label = 'Customer Data'.
ls_subscriber-position = 10.
ls_subscriber-height = 7.
APPEND ls_subscriber TO re_subscribers.
ENDIF.
endmethod.
Regards
SumodhHi...I hv similar requirement.
I need to show a custom field in the screen for the items.
I tried using the methods "SUBSCRIBE" and "MAP_DYNPRO_FIELDS" as explained in the sample code.
Below is my code. I have copied the sample code and changed it lil.
Method "SUBSCRIBE":
DATA: ls_subscriber LIKE LINE OF re_subscribers.
we want to add a customer subscreen on the item detail tab
CHECK im_application = 'PO'.
CHECK im_element = 'ITEM'.
each line in re_subscribers generates a subscreen. We add one subscreen in this example
CLEAR re_subscribers[].
the name is a unique identifier for the subscreen and defined in this class definition
ls_subscriber-name = subscreen1.
the dynpro number to use
ls_subscriber-dynpro = '9000'.
the program where the dynpro can be found
ls_subscriber-program = 'SAPLZMMPO1'.
each subscreen needs his own DDIC-Structure
ls_subscriber-struct_name = 'ZMM_PO_CUST_SCREEN'.
a label can be defined
ls_subscriber-label = text-t01.
the position within the tabstrib can be defined
ls_subscriber-position = 13.
the height of the screen can be defined here. Currently we suport two screen sizes:
value <= 7 a sevel line subscreen
value > 7 a 16 line subscreen
ls_subscriber-height = 7.
APPEND ls_subscriber TO re_subscribers.
method "MAP_DYNPRO_FIELDS":
FIELD-SYMBOLS: <mapping> LIKE LINE OF ch_mapping.
*- customer fields
CONSTANTS: mmmfd_cust_01 TYPE mmpur_metafield VALUE 90000000.
LOOP AT ch_mapping ASSIGNING <mapping>.
CASE <mapping>-fieldname.
WHEN 'CLMNO'. <mapping>-metafield = mmmfd_cust_01.
ENDCASE.
ENDLOOP.
I created a function group - "ZMMPO1" and created the subscreen 9000 in that. I placed the custom field in that screen. Tha main program of ZMMPO1 is "SAPLZMMPO1".
I created a structure also - "ZMM_PO_CUST_SCREEN".
I want to know whether this is sufficient to display the tab on the screen or am I missing something.
It is mentioned that the implementation of "ME_PROCESS_PO_CUST" is a pre-requisite.
could you lemme know the process please.
Thanks,
Ram. -
When I installed Rollup 8 for Exchange 2010 SP2 it caused an error in EWS
EWS failed with the error:
exchange web service could not load file or assembly Exchange.MailboxReplicationService.ProxyService bad parameter
When I uninstalled the rollup all worked fine again.
Any ideas, Thanks in advance?Hi,
To apply this update rollup, you must have Exchange Server 2010 SP2 installed. And remove all interim updates for Exchange Server 2010 SP2 before you apply this update rollup. Please check your installation deployment by the following article:
Install the Latest Update Rollup for Exchange 2010
http://technet.microsoft.com/en-us/library/ff637981.aspx
Description of Update Rollup 8 for Exchange Server 2010 Service Pack 2
http://support.microsoft.com/kb/2903903/en-us
If all requirements and preparations are configured properly, please collect your error logs to check your installation. It would be helpful to post some event logs here for further analysis.
Thanks,
Winnie Liang
TechNet Community Support -
Custom screen for ME21n - BADI issue
hi,
I had implemented BADI ME_GUI_PO_CUST for ME21n/me22n. The control is going to Subscribe and Map Dynpro methods but the control is not going to other methods like TRANSPORT_FROM_MODEL, TRANSPORT_TO_DYNP, TRANSPORT_FROM_DYNP and TRANSPORT_TO_MODEL.
Please explain how we can make the control to move to these methods. not sure what is missing in the implementation"Customer Data" on ME21N/ME22N uses the SMOD enhancement MM06E005. Screen 0101 is used for Header Customer Data. So, when you navigate through this screen it doesn't go through the TRANSPORT* methods.
You can also use the BADI ME_GUI_PO_CUST to add your additional tabs in ME21N. You need to use the method SUBSCRIBE to set the Program, Subscreen number and other details. When you do the subscribe method, it would call the TRNSPORT* methods. Check the example code given in the class CL_EXM_IM_ME_GUI_PO_CUST.
Regards,
Naimesh Patel -
Hi All,
I have a doubt in BADI's for ME21N T'code i:e
how to disible HOLD button on ME21n T'code screen and also how to handle that BADI in that ME21n T'code.
Plz give me ASAP.
Thanks.
Srinivas.hi,
Use the BADI
ME_PROCESS_PO_CUST
Other wise u can handle this by using SHDO recording.
Regards -
Need help on implementing the BADI ME_GUI_PO_CUST
Hi All,
As per my requirement I need to do Enhancement for Unloading point field on PO.This filed will get all the department numbers applicable for the site on the line item.
For this I need to Implement the BADI BADI ME_GUI_PO_CUST.
The Method which needs to be Implemented is : TRANSPORT_TO_DYNP.
Instructions have been given for the Screen design.
Can anyone help me (with the sample code how) to Implement this method of the BADI in SE19.
This BADI method is taking a view as an Input and I am not understanding how to proceed.
Thanks and Regards,
Smriti SinghHi,
my suggestion is to check the standard documentation of the interface IF_EX_ME_GUI_PO_CUST.
After that you can check the method IF_EX_ME_GUI_PO_CUST~TRANSPORT_TO_DYNP in the example implementation class CL_EXM_IM_ME_GUI_PO_CUST.
Usefull links:
[Re: Implementing badi ME_GUI_PO_CUST;
[Re: ME21N - PO Enhancement using BADI;
Kind Regards.
Andrea -
Am doing and enhancement on transaction ME21N. Where I am validating a price based on the Purchase requisition.
I implemented the BADI YWVKU_DETERMINE_SP and in method GET_SALES_PRICE I used my code.
I created a custom message class in se91 to display the error message when we run me21n. I get a short dump as follows
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
Please assistThis is part of the dump
Error analysis
Short text of error message:
General system messages
Long text of error message:
Technical information about the message:
Message class....... "ME"
Number.............. 000
Variable 1.......... "Price cannot be greater than 10% of PR"
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"MESSAGE_TYPE_X" " "
"SAPLMEPO" or "MM06EF0B_BUCHEN"
"BUCHEN"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP -
Could not get Custom screen in me21n after implementing Badi ME_GUI_PO_CUST
Hi.,
I created implementation for the badi ME_GUI_PO_CUST... but i could not get the Tab and screen in header tab.
also used below link in the forum to correct the issue ....but dint help me .
Custom screen not displaying using BADI ME_GUI_PO_CUST
Pls help me how to go abt...
Thanks,
Ranjitha.Hi ....
Now the tab is reflecting in me22n & me23n but not in me21n ......can anybody tell what could be the reason?
thanks
ranjitha
Maybe you are looking for
-
How can i transfer a digital movie from one apple id to another apple id?
how can i transfer a digital movie from one apple id to another apple id?
-
I would like to buy a desktop monitor to use at home with my new Mac Air, any suggestions as to what works best. Thanks
-
ACME Video demo: Members can't log on
Using: JDeveloper 3.0 (build 532) Tesing the ACME Video demo in JDeveloper's own environment (ie, without a separate web server), no member can sign in to the ACME video store web interface. scott/tiger member/password doesn't work... I proceeded to
-
ISchedulerTask - Access Resources
Hi guys, does anyone of you know how to access a resource from an ISchedulerTask's "run" method? I want to access an XML-file that contains some configuration data. The XML-file is in the same PAR-file as the ISchedulerTask. Although they are in diff
-
Question - Oracle Physical Standby
Oracle 10.2.0.3 database running on row logical disk (row device) with two thread RAC cluster with CRS and AIX-HACMP implemented on two nodes running AIX6.1 OS My question can one create simple Oracle Physical Standby (without data guard etc) Databas