Error in module pool

hii frnds
well i am geting a dump when i am scrolling down the output of my program
the dump message is
A conversion error occurred while the program was trying to
display data on the screen.
The ABAP output field and the screen field may not have the
same format.
Some field types require more characters on the screen than
in the ABAP program. For example, a date field on a screen needs
two characters more than it would in the program. When attempting to
display the date on the screen, an error will occur that triggers the
error message.
              Screen name.............. "SAPMZCFORM"
              Screen number............ 9001
              Screen field............. "WA_ZCFORM-NETWR"
              Error text............... "FX015: Sign lost."
can anybody help me wid this
thanking u
rohit

Hi,
curiously enough, exactly today I encountered the same problem (short dump) while trying to show a negative value in the INPUT/OUTPUT screen field of type DEC.
Thanks, Naimesh, your proposal to put 'V' in the place of the last "_" in the format options of the filed helps me to avoid dump.
Thanks,
Ivaylo

Similar Messages

  • Runtime errors in module pool programming

    HI all,
    I have done a module pool program for invoice tracking level wise.
    I am encountering a runtime error, LIST_TOO_MANY_LPROS, while execution ie., for two and more than two updations of the database.
    The error analysis says that "At present, the maximum permitted number of nested screen levels is restricted to 50".
    Short Text :- "No further list processing possible".
    Can anyone please come out with a solution for this problem.
    regards
    samarendra.
    Edited by: samarendra penugonda on Nov 5, 2008 5:03 AM

    Hi
    U should replace the comand CALL SCREEN with LEAVE TO SCREEN.
    The command CALL SCREEN create an internal mode to link the calling screen to called screen automatically: in this way when it needs to back to calling screen it doesn't need to specify the screen number but only to use:
    - LEAVE TO SCREEN 0.
    or
    - SET SCREEN 0. LEAVE SCREEN.
    Now if you use  LEAVE TO SCREEN, u need to indicate the screen when it needs to back to calling screen:
    - Go from 100 to 200
    LEAVE TO SCREEN 200. (Instead of CALL SCREEN 200)
    - Back to 100.
    LEAVE TO SCREEN 100. (Instead of LEAVE TO SCREEN 0)
    Max

  • Error in module pool program

    Hi All,
    I have created 1 module pool program with screen no. 0100. But the statement CALL SCREEN 0100 is not getting executing its showing error i.e ' statement cannot be accessable' even i have created and activated the sceen 0100.
    Thanks...
    kiran

    Hi kiran,
    Open you program in se38 menu bar -> GOTO   -> ATTRIBUTES and check wheather it is  executable program or module pool program.
    if it is exeutable program then u can call the screen 0100 as ur intial screen. if not ur given type as module pool then u have to create a transaction in SE93 and give the screen name in that and prgoram name then it will display the screen which u hv created .
    if you want to show the screen 0100 as ur initial sceen in module pool program without using transaction it is not possible so use either executable program and use the stament call screen 0100.
    <b>reward if useful </b>
    Regards,
    sunil kairam.

  • Runtime Error in Module Pool

    Hi,
      I am developing a module pool, i have to update the transaction through my module pool, so i am using call transaction method . first i have written the perform with recording steps .. but when i tried to activate the main program i am getting an error saying that
    Include ZMPPMTR_INCL
    Incorrect nesting: Before the statement "FORM", the structure
    introduced by "IF" must be concluded with "ENDIF". .     
    but in my program there is no if ..endif statement , why i am getting this error can any one giv me a solution for this?
    waiting for ur reply...
    Regards
    Srinath

    hi,
    in module pool the mail program contains top include and possibly other includes along with screen,
    so save all the components of the main program and come to main program and then activate then the system recognizes all the components and activates accordingly.
    try the following
    use pretty printer to show the indentations.
    double click on the error message it will take you to where the error occured.
    try to find the if or endif or form or endform.
    hope this will serve your purpose.
    Thanks and regards
    Ramchander Rao.Krish

  • Using FM DD_POPUP_TO_CONFIRM_CANCEL giving error in module pool program

    HI,
    I am using FM DD_POPUP_TO_CONFIRM_CANCEL in my module pool program.
    But when the cursor comes to the FM it is throwing error like
    *CALL SCREEN (not modal) in modal dialog box not allowed.*
    i am using the below code.
    CALL FUNCTION 'DD_POPUP_TO_CONFIRM_CANCEL'
           EXPORTING
                textline1    = 'UFN Preprint record created!'
                textline2    = 'Proceed to Add more States ?'
                title        = 'Confirmation'
                start_column = 25
                start_row    = 15
                defaultpos   = 'C'
           IMPORTING
                answer       = lv_answer.
    Regards
    Jai

    Hi,
    Please try to use FM:  'POPUP_TO_CONFIRM'.
    Cheers,

  • How to throw error in Module pool

    Hi Experts,
    I have one probelum in Module pool Programm and i need you solution,
    i have 10 input fields in  module pool, and the first field is land1,
    when i will give input in land1 as "US" so it should throw error "not allowed"
    and all the field should be enable. should not be disable
    please help me out.
    thanks
    Vikash

    Hi Vikas,
    try this,
    if  LAND1 EQ 'US'.
    MESSAGE 'No Data can be found!' TYPE 'S' DISPLAY LIKE 'E'.
    LEAVE LIST-PROCESSING. 
    endif.
    Regards,
    Venkat.

  • Strange Syntax Error in module pool table control........

    Hi Techies ,
    In module pool am not able to validate the checkbook field that i have included in the table control screen .
    i was able to pass the other field defined in the same structure where checkbox field is declared .

    Hi MAX and Glen ,
    Thanks for ur answers .
    i was not the one developing and i didnt had much touch in TBCL.
    Anyways issue resolved , it was sitting outside of TBCL hence i deleted and created new and included the CHK .
    now its working .
    Positive and quick gestures from you both .

  • Error in Module pool:Function code

    Hi All,
    I am using IW52 transacion for which I have activated the Screen exit and inserted table control on it.
    The table control entries has to be deleted for which I have added a Delete button with function Code 'DELE'.
    When trying to delete the entry the system throws an error message saying that 'The function code DELE is not available here'.However after pressing enter the entries are deleted.
    I have debugged for the error and could find that the table T185F is being checked in the function module screen sequence.
    Could someone  please let me know how to customize the table with the function code I have added.
    Thanks.
    Arvind

    Hi Neha,
    The link says that we cannot enter Custom User command in the SAP Screen exit.But I think there is a way to maintian T185* table in VFBS transaction.
    I tried the same and now not getting the error message that "Function code XXX is not available here".
    The problem is now that the system is always keeping the OLD sy-ucomm value.That is when I press delete records I get a confirm prompt message ( custom ) and record gets deleted.After this I again press enter the pop up comes again.
    I checked in de bugging and found that the sy-ucomm was not cleared.I tried to clear sy-ucomm values but the main program of the transaction again resets the Sy-ucomm.
    Please let me know if you or anyone has any solution to deal with this.
    Thanks.
    Arvind
    Edited by: Arvind Soni on Jan 19, 2009 11:34 AM
    Edited by: Arvind Soni on Jan 19, 2009 11:34 AM

  • System restart error in Module pool

    Hi Experts,
    I have created one modulepool Prgram with Table control it is working fine for Display, whenever i want to try to Save i am getting system error System Restarted;Session terminated. i am attatching the screen shot of that..

    Hi Vishwanath,
    You  can use the following coding to check with your coding part.This may help you to clear your problem.
    module USER_COMMAND_0100 input.
    case sy-ucomm.
    when 'SAVE'.
    modify ztable from ztable.
    if sy-subrc = 0.
    message 'record updated succesfully' type 'S'.
    endif.
    Endcase.
    endmodule.

  • 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

  • Error in Module pool/Screen while passing value as Decimal value

    Hi Experts,
    We have designed one customized screen with CHAR as input option to pass on Tax Percentage. We have defined as CHAR in screen logic as well as program also.
    Where as while we enter value with decimals like 2.5 or 5.4 its throwing a error message "Entry is too long for the field".  But when I pass on Integer values like 2 or 4 then its working fine.
    Can you pls suggest on this how to rectify this error.
    Thanks in advance.
    VJ

    Hi,
    Increase the length of the character field in the screen as well as in the program declaration.
    Example;
    DATA gv_tax(10) type C.
    Regards
    Karthik D

  • Error in editing table control in module pool

    Hello Abap experts,
    I am working on module pool.
    When I am editing row in table control if table control has only one row to edit(By clicking edit push button) then I am getting error as "Dynpro_Field_Conversion error" in module pool.
    Error is showing in PBO 'module fill table control'.
    But if there are more than 1 rows in table control it doesn't give any error and run successfully.
    So please help me on that.
    Thanks!
    Abhay.
    Edited by: abhayjoshi01 on Sep 29, 2010 12:12 PM

    Hi,
    Can you explain in detail what field(is it quantity, currency etc) you are trying enter and what data.
    If you are getting any runtime error can you provide the runtime details.
    Regards,
    Kranthi

  • Error while transporting modification in module pool of a specific infotype

    HI experts,
    While transporting some modifications that have be done on the PAI of a module pool of a specific infotype, we have an error with code return = 8, the error is --> Original object R3TRPROGMP900730 must not be changed!!!
    Any suggestion .
    Tanhks a lot .

    Hi ,
    Nice to know that your problem is solved. If any of the replies were usefull please acknowledge their work.
    And it would be great if you can just put in your remarks about the best  solution you had in solving that problem.
    It might be useful to other users when they encoutner such problem.
    BR,
    Vijay.

  • Getting error while calling a subscreen in  module pool program

    HI  ALL,
                         ACTUALLY I'M GETTING A SYNTAX ERROR WHILE I'M CALLING A SUBSCREEN
                       IN A MODULE POOL PROGRAM IN PAI MODULE
                       THE ERROR IS AS FOLLOW
                           "." or "ID ... FIELD ..." expected after "SUBSCREEN"
                        CAN ANYBODY PLS HELP ME.
    REGARDS
    ANDREWS

    HI MAX ,
                      THE CODE IS AS FOLLOWS:
    *& Report  ZTABSTRIP_PS
    REPORT  ZTABSTRIP_PS.
    type-pools : vrm.
    DATA:number1 type I,
         number2 type I,
         result  type I,
         ok_code like SY-UCOMM,
         employee1 type c,
         ABAP(19)    type c,
         SALES(19)  type c,
         HR(19)      type c,
         MM(19)     type  c,
    employee type c.
        emp type c.
    CONTROLS  tabstrip TYPE TABSTRIP.
    CALL SCREEN 100.
    call screen 110.
    call screen 130.
    call screen 120.
    call screen  140.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'STATUS'.
      SET TITLEBAR 'TITLE'.
      CASE OK_CODE.
        WHEN 'BACK' or 'EXIT' or 'DELETE'.
         leave program.
         WHEN 'SAVE'.
           MESSAGE 'please choose a valid function' TYPE 'I'.
       WHEN 'BACK'.
        leave PROGRAM.
    when  'EXIT' or 'DELETE'.
        leave to screen 0.
        WHEN 'SAVE'.
          MESSAGE 'please choose a valid function' TYPE 'I'.
    endcase.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    CASE OK_CODE.
      when 'TAB1'.
    tabstrip-activetab = 'TAB1'.
       when 'TAB2'.
    tabstrip-activetab = 'TAB2'.
    result = number1 + number2.
       when 'TAB3'.
      tabstrip-activetab = 'TAB3'.
    SET TITLEBAR 'TITLE1'.
      when 'TAB4'.
        tabstrip-activetab = 'TAB4'.
       if employee = 'NEERAJ'.
         ABAP = 'NEERAJ'.
       elseif employee = 'UMESH'.
         SALES = 'UMESH'.
       ELSEIF employee = 'RAM'.
         HR = 'RAM'.
       elseif employee = 'ANIL'.
         MM = 'ANIL'.
         endif.
       employee = employee.
    WHEN 'BACK'.
        leave PROGRAM.
    when  'EXIT' or 'DELETE'.
        leave to screen 0.
        WHEN 'SAVE'.
          MESSAGE 'please choose a valid function' TYPE 'I'.
    ENDCASE.
       WHEN 'BACK' or 'EXIT' or 'DELETE'.
         leave program .
         WHEN 'SAVE'.
           MESSAGE 'please choose a valid function' TYPE 'I'.
    endcase.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0110  OUTPUT
          text
    **MODULE STATUS_0110 OUTPUT.
    SET PF-STATUS 'STATUS1'.
    SET TITLEBAR 'xxx'.
    **case ok_code.
    **WHEN 'back' or 'exit' or 'delete'.
        leave PROGRAM.
        WHEN 'save'.
          MESSAGE 'please choose a valid function ' TYPE 'W'.
    ENDCASE.
    **ENDMODULE.                 " STATUS_0110  OUTPUT
    *&      Module  USER_COMMAND_0110  INPUT
          text
    MODULE USER_COMMAND_0110 INPUT.
      number1 = number1.
      number2 = number2.
    CLEAR NUMBER1.
    CLEAR NUMBER2.
    REFRESH NUMBER1.
    REFRESH NUMBER2.
    ENDMODULE.                 " USER_COMMAND_0110  INPUT
    *&      Module  STATUS_0130  OUTPUT
          text
    MODULE STATUS_0130 OUTPUT.
    SET PF-STATUS 'STATUS2'.
    SET TITLEBAR 'xxx'.
    RESULT = number1 + number2.
    *CLEAR RESULT.
    REFRESH RESULT.
    ENDMODULE.                 " STATUS_0130  OUTPUT
    *&      Module  STATUS_0120  OUTPUT
          text
    MODULE STATUS_0120 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    DATA:  l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.
      l_value-key = '1'.
      l_value-text = 'ANIL'.
      APPEND l_value TO li_list.
      CLEAR l_value.
    CLEAR li_list.
      l_value-key = '2'.
      l_value-text = 'RAM'.
      APPEND l_value TO li_list.
      CLEAR l_value.
    CLEAR li_list.
      l_value-key = '3'.
      l_value-text = 'NEERAJ'.
      APPEND l_value TO li_list.
      CLEAR l_value.
    CLEAR li_list.
      l_value-key = '4'.
      l_value-text = 'UMESH'.
      APPEND l_value TO li_list.
      CLEAR l_value.
    CLEAR li_list.
    l_name =  'employee'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          ID                    =  l_name
          VALUES                =  li_list
       EXCEPTIONS
         ID_ILLEGAL_NAME       = 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.
    CLEAR li_list.
    ENDMODULE.                 " STATUS_0120  OUTPUT
    *&      Module  USER_COMMAND_0120  INPUT
          text
    MODULE USER_COMMAND_0120 INPUT.
    INCLUDING sy-repid '140'.
    employee1 = employee.
    IF employee1 CS 'NEERAJ'.
      call SUBSCREEN    sub4  .
      ABAP = 'NEERAJ'.
      CLEAR ABAP.
    ELSEIF employee1 CS 'UMESH'.
       call SUBSCREEN  sub4  .
        SALES = 'UMESH'.
        CLEAR SALES.
    elseif employee1 CS 'RAM'.
      call SUBSCREEN sub4 .
       HR = 'RAM'.
       CLEAR  HR.
    ELSEIF employee1 CS 'ANIL'.
       call SUBSCREEN sub4 .
       MM = 'ANIL'.
       CLEAR MM.
       endif.
    ENDMODULE.                 " USER_COMMAND_0120  INPUT
    *&      Module  STATUS_0140  OUTPUT
          text
    MODULE STATUS_0140 OUTPUT.
    *CASE OK_CODE.
       WHEN employee1  'NEERAJ'.
         screen-active = 1.
         ABAP = 'NEERAJ'.
       WHEN employee1 = 'UMESH'.
         screen-active = 1.
         SALES = 'UMESH'.
       WHEN employee1 = 'RAM'.
         screen-active = 1.
         HR = 'RAM'.
       WHEN employee1 = 'ANIL'.
         screen-active = 1.
         MM = 'ANIL'.
         endif.
    *ENDCASE.
    ENDMODULE.                 " STATUS_0140  OUTPUT

  • How to set error message inside the loop...module pool

    Dear all,
         Am creating Table Control without wizard. In that i am looping the values, that is, Once if i entered 5 digit values means, 12345-08... the values should be stored in z-table like this 12345,12346,12347,12348 . That is 5-8 it as to update in z table. for this i createdloop at itab and inside that i written a code to count the value and all. and also its clearly updating the value in ztable too. now i want to know, if once again i entered the same value means, like 12345-08.. it as to show error messge.I dont know how to set the condition with error message inside the single loop .... Its all comes under module pool program.
    Thanks,
    Santhosh.R

    If i understood your doubt, here goes the answer.
    LOOP AT itab INTO wa_itab.  " This is your loop
      l_tabix = sy-tabix. "l_tabix receives the line of the loop
      READ TABLE itab WITH KEY itab = wa_itab.  "itab is the same tab of your loop
      IF sy-subrc EQ 0 AND l_tabix NE sy-tabix.    "Here the sy tabix have the value of the read table.
    *     Here you do your error treatment.
      ENDIF.
    ENDLOOP.
    Explanation: When you are looping your internal table, you use a READ TABLE to see the already recorded registers. If the read table finds one register (sy-subrc EQ 0) and the this register is not the one of the current line (l_tabix NE sy-tabix). It means you have a duplicated register.
    Maybe there is someway easier to do this, but this is what i thought now.
    I hope this was your doubt hehe.
    Thales Schmidt

