Creating custom mappings between objects
I currently have a db schmea that supports "soft" deletes. Example:
Client table has fields:
id - primary key (number)
name - varchar
active ("Y" or "N" where "Y" means active and "N" means "INACTIVE")
We also have a table Users:
id - primary key (number)
name - varchar
active ("Y" or "N" where "Y" means active and "N" means "INACTIVE")
When I delete a user I want to set its active field to "N" and then when
someone reads users from the client (after I have saved my changes) I want
only users whoses active field is "Y" to be returns, i.e.
Client clientA = <read client A>
Collection users = clientA.getUsers();
Is there a way to configure/customize the mapping/relationship between
objects?
Thanks!
Bruce
All of the emails are really my way of getting a soft delete to work. Does
KODO support this feature or is their a standard work around to support
this feature?
Thanks!
Bruce
Alex Roytman wrote:
You could break you collection into multiple mutually exclusive
subcollections (like active/inactive) and have your object model to map them
separately (via views with mutually exclusive criterion) When changing a
collection member's status you will need to move it from active collection
to inactive. Complete collection can be dode as dybamic (delegating)
composition of the subcollections (but it will cost twice as much to fetch
it)
Try to resolve your issues on object model level. I believe altering sql
mappings to make them very fancy will cause you lots of grief in the long
run
"Bruce" <[email protected]> wrote in message
news:[email protected]...
I also want to do something similiar to support object history. I could
have a Client object which gets modified and instead of editing this
object I would copy it, inactivate the copy and then edit the original.
This allows for full history. I can always select by active (or a more
complicated status) to get the rest of the history instead of the "top".
Views here seems like a hack. I have activew fields in all of my tables so
I would nee views for each table which is a lot to manage if fields are
changing (need to change them in both places). Also this creates issues
since views are really read-only.
Isn't there a way to change the SQL used to read a relationship?
Bruce
Alex Roytman wrote:
map your classes against views with (where active = 'Y') to make sure
"soft
deleted" records do not get read and have your object model to handlesoft
deletes (like removing from collections etc) use helper methods to do"soft
deletes" masking real deletes is not good idea - you will need them atsome
point
"Stephen Kim" <[email protected]> wrote in message
news:[email protected]...
While there is nothing default that does particularly what you desire,
but from my perspective, you should not have Kodo do anything by
default
as you will probably want to delete the inactive instances at somelater
point.
Instead you should look into Query.setCandidates:
http://www.solarmetric.com/Software/Documentation/2.4.3/docs/jdo-javadoc/jav
ax/jdo/Query.html
i.e. public Collection getActiveUsers ()
PersistenceManager pm = JDOHelper.getPersistenceManager
(this);
Query q = pm.newQuery (User.class, true);
q.setFilter ("active == "N"");
q.setCandidates (users);
return q.execute ();
I haven't tested the above code and there are a lot of optimizations
you
could do such as caching the query in a transient collection but Ithink
you get the idea.
You may want to post your thoughts on our newsgroups
(news://news.solarmetric.com) and see how other people are tackling
similar probles..
Bruce wrote:
I currently have a db schmea that supports "soft" deletes. Example:
Client table has fields:
id - primary key (number)
name - varchar
active ("Y" or "N" where "Y" means active and "N" means "INACTIVE")
We also have a table Users:
id - primary key (number)
name - varchar
active ("Y" or "N" where "Y" means active and "N" means "INACTIVE")
When I delete a user I want to set its active field to "N" and then
when
someone reads users from the client (after I have saved my changes)I
want
only users whoses active field is "Y" to be returns, i.e.
Client clientA = <read client A>
Collection users = clientA.getUsers();
Is there a way to configure/customize the mapping/relationship
between
objects?
Thanks!
Bruce
Stephen Kim
[email protected]
SolarMetric, Inc.
http://www.solarmetric.com
Similar Messages
-
I am planning to create custom defined DSO Object & Info cube
Hi ,
i am planning to create custom defined DSO Object & Info cube.what ratio i can calculate what is the keyfields & what are the data fields in DSO.How can i calculate.
2. how can i create suitable dimensions, suitable characterstics for dimensions.what ratio i can decide.
Thanks,
chandu.Hi Diego Garu,
Thanks for your fast response.i
VBELN VBAP 2LIS_11_VAITM 0DOC_NUMBER
POSNR VBAP 2LIS_11_VAITM 0S_ORD_ITEM
KUNNR VBAK 2LIS_11_VAHDR 0SOLD_TO
VBELN VBRP 2LIS_13_VDITM 0BILL_NUM
FKDAT VBRK 2LIS_13_VDHDR 0BILL_DATE
INCO1 VBRK 2LIS_13_VDHDR(INCO1FieldNot Available in Data Source) 0INCOTERMS
ZTERM VBRK 2LIS_13_VDHDR(Payment terms field Not Available in Data Source) 0UCPYTERMS
NETWR VBRP 2LIS_13_VDITM 0NETVAL_INV.
here data is coming from the multible tables.that why i am planning to create custom defined data source based on view. here how can i calucate dso is suitable or cube is suitable.
suppose dso is suitable how can i decide which on is the data field and which one is the key field.
how can i decide how many dimensions are needed here.and which chara are suitable for that dimensions.
Thanks ,
chandu. -
How to create custom mappings in SeeBurger
Hi All,
As per my knowledge once we install the Seeburger then it will provide some predefined mappings. If we want to develope a customized mappings then what is the procedure? How to deploy the same? Can you provide me some documents. I have tried in SDN but not able to find the same.
Thanks & Regards,
PurshothammHi,
The Business Integration Converter Mapping Designer (BIC MD) is a visual tool used for creating mappings, used by the BIC Adapter in the SAP XI server..
This tool comes with the Seeburger package, when u get the licence this tool will be present with that package..
once if u install, u should deploy the .SDA file which will be created by using BIC mapping designer..
BIC MD is a separate standalone tool, which creates Software Deployment Archives (SDA). SDA files are SAP J2EE libraries that can be deployed on the SAP XI Server using the Software Deployment Manager (SDM).
This SDA file contains what are all the mapping programs which are required for us.. and if we dont find any predefined mapping structure, in such cases we can custmize it.. according to our requirement..
and again we should redeploy SDA file to use it.
for further information and clarfication revert back with ur exact requirement..
regards,
Kishore -
How to create a customized mappings???
Hi ----,
I am really new to JDO so I am still learning how to implement Kodo. I want
to find out how to create customized mappings, like an example will be
great. I have two tables with a one to one mapping relationship that I need
to create an outer join between these two tables. How can I accomplish it at
Kodo?? Here are an example of the two tables:
First table: Customer
C_ID (PK)
C_FNAME
C_LNAME
C_PNUMBER
Second table: Customer_A_Info
CAI_ID (PK) (FK to Customer's C_ID)
CAI_INFO_1
CAI_INFO_2
Thanks you very much...
VivianWhen is 3.0 going to release???
"Abe White" <[email protected]> wrote in message
news:[email protected]..
We have an example of a custom class mapping in the sampels/customSQL
directory. Unfortunately, that and the Javadoc are the only available
docs on custom mapping right now. We're working on improving custom
mapping in our upcoming 3.0 release. And actually, being able to specify
that fields in another table should be outer joined should sneak in as a
standard feature of 3.0. -
How to create custom attributes & object classes through ldif files in OID
Hi,
I have to create 4 attributes and one object class(custom) in OID. I want to creae these attributes and object class through LDIF file.
I tried creating an attribute through this command
ldapadd -p 389 -h localhost -D cn=orcladmin -w password -f D:/newattr.ldif
this ldif file contains inf. for creating a new attributes:
dn: cn=subschemasubentry
changetype: add
add: attributetypes
attributetypes: ( 1.2.3.4.5.6.10 NAME "xsUserType_new" DESC "User Type Definition" EQUALITY caseIgnoreMatch
SYNTAX "1.3.6.1.4.1.1466.115.121.1.15" )
I am getting error: Object class violation
Failed to find add in mandatory or optional attribute list.
Please help to find where I am going wrong...
Thanks.Hi Ajay,
Thank you for the help. Now i am able to create both attributes and object classes in OID through Ldif files.
I was getting constraint violation error because (I think) I was not giving proper naming convection for attributes and object classes. For OID, there are certain Ldap naming conventions. They are as follows:
# X below is the enterprise number assigned by IANA
1.3.6.1.4.1.X.1 - assign to SNMP objects
1.3.6.1.4.1.X.2 - assign to LDAP objects
1.3.6.1.4.1.X.2.1 - assign to LDAP syntaxes
1.3.6.1.4.1.X.2.2 - assign to LDAP matchingrules
1.3.6.1.4.1.X.2.3 - assign to LDAP attributes
1.3.6.1.4.1.X.2.4 - assign to LDAP objectclasses
1.3.6.1.4.1.X.2.5 - assign to LDAP supported features
1.3.6.1.4.1.X.2.9 - assign to LDAP protocol mechanisms
1.3.6.1.4.1.X.2.10 - assign to LDAP controls
1.3.6.1.4.1.X.2.11 - assign to LDAP extended operations
By using these conventions for attributes and object class, I did got any error and they were created in OID.
Thanks a zillion.
Kalpana. -
Create view link between two view objects (from programmatic data source)
Hi Experts,
Can we create a link between two view objects (they are created from programmatic datasource ; not from either entity or sql query). If yes how to create the link; ( i mean the like attributes?)
I would also like to drag and drop that in my page so that i can see as top master form and the below child table. Assume in my program i will be only have one master object and many child objects.
Any hits or idea pls.
-tEasiest way to do this is to add additional transient attributes to your master view object, and then include those additional transient attributes in the list of source attributes for your view link. This way, you can get BC4J to automatically refer to their values with no additional code on your part.
-
Hi Experts,
I have requirement to create custom business object and create Web Service for that and use in external system (SAP ECC / SAP CRM / Third Party).
1) Is it possible to create custom object web service and used in external system ?
2) When we create the Web service from custom business object what the necessary steps(action : Create , Read , Update) require?
3) Sample Scenario :
My Custom Business Object
businessobject Custom_Integration {
element EP_VAL1 : LANGUAGEINDEPENDENT_MEDIUM_Text;
element EP_VAL2 : LANGUAGEINDEPENDENT_MEDIUM_Text;
element IP_RES : LANGUAGEINDEPENDENT_MEDIUM_Text;
I have created the Web Service using this custom business object.
3) How i can use this web service in external system? what are the prerequisite steps in external system to consume this service in it?
Please anyone have idea about this how to do this and how to achieve this using SDK and custom business object.
Many Thanks
MithunHello Mithun,
Does this section in the documentation help you:
SAP Cloud Applications Studio Help -> Developers Desktop -> Web Services
The entry "Task -> Create a Web Service" describes how to create a Web Service on your own BO
The entry "Task -> Test a Web Service" helps you how you can use it in a foreign tool / application.
HTH,
Horst -
Can we create custom objects in WebI 4.0 BICS connectivity in BI 4.0 ?
Hi All,
I am using BI 4.0 and would like to know if we can create custom objects(measures or dimensions) in WebI 4.0 using the BICS connectivity with SAP BW BEx Queries?
RohitHi,
No, I'm afraid that's not possible with the BICS 'transient universe' (because you cannot edit the BW OLAP business layer in IDT)
Sure - in XI3.1, SAP Integration Kit, OLAP .unv universes, it was possible to do custom objects with MDX and XML tags.
Infact, the UDT is still available in BI 4.0
Regards,
Henry -
How to create a relationship between 2 GOS objects
Hi all,
I have a small problem how to create a link between 2 GOS (businnes objects) .
I have 2 different business objects ( Z* type, for example class Z1 and Z2) defined using SWO1, and I want to create link between instances of 2 GOS objects.
I try to use FM 'BINARY_RELATION_CREATE' ,
fill parameters OBJ_ROLEA , OBJ_ROLEB ,
but I know how to fill parameter RELATIONTYPE.
All the time I got a message RL 301 (Role type '&1' is not assigned object type '&2').
Should I make some customization (and how ) for roles of object Z1 and Z2 ?
Or should I use any general relationtype ?
Can somebody helo me to explain, how to make customization , or any link, example ?
Thanks in advance
Milan DobiasThanks for Your answer, but main problem is what relation type use to create link between 2 common objects.
Your solution (use class CL_BINARY_RELATION) returns the same error message, because this class is used in FM BINARY_RELATION_CREATE.
In the end I found that solution is to use as relationtype (ORBRELTYP-RELTYPE = 'ASGN').
CALL FUNCTION 'BINARY_RELATION_CREATE'
EXPORTING
obj_rolea = obj_a
obj_roleb = obj_b
relationtype = 'ASGN'
EXCEPTIONS
no_model = 1
internal_error = 2
unknown = 3
OTHERS = 4.
It seems to work and on both objects (A and B) I can see link (relation).
Best regards,
MD -
Creating custom javacript object
Hi
I was using Extendcript tool and i tried to declare a custom object to instanciate it like:
function MyObj()
this.name = "my name";
var myVar = new MyObj();
$.write(myVar.name);
I was expecting "my name" in the javascript console, but when i run the script in Extendscript tool the debug always halts saying "MyObj does not have a constructor".
Well, i'm pretty sure it does have a constructor, because when i try do get it from MyObj.prototype.constructor or when i test this code on a browser, it works fine.
I tried to set explicitly a constructor to it, but no luck.
Do someone have an explanation on why it does not recognize the constructor when instanciating a custom object?
or
Do someone have a better way to create custom objects in a way that i can use it to check "instanceof"?
Thanks
GriebelMMmmmmm MY BAD!!!
in fact.... i was not using the word "MyObj".... i was using the word "Custom"... as "function Custom(){}"
soooo, i guess "Custom" is a reserved word for Extendscript.
Now testing my own example, it works fine! hahaha
any ideia on what "Custom" might be?
Thank you. -
hi all
I am XI consultant
i want to send IDOC to XI server using ALE..but the IDOC is not present ....the master data is stored in standard sap tables but for them idoc is not present ...so i want to create custom idoc and using change pointer i can send it across ...is this a write approach...? Also please give me the procedure for the above approach as i dont have idea about how to create custome idoc and send it using change pointer
thanks
SheetalHi
Data Creation in Idoc
IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
IDoc is a intermediate document to exchange data between two SAP Systems.
*IDocs are structured ASCII files (or a virtual equivalent).
*Electronic Interchange Document
*They are the file format used by SAP R/3 to exchange data with foreign systems.
*Data Is transmitted in ASCII format, i.e. human readable form
*IDocs exchange messages
*IDocs are used like classical interface files
IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
WE30 - you can create a IDOC type.
An IDOC with data, will have to be triggered by the application that is trying to send out the data.
FOr testing you can use WE19.
How to create idoc?
*WE30 - you can create a IDOC type
For more information in details on the same along with the examples can be viewed on:
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
http://www.sappoint.com/presentation.html
http://www.allsaplinks.com/idoc_search.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.erpgenie.com/sapedi/idoc_abap.htm
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30 )
Create Message Type ( WE81 )
Assign Idoc Type to Message Type ( WE82 )
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back
Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
Check these out..
Re: How to create IDOC
Check below link. It will give the step by step procedure for IDOC creation.
http://www.supinfo-projects.com/cn/2005/idocs_en/2/
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
go trough these links.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
2.IDOCs are independent of the sending and receiving systems.
3.IDOCs are independent of the direction of data exchange.
The two available process for IDOCs are
Outbound Process
Inbound Process
AND There are basically two types of IDOCs.
Basic IDOCs
Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
Extended IDOCs
Extending the functionality by adding more segments to existing Basic IDOCs.
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30)
Create Message Type ( WE81)
Assign Idoc Type to Message Type ( WE82)
imp links
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
www.sappoint.com
--here u can find the ppts and basic seetings for ALE
http://sappoint.com/presentation.html
www.sapgenie.com
http://www.sapgenie.com/ale/index.htm
Reward points if useful
Regards
Anji -
Transfer customizing data between SAP System
Hi to all!
How I can transfer PS customizing data between R/3 4.5B and R/3 4.7?
Thanks,
GianlucaHi,
Can I suggest a slightly more robust approach? What Andreas is suggesting, is that in fact you should be able to transfer the customising data by doing a standard transport. You can create a transport in your 4.5B system and then it can be physically copied (at the operating system level, for example FTP) to your 4.7 system and then imported.
I think that this is probably the right way to go, but you may have some troubles if the PS system has some changes in 4.7 (as the destination config tables may have different structures to the source tables).
The change I suggest from Andreas is start by using the IMG to generate the transport. If you go to every area of customising that you wish to transfer to the 4.7 system and make a change (save to a change request) then change it back and save, you will make sure that you have every table required to be transferred in your change request. You can then edit the change request (in SE09) and change the keys (by putting an *, rather than the specific data) to ensure you get all the data.
I just feel that given the complexity of configuration tables (and the sheer number of them) it would flow smoother if generated the initial list via the IMG, rather than trying to figure them all out yourself.
After the change request has all the correct entries you will need to release it (to ensure that the object in Unix has all the data from the SAP system). You can then FTP it to the 4.7 system and do an import of the change request (and cross your fingers that you don't get import errors due to config tables changing in 4.7).
Hope that helps,
Brad -
Error while creating Attribute In BPM Object
Hi,
I am getting error while creating attributes in BPM Object.I am not able to open BPm object. while opening I am getting Below error.
Please suggest.
java.lang.StringIndexOutOfBoundsException: String index out of range: 28
at java.lang.String.charAt(Unknown Source)
at fuego.type.TypeFactory.createFromName(TypeFactory.java:482)
at fuego.type.TypeFactory.forNameLazy(TypeFactory.java:263)
at fuego.lang.CollectionTypeDescription.getIndexTypeRef(CollectionTypeDescription.java:146)
at fuego.compiler.type.TypeRenderer.renderArrayType(TypeRenderer.java:355)
at fuego.compiler.type.TypeRenderer.renderType(TypeRenderer.java:261)
at fuego.compiler.type.TypeRenderer.renderArrayType(TypeRenderer.java:344)
at fuego.compiler.type.TypeRenderer.renderType(TypeRenderer.java:261)
at fuego.compiler.type.TypeRenderer.render(TypeRenderer.java:106)
at fuego.compiler.type.TypeRenderer.render(TypeRenderer.java:94)
at fuego.compiler.type.TypeRenderer.render(TypeRenderer.java:78)
at fuego.designer.XObjectComponentStructurePanel$CellTypeRenderer.getText(XObjectComponentStructurePanel.java:612)
at fuego.designer.XObjectComponentStructurePanel$CellTypeRenderer.getText(XObjectComponentStructurePanel.java:605)
at fuego.ui.peer.swt.SwtTable$SwtTableModel.getColumnText(SwtTable.java:956)
at org.eclipse.jface.viewers.TableColumnViewerLabelProvider.update(TableColumnViewerLabelProvider.java:70)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:135)
at org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(AbstractTableViewer.java:386)
at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:466)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2026)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:695)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:633)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:620)
at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1433)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1368)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1330)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1431)
at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:536)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1390)
at fuego.ui.peer.swt.SwtViewer.repaint(SwtViewer.java:59)
at fuego.ui.peer.swt.SwtColumn.setLabelProvider(SwtColumn.java:89)
at fuego.ui.Column.setLabelProvider(Column.java:82)
at fuego.designer.XObjectComponentStructurePanel.buildUI(XObjectComponentStructurePanel.java:299)
at fuego.designer.AbstractEditor.build(AbstractEditor.java:542)
at fuego.designer.AbstractEditor.init(AbstractEditor.java:133)
at fuego.designer.XObjectComponentStructurePanel.<init>(XObjectComponentStructurePanel.java:126)
at fuego.eclipse.studio.multipageeditor.BPMObjectMultipartEditor.createStructurePage(BPMObjectMultipartEditor.java:581)
at fuego.eclipse.studio.multipageeditor.BPMObjectMultipartEditor.addDefaultPages(BPMObjectMultipartEditor.java:464)
at fuego.eclipse.studio.multipageeditor.ExtendedMultiPageEditorPart.createPages(ExtendedMultiPageEditorPart.java:399)
at fuego.eclipse.studio.multipageeditor.eclipse.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:253)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2737)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2651)
at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2557)
at fuego.eclipse.ui.DefaultEditor.open(DefaultEditor.java:65)
at fuego.eclipse.studio.EclipseWorkbench.createEditorFromResource(EclipseWorkbench.java:529)
at fuego.eclipse.studio.EclipseWorkbench.createEditor(EclipseWorkbench.java:297)
at fuego.designer.action.OpenCatalogNodeAction.open(OpenCatalogNodeAction.java:91)
at fuego.designer.action.OpenCatalogNodeAction.run(OpenCatalogNodeAction.java:55)
at fuego.eclipse.ui.EclipseAction.run(EclipseAction.java:180)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)When you say you're having trouble "opening" the BPM Object, is it possible you instead mean you're having trouble expanding the BPM Object?
Just a guess, but if you're having trouble expanding the BPM Object I'd suspect that the object's xcdl contents might be corrupted. You might want to consider exporting and saving a backup of the project and then try deleting the object from the Project Navigator. Rebuild the BPM Object once you've deleted it.
Dan -
How to create custom cloumns in report
Hi,
I want to create custom columns in the reports(columns which are not present in active subject area. Please help.
Thanks
ArpitaArpita,
You can create a calculated column using any Field (Presentation Column) in any Presentaion Table.
Eg: You want to calculate the difference between the Start and End Date of an Activity.
1. Simply Create a report on the Activities SA (Analytics or Real-time doe not matter here)
2. Add the required Coumns
3. To calculate the difference between the Start and End time.
- add the below fields from Activity
- Click the 'Fx' icon any field that you would like to display the calculated value in.
- Replace the existing formula in this field with TIMESTAMPDIFF(SQL_TSI_DAY, Activity."Created Date", Activity."Completed Date") - This is your calculated value
Activity ID Subject Created Date Completed Date Difference
AXXX-IHJ1W Prepare Proposal 10/31/2011 6:39:43 AM 11/18/2011 4:48:54 AM 18
For more details, I would suggest you look at the CRM On Demand Bookshelf or click the hlp link in CRM On Demand.
Hope this helps!
Thanks,
Royston -
Creating a relation between fields
This is my first use of Acrobat & Designer and I am having difficulty.
I want to create a relationship between a check-box field and a drop-down list field. I would like a specific value in a drop-down list to be shown when an adjacent check box field is selected.
I am not familiar enough with script writing to figure it out. I can't find any reference to such an option. I am sure someone much smarter than I must know the answer.
Also, is there a good reference book out there for LiveCycle Designer?
Thanks.Dallas,
You can use the following script to do that:
if (CheckBox1.rawValue == 1){
DropDownList.rawValue = "CA";
}else DropDownList.rawValue = "AL";
What you need to do is for all the values in you drop down list, in the binding tab you need to assign values by clicking specify item values. So for my case above say I have a few countries listed, the item value for Canada in my drop down list is CA. So if my heckbox is ticked it will show Canada, if not it shows Albania and so on.
Does that make sense?
Here is a link to the LiveCycle Designer Developer Center where you will find some usefull documents and samples that will help get you started: http://partners.adobe.com/public/developer/livecycle/designer/devcenter.html
Check out the Adobe XML form object model document on there.
Catherine
Adobe Systems
Maybe you are looking for
-
How to disable elasticity property of list view in Windows Phone 8.1..?
Hi, I am using the ListView control of Windows Phone 8.1. I am using data binding to populate the list items. It works fine. But I am able to pull the list down from the top( ie..When we pull down the list, fist item comes down and the background co
-
Creation of Production Orders(CO01) , its opeartion & Components in mass
Hi Gurus I have to create the Production Orders in mass with Operation & Component alloacation & i want to use the BAPI BAPI_PRODORD_CREATE, whether i can create the Opeartions & components of Production Orders at the same time using this BAPI BAPI_P
-
I have 4gb of ram and running Vista. Dont know why I keep getting this error, its not like I'm burning a full 2 hour movie. any help would be appreciated.
-
Best DVI to USB in 2011?
I am a web programmer with a macbook pro. I have two monitors, one I can hook up via dvi, the other one I was thinking to hook up via dvi to usb. My concern is that one of my monitors is rotated 90 degrees, whereas the other one is sitting normally.
-
Dynamic Conditions in OLAP universe
Hi all, we want to use conditions that are derived from the current date to provide easy filters to our users. Like "Current Month" derived from the current date w/o users having to enter any value. In the old 5.1 Business Objects version this was wo