Arc with recursive relationship
Version 3.1.1: I'm trying to add an arc to a logical data model using Barker Notation. The problem is that when one of the relationships is recursive, the tool does not ask which end to use and does not draw the arc correctly. I think this is a defect. Is there a work around? I'm new to this tool.
RE: It's interesting what are you going to express with that.
In 30 years of data modeling I've never needed to show both ends of a recursive relationship as mutually exclusive, but that would be the case if the business wanted to enforce a two level hierarchy rule - every entity could be either the parent of one or more children or the child of one parent, but since only two levels are allowed not both at once.
On the other hand it is very common for one end of a recursive relationship to be mutually exclusive with some other relationship. For example, in a hierarchy only leaf nodes can have some other relationship.
Rich
Similar Messages
-
Question about recursive relationships
I have put together the tutorial from here
A way to: handle a simple self-referencing or recursive relationship
This works but not in the way I expected. Let me explain briefly.
I have an Employees ListDetail Screen. In the details of an employee, I have an autocomplete to select another employee as a teammate. I am hoping to be able to select another employee as a teammate, and then be able to go to that teammate's properties,
and see the first employee i edited, in the teammate field as well.
Another side effect is that the ListDetails screen created for the tutorial only shows employees that have teammates, not all the employees.
I'm also hoping to accomplish this without RIA.It is not a good choice to deal with recursive relationships without RIA, it really brings lots of troubles... :(
-
CLOSED- Recursive Tree with Recursive Table and seperate Relationship table
Hi All,
I am trying to achieve a adf recursive tree with recursive table but relationships are stored in separate table like
Table A:
id name
1 Val1
2 Val2
3 Val3
4 Val4
5 Val5
Table B:
fromid rel_type toid
1 Parent-of 2
2 Parent-of 3
3 Parent-of 4
1 Parent-of 5
I did lots of reading from forum and various posts but couldn't make it work.
Any suggestion what would be best approach and/or sample code for this ?
ThanksI think that you can get this done by defining a VO that fetches all the top level nodes and have a view link to a VO that has all the details with a self recursive viewlink
Query for the top level
Select A.id, A.name
from A
Where A.id not in (select disctinct toid from B)
Query for the detail level
Select A.id, A.name, B.from, B.to
from A,b
where a.id = b.toid;
ViewLink is going to be:
detail.from=master.id
and another viewlink for the recursive relationship
detail.from=detail.to -
Problem with ejb 3.0 entity beans with manyToMany relationship
Hello everyone!
I am using struts 1.2.9 and java ee 5 sdk update 2 for my enterprise application. Besides others i have these entity beans Targetgroup.java and City.java, (i would upload file but i do not know how:)
with manytomany relationship with join table.
when user updates Targetgroup, by clicking on web page with checkboxes and textfields, struts dispatch action calls following method stateless bean:
public void update(String firmId, String targetgroupId, String newGender, String newMinYearsOld, String newMaxYearsOld, String[] newCities) {
TargetgroupPK pkForUpdate = new TargetgroupPK(targetgroupId, firmId);
Targetgroup targetgroupForUpdate = find(pkForUpdate);
targetgroupForUpdate.setGender(newGender);
targetgroupForUpdate.setMinyearold(Integer.parseIn t(newMinYearsOld));
targetgroupForUpdate.setMaxyearold(Integer.parseIn t(newMaxYearsOld));
//pronalazenje gradva za koje je vezana ciljna grupa
Collection<City> newCitiesCollection = new ArrayList<City>();
for(int i = 0; i < newCities.length; i++){
String tmp_city_name = newCities;
City city_obj = cityFacade.find(tmp_city_name);
newCitiesCollection.add(city_obj);
targetgroupForUpdate.setCityidCollection(newCities Collection);
parameter newCities represents names of cities which user checked on his update page. When the page is showen to him some cities are allready check because they were connected with Targetgruoup when it was created (targetgroup).
this code throws following exception:
[#|2007-07-26T12:13:36.993+0200|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_Threa dID=16;_ThreadName=httpWorkerThread-8080-0;_RequestID=f79d9c50-86b0-4b6c-96ab-97956dfb39c1;|StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
javax.ejb.EJBException: Transaction aborted; nested exception is: javax.transaction.RollbackException: Transaction marked for rollback.
javax.transaction.RollbackException: Transaction marked for rollback.
at
.com.sun.enterprise.web.connector.grizzly.WorkerTh read.run(WorkerThread.java:75)
javax.ejb.EJBException: Transaction aborted; nested exception is: javax.transaction.RollbackException: Transaction marked for rollback.
at com.sun.ejb.containers.BaseContainer.completeNewTx (BaseContainer.java:3659)
at com.sun.ejb.containers.BaseContainer.postInvokeTx( BaseContainer.java:3431)
at com.sun.ejb.containers.BaseContainer.postInvoke(Ba seContainer.java:1247)
at com.sun.ejb.containers.EJBLocalObjectInvocationHan dler.invoke(EJBLocalObjectInvocationHandler.java:1 92)
at com.sun.ejb.containers.EJBLocalObjectInvocationHan dlerDelegate.invoke(EJBLocalObjectInvocationHandle rDelegate.java:71)
at $Proxy149.update(Unknown Source)
at audiotel.sms.actions.backoffice.TargetgroupDispatc hAction.updateOrDelete(TargetgroupDispatchAction.j ava:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchM ethod(DispatchAction.java:270)
at org.apache.struts.actions.DispatchAction.execute(D ispatchAction.java:187)
at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
com.sun.enterprise.web.connector.grizzly.WorkerThr ead.run(WorkerThread.java:75)
|#]
exceprion is throwen ONLY when in parameter newCities are city names allready connected to Targetgroup. when NewCities contains names of
City objects which are not connected to Targetgroup it works fine, but it's of no use for me, because user must be able to add or remove certian cities from relaionship with Targetgroup. I think it's because there are rows in join table that contain primary keys of city and targetgroup which are connected so perisistence manager cann't write them again.
i thought it was going to figure it out by itself, and only update those rows.
Does anyone know what is the problem and solution?
Thanks! (forgive my spelling errors :)solved the problem!
I moved code from sesion bean to struts action as follows:
CityFacadeLocal cityFacade = lookupCityFacade();
//prikupljanje novih podataka o ciljnoj grupi
String newGender = ctf.getGender();
String newMaxYears = ctf.getMaxyears();
String newMinYears = ctf.getMinyears();
String[] newSelectedCities = ctf.getSelectedCities();
//niz imena gradova se prevodi u kolekcju objekata City
Collection<City> newCitiesObjCollection = new Vector<City>();
for(int i = 0; i < newSelectedCities.length; i++){
String tmpCityName = newSelectedCities;
City tmpCityObj = cityFacade.find(tmpCityName);
newCitiesObjCollection.add(tmpCityObj);
//setovanje novih podataka
targetgroupForUD.setGender(newGender);
targetgroupForUD.setMinyearold(Integer.parseInt(newMinYears));
targetgroupForUD.setMaxyearold(Integer.parseInt(newMaxYears));
targetgroupForUD.setCityidCollection(newCitiesObjCollection);
//pozivanje update metdoe u session beany
targetgroupFacade.edit(targetgroupForUD);
//korisnik se vraca na stranu sa svim postojecim ciljnim grupama
forward = mapping.findForward("backend.targetgroups");
and now it works fine. I guess probelm was same transaction scope for Targetgroup and City entities. Now when they are separated it works.
Thanks! -
How to find out the IBU of the logges in user with some relationship?
Hi,
How to find out the IBU of the logges in user with some relationship?
Regards,
JayaHi Jaya,
I am not sure if i understood you correctly. Do you want to find the corresponding account of logged in User? If yes, then you can use the below FM:-
CALL FUNCTION 'BP_CENTRALPERSON_GET'
EXPORTING
IV_USERNAME = im_usr_name
IMPORTING
EV_BU_PARTNER_GUID = lv_partner_guid
EXCEPTIONS
NO_CENTRAL_PERSON = 1
NO_BUSINESS_PARTNER = 2
NO_ID = 3
OTHERS = 4.
Thanks and Regars,
Rohit -
Issue with recursive join and filter records
I am having an issue with recursive join and filtering records for the following rules. The table, sample records, test script and rules are as below
drop table PC_COVKEY_PD;
create table PC_COVKEY_PD (
PC_COVKEY varchar(50),
COVERAGE_NUMBER varchar(3),
SEQUENCE_ALPHA varchar(3),
TRANSACTION_TYPE varchar(3),
COV_CHG_EFF_DATE date,
TIMESTAMP_ENTERED timestamp
delete from PC_COVKEY_PD;
commit;
Insert into PC_COVKEY_PD values ('10020335P8017MT0010012','001','001','02',to_date('01/FEB/2010','DD/MON/RRRR'),to_timestamp('02/JAN/2010 01:55:59.990216 AM','DD/MON/RRRR HH12:MI:SS.FF6 AM'));
Insert into PC_COVKEY_PD values ('10020335P8017MT0050012','005','001','02',to_date('01/FEB/2010','DD/MON/RRRR'),to_timestamp('02/JAN/2010 01:56:00.268099 AM','DD/MON/RRRR HH12:MI:SS.FF6 AM'));
Insert into PC_COVKEY_PD values ('10020335P8017MT0010032','001','003','03',to_date('14/JAN/2011','DD/MON/RRRR'),to_timestamp('14/JAN/2011 04:25:19.018217 PM','DD/MON/RRRR HH12:MI:SS.FF6 AM'));
Insert into PC_COVKEY_PD values ('10020335P8017MT0010042','001','004','03',to_date('21/JAN/2011','DD/MON/RRRR'),to_timestamp('21/JAN/2011 04:00:31.719444 PM','DD/MON/RRRR HH12:MI:SS.FF6 AM'));
Insert into PC_COVKEY_PD values ('10020335P8017MT0050022','005','002','03',to_date('21/JAN/2011','DD/MON/RRRR'),to_timestamp('21/JAN/2011 04:02:48.953594 PM','DD/MON/RRRR HH12:MI:SS.FF6 AM'));
commit;
--select * from PC_COVKEY_PD order by COV_CHG_EFF_DATE,TIMESTAMP_ENTERED;
PC_COVKEY COVERAGE_NUMBER SEQUENCE_ALPHA TRANSACTION_TYPE COV_CHG_EFF_DATE TIMESTAMP_ENTERED
10020335P8017MT0010012 001 001 02 01/FEB/2010 02/JAN/2010 01:55:59.990216 AM
10020335P8017MT0050012 005 001 02 01/FEB/2010 02/JAN/2010 01:56:00.268099 AM
10020335P8017MT0010032 001 003 03 14/JAN/2011 14/JAN/2011 04:25:19.018217 PM
10020335P8017MT0010042 001 004 03 21/JAN/2011 21/JAN/2011 04:00:31.719444 PM
10020335P8017MT0050022 005 002 03 21/JAN/2011 21/JAN/2011 04:02:48.953594 PM
*/Rule;
Every PC_COVKEY, query should recursively join and generate set of records depending on latest SEQUENCE_ALPHA for the coverage number at that point of time. For ex,
for 10020335P8017MT0010042 (4 row) should generate 2 records
1. 10020335P8017MT0010042001004 (PC_COVKEY || COVERAGE_NUMBER || latest SEQUENCE_ALPHA--004 for cover 001), SEQUENCE_ALPHA 001 for cover 001 is not the latest for 10020335P8017MT0010042.
2. 10020335P8017MT0010042005001 (coverage number 005, and latest sequence alpha-001 for cover 005).
SEQUENCE_ALPHA 002 for cover 005 is not the latest for 10020335P8017MT0010042 as it happened later stage.
for 10020335P8017MT0050022 (5 row) should generate 2 records as
1. 10020335P8017MT0050022001004 (PC_COVKEY || COVERAGE_NUMBER || latest SEQUENCE_ALPHA--004 for cover 001),
2. 10020335P8017MT0010042005002 (coverage number 005, and latest sequence alpha-002 for cover 005)
WITH SNAPSHOT_CVR_CTP as (
SELECT pcd1.PC_COVKEY,
pcd1.PC_COVKEY||pcd2.COVERAGE_NUMBER||pcd2.SEQUENCE_ALPHA as cov_key,
pcd2.COVERAGE_NUMBER,
pcd2.SEQUENCE_ALPHA,
pcd2.COVERAGE_NUMBER||pcd2.SEQUENCE_ALPHA as CVRSEQ,
max(pcd2.COVERAGE_NUMBER||pcd2.SEQUENCE_ALPHA) over (partition by pcd1.PC_COVKEY, pcd1.COVERAGE_NUMBER
order by pcd2.COV_CHG_EFF_DATE, pcd2.TIMESTAMP_ENTERED) as MaxSeq,
pcd2.COV_CHG_EFF_DATE,
pcd2.TIMESTAMP_ENTERED
FROM
PC_COVKEY_PD pcd1,
PC_COVKEY_PD pcd2
select * from SNAPSHOT_CVR_CTP SC
WHERE sc.PC_COVKEY = '10020335P8017MT0010042' -- 4 row
--AND COVERAGE_NUMBER||SC.MAXSEQ = COVERAGE_NUMBER||SEQUENCE_ALPHA
ORDER BY TIMESTAMP_ENTERED
PC_COVKEY COV_KEY COVERAGE_NUMBER SEQUENCE_ALPHA CVRSEQ MAXSEQ COV_CHG_EFF_DATE TIMESTAMP_ENTERED
10020335P8017MT0010042 10020335P8017MT0010042001001 001 001 001001 001001 01/FEB/2010 02/JAN/2010 01:55:59.990216 AM
10020335P8017MT0010042 10020335P8017MT0010042005001 005 001 005001 005001 01/FEB/2010 02/JAN/2010 01:56:00.268099 AM
10020335P8017MT0010042 10020335P8017MT0010042001003 001 003 001003 005001 14/JAN/2011 14/JAN/2011 04:25:19.018217 PM
10020335P8017MT0010042 10020335P8017MT0010042001004 001 004 001004 005001 21/JAN/2011 21/JAN/2011 04:00:31.719444 PM
10020335P8017MT0010042 10020335P8017MT0010042005002 005 002 005002 005002 21/JAN/2011 21/JAN/2011 04:02:48.953594 PM
I am trying to filter row using MAXSEQ but at the moment MAXSEQ values are not coming as expected. I expect following value for COV_KEY combination
COV_KEY MAXSEQ
10020335P8017MT0010042001001 001004
10020335P8017MT0010042005001 005001 -- match
10020335P8017MT0010042001003 001004
10020335P8017MT0010042001004 001004 -- match
10020335P8017MT0010042005002 005001Would appreciate if anyone can get MAxSEQ as expected.Something like..
with dist_cov_numbers as
select distinct coverage_number cov_number
from PC_COVKEY_PD
all_data as
select pcd.*,d.cov_number new_coverage_number,
max(decode(coverage_number,d.cov_number,sequence_alpha))
over( partition by d.cov_number
order by COV_CHG_EFF_DATE,TIMESTAMP_ENTERED
) max_seq
from PC_COVKEY_PD pcd,dist_cov_numbers d
select pc_covkey,pc_covkey||new_coverage_number||max_seq new_key,
pc_covkey||coverage_number||sequence_alpha actual_key
from all_data
order by COV_CHG_EFF_DATE, TIMESTAMP_ENTERED;
PC_COVKEY NEW_KEY ACTUAL_KEY
10020335P8017MT0010012 10020335P8017MT0010012001001 10020335P8017MT0010012001001
10020335P8017MT0010012 10020335P8017MT0010012005 10020335P8017MT0010012001001
10020335P8017MT0050012 10020335P8017MT0050012001001 10020335P8017MT0050012005001
10020335P8017MT0050012 10020335P8017MT0050012005001 10020335P8017MT0050012005001
10020335P8017MT0010032 10020335P8017MT0010032001003 10020335P8017MT0010032001003
10020335P8017MT0010032 10020335P8017MT0010032005001 10020335P8017MT0010032001003
10020335P8017MT0010042 10020335P8017MT0010042005001 10020335P8017MT0010042001004
10020335P8017MT0010042 10020335P8017MT0010042001004 10020335P8017MT0010042001004
10020335P8017MT0050022 10020335P8017MT0050022005002 10020335P8017MT0050022005002
10020335P8017MT0050022 10020335P8017MT0050022001004 10020335P8017MT0050022005002
10 rows selected Edited by: jeneesh on Nov 22, 2012 10:54 AM -
Org Unit and Cost Center not displaying in 0001 with A012 relationship
Hi Guru's,
Kindly help me in this regard ,
Whenever i hire a person to a position which has an A012 relationship (Chief Position) then Org Units and Cost centres are not getting displayed in IT0001 .
But when i hire a person in the same org unit with A003 relationship ; both Org units and Costcentres are getting displayed
I have used an LSMW for uploading relationships and objects and i have also run integration reports for the same but still i am not able to display org unit and cost centre in it0001 when i hire a person with A012 relationship .
Kindly Helpboth great advice, also, check this link:
http://help.sap.com/saphelp_45b/helpdata/en/14/d22fe48435d111950d0060b03c6b76/content.htm
within this information there are various reports to run, which help recon OM and PA integration. it will help you find your data problem and then fix the data for you if you follow step by step.
best regards,
michael -
Recursive relationship in Forms
Greetings:
I have a table containing a recursive relationship representing an organizational heirarchy. I have an Org_ID (sequence) field as the pkey and a parent_org_ID field to relate each company in the table to it's parent company in the same table. Different companies may have different levels of nesting. I'd like to create a Form by which the user can display/edit each level of the organizational hierarchy. I understand how to write a query to display the info in heirarical format, but do I use a reference cursor or table in my stored procedure to base the data block on? Also, how could I get forms to possibly indent the text items for each level of the hierarchy?
Anyone who has attemted to represent a recursive realtionship in Forms, please help!
Thanks,
Chris ScoppYou may want to check out this PPT presentation. It has all the different ways of displaying hierarchical data in Oracle Forms 6.0.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
Allan:
Thanks for your response, yes I made a tree which does display it in the method I want. However, I can only get one field (such as CoName) to display in the tree. Also, I'd like the user to be able to edit any data for any level of the hierarchy and I don't think this is possible w/ the tree. It seems to me that the tree might be good for the user to select the level or company that they are trying to edit and then use their selection as criteria for selecting that company's info into another data entry form. Does that seem like its best use to you?
As far as indenting, the method you mentioned works good but I was thinking of how to actually indent the text boxes on the form. The end result would be that the Form has indented text boxes for each level allowing you to easily differentiate the levels.
Thanks for your response, if you have any other thoughts please let me know!
Chris<HR></BLOCKQUOTE>
null -
DNS won't resolve SRV records with recursion disabled
I have DNS installed on a Windows Server 2008 R2 server. I have a standard zone created (no AD integration). I have recursion disabled. When I use NSLookup to lookup any of the A records or CName Records the results are returned as
expected. However, if I attempt to lookup any SRV or MX Records, the list of root hints are returned (which is what I would expect if I was attempting to lookup a domain not hosted on this server). Now I enable recursion and run the same exact
commands and I get the results I'm expecting.
I'm stumped.....
DBReader's digest version: Putting a period at the end of my record, resolved the issue. This seems to be a difference between Windows 2003 and Windows 2008R2
Long version:
Thanks for the debug tip. That confirms the issue. So to backup a little, I had a Windows 2003 box running DNS. I planned on decommissioning this box; therefore, I stood up the second server, made a secondary DNS zone, once all records
transferred, I flipped the primary and secondary roles.
The real problem is this zone cannot find any of the TXT records such as SRV and MX. When I run NSLookup with recursion disabled, my results are:
HEADER:
opcode = QUERY, id = 18, rcode = NOERROR
header flags: response, want recursion
questions = 1, answers = 0, authority records = 13, additional = 3
That makes perfect sense why recursion is working. If I run the same results on the secondary DNS server (the original server) the results are expected:
HEADER:
opcode = QUERY, id = 20, rcode = NOERROR
header flags: response, auth. answer, want recursion, recursion avail.
questions = 1, answers = 4, authority records = 0, additional = 4
SO THE REAL QUESTION is why can't the new server find these records, especially since it's a copy of the zone from the old server. I flipped the servers back, deleted the DNS zone (and files) on the new server, restarted DNS service, created the zone
again, and allowed the content to copy over from the old server and I STILL get the same results.
The last thing I did was created a new SRV record on the new server and performed another NSLookup, but still get the same results.
So then I remembered
MuhammadUmar's post about putting a period at the end of my nslookup command. I honestly didn't that that was going to change the results, but BAM. I was wrong. When I put in the request with a period at the end of the record, I get the
results I'm expecting.
Thanks all for helping me on this one!
DB -
How to create sap query with "or" relationship
dear experts,
I need a report to display the employee whoese WSR is
changed in the month for infotype 0007.
that is ,we want to search with selection
begda OR endda between 2008-01-01 and 2008-01-31.
how to create sap query with "or" relationship?hi use like this,
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = p_pernr
infty = '0007'
BEGDA = p_date1
ENDDA = p_date2
TABLES
infty_tab = itab .
hi use this by passing the pernr to fm and giving the dates low and high in the p_date1 and p_date2.
loop at itab where condition.
endloop.
may it helps u,
regards,
venkat. -
Recursive WITH (Recursive Subquery Factoring) Never Returns
11.2.0.2 database on Windows, SQL Developer Version 3.2.20.09, build MAIN-09.87 (Database and SQL Developer are on the same machine. I have also tried connecting to a Linux 11.2 database and have the same results.)
I've been doing some simple testing with recursive WITH (Recursive Subquery Factoring) and when I run this following statement in SQL*Plus it returns instantly. However when running in SQL Developer it never returns, I've let it run for quite a long time (172 seconds) and gotten nothing, I finally kill the statement. Once I ran it and even killing the job didn't come back. I can get an explain plan but if I try to run it, run as script or autotrace it never returns. I have only one plan in the plan_table for this test, and it's only 4 lines long. No errors, no messages.
WITH get_plan (query_plan, id, planlevel) as
select ' '||operation||' '||options||' '||object_name query_plan, id, 1 planlevel
from plan_table
where id = 0
union all
select lpad(' ',2*planlevel)||p.operation||' '||p.options||' '||p.object_name query_plan, p.id, planlevel+1
from get_plan g, plan_table p
where g.id = p.parent_id
SELECT QUERY_PLAN FROM GET_PLAN ORDER BY PLANLEVEL;Hi Jeff, using either give the same results. The query is "running", as is the little graphic with the bouncing gray bar is moving back and forth saying either "Query Results" or "Scriptrunner Task" as appropriate.
OK this is odd. I run a count(*) on plan_table in SQL*Plus and get 4, in SQL Developer I get 487. Hun? That makes no sense I'm connect as the same user in each. Where are all these other entries coming from and why can't I see them in SQL Plus? Does SQL Developer have it's own PLAN_TABLE?
**EDIT --- Yes that seems to be the case. The PLAN_ID I see in SQL Plus doesn't even exist in the SQL Deveropler version of the table. OK that's good to know. I assume the plan_table for SQL Developer is local to it somehow? It's not in the database as best I can see.
Edited by: Ric Van Dyke on Feb 7, 2013 5:19 PM -
I need to Create a tree and with recursion (not to use SAP FM)
and i have a tree like the following
assume i have a root like
root is level 1 -> customer
child level 2 -> like contact person & address
child level 3 like visiting hours (contact person ) & Email address (adress )
e.g. of the table that i need to provide as output is
item parent_key child_key
customer 0001
contant person 0001 0002
address 0001 0002
vist 0002 0003
email 0002 0003
etc...
let say i get as input always the root and i check for his child and for this node i
look for his child etc how can i provide a table like the above table
Thanks and Regards
JamesHi,
build your tree step-by-step:
-root node is always shown -> initially add it to the node table of your alv-tree
->user expands root node
->event expand_no_children has to be handled
->check which node threw that event
->if root node, select all persons
->add the person nodes to your alv-tree node-list, as parent use the root node
->refresh alv tree
->user expands person-node
->event expand_no_children has to be handled
->check which node threw that event
->if person node, select all visiting hours
->add the visiting hour nodes to your alv-tree node-list, as parent use the person node
->refresh alv tree
Greetings,
dsp -
How to set this filters with 'or' relationship
Hi Pros,
I have a query as follows, rows and columns are all in structures.
regular_employees
active_employees
lay_off_employees
I want to set up filter as ' employ_status = 0 or employ_subgroup =2' for this query, please tell me how to set this filters with 'or' relationship.Hi Yifei,
Create a formula and enter this (let's name this FORMULA_KF):
((EMPLOY_STATUS = 0) OR (EMPLOY_SUBGROUP = 2)) * enter value IF_TRUE + enter value IF_FALSE
Then create the condition to HIDE the rows having those values to be filtered (if this is your purpose)..
Like,
FORMULA_KF <> 1
Is this what you want mate?
Regards,
Loed -
How to draw an arc with width more than 1
Hi!
I got the following problem:
I need to draw an arc under JDK1.1.
It works fine, but I need to be able to adjust the
thickness. I didn't find anything in the graphics-
class.
Who knows?
ValentinI think you're just gunna have to draw multiple arcs with start/end points that are pixel increments away from each other. In Java2 you could use set the "stroke" with Java 2D, but that's not availale in 1.1.
-
Draw arc with three point( start, middle, end)
hi all,
i want to draw an arc with start point, middle point and end point, how can i do this?Not clear what you want, but will try
How to calculate - the unit is the pixel it takes practice thats all & a bit of trial and error.
| intB (pixels from the top)
|
|
intA |_____________________________
(from left) |
| |
| |
| |
| |
| |
| |
| |
| |
|_____________________________| intD (from top)
intC (from left)The pie slice goes from the centre of the undrawn square
If you only want an arc then you can paint over it again with eg
g.setColor(Color.white);
g.fillRect(0, 0, width, height);
g.setColor(Color.blue);
g.fillArc(intA, intB, intC, intD, intStartArc, intEndArc);
g.setColor(Color.white);
g.fillArc(intA, intB, intC-1, intD-1, intStartArc, intEndArc);
or something similar
Maybe you are looking for
-
Problem in converting smartforms output in pdf
Hi all.. I am trying to convert smartform's output in PDF file.. I am able to convert smartforms's output in PDF but after that i can't see Print Preview.. Code is following... REPORT ZMM_R402_FORM_TEST11. TABLES : VBRK,J_1IEXCHDR. SELECTION-SCREEN :
-
Bridge CS2: Scripting metadata w/o XMPScript?
Hi, I need to get at strcutured data types (bag and alt) and I can't figure out how to do this in CS2, or if it's even possible. I've looked at the sample code in the scripting guide, but it doesn't seem to be of use. Here's what I've tried so far to
-
Hi, I am doing interface which send JMS messages to IDOC. JMS is sending three different messages (three XSD's) and I have created three separate interfaces as a below. A) Negative.xsd ; to IDOC1 B) Positive.xsd ; to IDOC2 C)Multiple.xsd ; to IDOC3 W
-
Can I filter out "hollow" sound?
I recorded a voice intro and some "noodling" for my guitar instructor to up on his website, but there's just a bit of a hollow sound to his spoken intro and to his guitar playing. Is there an easy way to filter that in Garage Band? I'm pretty new to
-
PhotoShop CS6 Error Code: U44M1P7
I am trying to update PhotoShop CS6 to Version 13.0.1.3 and keep getting Error Code: U44M1P7. How can I resolve the issue?