Selection screen fields are not getting detected in an infoset in code

Hi All,
I am developing an infoset query using logical database 'PNPCE'. I am facing problem while writing a validation on selection screen fields on an infoset query at infoset code level.
The fields that are under program specific selection are determined at runtime with variables viz. SP$00001, SP$00002 etc. There are actually select options on selection screen of an infoset query.
So I cannot write a direct  code on these fields as they do not exist at infoset level and hence cannot be detected.
I want to put down a validation that if user does not select anything on selection-screen and executes the query, then he should get a pop-up message 'Narrow down your search...' and he should go back to selection screen again.
Is there any alternative way to achieve this?

hi,
Your Screen resolution is more in the system that's why while creating it was fine and while executing it was gone after the next field.
so you better create a frame and place that inside it or you can change cols size  in the properties about the columns you want

Similar Messages

  • Selection screen fields are not clearing..!

    Hi all,
    I have created one report which is having a selection screen with four select-options.
    Now after executing the report, when i click on "back" icon the selection screen entries are not clearing even i refresh the select-options also.
    Could any body please help me to resolve this issue??
    Regards,
    Joshu.

    Hi,
    Use FREE MEMORY after the report is printed..
    Check this example..
    PARAMETERS: P_MATNR LIKE MARA-MATNR OBLIGATORY.
    START-OF-SELECTION.
    WRITE: / P_MATNR.
    FREE MEMORY.
    Thanks,
    Naren

  • Data carrier & application field are not getting displayed in CV04N

    Hi Guru's
    In TCode : CV04N,  data carrier & application field are not getting displayed.
    While i compare with my IDES system, data carrier & application fields are getting displayed in CV04N.
    Let me know is there any configuration that has been missed out.
    Regards
    Bhanu

    Hi Bhanu,
    Please note that the fields 'Data carrier' & 'Application field'  are visible only if no document type is entered.
    Suppose you enter a document type and press ENTER then these fields disappear. This is because the field 'Application' was designed when only the storage is archive, vault or SAP-SYSTEM was possible and the number of added originals was limited.
    Currently DMS allows storage of originals on Content Server and there is no limit on the number of added originals, the system behavior was changed due to performance reasons. To avoid performance problems if you search for a document with a lot of originals attached this field gets invisible if you enter a document type which uses the KPRO storage.
    Regards,
    Pradeepkumar Haragoldavar

  • Date and time fields are not getting updated in database

    Hi,
    I am Using the bapi SD_SHIPMENT_HEADER_CHANGE in my program ...
    I  am using bapi_shipemnt_create for creating shipment document but, trying to enter the date fileds using this bapi .
    can anybody please tell me how shud i pass this variables exactly ...
    i tried giving test data and checked this bapi .. the result in changing parameters is also appearing but in databade itself the date fields are not getting reflected ...
    The fields ate DTDIS ,UZDIS, DATEN,UATEN. ( i am trying to map these fields in changing parameters)
              gw_vttkvb_new-mandt = sy-mandt.
              gw_vttkvb_new-tknum = gw_return-message_v1(passing shipment number )
              gw_vttkvb_new-dtdis = gi_ship_doc-dtdis.
              gw_vttkvb_new-daten = gi_ship_doc-daten.
              gw_vttkvb_new-uzdis = gi_ship_doc-uzdis.
              gw_vttkvb_new-uaten = gi_ship_doc-uaten.
              APPEND gw_vttkvb_new TO gi_vttkvb_new.
              CALL FUNCTION 'SD_SHIPMENT_HEADER_CHANGE'
              EXPORTING
                i_tvtk                             =  '
              I_DESTINATION                      =
              I_DEPARTURE                        =
              OPT_DIALOG                         = 'X'
            IMPORTING
              E_SERV_AGENT_FROM_DELIVERY         =
              E_ROUTE_FROM_DELIVERY              =
              E_LEG_DETERMINATION_DONE           =
              E_NUMBER_OF_CHANGED_LEGS           =
                 TABLES
                   c_xvttk                            = gi_xvttk
                   c_yvttk                            = gi_yvttk
                   c_xvttp                            = gi_xvttp
                   c_yvttp                            = gi_yvttp
                   c_xvtts                            = gi_xvtts
                   c_yvtts                            = gi_yvtts
                   c_xvtsp                            = gi_xvtsp
                   c_yvtsp                            = gi_yvtsp
                   c_xvbpa                            = gi_xvbpa
                   c_yvbpa                            = gi_yvbpa
                   c_xvbadr                           = gi_xvbadr
                   c_yvbadr                           = gi_yvbadr
                   i_xtrlk                            = gi_vtrlk
                   i_xtrlp                            = gi_vtrlp
              I_DEPARTURE_SEQUENCE               =
              I_XVTFA                            =
              I_YVTFA                            =
                 CHANGING
                   c_xvttk_new                        = gi_vttkvb_new
                EXCEPTIONS
                  invalid_change                     = 1
                  route_insert_failed                = 2
                  tdlnr_insert_failed                = 3
                  status_planned_failed              = 4
                  status_registrated_failed          = 5
                  status_loading_start_failed        = 6
                  status_loading_end_failed          = 7
                  status_completion_failed           = 8
                  status_shipment_start_failed       = 9
                  status_shipment_end_failed         = 10
                  OTHERS                             = 11.
              IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
             ELSE.
                 **** Save shipment created
               CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
             WAIT          =
                  IMPORTING
                    return        = gw_return.
              ENDIF.
    Regards,
    shilpa talluri .

    Hi,
    Try this
    DATA: wa TYPE zvariant.
    wa-mandt     = sy-mandt.
    wa-z_var     = 'test'.
    wa-projid      = 'test'. 
    wa-relid        = 'test'.
    wa-srtf2       = 'test'.
    wa-clustr      = 'test'.
    wa-clustd     = ''test'. 
    INSERT zvariant CLIENT SPECIFIED FROM wa.
    Raul Natu

  • My Bose Companion 5 speakers are not getting detected in mac pro. They are working fine with other machines (including mac).

    My bose companion 5 speakers are not getting detected on Mac Pro. They are working fine with other machines (including friend's mac)

    Same Issue here. I had a similar issue with my Bose USB speakers when I upgraded to Maverick. I've had the speakers since 2010 and had no issue with my 2006 Mac Pro or my iMac till the Maverick upgrade, contacted both Apple and Bose with no luck but an Apple update fixed the issue.
    I wonder if other USB speakers have an issue or is it just BOSE USB speakers. But my Companions did work fine with my Mac Pro and iMac 27 till the Yosemite update with an initial issue with the Maverick upgrade it was definitely an Apple issue not Bose. I have both Boise Airplay and Blue tooth speakers that seem OK it is only the USB Companions that don't work.
    Will look forward to a solution.
    Thanks,
    Rich

  • CJ20N-fields are not getting updated in table PROJ

    Hi all,
    I have a requirement where I need to transfer the WBS element data created in one system to another using IDOC.
    The idoc has generated sucessfully and was also sent/processed successfully in the recieving system but fields STSPD and STSPR are not getting poulated in table PROJ.
    In the confic I have assigned FM:IDOC_INPUT_PROJECT to the process code.
    Thanks,
    Gaurav

    Hi,
    Please check with the Customer and Material Statistics group in the Customer and material master respectively.
    Further check with the LIS settings (Sales Area combination with the Update group).
    Reward points if this helps you.
    Regards,
    Harsh

  • Selection screen field is not populated without pressing "Enter"

    Hello All,
    I am calling a report from module pool using SUBMIT statement. I have defined a selection screen as subscreen on module pool screen. On this selection screen i have a select option S_BUKRS. When I input company code 1000 and just press execute button on module pool, it is taking me to the report output. But S_BUKRS is not filled before the submit statement and hence report is executing as if S_BUKRS is initial.
    I put a breakpoint and saw that the field S_BUKRS is not filled before calling the repot.
    I re-ran the transaction (module pool) and this time after inputting 1000 in S_BUKRS I pressed enter and then pressed execute button. Now the value is transferred to report since S_BUKRS[] is filled.
    Do I need to press enter key after inputting the values on the selection screen everytime; before pressing the execute button?
    What could be the issue and how can I resolve it?
    I am calling the report in PAI of module pool using statement SUBMIT ZREPORT1 WITH s_bukrs IN s_bukrs AND RETURN.
    Thanks,
    Sandeep

    sandeep akula wrote:
    Hello All,
    > I am calling a report from module pool using SUBMIT statement. I have defined a selection screen as subscreen on module pool screen. On this selection screen i have a select option S_BUKRS. When I input company code 1000 and just press execute button on module pool, it is taking me to the report output. But S_BUKRS is not filled before the submit statement and hence report is executing as if S_BUKRS is initial.
    > I put a breakpoint and saw that the field S_BUKRS is not filled before calling the repot.
    > I re-ran the transaction (module pool) and this time after inputting 1000 in S_BUKRS I pressed enter and then pressed execute button. Now the value is transferred to report since S_BUKRS[] is filled.
    > Do I need to press enter key after inputting the values on the selection screen everytime; before pressing the execute button?
    > What could be the issue and how can I resolve it?
    > I am calling the report in PAI of module pool using statement SUBMIT ZREPORT1 WITH s_bukrs IN s_bukrs AND RETURN.
    > Thanks,
    > Sandeep
    I believe, you should be able to caputre the value of S_BUKRS in AT SELECTION-SCREEN event even if the user executes the program with out hitting Enter key. Make sure that you are including the CALL SUBSCREEN <area> statement in the PAI as the first statement.
    -Rajesh.

  • Input Screen fields are not showing the description

    Hi
    I have copied a program, generated using SQVI, to a Zprogram, say Ztest,  and when I execute this Ztest the description of the fields on selection screen are coming as SP$00001, SP$00002 and so on.
    however if I execute the query made using SQVI the field description are the field descriptions.
    Can anybody help me resolve this, to show the field description in ZTest also.
    Thanks in advance!
    -Rahul

    Hi khanna_rahul,
    since quite a long time (10+ years) I do not use SE38 any longer - partly to avoid such errors as you are confronting now. In SE80 object tree, right mouse click on report, copy, in the popup mark everything, give new name(s) and that was it.
    For you it will be easier to just copy and paste between two sessions of report texts. Don't worry, system will ask for transport.
    Regards,
    Clemens
    N.B.: who does have much time and is willing to use it for useless tasks, will stick to SE38 until SAP removes it.

  • Selection-screen texts are not shown after transporting to QAS server...

    Hello Experts,
    We created a custom transaction for MB52(Display warehouse stocks) named ZMB52.
    After I transported it to QAS server, the texts in the selection screen are shown
    as for example, p_bukrs, etc. When I looked at its text elements, it is maintained
    in German Language. My question is, should I translate it to English? And How do I
    properly transport it.
    Hope you can help me out here guys.Thank you and take care!

    Hi
    Have you created your own Selection screen Text elements
    or you simply copied the Std ones
    If you have created on your own it should have asked for the request and should have been transported with the request
    since you copied them as it is it is not displaying in ENglish language
    Translate to english and see
    otherwise create them in DEV with a request and transport it.
    Reward points for useful Answers
    Regards
    Anji

  • VA02 Dataloss flag is set, when new screen fields are not changed, why ?

    Hi,
    I have added some new fields to the sales order item Additional data B tab.
    When I go into the sales order in change mode (VA02) and navigate to the Additional data B tab and don't change any of the new field values, the system think that I have made changes to the sales order when I press the yellow exit button, I have debugged the transaction and field (SAPMV45B)R185D-DATALOSS is being populated, how can I stop this.
    Any help will be appreciated.
    Thanks
    J-J

    Hi Pascal,
    I guess that the marked fields are the ones you are missing in bi.
    "P" means that the values are extracted but one cannot restrict the values by using the parameter of an info package. Did you try to test the extraction with the rsa3 to see if the extraction locally works no your r/3 system?
    If it works, check if the fields of the data source are contained within your transfer structure. If niot, add them and add the mapping to your targets.
    Regards,
    Yann

  • Screen shots are not getting saved in the desktop

    Hi,
    Unable to capture some screen shots. I am getting the sound of camera-clicks, but not finding them in the desktop. Searched in the finder to locate, whether these are gettiing saved in any other locations, but didn't find. Followed some of the instructions in discussion forum, unsuccessfully.
    Kindly help.

    Hi..
    Try this thread >  https://discussions.apple.com/thread/1755293?tstart=0

  • MSS report not passing values from portal to selection screen fields

    Hello Gurus,
    We have a problem with Sickness Absences report in MSS which is a Z copy of the standard report RPTABS20.
    The problem is when the manager defines the selection criteria and selects the other period dates and under Organizational View - selects All Organizational Units and highlights one org unit and report results, then the report displays the employees which are currently not part of same org unit as selected in selection criteria. But these employees were present in this org unit in past when they took leave, which comes under the same period as given on selection screen. So in a way it seems to be right. But the requirement is to only display the employees which are currently present in this org unit.
    The report seems to be working fine in backend where we specified the same date range and org unit on selection screen.
    On our investigation in portal we came to know that the org unit field on selection screen PNPORGEH is not getting filled with org unit number selected on portal.
    On further investigation in debugging we came across the fm HRWPC_RPT_START_REPORT which calls fm HRWPC_RPT_FCODE_EXEC which in turn calls fm HR_HIS_EXECUTE and it executes the report with following code:
        SUBMIT (repos-repid)  AND RETURN
               USING SELECTION-SET repos-varit
               WITH pnpindex IN objid_ranges
               WITH pnptimed eq ' '
               WITH pnpbegps eq act_begda
               WITH pnpendps eq act_endda
               WITH pnpbegda eq act_begda
               WITH pnpendda eq act_endda
               WITH p_super  eq space.
    Looks like the standard code is not passing the org unit to the selection screen of the report.
    Request you to kindly guide if this is a SAP standard problem or the report is not configured properly ?

    Please check steps as mentioned here
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=199820849
    and report variant, check your evaluation paths if it is being refreshed correctly, click twice to refresh.
    check tje note 1431691
    When the report is launched from
    the portal, the program is reading the table:T77eo for the object
    type-'O' , since there are no entries for the object 'O' in the table,
    the switch INREL is not set, therefore the structure pchobjid is not
    filled while calling the report as shown below. Now I know the
    rootcause, but I don;t know the reason behind the table: T77EO not
    having entries for object "O".
    ==============================================================
        SUBMIT (fcode_rec-progname)
        USING SELECTION-SET fcode_rec-variant
        AND RETURN
                       WITH pchplvar EQ act_plvar
                       WITH pchotype EQ act_otype
                       WITH pchobjid IN pchobjid
                       WITH pchsobid IN pchsobid
                       WITH pchobeg  EQ act_begda
                       WITH pchoend  EQ act_endda
                       WITH pchbegda EQ act_begda
                       WITH pchendda EQ act_endda.
    try to use PNP database for seleciton only these paramters are passed to backend!

  • Select-option value is not getting captured in at selection-screen on value

    In Selection screen , we have Select-option and  a parameter.
    Based on the values given in Select-option, the values of Parameter should get populate.
    To achieve this functionality,
    I  used  At selection u2013screen  on value request  for <parameter>  EVENT and 'F4IF_INT_TABLE_VALUE_REQUEST' Function Module.
    But the Select-option values are not getting captured in this event,unless u press Enter key.
    Is there any other way to achieve this functionality.
    Please Guide me.

    When you call function 'F4IF_INT_TABLE_VALUE_REQUEST'. make sure you send it the name of the screen variable - the F4IF_INT_TABLE_VALUE_REQUEST function calls DYNP_VALUES_READ itself if you tell it the name of your report, screen number, and the variable name... snippet below.
    Jonathan
      data:
        l_repid             type syrepid.
      l_repid = sy-repid.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
          dynpprog         = l_repid
          dynpnr           = '1000'
          dynprofield      = 'S_FIELD-LOW'  "Select options - low value
    * etc

  • Displaying error message while entering selection screen fields

    Moderator message: don't offer points
    hi experts...
    i generated a report.
    in that report, the selection screen fields are plant and material type..
    now my rqmt  is like this :
    if user enters any plant except '8210' in  the selection screen, then a pop up should appear like.. enter 8210 plant only, and the cursor should remain in the same screen allowing user to enter correct plant.
    and then same with the case of material type also..user should enter 'mcfe' material type only..
    im using message classes like this:
    if so_bwkey-low ne '8210' or so_bwkey-high ne '8210'.
      message i000(zts).
      endif.
    if so_mtart-low is not initial and so_mtart-high is not initial and so_mtart-low ne 'mcfe'
       or so_mtart-high ne 'mcfe'.
      message i001(zts).
      endif.
    with this logic, when i enter plant..it is prompting
    1) enter plant 8210 only..
    and then when i press enter key it is again prompting
    2)enter material type mcfe only..
    but iam not entering material type here..
    i want to get 2nd error message if and only if i enter material type..
    help me regarding this issue..
    <<text removed>>
    thanks in advance,
    harini.
    Edited by: Matt on Feb 9, 2009 10:14 AM

    Hi,
    Use Error type message in SELECTION SCREEN EVENT.It will place the cursor in the relevant Field.
    At SELECTION-SCREEN ON SO_BWKEY-Low.
    if so_bwkey-low ne '8210' .
    message E000(zts).
    endif.
    At SELECTION-SCREEN ON SO_BWKEY-HIGH.
    if  so_bwkey-high ne '8210'.
    message E000(zts).
    endif.
    At SELECTION-SCREEN ON so_mtart-LOW.
    if so_mtart-low is not initial and  so_mtart-low ne 'mcfe' .
    message E001(zts).
    endif.
    At SELECTION-SCREEN ON so_mtart-HIGH.
    if so_mtart-high is not initial 
    and so_mtart-high ne 'mcfe'.
    message E001(zts).
    endif.
    This will resolve the issue..
    Regards,
    Gurpreet

  • Selection screen fields in which values have been entered

    Hi All,
    Is there any standard function module which enables us to determine which fields on the selection screen have values entered for them. In other words, I wish to determine which selection screen fields are no longer initial.
    Thanks and Regards,
    Vidya.

    Hi,
    Why cant you simply use in this way?
    if sel_screen_field1[] is not initial.  "for selet-options
    endif.
    if sel_screen_field1 is not initial.  "for parameters
    endif.
    is it not suitable for your case?
    //Kothand

Maybe you are looking for