on 05-22-2011 9:47 AM
Hi
I have a requirement, to change system status based on when a user status is 'ABC'. This should happen at line item, when the user status is changed.
How do i register events. I did as folllows but doesnt work. My FM is not triggered at run time.
Trans. Category BUS2000112 Service Contract
Execution Time 136 END OF STATUS
Priority 30
Object Name STATUS Status
Event AFTER_CHANGE
Attribute <*>
Function ZEVENT_FM.
Perform at item lveel --> checked this option.
Is this the right event creation for my requirement. This should happen whenever my item status changes. I need to change status when system performs all and before any other custom event gets called for status my event should be called.
Really give award points for the right answer.
Regards,
Shravan P.
Hi,
I donk know the reason y u r going for the events instead of badi.Implement a new badi for the definition crm_order_status and in the method after change update the header status or item status as per ur requirement. To update the status use the FM 'CRM_STATUS_MAINTAIN_OW'.
Regards,
Gobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gobi,
I need this before the transaction is saved. user status is changed through action method and i need to change system status which i dont want to do in action method, instead looking for a place where all status are changed and exactly system is completed in changing status i want to change status, if one status is not set.
Regards,
Shravan P.
User | Count |
---|---|
6 | |
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.