on 07-04-2011 6:04 AM
Please help to get the data in get the data in hard coded table format.
hey Nutan,
Can you be specific?what exactly you want?
Thanks & Regards
Ajitabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am developing one application in SAP web dynpro java. So I created one hard coded table,and now I want code to fetch the data from SAP R/3 in that table field.
For table creation I am using this code
public void wdDoInit()
{
//@@begin wdDoInit()
//wdThis.wdGetMARS_CompController().EmpPOEndDateReminder();
wdContext.currentContextElement().setED_visibility(WDVisibility.NONE);
wdContext.currentContextElement().setSD_visibility(WDVisibility.NONE); //CODE FOR TABLE VISIBILITY
// The array values to print the names of Enteg Utilization %
IPrivateEmpReportSearchView.IEnetgQuantityTableElement qele;
String quantity[] = {"Enteg Utilization ", "Enteg Utilization - Trainees",
"Utilization - Trainees - support", "Support Function"};
for(int i=0; i<=3; i++)
{
qele = wdContext.createAndAddEnetgQuantityTableElement();
// qele.setSNo(i+1);
qele.setEnetgUtilizName(quantity<i>);
}
// The array values to print the names of Enteg Utilization
IPrivateEmpReportSearchView.IEmpUtilizationTableElement uele;
String utiliz[] = {"Billable - deployed", "Non Billable - deployed",
"Bench - Available", "Bench - NonAvailable", "Suppot Function",
"Management","Total"};
for(int i=0; i<=6; i++)
{
uele = wdContext.createAndAddEmpUtilizationTableElement();
uele.setUtilizatn(utiliz<i>);
}
// The array values to print the names of Emp Available for Deployment
IPrivateEmpReportSearchView.IEmpAvailForDeployTableElement aele;
String avail[] = {"ABAP", "BI/BW", "FICO" ,"HR" , "Logistics", "NetWeaver", "Support Function",
"SAP HR","SD", "BI", "Grant Total"};
for(int i=0; i<=10; i++)
{
aele = wdContext.createAndAddEmpAvailForDeployTableElement();
aele.setPractice(avail<i>);
}
//@@end
}
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.