on 2008 Oct 17 2:41 PM
Hi all,
I'm trying to get the partners of an inbound call when creating a new order through Web GUI (CRM 2007).
I put this code inside the EH_ONNEW method of an class ZL_ICCMP_ER_ERPCARTVALUEV_IMPL (enhancement of
implementation class CL_ICCMP_ER_ERPCARTVALUEV_IMPL, of view ICCMP_ERP_ORDER/ERPCartValueView).
data: lr_cuco_partner TYPE REF TO CL_ICCMP_BT_CUCOPARTNER_IMPL.
lr_cuco_partner ?= get_custom_controller( 'GLOBAL.ICCMP_BTPARTNER/CuCoPartner' ).
In the web gui after having confirmed a BP an inbound call is attached to the selected BP (section Customer Call is filled with data: partners, and so on).
But when I try to create a new order I get this exception:
An error occurred during event processing in view ERPCartValueView.htm
An exception has occurred Exception Class CX_BSP_WD_INCORRECT_IMPLEMENT - There is no node text 'BTAdminH' in controller 'ICCMP_BTPARTNER/BSPWDComponent'.
Method: CL_BSP_WD_CONTROLLER=>DO_CONTEXT_NODE_BINDING
Source Text Row: 39
What does this exception mean? How can I get partner table (or partner set) of bsp ICCMP_BTPARTNER?
Thank you in advance!
Cheers,
Luca
Request clarification before answering.
Hi Luca!
I am facing the same problem. I cant get the custom controller neither, with almost the same error message. Did you find a solution to this? If yes, please post your answer.
Thanks
Tu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello everybody and thanks for your reply! As I said, I used another way to get the data I needed, and now everything goes smooth. However:
@Vinay
No, you cannot access the custom controllers of other bsp components..
I think your right about the scope and lifecycle of the controllers, yet you can get some controllers (global ones) and I was even able to get a custom controller as a global one (even if it's not defined in the interface I posted above).
@Pankaj
I thought so too, but sometimes some errors happens...
@Nguyen
What's your problem? Maybe there are some tricks to get it out.
Cheers!
Luca
Hi Nguyen,
I mean what's the issue you have to resolve... I guessed the problem was the same as mine...
Maybe you can use another global controller. Please, have a look to IF_ICCMP_GLOBAL_CONTROLLER_CON interface attributes, and try using a controller that sound like your needs. Maybe BPIDENT, but actually it depends on what you have to do.
Cheers,
Luca
| User | Count |
|---|---|
| 2 | |
| 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.