Restricting blank entry in table

Hi All,
how to resctrict the blank entries in key field of the table? i.e if user leaves one of the key fields blank while creating the entry it should not allloe so.
Please reply
Regards
Saurabh

Amit,
That is not a true statement.  SAP does not validate that all key fields have been filled.
Saurabh,
You will need to add screen validations in your code.  Something like:
if the_current_field is initial.
  message i000 with 'Please enter a value'.
  exit.  "to prevent the DB update from occurring
endif.

Similar Messages

  • Blank entry in table t512z

    Hi,
    We have a blank entry in t512z in production, and in development its not allowing us to create an blank entry.
    Can any one suggest me how to remove this blank entry from production.
    Thanks
    Veer

    goto se16 and display all the values in T512Z not in V_t512z.
    Please let us know if all the columns are blank.
    I think it should be because of the prev WT in the table is delimited and new entry is created.
    Thanks,
    Amosha

  • Avoid blank entries in table maintenance

    Hello Folks,
    I have created a custom table where it contains 5 fields(2 key fields & 3 radio buttons).
    When i try to maintain a new entry
    1) Its taking all the blank fields as entries, resulting in the error(Entry already exists)
    2) I see all the lines are defaulted with radio button.
    Please suggest on how to avoid this error.

    Hi Nishanth,
    Then in the CHAIN ENDCHAIN of the Maintenance screen, add a MODULE VALIDATE.
    i.e.
    CHAIN.
    FIELD MATNR MODULE VALIDATE.
    FIELD QTY      MODULE VALIDATE_QTY
    ENDCHAIN.
    MODULE VALIDATE.
    if matnr is initial.
    message 'Enter Material' type 'E'.
    ENDMODULE.
    MODULE VALIDATE_QTY.
    if qty is initial.
    message 'Enter Qty' type 'E'.
    ENDMODULE.
    Best regards,
    Prashant

  • No entry in table T001P for key - PT60

    Hi Folks,
    I´ve got the same error people have reported since some time in this forum, but I didn't find a clear reason or way to fix the issue.
    The error "No entry in table T001P for key" is displayed for only 1 employee during time evaluation.I've checked table T001P, IT 0001, IT 0007, and everything seems tom be OK. I have other employee in same Work Schedule and other guy with same information in IT0001, but only this guy has the issue.
    In other thread someone put "Make a blank entry in table and this fixes the issue", but it's not clear in how to do it or why this fixes the issue.
    Thanks for any help.
    (rewarded with points)

    HI,
    Check IT 2006 and IT0001. A valid record must exist in IT 0001 for the last 2006 record. Check BEGDA of IT2006 and review that is greater than BEGDA and lesser than ENDDA of any valid record in IT0001
    If this is not happening, then RPTIME program returns empty values in table T001P and this causes the "no entry in table" message.
    Regards,

  • No entry in table T001P when running time eval

    Hi,
    Can someone tell me, why this error occurs. "No entry in table T001P" when running time evaluation PT60. I checked his Infotype 1 and has the Personal Area/Subarea assigned.
    Thanks,
    Swarna.

    Hi,
    Please check these tables:
    V_001P_ALL
    V_503_AL
    Or try creating a blank entry in table T001P.
    Hope this helps,
    Reward points if helpful,
    Thank You,

  • Blank entry in adhoc query

    Hi All,
    Im have created a data source with table joins T001W and T134M.
    Filed MANDT has been maintained when the join condition has been established at Data source level.
    Adhoc query in business rule identifies the deficiency. But some filed in the result has blank entry.
    Attached the screen shot for your reference.
    Can you please let me know, how to fix the blank entry issue.
    Thanks
    Ashok S

    Hello Ashok,
    In this case, you have foundation and plug-in in both systems. I assume you have set data source and business rules in GRC system, am I right?
    If this is the case, you might have several problems as before SP 10 for GRC 10.0, backwards compatibility was not implemented yet. It means that you must follow SAP note 1352498 in order to synchronize your systems.
    If this is not the case, have you checked these values in SCU3 in ECC system?
    Best Regards,
    Fernando

  • I have to make Multiple entry at table maintanance at a time

    Hello all,
    My requirment is to enable the multple user can loginto the same table for making there entry simultaneosuly .
    i have created the table and table maintance as well. and i have created the new lock object and added the code accrdingly and i have used the custom fm which is generated in the tablemainta  function group.
    forex: table xyz
    user 1 , 2, 3, 4, 5,so on..
    table should allow all user tomake there entry at time and the entry edited one user should be disabled to other user.
    I have gone the forum i didnt found the correct one ..plz guide me ..plz find the attached code .i got this code and referredthe samein my prog ..any suggestions on the below.
    1.       Create table ZTEST_SHUKS3.
    2.       Create table maintenance generator for the table. 
    3       Create lock object EYTSS_E433SH in SE11. Give it name as EZTEST_SHUKS3. 
    4       create a report  ZREP_SHUKS3 and transaction code ZTEST_SHUKS3  to call this report. This tcode will call table  mainatance     generator of table ZTEST_SHUKS3 . 
    5  create the report as below
    6 Now open table maintenance function  group(ZTEST_SHUKS3)  in SE80.We know for table maintenance SAP automatically creates code in the function group. Now we will make some modification in that existing code to change the behavior. Open the screen you created through table maintenance and add one module. 
    screen: 0001
    double clik on screen and add one module in PBO of the screen
    loop at extract with control
    tctrl_ZTEST_SHUKS3 CURSOR NEXTLINE.
    MODULE LIST SHOW LISTE
    ADD HERE
    MODULE m_change_locking
    Check the code below to be added in the module m_change_locking. 
    MODULE m_change_locking OUTPUT.
    *Call the function module corresponding to the lock object we created
      CALL FUNCTION 'ENQUEUE_EZTEST_SHUKS3'
        EXPORTING
          matnr          = ztest_shuks3-matnr
          werks          = ztest_shuks3-werks
        EXCEPTIONS
          foreign_lock   = 1
          system_failure = 2
          OTHERS         = 3.
      IF sy-subrc NE 0.
    row is locked..hence gray..
        LOOP AT SCREEN.
          screen-input = 0.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    ENDMODULE.                 " m_change_locking  OUTPUT 
    REPORT  zrep_shuks3.
    **Selection range for view maintenance
    DATA:
      BEGIN OF selekttab OCCURS 1.         "Selektionsbereich
            INCLUDE STRUCTURE vimsellist.
    DATA: END OF selekttab,
    **Table of inactive CUA functions for view maintenance
    BEGIN OF excl_cua_funct OCCURS 1.    "inaktive CUA-Fkt bei View-Pflege
            INCLUDE STRUCTURE vimexclfun.
    DATA: END OF excl_cua_funct.
    DATA: lt_enq_del TYPE STANDARD TABLE OF seqg3,
          lt_enq_read TYPE STANDARD TABLE OF seqg7,
          lw_enq_read TYPE seqg7,
          lw_enq_del TYPE seqg3,
          lv_subrc TYPE sy-subrc.
    *Read all the lock details in system
    CALL FUNCTION 'ENQUE_READ2'
      EXPORTING
        gclient = sy-mandt
        gname   = ' '
        guname  = '*'
      TABLES
        enq     = lt_enq_read.
    *We will search entry for table level lock for our table
    LOOP AT lt_enq_read INTO lw_enq_read
    WHERE gname EQ 'RSTABLE'
    AND   garg CS 'ZTEST_SHUKS3'.
      MOVE-CORRESPONDING lw_enq_read TO lw_enq_del.
      APPEND lw_enq_del TO lt_enq_del.
    ENDLOOP.
    *Delete table level lock entry for our table
    CALL FUNCTION 'ENQUE_DELETE'
      EXPORTING
        check_upd_requests = 1
      IMPORTING
        subrc              = lv_subrc
      TABLES
        enq                = lt_enq_del.
    *Now call the table maintenace generator.
    CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
      EXPORTING
        action               = 'U'
        view_name            = 'ZTEST_SHUKS3'
        show_selection_popup = 'X'
      TABLES
        dba_sellist          = selekttab
        excl_cua_funct       = excl_cua_funct.
    I followed the same steps but still not getting the multiple user enable .
    plz help
    regards
    Raju
    Edited by: abaprthree on Jul 22, 2009 7:54 PM

    Hi,
    I think you are looking for the report which will allow only for entries not for change. In this case, at PBO you write the code to make all the rows in display mode which have records using LOOP at SCREEN .....ENDLOOP. When you click on on NEW ENTRY button, add blank rows and put user entries. When you save,check for existing entries in the table because many users are entering the data at the same time, so check for duplicates KEY entries and UPDATE the table on SAVE button. If you will go in this way, I don't think you have to go for LOCK object. It's required only if you are going for EDIT mode.

  • How to add first blank entry in messageChoice

    I have a messageChoice that's populated entirely from the associated model (which happens to be a backing view/sql table). The only items that show in the list are populated records from my view/table. This is sufficient for create / edit forms, where I must have a value for the field that this messageChoice binds to. But it is problematic on the UIX Search Form component, because I need a blank entry in my messageChoice, so if the user creates new search criteria, it doesn't automatically take the first value in the list as part of the filter.
    How can I add a blank first option in my messageChoice when the messageChoice is bound to a model backed by a view?
    Thanks.
    Brad

    http://www.oracle.com/technology/products/jdev/tips/mills/null_list_entry.html

  • Restrict duplicate entry

    how to restrict duplicate entries to be entered in a table control...
    thanx,
    naveen vishal

    hi..
    after ur PAI table control loop, write another module.
    in tht u can declare one temporary int table and copy the original int table to the temp table.
    then sort this new internal table and delete adjacent duplicates comparing your key fields.
    if sy-subrc = 0.
    give some error msg.
    else.
    do nothing..
    endif.
    hope this helps...
    regards,
    naveen

  • No Entry in Table T702Q for key EN

    Dear Consultants,
    In first attempt to customize Travel Management, I copied Trip Provision Variant 99 to my TPV as TF. Then I confirmed all other entries being maintained in the process. When I tried to create Infotype 17 for any employee, it says, "No Entry in table T702Q in Key EN". I visited T702Q but did not find EN anywhere.
    Also the system says the Vehicle Type & Vehicle class do not match.
    Regards,
    Bindumadhav

    This should be easily fixed by your customising in PE03
    The feature PE03 is differing the assignment to the trip provision variants based on the company code.If the trip provision that you created is assigned to entry " " (or blank) then when checking the entry in PA30-travel privileges for IT17  the system is looking for an entry with morei ' ' in the table T702Q and this does not exist.
    This should fix it!
    Edited by: Sally Redmond on Jan 19, 2011 1:50 PM

  • Entries in table BWOM_SETTINGS for PARAM_NAME = 'OBJSELSIZE '

    Hello All,
    The entries in table BWOM_SETTINGS for PARAM_NAME = 'OBJSELSIZE ' in our ECC system were as follows originally:
    OLTPSOURCE = ''
    PARAM_NAME = 'OBJSELSIZE '
    PARAM_VALUE = 'X'
    At that point we started using delta extarctor 0PM_OM_OPA_2 and it had a very poor performance.
    SAP asked us to implement note 1040072.
    As a result of applying that note, the BWOM_SETTINGS table has 2 entries for PARAM_NAME = OBJSELSIZE.
    1. OLTPSOURCE = ''
    PARAM_NAME = 'OBJSELSIZE '
    PARAM_VALUE = 'X'
    2. OLTPSOURCE = '0PM_OM_OPA_2'
    PARAM_NAME = 'OBJSELSIZE '
    PARAM_VALUE = 'X'
    Things were fine until we added more init selections to another CO extractor, 0CO_OM_OPA_6.
    0CO_OM_OPA_6 deltas were taking around 2 hours for original init selections:
    Fiscal year / period 2007001 2007012
    Fiscal year / period 2008001 2020012
    Controlling Area 3000
    Recently we added more init selections and now selections are :
    Fiscal year / period 2007001 2007012
    Fiscal year / period 2007001 2020012
    Fiscal year / period 2008001 2020012
    Controlling Area 3000
    Controlling Area 4000
    Controlling Area 5000
    The extraction is now taking unacceptably long time, about 15 hours.
    I am not sure if it is because adding more inits.
    I have a feeling the entries in BWOM_SETTINGS for OBJSELSIZE are incorrect.
    According to note 836740 should they be as below?
    OLTPSOURCE = '0CO_OM_OPA_6'
    PARAM_NAME = 'OBJSELSIZE '
    PARAM_VALUE = 'X'
    OLTPSOURCE = '0PM_OM_OPA_2'
    PARAM_NAME = 'OBJSELSIZE'
    PARAM_VALUE= 'X'"
    One more question. If we change the BWOM_SETTINGS entries to as above, will that affect other CO extractors?
    For instance, we use 0CO_OM_CCA_9 very widely and it runs very fast currently. I just want to make sure we dont mess up its performance by modifying the entries in BWOM_SETTINGS. May be add one more entry in BWOM_SETTINGS for 0CO_OM_CCA_9 too?
    Sorry about the lengthy post.
    Any help is greatly appreciated.
    Thank you.

    As stated in [OSS Note 836740 - Delta extractors CO: OBJSELSIZE DataSource specific|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=836740], there should be parameter OBJSELSIZE entries, with a value of X for the following CO DataSources:
    0CO_OM_CCA_9
    0CO_OM_OPA_6
    0CO_OM_ABC_7
    0CO_OM_WBS_6
    0CO_OM_NAE_2
    0CO_OM_NTW_2
    0OC_OM_NWA_2
    The independent entry, where the DataSource is blank, should also be prsent for the OBJSELSIZE parameter with a value of X. [OSS Note 1040072 - 0PM_OM_OPA_2: Poor performance|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1040072] shows that it's also needed for the 0PM_OM_OPA_2 DataSource.
    Your entries for 0CO_OM_OPA6 and 0PM_OM_OPA_2 are correct. You should add 0CO_OM_CCA_9 and any other DataSource in the list above. If they're not listed, they are supposed to be taken care of by the independent entry (DataSource is blank).

  • Empty entry in table of contents

    I have created a couple of table of contents recently and in every instance they added a blank entry at the end.  In most cases this is OK as I can either delete it or simply force the entry to be overset but I'd prefer it not be created at all.  Has anyone else had this problem and what did you do to fix it or keep it from happening in the first place?

    If you "Show Invisible Characters", does it display as a paragraph break, or a soft line break, or perhaps as something else?
    A quick test shows that ID will not include totally empty paragraphs that are tagged with one of your include-in-TOC style paragraph styles. If there is just a single space on that line, ID will not consider it to be empty and so it will appear in your TOC -- but followed with a page number, as per instructions. Only if you happened to tag one-space paragraphs with some style and that same style is to be included in your TOC without a page number, you would see it as a blank line.
    (Peter was a bit faster and has made more TOCs than I --. Yep, that blank at the end comes and goes of its own free will.)

  • Blank User in table SWWUSERWI - Large Volume

    Hi All,
    I have a problem when user clicks on his inbox in SAP it times out.
    There are large number of General tasks used in our system. The table SWWUSERWI has many entries with user name as Blank which are picked up and displayed in the user inbox. These are unwanted entries for the user. So I decided to delete these entries from the DB level (as a quick fix). After deleting these entries the inbox opened quickly. But to my surprise all the millions of entries reappeared in the table again. I am not sure what is happening in the system which is bringing back these entries. All these are very old WI in READY status.
    I know we can run the report and delete them permanently but more interested in knowing why the user was blank in the table.
    Regards,
    Vijay V

    Hi Vijay,
    I'm also facing some problem with the inbox. Due to huge volume of work items, it is going to dump.
    Please suggest me the program so as to permanently delete these unnecessary work items...
    Look forward for your suggestion on this.
    Thanks,
    Naveen

  • How to move the entries of table BNKAIN between systems

    Hi,
    Is there any way to export the entries of table BNKAIN from one SAP system (development) to another manually? This is the table which is not transported via a transport...even in development system the "transport entries" option is not active. IN SM30 the maintenance view is not created.
    Can you advice how to move the entries somehow manually?
    Thanks for any assistance!
    br,Slawek

    Hi, thanks for reply.
    In fact I checked the table BNKA and the entries there are not helpful for me in the target system.
    We are using there some user exit which is using the table BNKAIN and the following entries are there:
    Client Bank Country Bank Key        Internal bank
    790            CA           IHC6            1
    790            DE           IHC1            1
    790             FI             IHC             1
    790            FR           IHC3            1
    790            GB           IHC4            1
    790            US           IHC5            1
    I checked the properties of that table in SE11 and it is maintainable only with restrictions..thus I need to ask some other basis expert which will help me to inlcude those entries into a transport.
    Anyway thansk for your hints!
    Bye

  • F4 Help in Module pool and restricting the entries

    Hi all,
          I was looking how to give F4 help in module pool program and restrict the number of entries on tht event.
    Take a example of VBELN, it is having number of entries so for F4 help we first take all the entries for VBAK for VBELN and then use FM 'F4IF_INT_TABLE_VALUE_REQUEST' and pass the table.
    So how can we restrict number of entries initially 200 and then user can input number of hits.
    ( How to use Callback subroutin ).
       Waiting for valuable additions.
    Thanks,
    Anmol.

    Hi ,
        This is my query, I want to restrict the number of entries fetched by the search help depending on the user input like in standard help.
    Like VBELN is having number of records how can we asign a help to field like VBELN( for example ), is there any way to restrict the entries on search help rather than selection all the entries for tht field from database which is not good for performance. Like initially it should fetch 100 or 200 records, then if user want more entries to be fetch he can input the number of entries like in standard help. Any idea on this.
    Thanks,
    Anmol.

Maybe you are looking for

  • How much is to much?

    I recently experienced an issue with my Thunderbolt display or more accurately daisy chaining my Thunderbolt display. I have a 15 inch MacBook Pro and 2 Thunderbolt displays powered through the daisy chain. This set up has worked fine for about a yea

  • Creative cloud is blank window why?

    Windows 7 64 bit computer. Creative cloud informs me of updates, but on launch nothing appears but a blank window. Header creative cloud and the gear appear. The only options listed with the gear are; help, pin to window area, and quit creative cloud

  • Customer Invoice tables

    I'm doing a B.E Project on Customer/Vendor Info System . And want to know which "tables & fields" are involved in <b>Customer Invoice</b>.  Any help will be welcomed. Waiting,...... Nikhil G. Moderator message: please do some research before asking.

  • How to get started mac mini

    How to I connect my mac mini when getting started?

  • No sound while recording but I can hear during playback

    I plugged my iRig HD in my macbook air (Yosemite), opened garage band and configure input output settings. While I was recording couldn't hear any sound but during playback I could hear clearly everything. I haven't got any problem on Amplitube 3. Is