on 07-21-2009 9:26 AM
Hello All.
I created a Z component.
In that component I created one View.
In that view i have the context node with BOL object - BTAdminH
In configuration also i am selecting the fields.
But I am unable to capture the data.
In that i write like
data: lr_ent type ref to CL_CRM_BOL_ENTITY.
lr_ent ?= me->typed_context->btadminh->collection_wrapper->get_current( ).
I write this code in the EDIT button event.
But lr_ent is not capture any value.
BTADMINH is there in the CTXT class.
In debugging GET_CURRENT( ) method
me->collection_ref->collection
is not having any value.
I do not know why it is not having any value.
When I am using value node it is working fine.
But when i am using BOL object at that time only it is not getting any value.
Can anybody give me suggision to solve this problem.
In stadard it is working fine.
How it is working in Stadard i did not understand.
Why it is not working in Z component.
How we can use BOL objets in Z components.
Please give me some solution.
Regards,
B. Krishna.
unanswered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi krishna
Is this a Z component to be used within a standard component?
->then you need to create a usage definition to this component from standard
->expose btadminh as public context through component controller
->create binding to the standard btadminh through the usage initialize method
then it should be okay
If the Z component is standalone , then create Root object BTorder and BTAdminH node should having a hierarchial relationship to this. Initialize BTOrder through cl_crm_bol_core methods.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In standard compnent binding of context node is done with component controller. By biniding i mean that whatever value comes in BTAdminH of component controller, it comes to node of your view.
Best Regards
Pankaj Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Z component that you have created should be binded to some component where the values are there.
The View has a context node which should be binded to the component controller node and the binding between two components should also be done in order to get the data.
Regards,
Harshit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.