Skip to content

Instantly share code, notes, and snippets.

@pvl
Created November 27, 2012 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvl/4157906 to your computer and use it in GitHub Desktop.
Save pvl/4157906 to your computer and use it in GitHub Desktop.
Search Help Mobile Patch
LY_MOBIWEAVERF01
*** 15,21 ****
data:
l_offset type i,
+ l_value type string,
l_title type string,
ls_xml type char255.
--- 15,20 ----
***************
*** 41,56 ****
l_title = <ls_dfies>-reptext.
endif.
+
+ l_value = <ls_record>+<ls_dfies>-offset(<ls_dfies>-leng).
+ l_value = cl_http_utility=>escape_html( l_value ).
+
concatenate '<field name="'
<ls_dfies>-fieldname
'" title="'
l_title
'">'
- <ls_record>+<ls_dfies>-offset(<ls_dfies>-leng)
+ l_value
'</field>'
into ls_xml.
append ls_xml to et_xml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment