Problem in copying a standard function module!

Hello there,
                 I need to copy the FM, RS_TABLE_LIST_DISPLAY, to a Y function Module. But I am not able to copy it as a single FM, I have copy all the FMs in that function group i.e. SETB.
                 I, then copied that standard function group SETB. I am getting a strange error message while activating the copied version. The error which I am getting is:
The parameter "INTTAB" of the global interface has already been defined outside the function.
INITTAB is some defined internal table.
Also the include in which this error is getting appeared is LY.....$07 something. I have tried to many times. Not able to resolve the issue.
Please help!
Regards,
Ganesh Khumse

Hi There,
              Thanks for your reply. I have not defined anything in the copied function module. I just copied and tried to activate it, error occurred.
Thanks & Regards,
Ganesh Khumse

Similar Messages

  • Copy Standard Functional Module

    In standard FM, DETERMINE_TXJCD_EXTERNALLY. City and county are optional. What effort it takes to makes this fields as mandatory.
    Please let me know.
    Can I copy this Standard FM to custom funtional module and just say check the check box in export parameters.
    Please let me know. Thank you.
    Regards
    Madhu

    Hi,
    My suggestion will be
    Write a wrapper function module of DETERMINE_TXJCD_EXTERNALLY with the same fields
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(COUNTRY) LIKE  TTX_TXJCD-COUNTRY
    *"     VALUE(REGION) LIKE  TTX_TXJCD-REGION
    *"     VALUE(CITY) LIKE  TTX_TXJCD-CITY OPTIONAL
    *"     VALUE(COUNTY) LIKE  TTX_TXJCD-COUNTY OPTIONAL
    *"     VALUE(ZIPCODE) LIKE  TTX_TXJCD-ZIPCODE
    *"     VALUE(PROCEDURE) LIKE  TTX_TXJCD-PROCEDURE OPTIONAL
    *"     VALUE(ID_TAX_EXT) LIKE  TTX_TXJCD-ID_TAX_EXT OPTIONAL
    *"     VALUE(NO_DIALOG) LIKE  TTX_TXJCD-ID_TAX_EXT OPTIONAL
    *"  EXPORTING
    *"     VALUE(TXJCD) LIKE  TTX_TXJCD-TXJCD
    *"     VALUE(CITY) LIKE  TTX_TXJCD-CITY
    *"     VALUE(COUNTY) LIKE  TTX_TXJCD-COUNTY
    *"  EXCEPTIONS
    *"      TXJCD_NOT_FOUND
    *"      TXJCD_NOT_UNIQUE_IN_NO_DIALOG
    *"      EXTERNAL_TXJCD_NOT_REQUIRED
    *"      TXJCD_PROCESSING_NOT_REQUIRED
    *"      RFCDEST_NOT_FOUND
    and within that wrapper function module make fields mandatory. This will reduce your effort during patches updattion. otherwise if you are copying the standard function module, then after applying the patches to original function module you need to redo the changes mannually in to your  copied function module

  • How to copy the standarad function module

    hi,
          i wants to copy the standard function module which are not rfc enabled. for that one i copied standard one and modified the attributes to rfc enabled. but it was giving the errors "You can only use LIKE and TYPE to specify types in RFC",
    how can i solve my problem. pls help me.

    Hi mukka,
    1. In that FM, while after copying to Z,
    2. there is a second parameter in IMPORT
    WITH_TEXT
    3. in the column of Associated type,
        it will be blank.
      give some data element like CHAR30
       and also give type
    4. Then it will not give the error.
    regards,
    amit m.

  • Copying Enchancement spots from standard function module to Z fun module

    Hi All,
    I copied standard function module SD_BACKORDER_LIST to my Z function module . But i am unable to copy the enchancement spots available in the standard function module . please give me the suggestion to copy this to my Z function module .
    Regards
    R.Vijayakumar

    Hi Martin,
    A SAP note will soon be released about this (compatible back to 6.40)
    There is a light version available in 7.3 to transfer data between PFCG and ST01.
    There is an optional Rolls-Royce version available for Z-codes / functions and the import parameter specific checks. The trick is to keep the original context of the call and maintain the proposals to the RFC enabled entry point, and know whether the tcode triggered it or the external caller.
    There is a service delivered which is context sensitive (e.g. the message type of the IDOC determines the application authorizations needed for synchronous processing, so SAP cannot deliver SU24 reliable proposals and the ones they tried for the /SDF/ are very isolated..).
    You need a "common functions" role for the basic scenarios like you have for interactive SAPGUI end-users, and then you need a runtime analyzer to perfect SU24 context sensitively. You also need to distinguish between a local BAPI (context is tcode) and remote one (context is RFC protocol, or http protocol... etc)
    That comes with the SAP Note...  (it is not released yet. I will update this with the number in the next weeks.)
    --> Just a little heads-up and insight that there is some light at the end of the tunnel and you can even order it as a service from SAP to fix your Z-problems for you. The question happened to match that which I know SAP is working on.
    Cheers,
    Julius
    Disclaimer : I have done many such spagetti fixes in the wild and developed the tool and services for customer scenarios together with SAP from my experiences, it is one of my favourite topics --> the Rolls-Royce version with Z-functions, hard-wired external RFC clients and configuration scenario dependent checks includes consulting fees if you want SAP to secure your own scenarios for you. The tools help this, but you cannot fully automate or propose it fro SU24 in "factory settings".

  • Copy Standard Function modules  to Z Function modules

    Hello,
    I have a requirement like , I need have a typical requirement where i need to copy few function modules in the same function group , in  this regard i copied 4 function module and calling performs with the program name , but i am unable to achive the requirement , Function module is getting Dump,
    Can any one explain the standarded function modules and place it in Z function group. or is it possible to include standard function group in to Z function group ?
    How to get reslove ?  please guide ...
    Thanks In Advance.
    With Best Regards
    Naganjaneyulu.P.V

    Hi Naganjaneyulu,
    If you copy it will be similar to Standard. But you can modify those FMs as you like which will not be possible in standard. Also if you solely copy the FM, If that FM consists or depends on the screens or Includes which are present in the Function Group then there will be syntax errors and shortdumps. The Reason for your short dump might be this.
    If you are still not happy with this approach, Kindly paste the standard FM that you are trying to clone and the short dump that you are encountering.
    Thanks,
    Sai

  • Problem in copying a standard maintenance view

    Hi to all experts,
    My requirement is to make an exact replica of the standard view   V_T71ADM23 . I have copied the view into a custom z view and in the table maintenance generator created a function module and provided a screen . but the screens in both standard and custom view which i have generated is different. So i copied the standard function group in the table maintenance generator of the standard view into a zfunction group and assigned to the custom view . If i do that im getting errors like
    View C_V_T71ADM21 has no active version and no entry in the control directory
    View VT71ADM19 has no active version and no entry in the control directory
    View VT71ADM20 has no active version and no entry in the control directory
    View VT71ADM21 has no active version and no entry in the control directory
    View VT71ADM22 has no active version and no entry in the control  directory
    View VT71ADM23 has no active version and no entry in the control directory

    Hi venkat ,
    i followed your procedure but it is the same . Im getting different screens  for standard and one which i copied . what could be the reason
    after going into sm30 click maintain entries
    give compensation area and
            guideline matrix
    hit enter
    i tried with both standard and custom
    the screens are different in standard and custom some fields are missing in the custom view which i copied
    Please help . greatly appreciated .....

  • Do we have standard function module or program to activate transformation?

    Hi Gurus,
    Do we have any standard function module or program to activate transformation in BI system? If yes please let me know or let me know how to proceed with to create custom program to activate transformation.
    Thanks,
    Manoj

    Hi Sven,
      Thanks for your help.
    Even I am facing the same problem, we didnt want to open the production system to activate the transformation also it take time to transport them every time from development
    can you please explain how to use these methods, what parameters to pass
    do you have a sample code, it will be of great help.
    use this methods
    cl_rstran_trfn=>factory
    cl_rsds_rsds=>if_rso_tlogo_general~get_instance
    l_rsds->if_rso_tlogo_maintain~is_active
    l_rsds->if_rso_tlogo_maintain~activate

  • Standard Function module for Creating Vendor?

    hi ppl
    i want to know that which function module gets call when we create a vendor from trans. code XK01, i.e. the standard function module SAP uses.
    Regards,

    Ravi,
    What you can do is that you can debug the normal working of the standard webdynpo. This will be helpful in solving the problem.
    Incase you need further clarifications, please let me know.
    Thanks
    Atul

  • Change the standard function module

    The standard function module FI_DUPLICATE_INVOICE_CHECK will check whether an invoice/credit memo has already been posted where all of the following attributes match: Company code, vendor, currency, document date, reference number (If a reference number was entered in the current invoice/credit memo). If no reference number was entered in the current invoice/credit memo the system checks whether an invoice/credit memo has already been posted where all of the following attributes match: Company code, vendor, currency, document date, amount in document currency
    my requirement is
    The above functionality described in the short description doesn’t provide for the need within AP to check on duplicate invoices. The functionality in FI differs from the functionaltiy provided in LIV and therefor needs to be aligned. The risk of posting duplicate invoice entry is eminent since the check is dependent on all parameters. For a good duplicate invoice number check we need FI to check on Vendor and invoice reference within the same fiscal year. To modify rules, copy FI_DUPLICATE_INVOICE_CHECK, modify the checks and then call the copied function module from FB60. The remaining field check in the standard function module should be deleted.
    how  to achive this. i didn't understand the requirement .Please give me any suggestion for this.

    Hi ,
    I think what you are saying is the functionality given in Logistics Invoice verification is not suitable for FI Invoice.
    If I am correct , then there is a configuration setting in SPRO where you set check for duplicate invoice. It has just three checkboxes
    a) Company code b) Reference number c) Invoice date
    so I think this configuration setting will suffice your requirement.
    Please let me know.
    Amit

  • Is there standard function module to read "open office" in SAP

    Hi All,
    Is there any standard function module to read open office document from SAP.
    Please confirm.
    Thanks and best regards
    Rajeev Chhabra

    Hi all!
    I have a similar problem. I need  create a formatted spread sheet managed open office. The work sheet must be formatted.
    I do not find the function module for doing this.
    Do yo have any idea? The only thing I have found is the functionallity included in program BCALV_TEST_GRID.
    Also I will need a function to upload the file to fill a table control.
    Thanks in advance.
    Cristina.

  • IF statement in Standard function module PRICING

    Hi,
    In standard function module PRICING
    I found one if statement like this.
    if  xkomv-kntyp na '1$' .
    Plz tell me the meaning of thai '1$' value.
    Regards,
    Upender Verma.

    Hi,
         NA means Contains Not Any ..
         if xkomv-kntyp na '1$'  means .. xkomv-kntyp does not contain '1' or '$'.
         Read help on comparision operator 'NA'
    Regards,
    Srini.

  • Implicit enhancement to a standard function module.

    Hi everybody.
    I used an Implicit Enhancement to a Standard function module Customized_Message, at the starting of function module.
    Code:
    ENHANCEMENT 1  ZFK01_ENHANCEMENT4.    "active version
    If sy-tcode = 'FK01' and sy-CPROG = 'SAPMF02K' AND I_MSGNR = '230' AND i_arbgb = 'F2' AND I_DTYPE = 'I'.
      EXIT.
    ENDIF.
    ENDENHANCEMENT.
    The above is working fine, to the condition what i had given above code.
    But my question is, can i use a implicit enchancement to a Standard function module(Customized_message).

    Yes, but you should also be aware that 'F2' is a configurable message class in the IMG.  You should attempt to solve your issue in that manner first.

  • Error in the SAP standard function module 'RSDRI_INFOPROV_READ'.

    Hello Experts,
    We upgraded from 3.5 to 7,0 support pack 17 .
    After upgrade we are getting error
      with return code 11 'Others´'.
    While debugging the standard function module we found that the standard method s_r_infoprov->read is being executed with the return code = 8 (inherited_error).
    Any suggestions?
    Regards,
    Vivek

    Not sure if the parameters provided were correct,you may wish to do a sanity check
    Input Parameters:
    1. I_INFOPROV - This will hold the Name of the Info Cube from where we need the pull the data.
    2. I_T_SFC - This parameter is in the format of Internal Table which holds the Character Info Objects we need to pull from the Source Cube.
    3. I_T_SFK - This parameter is also in the format of Internal Table which holds the Key Figure Info Objects which we need to pull from the Source Cube.
    4. I_T_RANGE - This is also in the format of Internal Table which holds the Selection criteria for which we need to pull from the Source Cube u2013 For example the Company Code u2013 001 and Fiscal Year Period u2013 001/2006.
    5. I_T_REQUID u2013 Selection of cube data based on Request Id.
    6. I_SAVE_IN_TABLE u2013 In case you need to save the data in DB table
    7. I_REFERENCE_DATE u2013 This holds the current date.
    8. I_AUTHORITY_CHECK u2013 This will hold the value u2018Ru2019, which is meant for READ.
    9. I_DEBUG u2013 This is for Debugging mode and holds the default value u2018Yu2019.
    Output Parameters:
    1. E_T_DATA u2013 This Output Parameter is of internal table format, in which we can mention the output fields (For all the fields mentioned in the Input Parameter, this output parameter will hold the values).
    2. E_END_OF_DATA u2013 Once the FM is executed successfully, this output parameter will hold the value u2018Xu2019, means extraction completed successfully.
    Hope it Helps
    Chetan
    @CP..

  • BDC program or standard function module to change data in PFCG TCode.

    Gurus,
    I have programatically change the validity date of SAP security role (TCode PFCG). Are there any standard function module available for this ? If not then does PFCG supports update vida BDC programming ?
    Regards,
    Rajesh.

    Cross-posting. Thread locked.
    Please read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
    PS: Please clean up / follow up on all your hundreds of unresolved questions.

  • *Can we call a Standard Function Module inside a Zfunction module ?*

    Can anyone please help me know whether we can call a Standard Function Module inside a Zfunction module ?
    I tried the same (No syntax error) BUT when i activate the zFunction Module it throws the error:-
    +'' REPORT/PROGRAM statement missing, or program type is INCLUDE. " +

    Yes, I got the Answer -
    We Can we call a Standard Function Module inside a Zfunction module.
    But we need to make sure that the Function Groups are activated.
    FUNCTION ZFM_TEST_NESTED_FM.
    ""Local Interface:
    *"  EXPORTING
    *"     REFERENCE(EX_CONVERT_UPPER_CASE) TYPE  STRING
    CALL FUNCTION 'TERM_TRANSLATE_TO_UPPER_CASE'
      EXPORTING
      LANGU                     = SY-LANGU
        TEXT                         = 'gaurav'
    IMPORTING
        TEXT_UC                   = EX_CONVERT_UPPER_CASE
    EXCEPTIONS
       NO_LOCALE_AVAILABLE       = 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.
    ENDFUNCTION.

