cancel
Showing results for 
Search instead for 
Did you mean: 

powl query WITH status "Error in Transmission"

former_member204255
Participant
0 Kudos

Dear Experts,

is in SRM a POWL query availble especially with the status "Error in Transmission".

If not, what wpuld you recommend me isnetad of. The common monitor functionality is out of question as we cannot grant him this role.

Br

Accepted Solutions (1)

Accepted Solutions (1)

ivy_li
Active Contributor
0 Kudos

Hi,

For PO POWL, it has 'transfer failed' in status criteria, and if you seach PO with this status, the POs which has error in process will be listed.
For confirmation, invoice, we also have error in process for status.
Would you please specify which document type you need to have this status?


BR,
Ivy

former_member204255
Participant
0 Kudos

Hi Ivy,

I am meaning a POWL query within active queries below.

If not such a query is existing, is it diffucult to create a Z-Query?

Br

ivy_li
Active Contributor
0 Kudos

Hi,

For SC query, I am afraid that we have no option as 'error in process' for status option.
However you may consider adding it and meanwhile enhance the search method with this option.
Anyway, this needs to be enhanced.

BR,
Ivy

former_member204255
Participant
0 Kudos

Hi Ivy,

do you know how to to create a Z-Query in SRM?

Br,

ivy_li
Active Contributor
0 Kudos

Hi,

1, For SC, there should be option 'contains error' for status field. If you search SC with this status, SCs with error in process will also be listed.

2, if you would like to create your Z-query, you may consider the following transactions:

query id==>powl_query
SAPSRM_E_CHECKSTATUS_01

powl type==>powl_type
SAPSRM_FEEDER_SC


3, However if you would like to add status 'error in process' in the dropdown list, please check the coding in the following method which is hard-coded:

Method /SAPSRM/IF_PDO_SO_SEARCH_BASE~GET_VALUE_RANGES

Class /SAPSRM/CL_PDO_SO_SEARCH_BASE

     WHEN 'STATUS_MIXED'.
      CASE iv_object_type.
        WHEN /sapsrm/if_pdo_obj_types_c=>gc_pdo_shop.
          add_value /sapsrm/if_pdo_search_c=>gc_sc_all               space.    "space = All
          add_value /sapsrm/if_pdo_search_c=>gc_sc_released          text-002. "Approved
          add_value /sapsrm/if_pdo_search_c=>gc_sc_parked            text-003. "To be processed
          add_value /sapsrm/if_pdo_search_c=>gc_sc_rel_process       text-004. "In Approval
          add_value /sapsrm/if_pdo_search_c=>gc_sc_rejected          text-005. "Rejected
          add_value /sapsrm/if_pdo_search_c=>gc_sc_trans_error       text-006. "Faulty
          add_value /sapsrm/if_pdo_search_c=>gc_sc_private           text-007. "My templates
          add_value /sapsrm/if_pdo_search_c=>gc_sc_standard          text-008. "Standard templates
          add_value /sapsrm/if_pdo_search_c=>gc_sc_favorite          text-009. "My favorites
          add_value /sapsrm/if_pdo_search_c=>gc_sc_auto_conf         text-010. "Open for auto-confirmation
          add_value /sapsrm/if_pdo_search_c=>gc_sc_auto_inv          text-011. "Open for auto-invoicing
          add_value /sapsrm/if_pdo_search_c=>gc_sc_my_inbox          text-012. "In your Inbox

You have to do enhancement here.

4, In order to make use of this status for search, you have to do enhancement in search method such as :
Class /SAPSRM/CL_PDO_SO_SEARCH_SC_2
Method /SAPSRM/IF_PDO_SO_SEARCH_SC_2~EXECUTE_SEARCH

BR,
Ivy

former_member204255
Participant
0 Kudos

Hi Ivy,


I thank you very much. I will try to implement a Z-Query through mentioned steps by you.


I will get back to you.


Thanks again.


Regards

Answers (0)