Checking NULL value
Hello to ABAP Gurus
First of all I am zero in ABAP hence please ingnore my lack of knowledge.
Question is that I have written an ABAP routine in transfer rule where I am pulling data from R/3 system into my info objects.
What I would like to do here is that if the date is NULL "Not present at source", I would like to assign the default date to my info object.
My small piece of code looks like below
If TRAN_STRUCTURE-birthdt = ' '.
RESULT = '01/01/9999'.
else.
RESULT = TRAN_STRUCTURE-birthdt.
endif.
Please let me have your expert advice.
Many thanks in Advance.
Regards,
Bobby
Hi Gopal
Use function module <b>CONVERT_DATE_TO_EXTERNAL</b>. This will convert the date to the user specific format. So if your user specific format is mm/dd/yyyy, then this is all you need.
Check below threads as well...
Re: Date Conversion Function Modules YYYYMMDD to MM/DD/YYYY
convert yyyymmdd date format to mm/dd/yyyy
How to convert date format to MM/DD/YYYY
hope it will solve ur problem..
<b>Reward Points if helpful.</b>
Thanks & Regards
ilesh 24x7
Similar Messages
-
Checking NULL values in templates
Hi Tim,
This is a very common problem that one encounters in designing any report be it using D2K or XMLP. Suppose i want a particular field to be displayed only if there is value in the data field, else to be hidden from the user, how can i do this?
To be more clear on this requirement, say i have a field called PO_NUM and i want the folllowing check:
If PO_NUM != NULL then {Not Null}
display PO_DETAILS
else
don't display PO_DETAILS
end if
How can i achieve this requirement using XMLP? Please reply to this query of mine, as currently i am using a workaround for this issue, but need a solution/fix to it forever.
Thanks,
NitinHi Pavel,
You are absolutely right. It doesnot work for me either.
Sample XML:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Oracle Reports version 6.0.8.24.0 -->
<SUPPLIERLIST>
<G_SUPPLIER>
<G_VENDOR>
<VENDOR_NO>100</VENDOR_NO>
<VENDOR_NAME>XYZ</VENDOR_NAME>
</G_VENDOR>
<G_VENDOR>
<VENDOR_NO></VENDOR_NO>
<VENDOR_NAME>ABC</VENDOR_NAME>
</G_VENDOR>
<G_VENDOR>
<VENDOR_NO>0</VENDOR_NO>
<VENDOR_NAME>EFG</VENDOR_NAME>
</G_VENDOR>
</G_SUPPLIER>
</SUPPLIERLIST>
Code used in RTF template:
<?for-each:G_VENDOR?>
<?if@inline: VENDOR_NO != ?><?VENDOR_NO?><?end if?>
<?if@inline: VENDOR_NAME != ?>,<?VENDOR_NAME?><?end if?>
<?end for-each?>
This gives me wrong output.
Then i used the following code:
<?for-each:G_VENDOR?>
<?if: VENDOR_NO != ?><?VENDOR_NO?><?end if?> <?if: VENDOR_NAME != ?>,<?VENDOR_NAME?><?end if?>
<?end for-each?>
I get the correct data, but the output in not in desired format.
The i tried with the following way:
A table with the following format:
Vendor No Vendor Name
for-each G_VENDOR VENDOR_NO
VENDOR_NAME end G_VENDOR
then it works perfectly fine, with data moving to next lines, although in right columns as desired.
Please let me know the right solution to this issue. I am using XMLP 5.5
Thx,
Nitin -
Query to check null values on a BLOB
Hi, I tried to write a pl/sql procedure if :blobcol is null then ....; end if;
returns an error: no PL/SQL Translation for the bindtype given for this bind variable.
is there a way to check to see if a BLOB column has data in it?
thanks!ME_XE?create table test_blob(column1 number, column2 blob default empty_blob());
Table created.
Elapsed: 00:00:00.10
ME_XE?insert into test_blob(column1) values (1);
1 row created.
Elapsed: 00:00:00.10
ME_XE?select column1 from test_blob where DBMS_LOB.GETLENGTH(column2) = 0;
COLUMN1
1
1 row selected.
Elapsed: 00:00:00.18 -
hi,
can anyone please tell me the solution to solve my problem?
i have two tables.
1.HR->it contains all the Employee Details
2.criteria->it contains some fields as in the HR
hr table
emp_id|Country_code|lob_level10|lob_level_11|salary|cpu_name
|-----|------------|------------|-----------|------|--------
|1111 | AE | IASG | CRM |10000 |Global
|2222 | BZ | TTL | ILL |20000 |MD
|3333 | CH | LLD | CRM |30000 |Global
criteria table
|emp_id|country_code|lob_level10|lob_level_11|cpu_name
|------|------------|-----------|------------|--------
| 2222 | null | null | null | MD
| null | null | null | CRM | Global
i want to update cpu_name in HR depend upon the condition entered in the criteria table.
--->here the first row condition is i have to update the cpu_name as MD in HR table
those who having the emp_id as 1111 in HR
---->second row condition is update the Cpu_name as Global in HR those who are having
Lob_Level11 As CRM
like this i want to check each row in criteria table with HR.
after the completion of the process th HR table should look like this...
emp_id|Country_code|lob_level10|lob_level_11|salary|cpu_name
|-----|------------|------------|-----------|------|--------
|1111 | AE | IASG | CRM |10000 |Global
|2222 | BZ | TTL | ILL |20000 |MD
|3333 | CH | LLD | CRM |30000 |Global
thanks in advance
vally.s
Message was edited by:
LEE_APT
Message was edited by:
LEE_APTHi Vally.s,
You first need to decide how you're going to update your table.
Are you going to do it:
1) for ex.:
UPDATE hr h
SET h.cpu = (SELECT c.cpu FROM criteria c WHERE c.emp_id = h.emp_id)
WHERE EXISTS
(SELECT 1
FROM criteria c
WHERE c.emp_id = h.emp_id);
... and same for other columns of criteria
2) with PLSQL, write a procedure that loops through criteria and then through the hr table to do the update (LOOP ... (criteria) IF ... THEN LOOP ... (hr) END LOOP; END IF; IF ... THEN ... END LOOP)
3) If you need interaction with your APEX application, you can add a condition to your different PLSQL processes.
Hope that it's more clear now,
Dimitri -
How does APEX check for null values in Text Fields on the forms?
Hello all,
How does APEX check for null values in Text Fields on the forms? This might sound trivial but I have a problem with a PL/SQL Validation that I have written.
I have one select list (P108_CLUSTER_ID) and one Text field (P108_PRIVATE_IP). I made P108_CLUSTER_ID to return null value when nothing is selected and assumed P108_PRIVATE_IP to return null value too when nothign is entered in the text field.
All that I need is to validate if P108_PRIVATE_IP is entered when a P108_CLUSTER_ID is selected. i.e it is mandatory to enter Private IP when a cluster is seelcted and following is my Pl/SQL code
Declare
v_valid boolean;
Begin
IF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NULL THEN
v_valid := TRUE;
ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NOT NULL THEN
v_valid := TRUE;
ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NULL THEN
v_valid := FALSE;
ELSIF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NOT NULL THEN
v_valid := FALSE;
END IF;
return v_valid;
END;
My problem is it is returning FALSE for all the cases.It works fine in SQL Command though..When I tried to Debug and use Firebug, I found that Text fields are not stored a null by default but as empty strings "" . Now I tried modifying my PL/SQL to check Private_IP against an empty string. But doesn't help. Can someone please tell me how I need to proceed.
ThanksSee SQL report for LIKE SEARCH I have just explained how Select list return value works..
Cheers,
Hari -
How to check for null values in pl sql?
Hello,
I have an sql statement where I read the db column into a number of variables, some of the columns contain NULL values or empty varchars. How can I check if my variable contains any data?
Thanks,
Jto check if your variable contain null or not use like this
if v_variable is null if you use
if v_variable=NULL this is right according to syntax but it will not give you desired result
SQL> declare
2 v_empname varchar2(20);
3 v_comm number;
4 begin
5 select ename,comm into v_empname,v_comm from emp
6 where empno=7839 and comm is NULL;
7 dbms_output.put_line(v_empname);
8 if v_comm is NULL then
9 dbms_output.put_line(v_empname);
10 end if;
11 end;
12 /
KING
KING
PL/SQL procedure successfully completed.but if you will use = null then you will not get result
SQL> declare
2 v_empname varchar2(20);
3 v_comm number;
4 begin
5 select ename,comm into v_empname,v_comm from emp
6 where empno=7839 and comm is NULL;
7 dbms_output.put_line(v_empname);
8 if v_comm = NULL then
9 dbms_output.put_line(v_empname);
10 end if;
11 end;
12 /
KING -------------king will get printed only once.
PL/SQL procedure successfully completed. -
How to check for null values in bpel?? Please Help! very urgent!!!
Hello Guys,
I have a problem. I have an external webservice to which I have to post my request. My task is to create an Webservice and Service Assembly to which others would post request and get response. I have to create SA to deploy onto the bus.
The problem is that there are optional elements in the request and response xsd's. In the Response sometimes certain feilds may come or they may not. for Example:- my response could contain a tag like this <firstName></firstName>
I have to copy these feilds in my bpel process from one variable to another.(like in the mapper).
My Question is , Is there any way in BPEL process or BPEL mapper where I could Check for null values in the request or response???
Your inputs would be very helpful.
Thanks
RajeshThanks for replying man :)
Ok I will be more clear.
Here is a snippet of one of the xsd's that I am using.
<xs:element name="returnUrl" nillable="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Partner specifies the return URL to which responses need to be sent to, in case of
Async message model.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:anyURI">
<xs:maxLength value="300"/>
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
This means that the return URL field can be there or it may not be there. But if it is there it cant be null because nillable=false. But the whole <returnURL> </returnURL> can be there or it may not be there because minOccurs=0.
My requirement is , if returnURL is there in the response with a value, then in my BPEL mapper I should map it else I should not map it.
Thats the issue.
and Yes kiran, the node be non-existant.
So can you please help me with this.
Thanks
Rajesh -
Checking for null value in arraylist
Hi
i have an excel file which i i am reading into an arraylist row by row but not necesarrily that all columns in the row mite be filled. So how do i check for null values in the array list.
try
int cellCount = 0;
int emptyRow = 0;
HSSFWorkbook workbook = new HSSFWorkbook(new FileInputStream(file));
HSSFSheet sheet = workbook.getSheetAt(0);
Iterator rows = sheet.rowIterator();
myRow = new ArrayList();
int r = 1;
while (rows.hasNext())
System.out.println("Row # " + r);
HSSFRow row = (HSSFRow) rows.next();
Iterator cells = row.cellIterator();
cellCount = 0;
boolean isValid = false;
while (cells.hasNext())
HSSFCell cell = (HSSFCell) cells.next();
switch (cell.getCellType())
case HSSFCell.CELL_TYPE_NUMERIC:
double num = cell.getNumericCellValue();
DecimalFormat pattern = new DecimalFormat("###,###,###,###");
NumberFormat testNumberFormat = NumberFormat.getNumberInstance();
String mob = testNumberFormat.format(num);
Number n = null;
try
n = pattern.parse(mob);
catch ( ParseException e )
e.printStackTrace();
System.out.println(n);
myRow.add(n);
//myRow.add(String.valueOf(cell.getNumericCellValue()).trim());
//System.out.println("numeric: " +cell.getNumericCellValue());
break;
case HSSFCell.CELL_TYPE_STRING:
myRow.add(cell.getStringCellValue().trim());
System.out.println("string: " + cell.getStringCellValue().trim());
break;
case HSSFCell.CELL_TYPE_BLANK:
myRow.add(" ");
System.out.println("add empty:");
break;
} // end switch
cellCount++;
} // end while
r++;
}// end while
} myRow is the arrayList i am adding the cells of the excel file to. I have checked for blank spaces in my coding so please help with how to check for the black spaces that has been added to my arraylist.
I have tried checking by looping through the ArrayList and then checking for null values like this
if(myRow.get(i)!=null)
// do something
// i have tried this also
if(myRow.get(i)!="")
//do something
}Edited by: nb123 on Feb 3, 2008 11:23 PMFrom your post I see you are using a 3rd party package to access the Excel SpreadSheets, you will have to look in your API for you 3rd party package and see if there is a method that will identify a blank row, if there is and it does not work, then you have to take that problem up with them. I know this is a pain, but it is the price we pay for 3rd party object use.
In the mean time, you can make a workaround by checking every column in your row and seeing if it is null, or perhaps even better: check and see if the trimmed value of each cell has a lenth of 0. -
Check for NULL value (Recordset field)
Hi y'all...
A little question, so just for the weekend...
I've a query that returns 4 fields, the fisrt three always containing data, and the last one an integer, or NULL. If I get the value with <i>rs.Fields.Item(3).Value.ToString();</i> it always contains an integer. The NULL values are always converted to '0'.
How can I check if it is a NULL value?Okey, found a workaround, using the SQL function ISNULL()...
SELECT ISNULL(U_MyVar, 'null_value') FROM [@MyTable]
Now I can check if the value has the value <i>"null_value"</i>. If so, that field was <i>null</i> -
Hi,
I have a table with columns a1, a2, a3, a4 and a5. The column a1 is the primary key for the table. I want to check if all the other columns except a1 have null values. How can I do that?
Thanks,
MachaanFor fun;
select a1,
a2,
a3,
a4,
a5,
nvl2(a2, 0,1) + nvl2(a3, 0,1) + nvl2(a4, 0,1) + nvl2(a5, 0,1) num_nulls
from sample_data;
A1 A2 A3 A4 A5 NUM_NULLS
1 2 3
2 4
3 4 3
4 4 4 2
5 2 3
6 -2 3
7 1 2 3 4 0
8 -1 -2 -3 -4 0 -
Check for null values in conditional formatting when no rows returned.
I have a report that is showing facts for different months.
For some months there is no row in the facts table.
But in the report, I have to show a * when there is no data.
If there is a row in the facts table with null value for data, the conditional formatting successfully shows a * when data is null.
But when no row is present in the facts for a particular month , conditional formatting is unable to detect any null, as none exist.
How we can check that no rews returned for a particular month and then show *?
thanksHi,
which obiee version r u using?
My Blog ref:
http://obieeelegant.blogspot.com/2011/06/replacing-null-as-0-in-obiee.html
in obiee10g its working fine.expect obiee11g
also see the bug reference
How to replace null as 0 in obiee11g pivot table view?
obiee11.1.1.6.0 also have the same issues.
Thanks
Deva -
Check for null value of an attribute
Hi,
I am reading an attribute using the get_attribute method of the element of a node.
Depending on whether the value of this attribute is initial or not, I need to do some further processing. But the get_attribute method itself is giving an exception that "Access via null reference is not possible". I first need to check if this is initial (or null) and then proceed. Is there some other way to check this value apart from the get_attribute method??
Here is the sample code
IF elem_es_detalhes IS NOT INITIAL.
DATA:
item_zzorgas LIKE stru_es_detalhes-zzorgas.
get single attribute
elem_es_detalhes->get_attribute(
EXPORTING
name = `ZZORGAS`
IMPORTING
value = item_zzorgas ).
wd_comp_controller->setleadselectionorgas( EXPORTING i_value = item_zzorgas ).
ENDIF.
> the get_attribute method is throwing an exception that access via null object reference is not possible.
Please help!!
regards,
PriyankRuntime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Date and Time 04.04.2007 05:54:08
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_WDR_CONTEXT_ELEMENT========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: " ").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"OBJECTS_OBJREF_NOT_ASSIGNED" " "
"CL_WDR_CONTEXT_ELEMENT========CP" or "CL_WDR_CONTEXT_ELEMENT========CM006"
"IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "pioerp01"
Network address...... "192.168.0.10"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x Intel 801586"
Character length.... 8 Bits
Pointer length....... 32 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "PIOERP01"
Database type..... "ORACLE"
Database name..... "ERD"
Database user ID.. "SAPERD"
Char.set.... "English_United State"
SAP kernel....... 700
created (date)... "Oct 13 2006 00:08:41"
create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version. "OCI_10201_SHARE (10.2.0.1.0) "
Patch level. 80
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory consumption
Roll.... 1754160
EM...... 8362368
Heap.... 0
Page.... 0
MM Used. 9168936
MM Free. 935200
User and Transaction
Client.............. 210
User................ "PJAIN"
Language Key........ "E"
Transaction......... " "
Program............. "CL_WDR_CONTEXT_ELEMENT========CP"
Screen.............. "SAPMHTTP 0010"
Screen Line......... 2
Information on Caller ofr "HTTP" Connection:
Plug-in Type.......... "HTTP"
Caller IP............. "122.167.22.28"
Caller Port........... 8000
Universal Resource Id. "/sap/bc/webdynpro/sap/zagr_fazenda/"
Information on where terminated
Termination occurred in the ABAP program "CL_WDR_CONTEXT_ELEMENT========CP" -
in "IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 36
of the (Include) program "CL_WDR_CONTEXT_ELEMENT========CM006".
Source Code Extract
Line
SourceCde
6
get_not type abap_bool value abap_false,
7
first_part type string,
8
second_part type string,
9
attr_wa like line of me->dynamic_attributes.
10
11
field-symbols:
12
<dyn_attr> like line of me->dynamic_attributes,
13
<value> type data,
14
<attr_info> like line of me->node_info->attributes->*.
15
16
while try_again = abap_true.
17
18
first try static attributes
19
assign static_attributes->(name) to <value>.
20
if sy-subrc = 0.
21
value = <value>.
22
try_again = abap_false.
23
continue.
24
else.
25
26
second try dynamic attributes
27
read table dynamic_attributes assigning <dyn_attr> with table key name = name.
28
if sy-subrc = 0.
29
assign <dyn_attr>-value->* to <value>.
30
value = <value>.
31
try_again = abap_false.
32
continue.
33
else.
34
35
dynamic attribute not yet created?
>>>>>
read table me->node_info->attributes->* assigning <attr_info> with table key name =
37
if sy-subrc = 0.
38
attr_wa-name = name.
39
create data attr_wa-value type handle <attr_info>-rtti.
40
assign attr_wa-value->* to <value>.
41
if <attr_info>-default_value is not initial.
42
<value> = <attr_info>-default_value.
43
endif.
44
value = <value>.
45
insert attr_wa into table me->dynamic_attributes.
46
try_again = abap_false.
47
continue.
48
else.
49
50
test for :FINAL:NOT
51
split name at ':' into name first_part second_part.
52
if first_part is initial and second_part is initial.
53
try_again = abap_false.
54
continue.
55
else.
Contents of system fields
Name
Val.
SY-SUBRC
4
SY-INDEX
1
SY-TABIX
0
SY-DBCNT
3
SY-FDPOS
0
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
SY-UCOMM
SY-TITLE
Controle HTTP
SY-MSGTY
SY-MSGID
SY-MSGNO
000
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO
0
SY-DATUM
20070404
SY-UZEIT
055408
SY-XPROG
SAPCNVE
SY-XFORM
CONVERSION_EXIT
Active Calls/Events
No. Ty. Program Include Line
Name
24 METHOD CL_WDR_CONTEXT_ELEMENT========CP CL_WDR_CONTEXT_ELEMENT========CM006 36
CL_WDR_CONTEXT_ELEMENT=>IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE
23 METHOD /1BCWDY/BOKYKZO9MNVO45K6OKJH==CP /1BCWDY/B_5OLH0AU1A64NGHK6WYWX 1265
CL_FAZENDA_DASHBOARD_CTR=>ONCLICK
Web Dynpro Component ZAGR_FAZENDA
Web Dynpro Controller FAZENDA_DASHBOARD
22 METHOD /1BCWDY/BOKYKZO9MNVO45K6OKJH==CP /1BCWDY/B_5OLH0AU1A64NGHK6WYWX 358
CLF_FAZENDA_DASHBOARD_CTR=>ONCLICK
Web Dynpro Component ZAGR_FAZENDA
Web Dynpro Controller FAZENDA_DASHBOARD
21 METHOD /1BCWDY/BOKYKZO9MNVO45K6OKJH==CP /1BCWDY/B_5OLH0AU1A64NGHK6WYWX 320
CLF_FAZENDA_DASHBOARD_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
Web Dynpro Component ZAGR_FAZENDA
Web Dynpro Controller FAZENDA_DASHBOARD
20 METHOD CL_WDR_DELEGATING_VIEW========CP CL_WDR_DELEGATING_VIEW========CM005 3
CL_WDR_DELEGATING_VIEW=>INVOKE_EVENTHANDLER
19 METHOD CL_WDR_COMPONENT==============CP CL_WDR_COMPONENT==============CM00D 41
CL_WDR_COMPONENT=>FIRE_EVENT
18 METHOD SAPLWDR_RG_PROXY_FACTORY LWDR_RG_PROXY_FACTORYI00 120
LCL_INTERNAL_API=>_IF_WDR_INTERNAL_API~RAISE_EVENT
17 METHOD /1BCWDY/CX3JTPYDGO9FTM6UG46K==CP /1BCWDY/B_BC0OBUXS328BVP4ZI6L1 388
CLF_COMPONENTCONTROLLER_CTR=>IF_COMPONENTCONTROLLER~FIRE_ON_CLICK_EVT
Web Dynpro Component SALV_WD_TABLE
Web Dynpro Controller COMPONENTCONTROLLER
16 METHOD CL_SALV_WD_C_TABLE============CP CL_SALV_WD_C_TABLE============CM002 116
CL_SALV_WD_C_TABLE=>IF_SALV_WD_COMPONENT~FIRE_EVENT
15 METHOD CL_SALV_WD_C_TABLE_V_TABLE====CP CL_SALV_WD_C_TABLE_V_TABLE====CM012 197
CL_SALV_WD_C_TABLE_V_TABLE=>IF_SALV_WD_COMP_TABLE_EVENTS~ON_CELL
14 METHOD CL_SALV_WD_C_TABLE_V_TABLE====CP CL_SALV_WD_C_TABLE_V_TABLE====CM005 39
CL_SALV_WD_C_TABLE_V_TABLE=>IF_SALV_WD_VIEW~ON_EVENT
13 METHOD CL_SALV_WD_A_COMPONENT========CP CL_SALV_WD_A_COMPONENT========CM005 19
CL_SALV_WD_A_COMPONENT=>IF_SALV_WD_COMPONENT~VIEW_ON_EVENT
12 METHOD /1BCWDY/CX3JTPYDGO9FTM6UG46K==CP /1BCWDY/B_X4QHFLHM8I07VGMCNR1L 736
CL_VIEW_TABLE_CTR=>ONACTIONTABLE_CELL
Web Dynpro Component SALV_WD_TABLE
Web Dynpro Controller VIEW_TABLE
11 METHOD /1BCWDY/CX3JTPYDGO9FTM6UG46K==CP /1BCWDY/B_X4QHFLHM8I07VGMCNR1L 468
CLF_VIEW_TABLE_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
Web Dynpro Component SALV_WD_TABLE
Web Dynpro Controller VIEW_TABLE
10 METHOD CL_WDR_DELEGATING_VIEW========CP CL_WDR_DELEGATING_VIEW========CM005 3
CL_WDR_DELEGATING_VIEW=>INVOKE_EVENTHANDLER
9 METHOD CL_WDR_ACTION=================CP CL_WDR_ACTION=================CM00A 38
CL_WDR_ACTION=>IF_WDR_ACTION~FIRE
8 METHOD CL_WDR_WINDOW_PHASE_MODEL=====CP CL_WDR_WINDOW_PHASE_MODEL=====CM009 52
CL_WDR_WINDOW_PHASE_MODEL=>DO_HANDLE_ACTION_EVENT
7 METHOD CL_WDR_WINDOW_PHASE_MODEL=====CP CL_WDR_WINDOW_PHASE_MODEL=====CM002 62
CL_WDR_WINDOW_PHASE_MODEL=>PROCESS_REQUEST
6 METHOD CL_WDR_WINDOW=================CP CL_WDR_WINDOW=================CM00V 9
CL_WDR_WINDOW=>PROCESS_REQUEST
5 METHOD CL_WDR_MAIN_TASK==============CP CL_WDR_MAIN_TASK==============CM00I 94
CL_WDR_MAIN_TASK=>EXECUTE
4 METHOD CL_WDR_MAIN_TASK==============CP CL_WDR_MAIN_TASK==============CM00J 69
CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST
3 METHOD CL_HTTP_SERVER================CP CL_HTTP_SERVER================CM017 366
CL_HTTP_SERVER=>EXECUTE_REQUEST_FROM_MEMORY
2 FUNCTION SAPLHTTP_RUNTIME LHTTP_RUNTIMEU02 946
HTTP_DISPATCH_REQUEST
1 MODULE (PBO) SAPMHTTP SAPMHTTP 13
%_HTTP_START
Chosen variables
Name
Val.
No. 24 Ty. METHOD
Name CL_WDR_CONTEXT_ELEMENT=>IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE
NAME
ZZPRECO
5555444
AA0253F
VALUE
222
000
TRY_AGAIN
X
5
8
ABAP_TRUE
X
5
8
ME->STATIC_ATTRIBUTES
0.0.0.0.0.0.0.1.
C0000000
F0000000
<VALUE>
SY-SUBRC
4
0000
4000
SPACE
2
0
ME->DYNAMIC_ATTRIBUTES
Table[initial]
<DYN_ATTR>
%_DUMMY$$
2222
0000
%_SPACE
2
0
RSJOBINFO
00000000000000 ####
222222222222222222222222222222223333333333333322222222222222222222222222222222220000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<DYN_ATTR>-VALUE
<ATTR_INFO>
CL_WDR_VIEW_ELEMENT=>CO_UNKNOWN_TEXTLEN
-1
FFFF
FFFF
ATTR_WA-NAME
ATTR_WA-VALUE
0.0.0.0.0.0.0.1.
C0000000
F0000000
<ATTR_INFO>-RTTI
<ATTR_INFO>-DEFAULT_VALUE
No. 23 Ty. METHOD
Name CL_FAZENDA_DASHBOARD_CTR=>ONCLICK
R_PARAM
|
| E0001000 |
| B0004800 |
| WDEVENT |
|
E0001000
C0003800
SY-REPID
/1BCWDY/BOKYKZO9MNVO45K6OKJH==CP
2344545244454543445433434444334522222222
F123749F2FB9BAF9DE6F45B6FBA8DD3000000000
<L_VALUE>
FTP100600000
455333333333222222222222
640100600000000000000000
ITEM_BUKRS
BP01
4533
2001
%_DUMMY$$
2222
0000
ITEM_LIFNR
0001100000
3333333333
0001100000
ITEM_PSPID
FTP100600000
455333333333222222222222
640100600000000000000000
ELEM_ES_DETALHES
|
| F0000000 |
| 3000C800 |
| ITEM_ZZPRECO |
| |
| 222 |
| 000 |
| SPACE |
| |
| 2 |
| 0 |
| SY-XPROG |
| SAPCNVE |
| 5454454222222222222222222222222222222222 |
| 3103E65000000000000000000000000000000000 |
| No. 22 Ty. METHOD |
| Name CLF_FAZENDA_DASHBOARD_CTR=>ONCLICK |
| EVENT |
|
E0001000
C0003800
RESULT
|
| F0000000 |
| F0000000 |
| EVENT->PARAMETERS |
| Table IT_8213[1x16] |
| DATA=PARAMETERS
Table reference: 2596
TABH+ 0(20) = 78213E3D98253E3D00000000240A000015200000
TABH+ 20(20) = 0100000010000000FFFFFFFF04890300A0030000
TABH+ 40( 8) = 10000000A4288401
store = 0x78213E3D
ext1 = 0x98253E3D
shmId = 0 (0x00000000)
id = 2596 (0x240A0000)
label = 8213 (0x15200000)
fill = 1 (0x01000000)
leng = 16 (0x10000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000006
occu = 16 (0x10000000)
access = 4 (ItAccessHashed)
idxKind = 0 (ItIndexNone)
uniKind = 1 (ItUnique)
keyKind = 1 (default)
cmpMode = 4 (cmpSingleEq)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x68203E3D
pgHook = 0x00000000
idxPtr = 0xB8213E3D
shmTabhSet = 0x00000000
id = 4494 (0x8E110000)
refCount = 2 (0x02000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
shmVersId = 0 (0x00000000)
shmRefCount = 3 (0x03000000)
>>>>> 1st level extension part <<<<<
regHook = 0x68243E3D
collHook = 0x00000000
ext2 = 0x00000000
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
<CUR_PARAM>
'###Ø###Á#######
2000D100C0000000
700089001000E500
SY-SUBRC
4
0000
4000
%_VIASELSCR
0
4
SY
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.
0000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000
1000000000000000000000000000000000000000300000001000000010000000000000000000000000000000000040
%_EXCP
|
| F0000000 |
| F0000000 |
| %_SPACE |
| |
| 2 |
| 0 |
| <CUR_PARAM>-VALUE |
| 0.0.0.0.0.0.0.1. |
| C0000000 |
| 1000E500 |
| R_PARAM |
|
E0001000
B0004800
ME->F_APPL_CLASS
|
| A0005000 |
| 2000D200 |
| WDEVENT |
|
E0001000
C0003800
No. 21 Ty. METHOD
Name CLF_FAZENDA_DASHBOARD_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
HANDLER_NAME
ONCLICK
4444444
FE3C93B
EVENT
E0001000
C0003800
PARAMETERS
Table[initial]
RESULT
|
| F0000000 |
| F0000000 |
| SYST |
| 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1. |
| 0000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000 |
| 1000000000000000000000000000000000000000300000001000000010000000000000000000000000000000000040 |
| ME->F_APPL_CLASS |
|
A0005000
2000D200
WDEVENT
|
| E0001000 |
| C0003800 |
| CL_ABAP_TYPEDESCR=>TRUE |
| X |
| 5 |
| 8 |
| ME |
|
B0004000
4000B200
%_EXCP
|
| F0000000 |
| F0000000 |
| No. 20 Ty. METHOD |
| Name CL_WDR_DELEGATING_VIEW=>INVOKE_EVENTHANDLER |
| NAME |
| ONCLICK |
| 4444444 |
| FE3C93B |
| EVENT |
|
E0001000
C0003800
RET
F0000000
F0000000
SYST-REPID
CL_WDR_DELEGATING_VIEW========CP
4455455444444544455445333333334522222222
3CF742F45C57149E7F6957DDDDDDDD3000000000
SY-REPID
CL_WDR_DELEGATING_VIEW========CP
4455455444444544455445333333334522222222
3CF742F45C57149E7F6957DDDDDDDD3000000000
%_SPACE
2
0
%_DUMMY$$
2222
0000
No. 19 Ty. METHOD
Name CL_WDR_COMPONENT=>FIRE_EVENT
CONTROLLER_NAME
COMPONENTCONTROLLER
4445444454445544445
3FD0FE5E43FE42FCC52
EVENT_NAME
ON_CLICK
44544444
FEF3C93B
PARAMETERS
Table IT_8211[1x16]
CLASS=CL_WDR_COMPONENTMETHOD=FIRE_EVENTDATA=PARAMETERS
Table reference: 1900
TABH+ 0(20) = 78213E3D00000000000000006C07000013200000
TABH+ 20(20) = 0100000010000000FFFFFFFF04B10000E00F0000
TABH+ 40( 8) = 10000000A4288401
store = 0x78213E3D
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 1900 (0x6C070000)
label = 8211 (0x13200000)
fill = 1 (0x01000000)
leng = 16 (0x10000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000062
occu = 16 (0x10000000)
access = 4 (ItAccessHashed)
idxKind = 0 (ItIndexNone)
uniKind = 1 (ItUnique)
keyKind = 1 (default)
cmpMode = 4 (cmpSingleEq)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x68203E3D
pgHook = 0x00000000
idxPtr = 0xB8213E3D
shmTabhSet = 0x00000000
id = 4494 (0x8E110000)
refCount = 2 (0x02000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
shmVersId = 0 (0x00000000)
shmRefCount = 3 (0x03000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
collHook = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
<EVT_SUBSCRIBER>-LISTENER->COMPONENT->COMPONENT_NAME
ZAGR_FAZENDA
544554454444
A172F61A5E41
<EVT_SUBSCRIBER>-LISTENER->IF_WD_CONTROLLER~NAME
FAZENDA_DASHBOARD
44544445445444454
61A5E41F41382F124
<EVT_SUBSCRIBER>-HANDLER_NAME
ONCLICK
4444444
FE3C93B
CL_WD_TRACE_TOOL=>INSTANCE
|
| F0000000 |
| F0000000 |
| %_VIASELSCR |
| # |
| 0 |
| 4 |
| SPACE |
| |
| 2 |
| 0 |
| SY-REPID |
| CL_WDR_COMPONENT==============CP |
| 4455455444544445333333333333334522222222 |
| 3CF742F3FD0FE5E4DDDDDDDDDDDDDD3000000000 |
| ME->COMPONENT_NAME |
| SALV_WD_TABLE |
| 5445554554444 |
| 31C6F74F412C5 |
| %_DUMMY$$ |
| |
| 2222 |
| 0000 |
| SYST-REPID |
| CL_WDR_COMPONENT==============CP |
| 4455455444544445333333333333334522222222 |
| 3CF742F3FD0FE5E4DDDDDDDDDDDDDD3000000000 |
| <EVT_SUBSCRIBER>-LISTENER |
|
B0004000
80007200
CUSTOM_EVENT
|
| E0001000 |
| C0003800 |
| %_ARCHIVE |
| |
| 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 |
| 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| RSJOBINFO |
| 00000000000000 #### |
| 222222222222222222222222222222223333333333333322222222222222222222222222222222220000 |
| 000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| No. 18 Ty. METHOD |
| Name LCL_INTERNAL_API=>_IF_WDR_INTERNAL_API~RAISE_EVENT |
| CONTROLLER_NAME |
| COMPONENTCONTROLLER |
| 4445444454445544445 |
| 3FD0FE5E43FE42FCC52 |
| EVENT_NAME |
| ON_CLICK |
| 44544444 |
| FEF3C93B |
| PARAMETERS |
| Table IT_8210[1x16] |
| CLASS-POOL=/1BCWDY/CX3JTPYDGO9FTM6UG46KCLASS=CLF_COMPONENTCONTROLLER_CTRMETHOD=IF_COMPONENT |
| Table reference: 2237 |
| TABH+ 0(20) = 78213E3D0000000000000000BD08000012200000 |
| TABH+ 20(20) = 0100000010000000FFFFFFFF0477010070630000 |
| TABH+ 40( 8) = 10000000A4288401 |
| store = 0x78213E3D |
| ext1 = 0x00000000 |
| shmId = 0 (0x00000000) |
| id = 2237 (0xBD080000) |
| label = 8210 (0x12200000) |
| fill = 1 (0x01000000) |
| leng = 16 (0x10000000) |
| loop = -1 (0xFFFFFFFF) |
| xtyp = TYPE#000444 |
| occu = 16 (0x10000000) |
| access = 4 (ItAccessHashed) |
| idxKind = 0 (ItIndexNone) |
| uniKind = 1 (ItUnique) |
| keyKind = 1 (default) |
| cmpMode = 4 (cmpSingleEq) |
| occu0 = 1 |
| groupCntl = 0 |
| rfc = 0 |
| unShareable = 0 |
| mightBeShared = 1 |
| sharedWithShmTab = 0 |
| isShmLockId = 0 |
| gcKind = 0 |
| isUsed = 1 |
| isCtfyAble = 1 |
| >>>>> Shareable Table Header Data <<<<< |
| tabi = 0x68203E3D |
| pgHook = 0x00000000 |
| idxPtr = 0xB8213E3D |
| shmTabhSet = 0x00000000 |
| id = 4494 (0x8E110000) |
| refCount = 2 (0x02000000) |
| tstRefCount = 0 (0x00000000) |
| lineAdmin = 16 (0x10000000) |
| lineAlloc = 16 (0x10000000) |
| shmVersId = 0 (0x00000000) |
| shmRefCount = 3 (0x03000000) |
| >>>>> 1st level extension part <<<<< |
| regHook = Not allocated |
| collHook = Not allocated |
| ext2 = Not allocated |
| >>>>> 2nd level extension part <<<<< |
| tabhBack = Not allocated |
| delta_head = Not allocated |
| pb_func = Not allocated |
| pb_handle = Not allocated |
| SYST-REPID |
| SAPLWDR_RG_PROXY_FACTORY |
| 5454545554555455544454552222222222222222 |
| 310C742F27F02F89F6134F290000000000000000 |
| ME->F_CTLR_INST->COMPONENT |
|
3000C000
C0003200
%_DUMMY$$
2222
0000
No. 17 Ty. METHOD
Name CLF_COMPONENTCONTROLLER_CTR=>IF_COMPONENTCONTROLLER~FIRE_ON_CLICK_EVT
R_PARAM
|
| E0001000 |
| B0004800 |
| %_DUMMY$$ |
| |
| 2222 |
| 0000 |
| CUR_PARAM-NAME |
| R_PARAM |
| 5554544 |
| 2F0121D |
| CUR_PARAM-VALUE |
| 0.0.0.0.0.0.0.1. |
| C0000000 |
| 1000E500 |
| <VALUE> |
|
E0001000
B0004800
ALL_PARAMS
Table IT_8210[1x16]
CUR_PARAM
'###Ø###Á#######
2000D100C0000000
700089001000E500
SYST-REPID
/1BCWDY/CX3JTPYDGO9FTM6UG46K==CP
2344545245345554443454354334334522222222
F123749F383A40947F964D65746BDD3000000000
No. 16 Ty. METHOD
Name CL_SALV_WD_C_TABLE=>IF_SALV_WD_COMPONENT~FIRE_EVENT
NAME
ON_CLICK
44544444
FEF3C93B
R_PARAM
E0001000
B0004800
LR_STD_FUNCTION
F0000000
F0000000
SY-REPID
CL_SALV_WD_C_TABLE============CP
4455445554545544443333333333334522222222
3CF31C6F74F3F412C5DDDDDDDDDDDD3000000000
LS_MPARAM-NAME
R_PARAM
555454422222222222222222222222
2F0121D00000000000000000000000
CL_GUI_CONTROL=>LIFETIME_DEFAULT
%_DUMMY$$
2222
0000
LS_MPARAM-KIND
E
4
5
CL_ABAP_OBJECTDESCR=>EXPORTING
E
4
5
LS_MPARAM-VALUE
0.0.0.0.0.0.0.1.
C0000000
0000F500
LT_MPARAM
Table IT_8209[1x40]
CLASS=CL_SALV_WD_C_TABLEMETHOD=IF_SALV_WD_COMPONENT~FIRE_EVENTDATA=LT_MPARAM
Table reference: 2071
TABH+ 0(20) = 701E3E3D00000000000000001708000011200000
TABH+ 20(20) = 0100000028000000FFFFFFFF04C70100200E0000
TABH+ 40( 8) = 10000000A4258001
store = 0x701E3E3D
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 2071 (0x17080000)
label = 8209 (0x11200000)
fill = 1 (0x01000000)
leng = 40 (0x28000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000054
occu = 16 (0x10000000)
access = 4 (ItAccessHashed)
idxKind = 0 (ItIndexNone)
uniKind = 1 (ItUnique)
keyKind = 3 (user defined)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0xE01B3E3D
pgHook = 0x00000000
idxPtr = 0xB01E3E3D
shmTabhSet = 0x00000000
id = 4493 (0x8D110000)
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
shmVersId = 0 (0x00000000)
shmRefCount = 1 (0x01000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
collHook = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
LS_MPARAM
R_PARAM E#À#######
55545442222222222222222222222240C0000000
2F0121D00000000000000000000000500000F500
CL_SALV_WD_C_TABLE=>C_EVENT_ON_SUPPLY_DRDN_VALUES
ON_SUPPLY_DRDN_VALUE
44555554554544554454
FEF3500C9F424EF61C55
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
LR_DRDN_VALUES
|
| F0000000 |
| F0000000 |
| CL_SALV_WD_C_TABLE=>C_EVENT_ON_AFTER_CONFIG |
| ON_AFTER_CONFIG_CTRL |
| 44544545544444454554 |
| FEF16452F3FE697F342C |
| ME->IF_SALV_WD_COMPONENT~R_WD_COMPONENT |
|
3000C000
5000A200
L_METHOD
IF_COMPONENTCONTROLLER~FIRE_ON_CLICK_EVT
4454445444454445544445744545445444445455
96F3FD0FE5E43FE42FCC52E6925FFEF3C93BF564
No. 15 Ty. METHOD
Name CL_SALV_WD_C_TABLE_V_TABLE=>IF_SALV_WD_COMP_TABLE_EVENTS~ON_CELL
T_PARAMETERS
Table IT_8123[5x16]
DATA=S_EVENT_INFO-T_PARAMETERS
Table reference: 2402
TABH+ 0(20) = B054273D000000000000000062090000BB1F0000
TABH+ 20(20) = 0500000010000000FFFFFFFF04CB010048040000
TABH+ 40( 8) = 10000000C1288001
store = 0xB054273D
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 2402 (0x62090000)
label = 8123 (0xBB1F0000)
fill = 5 (0x05000000)
leng = 16 (0x10000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000009
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 4 (cmpSingleEq)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0xA053273D
pgHook = 0x00000000
idxPtr = 0x00000000
shmTabhSet = 0x00000000
id = 4433 (0x51110000)
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
shmVersId = 0 (0x00000000)
shmRefCount = 1 (0x01000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
collHook = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
CL_ -
How to check the sql:query is return null value
I have use :
<sql:query var="sql1" dataSource="${db}">
select col_name from table_name
where a=<c:out value="${row.test1}"/>
and b='<c:out value="${row.test2}"/>'
</sql:query>
So, how can I check this statement return null value which is no record within this table?The Result should never be null but can be empty. You can check if the Result is empty using an if tag and checking the rowCount property:
<sql:query var="books"
sql="select * from PUBLIC.books where id = ?" >
<sql:param value="${bookId}" />
</sql:query>
<c:if test="${books.rowCount > 0}">
</c:if>http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL7.html#wp84217
Look for query Tag Result Interface -
AJAX - How do we check if the response text returns a null value
Hello,
Could someone please help me with this issue?
I am trying to disable a select box based on my responseText value.
I need to check if my responseText is a null and disable my select if it is a null.
Here is my code:
if (xmlHttp.readyState==4)
if(xmlHttp.status==200)
var getVal = xmlHttp.responseText;
alert(getVal); //MY ALERT SHOWS A NULL
if(getVal == null) //but my null comparison fails
document.all[ajaxBean.ajaxId2].disabled = true; var valarray=getVal.split(",");
else
for (var i=0; i < valarray.length;++i)
var valarrayinner = valarray.split("|"); addOption(document.getElementById("secondBox"), valarrayinner[1], valarrayinner[0]);
could someone tell me if its the right way to check for null value in responseText? or an alternative way to do the same
Your help is appreciated!
Thanks
PriyaHello,
Thank you for your promt response...I tried doing them as well. but nothing seems to work.
It returns a length value of 1. It appears to be strange. I even tried to catch the null and set some junk text. When i try to check for the returned text again it returns a false.
I dont know if this is the way responseText works. I tried setting a form variable but it doesnt do that too. Is there a specific way to check for the values in returned responseText?
Thanks
Priya -
Not to display the null values from data base
Hiiii.
In a jsp file i have ten check boxes.The jsp file is mapped to a servlet file for parameter requesting and to
store it in DB.
The unchecked box values has null values.All the values are store in a Mysql DB table.
Again i have to display it in a jsp page from table.
The problem am facing was,how can i display only the values in a row.it must not display the null values and the crresponding column name.
Or any other way is their like below
How i can retrieve only the selected check boxes from tht jsp file.and store in backend.
Thanks in Advance
regards,
satheesh kannanHere is a rough example that may give you some ideas:
On the JSP page:
<%if(myData.getFirstName()!=null){%>
Your First Name'
<input type="text" name="firstName" value="<%=myData.getFirstName()%>">
<%}%>
In the servlet:
String firstName= request.getParameter("firstName");
if(firstName!=null){
//write it to the database
}
Maybe you are looking for
-
A little help with tokenizing a string
Have most of this working and i will add the code to the end of the for you all to look at. Essentially what i am trying to do is tokenize a string that looks like: program int ABC, D; begin read ABC; read D; while (ABC != D) begin
-
GarageBand '11 won't "save as" errors out
When clicking "save-as" in garageband '11 it will start to save and then eventually force close and error out. I am trying to save different versions of takes of songs I am working on and this is really frustrating for me.
-
OWB Implmentation Model Assistance
We have developed an implementation model which segments development design from production design into two design repositories. The method of moving to production is Metadata Export/Metadata Import between the two design repositories. The developmen
-
Urgent: "Unsolicited error response for: '-1'"
Can any one help me on this? I am getting this message on the weblogic server in a clustered environment, installed on HP-UX machines. The exact error message reads like ####<Jan 2, 2003 2:05:59 PM EST> <Error>
-
X Axis Labels - show every X label (WAD 3.5)
Hello Experts I've got a line chart with 24 labels (months) , but the text is being spelt v e r t i c a l as there are too many labels to show. Is it possible to show a label evey third month? (In Excel, the option is "Number of Categories between ti