01-22-2010 11:22 AM
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
01-22-2010 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
01-22-2010 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
01-22-2010 11:56 AM
01-23-2010 10:41 AM
Hi,
Please check the this link
http://membres.multimania.fr/benjaminroger/pg_sap/PROJETS/computer_system/ZRIPRIF02
Regards
Hiren K.Chitalia