‎2008 Apr 30 4:05 PM
Can someone give me the list of FM's which can be used to get the Classification information based on the Configuration Number?
Please help.
‎2008 Apr 30 4:41 PM
‎2008 Apr 30 4:27 PM
I think with this function you will able to find out your data.
CLAF_CLASSIFICATION_OF_OBJECTS
Sample for a vendor
DATA: pw_object TYPE ausp-objek,
pw_class TYPE sclass,
pt_class TYPE TABLE OF sclass,
pw_objectdata TYPE clobjdat,
pt_objectdata TYPE TABLE OF clobjdat.
CLEAR: pw_lfa1.
READ TABLE pt_lfa1 INTO pw_lfa1 WITH TABLE KEY lifnr = pw_lifnr.
IF sy-subrc NE 0.
Vendor Data
SELECT SINGLE lifnr name1 adrnr
FROM lfa1 INTO pw_lfa1
WHERE lifnr = pw_lifnr.
IF sy-subrc NE 0.
MOVE: pw_lifnr TO pw_lfa1-lifnr.
ELSE.
Classification
MOVE: pw_lfa1-lifnr TO pw_object.
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
class = k_class
classtype = k_classtype
object = pw_object
initial_charact = space
TABLES
t_class = pt_class
t_objectdata = pt_objectdata
EXCEPTIONS
no_classification = 1
no_classtypes = 2
invalid_class_type = 3
OTHERS = 4.
<REMOVED BY MODERATOR>
Regards,
Christophe
Edited by: Alvaro Tejada Galindo on Apr 30, 2008 12:06 PM
‎2008 Apr 30 4:41 PM