Illegal component usage
Hello,
I created an SC, DC etc. on a fresh NWDI. Created the track on that SC, mde references and checked in SAP-JEE, SAP_BUILDT, SAP_JTECHS (7.00 SP7) (SDA I ttok from my Netweaver Server, had none on NWDI). And I created a new WebDynpro Project on that track with NWDS 7.00 SP 6 (may that be the cause of Problem?).
The Problem is I get on my still empty project after syncing all SC Archives:
Check for used DCs failed: Illegal component usage: compartment "MY_COMPONENT" does not use compartment "sap.com_SAP_BUILDT_1" of used DC "sap.com/tc/bi/bp/webDynpro"; using DC: myDC(MYComponent)
Any clue what that shall tell me????
I think in generell that procedure is much to complicated with going first to SLD for SC and Product, then to CMS to create a track, give references to SCs, you just have to know which you need. Then you have to check these SCs in and so on (I never understood that step at ALL why that is needed...). To much steps to make errors...
Best regards,
Frank
Sorry in the whole dropdown I see nothing of this three SCs. I'm at the right place to add the three SCs, but I just don't FIND them, because naming ist totally different here.
Documentation in the nice "do something but don't tell me how" style of SAP sais:
<b>Create a product and software component in System Landscape Directory (SLD). Define the build dependencies required for J2EE development on the following software components:
+ SAP_BUILDT
+ SAP_JTECHS
+ SAP-JEE
</b>
Okay found them finally Its
+ SAP J2EE ENGINE <Release> (SAP-JEE <Release>)
+ DI BUILD TOOL <Release> (SAP_BUILDT <Release>)
+ SAP JAVA TECHNOLOGY SERVICES <Release> (SAP_JTECHS <Release>)
for all other who are searching for them. Found it at:
<a href="http://help.sap.com/saphelp_nw04s/helpdata/de/e1/2aa0753d12479cb6f21c38371299a7/content.htm">Creating a SC in the SLD</a>
and guessed that SAP Build Tool is now the DI Build Tool...
Similar Messages
-
Illegal component usage: compartment
Hi experts,
We have a Track on NWDI for CAF and WebDynpro development that depends on 12 SAP SCs, those are: CAF, CAF-MF, COMP_BUILDT, ENGFACADE, ENGINEAPI, ESCONF_BUILDT, ESF, FRAMEWORK, MMR_SERVER, MOIN_BUILDT, SAP_BUILDT, WD-RUNTIME. Our CAF DC /caf/ejbmodule is not compiling with build error message:
ERROR: Check for used DCs failed: Illegal component usage: compartment "mycompany.com_COMPONENTSERVICES_1" does not use compartment "sap.com_COMP_BUILDT_1" of used DC "sap.com/bie/sca/scdl/contributors/ejb"; using DC: com.sap.tc.devconf.internal.DCProxyMake@152d5de
Build failed with errors.
At CBS, the COMP_BUILDT is not compiling as well, even after the reimport of the DCs on CMS Transport Studio. On CBS Details of build are "USAGE IS FORBIDDEN BY SOFTWARE COMPONENT".
Searchig on SDN I´ve found this Wiki (NWDI)(CMS)Problems-P0007 that leads to SAP Note 669669. After the update of SLD CIM to model version 1.6.16 and CR Content SAP_CR 7.0 we made "Update CMS" and also reimported the SAP DCs on that track, but the error didn´t disappear.
What am I doing wrong?Did you manage to solve the problem?
-
ABAP webDynpro MS Office component usage throws - Access via 'NULL' object
I am trying to include MS office word in my custom ABAP webDynro application based on the sample SAP Package SIOS for all the MS office component usage. <br>
In WDMODIFY method , when the courser is reaching the point to call office component it throws a Null pointer exception. Not sure , if i am missing some thing here or skip a step. Please advice. <br>
get the IOS interface <br>
wd_this->factory ?= office->_method_handler. <br>
Below is the code for WDMODIFY <br>
method WDDOMODIFYVIEW . <br>
DATA: <br>
office TYPE REF TO cl_wd_view_element, <br>
office_res TYPE REF TO cl_wd_view_element,<br>
mime_repository TYPE REF TO if_mr_api,<br>
content TYPE xstring, <br>
url TYPE string VALUE <br>
'/SAP/BC/WebDynpro/SAP/PUblic/BC/ssr/uuielibs/office_integration' & <br>
'/iostest_fields.doc'. <br>
DATA refexp TYPE REF TO cx_ios_exception.
DATA: msgid TYPE syst-msgid,
msgnr TYPE syst-msgno,
msgty TYPE syst-msgty.
get message manager
DATA: l_current_controller TYPE REF TO if_wd_controller,
l_message_manager TYPE REF TO if_wd_message_manager.
DATA envproxy TYPE REF TO if_ios_environment.
just do it once
CHECK first_time = abap_true.
mime_repository = cl_mime_repository_api=>get_api( ).
CALL METHOD mime_repository->get
EXPORTING
i_url = url
IMPORTING
e_content = content.
wd_context->set_attribute( name = 'DATAS' value = content ).
get the office control
office ?= view->get_element( 'GENERIC_OFFICE' ).
ASSERT ID sios_demo CONDITION office IS BOUND.
not possible : Missing bugfix component bc-wd-aba
office_res ?= view->get_element( 'RESULT_DOCUMENT' ).
ASSERT ID sios_demo CONDITION office IS BOUND.
get the IOS interface
wd_this->factory ?= office->_method_handler.
ASSERT ID sios_demo CONDITION wd_this->factory IS BOUND.
wd_this->factory_res ?= office_res->_method_handler.
ASSERT ID sios_demo CONDITION wd_this->factory_res IS BOUND.
TRY.
wd_this->factory->get_wordprocessing_proxy(
IMPORTING proxy = wd_this->document ).
ASSERT ID sios_demo CONDITION wd_this->document IS BOUND.
wd_this->factory_res->get_wordprocessing_proxy(
IMPORTING proxy = wd_this->document_res ).
ASSERT ID sios_demo CONDITION wd_this->document IS BOUND.
*calling setfields
DATA co_error_info_getfields TYPE REF TO if_wd_context_element.
DATA co_error_info_getfields_stru TYPE wdr_ext_attribute_pointer.
co_error_info_getfields = wd_context->get_lead_selection( ).
co_error_info_getfields_stru-attribute_name =
'error_info_getfields'.
co_error_info_getfields_stru-element = co_error_info_getfields.
DATA fields TYPE if_ios_wordprocessing=>fields_type.
DATA fieldstable TYPE if_ios_wordprocessing=>fields_type_table.
DATA co_fieldcontent TYPE REF TO if_wd_context_element.
DATA co_fieldcontent_stru TYPE wdr_ext_attribute_pointer.
DATA inputfield1 TYPE xstring.
DATA tabulator TYPE xstring.
DATA endofline TYPE xstring.
DATA: conv TYPE REF TO cl_abap_conv_out_ce.
DATA: testfielddata TYPE string.
testfielddata = 'SAPTEST'.
conv = cl_abap_conv_out_ce=>create( encoding = '4110'
ignore_cerr = abap_true ).
CALL METHOD conv->convert( EXPORTING data = 'field1'
IMPORTING buffer =
fields-fieldidentifier ).
CALL METHOD conv->convert( EXPORTING data = testfielddata
IMPORTING buffer = fields-value
CALL METHOD conv->convert( EXPORTING data =
cl_abap_char_utilities=>horizontal_tab
IMPORTING buffer = tabulator ).
CALL METHOD conv->convert( EXPORTING data =
cl_abap_char_utilities=>cr_lf
IMPORTING buffer = endofline ).
wd_context->set_attribute( name = 'inputfield1'
value = testfielddata ).
APPEND fields TO fieldstable.
wd_context->set_attribute( name = 'fieldcontent' value =
fieldstable ).
co_fieldcontent = wd_context->get_lead_selection( ).
co_fieldcontent_stru-attribute_name = 'fieldcontent'.
co_fieldcontent_stru-element = co_fieldcontent.
document is set through datasource!
wd_this->document->setfields( EXPORTING fieldsptr =
co_fieldcontent_stru
tabulator = tabulator
endofline = endofline
errorinformation =
co_error_info_getfields_stru ).
*calling opening result document
DATA co_error_getcontent TYPE REF TO if_wd_context_element.
DATA co_error_getcontent_stru TYPE wdr_ext_attribute_pointer.
co_error_getcontent = wd_context->get_lead_selection( ).
co_error_getcontent_stru-attribute_name = 'error_getcontent'.
co_error_getcontent_stru-element = co_error_getcontent.
DATA co_createdcontent TYPE REF TO if_wd_context_element.
DATA co_createdcontent_stru TYPE wdr_ext_attribute_pointer.
co_createdcontent = wd_context->get_lead_selection( ).
co_createdcontent_stru-attribute_name = 'createdcontent'.
co_createdcontent_stru-element = co_createdcontent.
waiting of ACF Patch!
wd_this->document->getcontent( errorinformation =
*co_error_getcontent_stru
contentpointer_result = co_createdcontent_stru ).
*calling reopening template
DATA error_opendocument TYPE REF TO if_wd_context_element.
DATA error_opendocument_stru TYPE wdr_ext_attribute_pointer.
error_opendocument = wd_context->get_lead_selection( ).
error_opendocument_stru-attribute_name = 'error_opendocument'.
error_opendocument_stru-element = error_opendocument.
wd_this->document_res->if_ios_document~opendocument( EXPORTING errorinformation = error_opendocument_stru ).
CATCH cx_ios_document INTO refexp.
CATCH cx_ios_communicationwrapper INTO refexp.
CATCH cx_ios_factory INTO refexp.
CATCH cx_ios_environment INTO refexp.
CATCH cx_ios_exception INTO refexp.
ENDTRY.
IF refexp IS NOT INITIAL.
refexp->get_message( IMPORTING
mtype = msgty
number = msgnr
mid = msgid ).
l_current_controller ?= wd_this->wd_get_api( ).
CALL METHOD l_current_controller->get_message_manager
RECEIVING
message_manager = l_message_manager.
report message
CALL METHOD l_message_manager->report_t100_message
EXPORTING
msgid = msgid
msgno = msgnr
msgty = msgty.
ENDIF.
endmethod.
Edited by: suryajoshi on Jan 13, 2011 5:04 PMThanks for your reply.
I have defined DATAS attribute as XSTRING. You are right i am using SIOS code from WDMODIFY.
I am getting exception at this line: Please advice. Its seems that factory is not been recognize. I double check , factory is present in attributes Tabs of the View.
get the IOS interface
wd_this->factory ?= office->_method_handler.
ASSERT ID sios_demo CONDITION wd_this->factory IS BOUND. -
No component usage created in enhanced web dynpro component
Hi experts,
I am facing the following problem:
I'd like to enhance a web dynpro component in order to add a popup window. The popup is triggered by the process_event method. So far everything works just fine.
But the popup needs to know some context attributes from the main component, and I cannot create a component usage in order to set the context mapping.
Does anybody know how to solve this issue?
Thanks and regards
Jan Phillip HöftHi!
Thanks for your answers first of all.
I need the popup to be a stand alone web dynpro component, so I guess the assistant class doesn't do the trick because I can not access it in the popup component.
The popup is called when the business object is saved. So that the user is asked to notify other users that the document has changed. In this popup the user should fill in the message and click a button to send it and close the popup.
So I tried the OBN approach as well but with two problems :
1. I cannot close the popup component by coding (button click) because it has no direct parent component
2. The save event is not run through properly so the document stays locked by the user. But I didn't look into this yet.
So it would be perfect to have an embedded popup component which is based on a stand alone web dynpro application so it can be closed properly but it need at least access to the guid of the main component.
Anybody got an idea for this?
Thanks and regards
Jan Phillip Höft -
Dynamic create Component usage and embed it in view container
There is a view_container_uielement VC_TEST in view V_MAIN, in wd component ZTEST.
I created a web dynpro component named ZWDR_TEST and add it into the wd component ZTEST.
gr_comp_test = component->create_cmp_usage_group(
name = 'TEST_GROUP'
used_component = 'ZWDR_TEST' ).
lr_comp_usage = me->gr_comp_test->add_component_usage(
embedding_position = 'V_MAIN/VC_TEST'
name = 'TEST'
used_component = 'ZWDR_TEST' ).
if lr_comp_usage->has_active_component( ) is initial.
lr_comp_usage->create_component( component_name = 'ZWDR_TEST' ).
endif.
ifc_test ?= lr_comp_usage->get_interface_controller( ).
I thought the wdr ZWDR_TEST was embeded in the view V_MAIN in the position VC_TEST by the embedding_position parameter.
But in the result web page, there is no ZWDR_TEST in the position of VC_TEST.
Could any one explain why?
ThanksHi,
for dynamic comp usage.. check this..
http://help.sap.com/saphelp_nw70/helpdata/en/bc/191a427ff6db2ce10000000a1550b0/frameset.htm
Dynamic Component Usage
embed view
Dynamic View embed
How to create a webdynpro view dynamically and embed into view container?
Cheers,
Kris. -
Component Usage error in MSS Leave Request approval
Hi All,
We are getting the below mentioned error only for few users while approving the leave request in MSS.
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(FPMConfigurationUsage): Active component must exist when getting interface controller. (Hint: Have you forgotten to create it with createComponent()? Should the lifecycle control of the component usage be "createOnDemand"?
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.ensureActiveComponent(ComponentUsage.java:773)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceControllerInternal(ComponentUsage.java:348)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceController(ComponentUsage.java:335)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetFPMConfigurationUsageInterface(InternalFPMComponent.java:245)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.changeToExceptionPerspective(FPMComponent.java:861)
... 41 more
Kindly share your views on the same.
Thanks and Regards,
Vivek.Hi Anup,
Please find the complete Trace below.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; MS-RTC LM 8)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0013.20080611120129.0000 (release=NW04S_13_REL, buildtime=2008-09-11:17:05:50[UTC], changelist=42127, host=pwdfm114), build date: Wed Nov 19 19:21:28 CET 2008
J2EE Engine 7.00 patchlevel 109044.44
Java VM IBM J9 VM, version:2.3, vendor: IBM Corporation
Operating system AIX, version: 5.3, architecture: ppc64
Session & Other
Session Locale en
Time of Failure Sat Jan 02 12:26:56 CET 2010 (Java Time: 1262431616916)
Web Dynpro Code Generation Infos
sap.com/ess~lea
SapDictionaryGenerationCore 7.0011.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:02:43[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0011.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:02:51[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0010.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:40:44[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0011.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:08:25[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:39[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:32[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0011.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:00:20[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0011.20061227101814.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:05:13[UTC], changelist=431317, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:21:35[UTC], changelist=434634, host=pwdfm101)
SapWebDynproGenerationCore 7.0011.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:08:35[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:21:35[UTC], changelist=434634, host=pwdfm101)
sap.com/pcui_gp~xssutils
SapDictionaryGenerationCore 7.0011.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:02:43[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0011.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:02:51[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0010.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:40:44[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0011.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:08:25[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:39[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:32[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0011.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:00:20[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0011.20061227101814.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:05:13[UTC], changelist=431317, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:21:35[UTC], changelist=434634, host=pwdfm101)
SapWebDynproGenerationCore 7.0011.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:08:35[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:21:35[UTC], changelist=434634, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/pcui_gp~xssfpm
SapDictionaryGenerationCore 7.0011.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:02:43[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0011.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:02:51[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0010.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:40:44[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0011.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:08:25[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:39[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:32[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0011.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:00:20[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0011.20061227101814.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:05:13[UTC], changelist=431317, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:21:35[UTC], changelist=434634, host=pwdfm101)
SapWebDynproGenerationCore 7.0011.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:08:35[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:21:35[UTC], changelist=434634, host=pwdfm101)
sap.com/tcwdcorecomp
No information available null
sap.com/pcui_gp~tecl
SapDictionaryGenerationCore 7.0011.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:02:43[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0011.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:02:51[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0010.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:40:44[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0011.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:08:25[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:39[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:32[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0011.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:00:20[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0011.20061227101814.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:05:13[UTC], changelist=431317, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:21:35[UTC], changelist=434634, host=pwdfm101)
SapWebDynproGenerationCore 7.0011.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:08:35[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:21:35[UTC], changelist=434634, host=pwdfm101)
Detailed Error Information
Detailed Exception Chain
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(FPMConfigurationUsage): Active component must exist when getting interface controller. (Hint: Have you forgotten to create it with createComponent()? Should the lifecycle control of the component usage be "createOnDemand"?
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.ensureActiveComponent(ComponentUsage.java:773)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceControllerInternal(ComponentUsage.java:348)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceController(ComponentUsage.java:335)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetFPMConfigurationUsageInterface(InternalFPMComponent.java:245)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.changeToExceptionPerspective(FPMComponent.java:861)
at com.sap.pcuigp.xssfpm.java.MessageManager.handleException(MessageManager.java:258)
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:103)
at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModelInternal(BackendConnections.java:323)
at com.sap.pcuigp.xssfpm.wd.BackendConnections.initBackend(BackendConnections.java:256)
at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModel(BackendConnections.java:154)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.connectModel(InternalBackendConnections.java:237)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.connectModel(FPMComponent.java:841)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.connectModel(FPMComponent.java:1071)
at com.sap.pcuigp.xssfpm.wd.BackendConnections.init(BackendConnections.java:141)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.init(InternalBackendConnections.java:233)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:182)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Thanks and Regards,
Vivek. -
Why do I get Illegal Component position when I say FlowLayout.CENTER
The code runs fine if you replace the line
Jp7.add(submitButton, FlowLayout.CENTER);
with
Jp7.add(submitButton);
I know FlowLayout's default location is CENTER. But when I explicitly say to center the button, it crashes during runtime but compiles fine.
Whats the reason for this? Is this a bug?
I am using 1.4.0_03.
I getthe following error.
Exception in thread "main" java.lang.IllegalArgumentException: illegal component
position
at java.awt.Container.addImpl(Container.java:568)
at java.awt.Container.add(Container.java:327)
at Mon2.main(Mon2.java:114)
ALSO CAN I DO THE SAME WITHOUT USING SO MANY JPANELS?????????????????? I AM NOT NEW TO PROGRAMMING BUT I AM NEW TO GUI PROGRAMMING.
Thanks in advance.
import java.sql.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class Mon2 extends JFrame{
static long i =0;
static int jobid = 0;
static String StartTime = "";
static String LastReport = "";
static String FinishTime = "";
static String Description = "";
static String job_position = "";
static String desc ="";
public static String database = "";
public static String user = "";
public static String password = "";
static int counter = 1;
static boolean valuesEntered = false;
JButton jButton1 = new JButton();
JButton jButton2 = new JButton();
JButton jButton3 = new JButton();
BorderLayout borderLayout1 = new BorderLayout();
JLabel jLabel1 = new JLabel();
JTextPane jTextArea1 = new JTextPane();
static JTextField userArea = new JTextField();
static JPasswordField passArea = new JPasswordField();
static JTextField databaseArea = new JTextField();
static JFrame f = new JFrame();
static JLabel us = new JLabel ("UserName: ");
static JLabel pa = new JLabel ("Password: ");
static JLabel da = new JLabel ("Database: ");
BorderLayout borderLayout2 = new BorderLayout();
JPanel jPanel1 = new JPanel();
JLabel jLabel2 = new JLabel();
public Mon2() {
try {
jbInit();
catch (Exception e) {
e.printStackTrace();
public static void main(String args[]) {
System.out.println("Starting Mon2...");
f.setSize(300,200);
f.setTitle("Login");
f.setLocation(250,250);
f.setResizable(false);
Panel Jp1 = new Panel (new BorderLayout());
Panel Jp3 = new Panel (new BorderLayout());
Jp3.add(us, BorderLayout.NORTH);
Jp3.add(pa, BorderLayout.CENTER);
Jp3.add(da, BorderLayout.SOUTH);
userArea.setEditable(true);
userArea.setSize(20,20);
passArea.setEditable(true);
databaseArea.setEditable(true);
JButton submitButton = new JButton("Submit");
JPanel Jp2 = new JPanel (new BorderLayout());
JPanel Jp4 = new JPanel (new FlowLayout());
userArea.setPreferredSize(new Dimension(200,21));
Jp4.add(userArea, FlowLayout.LEFT);
Jp4.add(us, FlowLayout.LEFT);
JPanel Jp5 = new JPanel (new FlowLayout());
passArea.setPreferredSize(new Dimension(200,21));
Jp5.add(passArea,FlowLayout.LEFT);
Jp5.add(pa, FlowLayout.LEFT);
JPanel Jp6 = new JPanel (new FlowLayout());
databaseArea.setPreferredSize(new Dimension(200,21));
databaseArea.setText("DWPROD");
Jp6.add(databaseArea,FlowLayout.LEFT);
Jp6.add(da, FlowLayout.LEFT);
Jp1.add(Jp4, BorderLayout.NORTH);
Jp1.add(Jp5, BorderLayout.CENTER);
Jp2.add(Jp6, BorderLayout.NORTH);
JPanel Jp7 = new JPanel(new FlowLayout());
///////////////////////////This is the line//////////////////
//If you remove the ,FlowLayout.CENTER it works fine.
//If you leave it like as it is, it will compile but then give runtime error
Jp7.add(submitButton, FlowLayout.CENTER);
Jp2.add(Jp7, BorderLayout.SOUTH);
Jp1.add(Jp2, BorderLayout.SOUTH);
f.getContentPane().add(Jp1);
Image img = Toolkit.getDefaultToolkit().getImage("c:\\appletHeader.gif");
f.setIconImage(img);
f.setDefaultCloseOperation(3);
f.setVisible(true);
f.pack();
submitButton.resize(75, 30);
submitButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
user = userArea.getText();
password = passArea.getText();
database = databaseArea.getText();
if((user.equals(null) || password.equals(null) || database.equals(null) || user.equals("") || password.equals("") || database.equals(""))){
valuesEntered = false;
else{
valuesEntered = true;
if(valuesEntered == true){
f.setVisible(false);
Mon2 mainFrame = new Mon2();
mainFrame.setSize(600, 400);
mainFrame.setTitle("Monitor");
mainFrame.setLocation(100,200);
mainFrame.setResizable(false);
desc = "ERROR! or there are no locked jobs.";
mainFrame.setVisible(true);
else{
JOptionPane.showMessageDialog(null,"Must enter values for UserName, Password and Database", "Value Required",JOptionPane.INFORMATION_MESSAGE);
// System.exit(0);
private void jbInit() throws Exception {
this.setDefaultCloseOperation(3);
jButton1.setText("Refresh");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton1_actionPerformed(e);
jButton2.setText(" Exit ");
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
System.exit(0);
this.getContentPane().setLayout(borderLayout1);
jButton3.setText("Clear");
jButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
jTextArea1.setText("Click on Refresh to update screen.");
Panel p = new Panel(new FlowLayout());
Panel p2 = new Panel (new BorderLayout());
jLabel1.setText("Monitor for current Job");
jTextArea1.setPreferredSize(new Dimension(8, 50));
jTextArea1.setContentType("text/html");
jTextArea1.setText("");
jTextArea1.setEditable(false);
f.setResizable(false);
f.setTitle("Login");
jLabel2.setHorizontalTextPosition(SwingConstants.LEFT);
jLabel2.setText("jLabel2");
jLabel2.setHorizontalAlignment(SwingConstants.LEFT);
f.getContentPane().setLayout(borderLayout2);
jTextArea1.setSize(100,10);
p.add(jButton1);
p.add(jButton3);
p.add(jButton2);
this.getContentPane().add(jLabel1, BorderLayout.NORTH);
this.getContentPane().add(jTextArea1, BorderLayout.CENTER);
p2.add(p, BorderLayout.CENTER);
this.getContentPane().add(p2, BorderLayout.SOUTH);
pack();
f.getContentPane().add(jPanel1, BorderLayout.CENTER);
jPanel1.add(jLabel2, null);
void jButton1_actionPerformed(ActionEvent e){
jTextArea1.setText("Refreshing...");
long i = 0;
try{
jTextArea1.setText("In side try block");
Thread.sleep(1000);
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
jTextArea1.setText("DriverManager");
Connection conn=
DriverManager.getConnection("jdbc:oracle:thin:@machine:1234:"+ database, user, password);
jTextArea1.setText("Got COnnection");
Statement stmt = conn.createStatement();
jTextArea1.setText("Statement Created");
ResultSet rs =
stmt.executeQuery("select 1, sysdate, sysdate, sysdate, sysdate, sysdate from dual ");
jTextArea1.setText("Query Executed");
while(rs.next()){
jobid = rs.getInt(1);
StartTime = rs.getString(2);
LastReport = rs.getString(3);
FinishTime = rs.getString(4);
Description = rs.getString(5);
job_position = rs.getString(6);
desc = "<b>Count: </b>" + counter + "" +
"<p><table border = '1'><tr><td><b>JOB ID: </b></td><td>" + jobid + "</td></tr>" +
"<tr><td><b>Start Time: </b></td><td>" + StartTime + "</td></tr>" +
"<tr><td><b>Last Report: </b></td><td>" + LastReport + "</td></tr>" +
"<tr><td><b>FinishTime: </b></td><td>" + FinishTime + "</td></tr>" +
"<tr><td><b>Description: </b></td><td>" + Description + "</td></tr>" +
"<tr><td><b>Position: </b></td><td>" + job_position + "</td></tr></table>";
counter = counter + 1;
rs.close();
conn.close();
jTextArea1.setText("Sleeping");
jTextArea1.setText(desc);
desc = "";
catch (SQLException se){
jTextArea1.setText(desc + se);
catch(Exception ee){
jTextArea1.setText("Exception occured\n\n" + ee);
}Get your basics checked.
Go to:
http://developer.java.sun.com/developer/onlineTraining/GUI/AWTLayoutMgr/shortcourse.html#whatAreLMs
And find the heading: FlowLayout Variations
FlowLayout can be customized at construction time by passing the
constructor an alignment setting:
FlowLayout.CENTER (the default)
FlowLayout.RIGHT
FlowLayout.LEFT -
How to close a pop up window of used component ( usage defined )
Hi Friends ,
I'm calling a window as a pop up of used component ( Usage defined ). I want to close that pop up using a button on the embedded view of that window.
it would be great help If any one can help me in this.
Regards,
Laeeq>
Laeeq Siddique wrote:
> Hi Silke ,
>
> I Want to close a pop up using a botton on embedded view of window of used component and I do not have the refrence of window object there. I know what you are talking about but its not that simple.
>
> Regards,
> Laeeq
Actually it is pretty simple. From the embedded view you can use the APIs to get access to the hosting window object.
data l_api_v_new_attachment type ref to if_wd_view_controller.
l_api_v_new_attachment = wd_this->wd_get_api( ).
data window_controller type ref to if_wd_window_controller.
window_controller = l_api_v_new_attachment->get_embedding_window_ctlr( ).
data window type ref to if_wd_window.
window = window_controller->get_window( ).
window->close( ). -
How to get active component of other components component usage
Hi all,
let me try to describe you the issue.
I've got three components interacting with another. Lets call them CA, C1 and C2.
CA uses both C1 and C2, so CA has component usages CUA1 and CUA2. But C1 also uses C2 with component usage CU12.
C1 calls an interface method of component usage CU12 (of component C2).
But although I've got an active component on CA-level for CUA1 (lets call this active component ACT1), C1 does not call the interface method of ACT1. (Even events are not triggered.)
How can I assign the active component of CUA1 to C1 at runtime and how do I call its interface method from C1?
Can I search for active components within C1 by name (I've got several active components, how do I differentiate them)?
Thank you for your help.
ismail
FYI: The scenario:
CA uses C1 as a global search component.
CA has several list components C2.1, C2.2 etc.
C2.1 lists all arrival/departure flights from NY. It also offers a minor search functionality for flight regarding NY.
C2.2 lists all arrival/departure flights from LA. It also offers a minor search functionality for flight regarding LA. etc...
I want to use C1 as a global search which uses the minor searches of C2.1, C2.2 etc. The outcome of the minor searches shall be displayed in C1, but also in C2.1, C2.2 etc. when I switch to the C2.1, C2.2 etc.
Example usage 1:
1. At CA I go to C2.1 and search for all flights to NY from London.
2. Then I switch to C2.2 and search for all flights from LA to Berlin.
3. When I switch back to C2.1 the former results remain there, I can still see all flights to NY from London.
Example usage 2:
1. At CA I go to C1 and make a global search for all departures to London.
2. If I now switch to C2.2 I want to see all flights from LA to London, without a search here.
3. If I now switch to C2.1 I want to see all flights from NY to London, without a search here.You use a desktop pane, but save a reference as a JLayeredPane. So make the reference of type JDesktopPane and check out [the documentation API|http://java.sun.com/javase/6/docs/api/javax/swing/JDesktopPane.html#getSelectedFrame()].
For the next time, bookmark [http://java.sun.com/javase/6/docs/api/] and use you browsers search function to quickly jump to the class you want. Swing component usually also have a link to the relevant tutorial. -
Component usage in web dynpro abap
Hi everyone,
I am basically SAP ABAP consultant and I am very new to SAP EP, can anybody please help me out what is Component usage in web dynpro abap?If anyone please can refer the process how to create Component usage it will be clearer to understand.
Thanks,
Sonali.Hi,
Please go through below pdf document which will help in understanding the componenet usage in webdynpro ABAP.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2e71ce83-0b01-0010-11a4-98c28a33195f
Hope it will help you.
Raghu -
External component usage with interface node
Hi everyone,
I have component A , which has an interface node with Input element checked:
Nodes
Node Name IF_HROBJID
Interface Node 1
Input Element (Ext.) 1
Dictionary structure ZHR_HROBJID_LIST
Cardinality 0..n
I have another component: Component B Where I want to bind a table to this interface node.
In component B :
1. I definied the Componenet Usage of component B in the componenet controller.
2. I drag & drop the IF_HROBJID node to the component controller's context (the node is mapped)
But when I try to bind a table, I always get the " The Mapping to Node COMPONENTCONTROLLER.1.IF_HROBJID Has Not Been Completed. " error.
nd_if_hrobjid = wd_context->path_get_node( path = 'IF_HROBJID' ).
nd_if_hrobjid->bind_table( lt_if_hrobjid ).
Can someone tell me what is the problem, and how can I solve it?
Thanks
N.Hi,
Here you are trying to use component A in component B right?
Then what you need to do is:
1. Declare the component usage of A say A_USAGE in properties tab of component B.
2. Create a node say 'DATA' in component controller of component B. The node 'DATA' would have the same structure as the node in your component A.
3. Fill the node 'DATA' in component controller's method.
4. Under your webdynpro component B, you will see Component Usages -> A_USAGE. open interface controller inside that.
Goto context tab and drag the 'DATA' node from component controller of B on to the node in interface controller.
Hope this is clear!
Best Regards,
Srilatha -
Avoid rendering of (view,component Usage embedded on TAB) on Timed Trigger
Hi,
I have a WD application build based on header ( icons; normal label; input elements ) , a timed trigger and a tab strip which has 3 tabs. The 3 tabs have View container element for whcih i am attaching 3 views of the same component . TAB A part which i am viewing holds a image. The Timed Trigger is needed to enable icon on the header. This is happening well after my delay time of 60 SECS. But this one is having impact of regenerating the image again ( due to the rendering ) which is not at all required. I want to have the rendering only for the above header part only. But as i heard from Thomas post that after the phase cycle is done. rendering loads all the views, component usages embedded for the VIEW.
conditonally i am doing the action of CANCEL NAVIGATION in WDDOBEFORENAVIGATION when Timed Trigger fires.Due to this one i could avoid the MODIFYVIEW calls of the respective views embedded; but i could not avoid the rendering of the IMAGE ( TAB A ).
Is there any way to avoid the rendering on those tabs part ( 3 views embedded ). I could see that DELTA rendering is enabled for my sap version but it would be not much help.
Thanks and Regards,
Satish A.Hi Alex.
I already tried this. But a bit different. One of my component should have different entry views. So I defined multiple interface inbound plugs in the window of the subcomponent. In the corresponding (inbound) handler methods of the window I fired corresponding outbound plugs which were connected to different views. The main component had different links which were connected to the corresponding interface inbound plugs of the embedded component.
When I clicked the first link, the correct view of the subcomponent was shown. When I then clicked the next link which should show another view of the same subcomponent the corresponding inbound handler was called but no navigation was done.
Now when I rest the component before navigating everything works fine.
But thanks for the hint.
Cheers,
Sascha -
How to switch between different instances of component usage?
Hi All,
Need your help.
My application is about "Program Management", there is a table on the upper level which displays several program header data. in the lower level of the screen, I have a view container in which I embed another component to display program details.For instance,if you make a lead selection on one row of the table above, then the lower part will display the program detail.
Here is the problem: e.g. first, I make a selection on program '001', then I'll create a component usage of the program detail and I put it into a component uage group, second, I make a selection on program '002', then the same like above, I create another component usage and put it into a component usage group. Now I have two instances of program detail component usage, when I select program '001' again, how can I switch back to program '001' detail.
So, I'm trying to achieve multiple instances of program detail so that user don't need to wait for loading program details everytime.
Thanks in advance.
Regards,
Aaron
Edited by: Aaron Shen No.2 on Sep 22, 2009 3:44 AMHi Aaron,
As you are using two separate components, they would be having two separate views to display the required information.
In the onleadselect of your main view ( where you are using the individual views of the other components via the viewcontainerUI ), you have to embed the following code:
DATA lo_api_main TYPE REF TO if_wd_view_controller.
lo_api_main = wd_this->wd_get_api( ).
CALL METHOD LO_API_MAIN->FIRE_PLUG
EXPORTING
PARAMETERS =
PLUG_NAME = 'OP_TO_TWO'
Create two outbound plugs in your window, and link them to the inbound plugs of the individual views of used components.
I am embedding the code of my onleadselection:
method ONACTIONSELECTED .
DATA lo_nd_table_data TYPE REF TO if_wd_context_node.
DATA lo_el_table_data TYPE REF TO if_wd_context_element.
DATA ls_table_data TYPE wd_this->element_table_data.
DATA lt_table_data TYPE wd_this->elements_table_data.
data lv_selected_index type i.
navigate from <CONTEXT> to <TABLE_DATA> via lead selection
lo_nd_table_data = wd_context->get_child_node( name = wd_this->wdctx_table_data ).
get element via lead selection
lo_el_table_data = lo_nd_table_data->get_element( ).
CALL METHOD LO_EL_TABLE_DATA->GET_INDEX
RECEIVING
MY_INDEX = lv_selected_index
case lv_selected_index.
when 1.
data lo_cmp_usage type ref to if_wd_component_usage.
lo_cmp_usage = wd_this->wd_cpuse_comp_one( ).
if lo_cmp_usage->has_active_component( ) is initial.
lo_cmp_usage->create_component( ).
endif.
DATA lo_api_main TYPE REF TO if_wd_view_controller.
lo_api_main = wd_this->wd_get_api( ).
CALL METHOD LO_API_MAIN->FIRE_PLUG
EXPORTING
PARAMETERS =
PLUG_NAME = 'OP_TO_ONE'
clear lo_cmp_usage.
when 2.
DATA lo_api_main TYPE REF TO if_wd_view_controller.
lo_api_main = wd_this->wd_get_api( ).
CALL METHOD LO_API_MAIN->FIRE_PLUG
EXPORTING
PARAMETERS =
PLUG_NAME = 'OP_TO_TWO'
data lo_cmp_usage type ref to if_wd_component_usage.
lo_cmp_usage = wd_this->wd_cpuse_comp_two( ).
if lo_cmp_usage->has_active_component( ) is initial.
lo_cmp_usage->create_component( ).
endif.
endcase.
endmethod.
Regards,
Prosenjit. -
Problem while using Component Usage
Hi,
I am using Component - BT116IT_SRVO/TableWindowOVE as component usage in my component - SRQM_INCIDENT_H. Added this as assignment block.
The problem is :
It is not showing any button as "Edit List" as it is showing in Service Order. And I am not able to see any values in dropdown to select "SHOW".
Can you please help me, how to enable Edit List and how to make it work as same in Service Order.
Thanks,
SandeepHi Sandeep
Check whether you have added below formate to the ComponentUsages of SRQM_INCIDENT_H. If not add like below. It will get you out from the issue.
ComponentUsage :CUItemTable
Used Component : BT116IT_SRVO
InterfaceView: BT116IT_SRVO/TableWindowOVE
InterfaceView :TableWindow
Once you added component usage properly as mentioned above, you can able see below lines of code in Repository.xml of SRQM_INCIDENT_H. BUT Dont cahnge manually in Repository.xml
<!-- Declaration of windows -->
<Window id="SRQM_INCIDENT_H/MainWindow" default="TRUE">
<EmbeddedView id="CUItemTable.TableWindow"/>
</Window>
<ViewSet id="SRQM_INCIDENT_H/IncidentOV">
<EmbeddedView id="CUItemTable.BT116IT_SRVO/TableWindowOVE"/>
</ViewSet>
Now restart your browser and test the application.
Thanks
Chand -
Component Usage in Select Options
Hi
I need to bring Profit Center Hierarchy in Select Options of Webdynpro for Profit Center field.
For this have created component Usage with hierarchy which works fine in case of input field but I want to make it work on select options field for using the select options functionality.
Pls suggest if there is any way by which we can link component usage on Select Options field.
Regards
VishalHi Madhu,
When i am trying this way, it is giving me the following dump
"Component usage PRCTR_F4 does not exist"
The component PRCTR_F4 is there in the Component use list.
Also only OVS can be used for select option?? b'coz hwen i debugg the application whe using this search help, i can see only OVS as component usage.
Waiting for your reply....
Thanks & Regards,
Arvind
Maybe you are looking for
-
Crystal Report Viewer Error Handling
Dear All Thank you for your attention. I wrote a C# program for user to print out an order using WPF and crystal report viewer. Computer A is connected directly to the printer through USB. Computer B and C are connected to the printer through printer
-
Facebook messages and online chat works on IE, but not Firefox ver. 12.0
The lower right online box is empty, says "Loading", when I try to send a message, it hangs.
-
I would like to refer to the problem of Mail asking multiple (50 plus) a day for the passwords for POP accounts. The question has been posted a couple of times here and a dozens of times in other forums. Nobody was able to give an answer. If nobody h
-
I had already forgot my answer ! Now I can't purchase any app, help ! Thanks!
Hi,I want to buy some apps today. While I was ready to purchase , the store ask me to answer my security questions. But I had already forgot my answer ! Now I can't purchase any app, help ! Thanks!
-
Use of DEFAULT tablespace while re-enabling constraint
Using 8.1.7.2. While trying to re-enable a constraint on a table, we hit a ORA-01630. According to the error message, Oracle was trying to use the DEFAULT tablespace (USERS) instead of the TEMPORARY tablespace (TEMP) to do the work. Why would Oracle