cancel
Showing results for 
Search instead for 
Did you mean: 

FM used to convert problem description to it_text ?

Former Member
0 Kudos
74

Hi all,

What is the FM or routine used to convert the problem description or notes we provide in WEBUI to it_text which is an importing parameter for ORDER_MAINTAIN FM?

Thanks,

Karthik

Accepted Solutions (1)

Accepted Solutions (1)

former_member182421
Active Contributor
0 Kudos

I found one possible solution and a spot where you can put a break point and analyze the standard

1- Possible solution: cl_crm_erms_converter=>convert_string_to_table

2- Spot where you can place a breakpoint an analyze the standard: CL_CRM_TEXT_RUN_BTIL->IF_CRM_RUNTIME_BTIL~MAINTAIN_ATTRIBUTES

Did you try to perform a reference search on the type table CRMT_TEXT_COMT you will find plenty of spots where is used and from here...analyze time

Cheers!

Luis

Former Member
0 Kudos

Hi Luis,

Thanks for your reply. I got the FM that is used in standard code.

    CALL FUNCTION 'CONVERT_STREAM_TO_ITF_TEXT'

      TABLES

        text_stream = lt_text_table

        itf_text    = ls_text_com-lines.

Thanks,

Karthik

former_member182421
Active Contributor
0 Kudos

glad that you find it and share it

Former Member
0 Kudos


Thanks

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Karthikeyan,

Put a breakpoint in FM CRM_ORDER_MAINTAIN, fill the notes section and save it. You will discover yourself what all parameters needs to be filled for IT_TEXT and CT_INPUT_FIELDS.

--Shobhit

Former Member
0 Kudos

Hi Shobhit,

Thanks for your suggestion. I wanna know where exactly the notes that i enter in WEBUI field is getting converted into it_text which is an importing parameter for FM CRM_ORDER_MAINTAIN.

When i place a breakpoint at tiz FM i can get the values that i enter in the webui are converted into table format and stored in IT_TEXT. The requirement is to know the place where its being changes and passed to this FM.

Hope you got the point.

Thanks,

Karthik