Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Some Questions

1)what is the meaning of ?=

Eg lr_entity ?= focus_bo.

and if not bound?

2) Where i can find details about get_v and get_m and other methods in the context .So many types of methods are there in Context for each attribute???

3) why is there error when creating a z webui application?

i created a new application and assigned a new view to window and i get

The following error text was processed in the system CR7 : Exception condition "CONFIG_NOT_FOUND

Edited by: George Abraham on May 11, 2011 3:31 PM

Tags:
Former Member
Former Member replied

1)what is the meaning of ?=

> Eg lr_entity ?= focus_bo.

>

> 2)In http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock in Step 6

> Go into edit mode and add a new method called ON_NEW_FOCUS. Open the method-attributes (puzzle-piece-icon) and tick "Event Handler for" (see the box below). Go to the Parameters and add the parameters of the Event by clicking on the icon with the small blue square. We leave the coding empty for now.

>

> I cant find method-attributes (puzzle-piece-icon to make it event handler For.Please advice.

>

>

> 3) Where i can find details about get_v and get_m and other methods in the context .So many types of methods are there in Context for each attribute???

>

> 4) why is there error when creating a z webui application?

> i created a new application and assigned a new view to window and i get

> The following error text was processed in the system CR7 : Exception condition "CONFIG_NOT_FOUND

Hi George,

1. There is a concept of dependent nodes, for example we there is change in BTAdminH - BTOpportH should also be updated accordingly as it is dependent. This is defined either when you create view/context node - or you can create it later on by writing code in CONNECT_NODES method of _CTXT context class.

something like:

COLL_WRAPPER = BTADMINH->get_collection_wrapper( ).
    set handler me->BTOpportH->on_new_focus for COLL_WRAPPER activation IV_ACTIVATE.

lr_entity ?= focus_bo.

above code will get the focussed entity - that is say BTOpportH along with BTADMINH through above code.

3. GET_V --- this method is used to create F4 help / dropdown for the field

GET_P --- this is used to declare whether the field will be hyperlink/radio/dropdown/textbox etc

GET_M --- this is to get meta data of the field

GET method --- gets the value of the field

SET method --- to set the values (after that it goes to GET)

GET_I --- to make the field enable/disable

4. This error happens when you have not added fields in the displayed fields after going to 'Configuration' tab of the view - that is fields are there in context nodes but those have not been added to the view configuration.

I would look at point 2 and see what is your doubt.

I hope it resolves most of your doubts.

Thanks,

Rohit

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question