Dear SAP
I am trying to retrieve the WBS element data of a EnterPrise Project using the SDK in a Java application.
However, when I run it with the following source, I get an InternalServerError.
// 財務プロジェクトのWBS要素を取得する List<EnterpriseProjectElement> enterpriseProjectElement = new DefaultEnterpriseProjectService() .getAllEnterpriseProjectElement() .filter(EnterpriseProjectElement.COMPANY_CODE.eq("1000").or(EnterpriseProjectElement.COMPANY_CODE.eq("2000"))) .select(EnterpriseProjectElement.PROJECT_ELEMENT, EnterpriseProjectElement.PROJECT_ELEMENT_DESCRIPTION, EnterpriseProjectElement.PROJECT_ELEMENT_UUID, EnterpriseProjectElement.COMPANY_CODE, EnterpriseProjectElement.PROFIT_CENTER, EnterpriseProjectElement.CREATION_DATE_TIME, EnterpriseProjectElement.RESPONSIBLE_COST_CENTER, EnterpriseProjectElement.COST_CENTER, EnterpriseProjectElement.PROCESSING_STATUS) .orderBy(EnterpriseProjectElement.PROJECT_ELEMENT, Order.ASC) .executeRequest(destination.asHttp());
Question1.
I am thinking of switching from the SDK to the OData API for the acquisition method, but I am concerned about the large amount of data since there are 110,000 projects to acquire. Is there a better way?
Question2.
In the above source code, is there anything wrong in the way the SDK is called?
Best regards,