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

Enabling output fields for editing

Former Member
0 Likes
611

i have used the FORMAT INPUT ON along with the write statement to make the output field which is a quantity field to be editable while running the report.

But once i edit it and execute it gives a '#' symbol immediately after the qty filed . Now next to this field is a sy-vline printed with no-gap. It gives the # symbol in the place of the sy-vline . Please do reply its very urgent.

thank you.

5 REPLIES 5
Read only

vinod_gunaware2
Active Contributor
0 Likes
562

Check data type. it should be Pack with decimals.

regards

vinod

Read only

Former Member
0 Likes
562

Hi,

the data type you should give as char, or else you will face the problems. once you have entered the value then you can convert the char to quantity and save.

Regards

vijay

Read only

Former Member
0 Likes
562

Hi,

Change type to char while displaying.

Regards,

Tanveer.

Read only

andreas_mann3
Active Contributor
0 Likes
562

hi,

look to that test program:

DATA qty TYPE bseg-menge.
DATA hqty(20).

WRITE: qty  INPUT ON.

AT PF7.
  DO.
    READ LINE sy-index FIELD VALUE
                        qty INTO hqty.

    IF sy-subrc NE 0.
      EXIT.
    ENDIF.

  ENDDO.

  MESSAGE i001(00) WITH hqty.

Andreas

Read only

Former Member
0 Likes
562