Skip to Content
0
Former Member
Nov 20, 2011 at 03:17 AM

Which is correct way to get Status of Item CRM_ORDER_READ or CRM_STATUS_REA

768 Views

Hi All,

could anyone suggest me how do i read status of Item, during order save. I have my logic in order save BADI.

I get Inact status as 'X' in ET_STATUS internal table from CRM_ORDER_READ_OW.

but for the same item Inact status is ' '(Blank) when i check in CRM_JEST table or when i run function module CRM_STATUS_READ .

Table: CRM_JEST or CRM_STATUS_READ Fn module

STAT INACT

E0001 X

E0004

E0010

for the same order values of ET_STATUS internal table of CRM_ORDER_READ_OW Fn module shows the following result

STAT INACT

E0001 X

E0004 X

E0010 X

Do i need to call one more Fn CRM_READ_STATUS to check Status of item, though i'm using CRM_ORDER_READ_OW to get the current values for all other tables (like customer_I, product_I, Billing...)

As I need to do validations based on Inact status of item status

Thanks,

Harshit