Application Development and Automation 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: 
Read only

Matchcode object i_status_sys and i_status_usr

Former Member
0 Likes
1,036

Hi guys,

I need help regarding matchcode object.

I copied a program from earlier version of SAP (R/3) to ECC6.

In that program there is a selection screen field with matchcode object i_status_sys and i_status_usr. I have tried this in R/3 and it works fine, but it doesn't work in ECC6.

Anybody knows the new version of i_status_sys and i_status_usr?

Thanks!

Sam.

Hi guys,

I need help regarding matchcode object.

I copied a program from earlier version of SAP (R/3) to ECC6.

In that program there is a selection screen field with matchcode object i_status_sys and i_status_usr. I have tried this in R/3 and it works fine, but it doesn't work in ECC6.

Anybody knows the new version of i_status_sys and i_status_usr?

Thanks!

Sam.

6 REPLIES 6
Read only

Former Member
0 Likes
834

Hi,

In the New Version also,it is I_STATUS_SYS & I_STATUS_USR.You check it in SE11 of ECC6 Version.

Regards,

Padmam.

Read only

0 Likes
834

Hi Padmam,

Thanks for replying. ECC6 also has I_STATUS_SYS and I_STATUS_USR, but they didn't work somehow.

I have tried them in my selection screen but nothing pops up when I hit F4.

Read only

0 Likes
834

ok. I ran into this same problem. I guess SAP has hard-coded inside the search help 'I_STATUS' the programs that can call it. So if you want your 'Z' program to use this search help 'I_STATUS', you have to do some memory setup to tell the search help it's ok if my program "reuses" you. I know it is weird.

So enter these three line in your initilization event in your 'Z' program.

DATA: p_obtyp TYPE j_obtyp.

p_obtyp = 'IEQ'.

EXPORT p_obtyp TO MEMORY ID 'PM_OBTYP'.

Magic? Maybe, but this solved the problem for me.

Read only

0 Likes
834

This works great. This should be closed with max points. I couldn't find a note in OSS for this. I'm curious how you figured this one out.

Thanks

Read only

0 Likes
834

I wish I could mark this as answer, it worked for me too. Thank you!

Read only

0 Likes
834

Hi Troy,

looking into the search help exit 'IMCH_STATUS_SYS_EXIT' of search help 'I_STATUS_SYS' you can find in the SELECT step 'PERFORM step_select_stat_sys'. Then in the form 'STEP_SELECT_STAT_SYS' there is a call to the form 'GET_OBTYP'. There you see that depending on the program calling the search help, the obtyp parameter gets a different value. For example in the case of notification status selection in IW29 obtyp is 'QMI'. By debugging you can find out which obtyp you need to set for your specific case.