How can i manage multi level hierarchy in ADF
hi,
i have three View Object which is based on table.
EmployeeHdr- EmployeeVo
LeaveApplyHdr- LeaveHdrVo
LeaveApplyDet- LeaveDetVo
now how can i manage master detail type of hierarchy among these table.
a)foreign key relation b/w EmployeeHdr and LeaveApplyHdr based on EmployeeHdr.empcd = LeaveApplyHdr.empcd
b)foreign key relation b/w LeaveApplyHd and LeaveApplyDet based on LeaveApplyHdr.apply_no=LeaveApplyDet.apply_no
i have already create association and viewlink for these relationship.
now can i manage this in Single jsf page.
hi,
open your application module and take the source
And find out where the view links are Used..
it may be like this...
<ViewLinkUsage
Name="ViewLinkA****1"
Version="@@@@@@@@@@@@@@"
ViewLinkObjectName="model.ViewLinkA****"
SrcViewUsageName="model.AppModule.EmployeeVo5 "
DstViewUsageName="model.AppModule.LeaveHdrvo6 " // check this
Reversed="false"/>
<ViewLinkUsage
Name="ViewLinkB****1"
Version="@@@@@@@@@@@@@@"
ViewLinkObjectName="model.ViewLinkB****"
SrcViewUsageName="model.AppModule.LeaveHdrvo6"//check this
DstViewUsageName="model.AppModule.LeaveDetVo7 "
Reversed="false"/>
From this you can see that SrcViewUsageName reference, change it as per your need.
Already in application module you may have different instance names, make sure that you have specified the correct names in the application module.
Then refresh the datacontrol
Ranjith
Similar Messages
-
Hi Friends,
Can someone please help me out with this.Below is my Sender Data Type which needs to be converted:
DT_TRAC_MESG
(Hierarchy 1) TRAC_INFO
(Hierarchy 2) TRAC00
(Hierarchy 2)GROUP1
(Hierarchy 3)TRAC05
(Hierarchy 3)GROUP2
(Hierarchy 4)TRAC10
(Hierarchy 4) GROUP3
(Hierarchy 5) TRAC11
and my input data is as below :
XXXXXXXXX TRAC00 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (occurance 1)
XXXXXXXXXXXXXXXXXXTRAC05XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (occurance 1)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC10XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC10XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC10XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
I know Std SAP XI doesnt support more than 3 hierarchies but we are using a JMS adapter and this support more than 3 hierarchies.So please help us in achieving this mutli hierarchy conversion.Please atleast provide me the procedure to convert a 3 level Hierarchy structure.
It would be of great help for me if someone can answer this and asap.
Thanks & Regards,
Pradeep.Hi
follow this weblog
File Content Conversion for Multi Hierarchical Structure
or
you can use seeburger to use multi level hierarchy
SAP PI/XI : Content conversion using Generator mapping functionality of SeeBurger : Part 1.
SAP PI/XI : Content Conversion using Generator mapping functionality of SeeBurger : Part 2.
regards
sandeep
Edited by: sandeep sharma on Dec 15, 2008 10:45 AM -
How can I manage 'recent destinations' in Tomtom o...
Hi all,
I have a Nokia N73 with Tomtom installed. I use it all the time and have a long list of destinations to which I have navigated. Many of these were one-off trips and will not be needed again. How can I delete the ones I don't want?
Thanks1. At what level we can convert OTL hours to Day ???OTL stores data whatever you enter. It will store hours in the table so as per your rules you can write custom formula/ plsql code to convert hours to day whenever you want
2. how can we manage OTL Leave/Absence bcoz they are in Hours in OTL and days in HRMS????In HRMS also you can store leaves in hours. If you still want to store the leaves in days in HRMS then in OTL you can apply rules that employees should enter leaves only in the multiples of 8 e.g. 8 hours (or whatever work schedule hours person has). Then while putting leaves in HRMS you can add those leaves as days. -
***How can i manage Leave deduction in OTL???
AoA
How can i manage Leave deduction in OTL???
Thanx1. At what level we can convert OTL hours to Day ???OTL stores data whatever you enter. It will store hours in the table so as per your rules you can write custom formula/ plsql code to convert hours to day whenever you want
2. how can we manage OTL Leave/Absence bcoz they are in Hours in OTL and days in HRMS????In HRMS also you can store leaves in hours. If you still want to store the leaves in days in HRMS then in OTL you can apply rules that employees should enter leaves only in the multiples of 8 e.g. 8 hours (or whatever work schedule hours person has). Then while putting leaves in HRMS you can add those leaves as days. -
How Can I get multi column values from dynamic search help?
Hi Gurus;
I'm using dynamic search help in my program.
I want to get multi column values from search help. But I dont know solution for this issue.
I'm using F4IF_INT_TABLE_VALUE_REQUEST FM.
How Can I get multi column values from dynamic search help?
Thanks.Believe it or not, the same FM worked for me in a dynpro. I will try to explain here how it works in custom screen and then you can do your work for other screens or program types. I am not going to write my actual work but will explain in general.
I have 4 fields (FLD1, FLD2, FLD3, FLD4) and i made the search based on FLD2 and when user click on a line (could be any field), then this would bring the line on to the screens.
There are like 3 steps.
You have your value_tab for my fields FLD1, FLD2, FLD3 and FLD4. This is just the data that we pass into the FM. (data: IT_VALTAB type table of ZVAL_TABLE)
Next map the screen fields into an internal table (data: It_dynpfld type table of dselc ). I also have other internal tables defined (just to keep it straight, i will be putting here) data: It_return type standard table of ddshretval.
Next step is to call the function module. Make sure you have values in IT_VALTAB.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'FLD2'
value_org = 'S'
tables
value_tab = It_VALTAB
return_tab = It_return
dynpfld_mapping = It_dynpfld
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
perform get_selected_fields tables It_return.
endif.
The code within the perform GET_SELECTED_FIELDS - We need to map the result fields after user selects it. The code goes like this. This is step is to update the dynpro fields.
I need a internal table as well as a work area here. like,
data: lt_fields type table of dynpread,
la_fields type dynpread.
field-symbols: <fs_return> type ddshretval.
so fill out LT_FIELDS from the IT_RETURN table
loop at lt_return assigning <fs_return>.
la_fields-fieldname = <fs_return>-retfield.
la_fields-fieldvalue = <fs_return>-fieldval.
append la_fields to lt_fields.
clear: la_fields.
endloop.
Call the FM to update the dynpro
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = sy-repid
dynumb = '1002' "This is my screen number. You could use 1000 for selection screen (hope so)
tables
dynpfields = lt_fields
exceptions
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
others = 8.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
good luck -
How can I manage six email accounts WITHOUT them all appearing (twice) in the Folders column?
All I need is ONE INBOX (like Windows Mail used to do) ...
I can see in the 'Account' column of each message which email account it's using.
Then, I either junk or read the message, followed by delete or file to one of my created folders.
As it is, half my page is depth is taken up by 12 lines of Account names !!!That still leaves SIX lines of Account names down the side. All I want is ONE INBOX ... (I can see which account each message belongs to in the 'Account' column...)
-
I have several phones on my itunes accousnt how can i manage to see only my information
I have both my daughter and my sons iphone onmy itunes account. How can I manage my storage to seeonly my apps and my music?
I don't believe that there is a way to do that. I would sugest using automatic downloads to keep your apps synced across both phones. You might also want to note that just about any app you have ever download will be available for free download via icloud.
Wish I could be more help. -
How can I manage more RAM on my iPod Touch 4G ?
How can I manage more RAM on my iPod Touch 4G ?
My iPod Touch 4G used to have 120MB of free RAM, but it suppost to have 256MB of RAM...120MB is totally not enough for the applications and the iOS to run smoothly...my applications always close in a sudden and the iOS is extremely lag...
I'm thinking is there anyway to manage of free more RAM on my iPod Touch 4G, I wanna free at least to 150MB...
I've tried iMemoryEnhancer, Mem Tool, Daemon Tools and Memory Free; but none of them work...I've also tried simply click on Free Memory on SBSettings...but all applications came out with the exact same result...120MB...
My iPod Touch 4G is running on iOS 4.3.1(8G4) and got 277 applications installed with around 10 Cydia tweaks..so please can anybody help me out ?
TYVMtry these
1. quit apps on MT bar
2. restart your ipod
also, how many G(or M) have you used in the ipod, and how many G do you have in orginal?
Calvin -
Hello, recently I interviewed one of my kin. The result is a huge audio transkription in Word 2010 (which I converted to .pdf / Acrobat 10). Now I want people who read my audio transcription with biographical details about my father, whom I interviewed, to be able to jump to the spot in the interview record, where he says "in the year 1234 there happened blablabla", if there stands "in the year 1234 there happened, etc." in the PDF. The link shall be placed underneath the rownumbers at the left border of the document.
The problem: Until now I can only link to files like NiceAudioFile.mp3 or GreatInterview.wav or TheBestBiography.flac, but not to a certain time mark inside of it without the need to do a fast forward.
How can I manage it, that the mp3 opens up in the middle / at the end / anywhere I want it to?
Thank you for good advices in advance ...
Yours HolgerInsert the audio clip as a rich media annotation using the Multimedia>Add Sound tool in Acrobat
Create your link and on the Link Action area use "custom link".
In the popup which appears, open the Actions tab and choose "Multimedia operation (Acrobat 9 and later)"
Click add, and make sure your audio file is targeted.
On the bottom of the dialog choose "Seek to time..." and enter the time in seconds you wish to play from in the blank input field at the bottom
Click OK twice to close the dialogs. -
How can I add multi columns to a JCombo Box ?
Dear experts,
How can I add multi columns to a JCombo Box ?
Thankx in advance
UniqueWhat do you mean by adding Multiple columns? JCombobox is a component in which you can choose a value from a list(rows) of values. Could you please explain why do you want multiple columns in the JComboBox. I suppose JComboBox is not meant for that.
Thanks,
Jana -
I am getting many days showing up in the US holiday Ca;endar that are not US holidays and days that I do not celebrate. How can I manage this list
You could also go through your messages app and see if you have videos or photos in there. Delete unwanted emails and empty the trash in each account. If you are trying to update over wifi try doing it by plugging into iTunes.
If you need more space for an iOS update - Apple Support -
How can I get Multi-color text it a swing componet?
How can I get Multi-color text it a swing componet?
I've tryed JTextPane and JEditorPane.
If they support having text in more then one color then I don't see how.
I want to make a color-coded Java editor in Java, but I can't color-code if I can only have one color.
JComponent.setForeground(Color fg)
is not what I need.
maybe Java doesn't support it yet.
but I hope it does.
Please help, thanks.Hi,
I've made you a little example with a coloured JEditorPane and JTextPane:
import javax.swing.*;
import javax.swing.text.*;
import java.awt.*;
import java.awt.event.*;
public class ColorDemo extends JFrame {
public ColorDemo() {
super("ColorDemo");
// coloured JEditorPane
JEditorPane editorPane = new JEditorPane("text/html",
"<FONT color=red> This </FONT>"+
"<FONT color=blue> is </FONT>"+
"<FONT color=green> a </FONT>"+
"<B> JEditorPane </B>");
editorPane.setPreferredSize(new Dimension(250, 150));
// coloured JTextPane
JTextPane textPane = new JTextPane();
textPane.setPreferredSize(new Dimension(250, 150));
Document doc = textPane.getDocument();
Style def = StyleContext.getDefaultStyleContext().
getStyle(StyleContext.DEFAULT_STYLE);
try {
StyleConstants.setForeground(def, Color.blue);
doc.insertString (0, "This ", def);
StyleConstants.setForeground(def, Color.red);
doc.insertString (5, "is ", def);
StyleConstants.setForeground(def, Color.green);
doc.insertString (8, "a ", def);
StyleConstants.setBold(def, true);
StyleConstants.setForeground(def, Color.black);
doc.insertString (10, "JTextPane", def);
} catch (Exception e) {}
JPanel contentPane = new JPanel();
contentPane.add(textPane);
contentPane.add(editorPane);
setContentPane(contentPane);
public static void main(String[] args) {
JFrame frame = new ColorDemo();
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
frame.pack();
frame.setVisible(true);
}Hope this helps,
Kurt. -
I am running Mac Computers in a School. Current Mountain Lions OS and current Firefox Browser. We log in using mobile accounts. How can we manage Firefox so all users get the same home page and settings.
If I can do locally or through a profile, that would be greathello, you could use the mozilla.cfg file in the firefox program folder in order to lock or set certain preferences - here is some general information on how to set that up: http://kb.mozillazine.org/Locking_preferences
and specific guide to set the homepage can be found here: http://mike.kaply.com/2012/08/29/setting-the-default-firefox-homepage-with-autoconfig/ (this blog also contains may other helpful resources for deploying firefox) -
How to Make a Multi-Level Game in Flash 5
I'm wanting to know, "How to Make a Multi-Level game with
Flash 5"? EX: If I were to make a space game, where after reaching
a score of 2000 points, the game pauses and displays the text
"Stage 2", then continues or provides a button to make the game
continue starting on stage 2. Any help with this question is
grately appreciated.
coolburncoolburn wrote:
> I'm wanting to know, "How to Make a Multi-Level game
with Flash 5"? EX: If I
> were to make a space game, where after reaching a score
of 2000 points, the
> game pauses and displays the text "Stage 2", then
continues or provides a
> button to make the game continue starting on stage 2.
Any help with this
> question is grately appreciated.
>
> coolburn
First off.. Flash 5 is like.. Ancient. Dude. Seriously, thats
more than
3 versions ago, and there have been major major changes
since.
However, I'll give it a try..
First off, there has to be some kind of an event that kicks
it off. I
would build something into the score system that would
trigger this.
For example.
function updateScore():Void {
_root.stage.scoreboard.text = myNewScore;
if (myNewScore > 2000) {
jumpToNextLevel();
So, somewhere in your game a variable keeps the score.. if
your game
runs the updateScore function once in a while, if it hits
more than
2000, it triggers a new function called jumpToNextLevel.
In the jumpToNextLevel, you would have to do more functions
like
pauseTheGame(), and such..
In general.. break it down to small pieces of what you want
to do. Each
function would do a series of things.. Then when your going
though your
game, you call each function as needed.
Hope this helps
-Bill -
How can u do aggregation level in keyfigure give detail steps
how can u do aggregation level in keyfigure give detail steps
HI Deba,
PLz check here.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
Regards,
Vijay.
Maybe you are looking for
-
MSI GeForce GTX 560Ti "Twin Frozr II" crash at 50 degrees Celsius
I get artifacts (pink squares all over screen) in heaven benchmark, fluid benchmark and gta 4, a few seconds later I get a black screen and then an error message there windows tell me the driver has crash but praise msi it was successfully recovere
-
We have been seeing the heart beat error for a while, we are running a SSD on a 3.5 Ghz i7-4770k CPU with 16 gig of memory using a LSI 9300 HBA running at 6 gig. The OS is Centos6.5 (have also seen this issue with Redhat 6.5 and Adaptec HBAs). We are
-
Hello, I have the following problem and would highly appreciate any ideas or suggestions... I want to create an iView that contains contents of an external JSP. I have tried creating either a URL iView or an AppIntegrator iView that link to http://So
-
For an upcoming final I know theres going to be questions about how to calculate how long a function takes. I was never really able to understand it, and the prof is unavailable until the exam which is obviously too late. Does anyone know how to expl
-
Need help for connection problem
When I try to run JdbcCheckup.java, I get following problem: password: tiger database(a TNSNAME entry): myhost:1521:orcl Connecting to the database...Connecting... Exception in thread "main" java.sql.SQLException: Io exception: The Network Adap ter c