on 06-06-2011 1:49 PM
Hi Experts,
I need to change the status of a Campaign. Which Class-Method or Function module shall i use. Any code snippet will be helpful.
Regards
Viks
Hi Vikash,
You can use class CL_CRM_MKTPL_APPL_BASE for changing the status of campaign.
Regards,
Lakshmi.Y
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CALL METHOD CL_CGPL_STATUS_MANAGEMENT=>status_change_extern
EXPORTING
im_guid = l_guid
im_check_only = SPACE
im_user_status = 'E0010'
im_set_inact =
im_application_type = 'MKT'
EXCEPTIONS
error_found = 1
others = 2
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Vikash,
You have not mentioned how you want to change it from the UI or from a program or report.
And change the status to what ? From UI it is quite simple and you can use one of the service classes.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.