How to find a value into a data block
There is a way to find a value into a data block, like finding
one into a record group
null
Rafael Moreno (guest) wrote:
: There is a way to find a value into a data block, like finding
: one into a record group
Try something like this:
-- has to be in a when-button-pressed or key trigger
go_block('x_block');
first_record;
r_found:=false;
loop
if :x_block.search_field:=search_value then
r_found:=true;
exit;
end if;
down;
end loop;
if r_found=false then
first_record;
message('Value '
Similar Messages
-
How to find the table in which data from a structure sits
Hi,
I want to know how to find the exact table where data sitting in various structures during runtime are stored.
For instance,in ME23N we have various tabs and data in those are held in various structures. This we can see by checking the technical setting of each field.
I want to know in which table the data is actually stored for each field and how to find them.
Any other means other than using "WHERE USED" option?
Thanks
CMAfter checking for technical field from the screen, when you reach out to structure, you can dbl click on the particular field's data element. From this data-element you can get to know in which tables it is used. Also if the data element refers to some master data field then you can check out its domain and in the domain you can refer the<b> value table</b> for that domain. This is what i will do if i am not sure about anything.
Hope it will help a little.
Jignesh. -
How to find the value of a variable in other program
How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
Regards
VinHi Vinayak,
you will be having your first program values in internal table or some variables,
when you are calling the second program you wii use like this,
SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
WITH s_emp(second program select-options) IN t_emp(first program variables)
WITH p_chk EQ t_chk
WITH p_r1 EQ t_r1
WITH p_month EQ t_month
WITH s_cust1 IN t_cust1
WITH p_r2 EQ t_r2
WITH s_cust2 IN t_cust2
WITH s_week IN t_week
AND RETURN.
you have pas like this to get your first program details. -
How to get maximal value from the data/class for show in Map legend
I make WAD report that using Map Web Item.
I devide to four (4) classes for legend (Generate_Breaks).
I want to change default value for the class by javascript and for this,
I need to get maximal value from the class.
How to get maximal value from the data/class.
please give me solution for my problem.
Many Thx
Eddy Utomouse this to get the following End_date
<?following-sibling::../END_DATE?>
Try this
<?for-each:/ROOT/ROW?>
==================
Current StartDate <?START_DATE?>
Current End Date <?END_DATE?>
Next Start Date <?following-sibling::ROW/END_DATE?>
Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
================
<?end for-each?>
o/p
==================
Current StartDate 01-01-1980
Current End Date 01-01-1988
Next Start Date 01-01-1990
Previous End Date
================
==================
Current StartDate 01-01-1988
Current End Date 01-01-1990
Next Start Date 01-01-2005
Previous End Date 01-01-1988
================
==================
Current StartDate 01-01-2000
Current End Date 01-01-2005
Next Start Date
Previous End Date 01 -
How to find out each Cell having Data or Not in Excel File by Using WDJ
Hi Friends,
I have one doubt on WDJ.
I have to Upload Excel File. Click on Upload Button in Excel file Data will move to One Bapi. This is I was done. But my Requirement is if any empty Cell in Excel That File not uploaded it display one error message Please upload Correct Excel File
How to find out each Cell having Data or Not in Excel File by Using WDJ. Please tell me.
By Using this Code I have Upload Excel File
InputStream text = null;
int temp = 0;
//wdComponentAPI.getMessageManager().reportSuccess("filePath Vijay:::");
try
File file = new File(wdContext.currentContextElement().getResource().getResourceName().toString());
FileOutputStream op = new FileOutputStream(file);
if (wdContext.currentContextElement().getResource()!= null)
text = wdContext.currentContextElement().getResource().read(false);
while((temp=text.read())!= -1)
op.write(temp);
op.flush();
op.close();
path = file.getAbsolutePath();
//wdComponentAPI.getMessageManager().reportSuccess("Path Name :::::"+path);
catch(Exception ex)
ex.printStackTrace();
But my Requirement is If excel having any Empty Cell that excel file not uploaded.How to do this...
Regards
Vijay KalluriHi my friend
I would like to share you some APACHE APi´s that i use when i have to read excel files in Web Dynpro.
JAR = poi-3.2-FINAL-20081019.jar
Some Example:
POIFSFileSystem fs;
HSSFWorkbook wb;
HSSFSheet sheet;
String myMexican_ValueFromExcelis = "";
try {
fs = new POIFSFileSystem(new FileInputStream();
// and select the cell "y"
cell = row.getCell( 0 );
myMexican_ValueFromExcelis = cell.getCellValue();
}cach(Exception e){
REgargds -
How to find report values using report writer
hi,
Please help me.
How to find report values using report writer
Regards,
RRK.
Edited by: Alvaro Tejada Galindo on Feb 6, 2008 12:01 PMThanks all for the reply.
I am trying to solve a problem where report parameter value that is set at Management Console is wiped out after calling replaceConnection.
databaseController.replaceConnection(oldConnectionInfo, newConnectionInfo,
null,DBOptions._doNotVerifyDB);
We have to support changing database connection from a java utility
class. But once replaceConnection is called all existing static parameter values are lost. To fix this issue we thought of getting parameters and values before calling replaceConnection and setting it after replaceConnection.
Version is CS2008 SP3 - version 12.3.0.601
If there is any other option of fixing the original wipe out issue?
ParameterValues.getValues() didn't return value. I will try ParameterValues.getCurrentCalues() but the document says ParameterValues.getValues() is equivalent to the IParameterField.getCurrentValues() method unless it is empty, in which case it is equivalent to the IParameterField.getDefaultValues() method.
So getCurrentValues() may not work. -
How to find unsued Transfer Rules and Data Sources for a Master Table...?? My requirement is i need to delete those Transfer rules and Data Sources which are not in use
Hi
Go to manage of the Text or attirbute of the master data object, see what are being loaded daily from there and delete the remaining.
Cheer
Ans as expected, Please reward -
How to pass src value into img tag in ADF
Hi,
My Dev : 11.1.2.3.0
How to pass row values into <img> tag.,I used the below code but it's taking empty.,
I tried both ways like #{row.CdFilePath} and ${row.CdFilePath}
<af:iterator var="row"
value="#{bindings.xxx.collectionModel}"
id="i2">
<img src='/ShowImage?src=#{row.CdFilePath}' border='0' style="width:100px; height:100px; margin:5px;"/>
</af:iterator>
Please tell me any other option is there..
ThanksThis works if you use a normal table so I guess it should work here too.
Are you sure the el #{row.CdFilePath} return something?
Why don't you use the adf image tag <af:image source="/ShowImage?src=#{row.CdFilePath}".../> instead of the html img tag?
Should the src property not be enclosed with " instead of your '?
Timo -
How to find the Values of SAP Gateway Server Host and Gateway Service Valu
Hi All,
I installed SAPR/3 4.7 EE on Windows. For configuring SLD and LDAP i am unable to give the SAP Gateway Server Host and Gateway Service values.
Can any one plz suggest me how to find these values.
Regds
PhanikumarHello, SAP Gateway Server Host and Gateway Service are used to set up rfc connectivity, that is the host name and the system number where your sld and ldap is responding, if you have no sld and no ldap , just simply uncheck that options while installing.
Have a nice week end, Luciano. -
How to find these values fall in what time?
Post Author: newcruser
CA Forum: General
From 9 AM to 5 PM time range..how to find these values fall where?.
Is that done using group selection method?. Please give me idea and direction
UserId Type login logout1 1 2008-04-13 09:30:42 2008-04-13 10:30:122 2 2008-04-13 09:30:12 2008-04-13 11:00:323 1 2008-04-13 10:30:32 2008-04-13 12:56:234 2 2008-04-13 10:30:42 2008-04-13 12:00:345 2 2008-04-13 11:30:34 2008-04-13 13:40:236 1 2008-04-13 12:30:43 2008-04-13 13:00:437 1 2008-04-13 13:20:43 2008-04-13 14:45:218 2 2008-04-13 14:30:42 2008-04-13 15:15:599 1 2008-04-13 15:00:42 2008-04-13 16:30:4210 1 2008-04-13 16:20:42 2008-04-13 17:00:00Post Author: newcruser
CA Forum: General
In my case minimum (login) time changes and maximum(logout) time changes everyday.
I want to create from minimum (login) to maximum(logout) for every hour, how many people are online. How to do?.
UserId login logout1 2008-04-13 09:30:42 2008-04-13 10:30:122 2008-04-13 09:30:12 2008-04-13 11:00:323 2008-04-13 10:30:32 2008-04-13 12:56:234 2008-04-13 10:30:42 2008-04-13 12:00:345 2008-04-13 11:30:34 2008-04-13 13:40:236 2008-04-13 12:30:43 2008-04-13 13:00:437 2008-04-13 13:20:43 2008-04-13 14:45:218 2008-04-13 14:30:42 2008-04-13 15:15:599 2008-04-13 15:00:42 2008-04-13 16:30:4210 2008-04-13 16:20:42 2008-04-13 17:00:00
i found minimum (login) and maximum(logout) using below formula. Now i want to find every hour from minimum (login) to maximum(logout) , so i can use each hour value in formula to calculate how many people are online for that particular time. How to do that?.
@Minimum
DatePart("h",(Minimum ()))
@Maximum
DatePart("h",(Maximum())) -
Inserting rows into a data block
Hi, how do i insert 'n' rows into a data block and after that commit the changes into the data base.
Thanks for any help.You can use something like this:
Go_Block('my_block');
first_record;
LOOP
.... insert values to the items
next_record;
END LOOP;
- for commiting changes
Do_Key('Commit_Form');
I hope this will help you.
Helena -
How to show NULL value when import data into excel
when retrieve data from sql server and import these data into excel.
data source is like : select a ,b c from tab
if a,b,c is nullable. when import these NULL value into excel, it becomes blank value, there is nothing in the excel cell.
if i don't want to use select isnull(a,'NULL') as a to convert the values.
what's else can i do to make it? is there a way to prevent changing the NULL to blank ?
or is there an easy solution to replace all the blank value to NULL in the excel ?help me ~
-
How can I programatically use the forced values to put a value into numeric data member?
I am extremely new at using Lookout and need a way to programmatically force a value into a numeric data member so that I can later use that value as a flag when creating a report.
Hi,
You can do this with an Expression similar to the following:
Object.datamember = if(Pb1, Pot1, Object.datamember)
Where Object.datamember is the datamember of the Object you want to write to.
Pb1, is a PushButton -- it can be any logical condition.
Pot1, is a Pot -- it can be any other source for your numeric data.
The IF statement basically says, "if Pushbutton Pb1 is pressed, write the current value of Pot1 to the Object's datamember. And if it's not pressed, leave its value as-is."
Hope this helps.
Regards,
Khalid -
How to load this value into the master data display attribute
Hi ,
Please share me the knowldege how to load this kind of data into master data display attribtes ..
Raj + Ravi Ltd (PCG: 13592)
While loading this data ,i got the error message stating that '+' should not be part of the attributes and () should not be part of the attribute ..but i need all the information as it is available in the example data .
Do i need to maintain RSKC Settings else some other things required ..
Please guide me ..
Regards,
RajHI,
Maintain these symbols in RSKC and try to reload the data.... -
How to insert column values into database as rows
Hi,
I have 8 columns and some not null columns. Based on not null columns I want to insert into table as rows. The 8 columns may contain values or no value. If the first column contains data, then I have to insert into one row. if the second column contains data I have to insert a row and in second column. respectively...So How can I insert column values into rows. Can I write 8 insert statements. (OR) is it possible to insert data from columns using where clause.
Please help me out....
Thanks in AdvanceLines Table:
line_id, orcl_bank_account_num, product_type, service_type, lease_type,
funding_type, cpi, billing_frequency_unit_cd , annual_due_date ,
pricing_start_date, pricing_end_date, install_date, contract_end_date ,
prdct_replacement_cost_amt, cradle_replacement_amt, supranet_contract,
issuance_fee, board_inactive_date, header_id, creation_date, last_modified_date,
created_by_nam, modified_by_nam, activeinactive_flg, prdct_bill_amt_yr1,
prdct_bill_amt_yr2, prdct_bill_amt_yr3, prdct_bill_amt_yr4, prdct_bill_amt_yr5,
prdct_bill_amt_yr6, prdct_bill_amt_yr7, prdct_bill_amt_yr8, activation_fee_yr1,
activation_fee_yr2, activation_fee_yr3, activation_fee_yr4, activation_fee_yr5,
activation_fee_yr6, activation_fee_yr7, activation_fee_yr8,
In this table the columns structure is :
-- PRDCT_BILL_AMT_YR (1 to 8) NUMBER(14,4)
-- ACTIVATION_FEE_YR (1 to 8) NUMBER(8,2)
I have one more table:
PRDCT_INS_AMT NUMBER(14,4)
ACTIVATION_FEE_AMT NUMBER(14,4)
I want to insert prdct_bill_amt_yr (1 to 8) columns data into PRDCT_INS_AMT column. similarly activation_fee (1 to 8) columns data.
But the data should be inserted based product_type, service_type, lease_type columns values. (These 3 columns may contain upto 45 combinations).
Maybe you are looking for
-
After saving and publishing to folder, changes are not shown...
I have successfully published 2 updated versions of my website to the same folder on my computer. I have just completed the third update, saved it, published it, yet after uploading the changes aren't shown on the site itself. I have closed/re-opened
-
Hi, whenever i turn on my laptop, there's this buzzing noise coming from the cpu fan. i sent it to a repair shop to clean the fan, but the problem still exists. i suspect it's more of a hardware issue than the fan, and if so, where can i get a replac
-
MacBook pro will not cool properly
My macbook pro seems to ger very hot and will not cool down completely untill I turn it off. I do not recall it doing this previously. Is there anyway I can check that the fan is still working properly?
-
Register Object while creating Proxy in SPROXY
Hi, In SPROXY wile trying to create a PROXY for my outbound Message Interface, I am prompted to register my object. Is it necessary to register even for custom objects thought I donu2019t have it staring it as a Z. I was under the impression that we
-
Having trouble getting in-ap purchases
I can buy aps and music but tells me to go to Applestore help when trying to buy in-ap stuff.