on 08-17-2007 11:34 PM
Hi Experts,
I have done sales order using bapi in web dynpro. I have complete all my design part related to this like context mapping, model binding etc an all are working fine, now i have to write some java code in the Implementaion tab.,
I have taken fields for this BAPI
1-Output · Return
Output · SalesOrders
Customer_Number
Document_Date
Document_Date_To
Sales_Organization
I have wriiten something but, i am not sure as i do not have java background.
so please help me out this issue or send me some documets on this topic.
thanks & regards,
Iqbal Ahmad
Hi igbal,
Please refer to following link..
Regards,
P.Manivannan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Iqbal,
Check this url for sample apps :
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">https [original link is broken] [original link is broken]
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This is the best thread to find all the flow and no need to write more code.
U can add the followng code n the init method of any view or custom controller
wdContext.nodeControllernodename().bind(new FnModule());
// pass the nput.
try{
WdContext.CurrentControllerNodeElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
close the brace and
catch(Excepton e)
{
e.prntStacTrace();
close the trace.
Thans
Lohi
Message was edited by:
Lohitha M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
First You have to bind the Model . Using the below code make necessary changes according to your bapi name in the component controller
public void wdDoInit()
{
//@@begin wdDoInit()
Bapi_Flight_Getlist_Input bapi_obj = new <Bapi_*****_Input()>;
wdContext.node<Bapi_**********_Input()>.bind(bapi_obj);
try
{
wdContext.node<Bapi_***********_Input()>.currentBapi_Flight_Getlist_InputElement().modelObject().execute();
wdContext.node<node below output>.invalidate();
}
catch(Exception e)
{
e.getStackTrace();
}
//@@end
}
Regards
Chandran S
Message was edited by:
Armin Reichert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.