07-16-2006 8:55 AM
Hi,
I need a help on assigning characteristic to class in BDC programming. My BDC programming will handle around 8 transactions which are executed sequentially like CT01, CU01, CL01, CU41 etc...
I have a newly created Characteristic which has to be assigned to a Class (which can be a newly created class or an existing class). Suggest me which transaction code ASSIGNS CHARACTERISTIC TO CLASS?
Many a thanks.
07-16-2006 10:52 AM
07-16-2006 9:10 AM
Hi,
Global class can be created from the transaction <b>SE24</b>.
I didn't what do you mean by asign characteristic to class?
Regards,
Azaz Ali.
07-16-2006 9:59 AM
Hi Azaz,
The tcode u mentioned is Class Builder. It will not satisfy my requirement. I have created a characteristic through transaction 'CT01'. <b>I want to assign this characteristic to a Class</b>. The characteristic and class name will be input in selection screen. Which transaction will do this job?
07-16-2006 10:23 AM
If you have to use a transaction you can use CL02 transaction and type in the list of CHAR's in the CHAR table after typing in the CLASS name on the top text fields.
If you want to do it using BAPI's.
BAPI_CHARACT_CREATE - To create a CHAR
BAPI_CLASS_CREATE - To create the CLASS and also assign CHAR to the class.
If you want to do it separately, you can call the BAPI_CLASS_CHANGE to assign new CHAR's to the class.
To assign objects to classes, you can use BAPI_OBJCL_CREATE to do the same
Regards
Ravi
Note : Please mark all the helpful answers
07-16-2006 10:05 AM
1. I am not sure why can't use BAPI's for the same. You have BAPI's to CREATE A CLASS, CREATE CHARACTERISTC, ASSIGN A CHAR to a CLASS.
Regards,
Ravi
Note : Please mark all the helpful answers
07-16-2006 10:52 AM
12-12-2014 5:56 AM
You can assign Characteristic to Class: 1- while creating Class (CL01) and 2-if its already created then changing the Class(CL02)