Adding Tab screen to MIGO_TR transaction
Hi Friends,
I have requirement like to create a tab screen in MIGO_TR transaction with a input field using BADI * u201Cmb_migo_badi"*
can anyone help how to achieve this. Is it possible to create a tab screen in a standard sap program using BADI.
Please help to solve the problem.
Thanks
Edited by: Gayathri Sundaresan on Sep 23, 2009 12:46 PM
Hi,
In User Exit Function module..
write call screen statement..
Regards,
Omkar.
Similar Messages
-
Hi all,
I need to create a tab-screen in ME21N transaction for header details. it should have a date field. i.e. the screen should be one among header details tabscrren. how shall i do this. plz help me.
Thanks and regards,
subbu.Hi,
U can use the BADI: ME_GUI_PO_CUST and implement this badi using SE19 tcode.
For better understanding see the docu and default code see the class:CL_EXM_IM_ME_GUI_PO_CUST.
U need to implement the 'subscribe ' and 'map_dynpro_fields' methods.
If it is helpful rewards points
Regards
Pratap.M -
How to add new tab screen in transaction BP
Hi,
Please let me know How to add new tab screen in transaction ukm_BP. Is there any SPRO configuration needed for this?
Thanks,
Debi.Hi,
You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.
REPORT zrmexitfinder .
TABLES: modsap, modact, tstc.
PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',
input2 LIKE modsap-typ DEFAULT ' '.
DATA: search1(6),
search2(3),
search3 LIKE modsap-member.
DATA : first_row VALUE 'Y'.
CONCATENATE: '%' input1 '%' INTO search1,
'%' input2 INTO search2.
SELECT * FROM tstc WHERE tcode LIKE search1.
first_row = 'Y'.
CHECK tstc-pgmna NE space.
CONCATENATE '%' tstc-pgmna '%' INTO search3.
SELECT * FROM modsap WHERE typ LIKE search2
AND member LIKE search3.
SELECT SINGLE * FROM modact WHERE member = modsap-name.
IF first_row EQ 'Y'.
WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
45 modsap-member, 70 modact-name.
first_row = 'N'.
ELSE.
WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.
ENDIF.
CLEAR : modsap, modact.
ENDSELECT.
IF sy-subrc NE 0.
WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
ENDIF.
CLEAR tstc.
ENDSELECT.
END-OF-SELECTION.
CLEAR: search1, search2, search3.
Regards,
Renjith Michael. -
Adding a sub-screen to IW51 transaction (BADI or Screen-Exit)
Hi,
Currently we are able to capture only one Product/Material on a Service Notification(Transaction-IW51). But going forward we need to capture multiple Materials (and its details) in IW51.
Is there any BADI or Screen-Exit (in Transaction-IW51) thorugh I can add a subscreen to capture multiple Materials/Product at one go.
Thanks,
PrasannaHi
When you create your screen use directly the std structure VBAK and VBAP to design the input/output fields.
So for example if you have added the field ZZFIELD in VBAK, insert it in 8309.
In this way the standard program VA01'll automatically store your data in your fields.
So you don't need to write some code to store it, but only (if it needs) some code for validations in the screen flow.
Max -
Reg: Additional header tab strip in MIGO Transaction
Hi Experts,
I have added a new header tab strip in MIGO transaction. The tab strip is triggered using the BADI 'MB_MIGO_BADI' (PBO_HEADER method), I populated a selection screen using module pool program through the same BADI. Now i need to update the values in the selection screen fields to the data base table MKPF. I need a solution for update the screen field values to the data base table MKPF. Whether some other BADI i need to use? if yes how can i pass the screen field values to that BADI.
Please guide me.
Thanks
Vijay.RHi,
You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.
REPORT zrmexitfinder .
TABLES: modsap, modact, tstc.
PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',
input2 LIKE modsap-typ DEFAULT ' '.
DATA: search1(6),
search2(3),
search3 LIKE modsap-member.
DATA : first_row VALUE 'Y'.
CONCATENATE: '%' input1 '%' INTO search1,
'%' input2 INTO search2.
SELECT * FROM tstc WHERE tcode LIKE search1.
first_row = 'Y'.
CHECK tstc-pgmna NE space.
CONCATENATE '%' tstc-pgmna '%' INTO search3.
SELECT * FROM modsap WHERE typ LIKE search2
AND member LIKE search3.
SELECT SINGLE * FROM modact WHERE member = modsap-name.
IF first_row EQ 'Y'.
WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
45 modsap-member, 70 modact-name.
first_row = 'N'.
ELSE.
WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.
ENDIF.
CLEAR : modsap, modact.
ENDSELECT.
IF sy-subrc NE 0.
WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
ENDIF.
CLEAR tstc.
ENDSELECT.
END-OF-SELECTION.
CLEAR: search1, search2, search3.
Regards,
Renjith Michael. -
Adding a weekly view to Transaction PA51
Transaction PA61 has a button for accessing a WEEKLY maintenance view. Is it possible to customize Transaction PA51 to have a similar display WEEKLY view?
Dear Brinjesh,
Your requirement is adding a view to MM transactions. If you look at technically, you have to add new view to existing tab strip in main screen. So, the screen type should be sub-screen to add to tab strip contol.
Coming to your through of creating new screen, there should be some control like menu or button to navigate from main screen. Can you say, is it convenient for end user? Doesn't it look odd?
Please post your opinion on this.
Regards,
Prasanth -
Hi All,
I have added custom screen with two z fields at item level using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST i can see my screen in tcodes ME21N , ME22N , ME23N but I am not able to save data.
and also screen is coming in change mode even in ME23N .
thanks.Hi,
I have added two xfields at item level.
This is the code i have added in zimplementation ZME_GUI_PO_CUST .
IN Zimplementation ME_PROCESS_PO_CUST I have added code only in method FIELDSELECTION_ITEM . after doing this I can see only screens in ME21N, ME22N, ME23N but when enter data in zfields and trying to save it is giving me message no data has changed.
method IF_EX_ME_GUI_PO_CUST~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 = '0001'.
the program where the dynpro can be found
ls_subscriber-program = 'SAPLYMEPOBADIEX'.
each subscreen needs his own DDIC-Structure
ls_subscriber-struct_name = 'MEPO_BADI_STRUCT'.
a label can be defined
ls_subscriber-label = text-001.
the position within the tabstrib can be defined
ls_subscriber-position = 4.
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.
ENDIF.
method IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_MODEL.
DATA: l_item TYPE REF TO if_purchase_order_item_mm,
ls_mepoitem TYPE mepoitem,
ls_customer TYPE mepo_badi_exampl.
system asks to transport data from the business logic into the view
CASE im_name.
WHEN subscreen1.
is it an item? im_model can be header or item.
mmpur_dynamic_cast l_item im_model.
CHECK NOT l_item IS INITIAL.
transport standard fields
ls_mepoitem = l_item->get_data( ).
transport customer fields
CALL FUNCTION 'YMEPOBADIEX_GET_DATA'
EXPORTING
im_ebeln = ls_mepoitem-ebeln
im_ebelp = ls_mepoitem-ebelp
IMPORTING
ex_data = ls_customer.
store info for later use
MOVE-CORRESPONDING ls_mepoitem TO dynp_data_pbo.
MOVE ls_customer-badi_bsgru TO dynp_data_pbo-badi_bsgru.
MOVE ls_customer-badi_afnam TO dynp_data_pbo-badi_afnam.
WHEN OTHERS.
ENDCASE.
endif.
method IF_EX_ME_GUI_PO_CUST~TRANSPORT_TO_DYNP.
CASE im_name.
WHEN subscreen1.
CALL FUNCTION 'YMEPOBADIEX_PUSH'
EXPORTING
im_dynp_data = dynp_data_pbo.
WHEN OTHERS.
ENDCASE.
ENDIF.
endmethod.
method IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_DYNP.
CASE im_name.
WHEN subscreen1.
CALL FUNCTION 'YMEPOBADIEX_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.
ENDCASE.
ENDIF.
endmethod.
method IF_EX_ME_GUI_PO_CUST~TRANSPORT_TO_MODEL.
DATA: l_item TYPE REF TO if_purchase_order_item_mm,
ls_mepoitem TYPE mepoitem,
ls_customer TYPE mepo_badi_exampl.
data have to be transported to business logic
CASE im_name.
WHEN subscreen1.
is it an item? im_model can be header or item.
mmpur_dynamic_cast l_item im_model.
CHECK NOT l_item IS INITIAL.
ls_mepoitem = l_item->get_data( ).
standard fields changed?
IF dynp_data_pbo-matkl NE dynp_data_pai-matkl OR
dynp_data_pbo-plifz NE dynp_data_pai-plifz OR
dynp_data_pbo-webaz NE dynp_data_pai-webaz.
update standard fields
ls_mepoitem-matkl = dynp_data_pai-matkl.
ls_mepoitem-plifz = dynp_data_pai-plifz.
ls_mepoitem-webaz = dynp_data_pai-webaz.
CALL METHOD l_item->set_data( ls_mepoitem ).
ENDIF.
CALL FUNCTION 'YMEPOBADIEX_GET_DATA'
EXPORTING
im_ebeln = ls_mepoitem-ebeln
im_ebelp = ls_mepoitem-ebelp
IMPORTING
ex_data = ls_customer.
ls_customer-badi_bsgru = dynp_data_pai-badi_bsgru.
ls_customer-badi_afnam = dynp_data_pai-badi_afnam.
CALL FUNCTION 'YMEPOBADIEX_SET_DATA'
EXPORTING
im_data = ls_customer.
ENDIF.
WHEN OTHERS.
ENDCASE.
ENDIF.
method IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM.
DATA: l_persistent TYPE mmpur_bool.
CONSTANTS:
FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
l_persistent = im_item->is_persistent( ).
*IF l_persistent EQ mmpur_yes.
READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY
metafield = MMMFD_YYMAN_NUM."fd_cust_01.
IF sy-subrc IS INITIAL.
<fs>-fieldstatus = '*'. " Display <-- this one was as per the sample code given.
<fs>-fieldstatus = '+'. " Input <-- this i added to make the field mandatory.
ENDIF.
READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY
metafield = MMMFD_YYMAN_DES."fd_cust_01.
IF sy-subrc IS INITIAL.
<fs>-fieldstatus = '*'. " Display <-- this one was as per the sample code given.
<fs>-fieldstatus = '+'. " Input <-- this i added to make the field mandatory.
ENDIF.
*ENDIF.
ENDIF.
endmethod. -
Screen exit for transaction XK01
Hi,
I want to add a field for the transaction 'XK01'.
How to find out the screen exit for this transaction.
If we dont have screen exit for this transaction, is there any other way to add the field.
Ps help regardng this.Hi,
Check the BADI CUSTOMER_ADD_DATA_CS , this is used to add a tab screen with the custom fields.
VENDOR_ADD_DATA Additional Vendor Data
Vendor Master (XK01) Screen Exit
check the foll link,
userexits be..
RFKRRANZ User exits: Accounts Payable Information System
SAPMF02K User exits: Vendor master data
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
Regards
Kiran Sure -
Screen exit for transaction MD14.
Hi collegues,
Does anyone know what the screen exit for transaction MD14 is? I need to add an extra field to the detail screen of transaction MD14. The field name to be added is MDBA-LIFNR.
Thanks.Exit found.
-
J1IEX Item Level data Duty values Tab Screen
Hallow Experts,
In J1IEX - Capture / Post / Cancel Excise invoices transaction > Item Level data > duty values tab screen,
System displays following information
Excise duty Base Amount Basic material Amount on which excise tax amount is calculated. (Pls. correct if I am wrong)
Then information displays individually for BED, AED, NCCD, SED, ECESS This information is displayed in following four rows.
Total Duty
Credit available
Credit availed
Credit due
Inventorized duties
I want to know the description of above mentioned entries (e.g. what is Credit available? What is credit availed? And what is credit due?) And at what level, which row entry is displayed, that mean while capturing excise invoice entry will be displayed in which row? After posting excise invoice entry will be displayed in which row?
And after posting vendor invoice entry will be displayed in which row?
Also please explain - What is Inventorized duty? And when it is to be displayed?
Thanks in advance!!!!Hallow Experts,
In J1IEX - Capture / Post / Cancel Excise invoices transaction > Item Level data > duty values tab screen,
System displays following information
Excise duty Base Amount Basic material Amount on which excise tax amount is calculated. (Pls. correct if I am wrong)
Then information displays individually for BED, AED, NCCD, SED, ECESS This information is displayed in following four rows.
Total Duty
Credit available
Credit availed
Credit due
Inventorized duties
I want to know the description of above mentioned entries (e.g. what is Credit available? What is credit availed? And what is credit due?) And at what level, which row entry is displayed, that mean while capturing excise invoice entry will be displayed in which row? After posting excise invoice entry will be displayed in which row?
And after posting vendor invoice entry will be displayed in which row?
Also please explain - What is Inventorized duty? And when it is to be displayed?
Thanks in advance!!!! -
User exists for changing the selection screen of the transaction CS11
Hi,
I want to change the selection screen of the transaction cs11 and modify the ALV output.
I searched the old forums but not got satisfactry results.
I want to change the plant and material from the parameter to the select option.
i dont want to copy the transaction for the zcs11.
any suggestion on this ?
Regards,
udupione more requirement i have is that, i need to remove all the header fields such as material , plant etc and place that field in the item level. i can use the user exists PCSD0002 for the adding the customer field in the item. but how can i removed the header level field such as plant and material. whether we have any user exits for that?
-
Add certain field at dynamic selection screen in FBL3N transaction
Hello Expert,
I would like to add entry date field (BKPF-CPUDT) at dynamic selection screen in FBL3N transaction.
So, I went to SE36 transaction and changed something in selection view for SDF.
However, it didn't work.
Is there anyone who knows how to add a certain field at dynamic selection screen in FBL3N transaction?
Thanks in advance.
BR,
Chris KimHi
Refer to the following thread
Additional field selections in FB03
It talks about adding Header Text field
You should be able to add entry date similarly
Regards
Sach!n -
Adding custom fields to XD01 transaction
Hi All,
I need to add custom fields to the Customer create transaction (XD01). Can anyone tell me the feasibility of having screen-exits or BADIs to acheive the same? I have searched for screen exits but could found none, and regarding BADI's i found these CUSTOMER_ADD_DATA, CUSTOMER_ADD_DATA_CS and CUSTOMER_ADD_DATA_BI. Unfortunately there is no default code assigned to these BADI's. Please tell me how we can acheive the requirement. we dont have any include too in the KNA1 table hence i feel going with APPEND structure.
Thank You
Yugandhar KHello Mahesh B
In short
The Number field determines the display order of the Tabs on your new screen. The i_taxi_fcode parameter is the text you entered, or will enter, in the Function Code field on the Label Tab Pages.
In long
In the IMG activity Prepare Modification-Free Enhancement in Customer Master Record, you add a Screen Grp code (e.g. Z1) and a description. Then you select Z1 and double-click the Label Tab Pages folder on the left.
Now, add one or more records in this Label Tab Pages screen. Each record you add will cause a Tab to be displayed on your new Z1 screen (once you implement the screen with a program as described in earlier posts).
The fields of the Label Tab Pages records are:
- NUMBER, which determines the order that the Tabs will be displayed;
- FUNCTION CODE, this is passed to the BAdI as i_taxi_fcode;
- DESCRIPTION, which becomes the Label displayed on the Tab; and
- ICON, which, if entered, will display beside the Label on the Tab.
Example records:
10, Z1_TR1, Tab1description, <blank icon field>
20, Z1_TR2, Tab2description, <Some Icon>
I prefixed my FUNTION CODEs with the screen group (e.g. Z1_TR1 and Z1_TR2).
More than one BAdI can be implemented in the system at the same time, so you should use the Screen Grp (e.g. Z1) and/or the Tab FUNCTION CODE (i_taxi_fcode - e.g. Z1_TR1) to determine when to execute your custom code.
Below is an example implementation of the get_taxi_screen method in the customer_add_data_cs BAdI.
If a user were to click on the second Tab of the Z1 screen group, the Z1_TR2 case would be executed and screen 200 would display on this Tab screen. If the user clicked back to the first tab, the Z1_TR1 case would be executed and screen 100 would display on this Tab.
method if_ex_customer_add_data_cs~get_taxi_screen .
case flt_val.
when 'Z1'.
case i_taxi_fcode.
when 'Z1_TR1'.
e_screen = '0100'.
e_program = 'Z_PROGRAM_NAME'.
e_headerscreen_layout = ' '.
when 'Z1_TR2'.
e_screen = '0200'.
e_program = Z_PROGRAM_NAME'.
e_headerscreen_layout = ' '.
endcase.
endcase.
endmethod.
Hope this helps.
Allan -
Adding custom fields in Delivery transaction
Hi,
I need to add custom fields in the delivery transaction(VL01N/VL02N) at Item level in Material tab screen.
Are there any screen exits available for delivery order in any other tabs or Do I have to modify the standard program.
Regards,
SudheerHi sudheer
there is no screen exits for vl01n adn vl02n
you have modify the standard program
regards
kishore -
Removal and adding tabs in user interface
Hi,can anybody provide me solution for customizing the user interface page menu tabs in SUN Identity Manager.
My requirement is,i need to remove and add main menu and sub menus in the user interface page in SUN Identity Manager.
Thanks in advance.
Edited by: SUNIDMDEV on Feb 21, 2008 10:52 PMHello,
Article Master and Material Master are one and the same in context (materials are referred as Articles in SAP IS Retail). Please refer the below link for creating the custom fields/adding tab pages
adding custom tab in material master transaction
Hope this helps
Regards
Shiva
Maybe you are looking for
-
Options in running Windows from an mSATA drive
I recently ordered an x220 and expect to receive it this week. I also ordered an mSATA drive that I would like to install. Once I have it installed, I am not sure the best method to install Windows to the new drive and would appreciate some feedback.
-
As stated in my above Subject field. I have an older Macbook Pro and I was attempting to move my iTunes media file using this article: http://support.apple.com/kb/ht1449 After getting to step number 14, I "thought" I selected the correct media file t
-
Logic to populate the key field of a DSO
Hi SDN community, I have a very unique requirement and need ur help on this. I have a created a generic Datasource with two fields <b>Material Number</b> and <b>Minimum Quantity</b>. This is loaded into MINDSO01. The MINDSO01 in BW side will have two
-
is there a way to create a style sheet (paragraph, character styles) that you can link to in multiple documents? And then you only have to change one document to affect all the other documents?
-
Save Package to file...any way to make notepad friendly?
For source control, we store notepad-friendly text files...regardless of line terminator preferences that I specify, the text on saved objects wraps in notepad, and must be opened in another editor, like WordPad. Is there something I'm missing to get