‎2007 Jun 06 11:08 AM
Hi ,
Can anyone explain the purpose of using STATUS_READ function module.
Regards
Rishikesh
‎2007 Jun 06 11:12 AM
Hi
It is very Important to read the Status of the PP and PM orders during the preparation of reports in programs.
Based on the PP and PM Order status, we have to consider only certain orders and to process them
So this fun module is used to know the status of the different objects/orders
This is nothing but Passing the OBJNR field of AUFK table to JEST table and reading the STAT field of the JEST table
Reward points for useful Answers
Regards
Anji
‎2007 Jun 06 11:16 AM
The function module reads a status object in the status management
internal buffer and delivers all or all active single statuses of the
status object.
<b> Parameters</b>
CLIENT----
client no
OBJNR----
Object number of status object to be read,
Object number must exist intable JSTO.
ONLY_ACTIVE----
'Transfer Active Statuses Only' Flag
Only those statuses are given that are currently active.
OBTYP----
Object type of status object
STSMA----
status profile assigned to the object
STONR----
Status number, i.e. status number of the only status currently active with status number or 00 if such is not active.(00 - 99)
STATUS----
Single statuses table
STATUS-STAT contains the status in internal format (Ixxxx, Exxxx).
If the STATUS-INACT field is initial, the status is active, if it is 'X'
the status is inactive.