Skip to Content
0
Former Member
Nov 25, 2009 at 01:26 PM

status when active modifed approved

24 Views

hi sap,

i have status change requirment where i need to change the status

there are 3 statuses.

1. initial,

2. modifed,

3. modified approved.

i am able to take from INITIAL to MODIFED.

but

can it move when activated from initial to MODIFED APPROVED?

becase i have tried using the FM :

when 'OPT1'. " active

call function 'STATUS_CHANGE_EXTERN'

exporting

  • CHECK_ONLY = ' '

client = sy-mandt

objnr = ls_contract-objnr"objnr

user_status = 'E0003'.

  • user_status = rt_status1-stat

.

if sy-subrc 0.

else.

commit work.

endif.

but when i set the status to E0004= MODIFIED APPROVED it does not go.

so my question is will this jump from initial to MODIFED APPROVED or it goes step by step like

initial to modifed and then modifed approved?

regards,

pasala.