We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] Batch Classification

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by Abhilasa (Developer)
on Jan 27 at 2:34 PM
Mark this reply as helpfulMark as helpful
Hi Horacio,

Thanks for your response.These are my answers -

1.The basic one was that, do you want to access the material classification? - I want to access batch classification(class type 023).

2.Do your materials have a classification? - Yes both material(001) and batch(023).

However here is my concern ,

Whenever i access batch classification (I am trying to do this in my BADI 'MB_DOCUMENT_BADI' which gets called when i try to do a MB1C tx ), i do as follows -
1.Call function module CUOB_GET_NUMBER by passing parameters klart , charg , table = MCH1.
It returns an object number for that batch.Now i try to query table ausp with this objek number.
Now the issue is , when you do MB1C , SAP prompts you to create a new batch as you carry out the tx.
My BADI gets called before the batch is actually committed to the db and hence fails to find this in the ausp table.

So my question was , when we define a material for the 1st time in MM01 , I do a batch classification for it with class type 023 without actually creating a batch.Just define the batch characteristics.Which table has this information ?

If I look into AUSP i can see Y-350 001 as an entry with all the chc.Why can't i see it for Y-350 023 for the same in AUSP ?

I hope I am clear.Looking forward to your always helpful answers.

---------------Original Message---------------
From: Abhilasa
Sent: Tuesday, January 26, 2010 5:45 PM
Subject: Batch Classification

> I have created a material eg.y-350 through MM01.While creating the material , I have done batch classification (assigned it to class type 023 , class 023_08 which has the characteristics of gold 1% and silver 2%).Where can i query these batch classification values based on the material and not on the batch number because at this moment no batches are created.Right now when i query cabn , ausp for a material which has 023 classification i pass the batch number and retrieve these values.I want to bypass this because when i do a goods movement of 501 , new batches are created.My BADI gets called before these batches are actually committed to the DB.So whenever i query ausp depending on the batches , i do not get any results returned.So I want to know how can i get this batch characteristics just based on the material and not on the batch number?
__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251

0 comments:

Post a Comment

T r a n s l a t e to your language