Unable to get list of activities resident in IIS (Fusion)
In our production environment we encounter a serious problem with IIS. We are unable to get a list of activities resident in IIS-console. Some sessions are not accessable in the console (cannot open the properties window to see the roles). They also cannot be terminated. Clients still can create processes but are not able to pick up activities en start them
Hi, it is necesary view the log for know wha's the problem
Similar Messages
-
CUPS, HP PSC 2355 and "Unable to get list of printer drivers: Unknown"
Hey fellow Archers!
The Introduction
The other day, I installed ArchLinux for the ARM processor on my GoFlex Home. Straight away I installed samba, got it set up and everything works like a charm with explosive transfer-rates compared to the old factory-firmware. Also put on a mysql server to centralize my xbmc database and pyload to download large files without having to have my laptop opened all the time. Have to admit, this Arch Linux is a glorious world!
The Setup
Well, after this positive input, now comes my problem. I wanted to share our printer on our LAN, so I did a little search to quickly find CUPS. Installed it together with all the dependencies, like foomatic, python (which was installed as pyload uses it) and all that stuff.
Changed the /etc/cups/cupsd.conf to listen on 0.0.0.0 and started the daemon.. Woohoo! Turned on the printer, opened the web interface, went to administration -> add printer and selected one of the printers available from this list:
Local printers
CUPS-PDF (Virtual PDF Printer)
HP PSC 2350 series USB MY5BNF4423KJ HPLIP (HP PSC 2350 series)
Seriel port #1
HP PSC 2350 series (HP PSC 2350 series)
HP Fax (HPLIP)
Before I proceed, I want to say that I have tried the following with both of the PSC-entries.
The Problem
Now, i selected the printer and just let the default values be, pressed continue and got this error message:
"Unable to get list of printer drivers: Unknown"
Well, googled it a bit and tried to blacklist lsusb, as well as chmod /dev/bus/usb/001/002 to 665 (even 777). Still the same error message. Also tried to install the printer with hp-setup -i which let me pick a ppd myself; didn't work either. Gave me an error message saying that it was unable to add the printer to cups. I have run out of options, and the almighty sir Google wont give me any solutions other than those which I have tried.
I even get this error message when I try to add cups-pdf (which I also installed oc).
Kind regards,
Rasmus Dencker
Last edited by dencker90 (2011-12-30 17:53:10)Hey fellow Archers!
The Introduction
The other day, I installed ArchLinux for the ARM processor on my GoFlex Home. Straight away I installed samba, got it set up and everything works like a charm with explosive transfer-rates compared to the old factory-firmware. Also put on a mysql server to centralize my xbmc database and pyload to download large files without having to have my laptop opened all the time. Have to admit, this Arch Linux is a glorious world!
The Setup
Well, after this positive input, now comes my problem. I wanted to share our printer on our LAN, so I did a little search to quickly find CUPS. Installed it together with all the dependencies, like foomatic, python (which was installed as pyload uses it) and all that stuff.
Changed the /etc/cups/cupsd.conf to listen on 0.0.0.0 and started the daemon.. Woohoo! Turned on the printer, opened the web interface, went to administration -> add printer and selected one of the printers available from this list:
Local printers
CUPS-PDF (Virtual PDF Printer)
HP PSC 2350 series USB MY5BNF4423KJ HPLIP (HP PSC 2350 series)
Seriel port #1
HP PSC 2350 series (HP PSC 2350 series)
HP Fax (HPLIP)
Before I proceed, I want to say that I have tried the following with both of the PSC-entries.
The Problem
Now, i selected the printer and just let the default values be, pressed continue and got this error message:
"Unable to get list of printer drivers: Unknown"
Well, googled it a bit and tried to blacklist lsusb, as well as chmod /dev/bus/usb/001/002 to 665 (even 777). Still the same error message. Also tried to install the printer with hp-setup -i which let me pick a ppd myself; didn't work either. Gave me an error message saying that it was unable to add the printer to cups. I have run out of options, and the almighty sir Google wont give me any solutions other than those which I have tried.
I even get this error message when I try to add cups-pdf (which I also installed oc).
Kind regards,
Rasmus Dencker
Last edited by dencker90 (2011-12-30 17:53:10) -
I am unable to get my music video list apprearing in my ipod section
I am unable to get my music vedio list to appear in the library of of the ipod section on the ipad
Does anyone know how to do this?The music was on your computer, and is now gone? If that is the case you have a serious hard disk failure on your computer. Search the computer for the music, and if you find it drag and drop it onto iTunes on the computer. If it isn't there restore it from the backup that you keep of your computer.
-
Unable to get area list, access projects
I'm running RoboHelp Server 9 and I have two issues that could be related.
First, when I attempt to publish WebHelp Pro from RoboHelp, I am unable to select a Help Area in the SSL dialog. I receive a message stating, "Unable to get area list from server." I opened the RoboHelp Server Web Administrator and verified that the areas are listed.
Second, when I go into the server and open the RoboHelp Server Web Administrator and select Projects, I receive a message stating, "Communication error. Server is refreshing project data. Try reloading projects pane in a little while."
I am at a complete loss. Here are things that I or my IT department have tried to do to fix this issue. None of these have worked:
Change the "reindex" property in the robohelp_server.properties file
Increase the PermSpace available to Tomcat:
Run the tomcat-install-dir>/bin/tomcat6w.exe file to open the Apache Tomcat Properties dialog box.
Verify that the Maximum Memory Pool setting is not blank. If it is blank, then specify a value, such as 512 MB. Make sure that the Maximum Memory Pool and XX:MaxPermSize values don't add up to more than the actual memory you can make available to Tomcat.
Restart Tomcat.
Wait 5 – 10 minutes after you publish your project to make sure that the data structure is loaded.
Rebooted the server
Removed recent updates from Adobe and Windows.
Tried using Firefox browser
I appreciate any help that can be offered.
Also note that this was not a problem before. I was able to successfully publish to the server, then suddenly I could not.Hi Shannon.
The step that puzzles me is "Removed recent updates from Adobe and Windows". Could you expan on what the Adobe updates were? The reason I ask is that in my experience the application set-up (e.g. Tomcat + RHS) does not react well to removing things. You may have been OK just removing updates but as you have to install the applications in a precise order, removing updates could have messed with the communication between them.
You certainly seem to have gone through the steps we normally advise in this situation. You could try connecting to the database you are using. If you respond it would be useful to have further information about the physical server and database configuration you are using. -
How to get list of VMs running under SCVMM using SCORCH activities
hello,
I am in learning phase on SCORCH...I wants to know steps required to get list of VMs running under SCVMM using SCORCH activities.
Thanks
Richa KMHi,
Here is a list of activities:
System Center Virtual Machine Manager Activities
Integration Packs for System Center 2012 - Orchestrator
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
I am unable to get a bullited list when using the synchronized text feature.
I am unable to get a bullited list when using the synchronized text feature. The option is greyed out and not active. Any tips? Am I doing something wrong?
This is by default , synchronized text does not alter any style and other visual attributes associated with instance.
Thanks,
Sanjit -
Getting list of operations for a service Order
I have to List the operation activities which are Planned and Confirmed in a service order.
I'm unable to link the operation in service order for some ZREPORTING purpose as it links through structures only.
Kindly suggest how we can obtain operation details while reporting a service order.
Also let me know if there is any FUNCTION MODULE for the same.
Reply Eagerly Awaited.
Thanks in Advance.
Deepakhi deepak KM
order operations are stored in VIAUF_AFVC table .... and have a look at iw49 for getting list of operations and can use status inclusive and status exclusive for selection based on statuses.. of operations ...
regards
pushpa -
Error while applying a patch "Unable to get the database connection"
Dear Experts,
A patch which got successfully applied is failing Production and the error is kind of surprising to me.
Apps version is 11.5.10.2
db version is 10.2.0.4
The worker log file shows
Time when worker restarted job: Thu Nov 24 2011 22:14:52
Start time for file is: Thu Nov 24 2011 22:14:52
adjava -ms128m -mx256m -nojit oracle.apps.fnd.odf2.FndXdfCmp &un_apps &pw_apps &un_apps &pw_apps &jdbc_protocol &jdbc_db_addr table &fullpath_pa_patch/115
Reading product information from file...
Reading language and territory information from file...
Reading language information from applUS.txt ...
Temporarily resetting CLASSPATH to:
"/erp/oracle/prodappl/ad/11.5.0/java/adjri.zip:/usr/java14/jre/lib/charsets.jar:/usr/java14/jre/lib/core.jar:/usr/java14/jre/lib/graphics.jar:/usr/java1
Calling /usr/java14/bin/java ...
Exception occured
Copyright (c) 2003 Oracle Corporation
Redwood Shores, California, USA
XDF(XML Object Description File) Comparison Utility
Version 1
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
Unable to get the database connection using schema username/passwordIo exception: The Network Adapter could not establish the connection
AD Run Java Command is complete.
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
AD Java
Version 11.5.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
AD Worker error:
The above program failed. See the error messages listed
above, if any, or see the log and output files for the program.
Time when worker failed: Thu Nov 24 2011 22:14:53
{code}
The error says database connection error. I am able to connect to the database using sqlplus. I tried to restart the failed worker, but the same error is repeating.
Any help would be appreciated.
Thanks
qARS
Edited by: user7640966 on Nov 24, 2011 9:07 AMHussein,
One thing which I noticed now is in the apps Tier the
tnsnames.ora under $TNS_ADMIN
shows entry like this:
PROD=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=<appsServerName>)(PORT=1521))
(ADDRESS=(PROTOCOL=tcp)(HOST=<dbServer>)(PORT=1521))
(CONNECT_DATA=
(SID=PROD)
)Actually *(ADDRESS=(PROTOCOL=tcp)(HOST=<appsIPaddress>)(PORT=1521))* this line in the tnsnames.ora is not correct. In fact the appsServerName should be replaced with dbServerName
I deleted the tnsnames.ora and reran autoconfig but it is again recreating the same entry.
Any clue how this can be fixed?
Thanks
qARS -
Unable to get Material No and Description from VBAP
Hi Gurus
Can anyone please help me to get material number and description from vbap table, The report is fine but I am unable to get material no and description.
regards
report ZCHGDOC_BY_SALES no standard page heading
line-size 132.
type-pools:
slis. " ALV types
Tables
tables:
cdhdr, " Change documents: Header
cdpos, " Change documents: Items
vbak, " Sales order: Header
mara, " Material No
user_addr, " User Address
vbap. " Contract order: Items
Types
types:
begin of ty_cdhdr,
objectclas like cdhdr-objectclas, " Object class
objectid like cdhdr-objectid, " Object value
changenr like cdhdr-changenr, " Document change number
username like cdhdr-username, " Changed by
udate like cdhdr-udate, " Changed on
utime like cdhdr-utime, " Changed at
tcode like cdhdr-tcode, " Transaction code
end of ty_cdhdr,
ty_it_cdhdr type ty_cdhdr occurs 0,
begin of ty_cdpos,
objectclas like cdpos-objectclas, " Object class
objectid like cdpos-objectid, " Object value
changenr like cdpos-changenr, " Document change number
tabname like cdpos-tabname, " Table name
tabkey like cdpos-tabkey, " Table key
fname like cdpos-fname, " Field name
chngind like cdpos-chngind, " Change indicator
value_new like cdpos-value_new, " New value of field
value_old like cdpos-value_old, " Old value of field
end of ty_cdpos,
ty_it_cdpos type ty_cdpos occurs 0,
begin of ty_dd03l,
tabname like dd03l-tabname,
fieldname like dd03l-fieldname,
as4local like dd03l-as4local,
as4vers like dd03l-as4vers,
rollname like dd03l-rollname,
end of ty_dd03l,
ty_it_dd03l type ty_dd03l occurs 0,
begin of ty_dd04t,
rollname like dd04t-rollname,
ddlanguage like dd04t-ddlanguage,
as4local like dd04t-as4local,
as4vers like dd04t-as4vers,
scrtext_l like dd04t-scrtext_l,
end of ty_dd04t,
ty_it_dd04t type ty_dd04t occurs 0,
begin of ty_kna1,
kunnr like kna1-kunnr, " Customer number
name1 like kna1-name1, " Customer name
end of ty_kna1,
ty_it_kna1 type ty_kna1 occurs 0,
begin of ty_user_addr,
bname like user_addr-bname, " user no
name_textc like user_addr-name_textc , " Username
end of ty_user_addr,
ty_it_user_addr type ty_user_addr occurs 0,
begin of ty_vbap,
matnr like vbap-matnr, " Material No
arktx like vbap-arktx, " Production Description
end of ty_vbap,
ty_it_vbap type ty_vbap occurs 0,
ty_text(500) type c,
ty_lines type tline,
ty_it_lines type ty_lines occurs 0,
begin of ty_merged,
vbeln like vbak-vbeln, " Sales order number
erdat like vbak-erdat, " Created on
auart like vbak-auart, " Order type
faksk like vbak-faksk, " Billing block in SD document
netwr like vbak-netwr, " Net value
waerk like vbak-waerk, " Currency
vkorg like vbak-vkorg, " Sales organisation
vtweg like vbak-vtweg, " Distribution channel
vkbur like vbak-vkbur, " Sales office
fkara like vbak-fkara, " Proposed billing type
kunnr like vbak-kunnr, " Sold-to party
bname like vbak-bname , " User No
xblnr like vbak-xblnr, " Reference
fbuda like vbkd-fbuda, " Date services rendered
username like cdhdr-username, " Changed by
udate like cdhdr-udate, " Changed on
utime like cdhdr-utime, " Changed at
tcode like cdhdr-tcode, " Transaction code
tabname like cdpos-tabname, " Table name
tabkey like cdpos-tabkey, " Table key
fname like cdpos-fname, " Field name
chngind like cdpos-chngind, " Change indicator
value_new like cdpos-value_new, " New value of field
value_old like cdpos-value_old, " Old value of field
scrtext_l like dd04t-scrtext_l, " Description of field
intnote type ty_text, " Internal note
hdrnote type ty_text, " Header note
name1 like adrc-name1, " Sold-to party name
matnr like vbap-matnr, " Material No
arktx like vbap-arktx, " Product Description
end of ty_merged,
ty_it_merged type ty_merged occurs 0,
begin of ty_vbak,
vbeln like vbak-vbeln, " Sales order number
erdat like vbak-erdat, " Created on
auart like vbak-auart, " Order type
faksk like vbak-faksk, " Billing block in SD document
netwr like vbak-netwr, " Net value
waerk like vbak-waerk, " Currency
vkorg like vbak-vkorg, " Sales organisation
vtweg like vbak-vtweg, " Distribution channel
vkbur like vbak-vkbur, " Sales office
fkara like vbak-fkara, " Proposed billing type
kunnr like vbak-kunnr, " Sold-to party
xblnr like vbak-xblnr, " Reference
objectid like cdhdr-objectid, " Change document object
end of ty_vbak,
ty_it_vbak type ty_vbak occurs 0,
begin of ty_vbkd,
vbeln like vbkd-vbeln, " Sales order number
posnr like vbkd-posnr, " Sales order item
fbuda like vbkd-fbuda, " Date services rendered
end of ty_vbkd,
ty_it_vbkd type ty_vbkd occurs 0.
Internal tables
data:
it_cdhdr type ty_it_cdhdr,
it_cdpos type ty_it_cdpos,
it_fieldcat type slis_t_fieldcat_alv,
it_kna1 type ty_it_kna1,
it_user_addr type ty_it_user_addr,
it_merged type ty_it_merged,
it_vbak type ty_it_vbak,
Material No
it_vbap type ty_it_vbap,
it_vbkd type ty_it_vbkd.
data:
wa_vbak type ty_vbak.
data:
st_tvariant like disvariant,
st_variant like disvariant.
constants:
co_as4local_a like dd03l-as4local " Active version
value 'A',
co_objectclas_verkbeleg like cdhdr-objectclas
value 'VERKBELEG',
co_posnr_initial like vbkd-posnr " Initial item number
value is initial,
co_posnr_initial_2 like vbap-posnr " Initial item number
value is initial,
co_save_u type c " User display variant
value 'U', " saving allowed.
co_trvog_0 like vbak-trvog " Sales order
value '0'.
data:
va_exit type c, " ALV display
va_tabix like sy-tabix.
selection-screen: begin of block b1 with frame title text-001.
select-options:
s_vkorg for vbak-vkorg OBLIGATORY, " Sales organisation
s_vkbur for vbak-vkbur, " Sales office
s_vtweg for vbak-vtweg, " Distribution channel
s_vbeln for vbak-vbeln, " Sales order number
s_usrnme for cdhdr-username, " Changed by
s_udate for cdhdr-udate. " Changed on
selection-screen: end of block b1,
begin of block b2 with frame title text-002.
parameters:
p_varint like disvariant-variant. " Display variant.
selection-screen: end of block b2.
Initialization
initialization.
Load display variant.
if not p_varint is initial.
move st_variant to st_tvariant.
move p_varint to st_tvariant-variant.
call function 'REUSE_ALV_VARIANT_EXISTENCE'
exporting
i_save = co_save_u
changing
cs_variant = st_tvariant.
st_variant = st_tvariant.
else.
clear st_variant.
st_variant-report = sy-repid.
endif.
at selection-screen on value-request for p_varint.
Provide display variant list for this program.
call function 'REUSE_ALV_VARIANT_F4'
exporting
is_variant = st_variant
i_save = co_save_u
importing
e_exit = va_exit
es_variant = st_tvariant
exceptions
not_found = 2.
if sy-subrc eq 2.
message id sy-msgid type 'S'
number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
if va_exit eq space.
st_variant = st_tvariant.
p_varint = st_tvariant-variant.
endif.
endif.
At selection screen
at selection-screen.
Load display variant.
if not p_varint is initial.
move st_variant to st_tvariant.
move p_varint to st_tvariant-variant.
call function 'REUSE_ALV_VARIANT_EXISTENCE'
exporting
i_save = co_save_u
changing
cs_variant = st_tvariant.
st_variant = st_tvariant.
else.
clear st_variant.
st_variant-report = sy-repid.
endif.
Start of selection
Extract order details from VBAK
select vbeln erdat auart faksk netwr waerk vkorg vtweg vkbur fkara
kunnr xblnr
from vbak
into table it_vbak
where vkorg in s_vkorg
and vkbur in s_vkbur
and vbeln in s_vbeln.
if sy-subrc ne 0.
No data found for selection
message s001(zgen).
exit.
endif.
loop at it_vbak into wa_vbak.
va_tabix = sy-tabix.
wa_vbak-objectid = wa_vbak-vbeln.
modify it_vbak from wa_vbak
index va_tabix
transporting objectid.
endloop.
if sy-subrc ne 0.
No data found for selection
message s001(zgen).
exit.
endif.
loop at it_vbak into wa_vbak.
va_tabix = sy-tabix.
wa_vbak-objectid = wa_vbak-vbeln.
modify it_vbak from wa_vbak
index va_tabix
transporting objectid.
endloop.
Extract Change data
select objectclas objectid changenr username udate utime tcode
from cdhdr
into table it_cdhdr
for all entries in it_vbak
where objectclas eq co_objectclas_verkbeleg
and objectid eq it_vbak-objectid
and username in s_usrnme
and udate in s_udate.
if sy-subrc eq 0.
select objectclas objectid changenr tabname tabkey fname chngind
value_new value_old
from cdpos
into table it_cdpos
for all entries in it_cdhdr
where fname NE 'CMPRE_FLT'
and objectclas eq it_cdhdr-objectclas
and objectid eq it_cdhdr-objectid
and changenr eq it_cdhdr-changenr.
endif.
Extract customer details from KNA1
select kunnr name1
from kna1
into table it_kna1
for all entries in it_vbak
where kunnr eq it_vbak-kunnr.
---- Changes are made here -
Extract Material details from vbap
select matnr arktx
from vbap
into table it_vbap
for all entries in it_vbak
where
vbeln eq it_vbak-vbeln
and posnr eq co_posnr_initial.
-----------------End of Change ----------------------*
Extract Contract No from vbkd.
select vbeln posnr fbuda
from vbkd
into table it_vbkd
for all entries in it_vbak
where vbeln eq it_vbak-vbeln
and posnr eq co_posnr_initial.
perform merge_data tables it_cdhdr
it_cdpos
it_kna1
it_user_addr
it_merged
it_vbak
it_vbap
it_vbkd.
if it_merged[] is initial.
message s001(zgen).
exit.
endif.
Release memory no longer required.
free: it_cdhdr,
it_cdpos,
it_kna1,
it_user_addr,
it_vbak,
it_vbap,
it_vbkd.
Build field catalog for call to report function
perform build_field_catalog tables it_fieldcat.
Output report.
perform output_report tables it_fieldcat
it_merged.
*& Form merge_data
text
form merge_data tables pa_it_cdhdr type ty_it_cdhdr
pa_it_cdpos type ty_it_cdpos
pa_it_kna1 type ty_it_kna1
pa_it_user_addr type ty_it_user_addr
pa_it_merged type ty_it_merged
pa_it_vbak type ty_it_vbak
pa_it_vbap type ty_it_vbap
pa_it_vbkd type ty_it_vbkd.
Local internal tables
data:
lit_dd03l type ty_it_dd03l,
lit_dd04t type ty_it_dd04t.
Local work areas
data:
lwa_cdhdr type ty_cdhdr,
lwa_cdpos type ty_cdpos,
lwa_dd03l type ty_dd03l,
lwa_dd04t type ty_dd04t,
lwa_kna1 type ty_kna1,
lwa_user_addr type ty_user_addr,
lwa_merged type ty_merged,
lwa_vbak type ty_vbak,
lwa_vbap type ty_vbap,
lwa_vbkd type ty_vbkd.
Local variables
data:
lva_dd03l_tabix like sy-tabix,
lva_dd04t_tabix like sy-tabix.
Sort Data
sort pa_it_cdhdr by objectid changenr.
sort pa_it_cdpos by objectid changenr tabname tabkey fname.
sort pa_it_kna1 by kunnr.
sort pa_it_user_addr by bname.
sort pa_it_vbak by vbeln.
sort pa_it_vbkd by vbeln.
loop at pa_it_vbak into lwa_vbak.
clear lwa_merged.
Assign sales order fields to reporting work area
lwa_merged-vbeln = lwa_vbak-vbeln.
lwa_merged-erdat = lwa_vbak-erdat.
lwa_merged-auart = lwa_vbak-auart.
lwa_merged-faksk = lwa_vbak-faksk.
lwa_merged-netwr = lwa_vbak-netwr.
lwa_merged-waerk = lwa_vbak-waerk.
lwa_merged-vkorg = lwa_vbak-vkorg.
lwa_merged-vtweg = lwa_vbak-vtweg.
lwa_merged-vkbur = lwa_vbak-vkbur.
lwa_merged-fkara = lwa_vbak-fkara.
lwa_merged-kunnr = lwa_vbak-kunnr.
lwa_merged-bname = 1wa_user_addr-bname.
lwa_merged-xblnr = lwa_vbak-xblnr.
Assgin Material to reporting work area
lwa_merged-matnr = lwa_vbap-vbeln.
Get name of sold-to party from PA_IT_KNA1
clear lwa_kna1.
read table pa_it_kna1 into lwa_kna1
with key kunnr = lwa_vbak-kunnr
binary search.
lwa_merged-name1 = lwa_kna1-name1.
Get name from PA_it_user_addr
clear lwa_user_addr.
read table pa_it_user_addr into lwa_user_addr
with key = lwa_user_addr-bname
binary search.
lwa_merged-username = lwa_user_addr-name_textc.
Get business data from PA_IT_VBKD.
clear lwa_vbkd.
read table pa_it_vbkd into lwa_vbkd
with key vbeln = lwa_vbak-vbeln
binary search.
lwa_merged-fbuda = lwa_vbkd-fbuda.
Get Material Data
clear lwa_vbap.
read table pa_it_vbap into lwa_vbap
with key matnr = lwa_vbap-matnr
with key vbeln = lwa_vbak-vbeln
binary search.
lwa_merged-arktx = lwa_vbap-arktx.
Get internal note text for sales order
perform read_text using '0002'
'1'
lwa_merged-vbeln
'VBBK'
lwa_merged-intnote.
Get header note 1 text for sales order
perform read_text using 'Z002'
'1'
lwa_merged-vbeln
'VBBK'
lwa_merged-hdrnote.
Determine if change documents exist for sales order.
clear lwa_cdhdr.
read table pa_it_cdhdr into lwa_cdhdr
with key objectid = lwa_vbak-objectid.
if sy-subrc ne 0.
continue.
endif.
loop at pa_it_cdhdr into lwa_cdhdr
from sy-tabix.
lwa_merged-username = lwa_cdhdr-username.
lwa_merged-udate = lwa_cdhdr-udate.
lwa_merged-utime = lwa_cdhdr-utime.
lwa_merged-tcode = lwa_cdhdr-tcode.
clear lwa_cdpos.
read table pa_it_cdpos into lwa_cdpos
with key objectid = lwa_cdhdr-objectid
changenr = lwa_cdhdr-changenr
binary search.
loop at pa_it_cdpos into lwa_cdpos
from sy-tabix.
lwa_merged-tabname = lwa_cdpos-tabname.
lwa_merged-tabkey = lwa_cdpos-tabkey.
lwa_merged-fname = lwa_cdpos-fname.
lwa_merged-chngind = lwa_cdpos-chngind.
lwa_merged-value_new = lwa_cdpos-value_new.
lwa_merged-value_old = lwa_cdpos-value_old.
Get description for field - determine date element
clear lwa_dd03l.
read table lit_dd03l into lwa_dd03l
with key tabname = lwa_cdpos-tabname
fieldname = lwa_cdpos-fname
binary search.
lva_dd03l_tabix = sy-tabix.
if sy-subrc ne 0.
select single tabname fieldname as4local as4vers rollname
from dd03l
into lwa_dd03l
where tabname eq lwa_cdpos-tabname
and fieldname eq lwa_cdpos-fname
and as4local eq co_as4local_a.
if sy-subrc eq 0.
insert lwa_dd03l into lit_dd03l
index lva_dd03l_tabix.
endif.
endif.
If data element was found, get description
if not lwa_dd03l is initial.
clear lwa_dd04t.
read table lit_dd04t into lwa_dd04t
with key rollname = lwa_dd03l-rollname
ddlanguage = sy-langu
binary search.
lva_dd04t_tabix = sy-tabix.
if sy-subrc ne 0.
select single rollname ddlanguage as4local as4vers scrtext_l
from dd04t
into lwa_dd04t
where rollname eq lwa_dd03l-rollname
and ddlanguage eq sy-langu.
if sy-subrc eq 0.
insert lwa_dd04t into lit_dd04t
index lva_dd04t_tabix.
else.
lwa_dd04t-scrtext_l = 'Description for field not found'.
endif.
endif.
endif.
lwa_merged-scrtext_l = lwa_dd04t-scrtext_l.
append lwa_merged to pa_it_merged.
at end of changenr.
Only process field changes for this change document.
exit.
endat.
endloop.
at end of objectid.
Initialise work area so we know change document for order has
been processed.
clear lwa_merged.
Only process change documents for this sales order.
exit.
endat.
endloop.
endloop.
endform. " merge_data
*& Form build_field_catalog
text
form build_field_catalog tables pa_it_fieldcat type slis_t_fieldcat_alv.
data:
Local variable
lva_col_pos type slis_fieldcat_alv-col_pos,
Local structure
st_fieldcat type slis_fieldcat_alv.
lva_col_pos = 0.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VBELN'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'VBELN'.
st_fieldcat-row_pos = '1'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VKBUR'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'VKBUR'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '6'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VKORG'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'VKORG'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '6'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'KUNNR'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'KUNNR'.
st_fieldcat-row_pos = '1'.
st_fieldcat-col_pos = lva_col_pos.
st_fieldcat-outputlen = '6'.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'NAME1'.
st_fieldcat-ref_tabname = 'KNA1'.
st_fieldcat-ref_fieldname = 'NAME1'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '15'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'MATNR'.
st_fieldcat-ref_tabname = 'VBAP'.
st_fieldcat-ref_fieldname = 'MATNR'.
st_fieldcat-row_pos = '1'.
st_fieldcat-col_pos = lva_col_pos.
st_fieldcat-outputlen = '6'.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'SCRTEXT_L'.
st_fieldcat-ref_tabname = 'DD04T'.
st_fieldcat-ref_fieldname = 'SCRTEXT_L'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '20'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'UDATE'.
st_fieldcat-ref_tabname = 'CDHDR'.
st_fieldcat-ref_fieldname = 'UDATE'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '10'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'USERNAME'.
st_fieldcat-ref_tabname = 'CDHDR'.
st_fieldcat-ref_fieldname = 'USERNAME'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '6'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'FNAME'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'FNAME'.
st_fieldcat-row_pos = '4'.
st_fieldcat-outputlen = '8'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'CHNGIND'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'CHNGIND'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '8'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'WAERK'.
st_fieldcat-ref_tabname = 'VBAK'.
st_fieldcat-ref_fieldname = 'WAERK'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '5'.
st_fieldcat-col_pos = lva_col_pos..
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VALUE_NEW'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'VALUE_NEW'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '20'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
clear st_fieldcat.
add 1 to lva_col_pos.
st_fieldcat-tabname = 'PA_IT_MERGED'.
st_fieldcat-fieldname = 'VALUE_OLD'.
st_fieldcat-ref_tabname = 'CDPOS'.
st_fieldcat-ref_fieldname = 'VALUE_OLD'.
st_fieldcat-row_pos = '1'.
st_fieldcat-outputlen = '20'.
st_fieldcat-col_pos = lva_col_pos.
append st_fieldcat to pa_it_fieldcat.
endform. " build_field_catalog
*& Form output_report
text
form output_report tables pa_it_fieldcat type slis_t_fieldcat_alv
pa_it_merged type ty_it_merged.
Local variables
data:
lva_formname type slis_formname,
lva_repid like sy-repid.
lva_repid = sy-repid.
lva_formname = 'ALV_USER_COMMAND'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = lva_repid
i_callback_user_command = lva_formname
i_save = 'A'
is_variant = st_variant
it_fieldcat = pa_it_fieldcat[]
tables
t_outtab = pa_it_merged
exceptions
program_error = 1
others = 2.
endform. " output_report
*& Form alv_user_command
text
form alv_user_command using pa_ucomm like sy-ucomm
pa_selfield type slis_selfield.
Local work areas
data:
lwa_merged type ty_merged.
clear lwa_merged.
read table it_merged into lwa_merged
index pa_selfield-tabindex.
case pa_selfield-fieldname.
when 'VBELN'.
Contract Number
set parameter id 'AUN' field lwa_merged-vbeln.
call transaction 'VA03' and skip first screen.
S_BCE_68001393
when 'USERNAME'.
Username
set parameter id 'username' field lwa_merged-username.
call transaction 'S_BCE_68001393' and skip first screen.
when 'KUNNR'.
Customer number
set parameter id 'KUN' field lwa_merged-kunnr.
set parameter id 'VKO' field space.
set parameter id 'VTW' field space.
set parameter id 'SPA' field space.
call transaction 'XD03' and skip first screen.
endcase.
endform. " alv_user_command
*& Form read_text
text
form read_text using pa_id
pa_inline_count
pa_name
pa_object
pa_text.
Local internal tables
data:
lit_inlines type ty_it_lines,
lit_lines type ty_it_lines.
Local work areas
data:
lwa_lines type ty_lines.
Local variables
data:
lva_tdname like thead-tdname.
refresh: lit_inlines,
lit_lines.
lva_tdname = pa_name.
call function 'READ_TEXT_INLINE'
exporting
id = pa_id
inline_count = pa_inline_count
language = sy-langu
name = lva_tdname
object = pa_object
tables
inlines = lit_inlines
lines = lit_lines
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
others = 7.
loop at lit_lines into lwa_lines.
concatenate pa_text
lwa_lines-tdline
into pa_text separated by space.
endloop.
endform. " read_text ENDLOOP.Hi
As per your code here:
"-------------- Changes are made here ----------------
*Extract Material details from vbap
select matnr arktx
from vbap
into table it_vbap
for all entries in it_vbak
where
vbeln eq it_vbak-vbeln
and posnr eq co_posnr_initial. " Here the condition specifies you want to select sales order items where there is no item number, which i beleive shouldnt be the case
" -----------------End of Change ----------------------
Try as below by commenting the Item Number is INITIAL condition:
select matnr arktx
from vbap
into table it_vbap
for all entries in it_vbak
where
vbeln eq it_vbak-vbeln.
"and posnr eq co_posnr_initial.
Regards
Eswar -
DropDrown unable to get data in ALV
Hi,
I'm trying to put an dropdown by key (or index) into an ALV but I'm unable to get data in the dropdown. Can someone please help me with this?
I was watching this threads on topics at the forum, but I can not solve this problem.
Copy my code.
DATA: lr_col TYPE REF TO cl_salv_wd_column,
lr_dropdown TYPE REF TO cl_salv_wd_uie_dropdown_by_key,
l_cmp_usage TYPE REF TO if_wd_component_usage,
l_alv_model TYPE REF TO cl_salv_wd_config_table,
l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table.
l_cmp_usage = wd_this->wd_cpuse_doc_measure( ).
IF l_cmp_usage->has_active_component( ) IS INITIAL.
l_cmp_usage->create_component( ).
ENDIF.
l_ref_interfacecontroller = wd_this->wd_cpifc_doc_measure( ).
l_alv_model = l_ref_interfacecontroller->get_model( ).
l_alv_model = l_ref_interfacecontroller->get_model( ).
l_alv_model->if_salv_wd_table_settings~set_read_only( abap_false ).
lr_col = l_alv_model->if_salv_wd_column_settings~get_column(
id = 'VALEUR_DIFF' ).
CREATE OBJECT lr_dropdown
EXPORTING
selected_key_fieldname = 'VALEUR_DIFF '.
lr_col->set_cell_editor( lr_dropdown ).
DATA:
lo_nd_ctx_tab TYPE REF TO if_wd_context_node,
lo_ndinfo_ctx_tab TYPE REF TO if_wd_context_node_info,
lt_value_set TYPE TABLE OF wdr_context_attr_value,
ls_value_set TYPE wdr_context_attr_value.
ls_value_set-value = '01'.
ls_value_set-text = 'One'.
APPEND ls_value_set TO lt_value_set.
ls_value_set-value = '02'.
ls_value_set-text = 'Two'.
APPEND ls_value_set TO lt_value_set.
lo_nd_ctx_tab = wd_context->get_child_node( 'DOC_MEASURE' ).
lo_ndinfo_ctx_tab = lo_nd_ctx_tab->get_node_info( ).
lo_ndinfo_ctx_tab->set_attribute_value_set(
name = 'VALEUR_DIFF' value_set = lt_value_set ).
DATA: lt_valueset TYPE TABLE OF wdr_context_attr_value,
ls_valueset TYPE wdr_context_attr_value,
lr_node TYPE REF TO if_wd_context_node,
lr_nodeinfo TYPE REF TO if_wd_context_node_info.
lr_node = wd_context->get_child_node( 'DOC_MEASURE' ).
lr_nodeinfo = lr_node->get_node_info( ).
lr_nodeinfo->set_attribute_value_set(
EXPORTING
name = 'VALEUR_DIFF'
value_set = lt_valueset
Thanks.
Matías.Hi,
In your code, you are trying to do set_attribute_value_set twice. If you read your code carefully, you are setting the values once using lt_value_set where you have correctly filled the values. But after this, you are again trying using lt_valueset without filling any values. This is why your previous value-list gets overwritten and you see nothing in the dropdown. Remove the following lines in your code and it will work fine.
DATA: lt_valueset TYPE TABLE OF wdr_context_attr_value,
ls_valueset TYPE wdr_context_attr_value,
lr_node TYPE REF TO if_wd_context_node,
lr_nodeinfo TYPE REF TO if_wd_context_node_info.
lr_node = wd_context->get_child_node( 'DOC_MEASURE' ).
lr_nodeinfo = lr_node->get_node_info( ).
lr_nodeinfo->set_attribute_value_set(
EXPORTING
name = 'VALEUR_DIFF'
value_set = lt_valueset
Please get back if you are facing any more issues.
Regards,
Nithya -
I am getting the following error with IE9 and Firefox 26 with application express 3.2:
SCRIPT5007: Unable to get value of the property 'nodeName': object is null or undefined
apex_ns_3_1.js, line 589 character 10
this.dialog.check2 = function (e){
var tPar = html_GetTarget(e);
var lEl = $x('apexir_col_values_drop');
var l_Test = true;
****** while(tPar.nodeName != 'BODY'){
tPar = tPar.parentNode;
if(tPar == lEl){l_Test = false;}
if(l_Test){$x_Remove('apexir_col_values_drop')}
This happens when I click the Gear Icon, then Filter, then I click the dropdown arrow under expressions and pick an expression from the list.
If I set (through IE Developer tools) back to IE8 mode, I don't get the error.Guess no one is using 3.2 any longer or no one else gets this error..... Guess I can edit the JavaScript file to trap the error since it really doesn't seem to cause an issue. Just didn't want to have to go that route.
-
New inst: HP-UX: db2icrt fails: CLP frontend unable to get request handle
We are migrating our installations from the beautiful AIX to ... HP-UX. I am told I will learn to love it, but probably not until they update df to at least 1988 levels.
This is the pilot install. We have never seen this work before (and maybe no-one has...?)
sapinst runs correctly up to the "Create database instance" phase. At that point it dies with the following:
FUNCTION: DB2 UDB, command line process, clp_start_bp, probe:3
MESSAGE : CLP frontend unable to get REQUEST handle
DATA #1: Hexdump etc.
DBI1281E: The database manager configuration file could not be read initialized.
No further useful information is provided.
In db2<sid> I have a bunch of dot files (.profile and the like) and the db2_software directory containing the database installation.
During the create database instance phase, I can see that directory sqllib is created, but it is deleted when the phase fails.
There is no litter of any kind in the /db2/<SID> directories, - nothing has been done at all.
I have done the following: <<imagine nice bullets below - they dont seem to be available here>>
checked that the permissions on /tmp and the installation direcctory (redirected by setenv TEMP /usr/sap/install) are 777: they are;
checked the OS parameters with db2osconf - they are good
checked the host name resolution with a perl script - gethostbyname and gethostbyaddr agree.
the ip address, simple hostname and FQDN are on a line in the hosts file
there is no litter from previous installations - this is a clean machine
I could not find any reference to required environment variables (such as LD_LIBRARY_PATH) in the install guide or the install note - so I have not set any.
I have been hacking away at this for days. I have put in a call to SAP, who will get back to me after dark (of course...)
This seems to be a massively popular problem, and the helpful error message ("Sorry, Sport, just can't bring myself to do it") seems to have people jumping from tall buildings and in front of busses all over Google-world. Furthermore there also seems to be a near-infinite number of possible causes and none of them seem to apply here.
H-PUX version is 11.31. DB2 is 9V5 patch 4. sapinst is latest available. Weekend is fading fast...
Edited by: Russell Day on Mar 5, 2010 7:46 AM>
Paul Power wrote:
> Hi Russell,
>
> Apologies if some of this has been already tried but please check the following points:
>
> Make sure the machine name is listed in its hosts file.
>
> Make sure to log on directly to root. ie: do not su to root from another without '-'
>
> Make sure there is no instance created already (find / -name sqllib) for that user
>
> Using ps -aef and ipc -a, no old db2 ressources should be displayed for db2 instance owner. If there are any, kill/remove it
>
> You should make sure, that LIBPATH and LD_LIBRARY_PATH of root and db2 instance owner does not point to an path of another db2 version
>
> Regards,
> Paul
No need to apologise for assisting, Paul, but I have dealt with most of these.
The host file contains the unqualified and fully qualified hostnames, on the same line, unqualified first.
I am logging in as root (because there were no other users, and I'm old school, from when everyone logged on as root to do everything.
There is no instance, and in fact there is no sqllib except when the "create database instance" step is running.
The only detectable db2 process running is db2fcmd
I have not been able to find any instructions regarding LD_LIBRARY_PATH and LIBPATH for HP-UX. They are not mentioned in the installation guide at all. I cannot find it in any of the installation notes. I presume sapinst is setting them itself before they are needed. Neither are set in the enviroment of db2<sid> or <sid>adm. I have gnawed my fingernails to the elbow over this one, but I cannot see any indication that either should be set for HP-UX. Anyway, they are definitely not set anywhere, to anything. This was a clean machine before I started chopping it up to do this install.
I figure it must be complicated - I have been trying to get an answer for 10 days already. I will absolutely hate myself when it turns out to be something obvious, documented in 10 places, mostly in bold italics. I shoulda taken my dads advice and been a riverboat gambler or a piano player in a cathouse - its a lot less complicated, -
Siebel 8.0.0.12 Fix Pack; Unable to get the seed from binary file.
Hello Folks,
Can anyone throw some light into what action is required on my scenario.
I have applied Fix Pack Siebel 8.0.0.12 on top of 8.0.0.11 SBA. After it is appled, I am facing a documented issue within the Release Notes for the 8.0.0.12 Fix Pack
The issue is "UNABLE TO LAUNCH URL AFTER APPLYING SIEBEL 8.0.0.12". I tried the steps given with the MR document, however, I am still having this issue.
I am also not sure what is expected at the step of; Run the following command: seedgeneratorutil myseed.dat abcdef .
It's asking me for a value to enter for seed at command prompt. "Enter the seed":
what I should give here. As an assumption values,I gave SADMIN and tried to launch but still shows up the same error
Please Assit
Steps Details from Release Notes:
UNABLE TO LAUNCH URL AFTER APPLYING SIEBEL 8.0.0.12
Component: Server Infrastructure
Subcomponent: SWSE
Product Version: Siebel 8.0.0.12
Base Bug ID: 11938270
**Users are unable to launch the URL after applying the Siebel 8.0.0.12 Fix Pack.
**Use the following workaround to address this issue:
Navigate to the eappweb/bin directory from the command line on the SWSE installation.
Run the following command:
seedgeneratorutil myseed.dat abcdef
NOTE: In the example, myseed.dat is a filename. You can give any file name you wish.
The myseed.dat file is generated in the eappweb/bin directory.
Edit eapps.cfg to include the following parameters under the SWE section:
seedfile = < complete path for myseed.dat >
Bounce the web server.
(For Linux only) Copy libmod_swe.so from the eappweb/bin folder to the web/ohs/modules folder
Thanks
KumarWilson,
Thanks for your reply.I have repeated the steps and regenerated the error messages.
Browser
Message:
An error occurred while trying to process your request. This error indicates a problem with the configuration of this server and should be reported to the webmaster (along with any errors listed below). We apologize for the inconvenience
Initialization error:
Unable to get the seed from binary file.
Log
2021 2011-09-20 23:23:01 0000-00-00 00:00:00 +0530 00000000 001 003f 0001 09 ss110920_7068 7068 7852 E:\sba80\SWEApp\log\ss110920_7068.log 8.0.0.12 [20444] ENU
ProcessPluginState ProcessPluginStateError 1 000000024e781b9c:0 2011-09-20 23:23:01 7852: [SWSE] Unable to get the seed from binary file.
Eapps.cfg
[swe]
Language = enu
Log = errors
LogDirectory = $(SWSERoot)\log
ClientRootDir = $(SWSERoot)
SessionMonitor = False
AllowStats = true
LogSegmentSize = 0
LogMaxSegments = 0
DisableNagle = False
seedfile = E:\sba80\SWEApp\BIN\80012seed.dat
Thanks
Kumar -
Why iam unable to get the valu from combobox
when i run this code
everytime iam getting blank alert
y iam unable to get the selected item from combo box
thank u
<%@ page import="java.util.Date"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%><%@page import="java.sql.*,java.util.*,java.text.*,java.util.ArrayList, java.util.List,org.joda.time.DateTimeConstants,org.joda.time.LocalDate,
org.joda.time.Weeks"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>Reading Data From Text Fields</TITLE>
</HEAD><BODY onload=Datevalue()>
<form name="form1" action ="" method="post" onSubmit="update();">
<img src="nendrasys_logo.gif" align="right"></img>
<b><font color="669900"><h4 align="left">UserName:</font>
<jsp:useBean id="user" scope="session" class="nendrasys.User" />
<jsp:getProperty name="user" property= "name"/>
    
<b><font color="90be00"><h4 align="left">Designation:</font>
<jsp:getProperty name="user" property= "designation"/>
<br><font color="669900"><h4 align="right">Project:</font>
<select name="Projects">
<option>Project:1</option>
<option>Project:2</option>
<option>Project:3</option>
<option>Project:4</option>
<option>Project:5</option>
</select>
<%! String s; %>
<% DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd");
Date date = new Date();
//out.println(dateFormat.format(date));
s= dateFormat.format(date);
%>
<select name="Dates" sizes=1 id="dates" onchange="Datevalue(this.value)">
<script type="text/javascript">
<!--//
var begDate = new Date("10/01/2008");
var endDate = new Date();
var previousDate =new Date();
var presentDate =new Date("<%=s %>");
endDate.setDate(presentDate.getDate()+14);
begDate.setDate(begDate.getDate()+(6-begDate.getDay()));
while (begDate <= endDate) {
var datestring=[begDate.getDate(),(begDate.getMonth()+1),begDate.getFullYear()].join('/');
// var datestring=[begDate.getDate().padZero(2),(begDate.getMonth()+1).padZero(2),begDate.getFullYear()].join('/');
if(previousDate < presentDate && presentDate <= begDate )
document.writeln('<option selected>'+(datestring)+'</option>')}
else
document.writeln('<option>'+(datestring)+'</option>')};
previousDate.setDate(begDate.getDate());
previousDate.setMonth(begDate.getMonth());
previousDate.setYear(begDate.getYear());
begDate.setDate(begDate.getDate()+7);
document.writeln('</select>');
//-->
</script>
<br><br>
<TABLE BORDER="2" BORDERCOLOR="#336699" CELLPADDING="2" CELLSPACING="2" WIDTH="100%">
<TR>
<TD>   </TD>
<TD bgcolor="669900"><label id="sun"></label></TD>
<TD bgcolor="90be00"><label for="mon" id="Mon">Mon</label></TD>
<TD bgcolor="669900"><label for="tue" id="tue">Tue</label></TD>
<TD bgcolor="90be00"><label for="wed" id="wed">Wed</label></TD>
<TD bgcolor="669900"><label for="thu" id="thu">Thu</label></TD>
<TD bgcolor="90be00"><label for="fri" id="fri">Fri</label></TD>
<TD bgcolor="669900"><label for="sat" id="sat">Sat</label></TD>
<TD bgcolor="90be00"><label for="tot" id="tot">Total</label></TD>
</TR>
<tr>
<th>Project Work</th>
<td bgcolor="669900"><input type="text" name="c11" size="2" value="7" onBlur="javascript:document.frm.c12.value = document.frm.c11.value"></td>
<td bgcolor="90be00"><input type="text" name="c12" size="2" value="3"></td>
<td bgcolor="669900"><input type="text" name="c13" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c14" size="2"></td>
<td bgcolor="669900"><input type="text" name="c15" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c16" size="2"></td>
<td bgcolor="669900"><input type="text" name="c17" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c18" size="4"></td>
</tr>
<tr>
<th>Internal N/C</th>
<td bgcolor="669900"><input type="text" name="c21" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c22" size="2"></td>
<td bgcolor="669900"><input type="text" name="c23" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c24" size="2"></td>
<td bgcolor="669900"><input type="text" name="c25" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c26" size="2"></td>
<td bgcolor="669900"><input type="text" name="c27" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c28" size="4"></td>
</tr>
<tr>
<th>Public Holidays</th>
<td bgcolor="669900"><input type="text" name="c31" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c32" size="2"></td>
<td bgcolor="669900"><input type="text" name="c33" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c34" size="2"></td>
<td bgcolor="669900"><input type="text" name="c35" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c36" size="2" ></td>
<td bgcolor="669900"><input type="text" name="c37" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c38" size="4"></td>
</tr>
<tr>
<th>Holidays Taken</th>
<td bgcolor="669900"><input type="text" name="c41" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c42" size="2"></td>
<td bgcolor="669900"><input type="text" name="c43" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c44" size="2"></td>
<td bgcolor="669900"><input type="text" name="c45" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c46" size="2"></td>
<td bgcolor="669900"><input type="text" name="c47" size="2"></td>
<td bgcolor="90be00"><input type="text" name="c48" size="4"></td>
</tr>
</TABLE>
<br>
<center><input type="submit" value="Submit" /> </center>
<%
String username = request.getParameter("userid");
String pwd = request.getParameter("pwd");
String connectionURL = "jdbc:mysql://localhost:3306/timestamp";
Connection connection = null;
Statement statement = null;
ResultSet rs = null;
String sql=null;
Class.forName("com.mysql.jdbc.Driver").newInstance();
connection = DriverManager.getConnection(connectionURL, "root","nendrasys");
statement = connection.createStatement();
//rs=statement.executeQuery(sql); %>
</form>
<SCRIPT language='Javascript'>
function update()
alert("ciaoooooo");
<%
try
String value=request.getParameter("c11");
String value1=request.getParameter("c12");
// if(value!=null)
// System.out.println(value);
// System.out.println(value1);
catch(NullPointerException n)
%>
</script>
<SCRIPT language='Javascript'>
function Datevalue(date)
// document.getElementById("dates").innerHTML=document.getElementById("sun").value;
alert(date);
// alert( document.getElementById("dates"))
<% System.out.println("bye");%>
</SCRIPT>
</BODY>
</HTML>You mixed Java and Javascript in the expectation that they runs simultaneously.
You are Wrong.
You need to distinguish between the server side languages and client side languages. Java/JSP runs at the server side and produces a HTML page with other client side stuff in it like CSS and Javascript. When the HTML page is finished, it will be sent to the client and then Java/JSP stops. Once the HTML page is arrived at the client, there is no one line Java code in it, only its output/result. Do a View Source in your favourite web browser to see it. Only from that moment on, Javascript runs and/or can be invoked.
Whenever you want to use Java variables in Javascript, you need to print them out as a Javascript variable. Whenever you want to use Javascript variables in Java, you need to invoke a request to the server and pass them as parameters. The request can be either synchronous (a link or a form submit) or asynchronous (ajaxical). -
Frm-40502: oracle error: unable to read list of values
Hi All,
I am personalizing the assignment form, where we need to restrict the JOB LOV based on Organization value.
In Forms Personalization we are creating the record group from query and attaching to Job field.
The query is,
SELECT DISTINCT j.NAME, DECODE (1, 2, 1, NULL) c_valid_job_flag,
j.job_id job_id
FROM per_jobs_v j
WHERE j.business_group_id + 0 = :CTL_GLOBALS.BUSINESS_GROUP_ID
AND j.date_from <= :CTL_GLOBALS.SESSION_DATE
AND ( (j.date_to IS NULL)
OR (j.date_to >= :CTL_GLOBALS.SESSION_DATE)
ORDER BY j.NAME
When we use this query, we are getting the error "frm-40502: oracle error: unable to read list of values"
If i replace the bind variable with values we are not getting the error and its working fine.
Replace query:
SELECT DISTINCT j.NAME, DECODE (1, 2, 1, NULL) c_valid_job_flag,
j.job_id job_id
FROM per_jobs_v j
WHERE j.business_group_id + 0 = 202
AND j.date_from <= TRUNC(SYSDATE)
AND ( (j.date_to IS NULL)
OR (j.date_to >= TRUNC(SYSDATE))
ORDER BY j.NAME
how to use bind variables (Block.field) here? We are getting this error only when using the bind variable in the query.
Please share your ideas.
Thanks.Hi;
What is your EBS version? There are 96 docs avaliable about similar error message. I suggest use metalink for your issue
You can also check:
FRM-40502: Oracle Error: Unable To Read List Of Values [ID 1161404.1]
Frm-40502: Oracle Error: Unable To Read List Of Values. [ID 351931.1]
FRM 40502: Oracle Error:Unable to Read List of Values [ID 179162.1]
Regard
Helios
Maybe you are looking for
-
Desktop Manager 6.0 stopped working
For no apparent reason my DM version 6 stopped working yesterday. I have de- and re-installed it and rebooted with no improvement. When the application opens I see a partially loaded screen. Very limited text and drop down arrows that do nothing,
-
my macbook won't let me sync music or apps as it says my computer is not authorized, even though when I clicked to authorize it it says that it already is. can anybody tell me how i could fix this? iv already tried unarthorising the computer and re a
-
Issue in invoking authenticate method of TaskQueryService(thru web service)
Hi, I am running the latest version of SOA (11.1.1.4).I am trying the get the IWorkflowContext through authenticate method exposed by Task Query Service (http://<host>:<port>/integration/services/TaskQueryService/TaskQueryService?WSDL) I tried testin
-
Does anyone know what Error: 5 mean when trying to open up InDesign CS4
Does anyone know what Error: 5 mean when trying to open up InDesign CS4?
-
To open a tcode from query output ?
Hi All, Is it possible to open a tcode if i click on a particular cell ? Regards, Deadlocks