‎2006 Nov 16 2:05 PM
Hello all...
I have created material and all its views using BAPI_MATERIAL_SAVEDATA.
But I dont know how to create the Inspection Setup Data, that is under button in Quality Management View...
I was trying with BAPI's:
BAPI_MATINSPCTRL_REPLICATE ( and )
BAPI_MATINSPCTRL_SAVEREPLICA
but they didnt worked for me, Return table comes empty, parameters seems to be incorrect, And BAPI documentation is not enough clear. So I dont know hoy to make it work.
Any help ?
Thanks in advance,
Ibrahim Andres
‎2006 Nov 16 3:52 PM
Hello,
Plz check the program documentation for Report: RBDSEQMAT. This distributes the QMAT data over ALE.
Hope this helps.
Best Regards, Murugesh AS
‎2006 Nov 16 3:52 PM
Hello,
Plz check the program documentation for Report: RBDSEQMAT. This distributes the QMAT data over ALE.
Hope this helps.
Best Regards, Murugesh AS
‎2006 Nov 16 4:10 PM
Hi Murugesh...
Thanks for quick reponse...
I have run the program, i have set material and plant from where I need to copy values of inspection setup.
I have set the logical system as well.
Inspection plant or placeholder - empty
First I received message:
'3 were found for distributed inspection types'
and then:
' Could not determine recipients for message type MATQM. '
and program ends....
I cant see where I should set the new material code I need to classify.
I just want to replicate the inspection setup from one existing material to another.
Could you send me an example of parameters I need to pass for this case?
thank you for your response....
Ibrahim Andres
‎2006 Nov 16 4:14 PM
Hi,
You need to setup partner profile (WE20) for message type MATQM prior to run program RBDSEQMAT.
Regards,
Ferry Lianto
‎2006 Nov 16 7:16 PM
Thanks for replies...
I have solve the problem using BAPI_MATINSPCTRL_SAVEREPLICA
THe only problem I had was that I was misiing that:
INSPECTIONCTRL-function = '009'. "
this parameter indicates that the message is NEW,
so, BAPI, creates it.
thanks everybody.
Ibrahim Andres.
‎2006 Nov 16 7:18 PM
The solution is:
in BAPI_MATINSPCTRL_SAVEREPLICA
INSPECTIONCTRL-function should be = '009'.