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

REGARDING O/P

DATA : BEGIN OF IT_MAKT OCCURS 0,

MATNR LIKE MAKT-MATNR,

MAKTX LIKE MAKT-MAKTX,

END OF IT_MAKT.

SELECTION-SCREEN BEGIN OF SCREEN 500 TITLE TITLE." AS WINDOW.

PARAMETERS : P_X TYPE I.

SELECT-OPTIONS SO_MATNR FOR IT_MAKT-MATNR.

SELECTION-SCREEN END OF SCREEN 500.

title = 'MATERIAL NUMBER'.

*WRITE:'HELLO'.

CALL SELECTION-SCREEN '0500'. "STARTING AT 10 10.

SET PF-STATUS 'MENU1'.

AT USER-COMMAND.

CASE SY-UCOMM.

WHEN 'BACK'.

CALL SCREEN '0500'.

ENDCASE.

AT SELECTION-SCREEN.

IF sy-dynnr = '0500'.

IF P_X IS INITIAL.

MESSAGE 'Please enter values' TYPE 'W'.

ELSE.

leave to list-processing ."and return to screen '0500'.

SELECT MATNR MAKTX FROM MAKT INTO TABLE IT_MAKT WHERE MATNR IN SO_MATNR .

LOOP AT IT_MAKT.

WRITE : / IT_MAKT-MATNR , IT_MAKT-MAKTX.

ENDLOOP.

  • IF sy-subrc <> 0.

  • MESSAGE 'No RECORDS found' TYPE 'E'.

  • ENDIF.

ENDIF.

HERE THE BACK BUTTON WICH WAS ADDED IN STANDARD TOOL BAR IS NOT WORKING. WHY?

SUGGEST ME THE SOLUTION PLEASE.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Nov 21, 2007 at 07:55 AM
    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'CBAC'. " Instead of BACK. change to CBAC
    CALL SCREEN '0500'.
    ENDCASE.
    
    
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 06:57 AM

    Hi Sandeep,

    Did u give BACK in the menu painter and activate it.

    Check out.

    Thanks

    Vasudha

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2007 at 06:56 AM

    Double click on pf-status 'MENU1' to check whether BACK button is mentioned as text over the ICON. Also ensure that pf status is activated.

    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.