How to make a field on the screen of any transaction 'display only' in BADI
Hello All,
I am working on BADI. The requirement is that for a specific condition, the user should not be able to change the 'plant' field on the screen of the standard MM transactions ME22N or ME23N.
The field 'plant' should be grayed out and the user should not be able to even enter anything in that field. Is that possible? If yes, how?
Please help, it is urgent.
hi radhika
yes u can do that
probably u will have to do the customization using exits
the possible exits fotr these trxns are
<b>Exit Name Description</b>
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MM06E011 Activate PReq Block
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
regards
ravish
<b>plz dont forget to reward points if useful</b>
Similar Messages
-
How to make a field in selection screen as READ_ONLY !!
Hi,
How to make a field in selection screen as READ_ONLY !!.
Thanks,
SenthilThis is the code you need to have in your program.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'MYSELFLD'.
SCREEN-INPUT = 0.
MODIFY-SCREEN.
ENDIF.
ENDLOOP. -
How to make required field on selection screen in Query
i'm now working with query(SQ01).
but don't know how to make required field on selection screen in Query.
thanks in advancei'm now working with query(SQ01).
but don't know how to make required field on selection screen in Query.
thanks in advance -
How to make a movie of the Screen
In OS 9 I was able to make a QuickTime of the screen while I was drawing in Photoshop. But that was a long time ago. How does it work in OS X Tiger. My old mac had a microphone. My new G5 imac does not.
You can still capture a screen in OS X. It saves your captures as .png image files to your Desktop.
Command-Shift-3 will capture all your see. Command-Shift-4 will turn your mouse into cross-hairs that you drag across any area. And a click on the spacebar (after the above keyboard commands) will turn your cursor into a camera icon that can capture individual windows. Still free.
Snapz Pro allows you to capture (as QuickTime video) anything in its window. It continues to capture until you close it.
One of my "movies" made with it:
http://homepage.mac.com/kkirkster/mycareerfuture/
Only 1.3MB's and it "plays" full screen. -
How to make a field in custom screen as display field in screen exit
Hi ,
I have created a screen exit for CO02 with a field for item text in header level as input field , when value is given and save button is cliked it gets updated in database but the problem is same field shows as input field in CO03 ( display mode ) .
Code which i have used .
in PBO
if sy-tcode = 'CO03'.
loop at screen .
if screen-name cs 'SUBSCREEN' or screen-name cs 'RESB-POTX1'.
( subscreen - screen name given in screen editor and resb-potx1 field name given in screen editor )
SCREEN-INPUT = '0'.
modify screen.
endif.
endloop.
endif.
and even i tried in PAI too .....
if sy-tcode = 'CO01' or sy-tcode = 'CO02'.
update resb set POTX1 = RESB-POTX1
where aufnr = i_aufnr.
elseif sy-tcode = 'CO03'.
*oop at screen .
*f screen-name cs 'SUBSCREEN' or screen-name cs 'RESBD-SORTF'.
SCREEN-INPUT = '0'.
modify screen.
endif.
endloop.
endif.
but itshows as input field only ........how to make that custom field as display field in CO03HI Andy,
Try this out.
FIrst check the sy-dynnr, if it is same as your custom screen number
in PBO of your custom screen
if sy-dynnr = 'YOUR_NUMBER' and sy-tcode = 'CS03'.
loop at screen
if screen-name = 'YOUR_SCREEN_NAME'
screen-input = 0.
modify screen
endif
endloop.
endif.
if it wont work they try using Tcode SHD0
Hope this will serve your purpose.
Regards
Ramchander Rao.K -
How to make web pages fit the screen width?
Some web pages don't fit the screen width and Firefox user (me) has to scroll horizontally, which is very annoying:
https://www.dropbox.com/s/kjyubp6f3z104ku/ScreenShot021.jpg
Opera user, on the other hand, just clicks on the "Fit to width" button and everything looks great again:
https://www.dropbox.com/s/hfsgl45f4d7uzgw/ScreenShot023.jpg
Is there a way to force web page text to wrap?I get EXACTALY what "SantosHaHa" posted above. (Ffox 20 Win 7 64).
Zoom doesn't help. Make things bigger or smaller, BUT THE PAGE WIDTH IS STILL CROPED!
Have had this problem for 2 years and several versions.
NOTHING seems to work.
I wander why Ffox keeps changing versions so often, with so many new problems apearing, if Netscape worked fine 15 years ago!!!! -
How to make all fields mandatory in sales order T- code VA01 initial screen
Dear all,
how to make all fields mandatory in sales order T- code VA01 initial screen itself
The fields are
Sales Organization
Distribution Channel
Division
Sales Office
Sales Group
Regards,
Amar ReddyHi,
You can use Transaction Variant to achieve this functionality.Please go through the following link which helps you in creating the same.
[Link|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
Regards,
Phani Prasad -
How to make a field un editable in one screen
Dear Experts,
I want to know how to make one field as un editable in one screen.I will explain in detail. I want to make "Reconciliation account" field as un editable in XD02 t-code.
Regards,
Surendra babu.Hi Surendra,
Use this path in spro:
Financial Accounting-> A/P&A/R-> CustomerAccounts->MasterData->Preparatons for CreatingCustomerMasterData
use the transactions & u can update for creation of customer master or hange of customer master.
Hope this helps you
Award points if helpful
chaitanya -
How to make some fields mandatory for a custom screen we have added
Hi All,
Please let me know how can I make some fields mandatory through coding in PBO for only some fields of a screen.
Say if I have 4 fields in my screen(module pool not selection screen) i want to make mandatory 2 fields based on some conditions how to do this? I tried using screen-group but this will make mandatory all the fields of that screen mandatory.
I want only specific fields based on condition in run time.
Regards
MaheshHi Mahesh,
Try this ..
Assign the same group to those fields , say GRP
in PAI
IF <CONDITION>
Loop at screen.
if screen-group1 = 'GRP'.
screen-required = '1'.
modify screen.
endif.
endloop.
ENDIF. -
How to decrease size of field in the screen
Good noon everyone,
I am unable to decrease the size of a input field in the screen. It is of length 30. But I want to show only length 15. Even if I decrease the visible length the field is again becoming big. How to make it small.
thanks.Is this difference not working for you?
Tables:mara.
Select-options: s_matnr for mara-matnr visible length 10.
Select-options: p_matnr for mara-matnr .
Parameters:text(20) type c visible length 10. -
How can i post the fields in the screen by selecting a record
Hi,
I have a problem in dialog programming.
I need to populate the fields in the screen by selecting a single record.
For example,
Screen consists of 'CARRID, CONNID,FLDATE... fields.
By pressing F4 in CARRID field it will display the contents from database table and display the records. If i select the record LH 0400 ... record then automatically the connid field should fill with the contents of the record i.e., 0400 and similarly the remaining fields.
How can i do this in dialog programming?
I tried with F4IF_INT_table_.. function module. There is a table parameter DYNmapping. But dont know how to use it? Can any body explain me how to use it?
Thanks in advance..
SuvanHi Vinod,
Thanks for your reply. I solved my problem. It is working with the table parameter 'DYNPFLD_MAPPING' in the function module 'F4IF_INT_TABLE_VALUE_REQUEST'.
With your logic we can't decide which record is selected. Because there can be multiple records for a single CARRID.
My question is how to post the entire record into the screen fields at a time? It is possible with the parameter I specified inthe above said function module.
With dictionary reference it will fetch the entire entries from the Check table.
Thanks again for your co-operation.
Suvan.<b></b> -
How to give error message for the screen element text field when wrong i/p
How to give error message for the screen element text field when wrong i/p
when wrong input given
eg.
I have a text box with SBOOK-CARRID
so when user give wrong entry in text box i.e LG
then I should give some error stating that the the input is invalid or not available ,
now it showing the error of standard messages,
i want manual message to be displayed when error comes.
Thank you,
Regards,
Jagrut Bharatkumar ShuklaHi all,
Thank you for your valuable reply,
but the thing is that its a screen field,
i.e text box not a selection screen
i created in screen layout
with name sbook-carrid
now i want to get error message display if wrong i/p is given
thank you.
Regards,
Jagrut bharatkumar Shukla, -
How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
be done through sharepoint desginer / out of the box.
thanks.Congratulate you got the solution by yourself. I am new to a
WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
calendar date selection did me a great favor. Cheers. -
How to add a field to the selection screen and when the user enters ...
hi all,
can any one plesase send the code of how to add a field to seletiion screen and when the user enters in the field , it should be store in the database table , the table is MKPF and the field is BKTXT. Thanks.Hi Kripa,
If u r using PNP ldb then the screen u will get is the screen for that ldb and if u want to add some more fields then u define using selection-screen..as follows
SELECTION-SCREEN BEGIN OF BLOCK mysel WITH FRAME TITLE text-111.
PARAMETERS: n_in_en RADIOBUTTON GROUP g1,
q_ev RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK mysel.
SELECTION-SCREEN BEGIN OF BLOCK mysel1 WITH FRAME TITLE text-222.
PARAMETERS: r_date TYPE sy-datum DEFAULT sy-datum.
SELECTION-SCREEN END OF BLOCK mysel1.
SELECTION-SCREEN BEGIN OF BLOCK mysel2 WITH FRAME TITLE text-333.
PARAMETERS:f_ver(3) TYPE c DEFAULT 1,
c_no(10) TYPE c DEFAULT '9D0161',
u_id(15) TYPE c,
password(15) TYPE c,
r_email(30) TYPE c DEFAULT PARAMETERS: s_not TYPE c AS CHECKBOX.
PARAMETERS:t_run TYPE c AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK mysel2.
SELECTION-SCREEN BEGIN OF BLOCK mysel3 WITH FRAME TITLE text-444.
SELECTION-SCREEN BEGIN OF BLOCK mysel4 WITH FRAME TITLE text-555.
PARAMETERS: p_ser RADIOBUTTON GROUP g2,
a_ser RADIOBUTTON GROUP g2.
SELECTION-SCREEN END OF BLOCK mysel4.
SELECTION-SCREEN BEGIN OF BLOCK mysel5 WITH FRAME TITLE text-666.
PARAMETERS:p_path TYPE string.
SELECTION-SCREEN END OF BLOCK mysel5.
SELECTION-SCREEN END OF BLOCK mysel3.
u will get this additional screen after the screen of ldb.
I hope this will help u..
Thanks & Regards
Ashu Singh. -
How to make a field in Sales order as Display
Hi Friends,
I want to make the field pricing date in sales order as display only. Currently the field is changeable.
Can someone please tell me how can i do this.
Regards,
Wasim.hi
Follow the below steps.
T-Code SE51(Screen Painter)
Give Program Name SAPMV45A (before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
Screen Number 4440(before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
Select Attributes radio button.
Go to Element list Tab. Inturn select Special Attribute tab in Subscreen.
For Field Name "VBKD-PRSDT" make Input as "OUTPUT" (DISPLAY).
Hope this will help you
Maybe you are looking for
-
hello sir i am using CMP EJB with SQLJ but my problem is when i use this code i am using this code in jsp page for login purpose to check login and password in login table #sql public context DefaultContext; SafeCon sa=new SafeCon(); ctxx =sa.init();
-
Quicktime Pro - Slow conversion
I have a Macbook 2.0ghz Core Duo/2GB 667mhz Ram/160GB HDD. Whenever Im converting videos on Quicktime Pro, the process is slow, as everyone already knows. My question is, will getting a Mac Pro with Quad or Octo 2.8 ghz and Possibly more than 2gb of
-
Hi friends. I am currentyl trying to find a way to sort a table which only has dynamic attributes. I do not know the structure type at design and runtime. So how can I get a table of the dynamic attributes of a node like get_static_attributes_table(
-
CS6 does not start anymore after use of several months.
I have no test version but a licensed product. Does anybody have the same problem? Looking forward for answers. Diamuc
-
Whenever i download any application, i got this message-" the application not installed on the iPhone because an unknown error occurred (0xE800000C)"...Please give me some solutions to resolve this issue..