Invalid field format (screen error) on Table Control

Hello,
When selecting a line or multiple lines on a screen made by me(using a Table Control), I get Invalid field format (screen error). Debugging the code it sends the message when looping the internal table on PAI to check if there were values changed. Is there a reason why this error appears on this?
  loop at it_values.
    chain.
      field pvalues-BEGDA.
      module CHANGE_QUEUE.
    endchain.
  endloop.
Thanks.

No need to loop to check whether data is changed after PBO, just check System Field SY-DATAR, it will be set to 'X' if any field was changed.
So the following code is enough;
IF SY-DATAR EQ 'X'.
   PERFORM SAVE_DATA.
ENDIF.
Regards
Karthik D

Similar Messages

  • Invalid field format (screen error)

    We are using custom module pool report for displaying information. Information display in Table control which has also Radio button option for the further processing. After unicode conversion we are getting error while accessing the screen as "Invalid field format (screen error)" when user select Radio button. In production environment we are not facing any issue, but in Dev + Qas we have this issue. Nothing is changed as all environment are sync. To solve the issue we re-defined the Radion screen element, but no success we are still getting same error. I am not sure whether it is related to Page Format or something else. Could you please let me know whether anybody faced this issue ? For the information, I already searched on SDN and SNote, but there is no post or SNote

    Have you checked if there are overlapping fields on the screen.
    I've seen simular errors and usually it was beacuse of some change by SAP that made it so that the defined length of the screen field was suddenly to small.
    I'm not saying that this is the case in your situation, but it never hurts to try and change the length of your screen field and see if that resolves the issue.
    Arthur

  • Dialog Screen - Invalid field format (screen error)

    Dear all,
      I have developed a modal dialog screen and succesfully invoked it with CALL SCREEN command in the main screen.  Unfortunately, it always returns "Invalid field format (screen error)" when clicking on the dialog's GUI control such as button or radio button.  Anyone encountered this before??
    Regards,
    KK

    Hi KK,
    Just make sure that the fields take on the screen are also declared in the top module of your program.
    And also match their data-types and size i.e., declared in top module and on the screen in their respective attributes.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

  • Error in module program - Invalid field format( screen error )

    In the module program i have added 1  input field named gv_pallet of 1 character. while processing the transaction when i put value 1 in this input field and press a button i am getting error ' Invalid field format( screen error ) .
    I am not geting any clue whats the eror . can anyone able to tell me the error.
    Point will be guranted .
    Regards

    No need to loop to check whether data is changed after PBO, just check System Field SY-DATAR, it will be set to 'X' if any field was changed.
    So the following code is enough;
    IF SY-DATAR EQ 'X'.
       PERFORM SAVE_DATA.
    ENDIF.
    Regards
    Karthik D

  • Error Invalid field format (screen error) in module pool

    Hi
    experts i am doing module in whichi had many check boxes on screen and each check box has function code means i want to do some thing else . but as i click the first or any other check box i get a error message
    INVALID FIELD FORMAT (SCREEN ERROR).
    Can anyody help me with this asnwers will be rewarded points .
    regards

    Dear Farukh,
    can you please let me know how have you declared you check boxes.
    how did you handle the click or the function codes in the user command module in your PAI.
    The declaration of your fucntion codes can be done when you create your screen fields and then they need to be handled in the user command module i.e what you want to do when suppose you click on that particular check box.
    Thanks
    venugopal

  • Search Help error : Invalid field format Screen error

    Hi All,
    I have attached a search help to contract field for contract no and item number. (in my own screen developed in a  report)
    The search help picks up data and assigns it to the fields,
    But after this when I click on any other button, I get error saying :
    <b>Invalid Field Format (Screen Error) !!!</b>
    Any pointers guys !!!
    Warm Regards,
    Girish

    screen checks in abapautomatically checks for format of field when u enter data....i.e date, integer etc...the problem in this case is that when u seelct a value using the help it is filling a value which is not the correct format...so check for the data types and test it again...this is definitely the problem.

  • Screen painter or table control problem

    Hi All,
    I have created two maintenance views for two custom tables , and two views has been created .
    in one view when i excuting sm54 and display i could able to see all the fields in the table control ,
    but in the other view i could see only one field very in the table control.
    Is this the problem of screen painter with table control , shall i need to intall screen painter again
    i am using  4,7 version  os sap ,
    Regards
    subba

    Hi  Chandra,
    Thanks for yorr prompt reply  and i tried so many times , can i go that particular screen and change
    the screen and include all the fields , actually the system proposes the screen when we are creating
    the table maintenance generator.
    i selected one step and screen proposed by sap in the overview screen as  1 and i have created table maintenance.
    Regards
    subba

  • Screen error in tabstrip control

    hi all,
    I'm practicing a program for Tabstrip control.
    it will be like this
    tab1           tab2
    number1    result
    number2
    number1 number2 result are of integer data types.
    now the problem is
    the program is giving result when I declare the above variables as char...that to with some limit.
    but if the varilable are of type int program is givng an error called screen error.
    why this is happening ?
    whats the solution for it?
    points assured,
    Usha.

    HI,
    try like this...
    1.goto that perticular Screen Element List, there you will find a tab General Attributes.
    2.In that change the Format Column for that perticular field from CHAR to INT1 ( by default it will take as CHAR ).
    now you will not get any error.
    Regards,
    Sathish Reddy.

  • Error in table control while displaying data.

    Hi All,
    I m doing module pool programming using Table control.
    I m using one table only and declared internal table like the database table.
    When I m transferring data from internal table to Table control screen, I m getting error like.
    <b>A conversion error occurred while the program was trying to
    display data on the screen.</b>
    The filed is of DEC type and it is having some value with negative sign.
    Whether I have to change field type of sceen element and if so then to which data type?
    Or any other way to handle such situation.
    Thanx.
    Umesh.

    Hello,
    Please check whether the screen field name of the table control and the type
    is same as the internal table that you are using to populate.
    reward if helps
    Thanks
    Krishna
    Message was edited by:
            Krishnakumar Ramadoss

  • How to solve error in table control?

    Hi expert,
    I am a beginer in table control.
    I have a problem.
    I create a table control in that I use a search help for a column. Everything is normal if I enter a value into search help value and save .
    There are two situation:
    1. In the first time I save this document without value in this column. After that,I reopen this document and enter value by use F4-> a error .
    2.I save table control with value in seach help value. But when I change value in search help, a same error act.
    Immediately, I debug and see after pass POV, next PBO : after LOOP table control 2 times because in my table control have 2 record, a error happen.
    I thank you so much with ur help.

    Hi,
    Please check if you have done the following,
    => Have you looped at the internal table with respect to the table control
    LOOP at itab WITH CONTROL TABLECONTROL.
    ENDLOOP.
    =>Check if you have done it both in the PBO and the PAI.
    => Check if your fields in the table control and the fields that you have been using in the program match.
    => Have you modified your database table fields and not regenerated the Table Maintanence Generator (TMG) after that? The database table will only contain the older fields if you havent regenerated the TMG and activated it.

  • Screen Resolution in table control bdc

    Hi ,
    Im working on bdc table control using call transaction method for vk11 and mek1.While uploading data for vk11 for the first time it is taking all the records of the input file and if i do the same for the second time by changing the amount value it is taking only 24 records .(i.e if the input file contains only 24 records it wil update else if it has 25 records or more it not updating even single record and it is showing error " No batch input data for screen sapmv13A ..)...this issue is with the production server......................whereas in development and quality servers there is no problem....................
    what migh be the problem and how to solve it?
    can anyone plz help me on this

    if its a problem in screen resolution then while recording through SHDB mark the check box default size
    or
    to make the bdc execute in standard screen size check the code below
    data x_ctuparams type ctu_params.
    x_ctuparams-defsize = 'X'. " This would freeze the resolution in any system
    x_ctuparams-dismode = 'N'.
    x_ctuparams-updmode = 'S'.
    call transaction <TCODE> using it_bdcdata options from x_ctuparams.
    So whatever is the screen size of the users front-end, the BDC will execute in standard screen size

  • Conversion error in Table control for Negative values

    hello all,
    Iam using table control with 6 columns and in that columns values are coming from Ztable. and out of that one column is of value which is input/output field and having negative value's also.type of that column is DEC.
    Now when i run the report dump occurs showing error message as COnversion Error.
    I think its because of negative value even the in attributes of that column i had selected With Sign checkbox.
    Now when i run the report then if in Ztable negative value is there then i want to display negative value in table control also.
    Please suggest me...
    <removed_by_moderator>
    Thanking you.
    Regards.
    Edited by: Hemant Baviskar on Sep 10, 2008 3:07 PM
    Edited by: Julius Bussche on Sep 10, 2008 1:13 PM

    Hemant
    Refer to following link:
    Table Control : Conversion error
    Thanks
    Amol Lohade

  • Screen enhancement with table control

    Dears,
    I'm using enhancement IWO10018 to add a new tab on IW32 screen. I've added a table control to this tab. The problem is that retreived data from database do not appear on the table and it is appeared as empty fields. When tring to add any other input/output field on the same subscreen the data appear correctly on it! Please advise
    PROCESS BEFORE OUTPUT.
      MODULE fill_req_itab.
      LOOP AT req_itab
        WITH CONTROL serv_req_tab.
        MODULE move_to_screen.
      ENDLOOP.
    MODULE fill_req_itab OUTPUT.
      CLEAR: req_itab[].
      SELECT * FROM zcs_serv_req
        INTO CORRESPONDING FIELDS OF TABLE req_itab
        WHERE aufnr = order_no.
      DESCRIBE TABLE req_itab LINES serv_req_tab-lines.
    ENDMODULE.                 " FILL_REQ_ITAB  OUTPUT
    MODULE move_to_screen OUTPUT.
      MOVE-CORRESPONDING req_itab TO zcs_serv_req.
    ENDMODULE.                 " MOVE_TO_SCREEN  OUTPUT
    *&  Include           ZXWOCTOP
    DATA: mark TYPE c LENGTH 1.
    CONTROLS: serv_req_tab TYPE TABLEVIEW USING SCREEN '0900'.
    DATA: req_itab TYPE TABLE OF zcs_serv_req WITH HEADER LINE,
          zcs_serv_req LIKE LINE OF req_itab,
          order_no TYPE aufnr.

    Thanks a lot for your reply...
    I've added the below code on the mentioned include and I've commented it on the PBO but I still have the same problem. On debug mode I can see that required data retreived correctly till end.
    *&  Include           ZXWOCU15
    order_no = sap_caufvd_imp-aufnr.
    CLEAR: req_itab[].
      SELECT * FROM zcs_serv_req
        INTO CORRESPONDING FIELDS OF TABLE req_itab
        WHERE aufnr = order_no.

  • Screen Modification i Table Control

    Hi all,
       we have a requirement on modifying the screen field attributes for a table control.
      scenario : f1  f2   f3   f4
    now when the user enters the input for field f1 a pop-up  appears wherein you will have to make a selection. the selected one will copy to field f2.
    now for a particular input of f1 the field f2 for that particular row has to be greyed out.
    we are trying this by looping at <b>screen</b> table , but this is greying out  the entire column instead of that particular cell.
    Thanks in Advance.
    Kishore Kumar Yerra.

    HI,
    look at the code below write this code in the PBO flow logic, in the module of loop endloop of table control.
    check for the fields are initial or not.
    if fields contains value then make them disable other wise make them enable.
    <b>
      LOOP AT SCREEN.
        IF screen-name = 'F1'.
          IF grid_itab-F1 IS INITIAL.
            screen-input = 1.
          ELSE.
            screen-input = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    </b>
    Regards,

  • In BDC we need to read screen value of table control

    Dear All,
    I was doing a feasibility analysis. One BDC is there where we will have to insert records in table control based on some records of 1st column of table control already populated. We are unable to find a way for reading table control. The BDC is generating batch input session. Can you please suggest on this?
    Best wishes,
    Atanu

    Hi Atanu,
    with BDC, the only possibility is to do as Klaus suggested: you must replicate the SAP's logic in your program, you must know in advance how SAP fills this field. This is a very well known drawback of BDC. You may use the SQL trace to help you to know which tables are read. Ask functional people to help you.
    You may also use SAP GUI scripting, that's another technology (slower I think, and it can only work in dialog). It allows to do different actions between 2 screens. You must program it using OLE, or using external software (VBA for example).
    Sandra

Maybe you are looking for