Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Copy Control _CRM

Former Member
0 Likes
417

Hi,

I'm attempting to copy reason code across business activites. I'm using following code in the subject method of if_ex_crm_copy_badi, but it doesn' seem to work:

METHOD if_ex_crm_copy_badi~subject .

DATA: ls_subject TYPE crmt_subject_wrk.

LOOP AT it_ref_subject INTO ls_subject WHERE profile_type = 'F'.

ENDLOOP.

ENDMETHOD.

Any ideas?

Thanks

Kevin

Hi,

I'm attempting to copy reason code across business activites. I'm using following code in the subject method of if_ex_crm_copy_badi, but it doesn' seem to work:

METHOD if_ex_crm_copy_badi~subject .

DATA: ls_subject TYPE crmt_subject_wrk.

LOOP AT it_ref_subject INTO ls_subject WHERE profile_type = 'F'.

ENDLOOP.

ENDMETHOD.

Any ideas?

Thanks

Kevin

1 REPLY 1
Read only

alvaro_guzman
Product and Topic Expert
Product and Topic Expert
0 Likes
346

Hi Kevin,

How do you solve your issue?

In spite of this BAdI has a lot of methods acording to the standar documentation for some reason only the following methods are supported in the Copy Control:

COPY

ORDERADM_I

PRODUCT_I

ORDERADM_H

SALES

ACTIVITY_H

ORDPRP_I

BILLPLAN

BILLING

OPPORT_H

LEAD_H

SCHEDLIN_I

FINPROD_I

SERVICE_I

PRICING_I

PAYPLAN

CUSTOMER_I

CUSTOMER_H

CANCEL

DATES

PRICING

SHIPPING

Method SUBJECT is not allowed.

I hope this information helps others with a similar doubt.

Regards,

Alvaro