Skip to Content
avatar image
Former Member

How to use STATUS_CHANGE_INTERN

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 22, 2010 at 11:46 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 23, 2010 at 10:41 AM

    Hi,

    Please check the this link

    http://membres.multimania.fr/benjaminroger/pg_sap/PROJETS/computer_system/ZRIPRIF02

    Regards

    Hiren K.Chitalia

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 22, 2010 at 11:56 AM

    It is well documented.

    Add comment
    10|10000 characters needed characters exceeded