How to find the PREVIOUS value of a non-DB item?
I want to do a simple thing but found it impossible.
I want to find the previous value of a non-DB item in a form.
I tried creating a text item and populating it using PRE-TEXT-ITEM but that does not work.
WHEN-VALIDATE-ITEM does not work either because WVI fires only after item value has changed.
Any suggestions will be greatly appreciated.
Edited by: Channa on Apr 2, 2010 4:34 AM
Channa wrote:
I want to do a simple thing but found it impossible.
I want to find the previous value of a non-DB item in a form.
I tried creating a text item and populating it using PRE-TEXT-ITEM but that does not work.
WHEN-VALIDATE-ITEM does not work either because WVI fires only after item value has changed.
Any suggestions will be greatly appreciated.
Edited by: Channa on Apr 2, 2010 4:34 AMPlease make it clear what is your requirement then possibly we can provide you a better answer
You can use Global variables for to store old values also on Post-query populate a value in separate field or Parameter
Similar Messages
-
How to find the nearlest value in 1-D array ?
Hi.. everybody..
I need to seperate the raw data(1-D) into 2 group of array by the center value and then make the average value in each array. But I also still have the problem about if the center value is not the same of some value in the 1-D array. I cannot use the split function.
"How to find the nearlest value to the center point that I calculated, in the 1-D array ?"
Thanks a lot for anybody helpIn a general sense, since I'm not sure what your data values are or how far away your calculated center is from the true value, I would do it one of two ways:
1) Use a threshold value and scan the array until the threshold is reached (assumes constantly increasing values in the array).
2) Use either a) round to nearest integer b) round to + Infinity (round up) or c) round to - infinity (round down). If you don't have decimal values, you'll have to devide the values by a power of 10.
2006 Ultimate LabVIEW G-eek. -
How to find the FND_PROFILE.VALUE(ORG_ID) in custom apex schema
Hi,
How to find the FND_PROFILE.VALUE('ORG_ID') from dual in custom schema......
Actually I have integrated Apex 4.2 version with EBS r12
select FND_PROFILE.VALUE('ORG_ID') from dual ; in apps schema I m getting 198 value
but the same query(select apps.FND_PROFILE.VALUE('ORG_ID') from dual ) in custom schema (XXCVBB) returning null value..
Is there any pre steps I have to do...
kindly provide the useful inputs to retrieve the profile value..........
Regards,
PavanHi,
fnd_profile.value('ORG_ID'); will fetch you value only if there is a organization assigned to any application [or only if its a single Org], being it custom application you should have used set policy context or mo_global.init to populate the global temporary table which will hold all the Org's which that specific user has access too.
in your custom code use MO_GLOBAL.SET_POLICY_CONTEXT('S','ORG ID WHICH YOU NEED TO SET');
after setting the policy context, you should be able to see value from fnd_profile.value('ORG_ID');
Hope this Helps!!
MO_GLOBAL.SET_POLICY_CONTEXT
This procedure has two parameters
p_access_mode
Pass a value "S" in case you want your current session to work against Single ORG_ID
Pass a value of "M" in case you want your current session to work against multiple ORG_ID's
p_org_id
Only applicable if p_access_mode is passed value of "S"
MO_GLOBAL.INIT
Purpose of mo_global.init :-
It will check if new Multi Org Security Profile is set, to decide if new Security Profile method will be used.
If the new MO security profile is set, then mo_global.init inserts one record, for each Organization in Org Hierarchy, in table mo_glob_org_access_tmp
Regards,
Yuvaraj -
How to find the ASCII value of ' ?
how to find the ASCII value of ' using ASCII Function in SQL??
while i am trying this using syntax ASCII(''') the query is terminating at the second oneLokanath Giri wrote:
For your validation check this link
http://www.techonthenet.com/ascii/chart.php
Please don't just refer people to other non-oracle websites when the answer is so simple to give here as others have already done. -
How to find the ASCII value for an alphabet.
How to find the ASCII value for an alphabet.
How can I get Ascii value of any letter
How can I get Ascii value of any letter. Is there any function?
This is how you do it :
report demtest.
data : c.
field-symbols : <n> type x.
data : rn type i.
c = 'A'.
assign c to <n> casting.
move <n> to rn.
write rn.
This will convert 'A' to 65.
Tom Demuyt
How to convert ascii value to character.
If I give input as 65 (ascill value) I want display 'A'.
Below logic is for convert from character to ascii value , now I want to know how to convert ascii value to character.
Naveen
report demtest.
*going from A to 65
data : c value 'A'.
field-symbols : <n> type x.
data : rn type i.
assign c to <n> casting.
move <n> to rn.
write rn.
*going from 66 to B
data : i type i value 66.
data : x type x.
field-symbols : <fc> type c.
move i to x.
assign x to <fc> casting type c.
move <fc> to c.
write c. -
How to find the form name attached to AR Open item list
How to find the form name attached to AR Open item list
FBL5N -> Correspondance
Thanks
GaneshYou can find out in SPRO.
Go to tcode SPRO
Financial Accounting (New)
Financial Accounting Basic Settings (New)
Correspondence
Define Form Name for Correspondence Print
Here you will find the form attached to the program.
To find the attached program to the Correspondence type.
Go to tcode SPRO
Financial Accounting (New)
Financial Accounting Basic Settings (New)
Correspondence
Assign programs for the Correspondence Types
Regards,
Naimesh Patel -
How to find the RGB Values of a Color for Hyperion
When customizing your Hyperion forms, we come across situations where we need the exact RGB value of a given color. This article explains a simple technique to find the RGB values using MS Paint and the Calculator applications that come as standard applications with your operating system.
Here are the steps to find the exact RGB value of a given color.
1) View your Hyperion form using IE, scroll down until you see the color you want to find the RGB value and press the "Print Screen" button (in your keyboard).
2) Open MS Paint and click Edit -> Paste or simply Ctrl+V. What you saw in the browser will be copied as a new untitled image.
3) Select the Color Picker tool and click on an area that has the color you want to match.
4) Now go to Edit Colors... option and click on the "Define Custom Colors >>" button. The color you picked will be selected on this palette. At the bottom right hand corner you will see the Red, Green and Blue values you need. Note down the R,G,B values (given in decimal).
5) Now we need to find out the hexa-decimal values that correspond to those decimal values. This is where we use the simple Calculator. Open the Calculator application from Program -> Accessories. Switch to the scientific mode by clicking View ->Scientific.
6) By default it will be in the decimal number mode. Enter the R value (238 in this example) and click on the Hex radio button. The corresponding hexa-decimal value (EE in this case) will be shown in the dial.
The selected color in this case has the same value for R, G and B. (In fact, all shades of gray has the same values for R, G and B.) Therefore, the RGB value of the background color that we need is #eeeeee. Repeat step 6 to find out the hex value for the Green and Blue elements, if they are different.
Tip:
If you find it difficult to pick a color, zoom the image by pressing Ctrl+PageDown or using View -> Zoom -> Custom... option.These tips are to find the RGB color of HFM default row where row is text and text lines in data columns are also visible to business users as Yellow as an input cell. By applying the same RGB color you can apply the same color to your data cells or rows. This post shows how to identify color from any web view-able object.
Regards,
Manaf -
How to find the inserted values in alv
Hello All,
How to find the inserted and deleted values in ALV.
Regards,
lisa.Hi,
copy the output table before calling set_table_for_first_display and refresh_display
then in your event call
CLASS lcl_alv_handler_1100 DEFINITION.
PUBLIC SECTION.
METHODS:
handle_data_changed
FOR EVENT data_changed OF cl_gui_alv_grid
IMPORTING er_data_changed,
ENDCLASS.
after this here you can find modified new output table
then compare the new output table with older one
aRs -
How to find the maximum value among four fields in a single record
Hi Gems...
I have a record in which there are 4 currency fields.
Now i would like to know the maximum of these 4 fields.
I tried with Max functions in which i put all the 4 values...but it is showing error like ") is missing" though it is there.
Can we insert more than 2 values in Max function?
Or else is there any other option to find the max value among the 4 values which lies in a single record
Thanks
JitenHi Anil,
Say suppose i have a single record in which 4 premiums of a particular bond exists.
for eg:
Prem1 Prem2 Prem3 Prem4
129000.00 388000.00 228000.00 14800.00
Now this is a single record for a particular bond ... now i need to calculate the max value among these 4 premiums.
How would we proceed to achieve this?
Regards
Jiten
Edited by: Jitendra Yuddandi on Feb 3, 2009 1:04 PM -
How to get the previous value of Potential Revenue, as Number
PRE('<Revenue>') will return the previous value of the Potential Revenue (in Opportunity object), as a string.
However, i need to manipulate the returned value as number in order to evaluate if the previous value is less a certain amount.
PRE('<Revenue>')*.3204<50000
The expression about, is meant to convernt the value to a different currency, and evaluate if its less than 50000.
Is there any way I can be able to achive this?
appreciate you response! :)
Edited by: mack on Apr 15, 2012 1:31 AManswered.
-
Critical abap hr req - How to find the previous org unit of the employee?
Hi Experts ,
I need small inputs from your end...
I need to find the employee org unit based on the latest one.....
i just want to know if an employe is Transfered from the org unit .....we can check it from the ORG unit.
My requirement is to now capture only the org unit of IT folks not for the employees who are transfered to NON-IT department.....
sop if an empployee 5000 org unit belongs to IT of employee 1000 and NOW he transfered out of IT with current 6000 org unit then how can we read that 5000 ?
now i am using PCH logical data base...
Based on evaluation path(Pers-0) i will pick up the pernr 1000.
now when i check the org unit it is 6000 with end da 12/31/9999.
then i loop
select * from pa0001 into itab where pernr = objec--objid and otype = 'P'.
enselect.
loop at itab where pernr = objec-objid.
Here in the loop what is the logic we need to write to pick up the previous org unit please suggest
endloop.
Regards
sas>
Faisal Altaf wrote:
> Hi,
>
> Please Test the following Sample Code hope it will solve out your problem,
>
>
TABLES: pa0001.
>
> DATA: it_pa0001 LIKE STANDARD TABLE OF pa0001 WITH HEADER LINE,
> begda TYPE begda.
>
> SELECT SINGLE begda FROM pa0001 INTO begda
> WHERE pernr = '00000001'
> AND endda = '99991231'.
>
> begda = begda - 1.
>
> SELECT * FROM pa0001
> INTO CORRESPONDING FIELDS OF TABLE it_pa0001
> WHERE pernr = '00000001'
> AND endda = begda.
>
> Please Reply if any Issue,
>
> Best Regards,
> Faisal
Hy Faisal...what is the begda value there?
Regards
sas -
How to get the previous value of a field before saving the record
Hi All,
I have a requirement like, listing out the modified field values with their previous value and new value using integration events or any method.
For Ex: If i modify the customer name from "Jack" to "Amith" in the record.
Then i have a requirement to display the message like : CustomerName has changed from "Jack" to "Amith"
Please post your help notes on this.It's Urgent.
Thanks & Regards
AmithHello Amith,
How does a user perform the modification? Do you already have access to the existing value when the user makes the update? How are you identifying the record to be updated within CRMOD and what method are you using to perform the update?
Thanks,
Sean -
How to find the ascii value in abap
Hi everyone,
i want to get to ascii value of a given character. so wanted to know whether is it possbile to get ascii value of a character in ABAP or not ?
if yes let us know the way to find it ...
thank you.Hi,
Please go through this link below:
http://www.sap-img.com/abap/how-can-i-get-ascii-value-of-any-letter.htm
You can also try using FM's:
CHAR_INT_CONVERSION,
CHAR_HEX_CONVERSION
Hope it helps
Regards
Mansi -
How to find the previous path environment variable in windows 2008
I am reconfiguring the Hyperion 11.1.2, and later, I installed the ODI. And them when I come back to reconfigure the Hyperion, it cannot be reconfigured, and say cannot find the path parameter. And I check the PATH environment variable, and find it is showing a dumy value, do we have a way to recover the previous PATH envirnment variable?
To get the source IP address, you will need to enable File Share auditing: http://technet.microsoft.com/en-us/library/dd772690%28v=ws.10%29.aspx
Otherwise, you can simply disconnect the user session.
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile -
How to find the previous changed pay for an employee
Hi,
I have to get the previous changed pay for an employee.
The problem is if the user enters a date range and if there is no change in the pay rate then i need to get the previous pay which is different from the current pay.
HR experts please help on this.Please, read this weblog....
<a href="/people/alvaro.tejadagalindo/blog/2006/02/19/how-to-deal-with-hr-payroll-reports to deal with HR Payroll reports</a>
Greetings,
Blag.
Maybe you are looking for
-
How do I add an audio crossfade to a cut without FCPx slipping the audio in-point?
I'm a seasoned FCP editor, and I'm having some major issues doing what I consider to be very basic editing in FCPx. I basically have one video track shot on an DSLR along with a synced audio track from an external recorder. I'm using the blade the re
-
Hi, I want to create a number of Spark Skins using some vector images that I have with me. I can obtain the vector images in FXG format-- but what I am looking for is some way to quickly create multiple skins for various UI elements like buttons, men
-
Error: ORA-04030: out of process memory when trying to allocate 639232 byte
I had encountered a problem while i'm trying to compile a package. The error is : Error: ORA-04030: out of process memory when trying to allocate 639232 byte. Pls advice what can i do? Thanks
-
Handling Special Character in SAP PI
Hi, I have a file to proxy scenario where I have used a complex UDF to get proper data at receiver side. Now, from the sender side I am getting some special characters in the files and due to this the whole file is getting failed with mapping error.
-
hi IDE: Netbeans7.1 Server:Weblogic 10.0 JSF:2.1 JPA:toplink essential JPA 1.0 When i`m inserting JPA in my JSF project following error Shown, Any one have Idea abt it? init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: libr