From the Identification tab iam creating the BP by entering all the mandatory fields and then i click on END button instead of "Save" so on this END button event i want to read the current BP which is not yet saved in the database.
Iam writting the logic of END button in the IF_CRM_IC_PREPARE_FOR_CALLBACK~EXECUTE method of the Main View set(IUICMD/MainVS).
data: zv_core TYPE REF TO cl_crm_bol_core,
zv_entity TYPE REF TO cl_crm_bol_entity_manager,
zv_core = cl_crm_bol_core=>get_instance( ).
CALL METHOD zv_core->get_entity_manager
rv_result = zv_entity.
In Debug mode when i check the ZV_ENTITY in that there is one Private Attribute ENTITY_TAB of type Sorted Table where i can see 3 entries with OBJECT_NAME as "BuilHeader","BuilContactPerson", "BuilStandardAddress" when i check the Entity reference of ""BuilHeader" iam getting the current BP number. But how to read this entity iam not getting this.???
I tried the below way..
LOOP AT zv_entity->entity_tab ASSIGNING <itab>.
But it says that "Access to private attribute "ENTITY_TAB" is not allowed."..