Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

status when active modifed approved

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

1. your requirement is not clear.

2. if you issue is related with FM , just check the documentation of FM.

3. Else , try to explain your issue in detail.

Former Member
0 Kudos

sorted