Add tab in header screen of MIRO
Hi Experts,
I would like to add a new tab in header screen of MIRO transaction. is it possible.. ? if so, can any one please guide.
Thankx
Sal
Hi,
this wiki:
http://wiki.sdn.sap.com/wiki/display/Snippets/Displaycustomerfieldsinheaderoflogisticsinvoiceverification+transactions
it´s about creating a subscreen under "Basic Data" tab but it´s not about creating a "New" tab in header of MIRO transaction.
Best regards.
Edited by: Pablo Casamayor on Dec 9, 2009 2:14 PM
Similar Messages
-
TO ADD TAB AT HEADER LEVEL IN ME21N
Hi guys
I have to add a tab at header level of ME21N using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST
can someone guide me how to do this?
ThanksHi,
Try with SMOD enhancement MM06E005. I know this works well for adding a tab in PO header or item level . Read OSS 407975 for implementing this screen exit
here i am pasting OSS Notes and if you need clearly then login into service.sap.com
Symptom
You are using SAP customer enhancement MM06E005. There is no sample source code for this enhancement.
Other terms
User exit, customer enhancement, MM06E005, example, sample
Reason and Prerequisites
You want to activate user exit MM06E005. Note that this is a consulting note and not a correction of the user exit.
Solution
You can use the sample source code attached here to recognize the basic functions of the exit. This example is, however, only one of many options that are offered by the customer enhancement.
The sample source code includes the following functions:
Supply of an additional field on header level
Supply of an additional field on item level
Derivation of a field on item level from the copied reference document
Now, in order to be able to use the sample source code, you must create field ZZFLAG on the header level of the document and field ZZFIELD on the item level.
Double-click on Include table CI_EKKODB
Enter the following values:
Name Component type DType Length DecPlace Short text
ZZFLAG CHAR1 CHAR 1 0 1-digit indicator
Save and activate the include table.
Double-click on Include table CI_EKPODB
Enter the following values:
Name Component type DType Length DecPlace Short Text
ZZFIELD CHAR1 CHAR 1 0 1-digit indicator
Save and activate the include table.
In order to activate the sample source code, you additionally have to carry out the following changes on screens 0101 and 0111.
1. Screen 0101: Create the following fields:
"Checkbox" Name: EKKO_CI-ZZFLAG
2. Screen 0111: Create the following fields:
"Input/output field" Name: EKPO_CI-ZZFIELD
"Pushbutton" Name: BUTTON
FctCode: ZZDETERMINE
The following assignments apply to the sample source code:
EXIT_SAPMM06E_006 --> LXM06F36
EXIT_SAPMM06E_007 --> LXM06F38
EXIT_SAPMM06E_008 --> LXM06F37
EXIT_SAPMM06E_009 --> LXM06F39
EXIT_SAPMM06E_016 --> LXM06F41
EXIT_SAPMM06E_017 --> LXM06F42
EXIT_SAPMM06E_018 --> LXM06F40
Copy the source code from the attachment and insert it into the corresponding function modules. Save and activate the function modules.
Create the following variables in the corresponding TOP include in order not to get any syntax errors:
INCLUDE ZXM06TOP
data: gl_aktyp type c,
gl_no_screen type c,
gl_rekko like ekko,
gl_ekko_ci like ekko_ci,
gl_ekpo_ci like ekpo_ci,
gl_ekpo like ekpo,
gl_ucomm like sy-ucomm.
types: begin of ekpo_tab,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
ekpo like ekpo,
end of ekpo_tab.
data: gt_ref_ekpo_tab type table of ekpo_tab.
Save and activate the TOP include.
On header level, you can now store a character, X or space, via field ZZFLAG on the database with the document and read it also again.
On item level, you can fill field ZZFIELD with a one-digit value and save it with the document. If you copy this document, the system displays an additional function button on tab page "Customer data". If you press this button, the value of the reference document is copied to field ZZFIELD.
If you want to store the source code as sample source code in your system, start Transaction SMOD. Enter MM06E005 as an enhancement. Select "Components". Press "Change". Position the cursor on the corresponding module and choose "Sample code". Create the corresponding include and copy the source code from the note. Save the include. Note that, of course, syntax errors may occur when you check components. This is because the includes of the sample code are not integrated into a program but rather are completely independent and, therefore, do not have any relationship to each other either. For this reason, only save the include and do not activate or check it. The sample code has to be copied into the corresponding function modules in order to become active.
If you use the user exit in the new purchase order, it is not guaranteed that the customer screen is always processed. To make sure that possible required fields are checked, include a corresponding message into the EXIT_SAPMM06E_012. This screen is always processed.
Header Data
Release Status: Released for Customer
Released on: 07.09.2006 13:07:34
Priority: Recommendations/additional info
Category: Consulting
Primary Component: MM-PUR-PO Purchase Orders
Secondary Components: MM-PUR-GF-CE Customer Enhancements
I have not done BADI for PO,so i am not sure that whether BADI will work for Screen exit or not
Thanks
Seshu -
Display Both Excise Tab And Customized Tab in MIGO header screen
I want to display both Excise tab and My customized tab in header screen in MIGO..But I have seen at a time one tab is displaying.Can anybody tell me
how I want to diplay both tab at a time??Hi DEBDATTA PANDA,
In MIGO - Excise tab is showing as a part of customization. In PO if tax values are available that values will show in migo(drop down will show capture/refer /capture+post few more ) under excise tab.
pre req. is mat + Vendor +plant need to be excisable .
Now on your Customized tab is purely a Z development.only you can tell .
Also , if you are not seeing excise tab in migo , it means either config or master data missing for material code , Vendor, Plant
regards
manu -
User exit in VL31N/VL32N to add tab page at header level
Hi,
I want to know whether we have any user exit for VL31N to add tab page. I know the BADI name. But now I am using 4.6c which doesnot have the BADI.
Bye.Hi Bindu, You can implement BADI - LE_SHP_TAB_CUST_HEAD to add header tab for Tcode - VL31N.
Create function group and create screen in that function Group. Call screen in Method ACTIVATE_TAB_PAGE of badi by passing required parameter as listed below.
EF_CAPTION = 'Insurance Detail'. " Tab Text
EF_POSITION = 7. " Tab Position
EF_PROGRAM = 'SAPLZMM_VL31N'. " Function Group
EF_DYNPRO = '9001'. " Screen # -
Add checkbox on header level Tab Org.data
Dear All,
My requirement is I need to add checkbox on header level Tab Org.data in ME21n or ME21.
And if checkbox is checked in the tab Org.data, it should display Terms and Conditions in the print preview.
Please suggest how to write code? Is there any user exit for transactions ME21N or ME21.
Thanks,
Rana.hi praveen,
search this forum on how to implement a badi if you haven't done one before. also, go to transation SE18 and read the documentation on badi_fdcb_subbas01 which clearly says that its used for FB60... see the example how they have used it by going to menubar Implementation->Overview then choose FI_FDCB_SUBBAS01_EX (Example for Screen Enhancement 1 on FDCB Basic Data Screen)...you should look at the method PUT_DATA_TO_SCREEN_OBJECT and tab Subscreens where the screen exits are available to use.
In FB60, if you go to menubar System->Status and check the Program (Subscreen) and Screen Number, you'll see it'll match the program name and screen no. provided in the Subscreen tab of the BADI.
Hope this helps.
Cheers,
Sougata. -
Addition of new tab in header and item screen of MIGO - Steps required.
Hi Gurus,
Can anyone give me the exact steps to add screen tab in migo transaction. I have the badi MB_MIGO_BADI to add the new tab but I want to know what are the exact steps to implement it.
Thanks,
ShibashisHi,
Try this.
1. Create one screen as subscreen in tcode se51.
2. Create implementation for badi.
3. if u want to add this tab at header level, then go inside PBO_HEADER interface of badi. and write this code.
check i_class_id = gf_class_id.
e_cprog = text-001. " Program name of screen
e_dynnr = text-002. " screen No.
e_heading = text-003. " Name of the tab.
clear :e_cprog ,e_dynnr ,e_heading.
endif.
4. In INIT inter face write this.
append gf_class_id to ct_init.
5. GF_CLASS_ID , declare this in attribute as label constant and type MIGO_CLASS_ID.
6. Functionality for this tab you can write in PAI_HEADER.
Regards
VIshnu Gupta -
Add two customer tab in ME53N screen
Hi Experts,
We have added one customer tab in the (ME53N) Requisition screen using screen exit SAPLMEGUI (SUB0).
Is it possible to add another customer tab to that screen?
Regards,
AnirbanHi Anirban,
We can achieve the target of adding a customer tab using the exit MEREQ001.
Go to Tcode SMOD , Enter the Enhancement as MEREQ001 , Click on 'Documentation' and SAP has given an excellent step by step procedure on how to add a tab at item level.
Hope it helps
Regards
Byju -
Hi Friends,
Can anyone please tell me what controls header screen in t.code MIRO and how do I see what fields are mendatory or suppressed in it.
If you can provide path , it would be helpful.
Points to answers.
ThanksHi,
when you say:
1.-
I am getting a short dump with error message 'Screen does not exist'
it is obvious that the screen does not exist.
Someone has transported to quality server the request without the screen and this is the reason of your dump.
Consider as well that someone could have made the modification directly in quality server.
2.-
Can you pls tell me how to find the screen number and what is the contents of this screen.
do as i said and identify the author of the request and talk to him/her.
It is his/her duty to fix it.
Best regards
Edited by: Pablo Casamayor on May 1, 2010 10:05 AM -
Can we add tab in me27 T- code Screen
please help me
Can we add tab in me27 T- code Screen
Edited by: vikram kamuni on May 31, 2008 4:32 PMwhat tab you want to add?
-
Adding Pre. account no. field from vendor master to PO header screen
Hi,
I want to add the field lfb1-altkn (Pre.acct.no.) to the purchase order header screen under org structure tab. This field has to contain the value from the Vendor Master Accounting Information View Prev.acct no. field.
Please let me know how to proceed.
Thanks and regards
Duraiyou can not add to the Org tab but if you use this user exit MM06E005
then you can add the field to the customer tab on PO header and add the logic in the user eixt to read the value from vendor master -
Additional tab at header level in ME21N through BADI ME_GUI_PO_CUST
Hi,
I want to have additional tab at header level in ME21n through BADI ME_GUI_PO_CUST. But after all effort I am not getting display of tab. Let me explain what i did till now
1. Appended table EKKO with field
2. Create one function Group -under that
A. Created one Include u2013Paste the code given
DATA: call_subscreen TYPE sy-dynnr,
call_prog TYPE sy-repid,
call_view TYPE REF TO cl_screen_view_mm,
call_view_stack TYPE REF TO cl_screen_view_mm OCCURS 0,
global_framework TYPE REF TO cl_framework_mm,
global_help_view TYPE REF TO cl_screen_view_mm,
global_help_prog TYPE sy-repid.
FORM SET_SUBSCREEN_AND_PROG *
--> DYNNR *
--> PROG *
--> VIEW *
--> TO *
--> CL_SCREEN_VIEW_MM *
FORM set_subscreen_and_prog USING dynnr TYPE sy-dynnr
prog TYPE sy-repid
view TYPE REF TO cl_screen_view_mm.
call_subscreen = dynnr.
call_prog = prog.
call_view = view.
ENDFORM. "set_subscreen_and_prog
B. Created one screen (9000)
3. Implemented BADI ME_GUI_PO_CUST and paste the code.
data: ls_subscribe like line of re_subscribers.
CHECK im_application = 'PO'.
CHECK im_element = 'HEADER'.
CLEAR re_subscribers[].
ls_subscribe-name = ' ZMMSCR1'.
ls_subscribe-dynpro = '9000'.
ls_subscribe-program = ' ZMMSCR1'.
ls_subscribe-struct_name = 'EKKO'.
ls_subscribe-label = text-001..
ls_subscribe-position = 15.
ls_subscribe-height = 7.
append ls_subscribe to re_subscribers.
Please help me what s going wrong .and what else I will do to get success.
Edited by: Vishal A Vijaywargia on Jul 29, 2009 2:24 AMHi Prosengit,
I am not aure about u r BADI,
BUt last week i have custom tab in the PO header data using this enahncement 'MM06E005'.
IN thi senhancement u have thrre screen exits.In this enhancement
SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item
u can add subscreen and u can add u r own fields here .
and u can write u r code in 'EXIT_SAPMM06E_006'.
if u want to change the title of the program.
Go to program SAPLXM06 then go to text element give text symbol no as '111' and u can change the title of u r tab.
I hope this solves u r problem. -
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. -
I write customtag for form vodation
now i can use code suggesion
As <input type="text" name="ftext"
test="email">
<input type="text" name="fphone"
test="phone">
but it use include javascript for cheack input'value format
how to auto add javascript link As spray?Hi,
this wiki:
http://wiki.sdn.sap.com/wiki/display/Snippets/Displaycustomerfieldsinheaderoflogisticsinvoiceverification+transactions
it´s about creating a subscreen under "Basic Data" tab but it´s not about creating a "New" tab in header of MIRO transaction.
Best regards.
Edited by: Pablo Casamayor on Dec 9, 2009 2:14 PM -
CS -Depot Repair User field header screen
Hello ,
I want to include user defined field in RMA sub-tab of SM03 order type.. This user defined field is "Serial number".We are creating a service order for a serial number. Currently I can view serial number in object list .We want to include this serial number field in RMA sub-tab. Is this possible.
I think from this exit IWO10018 it is possible to include fields & screen.But it is visible as seperate tab "Enhancement" appearing on last in order tabs.Am i right.
Regards,Go through this link. This link has explained to add field using screen painter for VA01 entry screen. Instead of program SAPMV45A, enter the program SAPLCOIH (for IW31 header screen). Check with ABAP people for further clarity.
http://www.sap-advisor.com/abap-coding/how-to-add-a-custom-field-using-the-sap-screen-painter/
http://wiki.sdn.sap.com/wiki/display/ABAP/NewfieldListdisplayatIW38orIW39whenactivatingscreenexitatIW31MaintenanceOrdercreate -
How to add tab and field in purchase order
hi friends,
I have to make changes in the purchase order. i have to add tab and a field in that.
i know that badi ME_GUI_PO_CUST have to used this.
can anyone send me the code or documenation fot add a tab and field using this badi or suggest me how to do this.
if code or documenation is not available then send me the steps if possible.
my mail id is [email protected]
[email protected]
hitesh kumarHi,
1. Double-click on your implementation class
2. Click on Attributes tab
3. Add attribute SUBSCREEN1 with level Constant, visibility Public, type MEPO_NAME, initial value 'HDRSCREEN1'.
please go thourhg the below link .... in this the steps are there and the some of the standard Enchancements also there.
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
See this treads :
ME_PROCESS_PO_CUST header n item connection
Re: BADI IF_EX_ME_PROCESS_PO_CUST~PROCESS_SCHEDULE
<b>Reward points</b>
Regards
Maybe you are looking for
-
Movies from iMac 27 do not show up on macbook air
I have 24 home-made movie that show up on my main computer, iMac 27, two iPads and and iPhone5. However, I am baffled how to get the same movies to show up on my Macbook Air. I've tried Sharing the Library, turning Sharing off and on on both compuete
-
Run time error while saving the production order in CO02
HI Experts, While i am releasing and saving the production order the system is giving the runtime error. Please help. Runtime Errors UNCAUGHT_EXCEPTION Exception CX_SLD_API_EXCEPTION Error analysis is An exception occurred that i
-
Runtime Errors : COMPUTE_INT_TIMES_OVERFLOW
Hi All, While loading Query Runtime Stat delta I am geting Runtime Errors: COMPUTE_INT_TIMES_OVERFLOW Exception: CX_SY_ARITHMETIC_OVERFLOW Error analysis An exception occurred that is explained in detail below. The exception, which is assigne
-
How to add a delay, sleep() doesn't seem to work
I need to add a 1 second delay before calling a next function like [self playStop]; sleep(1); [self playGo]; But it just pause 1 second and then execute both playStop and playGo. Any idea?
-
ESS Personal Information not working
Dear All, Here we have ECC 6 and EP7 SP10, we have uploaded BP ESS 1.0 SP 7. For ESS Personal Information workset, iViews for Address, Bank Information, Family Information and Personal Data is showing a page in which it is given steps which are 1