cancel
Showing results for 
Search instead for 
Did you mean: 

Data Binding Template to SAP Screen

Former Member
0 Kudos

Hi ,

I am working on EBP .. Can anybody let me know how data pass from SAP dialog screen to ITS template & vice-versa.

How Okcode of button in Template pass to sap screen ?

Helpful suggestion will be appreciated .

Thanks & Regards,

GP

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello, SAP ITS uses the diag protocol to communicate with the backend, when a screen is received by ITS all the elements that are on the screen are available and can be used in a template.

Ok-code is handled automatically using the ITS variable ~OkCode, you can find an example of the usage in javascript function SetOkCode contained in SCRIPT/BBPSCRIPT.JS under the SRM internet service bbpglobal, when the ITS receives an http request with an ~OkCode set, it redirect the ok-code to the backend.

You can find an example of transmitting data to and from ITS directly from ABAP without using a screen in FM ITS_SET_CONTEXT or ALEWEB_GET_CONTEXT .

Regards, Luciano.

Answers (0)