on 12-23-2014 6:58 AM
hi,
There is requirement in my project to change the status of CRM Lead from open to reset through ABAP Program.Though a RESET Status profile is created in the system but no such configuration is done in system so that we can change status from Open to Reset.So is this situation feasible.I used FM CRM_ORDER_MAINTAIN to change status,but the OPEN status is not changing to RESET. Please help.
Message was edited by: Manish Kumar <subject shortened>
You should try this function: 'CRM_STATUS_CHANGE_EXTERN'.
Example:
CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN'
EXPORTING OBJNR = LV_GUID " GUID
USER_STATUS = LV_ESTATUS " Status
EXCEPTIONS
OBJECT_NOT_FOUND = 1
STATUS_INCONSISTENT = 2
STATUS_NOT_ALLOWED = 3
OTHERS = 4.
Hope it helps.
Argel.
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.