Doubt when launching an AdobeForm object in a Webdynpro Abap.
Hi Experts!
I built a simply Webdynpro with an "ADOBE FORM" object. The Form, is also quite simple (at the moment).
But I am having a trouble when the Form is launched. I only can see its Fields as a "READ ONLY". It is not possible to modify anything there.
Here, I describe the steps that I follow.
I create a very simple WebDynpro application. In its WD View, exist an unique Object (Adobe Interactive Form).
In that object, I set the properties:
"Data source": a context variable type "my structure". "My structure", is a simple structure with a couple or three fields, let´s say PERNR, BUKRS, WERKS... It is linked to the Form Interface (ABAP DICTIONARY-BASED INTERFACE). So in this way, the link between my WD and the AdobeInt.Form is working.
"PDF Source": a Context variable type XSTRING.
"Template Source": here I have set my Int.Form. Currently, it only contains a couple of fields
"Enabled": True.
"Read Only": False.
In the AdobeForm, I have draged & droped those 2 or 3 fields, save it, and activate it. I guess nothing more is needed for my test.
And at last, in the View´s method WDDOINIT, I am reading one of those fields, let´s say the employee number (PERNR), and I set by hardcoding its number (let´s say -> 00000001).
Until here, everything seems to work fine. When I launch the WD test, the Adobeform appears, at the moment, with only one of my fields (Employee - PERNR), and its value is filled in with '00000001'.
But now, I would like to write something by myself. And when I try to do it, it is not possible! Field PERNR, is displayed as a "READ ONLY".
Does someone knows what is happening here? I have seen in an exemple called "WDR_TEST_ADOBE" that it must be posible to have "OPEN FIELDS" in the adobeform...
Am I doing anything wrong? Or am I doing any mistake?
Thank you very much in advance
Carles
Finally I think I have found the problem.
In the View where I am printing the ADOBEFORM, it is needed this code under the method WDDOMODIFYVIEW.
method WDDOMODIFYVIEW .
DATA: LV_INTERACTIVE_FORM TYPE REF TO CL_WD_INTERACTIVE_FORM,
LV_METHOD_HANDLER TYPE REF TO IF_WD_IACTIVE_FORM_METHOD_HNDL.
LV_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT( 'INT_FORM' ). " adobeform object in view
IF LV_INTERACTIVE_FORM IS NOT INITIAL.
LV_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
LV_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( ABAP_TRUE ).
LV_METHOD_HANDLER->SET_HIDE_NAVIGATION_PANEL( ABAP_TRUE ).
LV_METHOD_HANDLER->SET_DISABLE_PRINT_BUTTON( ABAP_TRUE ).
WD_THIS->M_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
WD_THIS->M_METHOD_HANDLER->SET_HIDE_TOOLBARS( ABAP_TRUE ).
ENDIF.
endmethod.
Regards,
Carles
Similar Messages
-
Error when Interative Adobe Form is called from Webdynpro ABAP.
Hi Experts,
I trying to call a Interactive adobe form from ABAP Webdynpro application but I am facing the below error.
Line: -
The following error text was processed in the system GJD : User session (HTTP/SMTP/..) closed after timeout
The error occurred on the application server az18u021_GJD_01 and in the work process 0 .
The termination type was: ERROR_MESSAGE_STATE
The ABAP call stack was:
Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
Line: -
When I uncheck the enabled property of the Interactive From in the Page of the WebDynpro I am able to execute the application successfully.But the Adobe form behaves as a Static Form when I uncheck the enabled property.
So kindly provide your valuable suggestions to avoid the above error when I am calling a Interactive adobe form from Webdynpro ABAP.
Thanks in Advance.
Regards,
Arun.Hello,
Hello, are you sure you have your ADS credentials configured correctly and valid? I guess you know that is the only difference between clicking enabled on true or false. If you are not sure, you can use SE38, search for FP_* and pick some reports to check the licencing. The names of the reports are good enough to recognize the right one.
Or maybe that is a security problem? Have you checked the ADS_ERROR string? Did you use the ADS trace?
check: http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/content.htm
and especially note 999998
Regards, Otto -
Calling a mime object in the WebDynPro ABAP code dynamically
Hi ,
Can anyone let me know the API to access the mime objects dynamically in the WD ABAP code. I have a text file in the WD ABAP component as a text file.
I would like to pick the file with the help of API's and read the content of the file using Mime Object API's .
Can anyone help me out in this.
Best Regards
SidHi,
do the methods of CL_WD_WEB_ICON help?
Regards, Heidi -
Generic Object Services using WebDynpro ABAP
I am using Web Dynpro for ABAP and would like to access Generic Object Services (GOS) to view attachments or similar functionality for attachments in web dynpro ABAP. How can I access the functionality of attachments from a Web Dynpro application?
Any help is appreciated.
ThanksHi,
I assume that you wantted to have the attachements in a mail.
Please check out the Adobe Forms(ie PDF attachements) and Office Control UI elements in WDA.
Regards
Lekha -
Error when the time of create apllication in webdynpro abap
hi,
when i am trying to create apllication for webdynpro component it shows the error message like
'you are not authorized to use transaction sicf ' in the status bar . what is the problem and how can avoid this issue.Hi Babu,
You are not authorized to use SICF tcode in development client. So try to create Webdynpro application in testing client where u have authorization for this tcode.
Because whenever you create a webdynpro application, Internet Communication Framework (ICF) services for that application has to be maintained.since you are not authorized to access SICF it fails to do the same.
For more information refer the below link
[http://help.sap.com/saphelp_nw70/helpdata/en/46/d28dfa34bb12bee10000000a1553f7/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/46/d28dfa34bb12bee10000000a1553f7/content.htm]
I hope this will help you.
Regards,
Rama -
When launching firefox got the following error: XPCOMGlueLoad error for file ~/firefox/libxpcom.so libxul.so cannot open shared object file: No such file or directory Couldn't load XPCOM (but file libxul.so is there) what do I do???
Make sure that you meet the system requirements and have all required libraries installed.
*http://www.mozilla.com/en-US/firefox/8.0.1/releasenotes/
*http://www.mozilla.com/en-US/firefox/3.6.24/releasenotes/
*http://kb.mozillazine.org/Installing_Firefox#Linux
You can find the latest Firefox releases here:
*Firefox 8.0.x: http://www.mozilla.com/en-US/firefox/all.html
*Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html -
Error when installing the supporting objects of OLL Packaged Application
Hello,
I am trying to install OLL Packaged Application|http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r41/inst_pkgapp/inst_pkgapp.htm#top
but when installing the supporting objects, I got error when executing the code of "create_package_body"
Error at line 274: PLS-00201: identifier 'UTL_TCP' must be declared
create or replace package body eba_oll_log
as
g_start_time number;
procedure log_init
is
begin
g_start_time := dbms_utility.get_time;
end log_init;
procedure log_page_view
is
begin
insert into eba_oll_page_views
( APEX_USER,
PAGE_ID,
PAGE_NAME,
VIEW_DATE,
TS,
ELAPSED_TIME,
IP_ADDRESS,
AGENT,
APEX_SESSION_ID,
CONTENT_ID,
CONTENT_TITLE )
values
( v('APP_USER'),
v('APP_PAGE_ID'),
wwv_flow.g_step_title,
trunc(sysdate,'DD'),
systimestamp,
(dbms_utility.get_time-g_start_time)*(.01),
owa_util.get_cgi_env('REMOTE_ADDR'),
owa_util.get_cgi_env('HTTP_USER_AGENT'),
v('APP_SESSION'),
case when v('APP_PAGE_ID') = 24
then v('P24_CONTENT_ID')
else null
end,
case when v('APP_PAGE_ID') = 24
then v('P24_CONTENT_TITLE')
else null
end );
if v('APP_PAGE_ID') = 24 then
insert into eba_oll_content_views
( APEX_USER,
VIEW_DATE,
TS,
IP_ADDRESS,
AGENT,
APEX_SESSION_ID,
CONTENT_ID,
CONTENT_TITLE,
NOTE )
values
( v('APP_USER'),
trunc(sysdate,'DD'),
systimestamp,
owa_util.get_cgi_env('REMOTE_ADDR'),
owa_util.get_cgi_env('HTTP_USER_AGENT'),
v('APP_SESSION'),
v('P24_CONTENT_ID'),
v('P24_CONTENT_TITLE'),
'Viewed' );
end if;
commit;
end log_page_view;
procedure log_content_click
is
begin
insert into eba_oll_content_views
( APEX_USER,
VIEW_DATE,
TS,
IP_ADDRESS,
AGENT,
APEX_SESSION_ID,
CONTENT_ID,
CONTENT_TITLE,
NOTE )
values
( v('APP_USER'),
trunc(sysdate,'DD'),
systimestamp,
owa_util.get_cgi_env('REMOTE_ADDR'),
owa_util.get_cgi_env('HTTP_USER_AGENT'),
v('APP_SESSION'),
v('P24_CONTENT_ID'),
v('P24_CONTENT_TITLE'),
'Launched' );
commit;
end log_content_click;
end eba_oll_log;
create or replace package body eba_oll_api
as
function gen_id
return number
is
l_id number;
begin
select to_number(sys_guid(), 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
into l_id
from dual;
return l_id;
end gen_id;
function eba_oll_tags_cleaner (
p_tags in varchar2,
p_case in varchar2 default 'U' ) return varchar2
is
type tags is table of varchar2(255) index by varchar2(255);
l_tags_a tags;
l_tag varchar2(255);
l_tags apex_application_global.vc_arr2;
l_tags_string varchar2(32767);
i integer;
begin
l_tags := apex_util.string_to_table(p_tags,',');
for i in 1..l_tags.count loop
--remove all whitespace, including tabs, spaces, line feeds and carraige returns with a single space
l_tag := substr(trim(regexp_replace(l_tags(i),'[[:space:]]{1,}',' ')),1,255);
if l_tag is not null and l_tag != ' ' then
if p_case = 'U' then
l_tag := upper(l_tag);
elsif p_case = 'L' then
l_tag := lower(l_tag);
end if;
--add it to the associative array, if it is a duplicate, it will just be replaced
l_tags_a(l_tag) := l_tag;
end if;
end loop;
l_tag := null;
l_tag := l_tags_a.first;
while l_tag is not null loop
l_tags_string := l_tags_string||l_tag;
if l_tag != l_tags_a.last then
l_tags_string := l_tags_string||', ';
end if;
l_tag := l_tags_a.next(l_tag);
end loop;
return substr(l_tags_string,1,4000);
end eba_oll_tags_cleaner;
procedure eba_oll_tag_sync (
p_new_tags in varchar2,
p_old_tags in varchar2,
p_content_type in varchar2,
p_content_id in number )
as
type tags is table of varchar2(255) index by varchar2(255);
l_new_tags_a tags;
l_old_tags_a tags;
l_new_tags apex_application_global.vc_arr2;
l_old_tags apex_application_global.vc_arr2;
l_merge_tags apex_application_global.vc_arr2;
l_dummy_tag varchar2(255);
i integer;
begin
l_old_tags := apex_util.string_to_table(p_old_tags,', ');
l_new_tags := apex_util.string_to_table(p_new_tags,', ');
if l_old_tags.count > 0 then --do inserts and deletes
--build the associative arrays
for i in 1..l_old_tags.count loop
l_old_tags_a(l_old_tags(i)) := l_old_tags(i);
end loop;
for i in 1..l_new_tags.count loop
l_new_tags_a(l_new_tags(i)) := l_new_tags(i);
end loop;
--do the inserts
for i in 1..l_new_tags.count loop
begin
l_dummy_tag := l_old_tags_a(l_new_tags(i));
exception when no_data_found then
insert into eba_oll_tags (tag, content_id, content_type )
values (l_new_tags(i), p_content_id, p_content_type );
l_merge_tags(l_merge_tags.count + 1) := l_new_tags(i);
end;
end loop;
--do the deletes
for i in 1..l_old_tags.count loop
begin
l_dummy_tag := l_new_tags_a(l_old_tags(i));
exception when no_data_found then
delete from eba_oll_tags where content_id = p_content_id and tag = l_old_tags(i);
l_merge_tags(l_merge_tags.count + 1) := l_old_tags(i);
end;
end loop;
else --just do inserts
for i in 1..l_new_tags.count loop
insert into eba_oll_tags (tag, content_id, content_type )
values (l_new_tags(i), p_content_id, p_content_type );
l_merge_tags(l_merge_tags.count + 1) := l_new_tags(i);
end loop;
end if;
for i in 1..l_merge_tags.count loop
merge into eba_oll_tags_type_sum s
using (select count(*) tag_count
from eba_oll_tags
where tag = l_merge_tags(i) and content_type = p_content_type ) t
on (s.tag = l_merge_tags(i) and s.content_type = p_content_type )
when not matched then insert (tag, content_type, tag_count)
values (l_merge_tags(i), p_content_type, t.tag_count)
when matched then update set s.tag_count = t.tag_count;
merge into eba_oll_tags_sum s
using (select sum(tag_count) tag_count
from eba_oll_tags_type_sum
where tag = l_merge_tags(i) ) t
on (s.tag = l_merge_tags(i) )
when not matched then insert (tag, tag_count)
values (l_merge_tags(i), t.tag_count)
when matched then update set s.tag_count = t.tag_count;
end loop;
end eba_oll_tag_sync;
procedure render_tag_cloud (
p_selection in varchar2 default null,
p_app_id in number,
p_session_id in number,
p_min_nbr_tags in number default 1,
p_max in number default 100,
p_limit in number default 10000,
p_link_to_page in varchar2 default '2',
p_tag_item_filter in varchar2 default 'P2_TAGS',
p_clear_cache in varchar2 default '2,CIR,RIR',
p_more_page in varchar2 default '62' )
as
l_printed_records number := 0;
l_available_records number := 20;
l_max number;
l_min number;
l_class_size number;
l_class varchar2(30);
type l_tagtype is table of varchar2(2000);
l_tags l_tagtype;
type l_numtype is table of number;
l_cnts l_numtype;
l_size number;
l_total number :=0;
l_buffer varchar2(32676);
CURSOR c_all_tags
IS
select tag, c from (
select t.tag, count(*) c
from eba_oll_content c,
eba_oll_tags t
where c.content_id = t.content_id
and c.display_yn = 'Y'
and (p_selection is null or
(p_selection is not null and
( (substr(p_selection,1,1) = 'R' and
substr(p_selection,2) in (select release_id
from eba_oll_content_products cp
where cp.content_id = c.content_id))
or (substr(p_selection,1,1) = 'C' and
substr(p_selection,2) in (select product_id
from eba_oll_content_products cp
where cp.content_id = c.content_id))
or (substr(p_selection,1,1) = 'P' and
(substr(p_selection,2) in (select product_id
from eba_oll_content_products cp
where cp.content_id = c.content_id) or
substr(p_selection,2) in (select p.parent_product_id
from eba_oll_content_products cp,
eba_oll_products p
where cp.content_id = c.content_id
and cp.product_id = p.product_id)))
or (substr(p_selection,1,1) = 'G' and
(substr(p_selection,2) in (select pg.group_id
from eba_oll_product_groupings pg,
eba_oll_content_products cp
where pg.product_id = cp.product_id
and cp.content_id = c.content_id) or
substr(p_selection,2) in (select pg.group_id
from eba_oll_product_groupings pg,
eba_oll_products p,
eba_oll_content_products cp
where pg.product_id = p.parent_product_id
and p.product_id = cp.product_id
and cp.content_id = c.content_id)))
group by tag
) x where rownum < p_limit
and c >= p_min_nbr_tags
order by upper(tag) ;
begin
-- Fetch tags into arrays
open c_all_tags;
loop
fetch c_all_tags bulk collect into l_tags,l_cnts limit p_limit;
exit;
end loop;
close c_all_tags;
l_available_records := l_tags.count;
-- Determine total count and maximum tag counts
l_max := 0;
l_min := 1000;
FOR i in l_cnts.first..l_cnts.last loop
l_total := l_total + l_cnts(i);
if l_cnts(i) > l_max then
l_max := l_cnts(i);
end if;
if l_cnts(i) < l_min then
l_min := l_cnts(i);
end if;
end loop;
if l_max = 0 then l_max := 1; end if;
l_class_size := round((l_max-l_min)/6);
-- Generate tag cloud --
sys.htp.prn('<div class="tagCloud"><ul>');
for i in l_tags.first..l_tags.last loop
l_printed_records := l_printed_records + 1;
if l_cnts(i) < l_min + l_class_size then
l_class := 'size1';
elsif l_cnts(i) < l_min + (l_class_size*2) then
l_class := 'size2';
elsif l_cnts(i) < l_min + (l_class_size*3) then
l_class := 'size3';
elsif l_cnts(i) < l_min + (l_class_size*4) then
l_class := 'size4';
elsif l_cnts(i) < l_min + (l_class_size*5) then
l_class := 'size5';
else l_class := 'size6';
end if;
l_buffer := '<li><a class="'||l_class||'" href="'||
'f?p='||p_app_id||':'||p_link_to_page||':'||p_session_id||':::'||p_clear_cache||':'||
p_tag_item_filter||':'||htf.escape_sc(l_tags(i))||'">'||
htf.escape_sc(l_tags(i)) || '<span>' || l_cnts(i) || '</span></a></li>';
sys.htp.prn(l_buffer);
l_buffer := '';
if l_printed_records > p_max then
exit;
end if;
end loop;
sys.htp.prn('</ul></div>');
-- print if there's more
if l_tags.count - l_printed_records != 0 then
htp.prn('<p><a href="f?p='||p_app_id||':'||htf.escape_sc(p_more_page)||
':'||p_session_id||':::'||htf.escape_sc(p_more_page)||'">View all tags</a></p>');
end if;
exception when others then
sys.htp.prn('<p>No tags found.</p>');
end render_tag_cloud;
procedure email_when_feedback (
p_feedback_id in number,
p_host_url in varchar2,
p_app_id in number )
is
l_body clob;
l_body_html clob;
begin
for c1 in (
select f.feedback_comment, f.feedback_by,
c.title, nvl(ct.feedback_contacts,'[email protected]') email
from eba_oll_content_feedback f,
eba_oll_content c,
eba_oll_team ct
where f.id = p_feedback_id
and f.content_id = c.content_id
and c.team_id = ct.team_id (+) )
loop
l_body := 'You have received feedback for a piece of content you own in the Oracle Learning Library (OLL) Application.
Content: '|| c1.title || utl_tcp.crlf || '
Feedback: '|| c1.feedback_comment || utl_tcp.crlf || '
Left by: '|| lower(c1.feedback_by) ||'
You can respond via the OLL Application, '||p_host_url||'f?p='||p_app_id||':47:::NO::P47_ID:' || p_feedback_id || '.';
l_body_html := '<div style="border: 1px solid #DDD; background-color: #F8F8F8; width: 460px; margin: 0 auto; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 20px;">
<p style="font: bold 12px/16px Arial, sans-serif; margin: 0 0 10px 0; padding: 0;">
You have received feedback for a piece of content you own in the Oracle Learning Library (OLL) Application.
</p>
<table style="width: 100%;" cellspacing="0" cellpadding="0" border="0">
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Content</td>
<td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"><a href="#" style="color: #000">'||c1.title||'</a></td>
</tr>
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Feedback</td>
<td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.feedback_comment,CHR(10),'<br/>')||'</td>
</tr>
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Left by</td>
<td style="font: bold 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||lower(c1.feedback_by)||'</td>
</tr>
<tr>' || utl_tcp.crlf || '
<td colspan="2" style="text-align: center; font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">
<a href="'||p_host_url||'f?p='||p_app_id||':47:::NO::P47_ID:' || p_feedback_id ||'" style="display: block; padding: 10px; background-color: #EEE; font: bold 16px/16px Arial, sans-serif; color: #444">Respond to this Feedback</a>
</td>
</tr>
</table>
</div>';
apex_mail.send (
p_to => c1.email,
p_from => '[email protected]',
p_subj => 'OLL - New Feedback for your team',
p_body => l_body,
p_body_html => l_body_html );
end loop;
end email_when_feedback;
procedure email_when_response (
p_feedback_id in number,
p_host_url in varchar2,
p_app_id in number )
is
l_body clob;
l_body_html clob;
begin
for c1 in (
select f.feedback_comment, f.feedback_by, f.response, c.title
from eba_oll_content_feedback f,
eba_oll_content c
where f.id = p_feedback_id
and f.content_id = c.content_id )
loop
l_body := 'You have received a response to your feedback left in the Oracle Learning Library (OLL) Application.
Content: '|| c1.title || '
Feedback: '|| c1.feedback_comment || '
Response: '|| c1.response || '
You can also view this response via the OLL Application, '||p_host_url||'f?p='||p_app_id||':60:::NO::IR_ID:' || p_feedback_id || '.';
l_body_html := '<div style="border: 1px solid #DDD; background-color: #F8F8F8; width: 460px; margin: 0 auto; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 20px;">
<p style="font: bold 12px/16px Arial, sans-serif; margin: 0 0 10px 0; padding: 0;">
You have received a response to your feedback left in the Oracle Learning Library (OLL) Application.
</p>
<table style="width: 100%;" cellspacing="0" cellpadding="0" border="0">
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Content</td>
<td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"><a href="#" style="color: #000">'||c1.title||'</a></td>
</tr>
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Feedback</td>
<td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.feedback_comment,CHR(10),'<br/>')||'</td>
</tr>
<tr>' || utl_tcp.crlf || '
<td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Response</td>
<td style="font: bold 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.response,CHR(10),'<br/>')||'</td>
</tr>
<tr>' || utl_tcp.crlf || '
<td colspan="2" style="text-align: center; font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">
<a href="'||p_host_url||'f?p='||p_app_id||':60:::NO::IR_ID:' || p_feedback_id ||'" style="display: block; padding: 10px; background-color: #EEE; font: bold 16px/16px Arial, sans-serif; color: #444">View Response in OLL Application</a>
</td>
</tr>
</table>
</div>';
apex_mail.send (
p_to => c1.feedback_by,
p_from => '[email protected]',
p_subj => 'Oracle Learning Library - Response to your Feedback',
p_body => l_body,
p_body_html => l_body_html );
end loop;
end email_when_response;
end eba_oll_api;
/Error at line 274: PLS-00201: identifier 'UTL_TCP' must be declared
Edited by: Fateh on Jan 13, 2012 7:32 AMThanks & Sorry for not mentioning the full information about my environment.
it was:
Oracle 11g xe R2 on Windows 7 machine
Apex listener deployed on Glass Fish server 3.1 on Windows 7 machine
Apex 4.1
Google Chrome
So, to have OLL application worked locally . we need the following:
grant execute on utl_tcp to [your_schema_name]And to
Configure an Application Express Application as a Partner Application in Oracle AS Single Sign-On http://www.oracle.com/technetwork/testcontent/sso-partner-app-100552.html.
I think I am going to install on my work space on apex.oracle.com.
Regards,
Fateh
Edited by: Fateh on Jan 15, 2012 9:38 AM -
MMC finds error with a snap-in when launching Hyper-V manager
From a clean install of Win 8.1 Pro 64-bit I had used the Hyper-V manager to test some virtualization. After tinkering around with a few virtual machines I put that aside for a while. Over the following weeks I continued applying updates as
Microsoft released them. Decided to play around with virtual machines again and when launching the manager I got the error "MMC has detected an error in a snap-in and will unload it." Options are to report the error to Microsoft and shut
down MMC, or unload the snap-in and continue running. If I report the error it goes into the problem reports but as of yet there is no solution available. If I unload the snap-in and continue running I get this additional output:
FX:{922180d7-b74e-45f6-8c74-4b560cc100a5}
Could not load file or assembly 'Microsoft.Virtualization.Client, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The module was expected to contain an assembly manifest.
Exception type:
System.BadImageFormatException
Exception stack trace:
at Microsoft.Virtualization.Client.VMBrowser.BrowserSnapIn.OnInitialize()
at Microsoft.ManagementConsole.SnapInBase.Initialized()
at Microsoft.ManagementConsole.Internal.SnapInClient.Microsoft.ManagementConsole.Internal.ISnapInClient.Initialize(ISnapInPlatform snapInPlatform)
at Microsoft.ManagementConsole.Executive.SnapInInitializationOperation.OnStart()
at Microsoft.ManagementConsole.Executive.RunningOperationsTable.EnqueueOperation(Operation operation)
at Microsoft.ManagementConsole.Advanced.FrameworkSnapInFactory.Microsoft.ManagementConsole.Advanced.ISnapInFactory.CreateSnapIn(Int32 bookkeepingId, String snapInKey, Object& snapIn)
I tried restoring one of my earlier drive images and got Hyper-V manager working again. Unfortunately continuing to run with this image wasn't feasible as I've had too many changes in the install to apply all over again, my solution needs to be repairing
my image as it exists at the time I discovered Hyper-V was broken. The older image was useful though to use to see just what causes the break. From that restore I stepped through Windows Updates one by one, eventually finding that the fix for KB2898871,
"Security Update for Microsoft .NET Framework 4.5.1 for Windows 8.1 and Windows Server 2012 R2 for x64-based Systems" was what seemed to trigger it. Uninstalling this update on my current image does not resolve the issue. Somehow something
is hanging around that is the root cause of the problem. An additional odd thing with this is that this KB update is marked as February 2014, yet going back through my disk images I found that the problem had existed as early as December 2013, possibly
the month before. If .NET updates are cumulative then that would make sense as an earlier update that is now included in KB2898871 could have been applied before, but I don't know if the updates are designed that way. I have yet to find any information
online directly relating to this problem and those that are somewhat similar haven't produced any working fix. Looking for any thoughts on this while I hope that the problem report uploaded to Microsoft is being worked on.Ok, now I'm stumped. I restored the first image I captured of my 8.1 install (11/14/2013, looks like with all available updates at that time) and started applying updates. After this I could still launch Hyper-V without error. Now, this
image was before I had created any virtual machines and at this point I still haven't added any to my test image, but Hyper-V does launch.
So my suspicion is now moving to something about maybe the information of the VMs I had previously created in Hyper-V aren't playing well with the later .net update. Haven't gone digging for this yet but with this new finding does anyone have any areas
they think I should examine? The first place I'm going to look is the registry and see what I can find for differences there. -
Error when launching SCORM Compliant Content
When launching a piece of SCORM Content, OLM is kicking out an error that says "Unable to Locate the LMS's API Implementation. Communication with the LMS will not occur"
We have verified the physical and virtual paths for the content server and the SCORM Adapter, but this error is still occuring. The Content plays after you accept the error message.
Has anyone experienced this type of error before? The content was developed using Camtasia (which I am not familiar with) but was published using SCORM 1.2
Any suggestions or help is greatly appreciated!
Thanks,
JulieJulie,
Check the troubleshooting section of the SCORM installation guide, metalink note id#374715.1
chances are the content is not frame friendly (look for javascript error indicator in the bottom left of your IE browser)
Partch #5943165 can help if this is the case "Provide option to launch learning object in new window " and described here:
NEW FEATURE IN OLM - Provide option to launch learning object in new window
Scott Morris
Seertech Solutions
http://www/seertechsolutions.com -
Error when launching Crystal XIR2 report ..."Table could not be found."
We have a customer that sees an error when launching any report in InfoView for Crystal Server XIR2:
Description: Error in File E:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\slvnsb41.pageserver\slvnsb41.pageserver\child.2\temp\procReportTemp\mgrTemp\ps_13ec5b68e6bfbc0.rpt: The table could not be found.
These steps have been taken:
1) The Crystal Server Business View install and BIAR file imports are successful.
2) Database connection has been configured and tested.
3) All the tables are browseable in the Business View Manager and contain data.
4) All the required tables exist in the database.
Options or suggestions anyone?Can someone tell me how to open this as a SUPPORT CASE that someone will actually help solve?
Sorry to say but I don't find these forums of much use. -
Hi
I receive the following error when launching af BPF:
System.Exception: Index was outside the bounds of the array.
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
at OSoft.Services.Webservice.BPFProxy.BPFProxy.GetBPFContents(String strAppSet, String strApp, String strBPFID, String strDataRegion)
We are running BPC 5.1 SP09-2 and accessing Excel via Citrix.
I did work before we applied SP09-2.
Any suggestions?
JesperAfter upgrading the client installation on Citrix was not correctly upgraden. Re-installing the client fils solved the problem.
-
Warning message about CMP problem when launching query - how to suppress?
Dear Experts
How can I suppress warning message that did not stop the query from running?
I encounter this message when 1st launching it. The next run , it does not show. But if user run it i think may still show. How to suppress it?
The message is :
=================
Characteristic [Z_I_NN_FN]Application Sub Grou of the MultiProvider is not provided by the PartProvider ZC_00N; this means it is not identified. However, [Z_I_NN_FN]Application Sub Grou is compounded to 0COMP_CODE and 0COMP_CODE is identified with characteristic Z_I_MM_FM for InfoProvider ZC_006.
In this case, there is a compounding or CMP problem with [Z_I_NN_FN]Application Sub Grou in the MultiProvider for PartProvider ZC_006.
Processing characteristics with CMP problems in the data manager is very complicated and can have a negative impact on performance. The data manager cannot use SIDs for these characteristics (at least not in the corresponding InfoProvider) because the initial SID = 0 for [Z_I_NN_FN]Application Sub Grou is not the same as the initial compound key for 0COMP_CODE [Z_I_NN_FN]Application Sub Grou (that is, when real values are posted in ZC_006 for 0COMP_CODE).
For this reason, hierarchies for [Z_I_NN_FN]Application Sub Grou must often be read at leaf level. Furthermore, it is not possible to use hierarchy aggregates for [Z_I_NN_FN]Application Sub Grou or for the remaining InfoProviders.
System Response
Where possible, the system tries to avoid negative impacts on performance. Unfortunately, such performance issues cannot be avoided if the correct results are to be displayed.
Procedure
When working with important MultiProviders, you should always avoid characteristics with CMP problems.
====================
Please advise how to address CMP problem error message when launching query.
regards
PascalHi Pascal,
Why dont you select those compounding objects in Multiprovider itself.As far as i understand while activating the MP it throws an error if compounding objects are not selected.
One more thing to add which i noticed you can try running the query on analyzer if you are running it on RSRT.
You can see the data even if MP is not active on analyzer but not on RSRT.
Hope it helps.
Regards,
AL -
Unhandled Exception when launching Company Settings Center or UevSqmSession.exe
Hi there,
using UE-V 2.0 we get some errors. Currently we're still evaluating and therefore only have 5 installations. 2 out of them do have unhandled exceptions thrown. I think UevSqmSession is starting by task scheduler:
Application: UevSqmSession.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Management.ManagementException
Stack:
at System.Management.ManagementException.ThrowWithExtendedInfo(System.Management.ManagementStatus)
at System.Management.ManagementScope.InitializeGuts(System.Object)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObject.Initialize(Boolean)
at System.Management.ManagementClass.GetInstances(System.Management.EnumerationOptions)
at Microsoft.Uev.UevSqmSession.Program.Main(System.String[])
Application: UevSqmSession.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Management.ManagementException
Stack:
at System.Management.ManagementException.ThrowWithExtendedInfo(System.Management.ManagementStatus)
at System.Management.ManagementScope.InitializeGuts(System.Object)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObject.Initialize(Boolean)
at System.Management.ManagementClass.GetInstances(System.Management.EnumerationOptions)
at Microsoft.Uev.UevSqmSession.Program.Main(System.String[])Another Exception is thrown when launching the Company Settings Center by either from start menu or by double clicking tray icon (which IS running)
Faulting application name: TemplateConsole.exe, version: 2.0.319.2, time stamp: 0x52eeb1b5
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1677
Exception code: 0xe0434352
Fault offset: 0x000000000000940d
Faulting process id: 0xda0
Faulting application start time: 0x01cf2d8b46916427
Faulting application path: C:\Program Files\Microsoft User Experience Virtualization\Agent\TemplateConsole.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 85c91347-997e-11e3-b8d7-0027133d35ca
Application: TemplateConsole.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at System.Windows.Window.set_Owner(System.Windows.Window)
at Microsoft.Uev.TemplateConsole.Utils.AlertMessage(System.Windows.Window, System.String, System.String, System.String, Microsoft.Uev.Management.NotifyIcon, System.String, System.String, System.String, System.String, Boolean, System.Windows.Media.ImageSource)
at Microsoft.Uev.TemplateConsole.Utils.AlertMessage(System.Windows.Window, Microsoft.Uev.TemplateConsole.AlertId, System.String, System.Object[])
at Microsoft.Uev.TemplateConsole.App.Application_DispatcherUnhandledException(System.Object, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs)
at System.Windows.Threading.Dispatcher.CatchException(System.Exception)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.WrappedInvoke(System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run()
at Microsoft.Uev.TemplateConsole.App.Main()
The miracle is other applications using this very same .NET framework version are running without problems. Also - as mentioned - the tray icon is running. Sync also does work as expected.
Is there anybody else experiencing this issue ? Can MS please have a look ?
thanks,
Stefan -
Encountering error when launching course in LSO portal
Hi Experts,
User is facing issue when launching course through LSO portal. Security roles looks to be good. Error message looks like
Unexpectet Error Occured:
XXXX is NOT authorized for this function
emxNavigator Toolbar: Error: No person business object found with name ==XXX
Please suggest
Regards,
TamizHi Tamiz Amuthan
Please reffer to the following links:
SAP Logon error: Client XXX is not available...
User xxxx has no RFC Authorization for function group RSBOLAP_BICS_CONSUMER
Regards,
Shirin -
How many methods copies will create when i create multiple objects
Hi
I have big doubt in java. See the following Program
class A{
public int i;
public static int j;
public void methodOne(){
Sytem.out.println("Welcome");
public static void methodTwo(){
System.out.println("Welcome methodOne");
class B{
public static void main(String[] args){
A obj = new A();
A objOne = new A();
A objTwo = new A();
In this program how many method copies and variable copies will create when i create mulitiple objects. I am sure that only one copy j variable and methodTwo method (becz both are static) for all the objects. what about the method methodOne and i. Here how many copies will create. Could you please explain this concept very clearly.
Thanks and Regards
Sherin PoojaSherin wrote:
Sorry I pasted the previous comment with table format. Here the table format is not working
Local variables---Stack
Instance/Member/field variables---Heap
Class/static variables---Static Memory
Methods---Methods do not live on the heap or stack.Incorrect. Methods live in the method area, which is "logically part of the heap," according to the JVM spec.
Instance/Member/field variables---It will create and destroy according to object initialization and destroy.That's very poor English and doesn't really capture what happens.
policyHolder = new PolicyHolder(); //Dynamic objects will be stored in the heap.
All objects are stored in the heap. There's no distinction between "dynamic" and "static."
Class/static variables---Static variables are created when the program starts and destroyed when the program stops.Wrong. They are created when the class is loaded and destroyed when it is unloaded.
I don't know where you got all this information from, but I recommend you don't use that site. Much of it is just plain wrong, and the rest is very poorly written and imprecise.
Maybe you are looking for
-
Maintaining Issue for BBPC_UP_DOWNLOAD Contract Download/Upload in SRM 7.0
Hello Experts, I'm trying to create a new variant in BBPC_UP_DOWNLOAD table for achieving customer demands while downloading contract in SRM 7.0. I have referred many OSS notes (1612239, 812884 etc.) for this but I couldn't succeeded to maintain tabl
-
No artwork for albums in the cloud
I have a mac which hasn't got my music stored locally but I use iTunes match to play almost all my music however hardly any albums are showing any artwork. The artwork is present on my phone and gets downloaded straight away if I download a song from
-
SOLVED:Dmenu not launching correctly in Xmonad
I am running xmonad and I am having issues getting the dmenu_run to execute properly. It was working fine before but now it just launches with a white bar and nothing autocompletes. I am running Xmonad 0.9.2-2.1 and dmenu 4.4-1. Here is my entry in x
-
I have installed the cisco VMS 3.1 Enterprise edition but after installation. I am not able to open it in web page. I have checked all the services and it was running fine. But after the new installation, it is not opening in internet explorer. I hav
-
How much personally-identifiable information do websites see?
Hi folks, I just wanted to ask how much of my personally-identifible information do websites see? As in, if I go over to Disney.com and browse through it, what do their webmasters and operators see? I'm fine with websites seeing my IP address, becaus