10-11-2007 2:27 PM
Hi All,
Now i am customising Goods Receipt Standard Scriptl. In that i want to add a new field which is captured in MIGO screen -Batch tab - Classification - Characteristic description and Value. The captured fields are stored in AUSP table.
As i am customising GR how can i fetch data from AUSP. How the AUSP table is linked with other tables?
Pls guide me.
Thanx in advance.
Yours,
S.GUNA
10-11-2007 7:40 PM
In general, an object that is classified has an object number. The object number (OBJEK) and the internal characteristic number (ATINN) are part of the key for AUSP --
For batches, you need to work with field CUOBJ_BM from either MCH1 or MCHA
You can get ATTIN for a characteristic based on the name (ATNAM) from CABN.
That should get you started -- for what it's worth, check out FMs BAPI_OBJCL* and BAPI_CHARACT* if available in your system. They are very handy and useful.
Roger
10-12-2007 12:21 PM
I also forgot to mention table INOB. It tells you the internal numbers for objects.
10-13-2007 5:34 AM
10-13-2007 6:05 AM
Hi,
Try this..
In the field AUSP-OBJEK...concatenate the field MBLNR + MJAHR..and pass the value to AUSP-OBJEK..
Meaning if you have 1234567890 and 2007..Then
SELECT SINGLE * FROM AUSP where OBJEK = '12345678902007'.
Thanks
Naren