Link in matrix
How you work in matrix? Link button in 7 always is on. But I love on the fly (in arrange) edit sequence. But in 7 logic always show me playing sequence and I can't turn off link button for all times.
Hi Robin,
As you probably know there are several objects that can be linked to the arrow. Unfortunately is not possible to link it to a UDT automatically. Thus, you will have to program all the code behind to obtain the standard behavior.
Just in case you are not familiar with the declaration of this object, I add the following lines:
oColumn = oColumns.Add("DSCardCod", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
oColumn.TitleObject.Caption = "Card Code"
oColumn.Width = 40
oColumn.Editable = True
'// Link the column to the BP master data system form
oLink = oColumn.ExtendedObject
oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_BusinessPartner
Best regards,
Felipe
Similar Messages
-
Matrix actions and linking the Matrix-row to some fields
Hello every One,
I would like to have the following "action" ! I have a Form where i puted 2 edit fields and 1 matrix (Screen Painter), the matrix shows me the first and lost name of the Employee ( just an exp.).
What i would like to do is to send these datas to the edit fields every time i choose another row. i cannt find any itemEvent for the raws to select the record in the data base and to bind it to the edit Fileds! is this a good way to do it ??
Thank You for every helpHi Amir
You can use the et_GOT_FOCUS event to check for focus on the Cells of the Matrix. I recommend using et_GOT_FOCUS because this will facilitate mouse and keyboard navigation.
When you capture the event on the Matrix check the pVal.Row to get the row that received the Focus. Using this Row index retrieve the data from the Matrix and set the values for the required edit fields.
<i>Remember to include event et_GOT_FOCUS in your EventFilters</i>
<b>Event Handeling Example:</b>
If pVal.BeforeAction = False Then
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_GOT_FOCUS Then
'IDH_MTR - Matrix Item
If pVal.ItemUID = "IDH_MTR" Then
Dim oMatrix As SAPbouiCOM.Matrix
oMatrix = oForm.Items.Item("IDH_MTR").Specific
'Work with the DataSources of the
'Edit Fields to avoid triggering the
'Focus events again.
' * ED1 and ED2 is the DataSources for the
' Edit Fields
' * Column(1) And Column(2) contains the data
' that will be copied to the edit fields
oForm.DataSources.UserDataSources.Item("ED1").Value = oMatrix.Columns.Item(1).Cells.Item(pVal.Row).Specific.Value
oForm.DataSources.UserDataSources.Item("ED2").Value = oMatrix.Columns.Item(2).Cells.Item(pVal.Row).Specific.Value
End If
End If
End If
I hope this will help -
Problem in Matrix Functionality
Hi,
Need some help on Matrix Functionality.
1. I m using std SAP Article Reposttory and have performed all basic steps to enable Matrix functionality in MDM as per following link.
Matrix in MDM
2. Basic setting like assigning the URL's, making fields Martix-" MAster", Key Mapping etc also i have done.
3.In the record mode if i go to Web tab, the connection is getting established with the portal but there's a message on screen"Matrix item not selected, or multiple items not from same matrix group." My Ques is how do i move ahead now and create variants in records pane.I cannot see any matrix formation in data manager scree.
4. Also in the Taxonomy mode when i click on web tab nothing gets displayed in the screen.
Please let me know which basic setting im missing upon.
Another question: Does MDM 7.1 support matrix functionality? MDMMatrix_App.ear and MDMMatrix Server.ear are not available on SAP MP for MDM7.1. So can we use these installables which we have for MDM 5.5 in MDM 7.1 to work on Matrix Appl'n.
Thanks
Manish
Edited by: manish gupta on Aug 26, 2009 11:19 AMHi Manish,
Refer https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9075aef0-2e4c-2b10-95b8-f9588b7213c1&overridelayout=true
https://service.sap.com/~sapidb/011000358700004121872006E > Reference Documentation.
Hope it helps.
Thanks,
Minaz -
I need to produce a report that looks like the following :
L1 L2 L3 A B C D
== == === == == == ==
A AA AAB 5 0 9 8
AAC 6 7 10 9
AB ABA 5 5 5 6
B BA BAA 6 7 7 9
BB BBA 6 7 6 8
L1, L2 and L3 are organizations in a hierarchy and A,B,C, and D are locations within each organization.
I basically have four queries.
Query 1 produces the values in the L1 column.
Query 2 produces the values in the L2 column (children of L1)
Query 3 produces the values in the L3 column (children of L2)
Query 4 sums up the total no. of people in each organization and location.
I can generate the L1, L2 and L3 columns using the connect by clause and specifying level numbers.
What I don't seem to be able to do is to somehow link the matrix with the hierarchical queries.
What I really need, is to be able to have a matrix which uses four queries instead of one.Hi Jozef,
Reports matrices can have any number of queries. You aren't restricted to the one query that is supported by the report wizard.
To create a query with multple queries:
- go to the data model painter
- create all the dimension queries
- create a matrix (cross product) group that surrounds all the groups from the dimension queries
- create a query for the matrix cell
- link the matrix cell columns to columns within each dimension group
Robin. -
How to save data for Binded Matrix in Sqlserver200(DB)
hai all,
i created a Form by using Udo form generator.
in that i bind the matrix with Userdatsources. its successfully binded to the matrix. but when i press "Add" Button the Sqlserver tables are not saved.
if i enter values manually without binding the udo matrix, all rows are getting saved in sqlserver successfully.
plz help me how to save the rows in the binded matrix to the tables in Sqlserver.
Regards,
Nagababu.Since you are using UserDataSources, you have to construct a function that loops through the columns, and by name and or alias you construct the INSERT and/or UPDATE query (assuming the destination table is User Defined).
Check out this link
Re: Matrix Processing
Hope it helps -
Timemachine and link not work property...
At home I have 10.4.2 and no digidesign hardware.
Timemachine and link not work property...
I send them: when I use ol algorythm- they caclulating 1 mono file (3 min lengh) about 15 min at dual G5. It is normal? And when I use new algorytm- nothign happen whith file. No result. (1 week it work fine).
Link in matrix not work
And what system I shood to use at studio whith PT?CRash when change lengh of region whith new algoruthm
Date/Time: 2005-08-24 12:11:29.752 +0400
OS Version: 10.4.2 (Build 8C46)
Report Version: 3
Command: Logic Pro
Path: /Applications/Logic Pro.app/Contents/MacOS/Logic Pro
Parent: WindowServer [91]
Version: 7.1.0 (7.1.0(877))
Build Version: 1A73
Project Name: LogicPro710_ApplicationData
Source Version: 900001
PID: 288
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNPROTECTIONFAILURE (0x0002) at 0x0000007e
Thread 0 Crashed:
0 com.apple.logic.pro 0x0059a8c8 0x1000 + 5871816
1 com.apple.logic.pro 0x0037183c 0x1000 + 3606588
2 com.apple.logic.pro 0x00370000 0x1000 + 3600384
3 com.apple.logic.pro 0x002983b4 0x1000 + 2716596
4 com.apple.logic.pro 0x00298a84 0x1000 + 2718340
5 com.apple.logic.pro 0x00298c28 0x1000 + 2718760
6 com.apple.logic.pro 0x0005e264 0x1000 + 381540
7 com.apple.logic.pro 0x0005c6e0 0x1000 + 374496
8 com.apple.logic.pro 0x002aa538 0x1000 + 2790712
9 com.apple.logic.pro 0x00571e10 0x1000 + 5705232
10 com.apple.logic.pro 0x0016c090 0x1000 + 1486992
11 com.apple.logic.pro 0x0017864c 0x1000 + 1537612
12 com.apple.logic.pro 0x00178ad8 0x1000 + 1538776
13 com.apple.logic.pro 0x0016c150 0x1000 + 1487184
14 com.apple.logic.pro 0x0018e388 0x1000 + 1627016
15 com.apple.logic.pro 0x0018e588 0x1000 + 1627528
16 com.apple.logic.pro 0x0017d0cc 0x1000 + 1556684
17 com.apple.logic.pro 0x00124170 0x1000 + 1192304
18 com.apple.logic.pro 0x002fed40 0x1000 + 3136832
19 com.apple.logic.pro 0x003026a8 0x1000 + 3151528
20 com.apple.logic.pro 0x00300a94 0x1000 + 3144340
21 com.apple.HIToolbox 0x931229f4 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 692
22 com.apple.HIToolbox 0x9312214c SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 372
23 com.apple.HIToolbox 0x93128ed0 SendEventToEventTarget + 40
24 com.apple.HIToolbox 0x93229ffc SendEventFromMouseDown + 156
25 com.apple.HIToolbox 0x93205998 HandleClickInContent + 368
26 com.apple.HIToolbox 0x93155d6c HandleWindowEvent + 1584
27 com.apple.HIToolbox 0x931655c8 StandardWindowEventHandler + 160
28 com.apple.HIToolbox 0x931229f4 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 692
29 com.apple.HIToolbox 0x9312214c SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 372
30 com.apple.HIToolbox 0x93128ed0 SendEventToEventTarget + 40
31 com.apple.HIToolbox 0x93229ffc SendEventFromMouseDown + 156
32 com.apple.HIToolbox 0x931b6b08 HandleWindowClick + 572
33 com.apple.HIToolbox 0x931b6560 HandleMouseEvent + 456
34 com.apple.HIToolbox 0x931655bc StandardWindowEventHandler + 148
35 com.apple.HIToolbox 0x931229f4 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 692
36 com.apple.HIToolbox 0x9312214c SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 372
37 com.apple.HIToolbox 0x93128ed0 SendEventToEventTarget + 40
38 com.apple.HIToolbox 0x931b5530 HandleMouseEventForWindow(OpaqueWindowPtr*, OpaqueEventRef*, unsigned short) + 236
39 com.apple.HIToolbox 0x931b4aa8 HandleMouseEvent(OpaqueEventRef*) + 368
40 com.apple.HIToolbox 0x9312923c ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 496
41 com.apple.HIToolbox 0x93122c44 DispatchEventToHandlers(EventTargetR -
BubbleEvent ignored in et_MATRIX_LINK_PRESSED ?
Hi,
I'm redirecting object links (orange arrows) from system form to my form. I catch the event et_ITEM_PRESSED on the arrow object when BeforeAction==true, open my form and set BubbleEvent=false. It works perfect.
I wanted to do the same with object links in matrix. The event et_MATRIX_LINK_PRESSED is processed correctly, my form opens but the system form opens also ! Obviously the BubbleEvent==false is ignored.
Any experiences ?
I'm working on 2004C
Regards,
JanHi Jan,
I tested it in 2005 and it works right. Here the code i used, i dont think there's a big difference in this case with 2004. If it's not working please open a message to our development support.
Regards,
Felipe
If pVal.FormType = "133" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_MATRIX_LINK_PRESSED _
And pVal.BeforeAction = True And pVal.ItemUID = "38" Then
BubbleEvent = False
End If -
Hi all.
Im trying to link a matrix with an SQL view. But when I add the next node in the xml file I get an hresult exception:
<dbdatasources>
<action type="add">
<datasource tablename="vDesAnticipos"/>
</action>
</dbdatasources>
It is possible to create a dbdatasource from a view?
Thanks for the help.Hi Alfredo,
Unfortunately in SBO 2004 it's not possible to have a view as a dbdatasource -
Please help with RAID driver update.
I need a little help with updating my RAID drivers. I have P55-GD65 motherboard and some SATA2 hard drives connected in RAID arrays. I am running Win7 64bit.
I already downloaded and installed:
“Intel P55 AHCI / RAID Drivers Ver: 8.9.0.1023”
from the MSI support web page. The setup file installed the “Matrix Storage Manager” and the “Matrix Storage Console”
On the same web page I see another download link:
“Intel Matrix Storage Manager Driver Ver: 9.5.0.1037”
It looks like I already installed the manager with the previous driver. Do I need to install this one too? What is the difference between both?
Also when I open the “Intel Matrix Storage Manager Driver Ver: 9.5.0.1037” I see 2 executable files:
“iata_cd.exe” and “iata_enu.exe”
I read the “Readme.txt” provided, but I couldn't find information on what is the difference between the EXE files and which one I should use.Quote
I read the “Readme.txt” provided, but I couldn't find information on what is the difference between the EXE files and which one I should use.
Use either one. It doesn't matter in a functional way. -
Item.add / item.get question
Hi @ all Gurus,
i have created a form by screen painter and added three buttons. The first button is the cancel button, the second a print button (should print some things from this form) and a the third button should calculate prices.
If i add a button by Set oItem = oForm.Items.Add("2", it_BUTTON)a button with function "cancel" will be created. This works fine, but i created this button in screen painter and i want to get the cancel function to this button. I want do this by Set oItem = oForm.Items.Item(1) but this don't work.
And next, how can i set a user defind query to a button, e.g. when i klick on this button a query will be started and a martix in this form should be filled with datas from this query. Can anyone show me VB6 Code to realize this?
Thanks a lot!
Regards JuergenHi Jurgen
For you to achieve this there will be some programming needed by yourself.
-You will need fields on the form that will allow the user to type in the info (start date,end date,sales person).
-These fields are called edittext in sap.
-These fields then need to have userdatasources linked to them, they act like containers to retain data typed in by the user. So you will need to know how to add a datasource and bind them to a field.
-you will need a refresh button or something to say fetch data and place into the matrix.
-To get the data you can either use a recordset to execute your query and manually insert the values in the matrix if its a complicated query. OR you can use dbdatasource that will link the matrix columns with certain table columns, you can the load data in that way, this works for simple queries where there is no joins. OR you can use a grid (new in 2005), withn the grid you can link your query to the grid and it will display the values for you.
Once you have achieved all that you will then need to find a way to print it. My method wont work because you can't place things in the repetitive header. So you will need to use Crystal Reports or print fom vb side. YOUR OWN PRINT METHOD.
Hope this helps -
Hi:
i have an EJB client that tries to acces an EJB from another instance, the problem is
that the clients hangs while doing the jndo lookup.
her is where i try to get the context
public static Context getInitialContext() throws NamingException
System.out.println("Inicio - getInitialContext");
Hashtable env = new Hashtable();
// Oracle Application Server 10g connection details
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.SECURITY_PRINCIPAL, "sec");
env.put(Context.SECURITY_CREDENTIALS, "sec");
env.put(Context.PROVIDER_URL, "opmn:ormi://198.186.1.75:edeclarador/eDeclarador");
env.put("dedicated.rmicontext", "true");
System.out.println("Ambiente : "+env.toString());
return new InitialContext(env);
and here i do de lookup
Context context = getInitialContext();
ComunHome comunHome = (ComunHome)PortableRemoteObject.narrow(context.lookup("Comun"), ComunHome.class);
and it hangs :(
Any help would be nice.hi:
With the help found on this forum and that link:
http://matrix.csustan.edu/docs/oracle/oas/web.1012/b14012/ormi.htm
i solved my problem. when i turn on the rim debug and rmi vervose y found that
it hangs because it lookup to port 6000 and the rmi server port was listening on another.
On OAS i used opmnctl to Show the Selected RMI Port:
Processes in Instance: core817.dsunrdb22.us.oracle.com
----------------------------------------------+ ... +------
ias-component | process-type | pid | ... | ports
----------------------------------------------+ ... +------
WebCache | WebCacheAdmin | 28821 | ... | administration:4000
WebCache | WebCache | 28820 | ... | statistics:4002,invalidation:4001,http:7777
OC4J | home | 2012 | ... | iiop:3401,jms:3701,rmi:3201,ajp:3000
HTTP_Server | HTTP_Server | 28818 | ... | http2:7200,http1:7778,http:7200
dcm-daemon | dcm-daemon | 28811 | ... | N/A
LogLoader | logloaderd | N/A | ... | N/A
and i put the port in the PROVIDER URL and it works!
Saludos! -
I have pinned navigation and anchors
I have several sections that are anchored and would like that content to show right under my pinned navigation and not the top of page where it is hiding behind. That content is under my navigation at the top of the page. Any suggestions?
Here's a link: Solutions| Matrix Automation
Thanks!Hello,
I would suggest you to create 2 layers in Muse and keep the navigation at the top layer and rest of the items in lower layer.
Also make sure that the navigation bar is pinned to the top.
Please let me know if you need any further help on this.
Regards
Vivek -
Link button not working in matrix
Hai To All,
I created one form with only one matrix. On that i have 5 columns. In first column i have linkbutton link to user defined screen. What its not working.
My code is here
If pVal.ItemUID = "matrix" And pVal.ColUID = "Docno" Then
Dim oMatrix As SAPbouiCOM.Matrix
Dim doc As String
oMatrix = Frm.Items.Item(pVal.ItemUID).Specific
doc = Trim(oMatrix.Columns.Item("Docno").Cells.Item(pVal.Row).Specific.Value)
Dim oForm As SAPbouiCOM.Form
Dim blnBool As Boolean = False
For frm As Integer = 0 To app.Forms.Count - 1
Try
If app.Forms.Item(frm).UniqueID = "PI" Then
oForm = app.Forms.Item("PI")
oForm.Close()
Exit For
End If
Catch ex As Exception
app.StatusBar.SetText(ex.Message)
End Try
Next
If blnBool = False Then
app.ActivateMenuItem("PI")
oForm = app.Forms.Item("PI")
oForm.Select()
oForm.Freeze(True)
oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE
oForm.Items.Item("txt_ino").Specific.Value = Trim(doc)
oForm.Items.Item("1").Click()
oForm.Freeze(False)
End If
End If
Regards,
AnithaPetr,
Actually this form is same as we discuss sterday that is the form should open automatically without any click. Now my problem is while form opening iam loading some data using query this also working fine. Here iam using linkbutton in matrix. If i click link button i want to open other form which is also created by me. My code is rite but y i dont knw the link button is not working.
here is the code written in itemevent
Case SAPbouiCOM.BoEventTypes.et_MATRIX_LINK_PRESSED And pVal.BeforeAction = False
If pVal.ItemUID = "matrix" And pVal.ColUID = "Docno" Then
Dim oMatrix As SAPbouiCOM.Matrix
Dim doc As String
oMatrix = Frm.Items.Item(pVal.ItemUID).Specific
doc = Trim(oMatrix.Columns.Item("Docno").Cells.Item(pVal.Row).Specific.Value)
Dim oForm As SAPbouiCOM.Form
Dim blnBool As Boolean = False
For frm As Integer = 0 To app.Forms.Count - 1
Try
If app.Forms.Item(frm).UniqueID = "PI" Then
oForm = app.Forms.Item("PI")
oForm.Close()
Exit For
End If
Catch ex As Exception
app.StatusBar.SetText(ex.Message)
End Try
Next
If blnBool = False Then
app.ActivateMenuItem("PI")
oForm = app.Forms.Item("PI")
oForm.Select()
oForm.Freeze(True)
oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE
oForm.Items.Item("txt_ino").Specific.Value = Trim(doc)
oForm.Items.Item("1").Click()
oForm.Freeze(False)
End If
End If
Regards,
Anitha -
Hi,
I'm having trouble trying to link an Employee name in a column within a matrix to the Employee form. I can make it happen with the Employee Id, but can't understand how to make that link but display the Employee name,
any ideas ??
cheers,
Markhello
please i need help on this issue, i'm working on VB60, i`m having trouble when i add a new it_LINKED_BUTTON column to an existing form i don't know if i can write the code in the VB6.0 just like in VB.NET my code looks like
Set oItem = oTmpForm.Items.Item("54")
Set oMatCostes = oItem.Specific
oMatCostes.Clear
Set oColsCostes = oMatCostes.Columns
Set oColCostes = oColsCostes.Add("Factura", sapbouicom.BoFormItemTypes.it_LINKED_BUTTON)
oColCostes.TitleObject.Caption = "Factura de Acreedores"
oColCostes.Editable = True
oColCostes.Width = 15
Set olink = New sapbouicom.LinkedButton
Set olink = oColCostes.ExtendedObject
olink.LinkedObject = lf_PurchaseInvoice
oColCostes = oColsCostes.Item("Factura")
i have no errors but mi linked buttons can`t link to the PurchaseInvoices the way i want.
i hope you'll be able to help me
Gabriela -
Hi all,
I am using link button in matrix. I bound link button with existring SAP transcation like employees and UDO too. but link is not working in both cases.
can anybody help me out....
ManishHi Manish,
Please refer the following sample code:
Dim oMatrix As SAPbouiCOM.Matrix = oItem.Specific
Dim oColumns As SAPbouiCOM.Columns = oMatrix.Columns
Dim oColumn As SAPbouiCOM.Column = oColumns.Add("DBS_Col1", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
oColumn.TitleObject.Caption = "EmpId"
Dim oLink As SAPbouiCOM.LinkedButton = oColumn.ExtendedObject
oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_lf_Employee
By the way, SDK Online Help is a good knowledge base, either searching in the forum help.
Kind Regards, Yatsea
Maybe you are looking for
-
Create excel hyperlink directly to PDF page in a file
I have seen some old posts on this saying this could not be done. Wondering if anyone has developed a way to do this yet? I want my excel hyperlink to take me to a specified page within a PDF that is filed on my harddrive. I'm able to link the PDF bu
-
I upgraded my iphone 5 to 6.1.4 and the earphone doesn't work anymore. Anyone has an idea on how to solve the problem ? Thank you
-
I have $0.23 left in my itunes account and have moved to another country but I am told I cannot change the country setting before the money is spent. How do I get rid of the $0.23?
-
Delete the PO at the header level after it has been output sucessfully
Can we change the status of a Purchase order in SRM from 'ordered' to 'deleted' ? It seems we can do it only if the PO has not been output successfully. I have checked for a few POs and found for such POs if you go ti change mode , the delete button
-
Apps won't launch after Terminal has been launched.
I just started noticing this recently. Before I launch terminal, I can open and close as many apps as I want. After I launch terminal, no apps will launch. They just keep bouncing in the dock indefinitely. Does anybody else have the same problem?