I need an arithmetical function !
hi,
i'd like to insert the following function :
*if "Amount" is inferior to 10, then result is 50.
*if "Amount" is superior to 11 and inferior to 30, then result is 75.
Is it possible ?
Thanks a lot for your help !
Alex.
Alex
Suppoe you have to text fields on your form named as "Amount" and "Result" respectively. You can write the following script (FormCalc) in the "exit' event of "Amount" text field (the first line of the code is for your reference only, do not include it while psting the code):
form1.#subform[0].Amount::exit - (FormCalc, client)
if (form1.#subform[0].Amount.rawValue < 10) then
form1.#subform[0].Result.rawValue = 50
elseif (form1.#subform[0].Amount.rawValue > 11 and form1.#subform[0].Amount.rawValue < 30) then
form1.#subform[0].Result.rawValue = 75
endif
In case of any queries, please feel free to contact me.
Thanks.
Syed Hussain Itiba Naqvi
Similar Messages
-
I am looking for an app that can unmute my iphone after a preset time, eg 1 or 2 hours. Does anybody know an app with this feature?? The apps I have found are linked to a calendar or a place, I just need the timer function..
thanks. yes i am aware of the VoiceOver feature but it is NOT the solution to my problem. as you said, it is a solution to a different set of issues. i want the text to speech ability because i there are books i need to read but do not have the time to sit down and read them and have become used to listening to them read to me either by a professional human reader or with the text to speech software on the Kindle.
I think Apple makes the best audio devices but i am really disappointed in this inexplainable shortcoming. if apple can give us siri they ought to be able to design a nice little button that i can push to turn on text to speech while i am in a document, book, magazine or webpage. clearly it is possible as apple has added the "reader" button in safari to have web pages dropped into the reader format.
thanks for your suggestion though, it is what everyone suggests but it does not address the issue. -
Need of a function module to give a pop up of certain values
Hi Experts,
I am need of an function module to give a pop up of values present in an internal table, just like an F4 help. Please advise.
Thanks in advance,
Vivenchandar Rhi Viven,
check the program <b>BALV_POPUP_TO_SELECT</b> to see how the function module <b>REUSE_ALV_POPUP_TO_SELECT</b> can be used for your requirement.
Hope this helps,
Sajan Joseph. -
I need a timer function to ping the server every 5 secs??using threads.
I need a timer function to ping the server every 5 secs??
using threads...i have to use a thread coz i cant use Timer and Timer Task coz clients r on the JDK1.2 version.I have created a thread which keeps checking th ping msg & any server msg is pings 4 the1st time properly but then it just waits to read the response from server but it doesnt but the server shows that it has send the msgs to client???PLEASE HELP URGENTFew things are not clear from your post, like, are you using sockets and if you are, how are u reading writing to them (ur sample code would help)...
Anyways if you are, are you doing accept on your socket in a while(true) loop or just once... If you do it only once you will get the first ping message but none afterwards if the other side closes and opens new sockets for every send... What I am suggesting is something like the following:
ss = new ServerSocket(port);
while(true)
s = ss.accept();
is = s.getInputStream();
os = s.getOutputStream();
reader = new BufferedReader(new InputStreamReader(is));
writer = new BufferedWriter(new OutputStreamWriter(os));
String in = reader.readLine();
// do something with this string
s.close();
// put some check here to break out of this infinite loop
}// end of While -
I am posting this as a problem for NI to look at.
I am using the Compund Arithmetic function in XOR mode Inverted with 5 inputs. File is also set up in reentrant mode. When I attempt to save the file I get the following error:
Compiler error. Report this problem to National Instruments Tech Support.
int inv mode=0x40000
Advertising Section:
Alliance Member
William Simmons
Simmons Software Engineering, Inc.
714 Germantown Pkwy Ste 5-341
Cordova, TN 38018
(901) 679-3513
[email protected]
LabVIEW, TestStand, Automated Test
environments, On-Site, Off-Site
Attachments:
NXOR_error.vi 73 KBXOR is a new addition to compound arithmetic node. LabVIEW developpers just overlooked the fact that the outpout could be inverted. The compiler fails to generate the proper code because the inversion is not expected.
Just do what the message says. Report the problem to NI Tech Support (and use a separate inverter node).
LabVIEW, C'est LabVIEW -
Why need to give Function group at time of table maintence generation
Dear All,
why need to give Function group at time of table maintence generation
Regards,
Laxman SankhlaHi Laxman,
The F1 help of the field says:
Name of the function group, to which the generated maintenance modules will belong.
Means the PBO & PAI modules of the screen will be created under this Functio group.
Regards
DKS -
Privilege need to create functional index
Greeting gurus?
What privilege I needed for create functional index
I am writing a definer righted procedure to create index however when creating functional index, it gives me ora-0131 insufficent but unique, bitmap and reverse index works
and I granted create any index and create any indextype already. what else is missing ?CREATE INDEX
To create a function-based index, in addition to the prerequisites for creating a conventional index, if the index is based on user-defined functions, then those functions must be marked DETERMINISTIC. Also, you must have the EXECUTE object privilege on any user-defined function(s) used in the function-based index if those functions are owned by another user. -
Need BR's Functiona and Cmds--- please help me
Hi All,
I need all the functions and cmds that are used in BR's and calc scripts in Essbase and Planning...
I'm attending interviews so I need them very very very urgently
if you have doc for the sam eit would be a grt help for me... for version 11.1.2
Please this is very urgent for me...
VijayIf you extract the files and then open index.html it will open the document catalog
Go to the essbase section - Technical Reference - this will contain calc script commands and functions.
Go to the Financial PM application section - Hyperion Business Rules - Administrators guide will contain further information about Business Rules
Cheers
John
http://john-goodwin.blogspot.com/ -
Hi All,
I need all the functions and cmds that are used in BR's and calc scripts in Essbase and Planning...
I'm attending interviews so I need them very very very urgently
if you have doc for the sam eit would be a grt help for me... for version 11.1.2
Please this is very urgent for me...
VijayThey are all in the tech ref - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?launch.html
or the hbr admin guide - http://download.oracle.com/docs/cd/E17236_01/epm.1112/hbr_admin/frameset.htm?launch.html
Cheers
John
http://john-goodwin.blogspot.com/ -
Dear Consultants,
I need a planing function to define a field acorrdind to the other fields.
For example :
If Company code = 1000
Region = R1
Is there any standart planing function to to this?
How can I do this?
Best RegardsHi
In this case you should write an ABAP function exit based on the field symbol statements
Check this link for a step by step guide to SEM BPS function exits
http://www.geocities.com/cynarad/reference_for_bps_programming.pdf
Hope it helps
Andrea -
Question
My Rocketfish 2.4ghz wireless mouse scrolls fine on other browsers but I can't on Firefox. Any help is appreciated as I really want to use Firefox but need the scroll function. ThanksHad this problem for quite a while but found a work-a-round. I click anywhere in the text I want to delete and insert any character. I am then able to block and delete any text I want to. It's been working great.
-
Tutorials needed on overloading functions
hi,
tutorials needed on overloading functions.
provide me with some good links which explains all type of possibilities of overloading.Some samples here :
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/subprograms.htm#i12352
Nicolas. -
Need guide with function module MKT_ELEMENT_CREATE
Hi experts,
currently i'm using FM MKT_ELEMENT_CREATE to create campaigns and campaign elements..but im unsure on how to use it...
these are my codes so far:
gw_crm_mktpl_mktelement-external_id = 'C-0000000000000000003000'.
gw_crm_mktpl_mktelement-object_class = 'CP'. "Campaign ...table CRM_MKTPL_OCLAST
gw_crm_mktpl_mktelement-object_type = 'CPG'. "Campaign ...table CRM_MKTPL_OBJTYP
"The linkings of the 2 things above can be found in table CRM_MKTPL_OBJCL
gw_crm_mktpl_mktelement-text1 = 'Indesit 30 days Mailer'.
gw_crm_mktpl_mktelement-langu = 'E'. "English ...table T002
gw_crm_mktpl_mktelement-camp_type = 'ZAQ0'. "30 day ...table CRMC_MKTPL_CTYPT
gw_crm_mktpl_mktelement-objective = 'Z001'. "Customer acquisition ...table CRMC_MKTPL_OBJTT
gw_crm_mktpl_mktelement-tactics = 'Z002'. "Marketing Contacts ...table CRMC_MKTPL_TATT
"The linkings of the 3 things above can be found in table CRMC_MKTPL_COT
gw_crm_mktpl_mktelement-responsible = 'SIEWLEA'.
gw_crm_mktpl_mktelement-mkt_org = 'UK'.
CALL FUNCTION 'MKT_ELEMENT_CREATE'
EXPORTING
im_marketingelement = 'C-0000000000000000003000' "or need to put 'M-000000016'(parent id)?
im_attributes = gw_crm_mktpl_mktelement
* IM_BELOW =
* IM_LEFT_TO =
TABLES
* IT_TEXTS =
* IT_SETTYPE_VALUES =
return = gt_bapireturn1
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
i am unsure what to value to put for 'im_marketingelement' in the MKT_ELEMENT_CREATE...
everytime i call BAPI_TRANSACTION_COMMIT, i get message Update Was Terminated...
Update was terminated
System ID.... CRD
Client....... 100
User..... SIEWLEA
Transaction.. SEU_INT
Update key... 4954B7D7746106AEE10000000A20801E
Generated.... 30.12.2008, 03:22:56
Completed.... 30.12.2008, 03:22:57
Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
please guide me...thanks...Hello Guys,
please have a look at OSS note 963177, you need to use the new rfc function module bapi_mkt_element_create.
Kind regards
Hannes -
Need user define function for the message mapping structure
Hi All
I am new to XI.I need the java code for Udf for the following structure.
i have two input and one out put as error.
order_nos----
user define function-------error message
order_details----
num of orders---- i.e. 10
order_details------ i.e. whole order records details
1.i have to compare the 1st input with 2nd one means if the ist input contain 10 means there are 10 orders in 2nd input.if not then i have to give error message .
2.then i have to check the fields in 2nd input has no null values.if no values the output will be error message.
Edited by: Rohit Kumar on Dec 18, 2008 4:43 PMHi Sudhir
thanks for your continues help.i need some help so that i can fulfill my requirmrnt
this is my message mapping xml.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:methodCall_MT xmlns:ns0="http://www.dfdsf">
<num_orders>10</num_orders>
<test_mode />
- <order_x> ( which is order details)
<order_id>t78tyu8t</order_id>
<order_date />
<mfg_id />
<catalog_id />
<first_name />
<last_name />
<recipient />
<message />
<address1 />
<address2 />
<address3 />
<city />
<state />
<zip />
<country />
<country_code />
<phone />
<subtotal />
<tax />
<shipping />
<total />
<shopatron_total />
<fulfiller_total />
<shipment_id />
- <additional_info>
<in_store_pickup />
- <express_shipping>
<express_shipping_flag />
<express_shipping_text />
<express_shipping_arrival />
</express_shipping>
</additional_info>
- <discount>
<discount_description />
<discount_percentage />
<discount_total />
</discount>
<lang_id />
<currency_id />
<packing_list />
<num_items />
- <items>
<item_id />
<quantity />
<price />
<part_number />
<fulfiller_total />
<shopatron_total />
- <options>
<option_x />
</options>
</items>
</order_x>
</ns0:methodCall_MT>
this my mapping where under one element number elements are there.when i am excuting the code to check the null value its always giving the there is null val but i have filled evrything.its due to first its checking the order_x and which will be always null.uder this all data will be filled.please suggest what to change in the udf.the code given by u is working fine but its failing in this scenario because it getting the parent filed is null. -
Help needed with printf function!!!!
public class Try
{public static void main (String[] args)
{int a;
String b;
a = 000002;
b = "JSmith";
System.out.printf(b + "%d", a);
}}I need a help with the printf function.
The result of this small excercise that I just made is:
Jsmith2
How do I make it so that the zeros is also displayed? (using the printf)
I want it to look like this: Jsmith000002
Thank you in advanceTrySystem.out.printf(b + "%06d", a);(I don't have a compiler here so I haven't tested this).
The "6" is the width - the minimum number of characters that will be
printed and the "0" (it's a zero) is a flag indicating that the output should
be padded with zeros.
You should also note that the value of a is two. It doesn't matter whether
you say a=2; or a=0002; - a is still just plain two.
Maybe you are looking for
-
Hi everyone, I just have my new Ipad4 last January 27, I noticed that while downloading a certain Apps in App Store then scrolling to look for more application, my screen would flicker like flashing or something blinking on it. I don't know what happ
-
HT1423 the memory-access door won't come off, HELP!
Hi, I have a mid-2007 iMac with 1 GB of ram and i'm trying to replace it, but the memory-access door won't come off. i loosen the screw with a screw driver but it won't open and i don't know why. i want to upgrade to 4 GB. is there some trick to open
-
Error when generating the selection screen "1000" for Report ztest
Hi Experts, I am getting this strange error while trying to activate my report. I simply copy paste report from my other system to new system it was working fine there. I also created all include program etc. While I am trying to create "Selection-te
-
Setting up CF mail server to connect to ISP mail server
I would like to setup a testing evironment and use my ISP's mail server to test and create CF mail applications. When I tried connecting to the ISP's mail server which is "smtp.comcast.net " I received the following message from CF admin "Connection
-
Hi, I have a 13 inch mac book pro
brought in feb this year I want to install windows on it as it works better for my work requirements can any one tell me how much this will cost and what is needed and if anyone has done it? thanks Marcel