on 09-25-2015 6:41 AM
Hi Experts,
I need to use the FM SAP_CONVERT_TO_TEX_FORMAT in CRM to add delimiters to my internal table, but i could not find this FM in CRM.
Is there any other FM which is avaialbe in CRM in replace of the above.
Kindly share if you have faced the same issues.
Thanks
Rufus
Hi,
You can create custom function module for above requirement.
There is coding example you can use.
Data: lv_text(4096) type c .
Select * from ABC into table lt_abc.
loop at lt_abc into ls_abc.
concatenate lv_text lv_abc into lv_text seprated by '|'.
if sy-tabix eq 1.
concatenate ls_abc into lv_text.
else
Concatenate lv_text '|' ls_abc into lv_text.
endif.
endloop.
Thanks
sunny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samuel,
Yes you are right loop is not advice able on such a records but if you are asking about replacement of above function module (SAP_CONVERT_TO_TEX_FORMAT) which is in ECC. If you look at the source code of above said function module there they also used loop for putting delimiters in internal table records.
I have searched in crm but get nothing related to this issue then only I advised you for custom function module.
Regards,
Sunny
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.