Values of dynamic selections for LDB DDF

Hi
I have to customize a SAP standard program which is using LDB-DDF. As per client requirement, we have to add a few select statement and there we have to add the selection criteria of dynamic selections.
The problem I am facing is that I dont know how and where i can track the values given in the dynamic selection screen.
I did some research and I found out that values entered in the dynamic selections is stored in complex data object (deep structure) but I am not able to find it where and how we can use it.
The name of the SAP standard program is RFDZIS00.
Thanks in advance
Bhav

Hi,
In SE36-> DDF-> select the Selections radio button.
Menubar Extras->Selection Views-> Here you can change the "origin of view" which is created by SAP or we can create our own views under "origin of view" CUS.
Best Regards,
Mohan,

Similar Messages

  • 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

  • Restrict selection from LDB 'DDF' based on FI Doc number(BELNR)?

    Hi all,
    I am trying to restrict selection from LDB 'DDF' based on FI Doc number(BELNR).
    Even if i pass only one document number in selection-screen, the program is still printing lot of documents?
    Where I am going wrong?
    *& Report  ZSUB_READ_LDB
    REPORT  ZSUB_READ_LDB.
    DATA wa_BSEG TYPE BSEG.
    SELECT-OPTIONS s_BELNR FOR wa_BSEG-BELNR.
    DATA: callback TYPE TABLE OF ldbcb,
    callback_wa LIKE LINE OF callback.
    DATA: seltab TYPE TABLE OF rsparams,
    seltab_wa LIKE LINE OF seltab.
    callback_wa-ldbnode = 'BSEG'.
    callback_wa-get = 'X'.
    callback_wa-get_late = 'X'.
    callback_wa-cb_prog = sy-repid.
    callback_wa-cb_form = 'CALLBACK_BSEG'.
    APPEND callback_wa TO callback.
    CLEAR callback_wa.
    seltab_wa-kind = 'S'.
    seltab_wa-selname = 'BELNR'.
    LOOP AT s_BELNR.
      MOVE-CORRESPONDING s_BELNR TO seltab_wa.
      APPEND seltab_wa TO seltab.
    ENDLOOP.
    CALL FUNCTION 'LDB_PROCESS'
      EXPORTING
        ldbname                     = 'DDF'
        variant                     = ' '
      TABLES
        callback                    = callback
        selections                  = seltab
      EXCEPTIONS
        ldb_not_reentrant           = 1
        ldb_incorrect               = 2
        ldb_already_running         = 3
        ldb_error                   = 4
        ldb_selections_error        = 5
        ldb_selections_not_accepted = 6
        variant_not_existent        = 7
        variant_obsolete            = 8
        variant_error               = 9
        free_selections_error       = 10
        callback_no_event           = 11
        callback_node_duplicate     = 12
        OTHERS                      = 13.
    IF sy-subrc ne 0.
      WRITE: 'Exception with SY-SUBRC', sy-subrc.
    ENDIF.
    *&      Form  CALLBACK_BSEG
          text
         -->NAME       text
         -->WA         text
         -->EVT        text
         -->CHECK      text
    FORM CALLBACK_BSEG USING name TYPE ldbn-ldbnode
    wa TYPE BSEG
    evt TYPE c
    check TYPE c.
      CASE evt.
        WHEN 'G'.
          WRITE: / wa-BELNR.
          ULINE.
        WHEN 'L'.
          ULINE.
      ENDCASE.
    ENDFORM.                    "CALLBACK_BSEG

    Hi Andreas,
    I have included bukrs and gjahr too...but if I input only one invoice number the report is printing a lot of invoices.
    Not sure from where the data is being picked up?
    Sorry of poor formatting of code.
    Thanks ,
    Subba
    *& Report  ZSUB_READ_LDB
    REPORT  ZSUB_READ_LDB.
    TYPE-POOLS: RSDS, RSFS.
    DATA wa_BSEG TYPE BSEG.
    SELECT-OPTIONS s_BELNR FOR wa_BSEG-BELNR.
    SELECT-OPTIONS s_BUKRS FOR wa_BSEG-BELNR.
    SELECT-OPTIONS s_GJAHR FOR wa_BSEG-BELNR.
    DATA: callback TYPE TABLE OF ldbcb,
    callback_wa LIKE LINE OF callback.
    DATA: seltab TYPE TABLE OF rsparams,
    seltab_wa LIKE LINE OF seltab.
    DATA: TEXPR TYPE RSDS_TEXPR,
    FSEL TYPE RSFS_FIELDS.
    start-of-selection.
      callback_wa-ldbnode = 'BSEG'.
      callback_wa-get = 'X'.
    callback_wa-get_late = 'X'.
      callback_wa-cb_prog = sy-repid.
      callback_wa-cb_form = 'CALLBACK_BSEG'.
      APPEND callback_wa TO callback.
      CLEAR callback_wa.
      seltab_wa-kind = 'S'.
      seltab_wa-selname = 'BELNR'.
    *seltab_wa-LOW =
      LOOP AT s_BELNR.
        MOVE-CORRESPONDING s_BELNR TO seltab_wa.
        APPEND seltab_wa TO seltab.
      ENDLOOP.
      seltab_wa-kind = 'S'.
      seltab_wa-selname = 'BUKRS'.
    *seltab_wa-LOW =
      LOOP AT s_BELNR.
        MOVE-CORRESPONDING s_BUKRS TO seltab_wa.
        APPEND seltab_wa TO seltab.
      ENDLOOP.
      seltab_wa-kind = 'S'.
      seltab_wa-selname = 'GJAHR'.
    *seltab_wa-LOW =
      LOOP AT s_BELNR.
        MOVE-CORRESPONDING s_GJAHR TO seltab_wa.
        APPEND seltab_wa TO seltab.
      ENDLOOP.
      CALL FUNCTION 'LDB_PROCESS'
        EXPORTING
          ldbname                     = 'DDF'
          variant                     = ' '
          EXPRESSIONS                 = TEXPR
          FIELD_SELECTION             = FSEL
        TABLES
          callback                    = callback
          selections                  = seltab
        EXCEPTIONS
          ldb_not_reentrant           = 1
          ldb_incorrect               = 2
          ldb_already_running         = 3
          ldb_error                   = 4
          ldb_selections_error        = 5
          ldb_selections_not_accepted = 6
          variant_not_existent        = 7
          variant_obsolete            = 8
          variant_error               = 9
          free_selections_error       = 10
          callback_no_event           = 11
          callback_node_duplicate     = 12
          OTHERS                      = 13.
      IF sy-subrc ne 0.
        WRITE: 'Exception with SY-SUBRC', sy-subrc.
      ENDIF.
    *&      Form  CALLBACK_BSEG
          text
         -->NAME       text
         -->WA         text
         -->EVT        text
         -->CHECK      text
    FORM CALLBACK_BSEG USING name TYPE ldbn-ldbnode
    wa TYPE BSEG
    evt TYPE c
    check TYPE c.
      CASE evt.
        WHEN 'G'.
          WRITE: / wa-BELNR.
          ULINE.
        WHEN 'L'.
          ULINE.
      ENDCASE.
    ENDFORM.                    "CALLBACK_BSEG

  • Dynamic selections for the FBL5N report

    Hi Experts,
    Can any body help how to add the account assignment group field in dynamic selections for the FBL5N report.
    rgds / Srini

    Hi Alex,
    Thanks for your quick response, here for the report FBL5N the logical database is DDF and the field which should be add in dynamic selection is (KTGRD) account assignment group is available in KNVV table but this table is not available in DDF logival database.
    Please suggest us how we can pickup this field into the report FBL5N for dynamic selections.
    regards / Srini

  • How To Document: Dynamic selection for InfoSpoke

    Hello
    I have downloaded and read the "How To" document: Dynamic selection for InfoSpoke & Use InfoSpoke Badi to correct KYF format
    link: https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/01d3a090-0201-0010-9783-bc33ab690e70&overridelayout=true
    I'm mostly interested for the dynamic selection part of the document and the code for that seems to be stored in an attached text document (ZLX_ESS_INTERFACE.txt). The problem is that i cannot actually view it or any other txt in the pdf.
    Can anyone who has got the txt file link it here please or suggest a program that would dynamicaly change the infospoke selections?
    Actualy i'm not interested in having an input screen for filling the variable value, i just want to get the value from an ODS
    any suggestions?
    Thanx in advance
    Fragi

    Hello
    I have downloaded and read the "How To" document: Dynamic selection for InfoSpoke & Use InfoSpoke Badi to correct KYF format
    link: https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/01d3a090-0201-0010-9783-bc33ab690e70&overridelayout=true
    I'm mostly interested for the dynamic selection part of the document and the code for that seems to be stored in an attached text document (ZLX_ESS_INTERFACE.txt). The problem is that i cannot actually view it or any other txt in the pdf.
    Can anyone who has got the txt file link it here please or suggest a program that would dynamicaly change the infospoke selections?
    Actualy i'm not interested in having an input screen for filling the variable value, i just want to get the value from an ODS
    any suggestions?
    Thanx in advance
    Fragi

  • The dynamic selection for profit center in FBL1N isn't working

    Dear all,
    I have one one issue regarding FBL1N.
    The dynamic selection for profit center in FBL1N isn't working.
    If we enter profit center, we don't get any value.
    As per developer after debugging, table BSIK is not getting updated, hence values are not updating in the report.
    Please let me know, any configuration is missing.
    BR,
    Shailendra

    Try BSEG and see if its there for the particular doc. If its not there its a functional issue, you have to capture profit center at the time of entry. You can either make the profit center field mandatory or substitute it at the time of document generation. Consult your FI consultant. If u have activated New GL features the profit center may me in table FAGLFLEXA. but i don't think u can get the profit center from this table for your purpose, you may need to develop a zreport.
    And its not BISK its BSIK
    Edited by: Harisankar S on May 4, 2010 3:05 PM

  • Dynamic selections in LdB FMF

    Hello Guys,
    I hope some of you will be using the LdB FMF and the many SAP reports that use FMF. It is in Funds Management, specifically for Public sectors.
    There are some transactions for the program RFFMEPGAX. When any of these transactions or program is executed, the selection screen comes up with some PRE-DETERMINED NODES for dynamic selections. There are about 20+ nodes for FMF, but the dynamic selections are available only for 5 nodes.
    I am not able to figure out where and how these nodes are restricted. I need to make few other fields available for dynamic selections. I hope some of you will be able to help me out.
    Thank you all for your time.
    PS: I am not sure, but think FMF is available only in Enterprise.

    The nodes for dynamic selection that are displayed are the nodes that the program is using.  Try this simple program that uses LDB FMF:
    REPORT  zcdf_ldb_test.
    TABLES: fkrs, ffnd.
    WRITE: sy-datum.
    I get dynamic selections for only these 2 tables.  Keep adding tables and you get more nodes for dynamic selection.  So when you see 5 nodes, the selection screen is trying to tell you that only those 5 tables are used by the program.  Making more available that the program does not use would be misleading to the user.
    You can use transaction SE36, and do a where used on LDB FMF to find other programs that use this LDB and execute them to see how the number of dynamic nodes changes.
    In SE36, click on Selections to see all of the tables available for dynamic selection.
    Is this the information your were looking for?

  • Dynamic Selections in LDB PSJ

    Hi,
    I am trying to use the LDB PSJ in one of my custom Reports,
    We are interested only in the "Dynamic Selections" part of the LDB.
    Right now the report works fine without any LDB assigned,but once the LDB is assigned,
    the report code does not get executed. Am assuming the LDB is doing some check and exiting
    without executing the report code.
    The selection screen is not modified, i.e it still displays my custom Selection screen
    and not one by the LDB.
    Is there some way of disabling this selection or this check.
    and also how do I go about programming to use the fields selected in the dynamic selection
    for my select statments.
    Am assuming will be able to get the fieldname once the user selects it ,and then will be able to us them
    Appreciate any input
    Thank u
    Lalitha

    Had u got the solution , i am facing the same problem
    Thanks

  • Selection-screen dynamic selections for dtab

    Hey experts,
    when I add this to my code
    selection-screen dynamic selections for zbr_t_autori
    and I want activate it, it writes out an error
    The addition "DYNAMIC_SELECTIONS" is only allowed in INCLUDE DB__SSEL.
    and I don't know how to solve it, what is that include db__ssel?
    Can anybody help me.
    Regards,
    Robert

    Check this:
    Structure of Logical Databases - ABAP Programming (BC-ABA) - SAP Library
    Where are you using this code?
    selection-screen dynamic selections for zbr_t_autori
    It should be in the include reserved for your LDB selection:

  • Dynamic selection using LDB

    Hi,
    I want to include two fields of custom infotype in dynamic selection of LDB so that they are handeled automatically by LDB while selection.
    can anyone tell me how to achieve the same?
    Thanks
    -Aleria

    Thankyou for the reply. However, can you plz tell me the step to followfor addition of fields after copying the LDB.
    -Aleria

  • How to extend dynamic selection for Logical Database PNPCE

    Hi All,
    I need to extend dynamic selection for Logical Database PNPCE. Can someone able to help with steps?
    Thanks
    Ranjith

    Hi All,
    I need to extend dynamic selection for Logical Database PNPCE. Can someone able to help with steps?
    Thanks
    Ranjith

  • Dynamic select for all entries?

    Hi!
    Is it possible to do a dynamic SELECT FOR ALL ENTRIES IN... command?
    sg. like:
      DATA:
        select_text TYPE string,
        from_text TYPE string,
        where_text TYPE string.
      SELECT FOR ALL ENTRIES IN <gt_table1> (select_text)
      into corresponding fields of table <gt_table2>
      FROM (from_text)
      WHERE (where_text).
    Thanks and Best Regards,
    Tamas

    Hi,
    you can use the Dynamic Selects for FOR ALL ENTRIES, but i think you may need to use the correct Internal table to match the tabel structure
    Regards
    Sudheer

  • Dynamic Selections for the F.42 report

    Hii Experts,
    I want to add a field called Business Place(BUPLA) in dynamic Selection in tcode F.42.
    So, in F.42 KDF Logical Database is used, so i make a Custom Selection view for KDF database.
    Business place is successfully added in Dynamic Selection, but it doesn`t reflect when i execute F.42.
    When i test from SE36, it reflects.
    Nitin Garg

    Note 50370 explains in full detail how the system works for selecting the documents with dynamic selection.
    Balance report reads the transaction figures which are stored with the help of several different fields, so the selection according to further fields cannot be proceed. This is standard design.
    The dynamic selection for Document Data does not work for reports which use customer / vendor transaction tables (KNC1 LFC1),i.e., document data like doc.number and Doc.date is not stored in transaction tables.
    Dynamic selections can only be used with customer / vendor, company code
    or fiscal year fields.  The following reports are affected by this
    program design.
    S_ALR_87012186 - Customer sales
    S_ALR_87012082 - Vendor Balances in Local Currency
    S_ALR_87012093 - Vendor Business
    S_ALR_87012079 - Transaction Figures: Account Balance
    S_ALR_87012080 - Transaction Figures: Special Sales
    S_ALR_87012081 - Transaction Figures: Sales
    S_ALR_87012105 - List of Down Payments open at Key Date - Vendors
    S_ALR_87012172 - Customer balances in local currency
    RFKSLD00       - F.42
    RFDSLD00       - F.23
    Hope this clarifies.
    Kind Regards
    Soumya

  • Dynamic selections in LDB

    Hi,
    I am using logical database PSJ. I need to use dynamic selections for fields PROFIT CENTER,COST CENTER.
    But not PROJECT,WBS ELEMENT ETC. For this u can run the transaction s_alr__87013573 .
    Kindly help me imm

    Use
    Loop at screen.
    if screen-name = 'XXX'.
    screen-active = 1.
    endif.
    modify screen.
    Endloop.

  • Dynamic Selection for FBL1N and FBL5N reports

    Dear all,
    is it possible to show more fields in Dynamic Selection for FBL1N and FBL5N reports?
    Thanks in advance
    Alberto

    Dear Alberto,
    Please refer to the SAP note 310886. In the note you should be able
    to see how to add fields in to the dynamic selection , and the fields,
    which are available for this.
    I hope this can help You.
    Mauri

Maybe you are looking for

  • Itunes 10.6.1

    I cant download itunes 10.6.1?? It goes through the wizard then i get a error message saying it hasnt finished installation?? Help!! i want to update my ipod touch4 to the latest software... but i need itunes 10.6.1 :-(

  • Power Mac G5 dual 2.0ghz (late june 2004) - trouble upgrading video card

    Hi, I'd really appreciate any help. I have a PowerPC G5 Tower, dual 2.0 GHz, DVI/AGP version (June 2004 model) with 8gb ram. I recently got the Apple 30" monitor and wanted to run it along side my 20" apple monitor, so I bought the ATI Radeon 9650 du

  • Display as Key and Name Not working properly after upgrade to Bi7.0

    Hi Bw Guru's Recently we have upgrade our BW 3.5 system to BI 7.0 (Only system upgrade not applications ). after the upgrade we are facing lot of issues with Bex Analyzer. The following are some of the issues 1) In BW3.5 after the execution of Workbo

  • How to add new driver to create master repository database

    Dear All, i want to creade ODI Repositroy Database on SQL SERVER, when i click the driver button in "Create Repository Wizard" the only driver i found for sql serve ris just able to connect to sql server 2000 i got a driver written by microsoft to co

  • Singing XML Data with PKCS#7 with SHA1withRSA

    Dear All I am using the following code to sign xml message with PKCS#7 with SHA1withRSA. But I am facing bad signature error from the server, they are telling me that this is signed correctly. Please can anybody give some idea that i doing correctly