Maybe you are looking for

  • Audio not working / Video flashes to black every ~5 seconds

    Hi. For some reason, when we turn on our TV as of late, every channel is having this issue where upon turning on, the video will flash to black every 5 seconds or so, and there is no audio. The only thing that solves the problem is unplugging and rep

  • DVD Player randomly quits when using closed captioning

    I have been experiencing this issue on two different 10.4.11 machines, both intel. A MBPro and a Mini. The DVD Player normally works fine, disc after disc, unless I turn on closed captions (not subtitles, but similar), then the DVD Player will quit r

  • Drag and Drop Functionality in ADF

    Hi, i have a cuestion, I need to develop an application, but i have to determine if it is possible. I explain.. I have to make an applicacion with elements with drag and drop functionality, i mean.. 3 to n containers on the page, a toolbar, with the

  • START and/or @ command

    Hi Everyone, I've created a sql script file to create a table. And I tried to run the file in SQL*PLUS using either @ or START command. I tried both commands: @C:\myfile.sql STRAT C:\myfile.sql I am getting SP2-0310: unable to open file "c:\myfile.sq

  • Sleep not working

    Since installing the Apple drivers on my Mac mini 2012 with Windows 7 successfully installed, there is absolutely no option of making the computer sleep. I've updated the drivers from this website but it's made no difference. Attached is the output f