‎2008 Aug 17 10:55 AM
Hello experts.
I'm facing a problem. i need to create a pdf form based on data from a selection screen. everything works fine BUT when i navigate back from the form to the selection screen it does not clear the data - which means the gui fields are empty but the values in the parameters are still there.
How can i solve it?
thank you.
Keren.
‎2008 Aug 17 11:49 AM
This question nothing to do with adobe forms, if i understood your question properly.
is it that you are expecting. when you back to the selection screen from form, the selection screen values should be empty. copy the program and run it once.
REPORT ztestscreen.
data: carrid type sflight-carrid.
PARAMETERS: p_carrid TYPE sflight-carrid.
AT SELECTION-SCREEN output.
if sy-ucomm eq ' '.
clear p_carrid.
endif.
end-of-selection..
WRITE p_carrid.
‎2008 Aug 17 11:59 AM
Hi Vijay.
The problem is that although the value is empty, the gui does not refresh and i can still see the previous value.
thanks.
Keren.
‎2008 Aug 17 12:13 PM
‎2008 Aug 17 1:50 PM
‎2008 Aug 17 2:00 PM
you never mentioned in your question regarding this, if you mention the question with maximum information , then chances of getting the proper answers will be high, See the title you mentioned is Adobe forms. but it has nothing to do with the problem.
‎2008 Aug 17 2:05 PM
Hello Vijay.
I'm new at abap and SDN and therefor my mistake.
Is there a solution to my problem?
Thank you.
Keren.
‎2008 Aug 17 2:11 PM
Please take this postively.
Before posting some question Try to do some reserach from your side, if you don't get any solution, Search it first in the forum, if you don't find it, post the question with the required information and provide all the details. also don't duplicate the same question across the forums.
I will test the same with LDB and let you know from my end.
‎2008 Aug 17 2:32 PM
it works for LDB also.
create a program, in the attributes mention the LDB as PNP and copy this code.
activate it. in the screen you enter the PERNR value,excute and come back and see the value in selection screen , no value will be there in the pernr.
REPORT ztest_screen.
tables: pernr.
AT SELECTION-SCREEN output.
if sy-ucomm eq ''.
clear PNPPERNR[].
endif.
end-of-selection.
WRITE PNPPERNR-LOW.