cancel
Showing results for 
Search instead for 
Did you mean: 

problem regarding system status

Former Member
0 Kudos

hi Experts,

actually i wanted to select only those orders in zreport

which are in the process.

for example a certain order is in the process

and say for activity no. 20 there is confirmation of say 4 qty,

for this, system generates status as 'ICHA REL' i.e. Inspect Lot Release

and i want to select the same system status.

so please tell me how can i select the same orders.

thanks in advance.

Regard,

vijay chavan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear\

Goto CAUFV and select the orders and pass it to following FM

STATUS_CHECK

Check the status I0282 and I0002 is active or not and select only such orders where both are active.

Please coem back if you need help.

Former Member
0 Kudos

Hi Vijay,

Please check the FM , this can be used to list all the orders based on your selection condition.Define range for the selections and then filter based on status.

Call BAPI to get all production orders for given input slection. something like as shown below.

CALL FUNCTION 'BAPI_PRODORD_GET_LIST'

EXPORTING

collective_order = 'X'

IMPORTING

return = x_return

TABLES

order_number_range =

prodplant_range =

order_type_range =

order_header = t_header.

Then out of the list filter the status some thing like this....split the header table take into to other table from there read the data and use count " subrc ne = ".

Select only those production orders which have the status (REL or ICHL)

SPLIT t_header-system_status AT space

INTO TABLE t_type

READ TABLE t_type WITH TABLE KEY

type = c_type2.

Call the data into t_header ( some header table ).

I think with this information ur developer can develop a report for orders based your status criteria.

reward .....

Thanks,

Message was edited by:prakash

prakash Uddagatti