Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Solution Manager get SAP Component Function

Former Member
0 Likes
378

Hi Sap Network Community 

I have a question on the solution manager. I have created an action with the crmd_order inside. The function works fine apart the Sap component extraction:

I also tried with this functions but  lt_service_h is always empty

    CALL FUNCTION 'CRM_ORDER_READ_OW'
    EXPORTING
      it_header_guid       = lt_header_guid
      it_requested_objects = lt_requested_objects
    IMPORTING
      et_orderadm_i        = lt_orderadm_iw
      et_partner           = lt_partner
      et_service_h         = lt_service_h
    EXCEPTIONS
      document_not_found   = 1
      error_occurred       = 2
      document_locked      = 3
      no_change_authority  = 4
      no_display_authority = 5
      no_change_allowed    = 6
      OTHERS               = 7.

I need to read the Sap component and put the correct material in the order.

The empty field is

    ll_component = lt_service-/AICRM/SAP_COMP.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
341

Issue solved, there is a parameter missing in lt_requested_objects

1 REPLY 1
Read only

Former Member
0 Likes
342

Issue solved, there is a parameter missing in lt_requested_objects