Trouble changing system status
Jim D Hill
JimD_Hill at colpal.com
Mon Jun 7 11:49:25 EDT 2004
Hi ,
I created a function module and in that function module I am trying to
change a system status of
a Trade Promotion in CRM. When setting the status to approved the method
works ok but when trying
to set the status to release the method runs without error but the status
of the Trade Promotion does not change.
Has anyone ever used the class - cl_cgpl_status_management with method
status_change.
See method call below -
call method cl_cgpl_status_management=>status_change
exporting
im_guid = lv_cpg_guid
* IM_CHECK_ONLY = SPACE
im_no_check = space
im_activity = lv_activity
* IM_ADD_MESSAGE = SPACE
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.
Please help !!!
Jim
More information about the SAP-WUG
mailing list