Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Performance issue in mb51

krishna_k19
Contributor
0 Kudos

Dear All ,

         i'm executing the T.Code--MB51 (Program--RM07DOCS , Include RM07DOCS_GENERATED ) one table(MKPF) is taking too much time . here i'm presenting the query pls help me.

select (g_t_fields)
     into corresponding fields of table itab
     from mkpf inner join mseg
     on    mkpf~mandt = mseg~mandt
       and mkpf~mblnr = mseg~mblnr
       and mkpf~mjahr = mseg~mjahr
        WHERE MKPF~BUDAT in BUDAT
          and MSEG~BWART in BWART
          and MSEG~CHARG in CHARG
          and MSEG~KUNNR in KUNNR
          and MSEG~LGORT in LGORT
          and MSEG~LIFNR in LIFNR
          and MSEG~MATNR in MATNR
          and MSEG~SOBKZ in SOBKZ
          and MKPF~USNAM in USNAM
          and MKPF~VGART in VGART
          and MSEG~WERKS in WERKS
          and MKPF~XBLNR in XBLNR
%_HINTS
ORACLE '&SUBSTITUTE VALUES&' .


Please find and suggest me.

Thanks & Regards,

Krishna



1 ACCEPTED SOLUTION

former_member16553
Active Participant
0 Kudos

Hi

    Pass value in maxium selection in selction-screen as u can.

4 REPLIES 4

former_member16553
Active Participant
0 Kudos

Hi

    Pass value in maxium selection in selction-screen as u can.

0 Kudos

Thanks for your reply..

   but here i'm giving(Selection Screen) Material , Plant , Storage Location , Movement type , Posting Date ,User Name then also it is taking time .

  I Created Secondary Index for MKPF (For fields MANDT, BUDAT ,USNAM , VGART ,XBLNR) with these fields then also no use.

Please Suggest.

Thanks ,

Krishna

raymond_giuseppi
Active Contributor

0 Kudos

Thanks Raymond..

  i checked those notes so i got solution..

Thanks

Krishna