Modify screen of me21n
Hi Gurus,
I want to add one txt field on the me21n screen where I will display he value from some table , i want to know about screen exit and how to use it hre.
Regards
Sagar
hi
use the Enhacement MM06E005 ie., user exits.
Regards
Sajid
Edited by: shaik sajid on Jul 17, 2009 12:16 PM
Similar Messages
-
Modify standard screen for ME21N/ME22N
i need to modify ME21N/ME22N's Invoice Tab.
The requirement is to make the invoice tab's tax code and jurisdiction code modifiable at certain conditions.
how to do that?
i've read some posts that suggests some badis and userexits, but it mostly pertains to custom screens.
this has already taken me too long.
pls helpAs you said making screen fields modifiable pertaining to Custom screens.
In your code written for custom screens, you can use following syntax to make the fields visible (modifiable) or grayed out (not modifiable) for the fields. use this syntax based on your conditions.
You can modify SCREEN in your ABAP program during the PBO event of a screen. Its contents override the static attributes of the screen fields for a single screen call. The only statements that you can use with SCREEN are:
LOOP AT SCREEN.
MODIFY SCREEN.
ENDLOOP.
for more details of this topic pls follow the links.
http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dbab6f35c111d1829f0000e829fbfe/frameset.htm
The following example is selection screen based. but you can use the similar logic in ur program
DATA: d_ucomm LIKE sy-ucomm.
PARAMETERS: p_grpa1(10) MODIF ID A,
p_grpa2(5) MODIF ID A,
p_grpb1(2) MODIF ID B.
PARAMETERS: p_actA RADIOBUTTON GROUP rad1 USER-COMMAND ACT DEFAULT 'X',
p_actB RADIOBUTTON GROUP rad1.
AT SELECTION-SCREEN.
d_ucomm = sy-ucomm.
AT SELECTION-SCREEN OUTPUT.
LOOP AT screen.
IF p_actA = 'X'.
IF screen-group1 = 'B'.
screen-active = 0.
ENDIF.
ELSEIF p_actB = 'X'.
IF screen-group1 = 'A'.
screen-active = 0.
ENDIF.
ENDIF.
MODIFY screen.
ENDLOOP. -
Hello All,
I have a requirement where in I need to modify fields of me21n based on a condition:
if the user enters a value in the field: MEPO1211-KONNR (Contract no./Number of principal purchase agreement) , then all the conditions (From KOMV table) fileds & all the Pricing terms should be disabled for change/input i.e. should be in display mode.
I tried to search for an exit for this but could not find an appropriate one to modify screen fields however, the alternae to this requirement is :
If the user enters a value in the field: MEPO1211-KONNR (Contract no./Number of principal purchase agreement) , then on entry of the conditions(TABLE KOMV) fields and pricing terms user should get an error message so that he cannot proceed.
Please suggest me a solution for any of the above two requirements.
Any help on this would be highly appreciated.
BR
AnkurHi,
Why dont you check with the enhancement project LO020 in CMOD.
Hope this would help you.
Or use the class CL_EXITHANDLER to find out the BADI used in ME21N for your requirement.
Regards,
Ranjith Nambiar -
MODIFY SCREEN inactive WITH LDB OF PNP
hi
i want to set a screen field no input. and this report use PNP of LDB.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'PNPMASSN'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
but this can't active.
how Modify Screen IN LDB.
thank you!Hi,
I am attaching the link for LDBs in report programs.
This shows the events available for reports. And i do not see SELECTION-SCREEN OUTPUT event listed. So i feel that SAP does not support this event when you use LDBs in reports.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/frameset.htm
Hope this helps.
ashish -
Modify screen in VA41 : How to hide field in userexit_field_modification
Hello,
How to hide field at item level only (User should not be able to edit this field) in userexit_field_modification, instead of hiding the complete column.
If I use
FORM USEREXIT_FIELD_MODIFICATION.
IF screen-name = 'RV45A-MABNR'. " Material
SCREEN-required = 0.
ENDIF.
ENDFORM
the complete material column will be greyed out. I want to grey out only for some items.
Thanks,
APHi AP,
You havent given MODIFY SCREEN after screen-required = 0.
Please try it abd check.
FORM USEREXIT_FIELD_MODIFICATION.
IF screen-name = 'RV45A-MABNR'. " Material
SCREEN-required = 0.
MODIFY SCREEN.
ENDIF.
ENDFORM
Regards,
Pawan -
Hi all,
I have 6 parameters and 2 radiobuttons in my report.
It will first display 3 parameters by default.
and when the user click on first radio button it will display only p1,p2 and p3.
and when the user click on second radio button it will display only p4,p5 and p6.
Any one Plz help me how to handle this.
Thanks and Regards,
Anil .THis is the best Exaple...Copy and paste in program(create a local object program..)and Execte it and c d code and implement in ur program...
SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-001.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 10.
PARAMETERS: p1 RADIOBUTTON GROUP r1 USER-COMMAND u DEFAULT 'X'.
SELECTION-SCREEN COMMENT 12(20) text-001 FOR FIELD p1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 10.
PARAMETERS: p2 RADIOBUTTON GROUP r1.
SELECTION-SCREEN COMMENT 12(10) text-002 FOR FIELD p2.
SELECTION-SCREEN END OF LINE.
PARAMETERS: p11(10) MODIF ID one,
p12(10) MODIF ID one,
p13(10) MODIF ID one.
PARAMETERS:
p21 RADIOBUTTON GROUP r3 MODIF ID two,
p22 RADIOBUTTON GROUP r3 MODIF ID two,
p23 RADIOBUTTON GROUP r3 MODIF ID two.
SELECTION-SCREEN END OF BLOCK b.
AT SELECTION-SCREEN OUTPUT.
IF p1 = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'TWO'.
SCREEN-INPUT = 1.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSEIF p2 = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'ONE'.
screen-input = 1.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Regards,
Ramesh. -
How to modify screen element in module pool
Hii...
I have developed a screen with table control..my requirement is
I have one column (i.e) check box in edit mode..after it was checked and pressed 'enter' I want to go for display mode only..how can I solve this problem..
i tried like this but this is not working..
if checkbox = 'X'.
Loop at screen.
screen-active = 0.
screen-input = 0.
modify screen.
endloop.
regards
suguHello,
Suppose your tablecontrol name is TCTRL.
Declare a work area WA_COLS.
Now in the PBO (in the table control loop) you can write a new module suppose its MODULE SET_SCR.
MODULE SET_SCR.
LOOP AT TCTRL-cols INTO WA_COLS.
WA_COLS-SCREEN-INPUT = 0.
MODIFY TCTRL-cols FROM WA_COLS INDEX SY-TABIX.
ENDLOOP.
ENDMODULE.
Hope this clears .
Neeraj -
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 -
Search Help - Standard Screen Field: ME21n / ME22n
Helow, experts.
I have to create a search help in the standard screen field "Our Reference" (UNSEZ) in the tab Communication to ME21n / ME22n, anyone could say me how can I code it?
To populate this search help, I have to use 3 different tables.
Thankshi shatish
code here in screen flow logic it will fire on F4 pressing.
PROCESS ON VALUE-REQUEST
module value_help.
in program
module value_help.
populate the itab.
CALL FUNCTION 'POPUP_WITH_TABLE'
EXPORTING
ENDPOS_COL = <colvaluea>
ENDPOS_ROW = <colvaluea>
STARTPOS_COL = <colvaluea>
STARTPOS_ROW = <colvaluea>
TITLETEXT = 'VALUE HELP'
IMPORTING
CHOICE =
TABLES
VALUETAB = itab
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endmodole.
regards
shiba dutta -
Modify screen field layout in MIRO - Item level
Dear All,
I would like to know if I can change the field sequence in MIRO transaction at the item level. I want to move the Purchase Order number field next to the item field in MIRO and this needs to be premanent whenever I create a new invoice in MIRO.
This sort of a change is possible in ME21N by creating a new variant through the configuration icon in ME21/22 or 23n at the line item level. I want to know if a similar setting is possible in MIRO, if so please guide me.
Thanks and Best Regards
Badrinath MuraliHi,
Have you tried to carry out the following steps?
1- Transaction OLMRLIST
2- Screenvariant 7_6310
Programm SAPLMR1M
Dynpro 6310
3- Click button 'With Processing'You get transaction MIRO
4- Enter the invoice date and click Enter-Button.
5- In screen 'Confirm Screen Entries' check the 'Adopt column reference'
and 'Adopt column width'. Click 'Exit and Save'
6- Enter 'Save'.
7- Check and activate the screen variants: Click the button 'Check' on
the main screen of Transaction 'OLMRLIST'. Select the screen variants
on coming screen and click 'Adjust and Save'
If after reviewing the above steps you are still having problems
viewing both display variants in MIRO, please take a look at note
372776.
Best regards
Erika -
How to set Custom screen in ME21N when Payment Terms as particular value ?
Dear ABAP Experts,
I created one Custom Tab under Header level in me21n using screen exit MM06E005.
It's working fine. but My requirement is, whenever user will select Payment term as '0001' in Delivery / Invoice Tab then my Custom tab will open in ME21N t-code . My Custom tab will have different input fields which are entered manually, those values will store in Custom table(Z-table) when the user press save button.
So, How to do this?Hi,
The ME2xN transactions reads the user settings from table ESDUS using function module ES_READ_USER_SETTINGS, and save them at the end of the transaction using function module ES_APPEND_USER_SETTINGS.
You need to overwrite the displayed header tab number using ES_APPEND_USER_SETTINGS just at the beginning of the transaction. I think that a godd point to do this is in the subroutine INIT_TRANSACTION of report RM_MEPO_GUI. You can do this using the enhacement framework. I have tested it and it works for me. This is the code you should insert:
FORM init_transaction CHANGING ch_document TYPE mepo_document
ch_exit TYPE mmpur_bool
ch_requisitions TYPE mereq_t_eban_mem
ch_requisition_acc TYPE mereq_t_ebkn.
"""""""""""""""""""""""""""""$"$\SE:(1 ) Forma INIT_TRANSACTION, Inicio D
*$*$-Start: (1 )-----------------------------$*$*
ENHANCEMENT 1 ZTEST. "active version
*Expand header------
CALL FUNCTION 'ES_APPEND_USER_SETTINGS'
EXPORTING
iaction = 'PurchaseOrder'
ielement = 'DYN_4000-BUTTON TOGGLE_STATE'
iactive = '2'.
*Move to 2nd tab ----
CALL FUNCTION 'ES_APPEND_USER_SETTINGS'
EXPORTING
iaction = 'PurchaseOrder'
ielement = 'HEADER-TABSTRIP SUBVIEW_INDEX'
iactive = '2'.
ENDENHANCEMENT.
*$*$-End: (1 )-----------------------------$*$*
DATA: l_ebeln TYPE ekko-ebeln,
l_ebelp TYPE ekpo-ebelp, -
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 want to modify a screen, in module MP200000, I have copied screen 2051 to 2099, so in screen 2099 I want to add a frame at the bottom and add a field. I go in change mode, in layout but it doesnt allow any thing to update, has any one experience this thing before...please guide me how can I do this.
thanks for your help
CHi,
If its a screen of some standard program, then you gotto use Screen Exit. -
Hi Experts,
I would like to know if there's a way in modifying the screen 0152 for program SAPLCSDI of transaction CS01, CS02 and CS03. We would like to make the field RC29P-AUSCH - Component Scrap to be displayed as one of the columns in the item display after the column quantity.
Is there a way in modifying the screen through any exits or BADIs?
Thanks in advance for your help!
Best Regards,
KurttHi Kurtt,
Below are the available user exits :-
PCSD0001 Applications development R/3 BOMS
PCSD0002 BOMs: Customer fields in item
PCSD0003 BOMs: Customer fields in header
PCSD0004 BOM comparison
PCSD0005 BOMs: component check for material items
PCSD0006 Mass changes user exit
PCSD0007 Check changes in STKO
PCSD0008 WBS BOM: Customer-specific explosion for creating
PCSD0009 Order/WBS BOM, determine URL page
PCSD0010 Order/WBS BOM, determine explosion date
PCSD0011 Knowledge-based order BOM, parallel update
PCSD0012 Customer - Mat. number/mat. number during material exchange
PCSD0013 Customer-specific processing of an explosion for BOM browser
PCSD0014 Knowledge-based order BOM: Status
Check which one suits your requirement.
Regards
Abhii -
Exit for Modifying screen attributes during ME22N
Hi Experts,
I need to make some fields output only at item level in transaction ME22N i.e. during PO change. Is there any exit or BADI available for that.
Regards> Hi Experts,
>
> I need to make some fields output only at item level
> in transaction ME22N i.e. during PO change. Is there
> any exit or BADI available for that.
>
> Regards
This is mainly config.
Check in SPRO - IMG
Materials Management > Purchasing > Purchase Order > Define Screen Layout at Document Level
Also these BAdis are available:
ME_PROCESS_PO_CUST - For Custom logic in Enjoy transactions
ME_GUI_PO_CUST - For Additional Custom screens in ME2xn
Read the documentation, it will help.
Also, read the config section about enhancements in Purchasing using old enhancement technology. See below.
OSS is also a good place for documentation. OSS 496083.
Good luck!
Leonardo De Araujo
Develop Enhancements for Purchasing
In this step, you develop enhancements for Purchasing.
The following SAP enhancements are available for the Purchasing area:
o AMPL0001
User subscreen for additional AMPL data (Manufacturer part number)
o LMELA002
Adoption of batch number from shipping notification at time of
posting of a goods receipt
o LMELA010
Incoming shipping notification: adoption of item data from IDoc
o LMEQR001
User exit for source determination
o M06B0001
Role determination for release of requisitions
o M06B0001
Changes to communication structure for release of requisitions
o M06B0003
Number range and document number
o M06B0004
Number range and document number
o M06B0005
Changes to communication structure for overall release of purchase
requisitions
o M06E0004
Changes to communication structure for release of purchasing
document
o M06E0005
Role determination for release of purchasing documents
o ME590001
Grouping of requisitions for PO split in transaction ME59
o MEETA001
Determination of schedule line type (backlog, immediate requirement,
forecast)
o MEFLD004
Determination of earliest delivery date for checking at time of
goods receipt (PO only)
o MELAB001
Generation of forecast delivery schedule: realization via creation
profile
o MEQUERY1
Enhancement for document overview ME21N / ME51N
o MEVME001
Calculation of default GR quantity and over/underdelivery tolerances
o MM06E001
User exits for inbound EDI messages and outbound purchasing
documents
o MM06E003
Number range and document number
o MM06E004
Control of import data screens in purchase orders
o MM06E005
Customer fields in purchasing documents
o MEREQ001
Customer's own data in purhcase requisitions
o MM06E007
Change document for requisitions when converting into POs
o MM06E008
Monitoring of contract target value in case of release orders
o MM06E009
Relevant texts for "Texts exist" indicator
o MM06E010
Field selection for vendor address
o MM06E011
Activation of requisition block
o MM06L001
Exits for determination of ratings in vendor evaluation
o MMAL0001
ALE source list distribution: outbound processing
o MMAL0002
ALE source list distribution: inbound processing
o MMAL0003
ALE purchasing info record distribution: outbound processing
o MMAL0004
ALE purchasing info record distribution: inbound processing
o MMDA0001
Default values for delivery addresses
o MMFAB001
User exit for generation of releases
o MRFLB001
Control items during release creation
o LWBON001
Enhancement of LIS update through extension of the communication
structure MCKONA (business volumes and rebate income)
o LWBON003
Change settlement data for end-of-period rebate settlement before
creation of settlement documents
o LWSUS001
Customer-specific source determination in Retail
Activities
1. Either create a new project or use an existing one and then enter
the enhancement.
2. Activate the project
Your enhancement will only become effective after activation.
Further notes
In contrast to modifications, enhancements are basically
release-insensitive since they are not implemented in the SAP original
but in a name range that is reserved for the customer.
The general procedure for creating enhancements can be found in the
enhancement transaction at Help -> Application help.
If you want to display the documentation for an enhancement, choose Goto
-> Documentation in the enhancement transaction.
Return ->
Application
Maybe you are looking for
-
Cannot Load the iTones Store page from iTones and collect apps Update
My iTune account and credit card am belonging to Hong Kong, but often travel to different countries. I have recently purchased iPhone and MacBook Pro, and also purchased some apps when I was staying in Hong Kong. This week I visit Singapore and notic
-
com.oxsemi.driver.OxsemiDeviceType00 (1.28.13) at.obdev.nke.LittleSnitch (4052) Password: com.wdc.WDSmartWareServer com.wdc.WDDMservice com.sierrawireless.SwitchTool com.oracle.java.JavaUpdateHelper com.oracle.java.Helper-Tool com.microsoft.office.li
-
Purchased songs wrongly shown as Explicit after restore from backup
I just had a computer crash, bought a new MacBook, and restored my music library from backup. Everything seems to be fine, except that an album of new age music without lyrics, purchased some time ago from the Music Store, is now being labelled Expli
-
Why is the volume for iTunes occasionally lowering?
I notice that iTunes' volume seems to lower itself. It will happen randomly and then I have to open up the volume mixer and bring iTunes' volume back up. What is causing this? At first I thought it was when I was plugging in USB devices because that
-
Encore CS5 Win7, 64bit, i980x 6 core, 12 gb memory, 2 TBs internal storage. Have a video project, all footage edited in Prem CS5, DVD menus & nav built in Encore. Went to burn on Verbatim DVD+R DL discs and got a Sense Code 54200 error. The project i