How to insert a field in standared screen by BADI.
Hi,
How to insert a field in standared screen by BADI.
I have a BADI definition name.
Can anybody send a sample program like this type of scenario.
Thanks in advance
see the documentation of the BADI , If it has Screen exit , then u can ?
Regards
Prabhu
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 hide input fields on selection screen using variant attribute
Hello all,
I want to know how to hide input fields on selection screen using variant attribute conpletely.
As you know, when setting the attribute of variant "Hide field" checked, the field is temporarily hidden, but when clicking "All Selections(F7)" button on the selection screen, the fileds become appeared.
I want to hide the field completely. Di you know how to do ?
Thank you for your support.
Regards,
Hideki KozaiUse this attribute hide field and save the variant. Then create transaction for this program setting default variant for parameter Start with variant . The user who runs it will have it by defualt set.
Otherwise
in PBO simply use LOOP at screen and output = 0 for this field. This will ensure that field is invisible in any case.
Regards
Marcin -
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 -
I dont know how to insert file field into insert record in DW. i also want to know, insert dynamic table with image field. Plz help me anyone. Ty..
ohh kk thank you bro. But How to store photos to server file. I wanna upload and display the photos in webpage. Can you send me the php code for this?
-
How to insert icons in the selection-screen
how to insert icons in the selection-screen?
Mohan,
Report zex33.
type-pools: icon.
selection-screen begin of line.
selection-screen comment 1(20) text_001.
parameters: p_werks type marc-werks.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text_002.
parameters: p_whouse(10).
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text_003.
parameters: p_auart like vbak-auart.
selection-screen end of line.
initialization.
write ICON_PLANT as icon to text_001.
concatenate text_001 text-001 into text_001 separated by space.
write ICON_WAREHOUSE as icon to text_002.
concatenate text_002 text-002 into text_002 separated by space.
write ICON_ORDER as icon to text_003.
concatenate text_003 text-003 into text_003 separated by space.
Pls. reward for all useful answers........ -
How to validate ch field in selection screen
hi experts.......
how to validate ch field selection screen......... and which function module is used to validate parameter field i.e characterHello,
Is your requirement to Validate the Character Field? This is what I understand. If it is right, then do you want to Validate whether a Character Value is entered?
Check the below Sample Code.
At Selection-Screen on P_CHARFIELD.
IF P_CHARFIELD CA '1234567890'.
Message 'Enter an Alpha Character only' Type 'E'.
Endif.
Thanks and Regards,
Venkat Phani Prasad Konduri -
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> -
How to grayed out fields in Pop screen in FBL1n while doing mass change
Dear All,
I want encorporate user specific screen with some edit fileds with validations and some grayed out fields in pop screen
in FBL1N Transaction while mass change option.
Can you tell how can achive if any BADI or enhance pont or BTE or any exit .
Regards
AmarHi amar,
try with transaction variant
with transaction variant we can hide or grey out fields
bye
T Bharat Bhushan -
Hiding fields in a screen using BADI
Hi Experts
I want to invisible certain fields in the screen for certain users and it should be made visible for certain users,the requirement is to do with badi.Can anyone help me regarding this issue.
Thanks & Regards
PravithaUse (or Create) authorization [field|http://help.sap.com/saphelp_nw04/helpdata/en/52/67168c439b11d1896f0000e8322d00/frameset.htm] and [object|http://help.sap.com/saphelp_nw04/helpdata/en/52/6716a6439b11d1896f0000e8322d00/frameset.htm], in the BAdI [check this authorization|http://help.sap.com/abapdocu_70/en/ABAPAUTHORITY-CHECK.htm] and change the INVISIBLE field and not the ACTIVE field in SCREEN structure.
- [Programming Authorization Checks|http://help.sap.com/saphelp_nw04/helpdata/en/52/6712ac439b11d1896f0000e8322d00/frameset.htm]
Inform system admin to manage those new object and field in the user roles. ([SAP Authorization Concept Modules|http://help.sap.com/saphelp_banking463/helpdata/en/5c/deaa74d3d411d3970a0000e82de14a/frameset.htm])
Regards,
Raymond
NB: The "d" of BAdI should always been in lowercase, except in statement GET BADI... -
How to clear the fields of the screen ?
Hi,
I'm having two fields for selection..when i press enter after entering some values,based on that my table control will get filled up..and when i double -click on that row in table control i get all the values of that row in the respective fields in my tabstrip..all these r in same screen 100..and in tabstrip i have 5 tabs with 5 subscreens..containing the fields of table control..now that when i enter a value in the selection screen fields..my table control is getting added with a second row of values as required..but my problem is that the values of the tabstrip should get cleared..this is not happening..i wrote logic like if my tablecontrol is getting appended the values from tabstrip should get cleared..all the fields are getting cleared except the fields of tab which is active..how to do it..Hi,
Try this out.
declare a variable in Top Include
data : appended type c.
if the appending to the internal table is success means sy-subrc = 0
make appended = 'X'.
go to the PBO of subscreen of the tab where you want to clear the data
if appended = 'X'.
clear appended.( this is must otherwise for every call of the subscreen of this tab the values get cleared)
here clear the value of the subscreen of the tab strip)
endif.
The same can be achieved using the OK_CODE also
Regards
Ramchander Rao.K -
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 gray out the fields in selection screen with parameters
Hi,
Can any one help me how to gray out the selection screen fields
Start-of-selection----
Parameters : p_status TYPE edids-status MODIF ID xyz DEFAULT co_51.
End-of-selection----
i want to grayed out the field p_status.
except At selection-screeen output, can any one suggest the other method of gray out the above field.
Thank u
B Ravi Kumar -
How to Move a field from Header Screen to Overview Screen in SRM 7.0
Hi,
I have a requirement to move a Standard field Service Date from Heder Screen to Overview Screen in Invoice in SRM 7.0. Please let me know how to do it. Both screens are Standard Web Dynpro Components.
I appreciate your help!!
Thanks,
MonicaJay,
Thank you. My problem has been resolved.
Thanks,
Monica
Edited by: Monica Tubati on Mar 1, 2010 11:23 PM
Edited by: Monica Tubati on Mar 1, 2010 11:24 PM -
How to insert Logo in Easy Access screen?
Hi,
My requirement is to insert my client Logo in the right side pane in the Easy Access screen. How I can do that?
Advanced thanks.
Regards
Vali.Hi,
Pls check these links...
Re: SAP Splash Screen
http://www.sap-img.com/bc052.htm
http://www.sap-img.com/basis/changing-the-sapgui-logo-on-the-right-hand-side.htm
Thanks,
Renjith
Maybe you are looking for
-
How to get pixel data in the format I want
I'm writing a format plug-in and am having some difficulty getting the pixel data from photoshop in the format I want. From what I gather from the documentation in the SDK I need to specify the following to tell photoshop what format to deliver my pi
-
How to get a random number in a range?
as title how to get a random number in a range? like 2000~3000 thks :)
-
Hello there! I just received a receipt for a game I have purchased for two friends (two distinct account without cards attached, so the game was purchased twice as a gift) but I have been charged for three copies and I want to report this problem. So
-
Show input after selecting date in datepicker
Hi I'm using apex 4.1.1 And i want to use a Date Picker item on my page. This works, but.. When a user selects a date you can see the date highlighted. But in the "textarea"corresponding tot the datepicker is not showing the date. This shows the date
-
Hello, i have a nagging question that's been bugging me since i ever started using indesign CS4: how do i print double-sided spreads in a single-side printer? the print shops i work for(and myself of course) want me to print a makeshift of a book whi