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: 

Problem in customer exit QE01

Former Member
0 Kudos

Hi All,

I am using the customer exit EXIT_SAPLQEEM_011 for suppress the POP-UP i.e Manual Valuation in tcode QE01

I.e I am writing the code for accept and reject when the value is within the tolerance limit by using customr exit.

It is successfully suppressed when I click VALUATE button but my problem is during when the user hit the enter button also i need to suppress the POP-UP .

Is there any other customer exit ?

My problem is when i hit the enter button it is going to call the customer exit in different place i.e in include LQEEMF21 when i click valuate it is calling in line no 258

but when i hit enter button it is calling the customer exit in line no 1269.

any clues..

Regards

Ram

12 REPLIES 12

Former Member
0 Kudos

Any clues guys...

Regards

ram

Former Member
0 Kudos

Hello Ram,

If i have understood correctly then you had written your code in Exit EXIT_SAPLQEEM_011 on user command of 'VALUATE' but when someone hit enter EXIT is called at line 1269. Is it the same exit that is called when you hit enter or its different.

If its same then you can call your logic on sy-ucomm of ENTER command same as you did for 'VALUATE' button user command.

Regards,

Deepti

0 Kudos

Hi,

Yes it is calling the same exit.

But the problem is when i hit the enter button it is calling the exit

   CALL CUSTOMER-FUNCTION '011'
       EXPORTING
         i_single_char_kz = kreuz
         i_qals           = qals
         i_qapo           = qapo
         i_qapp           = l_tl_qapp
         i_qalt           = qalt
         i_qamkr          = merkmal
       IMPORTING
         e_qamkr          = l_merkmal.
*      TABLES
*        T_QAMKTAB        = Hier nicht erforderlich

but when i click on Valuate button it is calling the exit

   CALL CUSTOMER-FUNCTION '011'
       EXPORTING
         i_single_char_kz = space
         i_qals           = qals
         i_qapo           = qapo
         i_qapp           = l_tl_qapp
         i_qalt           = qalt
*        I_QAMKR          = Hier nicht erforderlich
*       importing
*        E_QAMKR          = Hier nicht erforderlich
       TABLES
         t_qamktab        = qamktab.

here the details are filling in internal table t_qamktab.

so i wrote the code like below..

   LOOP AT t_qamktab INTO wa_qamktab.
    IF wa_qamktab-mittelwert BETWEEN wa_qamktab-toleranzun AND wa_qamktab-toleranzob.
      wa_qamktab-mbewertg = 'A'.
    ELSE.
      wa_qamktab-mbewertg = 'R'.
    ENDIF.
    MODIFY t_qamktab FROM wa_qamktab INDEX sy-tabix TRANSPORTING mbewertg.
ENDLOOP.

But when i hit enter there are no values in t_qamktab as it is commented in the exit which is called before...

regards

Ram

0 Kudos

any clues...

0 Kudos

any clues..

0 Kudos

Hi, in transaction QE01 inspection characteristics and result are buffered in internal memory. You can access this buffer by calling function module QEEA_FEATURES_READING.

Best reagards Jack

0 Kudos

Hi Jack,

Thanks for the reply..

But if i call the FM also there is no use right.

When i hit the enter button it is triggering the user exit in the line no 1269 i.e.

CALL CUSTOMER-FUNCTION '011'
       EXPORTING
         i_single_char_kz = kreuz
         i_qals           = qals
         i_qapo           = qapo
         i_qapp           = l_tl_qapp
         i_qalt           = qalt
         i_qamkr          = merkmal
       IMPORTING
         e_qamkr          = l_merkmal.
*      TABLES
*        T_QAMKTAB        = Hier nicht erforderlich

but here the tables  T_QAMKTAB is commented.

And also I called the function module but still it is showing the POP-UP

How to acheive this..

Regards

ram

0 Kudos

Hello Ram,

Probably you need to export the internal table values then into the customer exit and use it for your functionality.

Regards,

Deepti

0 Kudos

Hi Ram, calling function module QEEA_FEATURES_READING is a workaround for the missing T_QAMKTAB table that is not delivered by the exit. By calling QEEA_FEATURES_READING these characteristic values and results are delivered in parameter QAMK_TAB of this function module.

Regards Jack

0 Kudos

Hi,

Yeah correct only but my concern is after using the FM QEEA_FEATURES_READING

also i wrote the code like shown below but still pop up is coming.

   LOOP AT t_qamktab INTO wa_qamktab.
  IF wa_qamktab-mittelwert BETWEEN wa_qamktab-toleranzun AND wa_qamktab-toleranzob.
    wa_qamktab-mbewertg = 'A'.
  ELSE.
    wa_qamktab-mbewertg = 'R'.
  ENDIF.
  MODIFY t_qamktab FROM wa_qamktab INDEX sy-tabix TRANSPORTING mbewertg.
ENDLOOP.

i dont wnat to pop up during when user hits the enter button.

Regards

Ram

0 Kudos

Any thing else i need to do..

0 Kudos

Hi,

Any clues...