How Can we create parameter field for BP Group on Crystal Report

Hi,
I have something wrong:
I want to create parameter field on Crystal report to select multiple cardcode group, I use for that :
@Select * from ocrg
but when I execute the report the fiel don't give any thing to choice BP Group, it is a null fiel ?
Any Idea how can I do this otherwis
Ps: I want to precise group to display it.
Thanks in advance
Cdt
Malika

Hi Malika.....
Try this simple query report in Crystal with Parameter as CardGroup....
Select T0.CardCode, T0.CardName From OCRD T0
Where T0.GroupCode='{?GroupCode@Select * from OCRG}'
Take above query in command window.
GroupCode@Select * from OCRG
Take above condition in parameter window and then try to run in SAP.
You can see how CFL gets generated and you get values of CardGroup......
The above is only example.......
Regards,
Rahul

Similar Messages

  • How can I create events dynamic for a Group/List?

    Hey,
    atm I'm programming a little application where i want to add elements to my center-pane.
    Simpyfied I got:
    - Center Pane : here shall the elements appear on right click in bottom-pane. This pane shall be used as anything like a playground where you can drag/drop and connect items from the bottom-pane
    - Bottom Pane: here I got about 180 elements which are quite equal. This is sth like a menu of items which you can use. I realised them in java classes extended from a parent class with differend calulations.
    What I want:
    I want to create an event handler for EACH of the "menu" elements dynamically. Just sth like:
        for (int i = 0; i < basic_menu_list.size(); i++)
          final Element el = hbox_bottom.getChildren().get(i);
          hbox_bottom.getChildren().get(i).setOnMouseClicked(new EventHandler<MouseEvent>()
            public void handle(MouseEvent event)
              if (event.isSecondaryButtonDown())
                playground.add(el);
                redrawPlayground();
        }But as i expected this doesnt work...
    Now my question:
    How can I solve this problem? Is there any option to listen to all elements of a group without hard-coding every single listener?
    Thanks for your help,
    Martin

    Hello User,
    Why did you expect that it wouldn't work?
    You have an example with "transition" apply on a bunch of circles in the Getting Started with JavaFx (http://download.oracle.com/javafx/2.0/get_started/jfxpub-get_started.htm)
    Here a basic example class...
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.TextBox;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.Pane;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class HelloWorld extends Application {
        //~ ----------------------------------------------------------------------------------------------------------------
        //~ Methods
        //~ ----------------------------------------------------------------------------------------------------------------
        public static void main(String[] args) {
            // Entry point
            Application.launch(args);
        @Override
        public void start(Stage mainStage) throws Exception {
            Pane pane = new Pane();
            Scene scene = new Scene(pane, 200, 200);
            VBox vBox = new VBox();
            TextBox input1 = new TextBox();
            TextBox input2 = new TextBox();
            vBox.getChildren().addAll(input1, input2);
            for (Node input : vBox.getChildren()) {
                input.setOnMouseClicked(new EventHandler<MouseEvent>() {
                        public void handle(MouseEvent event) {
                            System.out.println("test click");
            pane.getChildren().add(vBox);
            mainStage.setScene(scene);
            mainStage.setVisible(true);
    }Niculaiu

  • How can I create a form for users wherein the text field will expand to accommodate additional text?

    How can I create a form for users wherein the text field will expand to accommodate additional text?

    You need to use LiveCycle (PC Only) to create a dynamic form like that.
    The best you can do with Acrobat to view all of the text in a field is to set the field to multiline, and set the size to "Auto" (If you don't set the size to 'Auto', you can enter as much text as you wish, but the user will need to use the scrollbar to view all of the text.)

  • How can I create a URL for a PWA for MS Project Server 2010 project file that includes the view?

    Hi, this question has been answered for 2013. The answer here suggests that it can be done in  2010.
    See:
    http://social.technet.microsoft.com/Forums/projectserver/en-US/3affdc4f-36bf-4381-8b75-27c73465efd4/action?threadDisplayName=how-can-i-create-a-url-for-a-pwa-for-ms-project-server-2013-project-file-that-includes-the-view
    Who knows how?
    Regards
    Sander

    Hi Sander,
    As far as I tested it, it is not possible either with PS2010. The URL only contains the PDP name and the projUID.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How can i create a Trash for external USB Drives ?

    Hello,
    how can i create a Trash for external USB Drives or my TimeCapsule ?
    Thanks.

    You do not need to create trash cans for individual drives.  The trash can on the desktop holds deleted files from all mounted drives.
    TimeCapsule manages its own space.  If it fills up it will delete older backps to make space for newer ones.

  • How can i find the fields for &DOPOS_CPY-WRBT1(I13.0)&

    Hi All,
    In sapscripts, what is the meaning for (13.0)?
    how can i find the fields for &DOPOS_CPY-WRBT1(I13.0)&?
    Thanks.

    meaning for (13.0) is write to form this variable's 13 character non decimal and 0 character decimal places.
    shortly not write decimal places.
    DOPOS_CPY-WRBT1 is exist in form caller program. check in abap program not in sapscript.
    take care
    Çağatay

  • How can mass create batch classification for many material batches? ?

    Hi Experts,
    In our system , there are so many material batches which have not been classified,see by
    BMBC Tcode.
    That means these batches has no values in the batch class. I know we can create
    classification for these batches with MSC2N Tcode.
    But there are so many batches  which have not been classified,more then 2000.
    It is not possible to create classification for every batch with with MSC2N once a time.
    So how can I create batch classification for so many batches once a time?
    How can I mass create batch classification for so many batches??
    Thanks for any reply!

    Hi,
    Please be aware that SAP does not support the use of batch
    input in the classification system. SAP recommends you use BAPI's for
    example in your case BAPI BAPI_OBJCL_CREATE and BAPI_OBJCL_CHANGE
    would be able to help. For more information, please have a look at the
    note: 943559 - Point 2 and 13. Point 13 references the note 1083986.
    I hope this helps!.
    Best Regards,
    Arminda Jack

  • How can i create apple id for i tune store

    how can i create apple id for i tune store?????

    Since you're posting here, you already have an Apple ID. Use it to sign into the iTunes Store.
    (81019)

  • How can I create an EntityStore for a Database?  Advice on DB strategy?

    Hello All,
    How can I create an com.sleepycat.persist.EntityStore for a com.sleepycat.db.Database? Advice on DB strategy?
    I'm looking to create an application prototype that creates a database dynamically and can delete it programatically. Is openDatabase/removeDatabase what I'd want to use for that?
    So far, the Direct Persistence Layer is an amazing piece of technology and has the potential to make my team's application faster than we every though possible, so kudos to the author.
    I've built a high-security application using the DPL and a single database for hundreds millions of users. I'd like to attempt to create a database for each user for security and manageability purposes. Our mission statement doesn't allow us to execute queries for sensitive data across more than one user account at a time, so I don't get any benefit from having every user's objects in a single database. I'm investigating if giving each user their own database will speed up insert times and SecondaryIndex queries. It'll certainly be more secure as each database will be encrypted with a unique password.
    My design is that I have an app with dozens of com.sleepycat.persist.model.Entity beans which I persist and query on their Primary and secondary indexes. I've been accessing things through an EntityStore as illustrated in the Getting Started Guide. Can I access a database created with openDatabase through an EntityStore and com.sleepycat.persist.PrimaryIndex?
    Thanks in Advance,
    Steven
    Harvard Childrens Hospital Informatics Program

    I closed this as I found another way to solve my issue.
    Thanks,
    Steven

  • How can I create a Title for the worksheet in Discoverer Plus

    Dear members,
    I am using discoverer 4i Plus to create workbooks. I am not finding an option to insert a title for the worksheet. In Discoverer Desktop we have a separate option to insert or edit a title. I am not sure how can we create titles in Plus.
    Any suggestions.
    Thanks
    Sandeep

    Hi,
    I am not able to login to Discoverer Desktop Using my Applications username. My Desktop Version is 4.1.37. The same username works in Discoverer 4i Plus and i can create workbook there.
    I went to Tools--->Options--->Connections and checked the option connect to both standard and application EUL's and while i am logging in i checked the small box which comes in the login screen. I do not know why this happening.
    I am also able to login as the database user in Desktop but not as an application user.
    I want to login into desktop as an application user and create a template workbook which has title and then assign that workbook to a particular responsibility since creating title cannot be done in Plus.
    I am not sure what's going wrong here because the Desktop works for database user but not for an application user. Any comments are highly appreciated.
    Thanks
    sandeep

  • How can I create a object for a note?

    Hi experts,
        I need to apply the note 501905 but when I try in the SNOTE transacction I receive this error:
    Object REPS Z_MRM_DELETE_PP does not exist; create it
    Diagnosis
    The SAP Note that you want to implement contains changes to an object that does not yet exist in your system.
    SAP Notes contain only changes to objects that already exist. This means that the the system cannot automatically create new objects during the implementation of this SAP Note.
    Procedure
    1. Cancel the SAP Note implementationl.
    2. Create an empty object REPS Z_MRM_DELETE_PP with the corresponding object editor.
    3. Restart the SAP Note implementation.
    How can I create that Object??
    Thanks for the help!

    Hi Carlos,
    It says that you have to create a new program with a name Z_MRM_DELETE_PP.
    Once you create and activate the program you can execute the SAP Note.
    All this processure will be written in the SAP Note.
    Please Go through the Note using below:
    Step1: Use T.code SNOTE.
    Step2: Use menu GOTO --> NOTE BROWSER. Provide the Note no and EXECUTE.
    Step3: Double click on the displayed line.
    Here you will get the information to do before implementing the note.
    Go through all the documentation, and once you did all the development given in the note then you can implement the note.
    Regards,
    Sreekanth.

  • MRRL : How can we create Credit Memo for these Invoices

    Hi Gurus,
    How can we create Crerdit memo in case when the Invoice has been posted thru MRRL?
    Is there any way the we can do Subsequent Credit / debit for the ERS vendor (posted by MRRL) as well?
    Thanks in advance
    Shashidhar

    Hello
    How can we reverse fi document created through MRRL transaction.
    FI document cannot be reversed reason being -Error-Invoice doc. 5105692828/2009 was created via evaluated receipt settlement.
    GR material document cannot reversed reason being-Error-Deficit of PU IR quantity 1,456.000 CS
    Not possible even to return the delivery to Vendor , Movement type 122
    Thanks
    Dinabandhu

  • How to store the value of sum of group in Crystal Report at the runtime!

    Hello all,
    I creates a Formula Field that hold the value of Sum of Group in Crystal Report. I would like to know how to store it in a variable and pass it to store procedure. Is it an option in Crystal report to do it. I knew that Crystal Report can cache the report for sharing. My detailed issue as following:
    - Created a Formula Field named TOTAL AMOUNT that calculated the complex expression. This TOTAL AMOUNT is dynamic based on group and variables.
    - I would like to store that value from TOTAL AMOUNT and pass it to the stored procedure parameter IN.
    Any helps are much appreciated. Thanks.

    I doubt that this is possible since it would only calculate this value once the report has data.  This sounds more like a report design question that should be asked over [here|SAP Crystal Reports;

  • How to set "Created By" field for KD Documents

    In our system documents that are entered to the Knowledge Directory are not tagged with who it was that submitted them.
    We would like to capture that information but I'm not sure how to enable it (or if its possible).
    I've looked at the Global Property Map and don't see a setting for a document, I looked at the Global Document Map but that seems to specifically relay info between the documents meta data and portal properties (which is not what I'm looking to do).
    Does anyone know how to attach the portal user in some type of "submitted/created by" field to a document?
    Thanks and happy September!

    Hello Keshav.T,
    Thank you for your information.
    Finally, I got an answer from OSS and the following is that.
    The popup is shown when there are more than 10 variants exist.
    If do not want to have this popup, you can modify the include
    LSVARTOP in SE38:
    C_VARILIST TYPE I VALUE '10' - maybe change value to '100'
    or if you want to have the popup but without the name inside:
    change include LSVARE01 and comment the line:
    ename-low = sy-uname. append ename. "old
    ename-low = sy-uname. append ename. "new
    I believe this message might be able to solve my problem.
    Thanks again.
    BR,
    Chris Kim

  • Can we create a field for Variance?

    Hi Experts,
    My client wants to see the following in SAP Business one 2007A PL:08
    1 - A variance column that will calculate the difference between the A/P Invoice Price and the PO price. This could be a dolar amount or a %. How do I do this? Can I define an UDF for this?
    2 - A flag at AP invoice stage where it will alert saying that the A/P invoice price is different than PO price. How do I create alerts?
    3 - Lock certain fields in the header information of Item Master Data, Business Partner Master Data etc. How do Lock a specific field. Users are changing too much of information randomly.
    Thanks

    Hi Arun,
    Try this
    SELECT distinct T0.[CardCode], T0.[CardName],
    T4.[ItemCode], T4.[Dscription],
    T5.[DocNum] [PO#], T4.[Price] [PO Price],
    T3.[DocNum] [GRPO#], T2.[Price] [GRPO Price],
    T0.[DocNum] [AP Inv#], T1.[Price] [AP Inv Price]
    FROM OPCH T0 
    INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry
    inner join PDN1 T2 on T2.DocEntry = T1.BaseEntry and T2.LineNum = T1.BaseLine and T1.BaseType = '20'
    INNER JOIN OPDN T3 ON T2.DocEntry = T3.DocEntry
    inner join POR1 T4 on T4.DocEntry = T2.BaseEntry and T4.LineNum = T2.BaseLine and T2.BaseType = '22'
    INNER JOIN OPOR T5 ON T4.DocEntry = T5.DocEntry
    For Browse
    Regards,
    Bala

Maybe you are looking for

  • Question re. restoring iPhoto Library?

    Hi iPhoto community, For what ever reason I decided to buy and install Lion 10.7 operating system on the weekend. I have always been interested in the spaces/expose feature which is maybe why Lion looked interesting for me. I realized that there woul

  • Additional

    Hi All, Could I use print layout designer to generate report return in sales credit memo screen ? Actually we use a button (SDK addon) to print the report. Pls give advice. Tks Rajh

  • No car power adapters work!

    I have have tried 3 power adapters sold at the Apple store and none work with the PowerBook G4. The saleperson was very helpful, but said that they have seen this before! (Green light comes and then it slowly blinks yellow or just stays green.) I ask

  • Add confirmation message

    Hi- I've created a simple form and after the user clicks the submit button, I would like to display a brief confirmation message (e.g., "Record submitted"). I searched the discussion forums but didn't have any luck. I've attached the html and php cod

  • Synchrone read file interface ?

    Hi Guys, I need to build a webservice that returns a .jpg picture as an attachment to the SOAP messgae. I have build a webservice to java proxy interface. But i*m stuck, because the MessageAttachment is not working on PI 7.11 yet. Any of you have a g