cancel
Showing results for 
Search instead for 
Did you mean: 

How to execute RFC in web dynpro java

Former Member
0 Kudos

Hi Expert,

I want to execute an RFC in my web dynpro program.But its giving error while executing from web dynpro java application..

pleae help me with suitable code to execute RFC.

Thnks & regards,

aniruddha

Accepted Solutions (0)

Answers (4)

Answers (4)

p330068
Active Contributor
0 Kudos

Hi Aniruddha,

Please check the below link for RFC execution code in web dynpro for Java :-

[execute RFC |http://wanek.hu/3_m/Jawa_WebDynpro__WANEK.pdf]

[Adaptive RFC- Troubleshooting Guide|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2?quicklink=index&overridelayout=true]

Hope it helps,

Regards,

A

junwu
Active Contributor
0 Kudos

hi,

you can use the template to generated the code to execute the rfc.

just right click your web dynpro component and choose template....

Best regards,

John

Former Member
0 Kudos

Hi,

Could you please describe what are the errors you are getting while executing the RFC also please post the code you are using to execute the RFC.

Regards,

Saravanan K

yogesh_galphade
Contributor
0 Kudos

hi

input3 = new Z_Emp_Resig_Input(WDModelScopeType.TASK_SCOPE);

//this rfc will return details

Zemp_Resig tab = new Zemp_Resig();

tab.setTransid(requestId);

input3.addT_Employee(tab);

input3.setIt_Flag("9");

wdContext.nodeZ_Emp_Resig_Input().bind(input3);

input3.execute();

1. Define input3 globaly

2. also initalize in wdinit