cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Value thru ITS template

Former Member
0 Kudos

Hi All,

I have a very problem but I am not able to solve it. Can any one help me plzzzzz….

I am setting a variable in HTML template after getting user response thru a confirmation box (I have put a submit after this so as to call the SAP program PAI). I would like to use this value in my SAP program, but I am not getting the value.

How to go in this situation.

I have tried hidden field <INPUT….> but it is not working

TIA.

Accepted Solutions (0)

Answers (1)

Answers (1)

thorsten_domsalla
Active Participant
0 Kudos

Hi B Das,

if you send the field either with a GET as URL parameter or as a POST parameter the value is put into the ITS context.

All values (except those ITS values starting with a "~") that are defined as fields in your dynpro are sent back from the ITS to the backend on request. If there is no dynpro field for that field you want to read in your program you need to read the ITS context and retrieve the value manually (ITS_IMPORT_CONTEXT).

Best regards,

TJ