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

Similar Messages

  • 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,

  • 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

  • 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

  • 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 .

  • 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 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

  • 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

  • IS it Possiblity of BDC in Module pool programming

    Hi All,
                   i have design 2 screens with module pool program.in one screen some input fields are there,once enter input  and press buttoon,it will go to 2nd screen in this data is displayed in table control .once selected some rows in table control, that rows are captured(selected rows are storing in serperate internal table), now once he selected some rows and press save button, it should do BDC for VF21 transaction.
    It means in 2nd screen of PAI module some function code(save) is executed,at that point BDC code is written.
    Is it possible to handle the BDC in 2 nd screen of PAI Module.
    If  we write code in 2nd scren of PAI module through some function code,again when PBO of 2nd scren is loaded,it will refresh table control but not go to Do  BDC forVF21 transaction.
    so How can we handle this?
    Useful Answers will be rewarded
    Regards

    Hi,
    It is absolutely possible to perform a BDC operation in a module pool program irrespective any screen you are.
    In the PAI, after capturing the appropriate ok_code (sy-ucomm), you branch to the SAVE option. There you call out a subrotuine. say PERFORM bdc_save_VF21.
    Inside this subroutine write your logic. What happens is the transaction VF21 gets updated with your bdc code with the help of CALL TRANSACTION. Check out in debugging.
    Also you can see by making the mode in call transaction to All screen mode 'A'.
    Please let me know if you can succeed in this.
    Award me if this is helpful to you!
    If you require further help, please send me your mail id.. i'll send some code to you.
    Regards,
    Ananth
    Edited by: Anantharamakrishnan Venkatesan on Jan 9, 2008 5:31 PM

  • Download-upload module pool, dynpros, pf status, everything

    hi all
    I did a code and wanted to share it with you.
    can save and restore module pool, function groups and reports.
    including dynpros, pf status, etc.
    but i don`t know how to upload the code, are about 1000 lines of code.
    If anyone is interested write me.
    Regards!.

    >
    BreakPoint wrote:
    >  This is a forum for answering specific questions and helping with specific problems...nobody has time to read your 1000 lines of code....
    Well, it's a forum, but I don't think the purpose is just for asking and answering questions. Discussions are always welcome.
    However, having said that, there is a 2,500 character posting limit to threads, so unless each line is extremely short, the code will not format and will likely be rejected.
    The OP can either try to post in the forum I suggested, or add it to a WIKI page.
    But make sure the same sort of code has not already been posted.
    Rob

  • Module Pool-to enable find and fint next button

    hi all
    i have one module pool program, and i have to enable find and find next button on top of the screen, it should work as it works for our standard transaction(eg-SE28).
    Can anyone provide or tell me were I can get the code.
    Thanks & Regard
    Rajyalaxmi

    Hi Friend,
    Please assign a function code against find button in PF-STATUS.
    Write the code in PAI to find the data in module pool.
    Code sequence will be like:
    ......AFTER CALLING A SCREEN( MODULE DIALOG BOX)..WITH STARTING AT 30 8 ENDING AT 60 10...
    ......IT WILL SHOW TH SCREEN ON THE MIDDLE OF SCREEN..
    ......WRITE CODE .... SET SCREEN 0. LEAVE SCREEN...I
    ....READ THE CONCERN INT TABLE WITH THE VALUE ENTERED BY USER FOR SEARCH
    ...  THEN....TAB_CTRL-TOP_LINE = SY-TABIX.
    Hope it will help you.
    Regards
    Krishnendu

Maybe you are looking for

  • How to get line error from a procedure?

    Hello, I want to know the line where the error occurs, since when I treat the exception to show a user friendly error page this erro is not logged at OAS. How to do it? Thanks in advance. EXCEPTION WHEN OTHERS THEN HTP.P('Sorry'); emailme(SQLERRM); e

  • Safari keeps crashing on launch. Help!

    A few hours ago my friends downloaded and installed a program onto my Macbook Pro. I don't know what it was, but it never actually downloaded. Instead what they ended up installing was some add-on to Safari called InstallMac. I guess it was some sort

  • My Phone has data that I deleted how do i get the space back?

    I  deleted all of the photos on my phone permanently yesterday, but after looking at how much usage i have left on my phone's space I still see that it has the deleted photos taking up false space. I checked to see if any photos where on my phone but

  • Not scaling images in drop zone

    Hi, For some reason when I drop an image into a drop zone in iDVD 6, it will not scale the image so a large chunk of the image is cropped off. Since the image I need to use has some text on it, I'm trying t resize it to fit in an external editor, but

  • How can I call a FM in WDA?

    Hi All, Plz tell me, How can I call a function module in WDA. I have an Inputfield and a attribut under a node. I have a FM, too. I need to call the FM in a Method. How can I do it? thx Best Regards Shuo