on 05-24-2010 12:34 PM
Hi all,
Binding Input and Output nodes of a model node.
Most of the time, we create a object of the input model node and then,
bind that object with wdContext.
Do we need to bind output node objects too in RFC Models?
Regards
Neha Singh
Hi Neha,
There is only need to bind for model Input node.
>> Do we need to bind output node objects too in RFC Models?
No, Output node is required when you want to disply data from backend RFC.
Like, when you execute the RFC, you will get the output data from backend that you need to show in the web dynpro screen.
Hope it will helps
Regars
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha,
There is no need to create/bind the model node. you can execute a bapi using classes.
To execute a bapi, you should do the following things.
1. Import the RFC and create the model.
2. Create an object of the input class of the bapi
e.g. :
Zbapi_Test_Input commision_Input = new Zbapi_Testn_Input();
3. Set the input
commision_Input.setSpart(division);
4. execute the bapi
commision_Input.execute();
5. Disconnect the model
commision_Input.modelInstance().disconnectIfAlive();
6. Get the output. Create an object for output class
Zbapi_Test_Output output = commision_Input.getOutput();
String commission = output.getCommision();
Hope this helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need not bind the output to the node after u create the object. All u need is the object of the Input() node and bind it to the Input node.
Output is used only after executing the model.
Regards,
Poojith MV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Binding input node is enough
- Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.