06-12-2012 6:04 AM
Hi guys.
I am using BAPI_MATERIAL_SAVEDATA to extend a material from one plant to another.
First I have extended the material. Next I want to create the inspection setup.
I want to know the way to get the inspection setup of the material from the first plant.
If I get it, then I can create the inspection setup using BAPI_MATINSPCTRL_SAVEREPLICA in the second plant.
Thanks in advance.
06-12-2012 6:20 AM
Dear Mr. Arun Prabhu,
As far as i know there i no function module to get the inspection details of the material. All you can do is get the ispection type of the material and based on the inspection type you can get the inspection details from the master table -
TQ34 - Default values for inspection type
Hope it helps. Thank you.
Regards,
kartik
06-12-2012 6:20 AM
Dear Mr. Arun Prabhu,
As far as i know there i no function module to get the inspection details of the material. All you can do is get the ispection type of the material and based on the inspection type you can get the inspection details from the master table -
TQ34 - Default values for inspection type
Hope it helps. Thank you.
Regards,
kartik
06-12-2012 7:11 AM
http://scn.sap.com/thread/3148503 assisted me.
I got the inspection setup details from QMAT table.
select * from QMAT APPENDING table iqmat
where matnr = w_matnr
and werks = 'TPFB'.