Modification in Standard LDB - ADA

Hi
In  Standard program REBEST_ALV01 given , we found out that the in selection block where  I was supposed to keep the checkbox , the selection query is coming from Standard LDB , ADA . It is not possible to add a new field to std LDB. How can we do this ?

Hi,
Kindly go through this link below:
Re: how to add field exits on screen
Hope it helps
Regards
Mansi

Similar Messages

  • Change in Standard LDB screen

    hi
    can any body tell be how can i change name of selection option on standard LDB screen of
    PNP for eg.
    for eg. if i want to display "Employee Subarea"(which comes from pnp ldb) as XYZ
    is it possible
    regard
    vivek

    Hi Vivek,
    Here is the code which is exactly suitable for this req.
    TABLES: pernr.
    data: i_tab type standard table of RSSELTEXTS with header line.
    initialization.
    i_tab-name = 'PNPPERNR'.
    i_tab-kind = 'S'.
    i_tab-text = 'Employee ID'.
    append i_tab.
    CALL FUNCTION 'SELECTION_TEXTS_MODIFY'
    EXPORTING
    program = 'ZESO_TEST'
    tables
    seltexts = i_tab
    EXCEPTIONS
    PROGRAM_NOT_FOUND = 1
    PROGRAM_CANNOT_BE_GENERATED = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    similarly you can do for other fileds also.
    Regards
    Vasu

  • Search help for Asset Class in LDB ADA

    Hi,
    I have a requirement to restrict values in certain search help.
    It is Z transaction for Z SAP Query which has logical database ADA under itself.
    The field which search help I should restrict is Asset Class.
    As I found in LDB ADA, it is select option SO_ANLKL with type ANLAV-ANLKL. It leads me to search help SH_ANLKA which is defined for domain ANLKL.
    But actually, another search help is called. It looks like SH_ANKA, but I don't know if it is right one.
    I have two problems:
    1. How to identify what search help is called?
    2. How to restrict values in search help or maybe how to attach Z search help in this case (should I attach in query or is there a way to enhance LDB)?
    As I am new both to SAP Query and LDB's I am not sure where to start.
    Tnx in advance,
    Natasa

    Solved.
    For those who face the same problem, here is the solution.
    LDB ADA creates basic search help for select options Asset Class by reading ANKA-ANLKL and ANKT-TXK20.
    Output list can be restricted by adding an enhancement at the end of FM DD_SHLP_GET_HELPVALUES and changing the internal table OUTPUT_VALUES.
    If necessary, it can be conditioned by TCODE and for this purpose parameter can be set in the enhancement of FM DD_SHLP_CALL_FROM_DYNP by reading content of the field HELP_INFOS-TCODE.
    Regards,
    Natasa

  • Peculiar problem in LDB ADA with company code selection

    <h5>Hello Colleagues, </h5>
    Faced a peculiar problem with company code selections in LDB ADA. Entered depreciation area, dep posting perios, lower and higher value of company code and would like to except few companies from selections. On pressing extension button, error message "Depreciation area 01 is not defined in chart of depreciation" is popping up and not allowing to provide exceptions for company codes. But working well in development systems. We are using ECC 6.0 systems and in both systems we have same lines of code for SAPDBADA.
    During debug, found that in development system, control coming to initial statements after PAI event. But in other systems, control skips few initial commands after PAI and directly jumps to later commands. Due to this FNAME parameter in PAI subroutine setting with '*' in other systems and 'BUKRS' in dev system.
    Could anybody give me some thoughts of why system behaving differently?
    Thanks and Regards,
    Prasanth

    Some - or most? - ODBC driver, especially MS for SQLServer and Access, don't support these advanced JDBC features.
    Like the messages says: they are optional features, and the driver doesn't implement them.
    A good news:
    you don't need them.
    Just go through your ResultSets only forward by next(), and do all inserts, updates and deletes with executeUpdate() and SQL commands.

  • How to fetch records from LDB ADA...

    Hello Experts,
    How do I get the asset balances(acquisition values, etc) using LDB ADA in my
    custom report?
    I searched the forums and I did not find any suitable posts regarding my requirement.
    Hope you can help me guys. Thank you and take care!

    Hello Experts,
    How do I get the asset balances(acquisition values, etc) using LDB ADA in my
    custom report?
    I searched the forums and I did not find any suitable posts regarding my requirement.
    Hope you can help me guys. Thank you and take care!

  • OBJECTS_OBJREF_NOT_ASSIGNED Exep CX_SY_REF_IS_INITIAL in LDB ADA

    Hello all,
    in the report Z_ISR_IMPAC note: (912375) when user runs a large range of 'Asset numbers' the reports abbends with the runtime error (Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED Exception CX_SY_REF_IS_INITIAL ).
    this happen in the LDB ADA in sentence, PUT ANLAV.
    Does anyone knows a possible solution to prevent this to happen?
    I would appreciate any help with this issue.
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of the dump
    Edited by: Rob Burbank on May 11, 2010 4:55 PM

    This issue had been solved,  the problem was in the users SAPlogon, the solution was updating it for the patch 9 and now is working well.

  • Try to capture the dynamic selections of a standard LDB

    Hi experts,
    I checked on the SDN, some people said we can use set parameter and EXPORT/IMPORT to do it. Does it mean we use this statement in the LDB and send the value of selections to memory then get them in the program? If there is a standard LDB, how can I get the value of its dynamic selections?
    Also There are some FMs, such as FREE_SELECT_*, but the INIT and DIALOG FM are used to show the user dialog and fetch its results. The rest FMs in the FG are used to convert the format of the selection reults. So is there any FM which can be used to get the value of the dynamic selections of a standard  LDB in my program? I hope there is a selection ID for the LDB's dynamic selection and it can be captured by a FM.
    Thanks for reading and help.

    use fm RS_REFRESH_FROM_DYNAMICAL_SEL
    here's a sample to search for a free selection (her field XBILK)
    DATA RANGE TYPE RSDS_TRANGE.
    DATA : BEGIN OF WA OCCURS 0,
             TABLENAME LIKE RSDSTABS-PRIM_TAB,
             FRANGE_T TYPE RSDS_FRANGE_T,
           END OF WA.
    DATA : BEGIN OF CA OCCURS 0,
             FIELDNAME LIKE RSDSTABS-PRIM_FNAME,
             SELOPT_T TYPE RSDS_SELOPT_T,
           END OF CA.
    DATA ERR.
    DATA: RSDSSELOPT LIKE RSDSSELOPT OCCURS   0 WITH HEADER LINE.
    CALL FUNCTION 'RS_REFRESH_FROM_DYNAMICAL_SEL'
           EXPORTING
                CURR_REPORT        = SY-REPID
                MODE_WRITE_OR_MOVE = 'M'
           IMPORTING
                P_TRANGE           = RANGE
           EXCEPTIONS
                NOT_FOUND          = 1
                WRONG_TYPE         = 2
                OTHERS             = 3.
      ERR = 9.
      LOOP AT RANGE INTO WA.
        APPEND WA.
        IF WA-TABLENAME = 'SKA1'.
          ERR = 0.
        ENDIF.
      ENDLOOP.
      CHECK ERR = 0.
      ERR = 9.
      LOOP AT WA-FRANGE_T INTO CA.
        APPEND CA.
        IF CA-FIELDNAME = 'XBILK'.
          ERR = 0.
        ENDIF.
      ENDLOOP.
      CHECK ERR = 0.
      ERR = 9.
      LOOP AT CA-SELOPT_T INTO RSDSSELOPT.
        IF RSDSSELOPT = 'IEQX'.
          ERR = 0.
        ENDIF.
      ENDLOOP.
    hope that helps
    Andreas

  • No BERDATUM while generic extraction with LDB ADA

    We do a generic extraction to BW with LDB ADA. Therefore it was created an additional field in InfoSet on note ANLAV, where BERDATE=BERDATUM. BERDATUM is a selection parameter in LDB ADA. In extractor checker BERDATE is not filled.
    Does anybody have an idea what the problem is?
    Regards
    Pramid Mehta

    Hi,
    thanks for that hint. I checked this already. DataSource is ok and the field is not hidden.
    Regards
    Pramid

  • Modification of standard programs

    Hi experts,
    i want to modify cursor movment in the transaction COIB. Pls tell me how can i achieve this.   Pls tell me the procedure and process required for this task.
    Thank u.

    hi,
    folow these link for modification of standard programs...
    http://www.sap-img.com/basis/manually-applying-the-oss-note.htm
    http://www.sap-img.com/ab025.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/83/7a18c5de6e11d195460000e82de14a/content.htm
    we can set the cursor position in two way's.
    <b>Static Cursor Position</b>
    To define the cursor position statically, enter the name of the required screen element in the Cursor position screen attribute in the Screen Painter.
    <b>Dynamic Cursor Position</b>
    To set the cursor position dynamically, use the following statement in an ABAP dialog module in the PBO event:
    <b>SET CURSOR FIELD <f> [OFFSET <off>].</b>
    <f> can be a literal or a variable containing the name of a screen element. You can use the OFFSET addition to place the cursor at a particular point within an input/output field.
    regards,
    Ashok reddy

  • Push button in the application tool bar in the standard LDB PNP

    Hi ABAPERS,
    I have a  requirement that in the selction screen to use the standard LDB PNP beyond that I need to pass one push button in the selection screen 1000 ( in the application tool bar beside execute button) actually i  passes the push button in the gui status but its not refelcting in the output  and in the initilization event also i passed even then its noty working,
    initialization.
      move 'Cluster ID'(010) to sscrfields-functxt_01.
    Thanks and Regards,
    Deepthi.

    Pavan,
    write code like this
    TABLES: USR02,       "Logon data
            SSCRFIELDS.  "FIELDS ON SELECTION SCREENS
    STANDARD SELECTION SCREEN FOR SCROLLING LEFT AND RIGHT
    SELECTION-SCREEN: FUNCTION KEY 1.
    SELECTION-SCREEN begin of BLOCK b1.
      PARAMETERs p1 type i.
      SELECTION-SCREEN end of BLOCK b1.
    INITIALIZATION.
    SCREEN ICON LEFT AND RIGHT
      SSCRFIELDS-FUNCTXT_01 = 'Button'.
      start-OF-SELECTION.
    Thanks
    Bala Duvvuri

  • How can we use the standard LDB in custom program.

    Dear all,
    can you please tell me the way , how can we use the standard LDB in custom program.
    Thanks & Regards,
    Jyothi.

    Hi
    You can use the Function module LDB_PROCESS to use the Standard LDB in your Z custome program for further details about using the Standard LDB and accessing the LDB in to the program search SDN
    http://help.sap.com/saphelp_nw04/helpdata/en/64/237f8cd43711d1950b0000e8353423/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/97/b3edb8163111d2953c0000e8353423/frameset.htm

  • Modifications required standard webtemplates

    Hi
    we are uisng standard web templates 0analysis_pattern
    my report out required
    standard web template under that i want use report output with some key figure at report header
    so final output is
    standard web temaplet ( like export excel, infromation)
    then report header like ( what ever i need key figures, variables values at header)
    then my report output
    please let me know what process required

    Hi Suneel
    First of all My suggestion is What ever the Standard Webtemplate  0analysis_patteren u r using , If you modifications in that , Please make a Copy of the webtempleate and what ever the changes you want to made make it and save it with Z name and use the Z webtemplate to solve your requiremnt like adding keyfigures in Header like export excel and all .
    If Further any Clarrification you nee please let me know i can help you out.
    Regards
    Satish

  • How to do the modification in standard ESS/MSS business packges using NWDI?

    Hi Gurus,
    I have requirement where in which set up is ready ESS/MSS business packges are available in NWDI now my question is......
    How to do the modification in certain ESS/MSS standard iviews? using your local machine NWDS?
    How will you download the ESS/MSS iviews that are available in NWDS?
    My EP server version is EP 7.0 and backend ecc5.0......
    Can you guys tell me how to do the changes in standard ESS/MSS stuff that are avaiable in NWDI using your local machine NWDS.
    once the changes is done how you will upload the same into NWDI to reflect the changes globally.
    Its an urgent requirement....Please provide me step by step approach of the same.
    Thanks in Advance,
    Dharani

    Hi Dharani,
         Have a look at my weblog,
    For your 1st Question:
    "How to do the modification in certain ESS/MSS standard iviews? using your local machine NWDS?" -
    1.After you configured your track for ESS/MSS business package in NWDI try importing the track in NWDI by configuring NWDI server in NWDS, goto Windowsàpreferences-Java Development Infrastructure-Development Configuration
    and specify the URL where you have configured your NWDI
    2. create a project for the views which you want to modify.
    3. Checkout and create a new activity for the DC
    4. Make the changes as per your requirement
    5. Checkin the activty once you are done with the changes
    6.Activate and release
    These are all the steps involved in customization of any business package.
    Mail me back if you have any doubts.
    Hope this helps,
    Regards,
    Vinoth.M
    Edited by: Vinoth.Murugaiyan on Feb 13, 2008 3:14 PM

  • Modification in Standard WDA.

    Hi Experts,
    Can we add Custom Field on PO Details in SNC(5.1).The field will be a Display one which would fetch data from R3.
    How can we do this modification as PO details application is standard WDA,please advice how can this be achieve.
    Thankx in advance!
    Regards,
    Sayeda

    Hi Sayeda,
    1). Open any Standard Webdynpro Component to enhance.
    2) If you want to Enhance a method or design a layout on the View, then select the View and then select the View -> Enhance from the menu bar.
    3) Give the Enhancement Name and Description and save it.
    4) After saving you can see that the view would be in inactive state and in the status bar you can see a message like u201CEnhancement implementation XXXXXXXXXX createdu201D. (Where XXXXXXXXXX is the name you had given earlier)
    If you navigate to method tab, you can see Pre-Exit, Post-Exit, & Overwrite Exit.
    a)Pre-Exit u2013 If you write code in this method, it will execute before the standard method executes.
    b)Post-Exit u2013 If you write code in this method, it will execute after the standard method executes.
    c) Overwrite Exit u2013 If you write code in this method, the standard method will be overwritten by this method and only the overwrite exits will work.
    6) Just click on the create button on anyone of the method based on requirement and write your code and activate it and execute the application.      
    Regards,
    Uday

  • Read Dynamic Selections for LDB ADA

    Hi,
    I have a report program using Logical Database ADA, but for performance reasons needed to include a wrapper program , so that the wrapper program schedules a job in case the report is run for huge volume comp codes.
    Now the actual program uses the logical database ADA, which gives them the option of dynamic selections,So needed to add it to the wrapper also, since we they need to have the option to be able to enter conditions in Dynamic selections also. Now How do I pass the dynamic selections made in the wrapper to the actual program.Was planning to export the selection to memory and then import it.
    I schedule the job or run it in foreground based on the selection made using the SUBMIT functionality.
    Would be great if someone can let me know how to read the dynamic selections entered.
    Thank you
    Lalitha

    Hi,
        You have to use SUBMIT statement with FREE SELECTIONS. Declare RSDS structure and fill them.
    Just refer this block, similar type of code
    Re: Reg: SUBMIT WITH Free Selections
    Thanks & Regards
    Bala Krishna

Maybe you are looking for