Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CRM_ORDER_READ

Hi frnds,

My requirement is to get details related CRMD_ORDER transaction but dat also is in Open status.

I am using CRM_ORDER_READ for my requirement. But I am not getting active User Status. I tried to get details from ET_STATUS parameter but i m nt getting.

Please do need full help.

Regards,

AshishS

Tags:
replied

Hi,

Use this FM to get the status:

'CRM_STATUS_READ_MULTI'

This returns 'jcds_tab' which contains all the status of the Transaction.

'jcds_tab-stat' will have the value that distinguishes between the user status or transaction status.

use the FM as below:

CALL FUNCTION 'CRM_STATUS_READ_MULTI'
  EXPORTING
    client               = sy-mandt
    get_change_documents = 'X'
    no_buffer_fill       = 'X'
  TABLES
    objnr_tab            = lt_objnr_tab
    status               = lt_status
    jcds_tab             = lt_jcds_tab.

BHUPAL

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question