RE: HR ABAP Multiple selection problem on input selection-screen

hi friends,
I AM Facing one problem in HR abap report  selection-screen , in my report  employee details data getting based on payroll area
of selection-screen. Here iam  SELECTION-SCREEN  declarations made in program level NOT created REPORT CATEGORY FOR
PNP LDB.
ACTUAL MY PROBLEM IS IF I SELECT SINGLE PAYROLL AREA IN SELECTION-SCREEN IT GETTING DATA PERFECTLY FOR THAT
PAYROLL AREA  
EX. ZA - PAYROLL AREA IF I SELECT IN SELECTION SCREEN IT FETCHING THAT PAYROLL  AREA DATA PERFECTLY, PROBLEM
IS IF I SELECT MULTIPLE PAYROLL AREAS IN SELECTION-SCREEN PAYROLL AREA FIELD  ZA AND ZB PAYROLLS IT FETCHING
ONLY ZA -PAYROLL DATA ONLY IT IS NOT FETCHING DATA FROM ZB PAYROLL AREA.MY REQUIREMENT IS IT SHOULD FETCH
BOTH PAYROLL DATA  AND SHOWING  .
HERE  IAM GIVING MY SELECTION SCREEN DECLARATION SYNTAX.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS:
                S_ABKRS FOR P0001-ABKRS NO INTERVALS," NO-EXTENSION,     " PAY ROLL AREA
                S_PERSA FOR P0001-WERKS NO INTERVALS," NO-EXTENSION,     " PERS.AREA
SELECTION-SCREEN END OF BLOCK B2 .
PLEASE Any body knows solution for this selection give me reply.
regards,
gopal

If you are using Logical DB PNP why are you coding Selection Fields for ABKRS and WERKS?   Both of these fields are defined in the PNP Selection Screen and if you use those fields then SAP will handle filtering the data.