Maybe you are looking for

  • Deleting deliveries and sales orders using BAPI

    Hello all...I am making some changes to the existing program which uses call transaction to VL02 and VA02 doe deleting deliveries and sales orders. This program is running for ever. So I want to use BAPI BAPI_OUTB_DELIVERY_CHANGE and BAPI_SALESORDER_

  • How can I count patterns of multiple rows in a table

    I just can't wrap my head around a query I need to identify the unique set of patterns with a table...by patterns I mean the following... This is medical procedural data, wherein the first procedure code is followed by 0 or more procedures in a seque

  • My galaxy s5 has a blank screen. How do I transfer content to the replacement phone if I can't use the one with the blank screen?

    The screen on my Galaxy S5 suddenly went blank. I can still hear when I have a message and a call, but the screen will not turn on. I am getting a replacement phone today, but how do I transfer content when I can't see anything on my old phone, so I

  • How to display sinlge character in o/p column(matnr) in Alv

    Alvreport: material no in output is displaying  Matnr                                                 sdmo46dm0012 from the above i want to display only fifth character in o/p:                                                                          

  • Pop up window : conatin buttons

    Hi friends, I need to generate a pop up window based on a condition. I can use FM POPUP_TO_CONFIRM, but I need follwing values to be displayed on the pop up window. 1)Three variable values 2)PUSH buttons (5 BUTTONS) please help in this regard as soon