on 04-27-2010 8:49 AM
Hi,
in a bapi i can access the core object for an Opportunity. Also i can get the entitymanager with all related entities.
During debugging i can read the attribute values of all entities for the entity manager.
But i cannot access the various entities during processing, because the attributes are private, or the relevant methods are private. So i cannot use them.
What is a way to access the attribute values ?
CORE --> ENTITY_MANAGER --> ENTITY_LIST --> ENTITY --> ATTRIBUTE --> VALUE
regards,
Hans
From cl_crm_bol_core you can get the instance of the root object by using the method GET_ENTITY. After getting the entity you have access to related entities, incase you want to get the data from there.
Rg,
Harshit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any suggestions ?
I have an instance of CL_CRM_BOL_CORE and CL_CRM_BOL_ENTITY_MANAGER, but i cannot get access to the CL_CRM_BOL_ENTITY instances, because the methods and attributes i want to use are private.
regards,
Hans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the GET_***_Entity(ies) methods in the cl_crm_bol_core class. These methods accept either the GUID with the bol object name or the object ids with the bol object name. For generating object id from GUID/key structure, use CL_CRM_GENIL_CONTAINER_TOOLS=>BUILD_OBJECT_ID.
Regards,
Arun Prakash
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.