When you select the second record in the ALV LR_XML_REF has been initialised, so it will never update the XML and will always show the original XML.
Remove the statement
IF LR_XML_REF IS NOT INITIAL.
And that should help.
Cheers,
Katan
When you select the second record in the ALV LR_XML_REF has been initialised, so it will never update the XML and will always show the original XML.
Remove the statement
IF LR_XML_REF IS NOT INITIAL.
And that should help.
Cheers,
Katan