Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question