on 05-19-2011 9:29 PM
Hi all,
I have a dilemna. I did some major refactoring (OK, rewrite) of a function module that is used in a complex transaction. I want to be able to easily swap the old and new FMs based on a URL parameter. However, it seems the result xml has the root node name that matches the FM/RFC name. So, even if I dynamically change the SAPRFC (new and old same signature) the transaction breaks because the xpath changes...
How would I accomplish this without creating two transactions and queries? Any suggestions
Thanks,
--Amy Smith
--Haworth
Hi Amy,
I can suggest one thing.
Create one transaction property for your dyamic root name of xml and pass same from your URL parameter.
than you can use dynamic xpath inside your transaction
#RootNamVariable#/your xpath after root.
dont forget to use"#" before and after you transaction property.
try this it may be help you.
Please send your xpath with different root name.
Regards,
manoj Bilthare
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
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.