Error in Creation of a New View Object from Existing Entites

I define a Complex JOIN in the expert mode of the View Object Creation Mode. On trying to access the VO, the system returns an error, unable to creat View Objecy.
THe SQL Statement begins with
SELECT * from ( select ...My actual Query)
Is it possible to define ur own view objects with the same flexibility as the Data Tables

Hi Saket,
Following will be required for created a custom business object.
1. Object Type - ZTEST (Internal Techincal Key)
2. Object Name - ZTESTNAME (Technical Key Name)
3. Name - TEST (Name of BO, it is used while selecting the object type)
4. Description - (Short Description of BO)
5. Program - ZTESTPROGRAM (ABAP program in which the methods of the object type are implemented)
6. Application - A or B.. etc (Area to which your BO is related)
Please remember that you can learn these basic things by giving F1 help on those fields and in HELP.SAP.COM.
Regards,
Gautham Paspala

Similar Messages

  • New View Object not found

    Using the scott schema, in my test workspace I created a BC4J project that had 4 tables/view objects using the wizards and taking all the defaults. I created a UIX-JSP project using those view objects.
    Next I created a new table in the database (LoginMaster). I went back to the BC4J project added the entity object (LoginMaster) and allowed the wizard to build the default view object (LoginMasterView) into package1. Then I opened the properties on the AM (ScottModule)to put the new view object in the Data Model property. I tested the ScotMOdule AM and the view object is there and is accessable.
    I build a jsp page (using the starter form wizard in UIX-JSP category). I then striped out ALL of the default code and cut-n-pasted ALL of the code from another query form that was built by the "Business Components JSP Application" wizard of the UIX-JSP category. I changed the data source name from "EmpView" to "LoginMasterView" and when I run the application I'm told:
    Error Message: Could not locate View Object LoginMasterView in application Package1Module.
    oracle.jbo.JboException: Could not locate View Object LoginMasterView in application Package1Module.
    As I said, the VO LoginMasterView is in package1. I also verified it is coded in package1.xml andd scottmodule.xml, I suspect it was put here by setting the AM properties.
    So what did I leave out or do wrong?
    TIA,
    Ed.

    Edit your package1Module application module and verify that the name of the viewobject in the selected DataModel tree is the same as the name you're providing in your JSP page.
    I belive by default a number suffix is added to the VO names in the APpModule datapanel. Basically only VO usages that are included in the application module data-model are "findable" by default using the findViewObject methods. Yes it is the correct name in the DataModel Tree.
    Your response got me thinking. What files contain the text LoginMasterView? Well, all the files that conatin that text contain exactly that text. I was told package1.xml in the src directory of my BC4J objects project contained the text (which it did). But then I opened the files Package1Module.xml and Package1ModuleImpl.java and noticed they DID NOT conatin that text (even though it seems they should) so I added it to both of these files. But even after I built the BC4J objects project I noticed that the Package1ModuleImpl.class file is not recompiled (still dated July 4, 2002).
    So now I have two new questions:
    1. How come Package1Module.xml and Package1ModuleImpl.java did not get updated? What updates them?
    2. Once Package1ModuleImpl.java is manually updated and the [roject is built why is Package1ModuleImpl.class not recompiled?
    TIA,
    Ed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Try to add new View object to an exist AM

    Dears ,
    i'm trying to create new text filed in an exist OAF page and i have create anew vo and add it to the exist AM the below erroe has been appeared
    Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = XxTedExtVONEW1; APPLICATION_MODULE = xxted.oracle.apps.per.extint.server.XxTedExtAM;
    below is the code of XxTedExtAM  and the red is my code for adding the new view object:
    /*     */ package xxted.oracle.apps.per.extint.server;
    /*     */ import java.io.PrintStream;
    /*     */ import oracle.apps.fnd.framework.OAException;
    /*     */ import oracle.apps.fnd.framework.OARow;
    /*     */ import oracle.apps.fnd.framework.OAViewObject;
    /*     */ import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    /*     */ import oracle.apps.fnd.framework.server.OADBTransaction;
    /*     */ import oracle.jbo.Row;
    /*     */ import oracle.jbo.domain.Date;
    /*     */ import oracle.jbo.domain.Number;
    /*     */ import oracle.jbo.server.ViewLinkImpl;
    /*     */ public class XxTedExtAMImpl extends OAApplicationModuleImpl
    /*     */   public XxTedAnotherJobVOImpl getXxTedAnotherJobVO1()
    /*  19 */     return (XxTedAnotherJobVOImpl)findViewObject("XxTedAnotherJobVO1");
    /*     */   public XxTedCompenVOImpl getXxTedCompenVO1()
    /*  24 */     return (XxTedCompenVOImpl)findViewObject("XxTedCompenVO1");
    /*     */   public XxTedCultIssueVOImpl getXxTedCultIssueVO1()
    /*  29 */     return (XxTedCultIssueVOImpl)findViewObject("XxTedCultIssueVO1");
    /*     */   public XxTedGuidlinesVOImpl getXxTedGuidlinesVO1()
    /*  34 */     return (XxTedGuidlinesVOImpl)findViewObject("XxTedGuidlinesVO1");
    /*     */   public XxTedJobIssueVOImpl getXxTedJobIssueVO1()
    /*  39 */     return (XxTedJobIssueVOImpl)findViewObject("XxTedJobIssueVO1");
    /*     */   public XxTedLeaveResVOImpl getXxTedLeaveResVO1()
    /*  44 */      return (XxTedLeaveResVOImpl)findViewObject("XxTedLeaveResVO1");
    /*     */   public XxTedRelIssueVOImpl getXxTedRelIssueVO1()
    /*  49 */     return (XxTedRelIssueVOImpl)findViewObject("XxTedRelIssueVO1");
    /*     */   public XxTedTerminologyVOImpl getXxTedTerminologyVO1()
    /*  54 */     return (XxTedTerminologyVOImpl)findViewObject("XxTedTerminologyVO1");
    /*     */   public static void main(String[] args)
    /*  58 */     launchTester("xxted.oracle.apps.per.extint.server", "XxTedExtAMLocal");
    /*     */   public XxTedExitInterviewVOImpl getXxTedExitInterviewVO1()
    /*  64 */     return (XxTedExitInterviewVOImpl)findViewObject("XxTedExitInterviewVO1");
    /*     */   public XxTedExitintDetF1VOImpl getXxTedExitintDetF1VO1()
    /*  69 */     return (XxTedExitintDetF1VOImpl)findViewObject("XxTedExitintDetF1VO1");
    /*     */   public XxTedExitintDetF2VOImpl getXxTedExitintDetF2VO1()
    /*  74 */     return (XxTedExitintDetF2VOImpl)findViewObject("XxTedExitintDetF2VO1");
    /*     */   public XxTedExitintDetF3VOImpl getXxTedExitintDetF3VO1()
    /*  79 */     return (XxTedExitintDetF3VOImpl)findViewObject("XxTedExitintDetF3VO1");
    /*     */   public XxTedExitintDetF4VOImpl getXxTedExitintDetF4VO1()
    /*  84 */     return (XxTedExitintDetF4VOImpl)findViewObject("XxTedExitintDetF4VO1");
    /*     */   public XxTedExitintDetF5VOImpl getXxTedExitintDetF5VO1()
    /*  89 */     return (XxTedExitintDetF5VOImpl)findViewObject("XxTedExitintDetF5VO1");
    /*     */   public XxTedExitintDetF6VOImpl getXxTedExitintDetF6VO1()
    /*  94 */     return (XxTedExitintDetF6VOImpl)findViewObject("XxTedExitintDetF6VO1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF1VL1()
    /*  99 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF1VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF2VL1()
    /* 104 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF2VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF3VL1()
    /* 109 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF3VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF4VL1()
    /* 114 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF4VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF5VL1()
    /* 119 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF5VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF6VL1()
    /* 124 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF6VL1");
    /*     */   public XxTedReqIdVOImpl getXxTedReqIdVO1()
    /* 129 */     return (XxTedReqIdVOImpl)findViewObject("XxTedReqIdVO1");
    /*     */   public XxTedInterviewerVOImpl getXxTedInterviewerVO1()
    /* 134 */     return (XxTedInterviewerVOImpl)findViewObject("XxTedInterviewerVO1");
    /*     */   public void initRecords()
    /* 138 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 139 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 140 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 141 */     OAViewObject XxTedReqIdVO = getXxTedReqIdVO1();
    /* 142 */     if (!XxTedReqIdVO.isPreparedForExecution())
    /* 144 */       XxTedReqIdVO.executeQuery();
    /* 146 */     Row[] reqRow = XxTedReqIdVO.getAllRowsInRange();
    /* 147 */     XxTedReqIdVORowImpl reqRowImp = (XxTedReqIdVORowImpl)reqRow[0];
    /* 149 */     OAViewObject XxTedExitInterviewVO = getXxTedExitInterviewVO1();
    /* 150 */     if (!XxTedExitInterviewVO.isPreparedForExecution())
    /* 152 */       XxTedExitInterviewVO.setMaxFetchSize(0);
    /* 153 */       XxTedExitInterviewVO.executeQuery();
    /* 154 */       XxTedExitInterviewVO.setMaxFetchSize(-1);
    /* 156 */     Row row = XxTedExitInterviewVO.createRow();
    /* 157 */     row.setAttribute("RequestId", reqRowImp.getAttribute("Reqid"));
    /* 158 */     row.setAttribute("RequesterId", empRowImp.getAttribute("EmployeeNumber"));
    /* 160 */     XxTedExitInterviewVO.insertRow(row);
    /* 161 */     row.setNewRowState((byte)0);
    /*     */   public void execQueries(String userId)
    /* 166 */     OAViewObject XxTedGuidlinesVO = getXxTedGuidlinesVO1();
    /* 167 */     if (!XxTedGuidlinesVO.isPreparedForExecution())
    /* 169 */       XxTedGuidlinesVO.executeQuery();
    /* 172 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 173 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 175 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", userId);
    /* 176 */       XxTedEmpDataVO.executeQuery();
    /* 179 */     OAViewObject XxTedTerminologyVO = getXxTedTerminologyVO1();
    /* 180 */     if (!XxTedTerminologyVO.isPreparedForExecution())
    /* 182 */       XxTedTerminologyVO.executeQuery();
    /* 185 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 186 */     if (!XxTedLeaveResVO.isPreparedForExecution())
    /* 188 */       XxTedLeaveResVO.executeQuery();
    /////////////////////////////lamiaa///////////////
           /* OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
                if (!XxTedExtVONEW.isPreparedForExecution())
                XxTedExtVONEW.executeQuery();
      /////////////////////////////lamiaa///////////////
    /* 191 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 192 */     if (!XxTedCompenVO.isPreparedForExecution())
    /* 194 */       XxTedCompenVO.executeQuery();
    /* 197 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 198 */     if (!XxTedJobIssueVO.isPreparedForExecution())
    /* 200 */       XxTedJobIssueVO.executeQuery();
    /* 203 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 204 */     if (!XxTedRelIssueVO.isPreparedForExecution())
    /* 206 */       XxTedRelIssueVO.executeQuery();
    /* 209 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 210 */     if (!XxTedCultIssueVO.isPreparedForExecution())
    /* 212 */       XxTedCultIssueVO.executeQuery();
    /* 215 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 216 */     if (!XxTedAnotherJobVO.isPreparedForExecution())
    /* 218 */       XxTedAnotherJobVO.executeQuery();
    /* 220 */     OAViewObject XxTedInterviewerVO = getXxTedInterviewerVO1();
    /* 221 */     if (!XxTedInterviewerVO.isPreparedForExecution())
    /* 223 */       XxTedInterviewerVO.executeQuery();
    /*     */   public void insertData()
    /* 229 */     OAViewObject XxTedExitintDetF1VO = getXxTedExitintDetF1VO1();
    /* 230 */     OAViewObject XxTedExitintDetF2VO = getXxTedExitintDetF2VO1();
    /* 231 */     OAViewObject XxTedExitintDetF3VO = getXxTedExitintDetF3VO1();
    /* 232 */     OAViewObject XxTedExitintDetF4VO = getXxTedExitintDetF4VO1();
    /* 233 */     OAViewObject XxTedExitintDetF5VO = getXxTedExitintDetF5VO1();
    /* 234 */     OAViewObject XxTedExitintDetF6VO = getXxTedExitintDetF6VO1();
    /* 236 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
        /////////////////////////////lamiaa///////////////
                 //OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
        /////////////////////////////lamiaa///////////////
    /* 237 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 238 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 239 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 240 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 241 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 243 */     Row[] rowF1 = XxTedLeaveResVO.getFilteredRows("SelectFlg", "Y");
                /////////////////////////////lamiaa///////////////
                //  Row[] rowF7 = XxTedExtVONEW.getFilteredRows("SelectFlg", "Y");
                /////////////////////////////lamiaa///////////////
    /* 244 */     Row[] rowF2 = XxTedCompenVO.getFilteredRows("SelectFlg", "Y");
    /* 245 */     Row[] rowF3 = XxTedJobIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 246 */     Row[] rowF4 = XxTedRelIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 247 */     Row[] rowF5 = XxTedCultIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 248 */     Row[] rowF6 = XxTedAnotherJobVO.getFilteredRows("SelectFlg", "Y");
    /* 250 */     if (!XxTedExitintDetF1VO.isPreparedForExecution())
    /* 252 */       XxTedExitintDetF1VO.executeQuery();
    /* 254 */     for (int i = 0; i < rowF1.length; i++) {
    /* 255 */       XxTedExitintDetF1VO.last();
    /* 256 */       XxTedExitintDetF1VO.next();
    /* 257 */       Row row1 = XxTedExitintDetF1VO.createRow();
    /* 258 */       row1.setAttribute("SectionNumber", "F.1");
    /* 259 */       row1.setAttribute("SelectedValue", rowF1[i].getAttribute("LookupCode"));
    /* 260 */       XxTedExitintDetF1VO.insertRow(row1);
    /* 261 */       row1.setNewRowState((byte)0);
    /* 264 */     if (!XxTedExitintDetF2VO.isPreparedForExecution())
    /* 266 */       XxTedExitintDetF2VO.executeQuery();
    /* 268 */     for (int i = 0; i < rowF2.length; i++) {
    /* 269 */       XxTedExitintDetF2VO.last();
    /* 270 */       XxTedExitintDetF2VO.next();
    /* 271 */       Row row2 = XxTedExitintDetF2VO.createRow();
    /* 272 */       row2.setAttribute("SectionNumber", "F.2");
    /* 273 */       row2.setAttribute("SelectedValue", rowF2[i].getAttribute("LookupCode"));
    /* 274 */       XxTedExitintDetF2VO.insertRow(row2);
    /* 275 */       row2.setNewRowState((byte)0);
    /* 278 */     if (!XxTedExitintDetF3VO.isPreparedForExecution())
    /* 280 */       XxTedExitintDetF3VO.executeQuery();
    /* 282 */     for (int i = 0; i < rowF3.length; i++) {
    /* 283 */       XxTedExitintDetF3VO.last();
    /* 284 */       XxTedExitintDetF3VO.next();
    /* 285 */       Row row3 = XxTedExitintDetF3VO.createRow();
    /* 286 */       row3.setAttribute("SectionNumber", "F.3");
    /* 287 */       row3.setAttribute("SelectedValue", rowF3[i].getAttribute("LookupCode"));
    /* 288 */       XxTedExitintDetF3VO.insertRow(row3);
    /* 289 */       row3.setNewRowState((byte)0);
    /* 291 */     if (!XxTedExitintDetF4VO.isPreparedForExecution())
    /* 293 */       XxTedExitintDetF4VO.executeQuery();
    /* 295 */     for (int i = 0; i < rowF4.length; i++) {
    /* 296 */       XxTedExitintDetF4VO.last();
    /* 297 */       XxTedExitintDetF4VO.next();
    /* 298 */       Row row4 = XxTedExitintDetF4VO.createRow();
    /* 299 */       row4.setAttribute("SectionNumber", "F.4");
    /* 300 */       row4.setAttribute("SelectedValue", rowF4[i].getAttribute("LookupCode"));
    /* 301 */       XxTedExitintDetF4VO.insertRow(row4);
    /* 302 */       row4.setNewRowState((byte)0);
    /* 304 */     if (!XxTedExitintDetF5VO.isPreparedForExecution())
    /* 306 */       XxTedExitintDetF5VO.executeQuery();
    /* 308 */     for (int i = 0; i < rowF5.length; i++) {
    /* 309 */       XxTedExitintDetF5VO.last();
    /* 310 */       XxTedExitintDetF5VO.next();
    /* 311 */       Row row5 = XxTedExitintDetF5VO.createRow();
    /* 312 */       row5.setAttribute("SectionNumber", "F.5");
    /* 313 */       row5.setAttribute("SelectedValue", rowF5[i].getAttribute("LookupCode"));
    /* 314 */       XxTedExitintDetF5VO.insertRow(row5);
    /* 315 */       row5.setNewRowState((byte)0);
    /* 318 */     if (!XxTedExitintDetF6VO.isPreparedForExecution())
    /* 320 */       XxTedExitintDetF6VO.executeQuery();
    /* 322 */     for (int i = 0; i < rowF6.length; i++) {
    /* 323 */       XxTedExitintDetF6VO.last();
    /* 324 */       XxTedExitintDetF6VO.next();
    /* 325 */       Row row6 = XxTedExitintDetF6VO.createRow();
    /* 326 */       row6.setAttribute("SectionNumber", "F.6");
    /* 327 */       row6.setAttribute("SelectedValue", rowF6[i].getAttribute("LookupCode"));
    /* 328 */       XxTedExitintDetF6VO.insertRow(row6);
    /* 329 */       row6.setNewRowState((byte)0);
    /* 331 */     saveData();
    /*     */   public void saveData()
    /* 336 */     getOADBTransaction().commit();
    /*     */   public XxTedEmpDataVOImpl getXxTedEmpDataVO1()
    /* 342 */     return (XxTedEmpDataVOImpl)findViewObject("XxTedEmpDataVO1");
    /*     */   public void queryReqUsingEmp(String pEmpno) {
    /* 345 */     OAViewObject XxTedExitInterviewVO = getXxTedExitInterviewVO1();
    /* 347 */     XxTedExitInterviewVO.setWhereClause("REJ_FLG <> 1 AND Requester_id = " + pEmpno);
    /* 348 */     XxTedExitInterviewVO.executeQuery();
    /*     */   public void execQueriesGuidlines()
    /* 353 */     OAViewObject XxTedGuidlinesVO = getXxTedGuidlinesVO1();
    /* 354 */     if (!XxTedGuidlinesVO.isPreparedForExecution())
    /* 356 */       XxTedGuidlinesVO.executeQuery();
    /*     */   public void execQueriesEmpData(String param) {
    /* 361 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 363 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 365 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", param);
    /* 366 */       XxTedEmpDataVO.executeQuery();
    /* 369 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 370 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 371 */     String empNo = (String)empRowImp.getAttribute("EmployeeNumber");
    /* 373 */     OAViewObject XxTedEmpDataVO2 = getXxTedEmpData2_1();
    /* 374 */     XxTedEmpDataVO2.setNamedWhereClauseParam("p_emp", empNo);
    /* 375 */     XxTedEmpDataVO2.executeQuery();
    /* 377 */     OAViewObject XxReq = getXxTedExitInterviewVO1();
    /* 378 */     XxReq.setWhereClause("Requester_id = " + empNo);
    /* 379 */     if (!XxReq.isPreparedForExecution())
    /* 381 */       XxReq.executeQuery();
    /*     */   public void execQueriesEmpData2(String param)
    /* 387 */     OAViewObject XxTedEmpDataVO2 = getXxTedEmpData2_1();
    /* 388 */     XxTedEmpDataVO2.setNamedWhereClauseParam("p_emp", param);
    /* 390 */     XxTedEmpDataVO2.executeQuery();
    /* 392 */     OAViewObject XxReq = getXxTedExitInterviewVO1();
    /* 394 */     XxReq.setWhereClause("Requester_id = " + param);
    /* 396 */     XxReq.executeQuery();
    /*     */   public void execQueriesTerm()
    /* 401 */     OAViewObject XxTedTerminologyVO = getXxTedTerminologyVO1();
    /* 402 */     if (!XxTedTerminologyVO.isPreparedForExecution())
    /* 404 */       XxTedTerminologyVO.executeQuery();
    /*     */   public void execQueriesLeave(String param) {
    /* 409 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 410 */     if (!XxTedLeaveResVO.isPreparedForExecution())
    /* 412 */       XxTedLeaveResVO.executeQuery();
        /////////////////////////////lamiaa///////////////
            /* public void execQueriesLeave_reason(String param) {
                 OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
                if (!XxTedExtVONEW.isPreparedForExecution())
                 XxTedExtVONEW.executeQuery();
        /////////////////////////////lamiaa///////////////
    /*     */   public void execQueriesCompen(String param) {
    /* 417 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 418 */     if (!XxTedCompenVO.isPreparedForExecution())
    /* 420 */       XxTedCompenVO.executeQuery();
    /*     */   public void execQueriesJobIssue(String param) {
    /* 425 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 426 */     if (!XxTedJobIssueVO.isPreparedForExecution())
    /* 428 */       XxTedJobIssueVO.executeQuery();
    /*     */   public void execQueriesRelIssue(String param) {
    /* 433 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 434 */     if (!XxTedRelIssueVO.isPreparedForExecution())
    /* 436 */       XxTedRelIssueVO.executeQuery();
    /*     */   public void execQueriesCultIssue(String param) {
    /* 441 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 442 */     if (!XxTedCultIssueVO.isPreparedForExecution())
    /* 444 */       XxTedCultIssueVO.executeQuery();
    /*     */   public void execQueriesAnotherJob(String param) {
    /* 449 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 450 */     if (!XxTedAnotherJobVO.isPreparedForExecution())
    /* 452 */       XxTedAnotherJobVO.executeQuery();
    /*     */   public XxTedEmpData2Impl getXxTedEmpData2_1()
    /* 459 */     return (XxTedEmpData2Impl)findViewObject("XxTedEmpData2_1");
    /*     */   public XxTedF1QVOImpl getXxTedF1QVO1()
    /* 464 */     return (XxTedF1QVOImpl)findViewObject("XxTedF1QVO1");
    /*     */   public XxTedF2QVOImpl getXxTedF2QVO1()
    /* 469 */     return (XxTedF2QVOImpl)findViewObject("XxTedF2QVO1");
    /*     */   public XxTedF3QVOImpl getXxTedF3QVO1()
    /* 474 */     return (XxTedF3QVOImpl)findViewObject("XxTedF3QVO1");
    /*     */   public XxTedF4QVOImpl getXxTedF4QVO1()
    /* 479 */     return (XxTedF4QVOImpl)findViewObject("XxTedF4QVO1");
    /*     */   public XxTedF5QVOImpl getXxTedF5QVO1()
    /* 484 */     return (XxTedF5QVOImpl)findViewObject("XxTedF5QVO1");
    /*     */   public XxTedF6QVOImpl getXxTedF6QVO1()
    /* 489 */     return (XxTedF6QVOImpl)findViewObject("XxTedF6QVO1");
    /*     */   public ViewLinkImpl getXxTedF1QVL1()
    /* 494 */     return (ViewLinkImpl)findViewLink("XxTedF1QVL1");
    /*     */   public ViewLinkImpl getXxTedF2QVL1()
    /* 499 */     return (ViewLinkImpl)findViewLink("XxTedF2QVL1");
    /*     */   public ViewLinkImpl getXxTedF3QVL1()
    /* 504 */     return (ViewLinkImpl)findViewLink("XxTedF3QVL1");
    /*     */   public ViewLinkImpl getXxTedF4QVL1()
    /* 509 */     return (ViewLinkImpl)findViewLink("XxTedF4QVL1");
    /*     */   public ViewLinkImpl getXxTedF5QVL1()
    /* 514 */     return (ViewLinkImpl)findViewLink("XxTedF5QVL1");
    /*     */   public ViewLinkImpl getXxTedF6QVL1()
    /* 519 */     return (ViewLinkImpl)findViewLink("XxTedF6QVL1");
    /*     */   public XxTedReqStatusVOImpl getXxTedReqStatusVO1()
    /* 524 */     return (XxTedReqStatusVOImpl)findViewObject("XxTedReqStatusVO1");
    /*     */   public void execQueriesReqStatus(String param) {
    /* 527 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 529 */     System.out.println("Param = " + param);
    /* 531 */     XxTedReqStatusVO.setWhereClause("REQUESTER_ID = " + param);
    /* 532 */     XxTedReqStatusVO.executeQuery();
    /*     */   public XxTedWFItemTypeImpl getXxTedWFItemType1()
    /* 538 */     return (XxTedWFItemTypeImpl)findViewObject("XxTedWFItemType1");
    /*     */   public XxTedReqCntVOImpl getXxTedReqCntVO1()
    /* 543 */     return (XxTedReqCntVOImpl)findViewObject("XxTedReqCntVO1");
    /*     */   public void dupCheck() {
    /* 546 */     OAViewObject vo = getXxTedReqCntVO1();
    /* 548 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 549 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 550 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 552 */     vo.setWhereClause("rej_flg <> 1 and requester_id = " + empRowImp.getEmployeeNumber());
    /* 553 */     vo.executeQuery();
    /* 554 */     Row[] row = vo.getAllRowsInRange();
    /* 555 */     if (row.length != 0)
    /* 556 */       throw new OAException("This employee submitted and exit form before, Kindly contact system admin", (byte)0);
    /*     */   public XxTedCurrReqImpl getXxTedCurrReq1()
    /* 562 */     return (XxTedCurrReqImpl)findViewObject("XxTedCurrReq1");
    /*     */   public ViewLinkImpl getXxTedCurrReqVL1()
    /* 567 */     return (ViewLinkImpl)findViewLink("XxTedCurrReqVL1");
    /*     */   public void execMainPG(String userId) {
    /* 570 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 571 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 573 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", userId);
    /* 574 */       XxTedEmpDataVO.executeQuery();
    /* 576 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 577 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 578 */     String empNo = (String)empRowImp.getAttribute("EmployeeNumber");
    /* 580 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 581 */     XxTedReqStatusVO.setWhereClause("Requester_Id = " + empNo);
    /* 582 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void execLog()
    /* 587 */     OAViewObject Xvo = getXxTedExitInterviewVO1();
    /* 589 */     Row row = Xvo.getCurrentRow();
    /* 590 */     XxTedExitInterviewVORowImpl rowImp = (XxTedExitInterviewVORowImpl)row;
    /* 591 */     Number reqNo = (Number)rowImp.getAttribute("RequestId");
    /* 593 */     OAViewObject XxLog = getXxLoG1();
    /* 594 */     XxLog.setWhereClause("Request_Id = " + reqNo);
    /* 595 */     XxLog.executeQuery();
    /* 596 */     Row row2 = XxLog.getCurrentRow();
    /* 598 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 599 */     XxTedReqStatusVO.setWhereClause("Request_Id = " + reqNo);
    /* 600 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void validateNulls()
    /* 605 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 606 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 607 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 608 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 609 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 610 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 612 */     Row[] rowF1 = XxTedLeaveResVO.getFilteredRows("SelectFlg", "Y");
    /* 613 */     Row[] rowF2 = XxTedCompenVO.getFilteredRows("SelectFlg", "Y");
    /* 614 */     Row[] rowF3 = XxTedJobIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 615 */     Row[] rowF4 = XxTedRelIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 616 */     Row[] rowF5 = XxTedCultIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 617 */     Row[] rowF6 = XxTedAnotherJobVO.getFilteredRows("SelectFlg", "Y");
    /* 619 */     int cntF1 = rowF1.length;
    /* 620 */     int cntF2 = rowF2.length;
    /* 621 */     int cntF3 = rowF3.length;
    /* 622 */     int cntF4 = rowF4.length;
    /* 623 */     int cntF5 = rowF5.length;
    /* 624 */     int cntF6 = rowF6.length;
    /* 626 */     if (cntF1 < 1) {
    /* 627 */       throw new OAException("Reason of Leave : Select at least one choice");
    /* 629 */     if (cntF2 < 1) {
    /* 630 */       throw new OAException("Compensation Issues : Select at least one choice");
    /* 632 */     if (cntF3 < 1) {
    /* 633 */       throw new OAException("Job Issues : Select at least one choice");
    /* 635 */     if (cntF4 < 1) {
    /* 636 */       throw new OAException("Relationship Issues : Select at least one choice");
    /* 638 */     if (cntF5 < 1) {
    /* 639 */       throw new OAException("Cultural Issues : Select at least one choice");
    /* 641 */     if (cntF6 < 1) {
    /* 642 */       throw new OAException("Another Job Opportunity : Select at least one choice");
    /* 645 */     OAViewObject validateVo = getXxTedExitInterviewVO1();
    /* 646 */     OARow oaRow = (OARow)validateVo.getCurrentRow();
    /* 648 */     String CompensationComments = (String)oaRow.getAttribute("CompensationComments");
    /* 649 */     if (CompensationComments == null) {
    /* 650 */       throw new OAException("Compensation Issue : Field should be supplied");
    /* 655 */     String LeaveReasonComments = (String)oaRow.getAttribute("LeaveReasonComments");
    /* 656 */     if (LeaveReasonComments == null) {
    /* 657 */       throw new OAException("Reason of leaving : Field should be supplied");
    /* 661 */     String ADSL = (String)oaRow.getAttribute("AdslNumber");
    /* 662 */     if (ADSL == null) {
    /* 663 */       throw new OAException("ADSL Number : Field should be supplied");
    /* 665 */     Date LastDate = (Date)oaRow.getAttribute("LastDate");
    /* 666 */     if (LastDate == null) {
    /* 667 */       throw new OAException("Last Working Day : Field should be supplied");
    /* 670 */     String JobComments = (String)oaRow.getAttribute("JobComments");
    /* 671 */     if (JobComments == null) {
    /* 672 */       throw new OAException("Job Issues : Field should be supplied");
    /* 675 */     String RelationshipComments = (String)oaRow.getAttribute("RelationshipComments");
    /* 676 */     if (RelationshipComments == null) {
    /* 677 */       throw new OAException("Relationship Issues : Field should be supplied");
    /* 679 */     String CulturalComments = (String)oaRow.getAttribute("CulturalComments");
    /* 680 */     if (CulturalComments == null) {
    /* 681 */       throw new OAException("Cultural Issues : Field should be supplied");
    /* 684 */     String OtherJobComments = (String)oaRow.getAttribute("OtherJobComments");
    /* 685 */     if (OtherJobComments == null) {
    /* 686 */       throw new OAException("Another Job Opportunity : Field should be supplied");
    /* 689 */     String OtherInfoComments = (String)oaRow.getAttribute("OtherInfoComments");
    /* 690 */     if (OtherInfoComments == null) {
    /* 691 */       throw new OAException("Other Info : Field should be supplied");
    /* 694 */     String TrainingComments = (String)oaRow.getAttribute("TrainingComments");
    /* 695 */     if (TrainingComments == null) {
    /* 696 */       throw new OAException("Training&Development : Field should be supplied");
    /* 699 */     String PositiveWorkComments = (String)oaRow.getAttribute("PositiveWorkComments");
    /* 700 */     if (PositiveWorkComments == null) {
    /* 701 */       throw new OAException("Positive Work Comments : Fields should be supplied");
    /* 704 */     String PositiveBestComments = (String)oaRow.getAttribute("PositiveBestComments");
    /* 705 */     if (PositiveBestComments == null) {
    /* 706 */       throw new OAException("Positive Work Comments : Fields should be supplied");
    /* 709 */     String ChangeComments = (String)oaRow.getAttribute("ChangeComments");
    /* 710 */     if (ChangeComments == null) {
    /* 711 */       throw new OAException("Change : Field should be supplied");
    /* 713 */     String ReemploymentComments = (String)oaRow.getAttribute("ReemploymentComments");
    /* 714 */     if (ReemploymentComments == null) {
    /* 715 */       throw new OAException("Re-employment : Field should be supplied");
    /* 718 */     Number CompensationIssuesSts = (Number)oaRow.getAttribute("CompensationIssuesSts");
    /* 719 */     if (CompensationIssuesSts == null) {
    /* 720 */       throw new OAException("Compensation Satisfaction : Value should be selected");
    /* 723 */     Number JobIssuesSts = (Number)oaRow.getAttribute("JobIssuesSts");
    /* 724 */     if (JobIssuesSts == null) {
    /* 725 */       throw new OAException("Job Issues Satisfaction : Value should be selected");
    /* 728 */     Number RelationshipIssuesSts = (Number)oaRow.getAttribute("RelationshipIssuesSts");
    /* 729 */     if (RelationshipIssuesSts == null) {
    /* 730 */       throw new OAException("Relationship Issues Satisfaction : Value should be selected");
    /* 732 */     Number CulturalIssuesSts = (Number)oaRow.getAttribute("CulturalIssuesSts");
    /* 733 */     if (CulturalIssuesSts == null) {
    /* 734 */       throw new OAException("Cultural Issues Satisfaction : Value should be selected");
    /* 736 */     Number OtherJobSts = (Number)oaRow.getAttribute("OtherJobSts");
    /* 737 */     if (OtherJobSts == null) {
    /* 738 */       throw new OAException("Another Job Satisfaction : Value should be selected");
    /* 741 */     Number OtherInfoSts = (Number)oaRow.getAttribute("OtherInfoSts");
    /* 742 */     if (OtherInfoSts == null) {
    /* 743 */       throw new OAException("Other Info Satisfaction : Value should be selected");
    /* 746 */     Number TrainingSts = (Number)oaRow.getAttribute("TrainingSts");
    /* 747 */     if (TrainingSts == null) {
    /* 748 */       throw new OAException("Training Satisfaction : Value should be selected");
    /* 751 */     Number PositiveWorkSts = (Number)oaRow.getAttribute("PositiveWorkSts");
    /* 752 */     if (PositiveWorkSts == null)
    /* 753 */       throw new OAException("Positive Work Satisfaction : Value should be selected");
    /*     */   public void execWfRn(String reqId)
    /* 758 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 759 */     XxTedReqStatusVO.setWhereClause("rej_flg <> 1 and RequestId = " + reqId);
    /* 760 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void validateBlob(String vblob)
    /* 765 */     if (vblob == null)
    /* 766 */       throw new OAException("You should upload the attached resignation");
    /*     */   public void validateHrForm()
    /* 771 */     OAViewObject validateVo = getXxTedExitInterviewVO1();
    /* 772 */     OARow oaRow = (OARow)validateVo.getCurrentRow();
    /* 773 */     Date IntDate = (Date)oaRow.getAttribute("InterviewDate");
    /* 774 */     if (IntDate == null) {
    /* 775 */       throw new OAException("You should enter an interview date");
    /* 778 */     String Intterviewer = (String)oaRow.getAttribute("InterviewerName");
    /* 779 */     if (Intterviewer == null)
    /* 780 */       throw new OAException("You should enter the interview data");
    /*     */   public void clearForm()
    /* 785 */     OAViewObject mainVo = getXxTedExitInterviewVO1();
    /* 786 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 787 */     XxTedLeaveResVO.clearCache();
    /* 788 */     XxTedLeaveResVO.executeQuery();
    /* 789 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 790 */     XxTedCompenVO.clearCache();
    /* 791 */     XxTedCompenVO.executeQuery();
    /* 793 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 794 */     XxTedJobIssueVO.clearCache();
    /* 795 */     XxTedJobIssueVO.executeQuery();
    /* 797 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 798 */     XxTedRelIssueVO.clearCache();
    /* 799 */     XxTedRelIssueVO.executeQuery();
    /* 801 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 802 */     XxTedCultIssueVO.clearCache();
    /* 803 */     XxTedCultIssueVO.executeQuery();
    /* 805 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 806 */     XxTedAnotherJobVO.clearCache();
    /* 807 */     XxTedAnotherJobVO.executeQuery();
    /* 809 */     mainVo.removeCurrentRow();
    /*     */   public XxIntrvLOVVOImpl getXxIntrvLOVVO1()
    /* 815 */     return (XxIntrvLOVVOImpl)findViewObject("XxIntrvLOVVO1");
    /*     */   public XxLoGImpl getXxLoG1()
    /* 820 */     return (XxLoGImpl)findViewObject("XxLoG1");
    /////////////////////////////lamiaa///////////////
                 public XxTedExtVONEWImpl getXxTedExtVONEW1()
                    return (XxTedExtVONEWImpl)findViewObject("XxTedExtVONEW1");
      /////////////////////////////lamiaa///////////////
    /* Location:           D:\Oracle_developer\p8431482_R12_GENERIC_QF\jdevhome\jdev\myclasses\
    * Qualified Name:     xxted.oracle.apps.per.extint.server.XxTedExtAMImpl
    * JD-Core Version:    0.6.2

    The error message means you have not added the View Object to AM.
    You need to add the View Object to the AM and move the AM files to the server and bounce the server.
    Cheers
    AJ

  • Error:Attribute set for DetailHideShow in view object SalaryDetailsVO faild

    Hi
    We need to add one column in the self service Manager > My Employee Information > Salary history table
    - This column does not exist in the standard view Object
    oracle.apps.per.selfservice.mgrviews.server.SalaryDetailsVO
    - With Jdeveloper we have created a new view that extend the standard view :
    cggv.oracle.apps.per.selfservice.mgrviews.server.CGGVSalaryDetailsVO
    - We used the substitution tools to substitute the standard view by the new one
    with the following column :
    java oracle.jrad.tools.xml.importer.JPXImporter $CGG_MDS_TOP/cggv/per/12.0.0/java/ParodiExtendPJ.jpx -username apps -password
    apps -dbconnection "(description = (address_list = (address = (community =
    tcp.world)(proto = tcp)(host = doradb)(port =
    1581)))(connect_data = (sid=LDEV )))"
    - the new view contain exactly the same attribute than the standard one, we just add one new attribute at the end
    - We used Self-service perzonalisation functionality to add the new column in the table region.
    When we click on the Show buton the this error message appears :
    Error : Attribute set for DetailHideShow in view object SalaryDetailsVO failed
    It seems there is a probleme when extending ViewObject and adding column to table that contains a Show/Hide Detail column.
    Do we need extend also the controler ?
    Thank a lot for your help
    Julien Robinet

    Is the new column you have added part of the show/hide detail? If not, is the correct getting displayed?
    Is show/hide also handled through the attribute of substituted VO?
    --Shiv                                                                                                                                                                                                                                                                                                                                                                               

  • Adding New View Objects/Link on "Preview and Print" - Order Acknowledgement

    Hi,
    Can we add New View Objects/View Links for the existing "Preview and Print" Order Acknowledgement.
    I want to add for the 2 new functionalities i.e., for Charges (from OE_PRICE_ADJUSTMENTS_V ) and the Line Level Notes, which is currently not supported by Oracle.
    Can anyone help me on acheving this functionality?
    Looking forward for your response.
    Thanks in advance,
    Regards,
    Muru

    You can do that. You should first create the new business objects(AM, VO, VL) in jdeveloper, create your new regions in jdeveloper, associate the AM to the top level region(stackLayout) you create. Use personalization and add a stack layout in the Preview and Print page, set the extends property to point to the new region which you had created. Donot forget to deploy all the files in middle tier before doing the personalization.
    The AM which you had added to the stackLayout will automatically be nested with the root AM of the page during runtime.

  • Step By Step Creation Of A new Business Object

    hi,
      Please Give Me Details Of A Business Object,like step by step creation of a new business object and it's utilization.

    Create a business object (SWO1).
    Give the business object name prefixed with Z_.
    Enter the following fields with values:
    Object type:      Z_TESTXX
    This is the internal technical key. Page: 1
    Object type can have maximum 10 characters. This must be unique across all object type. Objects are specific instances of object types at runtime.
    Object name: Object_Name_for_XX  
    The object type is addressed with this name by external applications. This is a descriptive English name and can be up to 32 characters. This also must be unique across all object type.
    Name:      Object Name: XX       
    This is a meaningful name of the business object.
    Description:     Object Description: XX     
    Page: 1
    Object description, can be up to 40 characters.
    Program:      Z_TESTXX       
    Each object type has an ABAP/4 program in which methods of the object are implemented. This program is generated automatically when you create or revise an object type.
    Application: indicates cross application.
    3: Create an event.
    Open the Object type in change mode. When you change your subtype the first step is to create a new event, this is done by selecting the Event node and clicking the create button. Give the event a name and a description.  Next set the status of this object type component to implemented.
    Event:          Z_EVENT_XX                              
    Name:          Event name: XX                          
    Description:     Event Description: XX                   
    Click on the new event andu2026
    Edit - Change Release Status- Object Type Component - Implemented
    (A small box sign vanishes from the right side of the event, indicating that it is implemented)
    There can be multiple triggering events for a standard/customer task.
    In R/3 4.0 the release strategy for new Object Types and Object Type Components (methods, attributes, events, etc.) was enhanced.  Now when an object type and/or components are created, there are different statuses to select, based on its required purpose.  The statuses are:
    u2022     Modeled - objects cannot be accessed at runtime.  This is the status that is automatically set when an object type or component is created.  Items with a modeled status cannot be referenced in any type of workflow task.
    u2022     Implemented - objects can be used internally in a test environment.  They are accessible, but may not be stable (especially if no delegation has been defined).
    u2022     Released - objects are ready for production. Note:  Local objects cannot be released.
    u2022     Obsolete - objects are typically replaced by new functionality or incompatible with previous versions.   This status is optional.
    4: Create a method.
    Next a method must be created without using any function module template. When creating the method ensure that the method call is synchronous - this means that the method doesn't require a terminating event.
    A method can be synchronous or asynchronous. Synchronous Method
    Method that, for the duration of its execution, assumes the process control and, after its execution, reports to the calling component (work item manager, in this case).
    Synchronous methods can return the following data, if defined: Return parameters, one result and Exceptions.
    Terminating events can also be defined for a single-step task described with a synchronous method. At runtime, the relevant work item is then terminated either when the synchronous method is successfully executed or when one of the defined terminating events occurs.
    Asynchronous Method
    Method that, after its execution, does not report directly to the calling component (work item manager, in this case).
    Asynchronous object methods do not return results, parameters or exceptions.
    At least one terminating event must be defined for a single-step task described with an asynchronous object method.
    At runtime, the relevant work item is only terminated if one of the defined terminating events occurs.
    Next set the status of this object type component to implemented. The methods are not implemented unless you once open their program.  Select the method and open its program. It gives a message u201CDo you want to generate a template automatically for the missing sectionu201D. Click u201CYesu201D. Inside the program insert the code u201CCALL TRANSACTION u2018FB03u2019. Display Financial Document.
    Method:     Z_METHODXX                              
    Name:      Method name: XX                        
    Description:     Method Description: XX                                                                               
    Edit - Change Release Status - Object Type Component - Implemented
    5. Create Key fields.
    Create key fields with ABAP dictionary field proposal.
    It is the identifying key, via which the system can access a specific object, that is, an instance of the object type. The key fields of an object type are usually also the key fields in the table containing the header data for the object type. Only character-based data types are allowed as key fields. The total length allowed for all key fields is 70 characters. Each key field refers to a field in the ABAP Dictionary.
    Enter u2018BKPFu2019 in table name field and select all the key fields. Press Continue button. Next set the status of these key fields to implemented.
    Edit - Change Release Status -Object Type Component - Implemented
    6:Implement business object.
    The whole business object needs to be implemented so click on the business object title andu2026
    Edit - Change Release Status - Object Type - Implemented
    Now you can check the syntax, generate the Business Object and then test it. Execute the custom method you created and give the Company code, Document number and Year.

  • How to execute Custom java data source LOV view object from a common mthd?

    Hi,
    My application contains Custom java data source implemented LOVs. I want to have a util method which gets the view accessor name, find the view accessor and execute it. But i couldn't find any API to get the view accessors by passing the name.
    Can anyone help me iin how best view accessors can be accessed in common but no by creating ViewRowImpl class (By every developer) and by accessing the RowSet getters?
    Thanks in advance.

    I am sorrry, let me tell my requirement clearly.
    My application is not data base driven. Data transaction happens using tuxedo server.
    We have entity driven VOs as well as programmatic VOs. Both are custom java data source implemented. Entity driven VOs will participate in transactions whereas programmatic VOs are used as List view object to show List of values.
    Custom java datasource implementation in BaseService Viewobject Impl class looks like
            private boolean callService = false;
        private List serviceCallInputParams = null;
        public BaseServiceViewObjectImpl()
            super();
         * Overridden for custom java data source support.
        protected void executeQueryForCollection(Object qc, Object[] params, int noUserParams)
            List dataFromService = null;
            if(callService)
                callService = retrieveDataFromService(serviceCallInputParams);
            setUserDataForCollection(qc, dataFromService != null? dataFromService.iterator(): null);   
            super.executeQueryForCollection(qc, params, noUserParams);
         * Overridden for custom java data source support.
        protected boolean hasNextForCollection(Object qc)
            Iterator<BaseDatum> datumItr = (Iterator<BaseDatum>) getUserDataForCollection(qc);
            if (datumItr != null && datumItr.hasNext())
                return true;
            callService = false;
            serviceCallInputParams = null;
            setFetchCompleteForCollection(qc, true);
            return false;
        }Individual screen developer, who want to load data to VO, will do something like the below code in their VO impl class
        public void fetch()
            BaseServiceViewObjectImpl vo = this;
            vo.setCallService(true);
            vo.setServiceCallInputParams(new ArrayList());
            vo.executeQuery();
        }As these custom java data source implemented LOV VOs comes across the screens, i want to have a util method at Base VOImpl class, that gets the view accessor name, finds the LOV VO instance, retrieves data for that. I want to do something like
         * Wrapper method available at Base Service ViewObject impl class
        public void fetchLOVData(String viewAccessorName, List serviewInputParams)
            // find the LOV View object instance
            BaseServiceViewObjectImpl lovViewObject  = (BaseServiceViewObjectImpl) findViewAccessor(viewAccessorName);
            // Get data for LOV view object from service
            lovViewObject.setCallService(true);
            lovViewObject.setServiceCallInputParams(serviewInputParams);
            lovViewObject.executeQuery();
    Question:
    1. Is it achievable?
    1. Is there any API available at View Object Impl class level, that gets the view accessor name and returns the exact LOV view object instance? If not, how can i achieve it?

  • Creating new graphics object from a existing one and sending it for print

    Hello,
    i have a graphics object which is big in size, I am creating a new graphics object from the existing one as given below
    //map is a graphic object
    Graphic g1 = (Graphic)map.create(x,y,width,height);
    Graphic g2 = (Graphic)map.create(x,y,width1,height1);
    Graphic g3 = (Graphic)map.create(x,y,width2,height2);
    arrayList.add(g1);
    arrayList.add(g2);
    arrayList.add(g3);
    Now I want to send the graphic object g1,g2,g3 for print in the method
    public int print (Graphics g, PageFormat pf, int idx) throws PrinterException {
    // Printable's method implementation
    if (curPageFormat != pf) {
    curPageFormat = pf;
    pages = repaginate (pf);
    if (idx >= 3)) {
    return Printable.NO_SUCH_PAGE;
    g = (Graphics) arrayList.get(idx);
    return Printable.PAGE_EXISTS;
    This is not working... what is wrong. can anybody suggest..
    I tried standardprint.java to print a object inside a scrollpane, it is not printing the entire diagram. so I am thinking of something like this.... Please let me know what to do....
    Thanks
    Serj

    The easy way to do this is create a copy using Windows Explorer.
    Open the project and go to File > Rename.
    Then you have your 2013 ready made project.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How can I instantiate and load a new CachedRowSet object from a non-JDBC so

    How can I instantiate and load a new CachedRowSet object from a non-JDBC source?
    cheers

    webrowset reads whole data;
    I would rather need to get data line by line

  • Call view object from ViewController [SOLVED]

    I'm using a valueChangeListener method in a managed bean, which I'd like to use to call a method on a view object. How can I call the view object from a managed bean class?
    Regards

    Maik,
    It is best practice to create a method on your application module, and have this method manipulate VO's and call VO methods.
    See section 8.5.3.1 in ADF Developers Guide for more info o calling an AM method from a managed bean:
    http://download-west.oracle.com/docs/html/B25947_01/bcservices005.htm#sthref673
    Please use the JDeveloper forum in the future for question like this, that are not related to JHeadstart.
    Steven Davelaar,
    Jheadstart team.

  • Process chain failure SQL ERROR 942 ORA-00942:table or view does not exist

    HI all,
    We have a proces chain with 'ceate index' process type and got failed with an error as follows......
    SQL ERROR 942 ORA-00942:table or view does not exist
    Plz can anyone give solution for this error.
    SATISH.

    Hey Satish,
    Please refer to this thread:
    BRCONNECT fails with SQL error -942 at location ora_vers_get-1
    I am sure the solution there should solve your problem. There are various other discussions about this error in the forum, I suggest you look through them for better understanding and additional material.
    Cheers!!!
    Manu.

  • Share new pdf created from existing online pdfs

    Is a solution in the works to be able to create new pdf books from existing individual pdfs online? Let's say I have individual pdfs for each of my recipes, but want to create a book online to share of just my desserts. Without sending each pdf share using an individual email, can this be done?
    Absolutely love the interface and where Adobe seems to be going with this.
    Thanks,
    James

    Hi,
    Thanks for your post. In order to combine multiple PDF's into one, you need the desktop version of Adobe Acrobat. We don't currently have plans in the works to add this feature to Acrobat.com, but I will share your feedback with the team. You could also visit our Ideas site and promote this idea - we actively use the Ideas site to prioritize the roll out of new features.
    Best,
    Michelle

  • SRDemo tutorial- Reverse engineer TopLink Java Objects from existing DB tab

    Hi,
    In the tutorial, what does reverse engineer objects from existing tables means?
    Thanks!

    It means that JDeveloper will create Java classes that interact with the database, based on existing tables in the database.

  • New view object row does not get committed to DB

    Hi guys,
    on a taskflow with a new transaction I have a form to enter a new record on an entity-based view object.
    Before the page is called I call the CreateInsert Operation to create the new record on that view object.
    There are quite a few attributes that have default values which I determine in the ViewRowImpl's create method (using populateAttributeAsChanged to set the values).
    Now if none of the inputValues in the form is filled manually and I want to save the data (default values are sufficient to save the record) the taskflow return action commit does not commit the data to the db. As soon as I manually enter one value into any field the same return action commits the record correctly to the db. There is no error message and the new record is visible in the application because it is inserted into the view's iterator...
    Is there any way to mark the new row as changed/insert if only the default values are filled? Or am I doing something wrong?
    Using JDev 11.1.1.5
    Achim

    Add the following method in your RowImpl class:
    public void setNewRowState(byte b) {
         if (b != Row.STATUS_INITIALIZED ||
             getNewRowState() != Row.STATUS_NEW) {
             super.setNewRowState(b);

  • Error: Attribute set for field_name in view object VO_instance failed

    While I try to add a new row in a table using a VO created on two EOs, it comes back with error message 'Attribute set for <field_name> in view object <VO_instance> failed' for each field I enter the data. Please suggest me if I am missing something while doing it.

    Are you sure you are specifying a value for the attribute of the VO and the value of correct data type.
    Also, please make sure that you have one row coming from each EO , so that the VO has one row, and a outer join is not happening.
    Thanks
    Tapash

Maybe you are looking for

  • Question: Which is better and why....RMAN catalog or Flashback Recovery

    Hey All, Newly testing and reading up on 10g. I am on information overload and would appreciate pro's advice on which to choose and why. Thanks, d.

  • Assets accounting :: urgent::

    all we have some assets in my company... there is no grn, po we could not by from anyone that assets is there any chance book that assets in sap( giveing assets number) without making any payment( without po , grn) could you explaine me?? regards ss

  • Executing amadmin command in Unix box.

    I tried to execute following command on Unix machine: ./amadmin -u uid=amAdmin,ou=People,o=ievesp.net -v -w "password" -s /etc/opt/SUNWam/config/xml/amUser.xml I am getting following error message: Info 112: Entering ldapAuthenticate method! Success

  • OSX 10 burn DVD

    I have new macbookpro, and separate cd writer.  Have made video of still photos in iMovie.  How do I burn this to disc for my friends please. This mac doesnt work the same as my old version. Thanks Wendy

  • Firefox Sync Account Deleted and unable to create new

    My Firefox sync was working fine, until my Firefox for Android, started acting up, and I had to reinstall it. When I tried to set up sync again, it asked for a recovery key, which I didn't have (I know, I'm sorry). Getting the data is not a big deal