Troubles with linking subreport with an SAP Query variable

Hi there
I have a main report mith a subreport placed in the detail section.
Both reports base on an Bex Query and have Query-variables. While linking the subreport i can not select the parameter which is based on the Bex variable in the subreport.
While connecting other parameters /variables i learned, that Crystal cannot determine the type of data of a Bex variable, right?
Because of that i built formulas which convert my values into strings and these strings can i connect in the subreport linking.
Unforntunately this does not work with this on variable. In Bex this is a Number. I tried to link with the corresponding field in the Detail section (which is a number, too) and i tried with the string, but both does not work. I can not select this Parameter.
Any idea how to determine the datatype of this Parameter (based on Bex Variable) i have to provide?
Thanks in advance
Alex

Hi Ingo
Well, i knew that thing with the same types already, as i mentioned it in my post.
In this problematic case I want to connect a field of the detail row to a prameter in the subreport. This Parameter is coming from a Bex Variable. I treid with values of oll types - it doesn't work. How can i determine the type that Crystal assignes to the Be variable?
Alex

Similar Messages

  • Is it possible to add pic/diagram to SP file with link to another SP file?

    Hi,
    Is it possible to add a diagram, picture, or table to a SP file with link to another SP file?
    I know this is possible in, say, Word. For example, I can add a diagram and check a box to include a link to the source file - so that when the diagram in the source file updates, the diagram in my document also updates.
    This is also my goal in SP - instead of simply including a link to a document elsewhere in SP (or on the same site in SP), I would ideally like to display a diagram, picture, or table and include (behind the scenes if possible) to the source SP file
    so that, when the diagram/table in the source SP file updates, my SP file also updates accordingly.
    For example:
    Instead of:
           The diagram is located in:
           link
    I would ideally like:
           Diagram, picture, or table (with link associated with it) - users can click on the diagram or picture if they desire.
           The diagram or picture is updated whenever the source SP file containing the diagram or picture is updated (the source SP
           file will only contain a diagram, picture, or table)
    Any suggestions are welcome.
    Thank you very much.

    Is it possible to add a diagram, picture, or table to a SP file with link to another SP file?
    I know this is possible in, say, Word. For example, I can add a diagram and check a box to include a link to the source file - so that when the diagram in the source file updates, the diagram in my document also updates.
    This is also my goal in SP - instead of simply including a link to a document elsewhere in SP (or on the same site in SP), I would ideally like to display a diagram, picture, or table and include (behind the scenes if possible) to the source SP file so that,
    when the diagram/table in the source SP file updates, my SP file also updates accordingly.
    For example:
    Instead of:
           The diagram is located in:
           link
    I would ideally like:
           Diagram, picture, or table (with link associated with it) - users can click on the diagram or picture if they desire.
           The diagram or picture is updated whenever the source SP file containing the diagram or picture is updated (the source SP
           file will only contain a diagram, picture, or table)
    Any suggestions are welcome.
    Thank you very much.

  • How to Create Specific SAP Query for Sales BOM

    Dear All Salute !!
    How I can create a SAP Query which provide information from the Sales Order-Line Item, this specific material is having any BOM or not?
    Suppose, user want Input,
    Sales Order No., Product Category, Duration of Sales Order Release.
    want Output,
    Sales Order No., Customer No., Customer Description, Sales Order Line Item, Material No., Material Description, Delivery Date, Quantity, Sales Order release Date
    Users requirement is, List of All Line Items for which BOM is yet to be Uploaded in the System.
    Please provide complete detail with Table & field by using SAP Query.
    Rgds
    Srivastav
    +91-9973504950

    If I am correct, in table KDST, you can see the details of Sales BOM with sale order.  Since right now, I dont have access to SAP, I am unable to confirm this.  You have to consider this table and develop on your own logic with the help of ABAPer.
    thanks
    G. Lakshmipathi

  • SAP Query SQ01/2/3

    Is it at all possible to link SQ01/2/3 SAP Query to an external SQL source and table (MS SQL).

    I have an external SQL2K database that i would like to be able to query from SAP without the requirement of complex ABAPing to create AD-Hoc reports/lookups.
    Is it possible to create a link/RFC to the external SQL DB and then have the tables and Fields accesable by creating an Infoset, which i can then query.

  • SAP query Transport manual activity in Production

    All,
    Do we really need to use manual step to import the query to production system using some program ? will not be automatic as we do it normal reports ?
    Why this manual step needed ?
    Please help me to understand.
    Ram.

    Hello ,
    Please  go through this link
    How to Transport SAP Query(User Group Infoset and Query) to Quality System
    Transporting a SAP Query from DEV to PRD
    Transport of Abap Query

  • Performance Problems by using a subreport with a SAP BW Query

    Hello Experts,
    we have the following scenario:
    - Crystal Reports Report (CRR) on top of a SAP BW Query
    - SAP BW Query contains a member structure with Month, Year, Prior Year and total
    If I now put some details of a dataset in the main report (e.g. key is project number) and the structure and the characteristic structure in a subreport (linked e.g. by the key project number), the CRR takes like 7,5 hours to display completely. If I don´t use a subreport it takes less then 10 minutes to display (in the preview section of Crystal Reports).
    Is such a significant difference in run time normal ? I have to mention that the used query is quite complex (but this is unavoidable). And it seems also unavoidable to use the subreport to get the desired result in terms of formatting:
    - if I don´t use the subreport and more than one characteristic for the details, the structure which is supposed to display the values for each projects like this
    Month
    Year
    Prior Year
    Total
    gets 'dissolved' - first, Month is listed for each project, than Year is listed for each project, etc. This is only avoidable if use only one characteristic and its attributes, but no other characteristics (that are no attribute to the first one). But of course this is not what the customer wants...
    - so my only solution up to now is to list the desired details in the main report and then next to them the structure and the key figure data in the subreport, so that the structure is listed as in the query - but then as mentioned the performance is awful !
    Many thanks in advance for your help !
    Frank

    Hi Frank
    Have you tried using a join in the main report rather than using the subreport linked on the Project Key Code.
    Try joining the query in the main report with the query in the subreport as a single query in the main report.
    Let me know your observations.
    Regards
    Nikhil

  • 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

  • Creation of SAP Query in SQ02 with Single Table With Condition

    Hi All,
    I want to Create SAP Query in SQ02 using single Table MCHA.
    ii) I dont want all entries of MCHA Table I mean , I have to apply some Condition on this Table.
    i.e  Suppose I am having actual data in MCHA table is like this for Material M1.
    Plant    Material   Batch   BatchCreationdate
    P1          M1         B1       20.06.2007
    P2          M1         B1       04.05.2009
    P3          M1         B1       04.05.2009
    But I want the Output of SAP Query is like this:
       Material   Batch   BatchCreationdate
          M1         B1       20.06.2007
    That is irrespective of Plant if Material & Batch are equal ---> 1st record with Lowest date shoud get at the output.
    Please help me How write the code on single table in the SAP Query.
    Thanks,
    Kiran Manyam

    Hi,
    Your query should be like this:
    Select MATNR CHARG HSDAT
    from MCHA
    into table t_mcha
    where matnr = Materlal number from selection screen.
    The structure of t_mcha should contain the fields that you select.
    Then sort the table by date ascending
    Sort t_mcha by HSDAT.
    Hope this solves your problem.
    Thanks,
    Sowmya

  • SAP QUERY/INFOSET with OUTER JOIN

    Hi,
    I have created an infoset (SQ02) using two tables for SAP query.
    Table: AGR_TEXTS. Fields: AGR_NAME, SPRAS, LINE, TEXT.
    TABLE: AGR_FLAGS. Fields: AGR_NAME, FLAG_TYPE, FLAG_VALUE.
    Joined these two tables using outer join.  Defined the join condition as AGR_NAME = AGR_NAME.  Saved and Generated the infoset.
    Created SAP Query (SQ01) using the above created infoset.
    In the basic list,
    Marked AGR_NAME (AGR_TEXTS), TEXT, FLAG_VALUE as listed fields.
    Marked AGR_NAME (AGR_TEXTS), SPRAS, LINE, FLAG_TYPE as selection fields.
    Save the query.  When execute the query provided the inputs for all the selection fields in the selection screen as given below:
    AGR_NAME=Z*
    SPRAS=E
    LINE=00000
    FLAG_TYPE=LICENSE_01
    Executed the Query. 
    Got the results only the matched records as per the selection field FLAG_TYPE.
    But I want all the records from table AGR_TEXTS and matched records from table AGR_FLAGS.
    I want the report (output) as below,
    _AGR_NAME                                               TEXT                                                                                  FLAG_VALUE_
    ZCA_BASIC_ACCESS_GLOBAL     Non-critical basic access for all users.                                       53
    ZCA_BASIC_ENDUSER_ACCESS     UK:CA Basic Enduser Access     
    ZCA_BASIC_ENDUSER_ACCESS_UK     UK:CA Basic Enduser Access UK                                        52
    ZCA_BASIC_ENDUSER_SU52_UK     UK:CA Basic Enduser Access to change Parameter ID's     
    But I got the report (output) as below, 
    _AGR_NAME                                                TEXT                                               FLAG_VALUE_
    ZCA_BASIC_ACCESS_GLOBAL     Non-critical basic access for all users.     53
    ZCA_BASIC_ENDUSER_ACCESS_UK     UK:CA Basic Enduser Access UK     52
    Apprecited your help. Thanks.
    Code Formatted by: Alvaro Tejada Galindo on Dec 30, 2009 2:20 PM

    Identify a KF for which there are non-zero values for all accounts in the cube.
    Create the query with Account (from MP coming from both IO and cube) and this KF. KF will have 0 values for accounts not existing in the cube. Create a condition to show only the 0 value for the KF. This should show you all the accounts in the IO which are not in the cube.

  • SAP Query with Logical databse BRM

    Hi All,
    I'm developing one report by SAP Query using with logical database BRM to pick the accounting documents. But I would like add some kind of where condtion for one of field for BKPF table. Is there way to achieve this by using logical database concept? If there is a way please help me.
    Thanks in advance.
    Regards,
    TNR

    hi
    in SQVI, kindly follow the below steps:
    a.  in the left hand pane, click on the data fields.
    b.  expand the 'accounting document header'.
    c.  for the field BKPF-TCODE click on the 'List Fields' and the 'Selection fields'.
    d.  click on execute,
    e. you can now enter the values for the BKPF-TCODE.
    regards
    eashwar
    Edited by: eashwar1 on Feb 11, 2010 11:55 AM

  • SAP Query with Logical databse

    Hi All,
    I'm developing one report by SAP Query using with logical database BRM to pick the accounting documents. But I would like add some kind of where condtion for one of field for BKPF table. Is there way to achieve this by using logical database concept? If there is a way please help me.
    Thanks in advance.
    Regards,
    TNR

    hi
    in SQVI, kindly follow the below steps:
    a.  in the left hand pane, click on the data fields.
    b.  expand the 'accounting document header'.
    c.  for the field BKPF-TCODE click on the 'List Fields' and the 'Selection fields'.
    d.  click on execute,
    e. you can now enter the values for the BKPF-TCODE.
    regards
    eashwar
    Edited by: eashwar1 on Feb 11, 2010 11:55 AM

  • SAP Query PNPCE LDB with additional table.

    Hi ABAP Gurus,
    I am developing a SAP Query.
    I have created an infoset with the custom infotype 9050 and added the table ZPA9050 into the Infoset.
    The fields of ZPA9050 is not available as selection fields when I try to Query through SQ01.
    (How do I input values to the ZPA9050 fields? A checkbox for making a Selection field is not available in the Query (SQ01).
    For every pa9050 entry there exist multiple records of ZPA9050. I need to display the pa9050 fields in the 1st row and the corresponding zpa9050 fields in the subsequent rows.
    What needs to be done in order to get them as Selection fields (Input Fields)
    A quick reply is highly appreciated.
    Useful answers will be rewarded.
    Thanks
    Pradeep

    Hello,
    at the time of cretaing INFOSET using transaction SQ02. You can click on the Extra button nad than on the selection tab to add some fields on the selection screen.
    Reward if useful
    Mohit

  • SAP Query to join action infotype with additional action infotype

    We have created SAP Query on PA0000 which shows all actions that are executed for an employee.
    The problem is that if two actions are exceuted on the same day then it shows only one action instead of showing both the actions.
    As two actions are executed on the same day it will be stored in additional action infotype(0302).We tried to join PA0000(Action infotype) with PA0302(additional action infotype) in SAP Query by using joins(inner join/outer join) but it shows duplicate records.
    Is there any way to get additional action along with records of action infotype without any duplication in SAP Query.

    All entries that are in PA0000 will be in PA0302, but not vice-versa so you just have to reverse what you are currently doing, i.e.: create a Query on PA0302 and join to PA0000, and then make sure your selection criteria is from PA0302 and not PA0000.

  • Sap Query Web Reporting - Issues with accents

    Hi,
    We was using Web Reporting for Sap Querys, throw this tool we can generate automatically web reports.
    When we go to generated web report, selection screen show us character � instead accent letters.
    In addition to this, generated web report shows two buttons with german text: "report ausf?" and "Werte zur?zen".
    Guaranteed Rewards points.

    Hi Peluka,
    are these web report generate by SAp Query ITS based. If yes this is the right forum to ask, if no I would sugest to ask in the BI forum.
    Best regards,
    Klaus

  • Problem with create universe on Business Objects XI 3.1 base on SAP Query

    Hello,
    I have a problem with create universe on Business Objects XI 3.1 base on SAP Query.
    The problem is hierarchy. Massage on Busines Objects is :
       OWBS_ELEMT__ISTKOSZT(cube ICPC01/BEX_ICOC01):Exception condition  "HIERARCHY NOT FOUND" raised.(WIS 10901) 
    Query in BEX run OK.
    Best regards.
    Ela.

    Hello,
    Thanks for response.
    When I run BEX QUERY, all works OK.
    All hierarchies was created and activated  on system BW.
    This situation appears after upgrade BW to SAP NetWeaver 7.3.
    Before upgrade I created universe without any problems.
    Regards Ela

Maybe you are looking for