2013 Mar 22 5:54 PM
Hi all,
I'm creating a delta extractor for Material and related batch and plant.
When I modify a classification from MSC2N transaction on CDHDR/CDPOS I can't find information about Material/Batch/Plant modified, but I need to find it, is there any BAPI/FM/Tables that can help me?
Thank you
2013 Mar 23 11:32 AM
Hi,
You will not able to find Material classification data changes in CDHDR/CDPOS.
try using below function modules,
BAPI_OBJCL_GETCLASSES
BAPI_OBJCL_CREATE
BAPI_OBJCL_CHANGE
use FM
BAPI_OBJCL_GETCLASSES before change the material classification .
Regards,
Arun.
2013 Mar 23 12:16 PM
No I'm sorry, maybe I haven't explained well what is my problem, I'm making a BI extractor from ECC, I need to find the batches modified during a specific period, for example from yesterday to today.
I know that there is a filed, MCH1-LAEDA (Latest modification date) but I can't found information about the timestamp or the modification hour.
When you modify a batch from MSCN2 transaction this informations are stored on CDHDR/CDPOS tables but if yoi modify only a classification value you can't understand witch batch you have modified because on CDHDR/CDPOS you can find only information about the classification. I need to find the batch/material/plant from that information.
Anyway I could use the date, MCH1-LAEDA but if I run my extractor today I have to take the latest running date of my extractor, for example yesterday, And I have to select from MCH1 all the record having LAEDA from yesterday to today. If tomorrow I'll run again my extractor I must extract all record from MCH1 with LAEDA between today and tomorrow...
I'll extract the record modified today twice... I hope I'm clear explaing what I need
I think this it couldn't be a problem for my client, the extractor should run just at the end of every month, but if you know a best way please, let me know it.
Thank you