on 10-02-2005 3:18 PM
Hi,
I need to call an RFC which accepts a internal table as input(of AbstractList type as input). Please tell me the best and easy way of passing this as input.
internal table name : Li_mailer
type structure : Solisti1
Please help me in this.
Regards,
Narahari
Hi Narahari,
I assume you have already populated your table in WebDynpro.
Your code should be like this
<ModelNode>_Input input = new <ModelNode>_Input();
int nodeSize = wdContext.node<Li_mailer>().size();
for(int index=0; index<nodeSize; index++){
Solisti1 w_solist = new Solisti1();
WDCopyService.copyCorresponding(wdContext.node<Li_mailer>().get<Li_mailer>()ElementAt(index), w_solist);
input.add<Li_mailer>(w_solist);
}
try{
input.execute;
wdContext.<ModelNode>_Input.bind(input);
wdContext.nodeOutput().invalidate();
}
catch (WDDynamicRFCExecuteException ex){
}
This will work.
Regards,
Shubham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.