on 03-21-2008 10:16 AM
Dear Experts,
Is there any Function Module for creating Individual Object.It is very Urgent.Please help me.
Thanks & Regards,
Ashok.
We used the following FMs to create IObjects using products API:
COM_PRODUCT_UI_MAINTAIN
CRM_IBCWTY_IL_API_CREATE
COM_PRODUCT_UI_SAVE
COM_PRODUCT_UI_REFRESH
You may also check BOL models for products.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashok,
Can you check FM: CRM_ICSS_CREATE_IOBJECT
Regards,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ashok
u need FM for mass uploading of BP or for creation of individual object ,if u r talking about the object then do tell which object u r talking about,LEAD,Activity or else.
or simply bus2000106,like a BP object
best regards
ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
can you just elaborate ur requirement?
Regards
Sourabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashok,
You'll need to at least pass in the individual object category and details. For example,
DATA: k_product TYPE comxif_product_indobj,
k_categories TYPE comxif_pr_s_categories,
k_cate TYPE comxif_prd_s_categories,
k_admin TYPE comxif_product_s_admin.
DATA: i_categories TYPE comxif_pr_s_categories_t,
i_product TYPE comxif_product_indobj_t.
***************************************
* Iobject Category *
***************************************
k_cate-category_id = < your iobject category id>
k_cate-hierarchy_id = <your iobject hierarchy id>
k_cate-logsys = <current logical system>
k_admin-task = <insert (I), update(U) , delete(D)>
k_admin-logsys = <current logical system>
k_admin-upname = sy-uname.
k_categories-data = k_cate.
k_categories-s_admin = k_admin.
APPEND k_categories TO i_categories.
k_product-categories = i_categories.
***************************************
* Individual object Details *
***************************************
k_product-task = <insert (I), update(U) , delete(D)>
k_product-indobj_id = <the iobject name/id>
k_product-object_family = <if you have no idea, just create an iobject from IB51/52 and
check table comm_product>
k_product-logsys = <current logical system>
k_product-upname = sy-uname
APPEND k_product TO i_product.
CALL FUNCTION 'CRMXIF_PRODUCT_INDOBJ_SAVE'
EXPORTING
data = i_product
IMPORTING
return = <return table> .
if no error in the return table,
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
You can find the category and hierarchy ID from transaction COMM_HIERARCHY for the type of product you are creating.
Hope this help.
cady.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.