‎2006 Aug 07 8:51 PM
Hi Folks!
I'm seeking a function that removes a material from a class belonging to a vendor from the classification system.
Thanks in advance for your help.
Regards,
Gilberto Li
‎2006 Aug 07 9:08 PM
Did you look at BAPIOBJCL functions? I am not sure if there is a BAPI_OBJCL_DELETE but if that does not exist BaPI_OBJCL_CHANGE should be helpful.
REgards,
Ravi
Note :Please mark all the helpful answers
‎2006 Aug 07 9:08 PM
Did you look at BAPIOBJCL functions? I am not sure if there is a BAPI_OBJCL_DELETE but if that does not exist BaPI_OBJCL_CHANGE should be helpful.
REgards,
Ravi
Note :Please mark all the helpful answers
‎2006 Aug 07 9:14 PM
Use the FM BAPI_OBJCL_DELETE to delete the classification.
Regards,
Prakash.
‎2006 Aug 07 10:16 PM
Hi Folks!
Thanks for your replies, I really appreciate your help.
I was looking for the BAPI: BAPI_OBJCL_DELETE
However im having some trouble to make it work. I read the documentation, and I think this should work.
The problem I'm having is filling the BAPI:
I don't know if you have worked with this BAPI but I don't get what to pass to the parameters:
I'm doing as following, for the field:
OBJECTKEY: I'm passing the material number.
OBJECTTABLE: I'm passing 'LFA1'.
CLASNUM: I'm passing the name of the class, for example 'MATSERVPROVEEDOR'.
CLASSTYPE: I'm passing '010' that means vendor class.
What I don't understand neither is where to pass the vendor number so it only removes the material from the vendor. Another thing also is they KeyDate, don't really know what date I should pass?
After testing with no success on objectkey passing the material number I passed to the ObjectKey the vendor number, but the result was the deletion of the entire class and its values, and that wasn't what I expected, I only want to remove some values of the class, not the entire class.
Any help would be really appreciated.
Thanks Again.
Regards,
Gilberto Li.
Message was edited by: Gilberto Li
‎2006 Aug 08 6:05 PM
Hi folks!
I have found a FM that does the job.
CLVF_VB_INSERT_CLASSIFICATION
Thanks anyways!
Regards,
Gilberto Li