View Objects Fetch depth with View Links while creating Service Data Object

Hi ,
I am trying to create SDO's for my Business components.
Here are my Entities & relations :
Entity Objects : 1) EmployeeEo 2) DepartmentEO 3) PropertyEO
And corresponding View Objects 1) EmployeeVO 2) DepartmentVO 3) PropertyVO.
Associations : Employee -> Dept (m:1) , Employee -> Property (1:M) , And corresponding View Links as well.
When i expose the VO's in AM like :
DepartmentVO, with EmployeeVO from dept_emp_view link => This fetches all the data from Dept-> Employees -> Property
However i don't want the tree fetch to be like that , i want to have my fetch restricted to only one level ie Dept-> Employees
and a different fetch for Employees -> Property .
Please suggest.
Thanks !!

Was able to do it by extending VO

Similar Messages

  • No Functional Area Found Error while creating service data in me22n

    Hello,
    While creating service data for a purchase order in ME22n I am getting error like " No functional area found"  .
    Please tell me how to maintain the Functional area for a particular GL account
    In the help i can found that we can find the functional area "The functional area can be determined either using the cost element, the account assignment object (such as the cost center or order)"
    How we can determine this please through some light on this statement.
    Thanks
    Pradeep
    Moderator message: not directly related to ABAP development, please post again in the appropriate functional forum.
    locked by: Thomas Zloch on Oct 15, 2010 9:55 AM

    Hello Madhav,
    You have to maintain your 'business transaction profile' (SPRO->CRM->IC Web->Business Transaction->Define bus. trans. prof.) in the customizing and assign that profile to your IC WebClient profile (the one you assigned in the org. model)
    In the business transaction profile you must make sure that at least one transaction type (e.g. ZSRV) is assigned as 'Dependent business transaction' and that entry is flagged as 'Service'.
    Also make sure that that transaction type (ZSRV) has leading business transaction category 'Service process' (BUS2000116).
    This should solve your problem!
    Kind regards,
    Joost

  • Error while creating Logical Data Object Model

    Can anyone from Informatica help me on this ?

    Hello Everyone ,  I am creating new objects in Informatica BDE 9.6.1 . While  I trying to create a new Logical Data Object Model using the Customer_Order.xsd file  I am getting the error :  [MBCM_E0031 ]MIMB HOME directory is not valid .  I do not see anything in the drop-down list for Model Type .Kindly help .  RegardsSatyendra

  • What about SDO - service data objects?

    Does Oracle have an implementation of Service Data Objects?
    http://www.osoa.org/display/Main/Service+Data+Objects+Home
    I cant find any reference about this only about SCA.

    this post is from 2007 maybe soa suite 11g weblogic based can be SDO right?

  • Error while creating Vacancy requisition object (NB) after upgrading EHP4

    Hi All,
    We had alreay E-Rec system with EHP2 and using last 1 year. Now based on Client requirement, we have upgrdaed to EHP4. After completing EHP4 upgradation, we are getting error while creating vacancy requisition object after all level of approval.
    Can any body help how to resolve this issue?
    Thanks in advance.
    Regards,
    Sreelatha

    Hi
    Hope SAP Note 1241014 will be useful to you.
    Best Regards
    Reddy

  • ORA-24344: success with compilation error While creating workspace

    Hi,
    We had an instance with db 9.2.0.5 and HTML DB 1.56.
    First we upgraded database to to 10.1.0.4.Then we upgraded HTML DB to 1.6.1(Upgraded html db 1.5 to 1.6, Then applied patch 1.6.1 patch - 4173133)
    Logged to the HTML DB as an administrator for creating application developer's workspace. I have got the error "ORA-24344: success with compilation error" while creating the workspace.
    We are able to create the workspace successfully on HTML DB 1.5.
    Any help is highly appreciated.
    Thanks, Venkanna

    Venkanna - Do you think the workspace creation was at least partly successful? I mean, can you login to it, can you see anything about it in the admin app, etc.? It would be useful to get a list of invalid objects in the new workspace's schema. If there are none, then get a list of invalid objects in FLOWS_010600.
    Scott

  • "cannot find this class" erro while creating Background Callable Object.

    Hi All,
    I am facing "cannot find this class" while creating Background Callable Object.
    I followed the following document for Creating Background Callable Object.
    [Creating Callable Objects for Background Execution|http://help.sap.com/saphelp_nwce10/helpdata/en/53/cde385301f4aa3b8e77a92cd46bff3/frameset.htm]
    After giving the fully qualified java class name in the Implementation Class Name when i press next i am getting the error.
    Please suggets me in solving this issue.
    Regards,
    S.V.Satish Kumar
    Edited by: Sathish Kumar SV on Apr 4, 2009 10:34 AM

    Hi, kavita.
    First, make sure you choosed the correct container when you created the background CO.
    Second, make sure your package name was "com.examples.bckgco" and class name was "UserDetailsCallableObject". The exception  which you got just means you entered incorrect name.
    It doesn`t relate to your program.
    Best Regards.
    Louis Huang.

  • How to Include Warnings/Error messages in Return Service Data Object

    Hello All,
    I am using Jdeveloper 11.1.1.3.0, ADF BC. and want to publish Service-Enabled application modules, specifically I want to publish a custome method in the application module as a web service.
    While going through Enable support for Service Interface wizard as explained in developer guide, in step 7 I read this
    >
    7. To expose service information messages such as warnings and exceptions for a custom method or warnings for process operation methods, select Include Warnings in Return Service Data Object. For example, you might want display an informational message when a method returns the total employee compensation and the total is outside of the desired range.
    If Include Warnings is not selected, no informational messages will be returned with the service response. This option is only enabled when the method does not return a view row or a list
    of view rows. When the method returns view rows, the underlying view object determines whether the method supports warnings, as described Section 11.2.4, "How to Service-Enable Individual View Objects." The informational messages (and warnings) are reported as part of the return object. JDeveloper generates appropriate wrappers as the return objects, and the wrappers contain the actual method return and the informational messages.
    >
    I am interested in this part: For example, you might want display an informational message when a method returns the total employee compensation and the total is outside of the desired range.
    To do this, I write a method in the application module
    public Number getEmpSal(Number empId){
            EmployeesViewImpl employeesView1 = this.getEmployeesView1();
            //this is the bind variable setter
            employeesView1.setEmpId(empId);
            employeesView1.executeQuery();
            EmployeesViewRowImpl first = (EmployeesViewRowImpl)employeesView1.first();
           return first!=null ? first.getSalary() : null;
    }and I selected the Include Warnings in Return Service Data Object check box. but how and where can I expose the error or warning message?
    Note:
    I tried to throw an exception in the method
    public Number getEmpSal(Number empId){
            EmployeesViewImpl employeesView1 = this.getEmployeesView1();
            //this is the bind variable setter
            employeesView1.setEmpId(empId);
            employeesView1.executeQuery();
            EmployeesViewRowImpl first = (EmployeesViewRowImpl)employeesView1.first();
            if(first!=null && (first.getSalary()!=null || first.getSalary().compareTo(1000)==1))
                throw new JboException("out of range salary");
             return first!=null ? first.getSalary() : null;
    }and when I test the web service for some employee I get this response:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
         <env:Body>
              <env:Fault>
                   <faultcode>env:Server</faultcode>
                   <faultstring>out of range salary</faultstring>
                   <detail><tns:ServiceErrorMessage xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:xsi=      "http://www.w3.org/2001/XMLSchema-instance"><tns:code/><tns:message>out of range  salary</tns:message><tns:severity>SEVERITY_ERROR</tns:severity><tns:exceptionClassName>oracle.jbo.JboException</tns:exceptionClassName></tns:ServiceErrorMessage>
                   </detail>
              </env:Fault>
         </env:Body>
    </env:Envelope>but is this the right approach or there is another place to show error/warning messages?
    Edited by: Mohammad Jabr on Apr 16, 2012 1:17 PM

    This is fine if you raise exception from your code. It will be raised as a server fault only.

  • GOS: create attachment sent by PI while creating Service Request

    Hi Friends,
    I am developing a custom FM which creates Service Request Notification(QMEL).
    This FM will be called by PI with data using web services and gets back the results after execution of function module.
    PI receives the attachments also from the other systems which should be sending to ECC to create the attachments also.
    PI sends Filename, file type, file data text or binary which will be sent to FM to an internal table..
    I am trying to use the internal table data to create attachments in the FM. I am stuck here.
    Are there any thoughts how I should get data from PI to ECC to achieve the functionality??
    I appreciate if anyone gives me an idea how to proceed?
    Regards,
    Satya Denduluri.
    GOS: create attachment sent by PI while creating Service Request

    Hi,
    did you try business object SOFM ( transaction SWO1 ) ? It offers a lot of methods around attachments, documents.
    Regards
    Dirk

  • Error "Account Coding allocation" SE 508 while creating Service Entry

    Hi SAP Gurus,
    I am facing problem while creating Service entry as "Error in Account coding allocation"
    As for the particular PO , SE is partially created and accepted, also MIRO entry is also done.
    After that PO was deleted accidentally and again undeleted.
    So when Analysed , found that ESKL table is updated with deletion indicator.
    Path in PO Service tab>Account assignment>Change Display-->deletion flag is set, which is in display mode and cannot be changed.
    As the whole cycle is completed for partial quantity the system is not allowing to change the deletion flag as per teh path above.
    Also the notes 1087090 is applied.
    Spoken with the abaper also as the note which is indicating the Exit   "EXIT_SAPLMLSK_001"  is also not active in our case.
    Waiting for the reply ASAP.
    Thanks & Regards.
    Anil Singh Thakur

    Hi,
    Check the below link to resolve your issue.
    Error in account coding allocation Message no. SE508 in creation of SES
    Umakanth R

  • ABAP dump Error while creating service order in PCUI.

    Hi Experts,
                     We are getting following ABAP dump error while creating service order in PCUI which is working fine in GUI.
    Runtime Errors         RAISE_EXCEPTION
    Date and Time          02.01.2008 14:55:38
    Short text
    Exception condition "TYPE_NOT_FOUND" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    A RAISE statement in the program "CL_CRM_ELEMDESCR==============CP" raised the
    exception
    condition "TYPE_NOT_FOUND".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    |    function module from the display of active calls.     
    We have added custom fields in the service application. these custom fields with Z-structure & data elements  are included in BSP structure CRMT_BSP_SRV_OIC_SRCHRES in development system.But the same Z structure & custom fields are exist in the production system but not included in BSP Structue CRMT_BSP_SRV_OIC_SRCHRES.
    This may be the reason resulting this ABAP dump error in PCUI while creating Service order.
    How these Z structures can be included in the BSP Structure CRMT_BSP_SRV_OIC_SRCHRES in production system?
    Helpful answers would be rewrded max points as it is high priority issue.
    Regards,
    Basavaraj Patil

    Hi Thirumala,
    Thnaks for the reply.
                I have enhanced service application using transaction EEWB to add new custom fields. these fields are there in Z structure created by the system in production system. All the transports are moved to target system. Problem is that Z structure( contains custom fields)  created while doing  EEWB is not included in BSP structure.
    I f transports are missed to move to target system, Is there any other alternative to solve this problem?
    Regards,
    Basavaraj Patil

  • Regarding pricing not picking from contract while creating service entry

    hello,
    we are facing a problem -we have created a contract with a service item and made a purchase order with the same reference as well. problem starts while creating service entry sheet while adopting the services its not picking the rate from the contract. please guide us how to proceed further.
    thanks,
    ritesh

    Hi Ritesh,
    please check the pricing date in the contract service item and also in the entry sheet header. The price could be probably not found due to different validity of the pricing condition in contract - the price from the contract is not valid on pricing date of   the service entry sheet.                                                                               
    The price in SES is determined on the base of the value in the                        
    field 'Price Reference Date of Entry Sheet' (ESSR-LBLDT). This field                  
    is located on 'Basic data' tab.                                                                               
    However, enhancement SRVESSR (customer exit EXIT_SAPLMLSR_010) can                    
    be used for changing this behaviour.    
    Regards,
    Edit

  • Problem while creating service po

    HI GURU'S
              i am facing problem that while creating service po , in delivery schedule tab system allows only one possible  date , but my service quantity is 10  and i need to add 10 different date  for 10 quantities , as service will deliver at 10 different days , so how should  i maintain different delivery schedule  dates
      regards

    Hi Akshay,
                      The date in the schedule delivery wont affect much,
    you can create the Service PO with single line item, 10 Quantity and can make 10 different SES as per the requirement.
    if furthet you want to make sure that the SES should be created within the given period of time then you can use the blanket PO also.
    Hope it helps you.
    Regards,
    Yawar Khan

  • Problem while creating Service order

    Hi Gurus,
    I have a problem While creating Service order (me21n) through - Work order it contains service requisitions.
    So that means they carry information such as G/L and work order number while entering the requistion no in PO Creation Screen (me21n) which automatically should be picked from the work order refference.
    But problem here is the service items and all other are assigned to PO except the Account Assingnment tab which is GL Account and Work Order No and Cost center..
    Can anyone explain me this?
    Is this something that one can explain?
    Regards,
    Murugesh R
    Rewards for value replies.

    Hi Murgesh,
    If GL code is not getting bydefault from the system it is needed to be provided by the user.
    If normally one GL is there or other than master data services if single GL is there u can set that in SPRO.
    it is avalible in deafult settings in order node
    If you are creating the order with refrence to PR then it will take account assignement as "F" system will pick up all the details from PM module. This is the integration of MM & PM module.
    But if your PO is not w.r.t. PM orders PR then needs to be given manully.
    Ramesh
    Edited by: RameshChandra  Soni on Jul 25, 2008 8:16 AM

  • Points to remember while creating master data

    Hi Gurus,
    My client is using QM but inspection set up is not done.In material master check box for post to inspection stock is activated.Now they want to go for inspection set up in material master & using inspection types.In such case what care should be taken while creating master data. Because inspection stock will be already available while doing inspection set up & they have some batches in inspection stock which are created in year 2006- 2007.What care to be taken if we use mass processing(QA08) so that all batches which are manufactured in previous years will also get incorporated in new inspection set up.
    Any suggestions are most welcome.Thanks in advance
    Regards
    Amit

    Dear Amit
    Long back I worked for similar assignment where only QM has to be introduced.
    First you
    1..identify the Material and Plants needs to be setup for Inspection
    2. Create MIC for identified material
    3..Create Task Lists
    4..Make list of Material in Quality Stock with Plant and Batch number
    5. Create new Inspection type (Copy of 08) for material already in QI stock
    6..Move QI stock to UR
    7.. On non working day or in mid night assign Inspection setup to all material (It's a QM Go Live dt)
    8 .. Move identified stock back to QI stock so that Inspection lots will get created (IL origin 08)
    Hope this information will give you some clarity & less hassle to move forward
    Atul

Maybe you are looking for