cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Design Studio-Prompt values not getting updated in Text component when the values are changed

former_member334960
Participant
0 Kudos

Hi All,

I am using SAP Design Studio 1.6 SP2 to develop an application.

I have used the below code to capture the prompt values. But this code works only when the report is executed for the first time.

TEXT_10_PROMPT1.setText(TAB1_PRIORITY.getVariableValueExt("psEnter Posting Date:YYYYMMDD(Start)")); TEXT_16_PROMPT2.setText(TAB1_PRIORITY.getVariableValueExt("psEnter Posting Date:YYYYMMDD(End)"));

I have used APPLICATION.openPromptDialog(600,400); to show the prompt window after execution.

When I change the prompt values for the second time, the Text component still shows the values which were entered during first time execution

.Variables names are as below:

Can someone please suggest if there is something wrong with the code?

Thanks

Poojitha

Accepted Solutions (1)

Accepted Solutions (1)

Vidhya
Active Participant
0 Kudos

Hi Pooja,

Please check the below link,

https://archive.sap.com/discussions/thread/3646482

Regrads,

Vidhya.C

Answers (0)