cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How would I make a help ticket utilizing CRM_ORDER_MAINTAIN?

0 Likes
302

I'm attempting to become familiar with the Function Module CRM_ORDER_MAINTAIN thus far I figured out how to make a standard request with accomplices and their jobs, but at this point, I'm experiencing difficulty making a help ticket with its necessary fields.

I had a go at investigating the FM while calling it from WEBUI to see what constructions and tables are to be filled yet I'm experiencing a touch of difficulty sorting out which ones to fill and which ones are produced and couldn't say whether I'm missing something little someplace that is causing it not to save.

I think the mistake lies in this piece of the code that handles Categorization, in light of the fact that the other code that handles adding accomplices worked for the standard request.

I'm not filling any GUIDES and just filling HANDLES since that is how I helped the standard request.

*****categorization: motive+submotive******
clear ls_input_fields.
clear ls_fieldsname.

ls_fieldsname-fieldname = 'CONC_KEY'.
INSERT ls_fieldsname INTO TABLE ls_input_fields-field_names.
ls_input_fields-ref_handle = 1."
ls_input_fields-ref_kind = gc_object_kind-orderadm_h.
ls_input_fields-objectname = 'SERVICE_OS'.

ls_subject-ref_handle = ls_orderadm_h-handle.
ls_subject-ref_handle_h = ls_orderadm_h-handle.
ls_subject-katalogart = 'Z1'.
ls_subject-codegruppe = 'ZCA00001'.
ls_subject-code = 'Z044'.
append ls_subject TO ls_osset-subject.
ls_osset-ref_handle = ls_orderadm_h-handle.
ls_osset-profile_type = 'A'.
ls_osset-subject_profile = 'ZCCCAST'.
append ls_osset to ls_service_os-osset.
ls_service_os-ref_handle = ls_orderadm_h-handle.
append ls_service_os to it_service_os.

INSERT ls_input_fields INTO TABLE lt_input_fields.

ls_subject-ref_handle = ls_orderadm_h-handle.
ls_subject-ref_handle_h = ls_orderadm_h-handle.
ls_subject-katalogart = 'Z1'.
ls_subject-codegruppe = 'ZCA00002'.
ls_subject-code = 'Z009'.
append ls_subject TO ls_osset-subject.
ls_osset-ref_handle = ls_orderadm_h-handle.
ls_osset-profile_type = 'A'.
ls_osset-subject_profile = 'ZCCCAST'.
append ls_osset to ls_service_os-osset.
ls_service_os-ref_handle = ls_orderadm_h-handle.
append ls_service_os to it_service_os.

INSERT ls_input_fields INTO TABLE lt_input_fields.

Any help is appreciated

--------------------------------Code from
best CRM tools.

Accepted Solutions (0)

Answers (0)