Trouble changing system status
David Weston
weston at clockwork.ca
Mon Jun 7 13:13:02 EDT 2004
Just wondering if you need a COMMIT WORK statement somewhere ?
Dave=20
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of =
Jim D
Hill
Sent: 07 June 2004 11:49
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Trouble changing system status
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=3D>status_change
exporting
im_guid =3D lv_cpg_guid
* IM_CHECK_ONLY =3D SPACE
im_no_check =3D space
im_activity =3D lv_activity
* IM_ADD_MESSAGE =3D SPACE
exceptions
error_found =3D 1
others =3D 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