CE CAF Business Object, Complex Structure and external service...
Hi,
I want to use a web service as remote persistence in a CAF business object(Entity service). My Problem is, that the service returns a list of objects. But it seems that in the new CE the paradigm for caf changed a little and instead of complex attributes (an attribute with a structure and cardinality 0...n) you can only create an association with another business object.
Anybody knows how to bring that together? I want to do something similar like described here:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd</a>
But using the new CE the Problem is, that I couldn't manage creating a complex attribute in an Entity which can then be used as mapping for a web service.
When I create a simple attibute and replace the type with a complex one, i can do the mapping but there is an error: "The business node has an invalid main structure"
anybody a good idea?
kind regards and thanks alot
Alex
Hi Alexander,
You are now able to create the Structure and set the cardinality also in NetWeaver CE. I thin the following steps will be helpful for you.
1. Create a CAF project called firstcaf.
2.Create an entity service within the project called Customer.
3. Now expand modeled.
4. Then right click on Data Types. Here you will get the option "New Structure".
5.Now select New Structure, One popup will appear then enter the Structure name called Address and click ok.
6. Now You will get your Address structure under Complex Types.
7.Double Click on Address. In right hand side you will get the Address structure for editing.
8.Now from left hand side(Existing Type) expand caf.core and add your required attribute. In right hand side (structure Field) you can edit the name of attribute. suppose for Address structure I have added two field phone and mobile (both are short text ). save it.
9. Now switch to Composite Application Explorer and expand Business Objects ->Customer -> Customer->Customer. and double click on it (Customer).
10. In right hand side expand project firstcaf ->modeled. Now you will get your structure here, In my case I will get Address structure. Now select your structure and click Add button. Structure will go to right hand side(Structure Fields).
11. If you want to change the cardinality it is very simple. Select The Structure from right hand side(Structure Fields) and in bottom side click on property. Now you will get the Cardinality field. you can change it as you like.
Thanks and Regards
Chandan
Similar Messages
-
CAF Business Objects in Separate Database
We currently have an application written in CAF which is using Business Objects/Entity Services using local persistence. I believe the local persistence automatically uses the default datasource defined in the SAP WAS portal server and creates the tables in that database.
The requirement is to have that CAF application data stored in a different database instead of the portal database. There are ways to install a separate datasource in the SAP WAS server to point to a different database, but I don't know how to make CAF Business Objects use that newly installed datasource, or whether it is possible?
Any help is appreciated!Hi,
it seems I've to achieve that by using associations.
But how should the Scenario look for my example?
The relation is the following:
Each application has exactly one division.
Is it correct like that?
DIVISION: Association to APPLICATION ("DivisionApplication"), CROSS_BO, ONE_TO_MANY
BO APPLICATION: Association to DIVISION ("ApplicationDivision"), CROSS_BO, NONE_TO_ONE
Another question:
I can now add an association to APPLICATION through the service browser by choosing the association name "ApplicationDivision" and putting the 32 digit the DIVISION that I want to associate.
Is that the only way to do it in service browser?
As this is impossible for business users, do I have to create a WD for them to maintain those values in an easier way?
Thanks. -
Business Object, SAP BW and SAP Enterprise Portal
Hello all,
I've a few questions about the possibility for linking Business Object, SAP BW and the SAP Enterprise Portal.
The Business Package MSS 1.41 give us a functionality to display (in a federated portal) personalized Budget and costs in an Overview Iview (kind of Welcome page).
Those information are retrieved from SAP BW and I'd like to know if it's possible to retrieve those data (with the same functionality) from Business Object tool.
Is it possible to have those personalized reports without having a direct link (standard architecture) between SAP BW and the federated portal?
Thank you in advance fro your answers.
MatthieuHi,
The procedure to replicate BW users in BO is explained in detail on the blog of Ingo Hilgefort:
/people/ingo.hilgefort/blog/2008/09/19/businessobjects-and-sap--configure-sap-authentication
Regards,
Dave -
Differences between business objects 4.0 and 4.1
Hi,
Can any one please provide the some blogs regarding the differences between the business objects 4.0 and 4.1.
Thanks & Regards,
Kavya.CH.Hi Kavya,
Please refer following PDF for BI 4.1 new features added in each service pack.
http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_whats_new_en.pdf
You can have a look at the L1 and L2 presentations here:
https://scn.sap.com/docs/DOC-40282
http://scn.sap.com/docs/DOC-40283
You can refer to the following doc to get more information on the new features and changes introduced in Web Intelligence 4.1.
http://scn.sap.com/docs/DOC-43488
Regards,
Hrishikesh -
Does Business Objects read SMF and RMF records on a mainframe?
Post Author: byrsch
CA Forum: Performance Management and Dashboards
I need to know if Business Objects reads SMG and RMF mainframe records and if I can do analytical work like I do with SAS with it?Hi Ravi,
Files, DLLs, executables, etc corruption is the most probable suspection in this issue scenario.
Best would be to uninstall BO again, removing registry entries and then re-install again with the default DB as suggested by Arvind and then later it could be point to SQL Server.
Please share your further views/thoughts.
Regards,
Arun -
Business Objects XIR3.1 and BI4.1 Licensing structure
Hello,
We have a number of named (BOEP) Business Objects Ebterprise professional licenses for XIR3.1.
Q1. I am assuming that any named user on the BOEP, should be able to use any of the Server / Desk top products.
I have been advised by my acct manager that we need a separate licence / cost for using Webi Rich Client tool (available on the desktop ?
Is this correct ?
Is there a list of document to tell me what is Desktop tools (Deski, Webi , Designer0 and Server tools (Infoview, Webi) etc ate are covered by BOEP license ?
We are planning to migrate to BI4.1
Hence, What tools are covered for a BOEP named user license. In particular we want to continue using Deski in compatible mode .
Any documents, help or enlightenment on this will be of great assistance.
Yes, I can go to my SAP BO acct manager - but due to mixed messages I want to get this sorted
Thanks in Advance
SanjayHi Sanjay,
Please check the SAP support site for more details.
http://service.sap.com --> go to "Key and Requests" tab
If this is not enough, please raise a message/incident to get support from SAP on this. They can provide a clear understanding about your license keys.
Components to be selected while creating a support incident/message as below:
Facing issues with the license key request or creation?
Create a message using the component
XX-SER-LIKEY for SAP Business Suite
XX-SER-LIKEY-BOJ for SAP BusinessObjects
XX-SER-LIKEY-SYB for SAP Sybase
Hope this helps!!
Thanks,
Arun -
Passing Business Object(Complex Type) as argument using PAPI-WS
Hi All,
Is it possible to pass Business Object or Complex Type as argument to process instance through PAPI-WS?
As am getting error when am trying to pass business object in place of primitive type.. It would be great help any of you can provide example; if it is possible.
Thanks & Regards,
AnkurHi Alexander,
You are now able to create the Structure and set the cardinality also in NetWeaver CE. I thin the following steps will be helpful for you.
1. Create a CAF project called firstcaf.
2.Create an entity service within the project called Customer.
3. Now expand modeled.
4. Then right click on Data Types. Here you will get the option "New Structure".
5.Now select New Structure, One popup will appear then enter the Structure name called Address and click ok.
6. Now You will get your Address structure under Complex Types.
7.Double Click on Address. In right hand side you will get the Address structure for editing.
8.Now from left hand side(Existing Type) expand caf.core and add your required attribute. In right hand side (structure Field) you can edit the name of attribute. suppose for Address structure I have added two field phone and mobile (both are short text ). save it.
9. Now switch to Composite Application Explorer and expand Business Objects ->Customer -> Customer->Customer. and double click on it (Customer).
10. In right hand side expand project firstcaf ->modeled. Now you will get your structure here, In my case I will get Address structure. Now select your structure and click Add button. Structure will go to right hand side(Structure Fields).
11. If you want to change the cardinality it is very simple. Select The Structure from right hand side(Structure Fields) and in bottom side click on property. Now you will get the Cardinality field. you can change it as you like.
Thanks and Regards
Chandan -
Business object for PO and SWOTICE entries
Hi all,
We've copied the standard business object for a PO - BUS2012 to a Z object to be used in a workflow. In one of the methods for this Z object, we've used BAPI_PO_CHANGE to block an item of the PO. As soon as the program was generated, under the object list of the transport request for these changes, some entries got created for table SWOTICE -
BAPIADDRESS
BAPIEKET
BAPIEKKN
BAPIEKKOA
BAPIEKKOC
BAPIEKKOP
BAPIEKPOA
BAPIEKPOC
BAPIEKPOTX
BAPIESKLC
BAPIESLLC
BAPIESLLTX
BAPIESUCC
BAPIESUHC
BAPIMMPARA
BAPIRETURN
BAPIEKKO
BAPIEKKOL
BAPIEKPO
BAPIEKAN
BAPIEKBE
BAPIEKBES
BAPIEKES
BAPIEKKOTX
BAPIESKL
BAPIESLL
BAPIESUC
BAPIESUH
BAPIRLCOPO
BAPIRLGNPO
SWOTICE - index of frozen DDIC structures.
What is the significance of this table and items? Why did they appear in the object list of the transport request when the program was generated?
I checked these structures if they're a part of the BAPI_PO_CHANGE interface, but they're not.
They were present in the main program for the original business object BUS2012.
Could somebody throw some light on this?
Regards
Deepthi.These are internally related to BUS2012. When ever U copy to a Z object and generate the object, some of the objects which runs the object gets generated automatically in the transport list. These are as such needed for the program to work fine.
-
How to select the business object in ESR and the packages used in SAP 7.1
Hi
I am trying to use the Service interfaces of ESR available in ESA ECC-SE 604 and a few in SAP APPL 6.04.
How can we choose the GDT,Business objects or Service interfaces for the requirments?
Can we know which package provides which objects like what are the available things in ESA ECC-SE 604 and when should PI or ECC use it.
I am trying to create functional location Service interface(Installation Point ) and Equipment (Indivisual Material) for untillities requirment.
Thanks in AdvanceHi,
For choosing the GDT, Business objects or Service interfaces for the requirements you first need to create dependencies between the components. For that read the "Defining Dependencies Between SWCV and EnSWCV in SLD" topic from the following link
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0bb5687-00b2-2a10-ed8f-c9af69942e5d]
SAP has published all Services that support SAP Business Suite functionality on the Enterprise Services Workplace in the SAP Developer Network (SDN). You can refer that for getting the information of different services and their objects.
Regards,
Jitender -
Business Object XI R2 and office 2007
Hi,
Does Business Object XI R2 SP3 (installed on unix server) is compatible with Office 2007 ?
I have checked the supported paltform documents and office 2007 is mentioned for Windows only and not mentioned in Linux/Solaries document.
I am trying to export data from a webi report to excel and when I export it in office 2007 it gives a warning "some data may have been deleted " and it export with some format missing. But wnem we export it in office 2003 its working fineHi Ravi,
Office 2007 is not officially tested with Business Object XI R2 SP3 on Linux environment.
Regards,
Shweta -
Business Objects for FP09 and EC85
Hi Everyone,
Could you please guide me about: "what are business objects which are being used in the following transactions: FP09 and EC85".
Actually we need this for our Document Management System. Please guide.
Thanks and RegardsMP:
You need to be more precise here - the business object for the transaction is commonly known as the object upon which the transaction is based. SO EC85 is disconnection and the business object for disconnection is DISCONNECT. What you are seeing is the reference object. that is entirely different and refers to the object upon which the individual disconnection is operating.
regards,
bill. -
BEX Web Business Object 4.0 and BW 7.35
I have just installed BW 7.35 and Bobj 4.0. There is some confusion on the tech team as for the need of BI-java for Bex Web. BOBJ 4.0 integrates Bex Web Applications so there is no need of BI-java. It's the Bex Web that is confusing. Does anyone know the whether BI-java is still required?
Hi
BI4 comes with a free web application server (Tomcat) which will be used for the web applications, BI Launchpad, CMC and so on. You can also use any other supported web application server. You can also change the web application server later if you like.
Regards
Roland -
Business Objects 3.0 and Sharepoint 2007
We are currently upgrading from XI R2 to BO 3.0 and would like to use Sharepoint 2007. I see a integration Kit for the XI R2 version but not for 3.0. What are our options, how can we utilize sharepoint 2007 ?
We upgraded from Crystal Enterprise 10 to 3.0 only to find (even though all the documentation was there and we were encouraged to do so) that the Sharepoint2007 portal was not yet available. Last I heard was 3rd qtr 2008 or 1st qtr 2009 for availability.
Since we have had many users download CR2008 and create reports that they wanted published this created a political nightmare.
We have now fallen back to XI R2 just so we could implement the sp2007 portal kit. -
Problems with CAF tutorial 85 Using RFCs as External Services
Has anybody managed to follow this to the end successfully? I have managed to get to the last step. When I try to test in the Service Browser with a valid userId I get the following error:
"ERROR. Mandatory attribute userId value is missing".
I have definitely got a valid userId; it seems as if it is not being mapped to the input of the BAPI.
Any suggestions how to proceed?
- Tony.Actually there is a little more detail here: if I pass in a definitely invalid userId eg 'Fred', I get the error message:
"ERROR: User FRED does not exist".
Which is the message in the RETURN table of the BAPI.
This means that the BAPI must have received the input parameter.
However, when I pass in my own userId (which I tested in the BAPI already from the SAP GUI), it gives me the error mentioned in the first post:
"ERROR. Mandatory attribute userId value is missing".
So this implies to me that the error message is a bit of a red herring, since the first case clearly demonstrated that the userId was being passed into the BAPI.
Any suggestions for follow up? -
Business Objects, external services and application services in CAs
Hi All,
right now we are developing our first eSOA Composite Application with CE and I have some questions regarding Business Objects, the import of external services and the development of application services.
As I understood there are two ways to provide business functionality for composite applications:
a. Import backend functionality as an external service (e.g. BAPI, RFC) at the CAF, build the application service which can be used as a callable object for UIs or the GPs
b. Develop a local Business Object (in CAF) providing the business logic, create the application service which again can be used as a callable object. Furthermore the application service can be exposed as a Web Service (external service).
My questions:
1. When is it appropriate to to import external services in stead of developing local BOs?
2. Under what conditions is it advisable to (solely) develop local BOs?
3. What are the advantages / disadvantages regarding the reusability of the services (in option a and b)?
Note: We are developing on NetWeaver 2004s.
Please let me know, if you need more information to answer the questions!
Thanks for your advice in advance,
Regards,
IvonneHi Ivonne,
first of all, the CAF Business Objects (BOs) itself don't contain any business logic, they're basically just local database tables (with some CRUD services on top).
Business logic is implemented in Application Services (AS).
Now, regarding local BO's vs. external services, it depends on your use case. If the data is already available somewhere in your backend system it makes sense to use external services. For instance you wouldn't want to store business partners all over different composites. For data that is specific to your composite (in particular configuration, customizing etc.) and not likely to be reused by other applications you should use local BOs.
Accessing local BO's is also much faster than calling external services.
You can do reuse in both scenarios, since the CAF services can be exposed as web services.
Regards,
Christian
Edited by: Christian Loos on Apr 8, 2008 6:11 PM
Maybe you are looking for
-
Calling a report from a Stored Procedure
Is it possible to call a Oracle Report from a Stored Procedure or a Packaged Stored Procedure. If Yes, please provide some details. Thanks Shalu
-
Can I sync my Nano 6G and an iPod 5G, and keep video podcasts off my Nano?
Can I use my Macbook to sync both a Nano 6G and an iPod Touch 5G, and specify which podcasts go on which device? I don't want video podcasts on my Nano. Thank you.
-
Checkered / Block Screen Problems. What should I do?
I have had my iMac G5 w/built in iSight for quite a while now and suddenly my screen has become quite erratic. The screen begins with just finder items such as the top toolbar, the dock, and application switcher checkering and then the entire screen
-
F-58 - GMMASTERDATA035, Invalid Fiscal Year Variant
Greetings, When creating a posting using F-58 in our Venezuela client, we get this error message, GMMASTERDATA035, Invalid Fiscal Year Variant. I have looked under message control in config. for both GM and GMCUSTOM and message 035 does not exist.
-
Assistance with multiple HD Setup
I was wondering what would you guys recomend on how I should approach setting up all these disks for a backup/ scratch drive and to best utilize/ optimize the computer's tasks read/ write. I'm using Premier Pro and After effects mostly. (1) 180 GB S