Subroutine inconsistency due to deletion of Include program

Hi All,
      I created an include program(saved in local object) within my report(this was previously stored in a package) and I copied a few performs and forms from my report into the include program, but then i decided to go for the code without the include and commented the include statement in my report and deleted the include program(in se38). But now when I click on the perform statement in my report it gives a message "Object ZXY not found". The ZXY is my include program. Also when I view the report in se80 I find repetitive sub routines.Also I am not able to delete the duplicate sub routines in se80.
     How can we overcome this inconsistency in duplication of subroutines, how to suppress the message and make sure the code is consistent?

Hi,
      So currently all the performs in program are part of some other include which is part of your main program?Because if not , obviously an error will be thrown.
Have you tried the option of rebuilding object  list for the whole program?
Right click on the program name in SE80--> Other functions->Rebuild object List
Regards,
Arun
Edited by: arun warrier on Nov 30, 2011 1:36 PM

Similar Messages

  • How to perform subroutine form in an include program?

    Hi all,
    I would like to perform an external subroutine form residing in an include program from a customer function user exit. I tried using the following code, but it dumps:
    PERFORM <form name> IN PROGRAM (lv_program)
               TABLES <a> <b> USING <c>.
    In the dump analysis I see that "Program <include name> is type I and therefore cannot be generated" and "The current ABAP/4 program attempts to call the program <include name> but this program cannot be executed. Therefore,the current program had to be terminated. "
    If the include can't be generated, is there another way or method I could directly call the form without needing to copy the standard code to an own function or form?
    Best regards,
    Mikko

    Hi,
    take this example..
         perform idoc_status_record_write in program sapmsed7 using
                                                    x_edidc-docnum
                                                    c_idoc_status_ready
                                                    space
                                                    space
                                                    space
                                                    space
                                                    space
                                                    space.
    in this the from is in include, but while calling you need to call with the help of main program.
    in this case <b>SAPMSED7</b> main program, but form is in include <b>MSED7F05</b>
    Regards
    vijay

  • Subroutine (perform) inside the include program

    Hi all,
    i am writting a subroutine inside an include.include itself is present inside a subroutine.
    form x.
    include xyz.
    endform.
    inside this include, structure of program is like below.
    include xyx.
    perform y.
    perform z.
    form y.
    endform.
    form z.
    endform.
    so i am geting error like before statement form structure introduced by form must be ended with endform.
    can i use perform & form statement inside include?
    if not then how is it possible to put perform statements inside that include. this include is nothing but an exit
    of program--MV50AFZ1.plz suggest me .it is very urgent.
    any suggestion will be highly appreaciated.
    Regards
    pabitra

    <b>inside this include, structure of program is like below.</b>
    include xyx.
    perform y.
    perform z.
    form y.
    endform.
    form z.
    endform.
    Maintain separate Include to keep the FORMS when u ae defining PERFORMS in Include program. Then it will allow u to activate

  • Subroutine in function module exit include program

    Hi Friend,
    I want to modularise the code inside the include program defined in funtion module exit. but it is giving out errors.
    Can any one help on this.
    Regards
    Gautham

    Hello Gautam,
    Use the PERFORM  (FORM ................. ENDFORM.) for modularizing the code inside the function module exit. You can not use the include inside the function module directly but once u create a  PERFORM  (FORM ................. ENDFORM.). Inside this  FORM ................. ENDFORM .. u can create any number of include's.
    I hope it will resolve your problem.
    Thanks.
    Anurag

  • Finding include program of the subroutine by program

    Hi All
    Is it possible to find the include program name of the sub-routine by any FM .
    Thanks
    Vinay kolla

    i have got sub routine name , is there way to program and find the main include program of it .if yes how .
    Thanks
    Vinay kolla

  • How to use the variables of Function exit in the include program

    i have a problem of using the variables of a function exit in the include program..
    If i use those variables there will be an error indicating 'Field FEBVW_IN is unknown. It is neither in one of the specified tables nor defined by a DATA statement'. Please help... Below is the code of the function exit:
    FUNCTION EXIT_SAPLIEDP_202.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(IDOC_CONTROL_INDEX)
    *"     VALUE(IDOC_DATA_INDEX)
    *"     VALUE(FEBVW_IN) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_IN) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_IN) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_IN) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_IN) LIKE  FEBPI STRUCTURE  FEBPI
    *"  EXPORTING
    *"     VALUE(I_FIMSG) LIKE  FIMSG STRUCTURE  FIMSG
    *"     VALUE(FEBVW_OUT) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_OUT) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_OUT) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_OUT) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_OUT) LIKE  FEBPI STRUCTURE  FEBPI
    *"  TABLES
    *"      IDOC_CONTROL STRUCTURE  EDIDC
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_AVIP STRUCTURE  AVIP OPTIONAL
    *"      IDOC_AVIR STRUCTURE  AVIR OPTIONAL
    *"      IDOC_AVIT STRUCTURE  AVIT OPTIONAL
    *"  CHANGING
    *"     REFERENCE(IDOC_AVIK) TYPE  AVIK OPTIONAL
    *"  EXCEPTIONS
    *"      PROC_ERROR
      INCLUDE ZXF08U10.
    Here is the code for the include program.
      INCLUDE ZXF08U10
    MOVE febvw_in TO febvw_out.

    Sometimes you will get this error message when checking include code in exits even though there is really no error - it happens because the include does not realise it is in the function due to the navigation index being out of date.
    Try activating the code - it may work even though the check said there were errors.
    You can also get this issue when trying to drill down on the field in the include to view its structure.
    Andrew

  • Include program

    Hi all,
    I am tyring to develop an report.In this I want the definition of the subroutine in an include. This the code I have written :
    <b>Main program :</b>
    REPORT zotcrgt003 .
    INCLUDE z_i_otcrgt003. " include for data Declarations.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001 .
    PARAMETERS : p_zbukr TYPE regup-zbukr  ,
                 p_zlsch TYPE regup-zlsch  ,
                 zw_laufd LIKE f110v-laufd ,
                 zw_laufi LIKE f110v-laufi .
    SELECT-OPTIONS : s_kunnr FOR regup-kunnr.
    SELECTION-SCREEN END OF BLOCK b1 .
    PERFORM language_translation.
    INCLUDE z_i_otcrgt0031. " include in whihc i Defined the above form
    break-point.
    <b>Include program :</b>
    form language_translation.
    SELECT SINGLE * FROM ZTFIN WHERE
                               fname = 'Z_F140_ACC_ST_01'
                          AND  spras = 'E'.
    SELECT SINGLE * FROM ztfin INTO t_ztfin WHERE
                                        fname = 'Z_F140_ACC_ST_01'
                                   AND  spras = 'I'.
    endform.                    " language_translation
    This is working fine, but when I keep the include statements together like this  :
    INCLUDE z_i_otcrgt003.
    INCLUDE z_i_otcrgt0031.
    I am getting an error saying statement is not accessible.
    Can anyone explain me what is it so ?
    Regards,
    Varun.
    Message was edited by: varun sonu

    Hi
    I think the problem isn't the INCLUDE statament, but the PERFORM statament.
    You can write this code:
    REPORT ZCCCC.
    INCLUDE ZCCCC0.
    INCLUDE ZCCCC1.
    START-OF-SELECTION.
    PERFORM WRITE_NUMBER.
    The form WRITE_NUMBER is defined in ZCCCC1.
    But you can't write this code:
    INCLUDE ZCCCC0.
    INCLUDE ZCCCC1.
    PERFORM WRITE_NUMBER.
    START-OF-SELECTION.
    Max

  • IMG Message - Skipped Due to Deletion

    I have a show on my DVR that's supposed to record weekly. Tonight it shows the yellow triangle with the exclamation point AND the red circle (record) with a message saying "SKIPPED DUE TO DELETION".... It's not recording, however, it IS a repeat and my program is set to FIRST RUN ONLY. I know this one shouldn't be recording, but why the cryptic message? Last night it was SUPPOSED to be recording and it wasn't - and had the same message on another show. Also, does anyone know if - when a "manual" recording is set up to tape on WEEKDAYS.. is there a symbol in the GUIDE that says it's scheduled? Mine doesn't show anything. Any help would be appreciated as I've only been using 1.6 for 2 weeks now and I'm not sure of all of the known issues.

    It has been my experience that this happens if there is something that goes ary when setting up the recording. If these are series recordings go to series manager and delete them and then reset them. That should take care of the problem. If they are indivigual show here and there you are having this problem with make sure you are not recording more then two shows in the same time slot.
    Joe was here

  • REGARDING DELETION OF INCLUDE

    HI  folks,
    I created include in a program then when i want to delete the include it gives an error like this
    "Include cannot be deleted because references exist"
    waiting for ur reply,
    regards,

    Hi
    Maybe you are using a field declared in the Include and that is why it is not allowing you to delete.
    Comment the Include line and check your syntax. It might show a few fields aren't declared and maybe those fields are in the include.
    Hope this helps
    Regards,
    Jayanthi.K

  • Modify code in include program of smartform function module

    Hi,
               Someone hardcoded breakpoint inside the smartform function code.
    I have to delete that breakpoint.But its asking access key.
    Can't we remove that line in any other way?.
    Thanks,
    Sri

    Hi,
    You can remove it from the smartform instead of trying in the smartform include program.
    Thanks
    Arul

  • Accidentally deleted important plugins,programs

    Hello,
    I'm pretty new to mac , so I made some stupid mistake... I went to AppCleaner to remove some program, then instead of removing that program, I accidentally deleted some other things along with that program, including programs,plugins(for example,youtube now doesn't work) , and I was wondering, is there any way to retrieve these files?
    Or can I reinstall the OS without deleting all of my files? for example when I upgraded from SL to Lion I haven't lost any information, so can I rewrite Lion without losing any information as well?
    Thank you,
    Best regards.

    If you have not made a backup of the device while the text messages were on the device, then there is nothing that you can do. If you have created a backup of the device with the messages on there, then you can restore to that backup. The iCloud backup does backup SMS, so if you did make one, then they would be there. Otherwise, you are out of luck.

  • How to identify userexits include program which can be modified

    hi frndz,
    plz don't give me the program which is circulating in forum bcoz i kno tht progm it gives the userexit and BADI but i want to get the include programs for eg:MV45FZZ for VA01 tcode....how to get the include programs like this for other tcodes.
    i think this include progm is to validate the fields in VA01....like this how to validate the fields of other tcodes or screens.
    Thanks.
    Points will be rewarded for rgt ans.
    Arunprasad.P

    Hello,
    as the real world is - there are very different types of 'userexits' inside SAP.
    These programs identifing  SMOD-Exits and BADI's are quite helpful, but they won't find any old exit's
    like the MV45AFZZ.
    I don't know a program which could do that - it would have to scan programs for subroutines maned 'userexit'. But this logic is the oldest logic existing from release 3.0 (or older ??). And (i think) only in SD-related programs. In that area you find the exit's via transaction SPRO -> Sales and Distribution -> system modification.
    Regards Wolfgang

  • Which is better Function modules or Include programs?

    Hi,
    I am working on an enhancement and it has lot of screens with a tree structure on the left. Now we are planning to have each screen to have its PAI/PBO and the processing logic to be in seperate include programs.
    However in our team we have debate as to go in for include programs or for Function modules. The opinion here is that the program should not take long time to load if its going to be include programs.
    Please suggest what approach is better, is it Function modules or include programs.
    Any other suggestion is also welcome.
    Thank You,
    SAC.

    Thank You all.
    In this enhancement I have about 13 screens and has business logic in each. So if I go with each screens and business logic coding in seperate Function modules than includes under 1 function group is adviceable?
    Using object oriented approach is really the best thing here, but however most of my team members are not welversed in OO concepts. The deadlines are very tight for grooming my team members as well.
    My only concern is that with so much screens and business logic in 1 transaction should not bring down this programs performance when its executed.
    Any other suggestions to keep in mind for this is appreciated.
    Thank You.
    SAC

  • Hi! Once I've deleted a purchased program and now I get it back to my itunes, but can't go back to my phone even it's shown on the monitor that it's on my phone already. But it isn't. Even if I syncronize it doesn't move to my phone. What can I do?

    Once I've deleted a purchased program accidentally and now I get it back from my iTunes, but doesn't move to my phone even it looks like on the phone by iTunes.
    How can I syncronize it to get back really the app to my phone?

    go to settings>general>restrictions and turn facetime ON

  • I have updated my ipod and it deleted everything including my photos and i did not save my photos on any other device, How do i get them back?

    I have updated my iPod and it deleted everything including my photos and I did not save my photos on any other device, How do I get them back?

    You didn't import all of your pics regularly?  Particularly before an update?
    They may very well be gone.
    You can try restoring from backup.

