Deletion of Function modules

Hi,
i am trying to delete the FM but system is not allowing me to do so it says that the object has been locked by transport request
when i had closer look it is nothing but Function group which is locked. we create all our FMs in a single Function group
so all newly FMs that were in development are included in this group and therefore i cannot delete my FM
what would be the procedure to do the deletion of FM?
Raj

Hi
you just create a Dummy Function Group ZGRP
Then --> Go to SE37
Enter your function module name
--> Menu >Function Module> Other Functions-->Reassign
(or) Press ctrl+F7
ther you can reassign the function group (i.e.you assign the newly created Dummy fuction group ) and after you can delete it with out any risks.
Hope this will help you
Thanks & Regards
Mallikharjuna Reddy

Similar Messages

  • How to delete a function module from function group

    I want delete a function module form function group.. iam unable tp do that , when i dlete that FM , it is saying " ralated objects are locked in another request"
    what to in this case?
    Pls anybody help me in this...
    Regards,
    pandu.

    Hi,
    go to se80
    type the function group and press enter
    select the function module right click and delete.....
    before that see the request number the FM is attached and delete that from that request and try deleting it
    Reward if usefull

  • Error on SAPLZ001 program after deletion of Function Module

    Hi,
    I got some problem with my datasource (processed by a function module), this error occurs after I delete the FM in D because this will not be used in Q.
    Below is the details of my problem, Hope you can help me soon. thank you very much
    Includes LSVIMFTX
    Field "FORBIDDEN_FUNC_NAME_CHARS" is unknown
    History of the problem:
    After Q refresh, we need to retransport all TR that are existing to Q01
    before the refresh.
    The Error occurs when retransporting existing Datasource process by a
    function module to Q01
    Error Message:
    Program SAPLZ001, Include LZ001UXX: Syntax error in line 000011
    INCLUDE report 'LZ001U07' not found
    this is because 1 function module is missing in the Q but the FM name
    exist in the LZ001UXX under LZ001U07.
    But since the missing FM is no longer needed, I decided to delete this
    FM in Dev and transport the changes done to Q, hoping that the failed
    datasource transport will be successful after retransport.
    After I did the deletion, a new error occurs when releasing the TR, it
    says:
    Includes LSVIMFTX
    Field "FORBIDDEN_FUNC_NAME_CHARS" is unknown
    I check manualy the program LSVIMFTX and it says there is no syntax
    error.
    But when I check SAPLZ001 program the error occurs.

    The FM is for data extraction, I created a Datasource that processed by a FM.
    Yes, I get this error in Dev originally, but before I deleted the FM in D, this work fine and when I deleted and transported the action "delete FM" to Q it fails, then when I check it in Q the Q now is having the same problem with D.
    I am trying to change the version in D and transported to Q, but transport always fails.
    changing version didnt fix the problem with.
    Thank you very much for your time...

  • Deleting a function module

    Hello All,
    I created a function module using SE37. When asked for the function group, i entered the function group also. Now I want to delete this function so that it is removed from the function group also. Could anyone please tell me how this can be done.
    Thanks in advance
    Regards
    Sudha

    Hi,
    Goto Se37
    Enter the Function module name
    Press <SHIFT> + F2.
    Else goto SE80,
    In the dropdown Select Function Group
    Give the function group name
    Right click on the function module name and select
    "Delete".
    Regards,
    Sesh

  • Function modules from the function pool Z_MEREP_G (Message no. MEREP_00530)

    We installed a new system and imported the syncbo definitions to this new system.
    After the import and generation of all T01 SyncBOs we get an error. E.g. for MAM25_016:
    Function modules from the function pool Z_MEREP_GEN_T01_MAM25_016 contain syntax errors
    Message no. MEREP_00530
    After investigation the following syntax error is shown:
    Source code   LZ_MEREP_GEN_T01_MAM25_016U04                  Line     641
    The FORM "MAM25_016_CONV_NAME" does not exist, but there is a FORM with the similar name "MAM25_016_I_CONVERSION".
    "MAM25_016_I_CONVERSION".
    We are already using three systems D -> Q -> P. The export/import of files between these systems work okay. But not with the new system. All are on NW04 SPS 18. In the other systems the form is available.
    Does someone have an idea how to solve this?
    Thanks in advance,
    Benjamin de Rijke

    Hello Rahul / Karthick,
    Thanks for the tip, I already reimported these with no effect. Next to this I deleted the function modules for a Z-syncbo (our own developed one). But this didn't help as well.  The MAM-SyncBO function group can not be deleted because the system is not a developement system. We are not allowed to develop things in this environment.
    I have the feeling that it has something to do with the initial setup of this system. All the others were first on SPS15 were we developed the SyncBOs. At a certain time we updated the systems to SPS18 and developed further. No issues so far regarding the import / export of the files from D to Q and P.
    Now we initial installed a new system on SPS18 and on this one the generation failes with the mentioned syntax error.
    Kind regards,
    Benjamin

  • How to down lode function module & how to uploaded

    Dear  friends,
    Iam trying  2  transport request 4m development 2 production ,
    unknowing i deleted  customized function module, 
    Same functional module was in other client  plz guide me how to downloaded functional module  & how to up lode ,
    How to down lode function module & how to uploaded
    Regards,
    Reddy

    Hello,
    Create a request of type Transport of Copies.
    Go to transaction SE03 , select the option Include Objects in a Transport Request, select the object, include in your request and liberate it.
    Then copy the DATA and COFILE of this request to your destination system and import it in transaction STMS.
    Take a look at this: Transport error!
    Regards,

  • Function modules or BAPI for deleting plan costs on a cost center

    Hi all,
    I search for a function module or bapi to delete plan costs / activity on a cost center.
    At the moment I update the planning with 0, but that cause a mass of needles entries on the cost centers.
    For check and posting I use the function group 6026 - BAPI_COSTACTPLN_* ,
    but there is no function for deleting.
    Has anyone an idea?
    Thx for help - points as reward !

    check
    BAPI_COSTACTPLN_POSTACTINPUT   Activity Input Planning: Posting                
    BAPI_COSTACTPLN_POSTACTOUTPUT  Activity/Price Planning: Posting                
    BAPI_COSTACTPLN_POSTKEYFIGURE  Stat. Key Figure Planning: Postings             
    BAPI_COSTACTPLN_POSTPRIMCOST   Primary Cost Planning: Postings                 
    BAPI_PDTRANSCO_POSTPRIMCOST    Transfer of Planning Data: Post Primary Costs   
    K40C                           CO Actual Postings, Manual                      
    BAPI_ACC_PRIMARY_COSTS_POST    Accounting: Post Primary Costs                  
    BAPI_COPAACTUALS_POSTCOSTDATA  BAPI Operating Concern: Post Costing-Based Actua
    BAPI_PRIM_COST_CHECK_AND_POST  Primary Costs: Formal Parameter Check           
    S@meer

  • Which function module to delete job log?

    Hi, I submit report via jobname and jobcount. After I close job and run it, we can see jobname is still in job log by SMX. But client doesn't want to see it, so who can kindly tell me which function module can delete jobname from job log?
    Thanks a lot.
    Jack

    try        CALL FUNCTION 'BP_JOB_DELETE'
    If you have used JOB_OPEN before the SUBMIT to create the job, you can automatically delete the job upon successful completion by setting the parameter DELANFREP = 'X' in the JOB_OPEN function call.. this way the user will only see the logas for cancelled/aborted jobs..
    ~Suresh
    Message was edited by: Suresh Datti

  • Is there any BAPI or function module  to delete entries from a table (VBAK)

    Hi Everybody,
    this is my first thread in SDN...
    my problem follows...
    A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
    tables:
    VBAK     sales document: header data
    selection fields:
    VBAK-LIFSK      &#8800;     <BLANK>
    VBAK-ERNAM     =     userID used by e-Sales / IVE
              (EP-BATCH / EAI-BATCH)
    VBAK-ERDAT      <=     Current system Date
    VBAK-ERZET     <=     Current system Time - 20 minutes
    These orders should be deleted from SAP system.
    This report should be scheduled to run regularly every 10 minutes.
    my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
    best replies will be rewarded....
    regards
    Reddy

    Hi Vasanth ,
    thanks for your reply.
    i tried in the same manner what u mentioned.
    but how to pass only one parameter to the functionmodule..
    here in this case we have to pass only update flag as 'D'..
    i did the same it giving dump..
    An exception occurred that is explained in detail below.                          
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was      
      not caught and                                                                   
    therefore caused a runtime error.                                                 
    The reason for the exception is:                                                  
    The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:                                                                               
    In the function module interface, you can specify only                            
    fields of a specific type and length under "ORDER_HEADER_INX".                    
    Although the currently specified field                                            
    "INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.              
    my pgm :
    *& Report  YNEW_ORDER_DELETION
    REPORT  ynew_order_deletion.
    TABLES:vbak.
    PARAMETERS:
         p_lifsk LIKE vbak-lifsk DEFAULT '02'.
    SELECT-OPTIONS:
       s_lifsk FOR vbak-lifsk DEFAULT '10',
        s_ernam FOR vbak-ernam,
        s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
        s_erzet FOR sy-uzeit.
    *PARAMETERS:
    p_erzet LIKE sy-uzeit.
       s_erdat like vbak-erdat,
       s_erzet like vbak-erzet.
    DATA:
       BEGIN OF int_final OCCURS 0,
            w_vbeln TYPE vbak-vbeln,
       END OF int_final.
    DATA:
      int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
    DATA:
      wf_time TYPE sy-uzeit.
    INITIALIZATION.
      s_ernam-low = 'KULKARMA'.
      s_ernam-sign = 'I'.
      s_ernam-option = 'EQ'.
      APPEND s_ernam.
    s_ernam-low = 'EAI-BATCH'.
    s_ernam-sign = 'I'.
    s_ernam-option = 'EQ'.
    APPEND s_ernam.
    wf_time = sy-uzeit - 1200.
    p_erzet = sy-uzeit - 1200.
    p_erzet-low = wf_time.
    APPEND s_erzet.
      int_order_header_inx-updateflag = 'D'.
      APPEND int_order_header_inx.
    START-OF-SELECTION.
      SELECT vbeln FROM vbak
                       INTO TABLE int_final
                       WHERE lifsk EQ p_lifsk
                         AND ernam IN s_ernam
                         AND erdat IN s_erdat
                         AND erzet IN s_erzet.
      IF sy-subrc = 0.
        LOOP AT int_final.
          CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
            EXPORTING
              salesdocument         = int_final-w_vbeln
      ORDER_HEADER_IN             =
        order_header_inx            = int_order_header_inx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
            TABLES
              return                      = int_return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
        ENDLOOP.
        LOOP AT int_return.
          WRITE:/ int_return-type,
                  int_return-id,
                  int_return-number,
                  int_return-message.
        ENDLOOP.
      ENDIF.
    please help me ..its a very urgent issue to be solved...
    am waiting for ur reply...
    regards
    gangareddy

  • Program or Function module to delete data from Open Hub Destination Table

    Hi All,
    Can anybody suggest me a Program or Function module to delete data from Open Hub Destination Table.
    Thanks & Regards,
    Vinay Kumar

    You can simply goto t-code SE14 mention the open hub destination table and Delete data by clicking on "Activate and Adjust database" with radio button "Delete Data".
    Regards,
    Arminder

  • RFC enabled function module for insert update and delete in a Ztable..

    friends..
    Is there any standatd RFC enabled function module to insert , update and delete data in a custom database-table (Ztable)? if not how can we create it? plz give me the details steps..
    what are the import, export parameters and how to develop and process it.. (for example: suppose fields in the table is Emp_Id, Name, Address)
    Thanks and Regards

    Hi,
    Try this code.
    REPORT ZMMC071Z_RMV.
    TYPE-POOLS : ABAP.
    FIELD-SYMBOLS: <DYN_TABLE> TYPE STANDARD TABLE,
                   <DYN_WA>,
                   <DYN_FIELD>,
                   <LV_CONDI>.
    DATA: DY_TABLE TYPE REF TO DATA,
    DY_LINE TYPE REF TO DATA,
    XFC TYPE LVC_S_FCAT,
    IFC TYPE LVC_T_FCAT.
    SELECTION-SCREEN BEGIN OF BLOCK F1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_TABLE  LIKE DD02L-TABNAME OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK F1.
    Evento: At Selection Screen                                          *
    START-OF-SELECTION.
      PERFORM GET_STRUCTURE.
      PERFORM CREATE_DYNAMIC_ITAB.
      PERFORM GET_DATA.
    END-OF-SELECTION.
    *& Form get_structure
    text
    FORM GET_STRUCTURE.
      DATA : IDETAILS TYPE ABAP_COMPDESCR_TAB,
      XDETAILS TYPE ABAP_COMPDESCR.
      DATA : REF_TABLE_DES TYPE REF TO CL_ABAP_STRUCTDESCR.
      DATA VL_LENGHT(30).
    Get the structure of the table.
      REF_TABLE_DES ?=
      CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( P_TABLE ).
      IDETAILS[] = REF_TABLE_DES->COMPONENTS[].
      LOOP AT IDETAILS INTO XDETAILS.
        CLEAR XFC.
        XFC-FIELDNAME = XDETAILS-NAME .
        XFC-DATATYPE = XDETAILS-TYPE_KIND.
        XFC-INTTYPE = XDETAILS-TYPE_KIND.
        XFC-INTLEN = XDETAILS-LENGTH.
        XFC-DECIMALS = XDETAILS-DECIMALS.
        APPEND XFC TO IFC.
      ENDLOOP.
    ENDFORM. "get_structure
    *& Form create_dynamic_itab
    text
    FORM CREATE_DYNAMIC_ITAB.
    Create dynamic internal table and assign to FS
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = IFC
        IMPORTING
          EP_TABLE        = DY_TABLE.
      ASSIGN DY_TABLE->* TO <DYN_TABLE>.
    Create dynamic work area and assign to FS
      CREATE DATA DY_LINE LIKE LINE OF <DYN_TABLE>.
      ASSIGN DY_LINE->* TO <DYN_WA>.
    ENDFORM. "create_dynamic_itab
    *&      Form  get_data
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DATA .
    *Get data from p_table into internal table <DYN_TABLE>
      SELECT * INTO TABLE <DYN_TABLE>
          FROM (P_TABLE)
    Here you can implemente function DELETE, INSERT.
    ENDFORM.                    " De_para

  • Search for a function module for deleting document originals (DMS)

    Hi,
    I'm searching for a function module to delete originals in documents (like manually with transaction cv02n). I'm only able to set an delete mark with the module 'BAPI_DOCUMENT_DELETE'.
    The module 'BAPI_DOCUMENT_CHANGE2' can only add new originals to an existing document. I need a possibility to delete all originals in an document without deleting the document itself.
    Has anyone an idea?
    Thanks.
    Jan-Christian Treusch

    Many thanks!
    That's especially the method I've searched for so long....
    best regards.
    Jan-Christian Treusch

  • Function modules for delivery creation, change, deletion.

    hi all,
    anyone know and worked on function module to create/change/delete deliveries with reference to sales order/without reference of sales order.
    if any one knows about the function modules please let me know.

    BAPI_DELIVERYPROCESSING_EXEC will allow you to create an outbound delivery, but this is <b><u>not released</u></b> for customer use yet(Rel.47). Type that function module in the forum search area and you will get some sample code.

  • Function modules for deleting photos in archive

    Hi all,
    I got the requirement to delete the photos which was uploaded through archive link (OAAD).
    Could I know which function modules should I use to delete the link as well as document?
    When I searched in forums I found some function modules:
    ARCHIVE_OBJECT_DELETE
    HRXSS_COD_DELETE_OLDPHOTO
    But these function modules doesnot exists in my client.
    Could you suggest me some other function modules with parametrs passing.
    Also explain me how to pass parameters for SCMS_DOC_DELETE function module.Is this helpful for deleting of photos?
    Thanks in advance.

    Hi Harika,
    you could try using the FM ARCHIV_DELETE_META.
    Also, the FM HRXSS_COD_DELETE_OLDPHOTO appears to have been create for this purpose of deleting employee photos; and only requires the personnel number to be entered.
    KR,
    Karen.

  • Function module/ program for deleting Vendor purchasing org. in BBPMAININT?

    Hi,
    Is there any function module or program available by which i can delete purchasing org. maintained  for SRM vendors in BBPMAININT.
    Regards
    Bharat M

    Hi
    Please use the Standard SRM function module
    *BBPPORG_DELETE*_
    to delete the Purchasing organizations ->
    Sample code - >
        CALL FUNCTION 'BBP_PORG_DELETE' IN UPDATE TASK
          TABLES
            IT_FRG0060 = LT_FRG0060
            IT_FRG0061 = LT_FRG0061.
        COMMIT WORK.
    Hope this will help. Do let me know.
    Regards
    - Atul

Maybe you are looking for

  • HT1657 I have downloaded a film, but how do I watch it?

    I'm really stuck and I need your help before this movie expires

  • Preview doesn't show JPG files

    I keep having problems viewing JPG files in Preview. The image displays in the Finder, it displays in the thumbnail view for 'Downloads" and it will even appear in the sidebar for Preview if I choose to show the sidebar, but it does not appear in the

  • HT5557 Printing from iBooks on a Wireless HP Printer

    I'm trying to print a PDF doc from iBooks via my wireless HP Officejet.  I have never done this but I'm getting an error "No AirPrint Printers Found"  Can anyone tell me what this means?  The Wireless feature is ON on the printer....

  • F11(Query mode) and Execute Query in Oracle Forms

    Hi Experts, I am working with EBS11.5.10.2 and database 9i. I am working on forms, i am new to forms. Could somebody help me how to achieve F11(query mode) functionality in APPS forms. Thanks in advance.

  • Problem With BAPI : BAPI_QUALNOT_CREATE

    Hi All, I am having Problem while creating notification using bapi bapi_qualnot_create. when i enter partner name in the notifpartner internal table of the bapi. bapi checks wheather the partner number entered is valid sap login or not and if not it