Application Development 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: 

Save changes of editable field in classical report

Former Member
0 Kudos
233

Hi,

I am creating a simple classical report. In the output of a classical report i have allowed a field with INPUT ON,

and after making changes in editable field now I want to read all the lines of the report output and the values entered in the INPUT ON field.

Is there any way to do it?

Helpful answer will be rewarded.

Thanks,

Madhura

Edited by: Madhura Nadgauda on Jan 22, 2008 7:11 AM

2 REPLIES 2

Former Member
0 Kudos
59

Hi,

Use this function module to read the values of the field.

DYNP_VALUES_READ

regards,

Santosh Thorat

Former Member
0 Kudos
59

Try this example code and it should give you some idea.

DATA: date TYPE d,

flag TYPE c LENGTH 1,

wa TYPE c LENGTH 10.

START-OF-SELECTION.

date = sy-datum.

DO 10 TIMES.

date = date + sy-index.

WRITE: / flag AS CHECKBOX, (10) date.

ENDDO.

AT LINE-SELECTION.

DO.

READ LINE sy-index FIELD VALUE flag

date INTO wa.

IF sy-subrc <> 0.

EXIT.

ELSEIF flag = 'X'.

WRITE / wa.

ENDIF.

ENDDO.