Working with LDB without selection screen

can' we take input through file without any selection screen when we are working with LDB?
Please focus on this.
Regards
vamsi.

Hi,
yes, u can make use of :
SET PARAMETER ID command.
SET PARAMETER ID pid FIELD dobj.
Effect:
This statement sets the content of the SPA/GPA parameter specified in pid to the content of the data object dobj. For pid, a flat character-type field is expected that can contain a maximum of 20 characters, which cannot be exclusively blank characters. pid is case-sensitive. For dobj, a flat, (as of release 6.10 character-type) field is expected, whose binary content is transferred in an unconverted format.
If the SPA/GPA parameter specified for the current user in pid does not yet exist in the SAP memory, it is created. If the SPA/GPA parameter has already been created for the current user, its value is overwritten.
In a program, SPA/GPA parameters can only be created or assigned values if a name exists for them in the table TPARA. The extended program check reports an error if it can statically determine that a name specified in pid is not contained in the database table TPARA. ist.

Similar Messages

  • Including User selection criteria along with LDB standard selection screen

    Hi
    While creating a HR report, along with the standard selection screen, if the cusomer requires some more fields to be added, How to retrive the data from the DB?
    Is it the way to retrive the data based on Standard selection criteria from the LDB and then filter it based on user criteria or any other way?
    Please help me out in this regard.
    Thank you.

    Yes thats the way. You get the data based on Selection screen of LDB (You can select Report Catogory you wish to) once you get data, You can put CHECK statement to see the data against PXXXX type to the filter value from you custom field on selection screen.

  • Run alv report without selection screen in background

    Hello Every body,
    i programmed a ALV Report without selection screen, and i want to create a job for this alv report.
    Any help?
    Thank u.
    Ouail.

    Hi Steve,
    Can you tell me where i have to put your code?
    this is my abap code:
    START-OF-SELECTION.
       p_filref = '\\SAPSERVER\f\SAFT\ivat\FI_Extract_1000_20140709_102346_910.XML'.
       PERFORM copy_from_xml_to_itab TABLES it_ref_file
                                     ref_xml_data
                                     USING p_filref.
    **Begin Extraction File
       SUBMIT ZZ_FI_IVAT_EXTRACTOR
       WITH p_bukrs EQ '1000'
       WITH p_gjahr EQ '1998'
       WITH filepath EQ '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
       WITH cldata eq space
       AND RETURN.
       DATA: FILE_TABLE  TYPE TABLE OF SDOKPATH,
       DIR_TABLE  TYPE TABLE OF SDOKPATH.
       CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
         EXPORTING
           DIRECTORY  = '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
           FILTER     = '*.*'
         TABLES
           FILE_TABLE = FILE_TABLE
           DIR_TABLE  = DIR_TABLE
         EXCEPTIONS
           CNTL_ERROR = 1
           OTHERS     = 2.
       IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
       "get file name
       LOOP AT FILE_TABLE INTO p_filref.
       ENDLOOP.
       CONCATENATE '\\SAPSERVER\f\SAFT\iVAT_Extractie\' p_filref INTO path.
       PERFORM copy_from_xml_to_itab TABLES t_ext_file
                                     ext_xml_data
                                     USING path.
       PERFORM fill_xml_tab_in .
       perform build_fieldcatalog.
       PERFORM compare_data_ref_ext.
       PERFORM send_email.
       perform display_alv_report.
       PERFORM delete_extraction_file.
    in the perform copy_from_xml_to_itab TABLES it_ref_file......, i use this code:
       CREATE OBJECT gcl_xml.
    *Upload XML File
       CALL METHOD gcl_xml->import_from_file
         EXPORTING
           filename = p_filref
         RECEIVING
           retcode  = gv_subrc.
       IF gv_subrc = 0.
         CALL METHOD gcl_xml->render_2_xstring
           IMPORTING
             retcode = gv_subrc
             stream  = gv_xml_string
             size    = gv_size.
         IF gv_subrc = 0.
           REFRESH gt_xml_data[].
    * Convert XML to internal table
           CALL FUNCTION 'SMUM_XML_PARSE'
             EXPORTING
               xml_input = gv_xml_string
             TABLES
               xml_table = gt_xml_data
               return    = gt_return.
         ENDIF.
       ENDIF.

  • Hiding field in LDB PERAS selection screen

    Hi all,
    I need to generate a report on which I wanted to use the LDB PERAS to help me for the data selection.
    But I don't want to use the "selection criteria" selection block of LDB PERAS selection screen.
    On which there are criteria such as:
    1. Personnel Number
    2. Employment Status
    3. Personal Area
    4. Personal Subarea
    5. Employee Group
    6. Employee Subgroup.
    Is there anyway to hide the "selection criteria" selection block?
    Many Thanks

    Hi,
    Test the following Sample Code it is working Fine for me.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        if  screen-name = '%_PNPPERNR_%_APP_%-TEXT' " For Text Lable
         or  screen-name = 'PNPPERNR-LOW'                     " For Text Field
         or  screen-name = '%_PNPPERNR_%_APP_%-VALU_PUSH'. " For Extension Button
          screen-active = '0'.
          screen-invisible = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Please Reply if any Issue,
    Best Regards,
    Faisal

  • Without selection screen how can we featch the file.

    Hi all,
         without selection screen(parameter,select-options iam not using these both.) how can we featch the flat file what ever it may be (file format is xls.textor any thing) how ot do...plz it's urgent for me.
    Regards,
    Krishna,

    Hi varun,
      this is my sample code.here we are geting selection screen.without selection screen hoe to get file from out internal table.
    plz gothrough this code and replay to me varun.
    tables:pa0002.
    type-pools:truxs.
    *data:W_TRUXS_T_TEXT_DATA TYPE TRUXS_T_TEXT_DATA ,
         it_p0001 type standard table of pa0001.
    TYPES: BEGIN OF it_p0002,
            pernr like pa0002-pernr,
            nachn like pa0002-nachn,
            vorna like pa0002-vorna,
           end of it_p0002.
    DATA: t_p0002 type standard table of it_p0002,
          wa_p0002 type It_p0002.
    DATA: it_raw TYPE truxs_t_text_data.
    SELECTION-SCREEN BEGIN OF BLOCK S_BLK WITH FRAME TITLE TEXT-000.
    parameters: P_EXCEL   TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN end OF BLOCK S_BLK.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_EXCEL.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       PROGRAM_NAME        = SYST-CPROG
       DYNPRO_NUMBER       = SYST-DYNNR
       FIELD_NAME          = 'P_EXCEL'
    IMPORTING
       FILE_NAME           = P_EXCEL .
    START-OF-SELECTION.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
      I_FIELD_SEPERATOR          =
       I_LINE_HEADER              = 'X'
        I_TAB_RAW_DATA             = it_raw
        I_FILENAME                 = p_excel
      TABLES
        I_TAB_CONVERTED_DATA       = t_p0002[]
    EXCEPTIONS
       CONVERSION_FAILED          = 1
       OTHERS                     = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    end-of-selection.
        loop at t_p0002 into wa_p0002.
           write:/ wa_p0002-pernr,
                   wa_p0002-nachn,
                   wa_p0002-vorna.
        endloop.

  • How to create a variant for a program without selection screen

    Hi All,
    I've created one program which takes the data from 30 tables and loads into one final table.
    This program is already moved to Production.
    But while creating variant it's not allowing, since the program doesn't have the selection screen.
    Is there anyway where I can create a variant in production without selection screen directly as the program code is already moved to production.
    Thank You,
    Regards,
    Karthik.Ch

    Hi ,
    Are you running this program in a process chain??

  • When i use view as list in finder and open a folder with many files i cant right click with mouse without selecting or highlighting a file....i just want to right click to paste an item or create a new folder...what can i do?

    When i use view as list in finder and open a folder with many files i cant right click with mouse without selecting or highlighting a file....i just want to right click to paste an item or create a new folder...what can i do?

    Thx for that im gonna try it....but is there a way to do it without using toolbar or cmd-c...? i mean using only the mouse?why does it have to highlight the file even though i click a bit next to it....?using icon view i can right click next to the folder and i wont have a problem but with list view that i prefer using it will highlight the whole row.....and i dont find free space to right click cause i got many files

  • Execute transction without selection screen

    Hi,
    I've created a transaction in SE93 and i use it with a variant for the selection screen. When i run the transaction, the selection screen is displayed and the values of my variant are setted into the fields.
    I don't want to display the selection screen, I want to skip it and display directly the first dynpro of my program.
    Does someone know how to do it ?
    Thanks

    Hi,
    Instead of creating 2 transactions and creating a program to call the original transaction. I would suggest you create a program write a *SUBMIT USING SELECTION-SET vari *
    So create just one original transaction which will call the program created above which will intrun submit the original program.
    Program A is original with all the selection screen.
    Create a variant for this program
    Program B
    Submit 'A' using selection-set vari.
    Create T-code ZABC for program B.
    regards,
    Advait
    Edited by: Advait Gode on Feb 2, 2009 3:02 PM

  • Does the curricula work with or without the SAP software?

    Hi! As a faculty member... does the curricula work with or without the SAP software? Is it better to lecture with the software or can I get by without it?
    If I'm part of a member university how many students can I provide access to the software? Are there any limitations?
    Also, I'm based in Philadelphia with connections to the 2nd largest university... Can I pick my UCC or will it be assigned to me? I'm open to either one!
    Many thanks!
    Richard

    Hi Everyone,
    One key intent of this community is to present curriculum resources for lectures of either type - with access to SAP software for the professor and students in classroom and lab environements OR without access to the software.
    The former, with SAP software access, requires formal membership in our long-standing University Alliances program (UAP). With this membership, professors receive special access to curriculum elements designed to be dependent on use of SAP software (an of course access to everything in our community).
    The latter, without SAP software access, requires simply registration in this new University Alliances community (UAC). This community makes many resources available to professors to integrate into their business and IT-related lectures and projects - including pre-recorded demos, videos, expert and analyst reports, articles, white papers, customer reviews, references, and case studies, etc.
    The curren state of the site is like a start-up. There is a lot on offer, but we also expect that there is a lot more out there to grow. We know there are many elements which we can make available to the worldwide community once they are contributed. We are actively approaching professors in our networks now for items.
    We would be grateful for anyone that we have not contacted to come forward and offer content of their own, for the UAP members or for the greater UAC.
    Thanks and Best Wishes
    Bob LoBue

  • LDB-PNP Selection Screen

    Hi Experts,
    By mistake the HR  Report Category "HRINCLMS" in LDB selection screen was changed. Now I am trying to change the same but it is not allowing.
    After executing the "HINCREMS" program.In standard program, The selection screen 1st block should be KEY DATE with fields TODAY and OTHER KEY DATE . But due to some changes it is showing PAYROLL PERIOD BLOCK with fields CURRENT PERIOD and OTHER PERIOD(remining blocks are coming correctly).
    This is because in the HR  Report Category "HRINCLMS" the person selection  period should be KEY DATE. But defaultly it is taking as NO ENTRY and I am not able to edit the person selection period it is not in editable mode.
    Its effecting whole hr screen. Please can any one help me to resolve the problem.
    Thanks,
    Shafi.

    And what you said is also right.
    This is a tricky one, and I don't know but maybe it is a bug. I tried modifying it in my development system and as soon as i hit enter the value of Person Selection Period is toggling automatically to 'No entry'.  So, in my opinion you have two options here:
    1) Modify the value via debugging. In this case you have to go to SE16 and display the record for RECPL => HRINCLMS and then set the value for XXXPS to 1
    2) The other way is choosing the following options:
         a) Data Selection Period = Key Date
         b) Person selection period = No entry
         c) Payroll Area = No entry
    Best Regards
    Edited by: Jose Maria Otero on Nov 24, 2011 11:28 AM

  • Problem with PNP customized selection screen

    Hi guys,
    I have done a report in R/3 system using logical database PNP with customized selection screen. i have 3 parameters as below:
    1. radiobutton1 group a for current period,
    2. radiobutton2 group a for other period.
    3. personnel number.
    my program works fine in R/3 but not in my portal. i think it couldn't recognize my radiobutton in my customized screen. whichever radiobutton i selected also it would return current month records.
    any idea how to fix this?
    any configuration that i can do?
    thanks.

    try testing it through ITS first.
    in order to do so . Go to sicf transaction and run webgui. Then run the application using the tcode. Check the results.
    Seems wrong paramter are getting passed to the SAP system.
    Your ITS server should be activated first in order to use webgui otherwise you will be getting dump.
    Regards
    Atul Shrivastava

  • How to work with Alphanumeric Editor in Screen Painter?

    Hello Guys,
    I am trying to work on Screen Painter Layout and it's showing me that Graphical Screen Editor is not
    available and continue working with Alphanumeric Editor.I don't know how to work on this.Guys,
    Please let me know why is the message and what can we do about it.
    Thanks in advance,
    Sri

    Somtimes you will get this message if something got screwy with your SAPgui, for me simply closing out of SAPgui and going back in has fixed this issue.  If you do not know for sure that your SAPgui had been installed including the screen painter, then you should start there.  You will need the SAPgui installation executable, either from CDs or a downloaded file.  Run the SAPgui installation, and make sure to select the screen painter as part of the install, i believe it is under "development tools" in previous versions.  In newer versions I believe it is installed by default, but I do no for a fact that it is not this way in earlier releases, such as the 46D gui.
    So for make sure that Screen Painter has been installed with your SAPgui, if you are sure that it had been installed, perhaps it was working fine yesterday, then I would suggest first closing out SAPgui, and going back in, and trying the screen painter, If the problem persists, it may be worth it to reinstall the gui.
    Regards,
    Rich Heilman

  • LDB  PNP, selection screen, org structure field name ?

    Hi,
    Generally, what are the names of the additional selection-screen fields? There are twenty odds pnp...., the standard ones. But what is the name of the org. structure, the 4th button selection options group fiels? (I need ids of all Org units from org. structure subtree, or the root org id at least)
    Thanks,
    Piotr

    ...this it is with headerline...
    Sergey big spasiba
    Piotr

  • How to save varaint in a report program with tabstrip in selection-screen

    Hi Gurus,
    We have a custom report program and selection screen of this program has a tabstrip of 9 tabs. This program will run in background job and we are facing problem to save variant for this report program. 
    We saved one variant with 'TAB2' populated. But when we execute the report and select that variant and we are not navigated to 'TAB2' automatically. So, code for TAB2 is not triggerd and we are not getting desired output.
    When we set this program with variant in Job, program is not navigated to 'TAB2' as per variant setup.
    Is there any way to save variant for this kind of report ?
    Please help with your suggestions
    Thanks & Regards
    Chandan

    Thanks for your help.
    I found during debugging that it is holding the sy-ucomm of the first tab as default value.  So, I declared a new field in selection screen with No-Display option. When user will select a tab, this new field will hold the value of that sy-ucomm. As this field is in selection screen, it is getting stored in variant also.
    In start-of-selection of program I am checking this field value and accordingly set the TABSTRIP.
    Thanks again for your help.....
    Regards,
    Chandan

  • LDB ADA - Selection Screen

    Hello Experts,
    I need to change the selection screen in area the Settings. The field Depreciation Area is a PARAMETER. I want to change this in SELECT-OPTIONS. Is it possible ?
    for example report SAPDBADA.
    Thanks you...

    Hi Namorr,
    You can copy this as a custom one and try. Only change here wont work, inside the report while bringing data also should change.
    Regards,
    Madhu.

Maybe you are looking for

  • WRT600n

    My laptop is currently using a Netgear USB WG111v2 802,11g wireless adapter (the laptop's internal wirless G adapter died) with the WRT600N. Usually on powering up the laptop, I initially can't get any internet access at all, even though the Netgear

  • Cover Flow - can it have a black background?

    I've just bought a 3rd generation Nano (product RED version) and I'm really pleased with it. I do have one question though - can Cover Flow on the Nano have a black background? I'm sure I've seen the 3rd gen Nano working with a black Cover Flow backg

  • Change mm/dd/yyyy to dd/mm/yyyy when selecting date via dateSelector??

    Hi Experts,     i have attribute of date type that has been binded to input field in a web dynpro Java application. when application is executed user can select a date via DateSelector that appears automatically. Problem is after the date has been se

  • Annotations disabled in JDeveloper 11.1.2

    I have installed JDeveloper 11.1.2.0 and I try to create a ManagedBean(PageFlowScope) with annotations, but this option is disabled. I don't want to work with the configuration file anymore.

  • IPhone crashes on Apple ID access

    iMessage says waiting for activation.  To troubleshoot, I try to go to settings/iTunes App Store and log out then into my apple id. When I do this, the iPhone crashes and I have to power on.  Any ideas?