Skip to Content

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

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

capture.png (8.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 23, 2017 at 10:05 AM

    Hi Pooja,

    Please check the below link,

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

    Regrads,

    Vidhya.C

    Add comment
    10|10000 characters needed characters exceeded