Hi Huang,
Interface IF_CONTEXT_NODE_INFO can be used to get the data from a dynamic node, please check the last section of the below ink, which exactly fulfills your requirement.
How to get data from a dynamic node in Webdynpro ABAP ?
Regards,
Harsha