Current Position:Home > Calling screen

Calling screen

Update:11-30Source: network consolidation
Advertisement
Hi,
I am customizing standard Transaction ME2N in ZME2N with little changes, i,.e instead of standard report ZME2N will display ALV report and few additional flds in the display.
But I want to adapt GUI STATUS from standard one customized one.
'PO History', 'Changes' 'Delivery schedule' buttons are not working in the customized one.
I have called dynamic subroutine(from reuse_*grid_display).  and copied same subroutines from standard. in debugging the values are updating and sy-title of report changing. but not the values.
Please help me
Code for subroutine(s)
<b>Set pf-Status</b>
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
  SET PF-STATUS 'LEER'." EXCLUDING rt_extab.
<b>user-command</b>
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE SY-UCOMM.
    WHEN 'DIEN'.
PERFORM READ_SERVICES USING HIDP-PACKNO HIDK-EBELN HIDP-EBELP.
    WHEN 'ZURU'.
      PERFORM ZURUECK.
    WHEN 'XIT '.
      PERFORM ZURUECK.
      LEAVE PROGRAM.
    WHEN 'EKBE'.
    SET PF-STATUS 'EKBE' OF PROGRAM SY-CPROG.
      PERFORM EKBE_PICK.
    WHEN 'EKCD'.
      PERFORM EKCD_PICK.
    WHEN 'EKET'.
      PERFORM EKET_PICK.

The Best Answer

Advertisement
Hi
Copy the Status of the Main Std Program LEER to your ZSTATUS and to your Zprogram from SE41 and use that Zstatus in your program.
Reward points for useful Answers
Regards
Anji