Skip to Content
author's profile photo Former Member
Former Member

Report output in editable mode

Hi All,

I have a report output. This is an Normal output and not with the ALV stuff. My reqt. is i have amount field in the output . I need a pushbutton in application tool bar or in menu bar. When i click on this pushbutton, the amount field in output should be editable, but only the amount field should be editable.

What code i can use for this.

Urgent.

Thanks

Saravana

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2007 at 01:25 PM

    You can use <b>input on </b> for the respective field

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2007 at 01:18 PM

    Hi

    DATA: BEGIN OF ITAB OCCURS 0,
            WAERS  LIKE T001-WAERS,
            AMOUNT LIKE BSEG-WRBTR,
          END   OF ITAB.
    
    
    START-OF-SELECTION.
      
      SET PF-STATUS 'MY_GUI'.
    
      DO 10 TIMES.
    
        ITAB-WAERS = 'EUR'.
        ITAB-AMOUNT = 100 * SY-INDEX.
        APPEND ITAB.
      ENDDO.
    
      PERFORM WRITE_ITAB USING SPACE.
    
    AT USER-COMMAND.
    
      SY-LSIND = SY-LSIND - 1.
    
      CASE SY-UCOMM.
        WHEN 'MODI'. PERFORM WRITE_ITAB USING 'X'.
        WHEN 'DISP'. PERFORM WRITE_ITAB USING SPACE.
      ENDCASE.
    *&---------------------------------------------------------------------*
    *&      Form  WRITE_ITAB
    *&---------------------------------------------------------------------*
    *       text
    *----------------------------------------------------------------------*
    *  -->  p1        text
    *  <--  p2        text
    *----------------------------------------------------------------------*
    FORM WRITE_ITAB USING P_INPUT.
      LOOP AT ITAB.
        WRITE: / SY-VLINE NO-GAP, ITAB-WAERS NO-GAP, SY-VLINE NO-GAP.
        IF P_INPUT = SPACE.
          WRITE ITAB-AMOUNT CURRENCY ITAB-WAERS INPUT ON NO-GAP.
        ELSE.
          WRITE ITAB-AMOUNT CURRENCY ITAB-WAERS INPUT OFF NO-GAP.
        ENDIF.
        WRITE: SY-VLINE NO-GAP.
      ENDLOOP.
    ENDFORM.                    " WRITE_ITAB

    Max

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2007 at 01:22 PM

    use write ... input on.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2007 at 01:26 PM

    We can modify only a selection-screen or screens in module-pool program.

    Urs Reqmnt is not possible i hope.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.