on 02-03-2009 5:13 AM
hii,
I have a RFC where i set some values and execute it.The coding structure is like that :
IPublicTdc_DataCust.IZsm_Calc_Csi_Report_InputNode InputNode = wdThis.wdGetTdc_DataCustController()
.wdGetContext().nodeZsm_Calc_Csi_Report_Input();
Zsm_Calc_Csi_Report_Input calcsiInput = new Zsm_Calc_Csi_Report_Input();
calcsiInput.setTypes("WIMS");
Zsm_Wims_Det wims_det = null;
wims_det = new Zsm_Wims_Det();
wims_det.setWims_Number(wdContext.currentContextElement().getWimsNumber());
calcsiInput.addCsi_Report(wims_det);
InputNode.bind(calcsiInput);
wdThis.wdGetTdc_DataCustController().executeZsm_Calc_Csi_Report_Input();
When i execute the RFC i get some values fetched on the basis of the above parameters passed to the RFC.But i guess
filtering for data is not happening for
wims_det.setWims_Number(wdContext.currentContextElement().getWimsNumber());
at the dynpro side while data is being filetered for the same at the R3 side.Any clues for this ??As to where am going wrong ??
Hi
First check the value of getWimsNumber()...............
and then try to get the value of "wdContext.currentContextElement().getWimsNumber()" and store into compitable data type and then set it to "wims_det.setWims_Number" and see if it works or not......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
I tried out both with
wdContext.currentContextElement().getWimsNumber();
and
wims_det.setWims_Number(wims_number);
wdComponentAPI.getMessageManager().reportSuccess(""+wims_det.getWims_Number());
Corrrect values are there in both the cases.
What i find is prob with calcsiInput.addCsi_Report(wims_det); because of which while execution of RFC , correct filtration of data is not taking place after passing the wims number ?
Is it may be due to any prob at R3 side though correct data filtration is working out at R3 side...
Hi,
Try this code:
Zsm_Calc_Csi_Report_Input calcsiInput = new Zsm_Calc_Csi_Report_Input();
wdContext().nodeZsm_Calc_Csi_Report_Input().bind(calcsiInput);
calcsiInput.setTypes("WIMS");
Zsm_Wims_Det wims_det = new Zsm_Wims_Det();
wims_det.setWims_Number(wdContext.currentContextElement().getWimsNumber());
wdContext.currentZsm_Calc_Csi_Report_InputElement().modelObject().addCsi_Report(wims_det);
wdThis.wdGetTdc_DataCustController().executeZsm_Calc_Csi_Report_Input();
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.