Regarding link button by generating query

Hi all ..
Can any one tel me solution for the folloeing problem . i wrote a query for getting doc num based on card code. when i run that query i tshows the doc nums with a link when we click that link it will show that particular transaction .......
but if we apply the same for formatted search its not working i mean  its not showing the link infront of doc num.can any one tell me hoe to get that link
here is my query
SELECT T0.DocNum FROM OWOR T0 WHERE T0.ItemCode =[%0]

Dear
it's not possible to display the orange arrow when  the query link to Format Search.
Only after you choose the record from the query itself you will be able to
use the orange arrow.
best regards,
xiaodan an
SAP business One forums,

Similar Messages

  • How to add link button in Query generator

    Hi,
    I am trying to add link button in Query reports. While the query is for system table it automatically gives columns with link button  but how to do this for user Tables.

    Hi,
    Even by standard, this is not possible only when you using UDO.
    You can create your form with Matrix, and use FlushToDataSource Method to load large amount of data inside. Now you can program the linked button click (et_MATRIX_LINK_PRESSED) by columns.
    Regards,
    J.

  • How can I get rid of the Link button on Query Reslut ?

    I run a query where I pool data to a temp table then gives me a select list from a Temp table.
    basically it is
    SELECT * INTO #Temp_1 FROM Table1
    "SELECT * FROM #Temp_1"
    On SAP, I get the result fine, but almost all the columns get a Orange arrow that don't link to anything when clicked, undertsandably becuase the result is comming from the temp table.
    I dont need those links buttons but dont know how not to display them.
    appreciate any ideas.
    Thanks,
    Indika

    Hi again!
    >> i was always of the idea that FOR BROWSE was to
    >> include the Yellow arrows !!!
    i was too
    now we all now that FOR BROWSE is move effective "bug-feature"

  • Doubt in RSRT regarding generate query.

    Hi All,
    I have a doubt in transaction code RSRT (Query monitor). Under the tab environment, there are 2 options.
    1) Generate queries.
    2) Gen.Queries directly as shown below.
    i.e in RSRT> Environment> Generate Query
    and   RSRT> Environment> Gen. Query directly.
    I would like to know what the functions of these two options are and what they do?
    And also would like to know how these 2 are different from generate report.
    I know generate report means regeneration of query, but what does regeneration of query actually do?

    1) generate queries = generate the query @ next call.
    This means it does not gets generated unless the query is called by a workbook, web template,...
    2) Directly: generates the selected queries directly.
    Generation of a query:  a query is in fact an ABAP program.  This program is created by the BI system.
    To generate a query is to 'create' the ABAP program for the query.
    You can also delete the old ABAP's (old versions):
    environment -> delete old ABAPs

  • Placing Link button in Report

    Hi All.
    I am generating a report using query generator..In that i want to place a link button in a particular column...Whether its possible..

    Hello,
    Jing is correct.
    Along with this you have to consider following things:
    The Column should come from Base Table only. If the column is the union of one or two tables then link will not appear.
    ex: Select 'OITM' IT, ItemCode,ItemName from OITM
    Link will appear here
    ex:
    Select 'OITM' IT, ItemCode,ItemName from OITM
    UNION ALL
    Select 'RDR1' IT, ItemCode ,Dscription ItemName from RDR1
    Link will not appear.
    Regards
    Sanjay

  • Link Button In Grid or Matrix ?

    Hello,
    I'm trying to populate a grid with data from a SQL query, using a datatable datasource, but I don't know how to specify which fields are to have drill-down(link buttons). After looking at this thread :
    Linked button in a Grid (SBO 2005)
    I'm left wondering how the Business One Report Generator can generate a grid with link buttons attached to the appropriate fields, when it is only given a SQL query.
    I'm thinking I might have to use a matrix, but how can i populate the matrix when if i don't know what the SQL query will be in advance?, also can I achieve the grouping using a matrix that the grid automatically does ?

    Hello Welch,
    Both Matrix and Grid can work with LinkButton. And regarding Grid, first of all, you need to define the gridcolumn type as gct_EditText, then in EditTextColumn Object, there is a property named LinkedObjectType, please set the property as in Matrix column.
    ' First define the column as EditText type
    oCol = oGrid.Columns.Item("Col1")
    oCol.LinkedObjectType = 4
    Hope this helps,
    Nick

  • 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,
    Anitha

    Petr,
         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

  • Create a Button on a Query

    Hello,
    I want to know how can I put a Button on a Query.
    I want to put a Print Button.
    I know that in the left button there is a option to print. I want to know if I can put that option as a Button directly in the web page of the query.
    Thank you in advance & Best regards...
    Pablo Mortera.

    Hi
    Yes you can have that option in WAD template. Please find below link for more information
    Re: WAD (BW 3.5)  - Export to PDF
    In BW 3.5, Export to PDF is not available as a standard setting.
    This feature is provided in BI 7.0.
    With 3.5 you can have an addon like the Camelot Document convertor for exporting to PDF.
    Refer to the below link for more info on this...
    http://www.camelot-idpro.de/fileadmin/content_admin/downloads_en/Document_Conversion_and_Printing_Framework.pdf
    Regards
    Ravi

  • How to add linked button in grid?

    Hi,
    Does anyone know how to add linked button in a grid? I can't find it but i saw someone ask similar question but seems none of them works.
    Thanks a lot!
    P.S. For some reason, i can't use matrix because the data is from a SQL query.
    Lan

    Hi,
    as far as I know it is not possible, since this adjustment is made for the whole column. I have created a grid and I open the shown document by double clicking the row header. In the grid I can see if it is sales or purchase and so I use a workaround by opening the specific system form (e.g. sales invoice) in find mode and search the document by document number (also shown in the grid).
    Sample:
    oSBOapp.ActivateMenuItem("2053"); //sales invoice
    oForm = oSBOapp.Forms.ActiveForm;
    oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
    oEdit = (SAPbouiCOM.EditText)oForm.Items.Item("8").Specific;
    oEdit.Value = Convert.ToString(dNum);
    oForm.Items.Item("1").Click(SAPbouiCOM.BoCellClickType.ct_Regular);
    By the click event, you get the specific row number. Hope it helps...
    Regards
    Sebastian

  • Linked Button error in a subReport with Crystal Reports

    Hi expert,
    I have a designed a subreport with Crystal Report, and I have add the Sap Linked button (OLE Object), to allow the user to click on the linked button and open the relativa Sap Document (Invoice, Delivery, etc etc).
    In the hypetetx linked property, I have write the link
    'http://$b1$/link=OINV&key=1'
    In this way all is ok, but In my query I have the name of the table and the DocEntry, so I try this way:
    'http://$b1$/link='&{Comando.Table}&'&key='&{Comando.DocEntry}
    If I try to open the document, I retrieve the error: You are not permitted to perform this action. Authorisation Path: Help.
    I don't understand if the problem is the authorization (i am manager, superuser) or if I had write in a wrong mode the hypertext link. (maybe the Apex?)
    Anybody can help me?
    Regards
    Marco

    Hi Marco,
    if {Comando.DocEntry} field is string type try this code:
    'http://$b1$/link?table='& {Comando.Table} &'&key='& ToText(ToNumber({Comando.DocEntry}),0,'','')
    else if DocEntry field is number type try this code:
    'http://$b1$/link?table='& {Comando.Table} &'&key='& ToText({Comando.DocEntry},0,'','')
    Regards,
    Domenico
    Edited by: Domenico Lovino on Feb 23, 2012 10:04 AM

  • Performance issue while generating Query

    Hi BI Gurus.
    I am facing performance issue while generating query on 0IC_C03.
    It has a variable as (from & to) for generating the report for a particular time duration.
    if the variable (from & to) fields is filled then after taking a long time it shows run time error.
    & if the query is executed without mentioning the variable(which is optional) then the data is extracted from beginning to till date. the same takes less time in execution.
    & after that the period has to be selected manually by option keep filter value. please suggest how can i solve the error
    Regards
    Ritika

    HI RITIKA,
    WEL COME TO SDN.
    YOUHAVE TO CHECK THE FOLLOWING RUN TIME SEGMENTS USING ST03N TCODE:
    High Database Runtime
    High OLAP Runtime
    High Frontend Runtime
    if its high Database Runtime :
    - check the aggregates or create aggregates on cube and this helps you.
    if its High OLAP Runtime :
    - check the user exits if any.
    - check the hier. are used and fetching in deep level.
    If its high frontend runtime:
    - check if a very high number of cells and formattings are transferred to the Frontend ( use "All data" to get value "No. of Cells") which cause high network and frontend (processing) runtime.
    For From and to date variables, create one more set and use it and try.
    Regs,
    VACHAN

  • How to find the link between strcture and query technical name

    Hi Guru's
    How to find the link between Strcture in the query and query technical name. In other way where used list of the structure  used in queries?
    I know we have table called RSZELTDIR which have the values of strcuture name. from here i do not find any link to query technical name.
    Please can anyone help me?
    Regards,
    Sirisha

    Hi ,
    For structure and query relationship, the structure has to be a reusable structure( a global one). Then you can right click in on the structure name (in BEX query designer) and select the where used list. You will find all the query names where it is being used.
    U can also check out tables RSRREPDIR and RSZCOMPDIR for other query properties.
    Thanks,
    Amit

  • How to display message in Ajax Model pop-up extender/overlay on click of a link button

    I am dynamically create the link button using reapeter control and each link assign to different type of content.i want to show the content in  a overlay / Ajax modal pop-up extender. ( Content Type: Video/PDF/Text).
    I need to know how to display the content in overlay/Modal pop-up on click of the link button.

    Hi,
    According to your description, my understanding is that you want to display the content of Video/PDF/Text in a pop-up dialogue when clicking the link button.
    I suggest you can use the Jquery media plugin to open the file content in a pop up dialogue.
    Here is a detailed code demo for your reference:
    Jquery: Open PDF File in browser with Modal Popup using Jquery Media Plugin
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to remove the Linked Button in particular forms

    How to remove the linked button in particular sap b1 forms.

    Hi,
    In standard B1 Forms, we can't remove the linked button.
    Why you want to remove linked button.
    I think, the user don't want open the master data?
    In such cases you can use the authorization for the users to access the master data.
    Hope this will help you.
    Regards,
    Venkatesan G.

  • How to add a link button in system form?

    how to add a link button in system form in the edit text?

    HI
    see the following code
    This creates an item "55" caption, and exittext ("550") and creates linked button "51" linked to "550"
            oItem = otmpform.Items.Add("55", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            With oItem
                .Top = 315 + 30 + 15
                .Left = 12
                .Width = 100
                .Specific.Caption = "Többlet"
            End With
            otmpform.DataSources.UserDataSources.Add("550", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
            oItem = otmpform.Items.Add("550", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            With oItem
                .Top = 315 + 30 + 15
                .Left = 120
                .Width = 100
                .Specific.DataBind.SetBound(True, "", "550")
                .AffectsFormMode = True
                .Description = otmpform.Items.Item("55").Specific.Caption
                .DisplayDesc = True
            End With
            oItem = otmpform.Items.Add("551", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            With oItem
                .Top = 316 + 30 + 15
                .Left = 120 - 14
                .Width = 13
                .LinkTo = "550"
                .Specific.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_GLAccounts
            End With
    Regards,
    J.

Maybe you are looking for