Skip to Content
author's profile photo Former Member
Former Member

Batch classification

Hello!

I need to find a place, exit or BADI, where any transaction that creates or changes the classification of a batch passes by.

The goal is to have the classification of the batch, in order to copy it to Z table where the values will be available directly by batch number. Like this the performance will increase, because there's no need to use SAP functions that read it, using IBIN, AUSP, INOB...

I'm working with version 470.

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 11, 2006 at 03:30 PM

    I think this access don´t have performances issues:

      CLEAR: cuobj, klart.
      klart = '023'.
      SELECT SINGLE cuobj_bm FROM mch1 INTO cuobj
        WHERE matnr = matnr
          AND charg = charg.
    
      CHECK NOT cuobj IS INITIAL.
    
      SELECT * FROM ausp INTO TABLE t_ausp
        WHERE objek = cuobj
          AND klart = klart
          AND datuv LE sy-datum
          AND lkenz = space.
    

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.