‎2013 Apr 17 10:34 AM
Dear All,
My requirement is to copy the classification (Class: 032) with all characteristics and values.
For ex: if classification PR-01 is created in class 032(Release Strategies), I want to create a copy of same with another name.
I used the FM CLFM_COPY_CLASSIFICATION, but it will not work.
I have searched a lot and also ‘googling’ it, but unfortunately nothing found related to this.
Please help me on this.
Regards,
Kaushik Savaliya
Message was edited by: Kaushik Savaliya
Message was edited by: Kaushik Savaliya
‎2013 Apr 17 1:37 PM
Hello Kaushik,
To copy a class programmatically will take three steps:
1-BAPI_CLASS_GETDETAIL
2-BAPI_CLASS_CREATE
3-BAPI_TRANSACTION_COMMIT.
These BAPIs are well documented.
There are also BAPIs for the Characteristics. For example: BAPI_CLASS_GET_CHARACTERISTICS and BAPI_CHARACT_CREATE.
To find all the BAPIs for Classification, execute t-code BAPI and
navigate to 'Cross-Application Components->Classification->Class/Characteristic'.
You can also see the BAPis by the Business Object methods by executing tcode SWO1
and inspect business objects BUS1003 (Class), BUS1088 (Characteristic) and BUS3060 (Object Classification).
Regards,
Kim