05-31-2007 10:58 AM
Hi experts,
I need to add some fields to screen 220 for ML81 tcode. When searched exits for it, i found there is a screen exit for screen which allows to add a tab strip.
i never worked on screen exits, can anyone plz let me know how to solve the issue
Regards
alson
05-31-2007 11:03 AM
Hi,
Just check this link for step wise Screen Exit.
http://www.saptechnical.com/Tutorials/ExitsBADIs/MM/MM01.htm
http://www.saptechnical.com/Tutorials/ABAP/XD01/XD01.htm
Thanks,
Anitha
05-31-2007 11:15 AM
Hi
check this links
Hope it may be helpfull
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://help.sap.com/saphelp_nw04/helpdata/en/c8/19763443b111d1896f0000e8322d00/content.htm
Rewards if helpfull
Regards
Pavan
05-31-2007 11:32 AM
Implementing Screen Enhancements
The user of the screen enhancement should perform the following steps:
...
1. Create a screen of the Subscreen type. Arrange the required fields on the screen.
2. Write the program for the screen by creating either a module pool or a function group. The program could have the following contents, for example:
Topinclude:
DATA: exit TYPE REF TO if_ex_badi_screen,
flight TYPE sflight.
TABLES sflview.
At PBO time:
MODULE status_0100 OUTPUT.
IF exit IS INITIAL.
CALL METHOD cl_exithandler=>get_instance_for_subscreens
CHANGING
instance = exit
EXCEPTIONS
OTHERS = 6.
...
ENDIF.
CALL METHOD exit->get_data_from_screen
IMPORTING
flight = flight
EXCEPTIONS
reserved = 1
OTHERS = 2.
...
SELECT SINGLE * FROM sflview
WHERE carrid = flight-carrid AND
connid = flight-connid AND
fldate = flight-fldate.
..
ENDMODULE.
At PAI time:
If data has been changed, the method PUT_DATA_TO_SCREEN is called at PAI.
MODULE user_command_0100 INPUT.
CALL METHOD exit->put_data_to_screen
EXPORTING
flight = flight
EXCEPTIONS
reserved = 1
OTHERS = 2.
IF sy-subrc <> 0.
...
ENDMODULE.
3. Choose the Subscreens tab. Enter the name of the called program and of the subscreen.
4. Choose the Interfaces tab.
If required, add any lines necessary to the sample code
reward points if it is usefull ...
Girish
05-31-2007 11:43 AM
hi
follow the link
http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
u will get everything of ur choice.
regards
ravish
<b>plz dont forget to reward points if helpful</b>