Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: Add fields to Tcode ME55

$
0
0

1. Add new structure at table  'MEREP_OUTTAB_EBANOV'  with your requirement fields for add at ME55 ALV view

Add Structure.JPG

 

2.Implement Badi ES_BADI_ME_REPORTING to fill the result.

 

 

method IF_EX_ME_CHANGE_OUTTAB_CUS~FILL_OUTTAB.
****===============================================
**  IMPORTANT NOTE for developer, DO NOT remove this section
** each report should have specifict logic.
** all logic and data declaration better undur report logic selft
** modify should be done after modify flag has value, otherwise will
** make report become "NGACO" ...
****===============================================
case SY-CPROG.
    when 'RM06BF00'.       "  only valid for report ME55
***  =========== start for ME55====================
** this data declaration section only valid for ME55 transaction / RM06BF00 report
** OTHER transaction MUST declare for specific report
      data: LS_CH_OUTTAB type MEREP_OUTTAB_EBANOV.
      data: E_LS_CH_OUTTAB type MEREP_OUTTAB_EBANOV.
      data: VCHG type SY-BINPT.
***  =========== end for ME55==========
     loop at CH_OUTTAB into E_LS_CH_OUTTAB.
        clear VCHG.
        call function 'Y_BADI_REPT_MODIFY_ME55'
         exporting
            I_LS_CH_OUTTAB = E_LS_CH_OUTTAB
          changing
            E_LS_CH_OUTTAB = LS_CH_OUTTAB
            VCHANGE        = VCHG
          exceptions
            DATA_CHANGE    = 1
            others         = 2.
        if VCHG is not initial.
          modify CH_OUTTAB from LS_CH_OUTTAB.
        endif.
      endloop.
  endcase.
endmethod.

 

 

I was success add new field Order number (AUFNR) Order description (KTEXT) and order user status   ASTTX

 

 

ME55 Enhancement.JPG


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>