cancel
Showing results for 
Search instead for 
Did you mean: 

Interfaces

Former Member
0 Kudos

Hi,

What is the difference between Runtime APs and Context APIs.

Let me know briefly....

Regards

Sandeep

Accepted Solutions (1)

Accepted Solutions (1)

uday_gubbala2
Active Contributor
0 Kudos

Hi Sandeep,

You can classify the various API's in WDA into 4 categories:

● Runtime

● Context

● Personalization

● Portal Integration

The Web Dynpro runtime provides a generic runtime API for each controller type. In this API, several frequently used methods are implemented and can be used by the application developer. You can access general functions like the portal manager or message manager of the framework using these interfaces. The method WD_GET_API which is contained in all generic controller interfaces allows the access to the corresponding runtime API.

The Context API's are used to solely work with the context of the WebDypro application where your data is stored. The different context API's are:

IF_WD_CONTEXT

● IF_WD_CONTEXT_NODE

● IF_WD_CONTEXT_NODE_INFO

● IF_WD_CONTEXT_ELEMENT

● Structure WDR_CONTEXT_ATTRIBUTE_INFO

You can refer to the below links for more information regarding this.

[Help -> 1|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/9f029ae1062883e10000000a422035/frameset.htm]

[Help -> 2|http://help.sap.com/saphelp_nw04s/helpdata/en/61/497941761b070de10000000a1550b0/content.htm]

Regards,

Uday

Answers (0)