Similar Messages

  • Input help selection problem in SAP GUI screen

    Hi All,
    We are using a SAP GUI based transaction for one ESS service. In this service, we have a input field. This field is defined as dictionary field And its picking F4 values from dictionary.
    Now we have a problem here.
    We have to set this field as mandatory(set in fields property using screen painter). Everything was fine, just before we did testing
    When user host this service, for above mentioned field user get to see one "?" mark. When user does not select any of the entry provided by F4. user gets a message "please fill mandatory field" and input field contains first entry from F4 help.
    Now this is very confusing, so we want to avoid selection of this entry.
    if any of you have faced similar problem ??
    any suggestions here.

    Yes Sudir ,
    We also stopped a bit at this point.
    Wht we did is impemented all the mandatory checks at module pool itself and throwed status msg by using Message class.
    Now if a user leaves any mandatory field , the status msg will point  the filed he left blank ..
    But Cursor won't point to that field .
    Regards ,
    J
    Do Award Points by clicking the left of this info.

  • Weird Selection Problem - Mouse starts selecting everything  when going near line numbers

    In Dreamweaver CS6 Mac Code View, if I move the mouse near the line numbers it goes into some weird selection mode: It tries to select everything I move the mouse over.
    It doesn't happen all the time, but it happens frequently enough to be very annoying.
    How can I disable this?
    I have looked through the options and cannot find anything. I have also searched on Google.
    I have been using Dreamwaver's code view since Dreamweaver MX and have never come across this problem before.

    I am very sure that slim was done. It didn't start it as a daemon, I only let it respawn on runlevel 5 (in inittab). After I went in 3 and closed it, It didn't respawn. I looked at the display and I looked at ps -ef | grep slim and waited ;-)
    Anyways, seems like I was right: slim is simply not doing something.
    Now I have i my slim.conf:
    # Commands executed when starting and exiting a session.
    # They can be used for registering a X11 session with
    # sessreg. You can use the %user variable
    sessionstart_cmd /usr/bin/sessreg -a -l $DISPLAY %user
    sessionstop_cmd /usr/bin/sessreg -d -l $DISPLAY %user
    With who I have now:
    jonnyjd :0.0 2007-11-06 22:00
    The :0.0 made with -l $DISPLAY and seemed common. You can do anything you like I guess. -a stands for "add" and -d for "delete". Usually you have a -w and -u option also, but in Arch the wtmp and utmp are in the standard location, so we don't need them.
    The session*_cmd entries in slim.conf were inserted for exactly this purpose somewhere in the year 2005, referring to the bug-database of slim (http://developer.berlios.de/bugs/?group_id=2663)
    Okay, so I learned something new today
    EDIT:
    If you don't have xdm installed, than you shouldn't need the "-x" part. This is basically only needed when you have more than one x-display controlled by a login manager, which slim can't do anyways. So it would be a nice and clean: /usr/bin/sessreg -a -l $DISPLAY %user (edited the above .conf)
    Last edited by JonnyJD (2007-11-06 21:39:13)

  • Need to implement auto suggest with multiple select in a input text field

    Hi,
    Jdev Ver: 11.1.1.4
    My requirement is to create an input field where i can provide auto suggest and user can enter multiple email ids. It is similar to current "To" field while composing a mail in Gmail.
    Problem:
    I have implemented input box with auto suggest. For the first entry it works fine. when i enter 2nd value(i have used ',' (comma) as separator and handled it in 'suggestItems' bean method to take sub-string after comma for providing the suggestion) , after selection.... the first value get lost. So at a time only one value is selected in the input text.
    Input text:
    <af:inputText label="Names" id="it21" rows="2"
    columns="50" simple="true"
    valueChangeListener="#{VisitBackingBean.visitMembersInputBoxCL}"
    binding="#{VisitBackingBean.visitMembersInputBox}">
    <af:autoSuggestBehavior suggestItems="#{VisitBackingBean.onSuggest}"/>
    </af:inputText>
    Bean Method:
    public List onSuggest(FacesContext facesContext,
    AutoSuggestUIHints autoSuggestUIHints) {
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    String inputNamevalue = autoSuggestUIHints.getSubmittedValue().trim();
    if(inputNamevalue.contains(",")) {
    inputNamevalue = inputNamevalue.substring(inputNamevalue.lastIndexOf(",")+1).trim();
    //create suggestion list
    List<SelectItem> items = new ArrayList<SelectItem>();
    // if (autoSuggestUIHints.getSubmittedValue().length() > 3) {
    OperationBinding setVariable =
    (OperationBinding)bindings.get("setnameSearch");
    setVariable.getParamsMap().put("value",
    inputNamevalue);
    setVariable.execute();
    //the data in the suggest list is queried by a tree binding.
    JUCtrlHierBinding hierBinding =
    (JUCtrlHierBinding)bindings.get("AutoSuggestName_TUserROView1");
    //re-query the list based on the new bind variable values
    hierBinding.executeQuery();
    //The rangeSet, the list of queries entries, is of type //JUCtrlValueBndingRef.
    List<JUCtrlValueBindingRef> displayDataList =
    hierBinding.getRangeSet();
    for (JUCtrlValueBindingRef displayData : displayDataList) {
    Row rw = displayData.getRow();
    //populate the SelectItem list
    items.add(new SelectItem(rw.getAttribute("UsrUserName").toString().trim() +
    "<" +
    rw.getAttribute("UsrMailId").toString().trim() +
    ">",
    rw.getAttribute("UsrUserName").toString().trim() +
    "<" +
    rw.getAttribute("UsrMailId").toString().trim() +
    ">"));
    return items;
    Please suggest how can i achieve the mentioned functionality.

    Hi,
    doesn't work this way as the suggest list returns a single value. You can actually use the existing values as a prefix to the new value in which case the suggest list would look a bit odd. Beside of this all you can do is to create a user lookup field with auto suggest and once a name is selected, update another field with the value returned from this action
    Frank

  • The file size of selected file in input file control is shown as 0 for multiple file selection in Safari 5.1

    The file size of selected file in input file control is shown as 0 for multiple file selection in Safari 5.1. If you select single file, then it is able to return file size correctly. However, if you select multiple files, then the file size of each of the selected file is always returned as 0 from javascript. This works correctly in Safari 4.0 but it does not work in Safari 5.1.
    How do I get the correct file size in Safari 5.1 ?

    If you want to post (or send me) a link to the lrcat file, I'd take a look at it for you, and give you a break-down what's consuming all the bytes. But it might be fun to learn how to do that yourself (e.g. using SQL). I use SQLiteSpy, but other people have their favorites.. (or you can use a command-line client if you prefer..). One way: just run "drop table "{table-name}" on each table then look at filesize (do this to a copy, not the real thing).
    Anyway, it's hard to imagine keywords and captions etc. taking much of the space, since even if you had 1000 10-character words of text metadata per photo average that still only adds up to 117MB, which isn't a substantial portion of that 8G you're seeing occupied.
    Anyway, if you've painted the heck out of most of them and not cleared dev history, that'll do it - that's where I'd put my money too...
    One thing to consider to keep file-size down:
    ===================================
    * After reaching a milestone in your editing, take a snapshot then clear edit history, or the top part of it anyway (e.g. leave the import step), using a preset like:
    Clear Edit History.lrtemplate
    s = {
        id = "E36E8CB3-B52B-41AC-8FA9-1989FAFD5223",
        internalName = "No Edit",
        title = "Clear Edit History",
        type = "Develop",
        value = {
            settings = {
                NoEdit = true,
            uuid = "34402820-B470-4D5B-9369-0502F2176B7F",
        version = 0,
    (that's my most frequently used preset, by far ;-})
    PS - I've written a plugin called DevHistoryEditor, which can auto-consolidate steps and reduce catalog size - it's a bit cumbersome to use a.t.m. but in case you're interested...
    Rob

  • How to edit the properties for existing variables in BEX query, so that I can get multiple input selections

    Dear fellow developers,
    I'm trying to edit an existing variable using BEX query, so that it can allow multiple input selections.
    As you can see in the screenshot attached, the option is selectable during creation.
    However, during editing of an existing field, this field (Details -> Basic Settings -> Variable Represents) is not selectable.
    Does anyone knows why, and how to remedy this?

    Yes you can do it at the table level.
    Go to SE11 enter table name as RSZGLOBV.
    Enter the technical name of variable in VNAM field..You need to change the value in VPARSEL column.
    Please make sure to get the where used list of this variable so that you can know the impact,if something goes wrong.
    Also change it in DEV and then transport across the landscape.
    PS:Same thing has been described in this blog as well
    Changing BI variable parameters
    Regards,
    AL
    Message was edited by: Anshu Lilhori

  • Problems with BC4J input select tag when its bounded to a primary key field

    HI..
    I have an jsp BC4J edit form. This form uses a BC4J input select tag. This component is mapping one of the primary key Entity fields.
    When im working with this component and it doesnt map a primary key field it shows the default "none" value when im inserting a record(thats Ok). but when it maps a primary key field the default value is a database value so it is not advisable.. How can i do in order to fix that?
    Thank you

    The none value is only shown when the field accepts null values.

  • ABAP User Interface problem

    Hi All,
    My Screen consist of 3 Input/Output Field and a Radio button group which consist of 8 radio button.
    Problem 1:
    When select a radio button, 2 of the Input/Output Field data that was define previously was clear and 1 of the Input/Output Field data still remain.
    Problem 2:
    Data was enter in the 3 Input/Output Field. When i submit,  the program will validate the 1st Input/Output Field. When it validate, the 2 of the Input/Output Field data was clear off.
    How to prevent the data being clear off?
    Code Sample:
    ==============================================================
    Flow Logic
    ==============================================================
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9000.
    PROCESS AFTER INPUT.
    CHAIN.
        FIELD:
          TB_OBJECTID,
          TB_LOADID,
          TB_LOADDESC.
       MODULE USER_COMMAND_9000.
    ENDCHAIN.
    ==============================================================
    ==============================================================
    ABAP Program
    ==============================================================
    REPORT ZTEST_RADIOBTN.
    DATA: TB_OBJECTID(20) TYPE c,
          TB_OBJECTDESC(100) TYPE c,
          RB_STEP1(1) TYPE c,
          RB_STEP2(1) TYPE c,
          RB_STEP3(1) TYPE c,
          RB_STEP4(1) TYPE c,
          RB_STEP5(1) TYPE c,
          RB_STEP6(1) TYPE c,
          RB_STEP7(1) TYPE c,
          RB_STEP8(1) TYPE c.
      START-OF-SELECTION.
        CALL SCREEN 9000.
    " Main Screen - PBO.
    MODULE STATUS_9000 OUTPUT.
       SET PF-STATUS 'MAIN_SCREEN'.
      SET TITLEBAR 'MAIN_SCREEN'.
    ENDMODULE.
    " Main Screen - PAI.
    MODULE USER_COMMAND_9000 INPUT.
       CASE sy-ucomm.
         WHEN 'EXIT'.
           LEAVE PROGRAM.
         WHEN 'BACK'.
           Leave to SCREEN '0'.
         WHEN 'EXECUTE'.
           CASE TB_OBJECTID.
             WHEN '1'.
               TB_OBJECTDESC = '1'.
             WHEN '2'.
               TB_OBJECTDESC = '2'.
             WHEN OTHERS.
               TB_OBJECTDESC = 'Invalid Input'.
           ENDCASE.
           PERFORM validate_ObjectID.
       ENDCASE.
    ENDMODULE.
    FORM validate_ObjectID.
      IF TB_OBJECTID IS INITIAL.
       SET CURSOR FIELD 'TB_OBJECTID'.
       MESSAGE e000(ZSCSDM_MSG) WITH 'Please define Object ID'.
      ENDIF.
    ENDFORM.
    Best Regards,
    Rayden

    Hi Ray,
             The issue seems to be that there is no varaible decalred in your top include to hold the values of the screen variables.
    Concept is that on any user actio like an 'Enter' etc causes the flow logic ( PBO & PAI ) to be executed. So during these first the system transfers the screen field values to the available variables ( Only if it finds any .. so declare variables in Top Include with same name.)
    Later during PBO execution it transfers the values back from variables in Top include ( Local variables ) to the screen field.
    <b>On User Action :
    PAI Executed    => Screen Values --> Local Var.
    then
    PBO Executed  =>  Local Var     --> Screen Values.
    This is the flow concept.</b>
    <i><b>Reward Points if useful .</b></i>

  • F4 list selection problem

    Dear Experts ,
    I am facing a wierd problem. In any F4 selection screen , if i put ant inputs the system gives the message
    "No values for this selection"
    But as soon as remove the input selsction restrictions the system gives a list containing all the data .
    Eg , suppose i wanna select a material , & for this i choose material by material type & put FERT as material Type. the system says "No values for this selection", but as soon as i remove all the selsction options , system gives me the whole list , including FERT materials .
    I am facing this kinda problem in all selections .
    Pls tell me what is wrong .
    Regards
    Anis

    Hi
    Please check your F4 settings.In the SAP easy access screen, click on Help-> Settings-> Click on tab F4 Help,
    Check the settings there and see that for display - the radio button sytem defaults should be active. and under the the system defaults display should be Control.
    If this does not solve you need to check with BASIS and Abaper
    Thanks & Regards
    Kishore

  • Problem with input.readLine()

    import java.io.*;
    public class HorseMain
         public static void main(String[] args) throws IOException
              //declare the FILENAME
              //the user will later give the FILENAME
              String horseFILENAME;
              //declare the variables to be manipulated
              String name, stable, winner, commentsStewards, commentsJockey, commentsPersonal;
              int rating, race, distance;
              String command;
              //Mastery Factor 9: Parsing a text file or other data stream
              //This will be used to accept the input from the user
              BufferedReader input = new BufferedReader( new InputStreamReader(System.in) );
              System.out.println("\t\t\t\tHORSES");
              System.out.println("Enter the name of the file where the horses are saved:");
              horseFILENAME = input.readLine();
              //calling the HorseFile class
              //the actual argument horseFILENAME will be used to open the file
              HorseFile horse = new HorseFile(horseFILENAME);
              //call the load method to load the contents of the file storing the data
              horse.load();
              //asking for user input
              System.out.println("Please enter one of the given commands");
              System.out.println("\t[a]dd a horse");
              System.out.println("\t[d]elete a horse");
              System.out.println("\t[e]dit details of a horse");
              System.out.println("\t[s]earch for a horse by its name");
              System.out.println("\t[p]rint the details of all the horses in the collection");
              System.out.println("\t[g]et the horses having encountered problems in their last race");
              System.out.println("\t[q]uit the program");
              while (true)     //the system must return true
                   System.out.println("Command: ");
                   command = input.readLine();
                   //using simple if...else selection to determine what action to be taken from command
                   //if the user wants to add a horse
                   if (command.equals("a"))
                        obtainName(name);
                        //perform search to determine whether this horse already exists
                        //if the horse already exists, message to inform user
                        if (horse.search(name) != null)
                             //message to inform the user that this horse already exists
                             System.out.println(name+ " already exists!");
                        else
                             //obtain the details on the horse
                             obtainStable(stable);
                             obtainRating(rating);
                             obtainRace(race);
                             obtainDistance(distance);
                             obtainWinner(winner);
                             obtainCommentsStewards(commentsStewards);
                             obtainCommentsJockey(commentsJockey);
                             obtainCommentsPersonal(commentsPersonal);
                             //add a new horse record
                             if (!horse.add(name, stable, rating, race, distance, winner, commentsStewards, commentsJockey, commentsPersonal))
                                  System.out.println("Sorry");
                                  System.out.println(name + " cannot be written to file");
                   //if the user wants to delete a horse
                   if (command.equals("d"))
                        System.out.println("Enter name of horse to be deleted: ");
                        name = input.readLine();
                        //perform search to determine whether this horse already exists
                        //if horse does exist, horse is deleted
                        if (horse.search(name) != null)
                             horse.delete(name);
                             System.out.println(name + " deleted!");
                        //if horse does not exist, message is output
                        else
                             System.out.println(name + " not found!");
                   //if the user wants to edit the details of a horse
                   if (command.equals("e"))
                        System.out.println("Enter name of horse to be edited: ");
                        name = input.readLine();
                        //perform search to determine whether this horse already exists
                        //if the horse does exist
                        if (horse.search(name) != null)
                             //obtain the new details of the horse
                             obtainStable(stable);
                             obtainRating(rating);
                             obtainRace(race);
                             obtainDistance(distance);
                             obtainWinner(winner);
                             obtainCommentsStewards(commentsStewards);
                             obtainCommentsJockey(commentsJockey);
                             obtainCommentsPersonal(commentsPersonal);
                             horse.edit(name, stable, rating, race, distance, winner, commentsStewards, commentsJockey, commentsPersonal);
                        //if the horse does not exist
                        else
                             System.out.println(name + "not found in collection");
                   //if the user wants to print the details of all the horses
                   if (command.equals("p"))
                        horse.display();
                   //if the user wants to quit the program
                   if (command.equals("q"))
                        break;     //the system exits from the if...else selection
              input.close();
              horse.save();
         /**This is the method to get the name of a horse from the user
         **validation rules: length check
         **The length of a horse name cannot exceed 18 characters.
         public static void obtainName(String name)
              System.out.println("Name of horse: ");
              name = input.readLine();
              //using simple if...else to validate user input
              if (name.length() <= 18)
                   //do nothing
              else
                   //output error message
                   System.out.println("Error! Name should not exceed 18 characters");
                   //Using mastery factor recursion to allow the user to input the name again
                   obtainName(name);
         /**This is the method to get the stable of a horse from the user
         **No validation rules are used
         **Any string is accepted
         public static void obtainStable(String stable)
              System.out.println("Stable: ");
              stable = input.readLine();
         /**This is the method to get the rating of the horse from the user
         **Validation rules: range check
         **Rating should be between 20 and 110
         public static void obtainRating(int rating)
              System.out.println("Rating: ");
              rating = Integer.parseInt(input.readLine());
              //using multiple if...else selection
              if ( (rating >= 20) && (rating <= 110) )
                   //do nothing
              else
                   //output error message
                   System.out.println("Error! Rating should be between 20 and 110");
                   //using mastery factor - recursion - to allow the user to input the rating again
                   obtainRating(rating);
         /**This is the method to get the number of the last race run by the horse
         **Validation rules: range check
         **Race number should be between 11 and 308
         public static void obtainRace(int race)
              System.out.println("Race number: ");
              race = Integer.parseInt(input.readLine());
              //using if...else
              if ( (race >= 11) && (race <= 308) )
                   //do nothing
              else
                   //output error message
                   System.out.println("Error! Race number should 11 and 308");
                   //using mastery factor - recursion - to allow the user to input the rating again
                   obtainRace(race);
         /**This is the method to get the distance of the last race
         **Validation rule: comparison check
         **Distance can either be 1365, 1400, 1500, 1600, 1800, 2000, 2200, 2400
         public static void obtainDistance(int distance)
              System.out.println("Distance: ");
              distance = Integer.parseInt(input.readLine());
              //using if...else
              if ( (distance == 1365) || (distance == 1400) || (distance == 1500) || (distance == 1600) || (distance == 1800) || (distance == 2000) || (distance == 2200) || (distance == 2400) )
                   //do nothing
              else
                   //output error message
                   System.out.println("Error! Distance can either 1365, 1400, 1500, 1600, 1800, 2000, 2200, 2400");
                   //using mastery factor recursion to allow the user to input the distance again
                   obtainDistance(distance);
         /**This is the method to get the winner of the last race
         **Validation rule: length check
         **The name of the winner cannot exceed 18 characters
         public static void obtainWinner(String winner)
              System.out.println("Winner: ");
              winner = input.readLine();
              //using if...else
              if (winner.length() <= 18)
                   //do nothing
              else
                   //output error message
                   System.out.println("Error! The name of the winner cannot exceed 18 characters");
                   //using mastery factor recursion to allow the user to input the winner again
                   obtainWinner(winner);
         /**This is the method to get the stewards' comments on a horse
         **No validation rules
         **Any string is accepted
         public static void obtainCommentsStewards(String commentsStewards)
              System.out.println("Stewards' comments: ");
              commentsStewards = input.readLine();
         /**This is the method to get the stewards' comments on a horse
         **No validation rules
         **Any string is accepted
         public static void obtainCommentsJockey(String commentsJockey)
              System.out.println("Jockey's comments: ");
              commentsJockey = input.readLine();
         /**This is the method to get the stewards' comments on a horse
         **No validation rules
         **Any string is accepted
         public static void obtainCommentsPersonal(String commentsPersonal)
              System.out.println("Personal comments: ");
              commentsPersonal = input.readLine();
    }

    I see one problem already though. You defined "input" as a local variable in your main method, and then refer to it all over the place, outside of the main method.
    If you want to use input like that, you'll have to define it as a field, not a local variable.
    By the way your code is structured in a kind of hairy way. In OOP you usually want to structure your code around self-contained, encapsulated state and behavior, not just as a bunch of individual actions effecting global variables.

  • Delete multiple duplicates at once without selecting one at a time...

    I know that you can view duplicates and then select songs one at a time to delete. Because show duplicates shows both the duplicate file and the original you need to select one duplicate and skip one for the original file for each duplicate song. The problem is I have 18000 songs so going through the duplicates one at a time like this will take way too long. How can I delete all of these duplicates without clicking on all of them one at a time?

    You can select multiple items using shift to select a range and control to add or remove items from it.
    Regarding duplciates, Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group of identical tracks to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. This can happen, for example, if you start iTunes with a disconnected external drive, then connect it, reimport from your media folder, then restart iTunes.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background. Please take note of the warning to backup your library before deduping, whether you do so by hand or using my script, in case something goes wrong.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • Problem in AT selection screen validation

    Hi,
    I am having problem in AT SELECTION SCREEN Validation.
    I have 2 radiobutton and 6 parameter. if i click first radio button  all the 6 radiobutton should enable and take the user input, that is working fine for me.
    if i click second radiobutton , out of 6 , 3 parameter should disable and remaining 3 should enable. thats also working fine.
    My problem is program has written the validation for this 3 parameter in the AT SELECTION SCREEN.
    For first radioutton all the validation working  fine, for second validation as soon as i press the radiobutton it will display error message. Based on 2 parameter user is filling value for 3 rd parameter.
    I want the same validation to be done for second radio button after user pressing enter.
    PARAMETER: p_single RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND f1,
               p_multi RADIOBUTTON GROUP rad1.
    PARAMETERS: s_pwwrk LIKE plaf-pwwrk.          
    PARAMETERS: p_lgort LIKE plaf-lgort.
    PARAMETERS: p_kostl LIKE cobl-kostl.
    here is my code:
    AT SELECTION SCREEN.
    CLEAR t001w.
      CLEAR t001k.
      CLEAR marv.
      SELECT SINGLE * FROM t001w WHERE werks EQ s_pwwrk.
      IF sy-subrc NE 0.
        MESSAGE e999 WITH 'Plant' s_pwwrk 'does not exist'.
      ELSE.
        SELECT SINGLE * FROM t001k WHERE bwkey EQ t001w-bwkey.
        SELECT SINGLE * FROM marv WHERE bukrs EQ t001k-bukrs.
        IF p_budat0(4) NE marv-lfgja OR p_budat4(2) NE marv-lfmon
    IF marv-xruem IS NOT INITIAL.
            IF p_budat0(4) NE marv-vmgja OR p_budat4(2) NE marv-vmmon.
    MESSAGE e999 WITH p_budat4(2) p_budat0(4)
                                'is closed.
                                            Please try again.'.
            ENDIF.
          ELSE.
            MESSAGE e999 WITH p_budat4(2) p_budat0(4)
                              'is closed.
                                          Please try again.'.
          ENDIF.
        ENDIF.
      ENDIF.

    For your Case ,
    If i understand clearly,You can do the validation when you want on AT SELECTION SCREEN ON WP_FIELD.
    If you say your validation to be done only for Selection of Second Radio Button, then..
    AT SELECTION SCREEN.
    if p_multi  eq 'X'. "<- Make Validation to be done only if user select Second Button
    CLEAR t001w.
    CLEAR t001k.
    CLEAR marv.
    SELECT SINGLE * FROM t001w WHERE werks EQ s_pwwrk.
    IF sy-subrc NE 0.
    MESSAGE e999 WITH 'Plant' s_pwwrk 'does not exist'.
    ELSE.
    SELECT SINGLE * FROM t001k WHERE bwkey EQ t001w-bwkey.
    SELECT SINGLE * FROM marv WHERE bukrs EQ t001k-bukrs.
    IF p_budat+0(4) NE marv-lfgja OR p_budat+4(2) NE marv-lfmon
    IF marv-xruem IS NOT INITIAL.
    IF p_budat+0(4) NE marv-vmgja OR p_budat+4(2) NE marv-vmmon.
    MESSAGE e999 WITH p_budat+4(2) p_budat+0(4)
    'is closed.
    Please try again.'.
    ENDIF.
    ELSE.
    MESSAGE e999 WITH p_budat+4(2) p_budat+0(4)
    'is closed.
    Please try again.'.
    ENDIF.
    ENDIF.
    ENDIF.
    endif.

  • How to create  some columns dynamically in the report designer depending upon the input selection

    Post Author: ekta
    CA Forum: Crystal Reports
    how  to create  some columns dynamically in the report designer depending upon the input selection 
    how  export  this dynamic  report in (pdf , xls,doc and rtf format)
    report format is as below:
    Element Codes
    1
    16
    14
    11
    19
    10
    2
    3
    Employee nos.
    Employee Name
    Normal
    RDO
    WC
    Breveavement
    LWOP
    Sick
    Carers leave
    AL
    O/T 1.5
    O/T 2.0
    Total Hours
    000004
    PHAN , Hanh Huynh
    68.40
    7.60
    76.00
    000010
    I , Jungue
    68.40
    7.60
    2.00
    5.00
    76.00
    000022
    GARFINKEL , Hersch
    66.30
    7.60
    2.10
    76.00
    In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
    if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
    Can anybody help me how do I design such report....
    Thanks

    Hi Developer life,
    According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
    As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric  values) in the details,  add  an filter to filter the data base on this column group, but if
    the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
    If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
    Similar threads with details steps for your reference:
    https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings 
    If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
    Any question, please feel free to let me know.
    Best Regards
    Vicky Liu

  • How to write XSJS Select Query with input parameters

    Hello Experts,
    I am creating a xsjs file and in that file I am trying to write a Select Query based on a Calculation View
    I have tried it the following way:
    var query = 'SELECT TOP 100 \"Name\", \"Address\", \"City\", \"Country\" FROM \"_SYS_BIC\".\"Test.HL/AddressView\"'
        + 'WITH PARAMETERS(\'PLACEHOLDER\' = (\'$$P_Name$$\', \' Akhil \'),'
      + '\'PLACEHOLDER\' = (\'$$P_City$$\', \' Lucknow \'))';
    But it gives me the "Mixed spaces and tabs error".
    How should I write XSJS Select Query with input parameters?
    Regards,
    Rohit

    >But it gives me the "Mixed spaces and tabs error".
    Mixed spaces and tabs has nothing to do with the syntax of the statement. You used both spaces and the tab in the content - which JSLint doesn't like.  Remove the beginning spaces of each line and use only one or the other.
    The actual syntax of your statement doesn't look right.  The problem is that you are escaping the \ when you don't need to if you are using ' instead of " for your string.  You escape with \" in the first line but then escape with \' in the 2nd and 3rd line.  That is going to cause serious parsing problems with the command.

  • How to go about multiple inclination with different data selection in Delta

    We have to copy large amount of data ( more than 42lak of recodes) selectivly from on ODS to other ODS. in delata load ( BW 3.5 enverioment)
    I thought of loading data in slices through delta loading with selection condition.
    step 1> Do The initialization with selection condition as for calyear =2001 ( Init without data transfer )
    step 2> Take the delta load .. it will take all delta record with same selection
    step 3> Now I want to do Initialization with selection condition as for calyear =2002
    step 4> take the delta now it will take delta for year 2001 and 2002 both Right ?
    Here what problem I am facing.. while doing 2nd time initialization it prompt me to delete the last  initialization request form scheduler menu.
    if i delete the last request .. will it take the delta  for previous initialization selection  and new initialization selection. ?
    Please advice how to go about multiple inclination with different data selection in delta loading.
    Looking forward your reply.

    Hi,
    step 1> Do The initialization with selection condition as for calyear =2001 ( Init without data transfer )
    step 2> Take the delta load .. it will take all delta record with same selection
    step 3> Now I want to do Initialization with selection condition as for calyear =2002
    step 4> take the delta now it will take delta for year 2001 and 2002 both Right ?
    You are correct with this scenario normally. The message you mentioned normally comes up when you open a infopackage and don't change the selection first or in case you have overlapping selections with an already done init.
    regards
    Siggi

Maybe you are looking for