HOW TO IMPLEMENT SCREEN VALIDATION IN LDB?

Hi,
I am making use of Logical Database in my report, and I want to do screen validation with the screen which already exists in the system? Is it possible to do so? If yes, then how? The LDB, I am using is PSJ.
Also, I would like to know, can we define our own selection screen incase of LDB? How is that possible if the answer is yes to it.BUt here I am not talking about dynamic selection screen. What I mean to say is that..., can we restrict the selection screen in LDB, by defining the fields which are required in the selection screen on execution of the report?
Someone, please guide.
Points will be rewarded for a satisfactory answer.
Thanks & Regards,
Ravi

Hi Ravi,..
Chk out the link - http://help.sap.com/saphelp_erp2005/helpdata/en/60/183d78163011d2953c0000e8353423/frameset.htm
Yes, we can define our own selection screen and that will come right below your LDB selection screen.
AND also LDB selection screen can be restricted ..for this you have to code in PBO of report for hiding the elements which u don't required.
Regards
Mithlesh

Similar Messages

  • How to Implement Screen Exits for MK01...

    Hi All,
    I have to implement screen exits for Tcode MK01.
    There is a BADI namely VENDOR_ADD_DATA_CS for Mk01.
    Please guide me on how to implement a screen exit..
    If possible send me the steps to be followed.
    Regards,
    Vidya.

    Hi,
      Check this:
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    Have a look at this thread:
    your working with BADI Then do as follows....
    you follow the SPRO way and do everything they say.
    1.you make an own z program with your subscreens
    2.by VENDOR_ADD_DATA you put something like this to method CHECK_ADD_ON_ACTIVE:
    Aktivierung Zusatzfelder für ZDB
    if i_screen_group = 'Z1'.
    e_add_on_active = 'X'.
    endif.
    3.by VENDOR_ADD_DATA_CS you put something like this to get_taxi_screen
    CASE i_taxi_fcode.
    Premier
    WHEN 'Z1_SRCE1'.
    e_screen = '0100'.
    e_program = 'ZPM_SCREENEXIT_MK02'. " your own program
    e_headerscreen_layout = ' '.
    Deuxiem
    WHEN 'Z1_SRCE2'.
    e_screen = '0110'.
    e_program = 'ZPM_SCREENEXIT_MK02'.
    e_headerscreen_layout = ' '.
    ENDCASE.
    4. you make sure, that everything is active
    Regards
    Kiran
    Edited by: Kiran Sure(skk) on Apr 11, 2008 3:42 PM

  • How to implement such validation requirement?

    2 af:inputText A and B
    only numbers and letters are allowed for both of them,
    but both of them are letters is not allowed.
    how to implement it?
    JDev: 11g.
    Thanks.
    Kevin.

    Hello,
    Do you just want to display them as red or also validate on them?
    If its just display, you can try this:
    Set both fields to autoSubmit="true" and immediate="true"
    set the styleclass to depeding on the values like this:
    styleClass="#{bindings.A.inputValue == bindings.B.inputValue ? 'AFFieldText': 'customErrorStyleClass'}"-Anton

  • How to Implement Screen BADI

    Dear All,
    Can any one help me in providing step by step procedure to implement SCREEN BADI. Kinly provide workable code
    Thanks in advance

    John
    I dont think any BADI available to change the logo.
    You can add your own logo to the login page as below.
    1. In SE80 select Internet service and choose BBPGLOBAL.
    2. Then navigate to Theme 99-->MIME Objects -->Images --> Start.
    3. Add your custom logo file there.
    4. Then navigate to Theme 99 --> HTML Templates --> Login.
    5. Open the source code of Login page and search for the logo which you want to replace with your new logo. ex. ~name="images/start/logo.gif". Look for suitable code where you want to add your logo.
    6. Comment that line and add new line with your new logo file in the image path.
    With this custom logo get displayed in the login page.
    PS : Reward points if helpful.
    Regards
    Jagadish

  • How to implement JavaScript validation in JSF

    Dear all,
    if i wish to implement JavaScript front end validation function in JSF. what should i do?
    thanks.

    Hi,
    in Core JSF from David Geary there is a chapter on using
    Jakarta Commons Validator for javaScript validation
    source could be found here:
    http://www.horstmann.com/corejsf/
    HTH,
    Matthias

  • My Proxy: How to implement a validation before insert/update

    Hi,
    In my env, the OIM User has an attribute called Employee Grade. When the user is configuring My Proxy, he/she can select users who grade who has grade equals or higher... I created a Rule Generator adapter and I tried to assign it to the Pre-Insert of Users.Proxy data object. Problem: There is no field availabe for this entity and I thought it was related to the table PXD (PXD_ORIG_USR_KEY and PXD_PROXY_KEY).
    If I could access those fields, I would search the proxy user by PXD_PROXY_KEY and get he/she grade. After that, compare with the grade of the original user.
    I alse have to iimplement the same logic when the user reasign a task to another user.
    Have you ever implemented that or have any idea?
    Thanks,
    Renato Guimaraes.
    Edited by: Renato.Guimaraes on 05/10/2009 13:58 - Implement the same logic to reassign task

    One option is to implement the proxy funtion as a separate RO. Makes it possible to do validation in the approval process but will force you to manually implement any functionality that you would like to have associated with the function.
    Probably not easier than a GUI customization but I wanted to mention the option.
    Best regards
    /Martin

  • How to do screen validation on cutom infotype

    I have ccreated a custom infotype with four fields.Now i want to validate that when we enter data in infotype using PA30 and save it, the system should raise an error if all the fields are not filled with values.

    Hello,
                You can do the coding for validation in PAI MPXXXX30.
    Here check whether all fields are populated.
    reward points if useful.
    Regards,
    Manoj.
    Message was edited by:
            manoj kumar

  • How to implement screen enhancements with table control in sales document

    I want to add a table control in sales document head and items, is there a good solution for this, thanks

    Hi Zhang Jie,
    There are some reserved screen for you in sales order.
    screen enhancement: for header is SAPMV45A 8309 and 8310.
                                    for item is SAPMV45A 8459 and 8460.
    you can add your table control in those screen.
    regards,
    Archer

  • How to do the Validations in Report Programming?

    How to do the Validations in Report Programming?
    how to do screen Validations and Field Validations if posssible can any one send the code regarding the Validation ....
    Tks
    Durusoju

    AT SELECTION-SCREEN - selscreen_event
    Syntax
      | { ON {para|selcrit} }
      | { ON END OF selcrit }
      | { ON BLOCK block }
      | { ON RADIOBUTTON GROUP radi }
      | { }
      | { ON {HELP-REQUEST|VALUE-REQUEST}
      |   FOR {para|selcrit-low|selcrit-high} }
      | { ON EXIT-COMMAND }.
    Alternatives:
    1. ... OUTPUT
    2. ... ON {para|selcrit}
    3. ... ON END OF selcrit
    4. ... ON BLOCK block
    5. ... ON RADIOBUTTON GROUP radi
    6. ... { }
    7. ... ON {HELP-REQUEST|VALUE-REQUEST} FOR
          {para|selcrit-low|selcrit-high} }
    8. ... ON EXIT-COMMAND
    Effect
    These additions allow individual evaluation of specific elements of the selection screens of the program. The information as to which selection has triggered the event is contained in the system field sy-dynnr.
    Alternative 1
    ... OUTPUT
    Effect
    This event is triggered at the screen event PBO of a selection screen. In the event block, the selection screen can be prepared through assignments to the data objects of parameters and selection criteria and through dynamic screen modifications.
    Note
    The assignments to input fields in the event block AT SELECTION-SCREEN OUTPUT always affect the selection screen and overwrite the user inputs from previous displays of the same selection screen. Assignments in the event blocks LOAD-OF-PROGRAM oder INITIALIZATION, on the other hand, only have an effect at first program start.
    Alternative 2
    ... ON {para|selcrit}
    Effect
    This event is triggered at the screen event PAI of a selection screen if the content of the input field of a parameter para or a line of a selection criterion selcrit was passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or an error message in the event block makes the fields para and selcrit ready for input again.
    No parameter that is defined as a radio button can be specified. For this purpose, the addition ON RADIOBUTTON GROUP is provided.
    Note
    If a user action takes place in the dialog box for the multiple selection of a selection criterion selcrit, the entries of the selection table are passed to the program, line by line. For each line, the event AT SELECTION-SCREEN ON selcrit is triggered.
    Alternative 3
    ... ON END OF selcrit
    Effect
    This event is triggered after the selection table selcrit has been fully passed to the program after a user action in the dialog box for the multiple selection has taken place. In the event block, the entire selection table can be checked.
    Alternative 4
    ... ON BLOCK block
    Effect
    This event is triggered at the screen event PAI of a selection screen if all the input fields of a block block of the selection screen were passed to the ABAP program. In the event block, the user inputs can be checked. Sending a warning or an error message in the event block makes all the fields of the block block ready for input again.
    Alternative 5
    ... ON RADIOBUTTON GROUP radi
    Effect
    This event is triggered at the screen event PAI of a selection screen if all the fields of a radio button group radi of the selection screen were passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or error message in the event block makes all the radion buttons of the block radi ready for input again.
    Note
    The individual fields of a radio button group are not passed individually and do not trigger the event AT SELECTION-SCREEN ON par.
    Alternative 6
    Effect
    The event AT SELECTION-SCREEN itself is triggered as the last event of selection screen processing if all the input values were passed to the program. In this event block, all the user inputs can be checked. Sending a warning or an error message in the event block makes all the screen fields ready for input once again.
    Alternative 7
    ... ON { HELP-REQUEST | VALUE-REQUEST } FOR
        {para|selcrit-low|selcrit-high} }
    Effect
    The two events ON HELP-REQUEST and ON VALUE-REQUEST are triggered at the screen events POH and POV of a selection screen if - for the input field of a parameter para or one of the input fields of a selection criterion selcrit - the field help F1 or the input help F4 was called. Other selection events are not triggered.
    In the event blocks, a self-defined field or input field can be programmed, which overrides any helps possibly defined in the ABAP Dictionary.
    Notes
    These event blocks can only be implemented for fields of the selection screen that are defined in the same ABAP program and not in a possibly linked logical database.
    With the events for the field and input help, no data is transported between the selection screen and the ABAP program. As with general screens, suitable function modules must be used for these. The parameters and selection criteria changed for the input help are transported to the selection screen.
    Alternative 8
    ... ON EXIT-COMMAND
    Effect
    This event is triggered if the user has called one of the functions Back, Exit or Cancel. In the event block, possible clean-up actions can be executed.
    Example
    In these executable programs, a standard selection screen and a further selection screen are defined. In the event blocks AT SELECTION-SCREEN, the inputs in the selection screens can be specially handled using the name p_carrid and the screen number in sy-dynnr.
    REPORT demo_at_selection_screen.
    Global data
    DATA: sflight_tab TYPE TABLE OF sflight,
          sflight_wa  LIKE LINE  OF sflight_tab.
    Selection screens
    PARAMETERS p_carrid TYPE spfli-carrid.
    SELECTION-SCREEN BEGIN OF SCREEN 500.
      SELECT-OPTIONS s_conn FOR sflight_wa-connid.
      DATA s_conn_wa LIKE LINE OF s_conn.
    SELECTION-SCREEN END OF SCREEN 500.
    Handling selection screen events
    AT SELECTION-SCREEN ON p_carrid.
      IF p_carrid IS INITIAL.
        MESSAGE 'Please enter a value' TYPE 'E'.
      ENDIF.
      AUTHORITY-CHECK OBJECT 'S_CARRID'
                          ID 'CARRID' FIELD p_carrid
                          ID 'ACTVT'  FIELD '03'.
      IF sy-subrc = 4.
        MESSAGE 'No authorization for carrier' TYPE 'E'.
      ELSEIF sy-subrc <> 0.
        MESSAGE 'Error in authority check' TYPE 'A'.
      ELSE.
        IF sy-ucomm = 'ONLI'.
          CALL SELECTION-SCREEN '0500'.
        ENDIF.
      ENDIF.
    AT SELECTION-SCREEN.
      IF sy-dynnr = '0500'.
        IF s_conn IS INITIAL.
          MESSAGE 'Please enter values' TYPE 'W'.
        ELSE.
          SELECT *
                 FROM sflight
                 INTO TABLE sflight_tab
                 WHERE carrid = p_carrid AND
                       connid IN s_conn.
          IF sy-subrc <> 0.
            MESSAGE 'No flights found' TYPE 'E'.
          ENDIF.
        ENDIF.
      ENDIF.
    Main program
    START-OF-SELECTION.

  • Implementing Screen Exit

    Hi,
    How to implement screen exit in a standard SAP transaction?
    Thanks,
    Raghavan

    Hi
    Check this:
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    this document will help you out.
    regards,
    Sreevani

  • Screen validation for BAPI_ENTRYSHEET_CREATE

    Hi All,
    We are using BAPI_ENTRYSHEET_CREATE to create entry sheet  for work orders,
    we are passing WBS element to table parameter 'entrysheetaccountassignment 'and entry sheet created successful,
    if we passing incorrect WBS element,BAPI is not validating(through transaction it's validating),
    Entry sheet created succecdully but , if we check in transaction ML83 the WBS field is blank,
    how to check screen validation,
    Regards,
    Suresh.D
    Edited by: suresh dameruppula on Apr 23, 2010 2:37 PM

    Hi,
    this BAPI does not perform validation. It just converts WBS from external format into internal format. In case of invalid conversion it clears WBS element field. Hence if you want to have a WBS validation then you need to do it by yourself using BAPI BAPI_PROJECT_EXISTENCECHECK.
    Cheers

  • How to implement the schema validation with XSD in adapter module

    Dear All,
    I am trying to develop a EJB as the file adapter mudule.
    Please guide me how to implement the schema validation of the source message with XSD.
    Or provide me the relative resources about this task.
    Thanks & Regards,
    Red
    Edited by: Grace Chien on Nov 19, 2008 8:23 AM

    Hi Grace,
    You can do the xml scema validation in PI7.1 version directly.
    To develop the adapter module for xml schema validation
    Validating messages in XI using XML Schema
    Schema Validation of Incoming Message
    Regards
    Goli Sridhar

  • How to ... implement characteristic validation forbidden infocube update?

    Hi Gurus,
    I need implement into SEM-BPS a validation so that the update of certain combination of characteristic be forbidden.
    I build up and exit function.It gives an error message when this combination of characteristic be done, but then if the user push save button the information is update into the infocube.
    Someone can help me? how to ...implement this validation forbidden the update into the infocube?
    Thanks in advance for your help.

    Hi,
    I'm using the web Interface. In order to execute the planning function when the save button is pressed I implement the follow how to:
    <a href="http://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e032e790-0201-0010-8bae-f9bc2b1e5aaa">How To... Run Planning Sequences on Save and other events (web)</a>
    On the other side the message given back for the planning function is an error message.
    Even though I can save data into the infoprovider.
    Since you confirm to me that the standard behavior is the wished one, I'm going to continue by this way in order to obtain the desired result.
    Thanks a lot.

  • How to pass selection screen value to LDB dynamic field.

    Hello everybody,
    In my program, I am using standard LDB(PSJ) for getting data. And there is a requirement that I have to display some dynamic fields on my selection screen like plant , person responsible ( which are mandatory also ) etc. and inside the program I have to fill those dynamic fields for which the user has entered the value in selection screen.
    Could you please tell me how to pass some of selection screen values to ldb dynamic fields before GET statement.
    Thanks !!!
    Regards,
    Mitra

    >
    Pavan Bhamidipati wrote:
    > Hi,
    >
    >
    I have to fill those dynamic fields for which the user has entered the value in selection screen.
    >
    >
    > This means that the user is going to enter the values in the selection screen for the dynamic field values so
    >
    > SET PARAMETERID 'XYZ' FIELD p_field.
    >
    > where p_field is a parameter on the selection screen
    >
    > Regards
    > Pavan
    You can capture the values selected through the dynamic selections using some of the functions modules below, just search the forum for the below FM's, perhaps you can find some sample code
    FREE_SELECTIONS_EX_2_RANGE
    FREE_SELECTIONS_EX_2_WHERE
    FREE_SELECTIONS_RANGE_2_EX
    FREE_SELECTIONS_RANGE_2_WHERE
    FREE_SELECTIONS_WHERE_2_EX
    FREE_SELECTIONS_WHERE_2_RANGE

  • How to Implement a screen exit to a standard SAP transaction

    Hi All,
    Can any body give How to Implement a screen exit to a standard SAP transaction??
    Regards,
    AK

    Hey,
    This link which gives the Step by step way of iimplement a screen exit:
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    Regards,
    Arjun

Maybe you are looking for