How to display texts automatic. besides entered value for a field in Trans.
How to display texts automatically besides the entered value for a field in a standard transaction screen. For example you have a value table and a text table associated to it. Then on entering the value field and pressing enter the text associated should get displayed immediately besides the value. Like if you have 'LOC' as the value and 'Location' as the text associated to it, on entering this value 'LOC', you automatically get the text 'Location' printed besides it automatically in a transaction screen ?
Message was edited by: Sarika Kedia
Hi sarika,
Welcome to SDN.
1. first of all, such display of text,
is not automatic.
(it appears to be automatic)
2. At design time,
a) take one extra field for text
and mark it as OUTPUT ONLY
3. Then in PBO coding,
call some module, and in that module
write code
4. The code should be to
select from TEXT Table
into the work area.
EG. THE SCREEN TEXT FIELD NAME IS
T510A-FIELDNAME.
CLEAR t510a.
SELECT SINGLE * FROM t510a INTO t510a
WHERE trfar = FIELVALUE.
5. This will take care of
displaying the text value of that field.
regards,
amit m.
Similar Messages
-
How to restrict user to must enter value in compulsory fields
Greetings !
I had a personal information form. I want to restrict user to enter values in all fields e.g Compulsory fields (Username, D.O.B etc)
how i restrict user to must enter value in Compulsory fieldsI created an example on apex.oracle.com
http://apex.oracle.com/pls/apex/f?p=18686:1:0:::::
like you see a red staric placed on ID it means it is complusory to enter because it is a primary key, i want this on every field or to restrict user to enter all data , if any field left blank it will give error "to Fill respective field ", but not on creation but on left blank (if user type ID e.g 12 and skip ename field and go on Job field it gives error to fill Ename first) -
Can we select Domain text instead of domain value for a field?
Hi all,
I have a requirement to display Domain text in the output. when I select a field from table, for example field ZZDIRECT from LFA1 table, it has domain value range as D and I with texts Direct/Indirect. is there any way to get these texts for displaying in the output.Hi,
C the below code, it may guide u...
DATA: int_domval TYPE dd07v OCCURS 0 WITH HEADER LINE.
SELECT DOMNAME VALPOS DOMVALUE_L DOMVALUE_H
into int_domval
from dd07v
where domname = Domain Name
and ddlanguage = sy-langu.
or use this FM.
DATA : BEGIN OF int_orient OCCURS 10,
domvalue_l LIKE dd07v-domvalue_l,
ddtext LIKE dd07v-ddtext,
END OF int_orient.
DATA: ZPETS_PORTORIEN type dd07l-domname,
int_values_table TYPE dd07v OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'GET_DOMAIN_VALUES'
EXPORTING
domname = 'ZPETS_PORTORIEN'
text = 'X'
TABLES
values_tab = int_values_table
EXCEPTIONS
no_values_found = 1
OTHERS = 2.
LOOP AT int_values_table.
int_orient-domvalue_l = int_values_table-domvalue_l.
int_orient-ddtext = int_values_table-ddtext .
append int_orient.
ENDLOOP.
Regards. -
How to design a form to calculate values for various fields
I have designed a form (in Adobe Live Cycle ES) which has fields for height (in inches), weight (in pounds) and serum creatinine (a decimal field). I have created a field for weight (in kilogram), a field for Body surface area (in m2) and creatinine clearance (in ml/min).
The weight can be derived by dividing weight in pounds by 2.2
The body surface area is calculated by
BSA (m²) = ( [Height(in) x Weight(lbs) ]/ 3131 )½
The creatinine clearance for males is calculated by
(140-age) * (Wt in kg) / (72 * Cr) for males
Creatinine clearance for females
(140-age) * (Wt in kg) *0.85 / (72 * Cr).
At another field I want the form to calculate the dosage by simple multipication of BSA with the dose basis or weight with dose basis.
How can I build an action which will perform these functions and place the value in the appropriate field?
Can some one help me and tell me the exact steps.
I would send the form I designed, if asked.
PS: I do not know java language.You should ask this question in the LiveCycle Designer forum.
-
How to display text on last but one page in SAPSCRIPTS
how to display text on last but one page in SAPSCRIPTS
u have create one Foooter window , this has to be called in only One Page.So hardcode /assign this window to only one PAGE number.
regards
Prabhu -
How to enter values in the fields of standard SAP Infotype e.g. IT0024
Hi,
How to enter values in the fields of standard SAP Infotype?
e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
1-Level 1
2-Level 2
3-Level 3
4-Level 4
5-Level 5
Thanks,
AmeetHi Divya,
I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
Please help me out. I think I am almost there.
Thanks,
Ameet -
How to display text on last but one page
how to display text on last but one page
Hi Preeti,
If u r working on a smartform then click on th window go to the condition tab there
at the end u will find events click on the the event on which u want to trigger the
print.
If u r working on a script then create a text element and call this text elemtn at
the end of processing of the main window, this will make sure that thetext element
is triggered only at the end.
I hope that helps u , if not pls let me know.
Regards,
Vaibhav B Gawali. -
HOW TO SET A DEAFULT VALUE FOR A FIELD?
hi friends
i have doubt..how to set a default value for a field..say like in local printer field i always want lp01 to be displayed defaultly..when i click F1 in that field i get the parameter id ..i know there is something dealt with that parameter id..how can i set that default value ..in the case of the default printer value i made in own data settings as lp01 but how to do it normally for other field which has parameter id ??????
thanks and regards
princeHi Prince,
u can set the default value in abap as given below
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN SKIP 1.
PARAMETERS : S_BUKRS TYPE BSID-BUKRS OBLIGATORY DEFAULT '1000'.
PARAMETERS : S_BELNR TYPE BELNR_D OBLIGATORY DEFAULT '1600000070'.
PARAMETERS : S_GJAHR TYPE GJAHR OBLIGATORY DEFAULT '2008'.
PARAMETERS : ASON TYPE BUDAT OBLIGATORY DEFAULT SY-DATUM.
PARAMETERS : S_KUNNR TYPE KUNNR MODIF ID GP1.
PARAMETERS : S_LIFNR TYPE LIFNR MODIF ID GP2.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN : END OF BLOCK B1.
or
u can give the default value in INITIALIZATION also.
vlue = '1000'. -
How to set a default value for particular field in SRM PO Portal
Dear Gurus,
Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
Thanks in advance...
Regards,
SathishDear Laurent,
Thanks for your response,
But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
Kinly guide me how to get the particular node of field in the Purchase order screen.
Thanks you in advance,
Sorry for the inconvenience if any
Regards,
sathish -
Dear S&OP community,
I am getting following error while creating a planning ares in a newly installed sandbox. "Enter values for planning horizon From and planning horizon To for the storage time profile level".
This what I did...
1) Created new attributes and master data objects and activated them successfully.
2) Time profile created and activated successfully
3) Trying to create planing area by assigning time profile in step 2 and assigned master data from step1..Unable to save the data and system returns
this error - "Enter values for planning horizon From and planning horizon To for the storage time profile level"
My understanding is time profile needs to be active but doesn't have to have values...
Any help is appreciated.
Thanks,
KrishnaYS,
Here are my time profile settings
Level Name Display Horizon - Past Display Horizon - Future
1 Monthly -6 11
2 Quarterly -2 3
3 Yearly -1 2
Time profile is active and but time profile data is not loaded
Thanks,
Krishna -
How to set a new value for formula field in crystal reports xi?
<p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text = "'Subreport Formula'" or</p><p>crxSubreport.FormulaFields.Item("description").Text = "'Subreport Formula'"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>
Hi,
This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
Regards,
<p>Blair Wheadon</p>
<p>Product Manager, Crystal Reports</p> -
OAF PO Page Entry - User enter value in particular field - Then want to check it should be unique othewise Message must be displayed so that user will select the non unique value in the entry filed. Please let me know will it be possible using personalization? Or I have to customize the controller extend it?
Hahaha..
Every tools have its own pros and cons.. There are much more things which you do in OAF (which is a web based solution) which you can't even imagine in Forms
Cheers
AJ -
How to display more than one column with for each
Hi guys,
how to display more than one column with for each like below?
for each
Item1
Item2
Item3
Item4
Item5
Item6
Item7
Item8
Item9
Item10
End for each
for each
Item1 Item2 Item3
Item4 Item5 Item6
Item7 Item8 Item9
Item10
End for eachTake a look at this to see if the solution provided would work for you: https://blogs.oracle.com/xmlpublisher/entry/multi_column_row_woes
Won't you have more than 10 records in your data file ? If you are going to have only 10 items then you may be able to use position() function to limit it to 3 each..
Take a look at this: https://blogs.oracle.com/xmlpublisher/entry/turning_rows_into_columns
Thanks,
Bipuser -
Enter multiple values for a field in dialog programming
I need to enter multiple values for some of the fields in screen , which screen element do i use for this or is there any other way of doing it?
That would be a table control. In this you can enter multiple values for multiple fields.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm
Thanks,
SKJ -
How to avoid the Amount and Date values for VOID Cheques
Hi All,
I had created a two window i.e For Amount and Date. If I process the cheque the Amount value and Date should not trigger for VOID CHEQUES.
Can any one tel me how to avoid the Amount and Date values for VOID Cheques
Your help will be greatly appreciated.
Regards
YathishHi,
I dont know which tablel you are referring to, is it PAYR table and the field VOIDR?
If a cheque is voided, it would have a reason and it is stored in VOIDR field of this PAYR table.
Check if the field VOIDR is filled, if it is filled, do not print the amount and date.
Regards
Subramanian
Maybe you are looking for
-
Generating a Report from Oracle Forms
If a want to generate a report in Oracle Reports by pressing a Button on my Oracle Forms for example for 5 text items on that form ...then how do i do it ??? plz help
-
Contact Picture Not Syncing Correctly
Hi, I've got an app that gets all my friends pictures from facebook & adds them to my contacts on my iPhone & iPad. The problem is when they are uploaded to iCloud & sent to my contacts on my Mac, the pictures are either blurred or cut in half, see p
-
Where is standalone for 3.2.1?
I've been trying to find a standalone download (update) for Safari 3.2.1 OS X (10.4.11) PPC and I keep getting bounced to the Safari 4 beta on the Applications Updates page. Does anyone know where to get the 3.2.1? Search goes nowhere. Thanks.
-
Information about outbound delivery and its handling units
Hi All experts, I am working on a requirement where I have to display information about the following : 1. Outbound delivery number. 2. related Handling units( 1 or 2 ) indentification number. 3. Transport number. 4. Shipping to party. 5. Line items
-
Nokia 7360 Withholding Callers Numbers
Hi, I was hoping someone could help me with this please. When I receive calls, all that appears on my display is "(no number)" so I haven't a clue who is phoning me. I understand that some people do withhold their number, but this is happening with e