Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adobe forms and selection screen.

Former Member
0 Likes
998

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.

8 REPLIES 8
Read only

Former Member
0 Likes
918

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.

Read only

0 Likes
918

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.

Read only

0 Likes
918

did you check the above code. is it not you are expecting.

Read only

0 Likes
918

The problem is that this screen is connected to LDB.

Read only

0 Likes
918

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.

Read only

0 Likes
918

Hello Vijay.

I'm new at abap and SDN and therefor my mistake.

Is there a solution to my problem?

Thank you.

Keren.

Read only

0 Likes
918

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.

Read only

0 Likes
918

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.