Skip to Content
avatar image
Former Member

How to parse the content of Formatted-Text-Edit?

Hi Expert,

How to parse the content of Formatted-Text-Edit?

For example, a content of Formatted-Text-Edit is:

<p></p>Hello World!<br/>This is a test.<img src="/SAP/BC/WebDynpro/SAP/ZENHANCE_IA/test1.jpg" />

I want to replace the part "<img src="/SAP/BC/WebDynpro/SAP/ZENHANCE_IA/test1.jpg" />" with other statement.

How can I achieve it?

Use "CALL TRANSFORMATION"?

Can I use regular expression?

Thanks a lot.

Best Regards,

Derek

Edited by: Derek Zhao on Sep 20, 2010 10:11 AM

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Sep 20, 2010 at 12:32 PM

    You just want to perform server side text find and replace? If so, that is exactly what regular expressions are for - but then this isn't really a web dynpro specific questions and should be in the ABAP General forum. Please clarify.

    Add comment
    10|10000 characters needed characters exceeded