cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying new FM in existing transaction SAPRFC

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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