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: 

How to use STATUS_CHANGE_INTERN

Former Member
0 Kudos

Hi,

I have a requirement to set the system status to printed using FM STATUS_CHANGE_INTERN, and we are using FM STATUS_TEXT_EDIT to get system status. Now it is working in QA03 for printing Inspection Instruction. I want to make the same in my custom development.

Regards

Nusal

1 ACCEPTED SOLUTION

former_member217544
Active Contributor
0 Kudos

Hi Nusal,

Check the where-used-list and also search in SDN. You will get lot of posts on how to use this function module.

anyway check if this is helpful:


data: it_status type table of JSTAT,
         wa_status type JSTAT.

      wa_status-stat =  '<value of printing status: eg. I0073>'.
      wa_status-INACT = ' '.

   append wa_status to it_status.

      CALL FUNCTION 'STATUS_CHANGE_INTERN'
        EXPORTING
          OBJNR               = <objnr of notification>
        TABLES
          STATUS              = <it_status>
        EXCEPTIONS
          OBJECT_NOT_FOUND    = 01
          STATUS_INCONSISTENT = 02
          STATUS_NOT_ALLOWED  = 03.

Regards,

Swarna Munukoti

3 REPLIES 3

former_member217544
Active Contributor
0 Kudos

Hi Nusal,

Check the where-used-list and also search in SDN. You will get lot of posts on how to use this function module.

anyway check if this is helpful:


data: it_status type table of JSTAT,
         wa_status type JSTAT.

      wa_status-stat =  '<value of printing status: eg. I0073>'.
      wa_status-INACT = ' '.

   append wa_status to it_status.

      CALL FUNCTION 'STATUS_CHANGE_INTERN'
        EXPORTING
          OBJNR               = <objnr of notification>
        TABLES
          STATUS              = <it_status>
        EXCEPTIONS
          OBJECT_NOT_FOUND    = 01
          STATUS_INCONSISTENT = 02
          STATUS_NOT_ALLOWED  = 03.

Regards,

Swarna Munukoti

kesavadas_thekkillath
Active Contributor
0 Kudos

It is well documented.

Former Member
0 Kudos