on 10-31-2006 10:23 AM
Hi,
I am making an webdynpro application which will fetch the data from R/3 and display that on the screen.
RFC connection is fine.
What are the function used to execute the BAPI from webdynpro.
thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinit,
See the sample and help
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715
Regards, Suresh KB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just import the BAPI into your WD.
for Standard BAPI no need the autharizartion.
Simple it is working Just I tried. Follow like this code.
Create a Custom controller make Model BAPI get your import and export params.
In the implementation WdInit() method add this code.
Bapi_Salesorder_Getlist_Input input = new Bapi_Salesorder_Getlist_Input();
wdContext.nodeBapi_Salesorder_Getlist_Input().bind(input);
// For this input add 0's before your value.if it lessthan 10 digits.
input.setCustomer_Number("0000000001");
input.setSales_Organization("0001");
try {
wdContext.currentBapi_Salesorder_Getlist_InputElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
} catch (WDDynamicRFCExecuteException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
And go to your view in the context mapp the BAPI in/out params.
And goto layout add templates select table add the output values to ur table.
Deploy the Application.
This should work.
Thanks,
Lohi.
Message was edited by: Lohitha M
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.