What makes a field eligible for selecting data in a subreport?

Hello,
I have posted the following question to [StackOverflow|http://stackoverflow.com/questions/4366702/what-makes-a-field-eligible-for-selecting-data-in-a-subreport], but it has so far generated no replies. I decided to cross-post it here to see if I could get a better result.
The TL;DR of it is that I have a field which I should be able to link in my Subreport, but it does not appear, and I was wondering what I need to do to make it appear.
I have a Crystal Report I'm trying to recreate from scratch after an update from VS2008 to VS2010 caused it to implode horribly.
I've gotten most of the way through, but I'm at a stage where I'm linking a field in the Main Report to a corresponding field in the Subreport.
I have set up a bunch of Database fields in the Subreport, I've added the table I want, TableA, I've linked it up as everything was linked in the original report, with TableA at the head of the linking chain, so that all the rows I want can be derived from the result of that first query ( Actually, all of the links from the original Report were red in the Database Fields linking dialog, whereas mine are a bit rainbow-y. All the links in TableA are red, though... _ )
In the "Subreport Links" dialog, I have an integer which I know is being pulled from the database correctly. I've added it in the "Fields to link to" listbox, and selected the newly-created parameter in the "Subreport parameter to use" combobox. I've ticked the "Select data in subreport based on field" checkbox.
The database field I want to link to then does not appear in the second combobox.
Another integer field in TableA shows up fine in the "Select data..." combobox (and is linked to another field being passed in), so I don't know why these two integer fields, which are equally important, and exist on the same level, on the same table, are being treated differently by the report designed.
Any ideas what I'm doing wrong?

Here is what I'd do:
1) Download CR 2008 eval designer from here:
http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
2) Try the linking in CR 2008 designer
3) If it does not work there, ask why not in the [CR design|SAP Crystal Reports, version for Visual Studio; forum.
4) If you get the linking working in the CR 200 designer, try to run the report in your VS2010 app (after ensuring the report woks as expected in CR 2008).
5) If (4) above works out for you, please let me know as this may be an issue with CRVS2010.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Similar Messages

  • Devloped an ALV report for daily cash receipts for selected date range

    hi,   
                 how to devlop an ALV report for daily cash receipts for selected date range.for this report what are the tables and fields we have to use.what is the selectionscreen&what is logic.give me sample report.

    Hi,
    You can develop simple reports using Report Painter.
    You may be also interested in:
    Check report SAPMF05A for credit memo
    See the following Std reports on Payment Advices execute the Tcodes:
    S_ALR_87009888
    S_ALR_87009889
    S_ALR_87009890
    S_ALR_87009891
    S_ALR_87009892
    S_ALR_87009893
    S_ALR_87009978
    S_ALR_87009979
    S_ALR_87009980
    S_ALR_87009981
    S_ALR_87009982
    S_ALR_87009983
    S_ALR_87010056
    S_ALR_87010057
    S_ALR_87010058
    S_ALR_87010059
    S_ALR_87010060
    S_ALR_87010061
    S_ALR_87010066
    S_ALR_87010067
    S_ALR_87012106
    S_ALR_87012107
    S_ALR_87012108
    S_ALR_87012109
    S_ALR_87012110
    S_ALR_87012111
    S_ALR_87012116
    S_ALR_87012117
    S_ALR_87012200
    S_ALR_87012201
    S_ALR_87012202
    S_ALR_870122
    S_ALR_87012204
    S_ALR_87012205
    S_ALR_87012350
    S_ALR_87012351
    S_ALR_87012352
    S_ALR_87012353
    S_ALR_87012354
    S_ALR_87012355
    sample ALV report:
    tables:
    marav. "Table MARA and table MAKT
    Data to be displayed in ALV
    Using the following syntax, REUSE_ALV_FIELDCATALOG_MERGE can auto-
    matically determine the fieldstructure from this source program
    Data:
    begin of imat occurs 100,
    matnr like marav-matnr, "Material number
    maktx like marav-maktx, "Material short text
    matkl like marav-matkl, "Material group (so you can test to make
                            " intermediate sums)
    ntgew like marav-ntgew, "Net weight, numeric field (so you can test to
                            "make sums)
    gewei like marav-gewei, "weight unit (just to be complete)
    end of imat.
    Other data needed
    field to store report name
    data i_repid like sy-repid.
    field to check table length
    data i_lines like sy-tabix.
    Data for ALV display
    TYPE-POOLS: SLIS.
    data int_fcat type SLIS_T_FIELDCAT_ALV.
    select-options:
    s_matnr for marav-matnr matchcode object MAT1.
    start-of-selection.
    read data into table imat
      select * from marav
      into corresponding fields of table imat
      where
      matnr in s_matnr.
    end-of-selection.
    Now, we start with ALV
    To use ALV, we need a DDIC-structure or a thing called Fieldcatalogue.
    The fieldcatalouge can be generated by FUNCTION
    'REUSE_ALV_FIELDCATALOG_MERGE' from an internal table from any
    report source, including this report.
    The only problem one might have is that the report and table names
    need to be in capital letters. (I had it )
    Store report name
    i_repid = sy-repid.
    Create Fieldcatalogue from internal table
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                I_PROGRAM_NAME         = sy-repid
                I_INTERNAL_TABNAME     = 'IMAT'  "capital letters!
                I_INCLNAME             = sy-repid
           CHANGING
                CT_FIELDCAT            = int_fcat
           EXCEPTIONS
                INCONSISTENT_INTERFACE = 1
                PROGRAM_ERROR          = 2
                OTHERS                 = 3.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM       = i_repid
                I_STRUCTURE_NAME         = 'marav'
                I_DEFAULT                = 'X'
                I_SAVE                   = 'A'
           TABLES
                T_OUTTAB                 = imat.
      IF SY-SUBRC <> 0.
        WRITE: 'SY-SUBRC: ', SY-SUBRC .
      ENDIF.
    Hope this will help.
    Regards,
    Naveen.

  • What are the field names for below mentioned

    Hello Friends
    What are the fields names for below tables
    in EKKO
    Purchase Document Date
    Net Value of the purchase document.
    In EKPO
    Item Description
    From which place We bought it. (It means in Sales Items there we can know from which plant we sold the goods, like in EKPO, there is any field like this)
    Please let we are defining the report to find out the stock availability for perticular storage location using select Options plant, company code, material no.
    How many tables involve her to build this report. and also field names, they come under which table.
    Please send me this information ASAP. PLz Plz Plz..........
    Regards
    Praveen

    You can check the fields of these tables via SE11
    Purchase Document Date  -  EKKO-BEDAT
    Item Description  -  EKPO-TXZ01
    Net price per item - EKPO-NETPR.
    Regards,
    Rich Heilman

  • Devolped an ALV report for daily cash receipts for selected date range

    hi,   
                 how to devlop an ALV report for daily cash receipts for selected date range.for this report what are the tables and fields we have to use.what is the selectionscreen&what is logic.give me sample report.

    hi,   
                 how to devlop an ALV report for daily cash receipts for selected date range.for this report what are the tables and fields we have to use.what is the selectionscreen&what is logic.give me sample report.

  • How to make warehouse field inactive for all users in all documents autom.

    Hi All,
    Can anyone pls tell me "**how to make warehouse field inactive for all users in all documents without having to do it through form setting** "for each and every user. It should be visible but inactive
    Thanks & Regards,
    Mukesh Agrawal

    Hi,
    As a work around create a warehouse SelectWH and map the mandatory acoounts as a On hold account(in chart of accounts).So there will not be any posting on this account.
    And set this warehouse as default warehouse for all users.
    So without selecting the appropriate warehouse the user can not add the document.
    I think this might resolve you issue.

  • What message type to use for syndicating data back to R3 from XI

    What message type to use for syndicating data back to R3 from XI. It gives a Message type IDOC error code 51.

    Hi Rehman,
    You are getting error 51 which means "Error: Application document not posted".
    This might because of two reasons:
    1. Your IDoc doesn't contains all the mandatory fields required by the inbound function module to post the IDoc.
    2. You have assigned wrong inbound function module to post the IDoc.
    Please check these cases.
    Hope this will help you.
    Thanks,
    Shiv Prashant Dixit

  • [svn:fx-3.x] 5719: User-submitted patch to make keypad numbers work for selection in ComboBox

    Revision: 5719
    Author: [email protected]
    Date: 2009-03-28 18:50:54 -0700 (Sat, 28 Mar 2009)
    Log Message:
    User-submitted patch to make keypad numbers work for selection in ComboBox
    QE Notes: None
    Doc Notes: None
    Bugs: sdk-17276
    Reviewer: alex
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-17276
    Patch submitter: Paul Taylor
    Community reviewer: Iwo Banas
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-17276
    http://bugs.adobe.com/jira/browse/sdk-17276
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/listClasses/ListBase. as

    Hi,
    Found the reason for the problem. I think there's a bug in Flex that causes this. One of my formItem had an id="owner" and maybe flex has used this "owner" id somewhere internally. I changed the name and now all the comboboxes are working fine.

  • Table & Field Name for Plan Data in CO

    Hi All,
    Can anyone tell me the table & field name where we can get the planned data in Cost Center Accounting and Profit Center Accounting.
    I checked out the COSP(which is Totals) and COEP tables for CCA but i could find the fields only for actual data and not planned data.
    Same for PCA...i checked out the GLPCT & GLPCA tables but in vain.
    Regards & Thanks
    Piyush Kothari.

    Hi,
    Thanks for the reply but COKL is only for Activity Type which contains Allocation Cost Elements.
    I would like to have the Table & Field name for Plan data of Primary Cost Element.
    Piyush

  • Please tell me how to adjust field width for alv data .

    Hi,
          Please tell me how to adjust field width for alv data . Also i want to remove zeros after decimal coming in field.
    Regards,
    Ranu

    Hello Ranu,
    You need to set OUTPUTLEN field from field catalog table for every column.
    DATA lt_fieldcat TYPE lvc_t_fcat
    DATA lw_fcat type lvc_s_fcat .
    lw_fcat-fieldname = 'BNAME' .
    lw_fcat-inttype = 'C' .
    lw_fcat-outputlen = '12' .  -----> for e.g. set width of column BNAME
    lw_fcat-coltext = 'User Name' .
    lw_fcat-seltext = 'User Name' .
    APPEND lw_fcat to lt_fieldcat .
    Hope this resolves your issue!
    Thanks,
    Augustin.

  • Issue to make mandatory field(SELD/BBD and Date of manufactor)in migo for particular Material type and material Number starting with'1' series.

    Hi friend,
    i have issue regarding mandatory  self life field (SELD/BBD and Date of manufactor)in migo for Batch Tab for particular Material start with '1' Series and material type.
    i want to make mandatory above field during GR from migo..any one let me know exit or badi for that to full fill this goal..
    Regard's,
    shaikh Khalid.

    Hi Shaikh
    First of all Thread is not closed seconldy as a good practice if you have resolved your issue kindly document it here so that it may help someone in future
    Nabheet

  • Auto-fill calender date and validate other fields depending upon selected date for infopath forms

    I have a calender box in infopath form which i want to autoselect when user opens the form..Ex..i am opening form on 14th march the calender should show as 19th march and also i have to perform few validation and action such as if i am selecting date with
    more than 5 days gap should open other field which is a dropdown..How can i perform this..

    Do you have Excel Services? if so, this article may be of use to you:
    http://sergioblogs.blog.co.uk/2013/01/08/infopath-2010-and-excel-services-in-sharepoint-15407321/
    You can configure an excel workbook to validate if a date is a working day and then use formulas to workout the working date for 5 days after the date you enter, then link your InfoPath form to connect to the excel workbook and return the result of your
    calculation.
    Regards
    Sergio Giusti
    http://sergioblogs.blog.co.uk/
    Whenever you see a reply and if you think is helpful, click " Vote As Helpful". And whenever you see a reply being an answer to the question of the thread, click "
    Mark As Answer".

  • [iPhone] what is the best practice for storing data? SQLite or Keychain ?

    Can't find clear guideline about when and what should I store in Keychain and when to use files, SQLite.
    I need to save large array of data that is configuration of application.
    This configuration should not disappear in event of application upgrade or reinstall. It should be stored in Keychain, right?

    Only use the keychain if you need the added security. Even then it is not meant for large data storage. SQLite allows fast and efficient retrieval of subsets of the data and allows selection with the SQL language. Plists are handy but the entire data must be read in to access any portion so if the amount of data is small this is ideal.

  • Make IBAN field necessary for vendor master

    Hi SAP gurus,
    is there any way to make IBAN field in bank details necessary for vendor master?
    I have tryed with SAPMF02K - EXIT_SAPMF02K_001 but there isn' t a iban filed.
    thx in advances
    V.
    Moderator: Double-post

    Dear all,
    no unfortunately you can not set up this in field status.                                                                               
    It is possible as a workaround to use 'Bank Details' as mandatory in                          
    OBD3.                                                                               
    This is possibly because IBAN can not be entered alone without the                            
    traditional Bank Details. However, once you have entered the                                  
    traditional bank information, it is not possible to set the IBAN as a                         
    mandatory field.                                                                               
    If I were you I'd have a look at user exit and SAPMF02K to                          
    check the vendor master data.                                                                               
    You have also BTEs:                                                                               
    00001440 VENDOR MASTER DATA: Final checks   
    I hope it helps You.
    mauri

  • How to make some fields mandatory for a custom screen we have added

    Hi All,
    Please let me know how can I make some fields mandatory through coding in PBO for only some fields of a screen.
    Say if I have 4 fields in my screen(module pool not selection screen) i want to make mandatory 2 fields based on some conditions how to do this? I tried using screen-group but this will make mandatory all the fields of that screen mandatory.
    I want only specific fields based on condition in run time.
    Regards
    Mahesh

    Hi Mahesh,
             Try this ..
      Assign the same group to those fields , say GRP
           in  PAI
             IF <CONDITION>
                Loop at screen.
                   if screen-group1 = 'GRP'.
                      screen-required = '1'.
                      modify screen.
                   endif.
                 endloop.
              ENDIF.

  • ALV Grid OO : Set Field editable for  selected rows

    Hello ABAPers,
    I used object  cl_gui_alv_grid to created ALV grid and i succed to set an editable
    field for all rows. However my request is to set it for and only for selected rows
    I could get the row index but i didn't know how to use it
    Thanks in advance
    Amine

    Hi Amine,
    I think the standard SAP sample program might help you, BCALV_EDIT_02.
    I will tell the procedure to make the selected rows editable on ALV.
    1. Add a additional field of type LVC_T_STYL in the internal table that you are displaying in the ALV. LVC_T_STYL is a actually a table type.
    2. Place a button on the ALV toolbar for EDIT/DISPLAY.
    3. Once you press the EDIT button after selecting the rows, loop through the records which you have selected (you have already said that you have the index of selected records).
    4. The table type LVC_T_STYL has fields for FIELDNAME and STYLE.
       If you have 10 fields in the internal table, then all these ten fields name should be appended to the newly added field in the internal table (LVC_T_STYL) and their style should be populated with value cl_gui_alv_grid=>mc_style_enabled.
    Regards,
    Rahul MB

Maybe you are looking for

  • External monitor for MacBook Pro won't give maximum resolution

    I have a MacBook Pro and connected a new 30 inch HP LP3065 with a dual link DVI cable and the highest resolution I can get is 1280 X 800. It should be much higher, at least 1920 X 1200 but I think even higher than that. I tested the monitor with a G4

  • Item text in not appeared in MIGO

    During the posting i fill the field Item text field with some text but after posting the document the value dosen't appear in the field item text. What is the reason,do we need to maintain some settings for this? Thank you.

  • PR overall release strategy with acc. assignment category characteristics

    Hi, Here is my issue : i created an Overall release strategy but the characteristic is on item level. In some precise cases, no release is generated. see below more details : I have created the following PR release strategy with classification. PR ty

  • Firefox prevents opening a new window - I want it to open them.

    When I click on a link in my gmail, it opens a new tab with this message and have to choose "allow". I want it to just open the link in a new tab. "Firefox prevented this page from automatically redirecting to another page. [Allow]"

  • Cost element & work center

    Dear All, What is meant by cost element.any link between cost element and work center.how to configure this.Kindly give the steps to follow. Regards, Devi