Maybe you are looking for

  • Event date does not agree with photo dates in the event

    Mavericks  Iphoto 9.5.1 I have made a new event and put lots of genealogy pictures for one family member in it.  I changed all the photos to Jan 4, 2002.  These are docs, pics, obits, etc. Thus I have given this one person this date.  Other family na

  • Catalyst 10.2 on Ati HD 5450 not working

    Hi all! I have a problem with catalyst from ati.amd.com After boot black screen with a cursor xorg.conf # Auto-generated by Archie mkxcfg # Auto-generated by Archie mkxcfg Section "ServerLayout" Identifier "aticonfig Layout" Screen 0 "aticonfig-Scree

  • AIR 3.7.0.166 Sound Bug Crash APP without error

    Hello guys, The last Adobe Air Mobile update gaves me a lot of head ake! Im developing a multimidia APP, and since AIR was updated in my device, no more sounds is playing in the application. It just crashes withou any error in Debug mode, and restart

  • Disappearing Shared Places Mac and Windows

    I have 3 Macs and a Vista and XP box and a network storage device. Router is an Apple Airport Extreme. In the last couple days all my windows boxes and NAS dropped out of the shared area of the finder. I can still connect to them via "Go To Server" i

  • Element.getAttributes() not working as it should

    Hi people, I am using xerces to parse an XML file and reformat it into a newer XML file. Along the way i have to read all the attributes of a tag and update a new node with those tags. Here's the code for that method: private void addAllAttributes(El