on 09-10-2007 10:40 AM
Hi Experts,
I have created new view ZSrvTDate, and I am linking this new view to other views of same View area. In the Navigational Links, I have put in the Inbound and Outbound plug as 'default'.
When I test in ICWC, it gives me an exception error when I click on the link of new view. Error as follow:
An exception occurred during the activation of target view ZSrvTDate for the navigation
An exception has occurredException Class CX_BSP_INV_PAGE
Text: BSP Exception: Das Objekt ZSrvTDate.do in der URL /sap(bD1lbiZjPTkwMCZkPW1pbiZpPTEmcz1TSUQlM2FBTk9OJTNhcHdzYmRjcm0xX0Q4MF8wMCUzYTVFM182X3Y3cUU5N3owMnd3UmpPemJ0RFRxUDRHWk5BOVljWW9TZUwtQVRU)/bc/bsp/sap/crm_ic/default_delta.do ist nicht gültig.
Program: CL_BSP_PAGE_BASE==============CP
Include: CL_BSP_PAGE_BASE==============CM01A
Source Text Row: 117
An exception occurred in inbound plug IP_DEFAULT of target view ZSrvTDate
An exception has occurredException Class CX_SY_REF_IS_INITIAL
Text: Dereferencing of the NULL reference
Program: CL_BSP_WD_WINDOW==============CP
Include: CL_BSP_WD_WINDOW==============CM004
Source Text Row: 47
Any idea to the above? Thanks alot
Hi,
The exception is as stated a null reference.
The seems to be a problem in the building of the Navigation link.
please explain the way you have built the navigation links for inputs.
Thanks,Yella Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yella,
ZSrvTDate is the name of my new view.
I've only done the following:
- Create link to ZSrvTDate from SrvTAction view.
- DO_HANDLE_EVENT to handle the event upon clicking on the link, with outbound plug 'SrvTActionToZSrvTDate'
- Copy SrvTNavigationalLinks.xml to my custom DT BSP. Sample coding as follow:
<NavigationalLink name="SrvTActionToZSrvTDate">
<Source viewRef="SrvTAction" outboundPlugRef="default"/>
<Targets>
<Target viewRef="ZSrvTDate" inboundPlugRef="default"/>
</Targets>
</NavigationalLink>
Have I missed something? Do I need to define any inbound or outbound plug? Thanks
Hi ,
There is nothing wrong with the code, but I think what the framework does with this code is its looks for the outbound plug in the source view, if there is one outbound plug it takes it as default.if more then one the you have to specify the plug explicitly. Same with the inbound plugs.
This code should work if you have 1 outbound plug in the source view and
1 inbound plug in the target view. other then that there is no problem.
regards, Yella Reddy.
P.S : its always advised to specify inbound and outbound plugs explicitly.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.