Problem in copying std function module

Hi friends,
I have this std function module .
MS_PURCHASE_ORDER_REPORTING
i copied it to ZMS_PURCHASE_ORDER_REPORTING,till here everthing fine. In above std fm in tables tab we have
po_xdata like srv_mdrv.
i want to change it to po_xdata like zsrv_mdrv.
I mean i created one view zsrv_mdrv, so i want to replace above std one with my view.
when i try to copy im gettign error as:
tables paramete are absolete.
Please help me out ,its very urgent.
rgds,
vamsi

Ramya,
I created my own view, in that i have some fields which are not in srv_modrv view.
this zsrv_modrv has to be add in place of srv_modrv in function module which i have changed to zfunction module.
something im gettign tables parameters are obsolete something.
even i tried with by changing parameter name and seen, then also its not taking..
please help me . its very urgent.

Similar Messages

  • Problem in copying the function module.

    Hi All,
    I have to Copy the standard function modules "FI_ITEMS_DISPLAY" and "ITEM_DERIVE_FIELDS".
    The Function group for both of above FM is "FI_ITEMS".
    What i did is I went to SE80 ,I copied down the Function Group 'FI_ITEMS' to 'ZFI_ITEMS'.
    later on i copied the standard function modules 'FI_ITEMS_DISPLAY' and 'ITEM_DERIVE_FIELDS'
    to the 'ZFI_ITEMS_DISPLAY' and 'ZITEM_DERIVE_FIELDS' resp.in the same function group 'ZFI_ITEMS'.
    Then i made some changes to these copied modules (I did change the structure of it_items from RFPOSXEXT to ZRFPOSXEXT in ZFI_ITEM_ITEM_DISPLAY,and same change in ZITEM_DERIVE_FIELDS but for the parameter s_item).
    And finally i activated these FM..and it got activated also.
    But later on when i used these FM in my report...error occured saying that -
      "The name of the function module to be called is "ZITEM_DERIVE_FIELDS".
    but "ZITEM_DERIVE_FIELDS" cannot be found in its function group. "
        hence i thought of activating the function group ZFI_ITEMS,which was inactive before to this...but when i tried activatin this FM it was giving hell lot of errors showing conflict occured at diffrent places,I think just because of the change (structure of IT_ITEM chnged from RFPOSEXT to customised ZZRFPOSXEXT).
    I am helpless in removing all this errors ...
    Can anybody suggest where did i go wrong?
    And what is the right way to copy the function module.?
    If possible reply me ASAP.
    Thanx in advance.

    Hello Sanjay,
    First, delete your new function group and
    Do like this:
    1. copy FI_ITEMS_DISPLAY to zFI_ITEMS_DISPLAY from Se37. here you find a button on the application toolbar to do it. It also asks about the Function group. GIve the FG as
    ZFI_ITEMS.
    Activate all the related objects
    2. same for the other FM. Use the same FG. and activate the related objects.
    Regards,
    Naimesh

  • Problem in Std Function module (PSBW_GET_ACTIVITY)

    I am facing the problem at the time of data extraction thru std function
    module of 0ACTIVITY_ATTR. The name of the module is PSBW_GET_ACTIVITY.
    BOQ rate is 'z'field and uppended in 0Activity_attr.
    Functional scenario:
    We have one Project having 2 wbs and each wbs element having 3 activities and activities are having different BOQ rates.
    Project   WBS          Activity     BOQ rate               
    ABCD       A          10             100
           A          20             200
                      A          30             300
    ABCD       B          40             400
           B          50             500
             B          60             600
    In my case, my extractor is bringing only following records.
    Project   WBS          Activity     BOQ rate               
    ABCD       A          10             100
           A          20             100
                      A          30             100
    ABCD       B          40             400
           B          50             400
             B          60             400
    Please let me know if anyone has faced this problem earlier or give me
    any suggestion.
    amit

    waiting for reply.

  • Client copy Locked function module

    HI,
    I'm trying to make a client from client 400 to 420.
    The problem is that the function module is locked by the current user (the same running the client copy); Then when It can't deletes the FM it states that it already exists:
    "G_GLDB_POSTING_A already exists (include LGIVAU01)"
    Afterwards the job gets cancelled due to a system exception ERROR_MESSAGE
    The weird part is that it just happens for this client 420. There is also a copy from 400 to 410 and it works without a problem.
    Any help would be greatly appreciated.

    Hi,
    You can check the client copy lock from SCC4 also, but it really matters if your client copy finished or not.
    If you still see the client copy lock there then it seems your client copy is not finished properly. Try to login your new client 420 and start deletion using SCC5 and after that you can start/schedule new client copy during weekends.
    Regards,
    Manish

  • Std. function module to find reporting employees.

    Hi all,
    i would like to find a std. function module by which  i can find the employees who reports to respected manager.
    For e.g,
    i have to pass manager's userid and i will get the list of employee no.s who reports to that manager.
    Pls help me.
    any help will be appriciated.
    Regards,
    Purvesh.

    hi,
    use this function module.
    HRWPC_PNP_MANAGED_EMPLOYEES.

  • Copy the Function Module one server to another server

    Hi Guy's,
    Please help me How to copy the Function module from one server to another server.
    Present requirement is like this, copy the FM from DRH-100 to NRH-100.
    Thanks and Regards,
    Sai

    if it is a zfm, u might have assigned a TR when cretaing this FM.so u need to relese this TR to the desired system.contact ur BASIS for the transport lanscape.
    if it is a standard FM, u better copy this FM to a ZFM and make it as RFC enabled if it is not RFC enabled and call this ZFM from the system in which want to call this FM by giving the logical system id in the destination while calling this FM.

  • Error in copy of function module  FIEB_PASSWORD_ENCRYPT as a Z FM

    Hi Gurus,
    I want to make a copy of function module  FIEB_PASSWORD_ENCRYPT as a Z FM.
    but after coping standard FM when i am trying to activete it ,it is showing one error
    *form decrypt_password does not exist.*
    if possible give me the solution step by step.
    Regards,
    Susheel Joshi

    do something susheel,
    create an empty function group:ZFIEB_PASSWORD.
    Now in the attribute of your ZFM, just add this name (ZFIEB_PASSWORD)in the FUNCTION GROUP section.
    in the main program of this FG-- (ZFIEB_PASSWORD)i, copy the includes given in function group:FIEB_PASSWORD.
    Add these codes:
    *   System-defined Include-files.                                 *
      INCLUDE LFIEB_PASSWORDTOP.                 " Global Data
      INCLUDE LFIEB_PASSWORDUXX.                 " Function Modules
    *   User-defined Include-files (if necessary).                    *
    * INCLUDE LFIEB_PASSWORDF...                 " Subprograms
    * INCLUDE LFIEB_PASSWORDO...                 " PBO-Modules
    * INCLUDE LFIEB_PASSWORDI...                 " PAI-Modules
    INCLUDE LFIEB_PASSWORDF01.
    the intension is to copy all the includes from this pool.
    you should be able to do it now
    ags.n
    Edited by: ags on Oct 30, 2009 3:19 PM

  • 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

  • Std. function module u2018'FITP_CREATE_TRIP_FROM_REQUEST' is not creating trip

    Hi
    We have user the Std. function module u2018'FITP_CREATE_TRIP_FROM_REQUEST' in Webdynpro abap and employees were able to create Trips. but now after a system upgrade to EPh4 suddenly the function module has stopped working.
    now when a person trys to create a trip the following error is displayed."Cannot create the request"
    please suggest what can i do to address this issue.

    any hints?
    anyone??
    Edited by: Jack on Nov 25, 2009 5:28 PM
    SAP just now replied tht this FM is "Not Released By SAP" hence this is a consulting issue.
    Now we will have to resolve this on our own?? can anyone check the same?
    Edited by: Jack on Nov 25, 2009 5:29 PM

  • Error while copy the function module

    Hi,
    When am copying the some standard FM into my z function module and when am checking the syntex error it throwing the error "REPORT/PROGRAM statement missing, or program type is I (INCLUDE).".
    Can you suggest.

    Hi All,
    Thanks for your help.
    Finally i did by my own.
    the problem is we need to activate their mail program and all include which we can see in goto>main program.
    Amit.

  • Problem while working with function module RFC_READ_TABLE

    Dear Experts,
                     I am facing a problem while working on the FM RFC_READ_TABLE, in which there is a tables parameter options which is of table type, to which I am passing the condition of selection.  In the debugg mode I found the select quiry in the source code of function module is not executing the condition passed in the options parameter.
    My actual requirement is to fetch all the custom programs in a remote server, the code I have written is below.
    TYPES :
             BEGIN OF ty_tadir,
               pgmid  TYPE pgmid,
               object TYPE  trobjtype,
               obj_name  TYPE  sobj_name,
             END OF ty_tadir.
    DATA : it_tadir TYPE STANDARD TABLE OF ty_tadir,
            wa_tadir TYPE ty_tadir.
      data: stmp_dokhl  like TAB512       occurs 100000 with header line.
      data: options1    like rfc_db_opt occurs     10 with header line.
    data: wa_options1 like line of options1.
      data: nametab1    like rfc_db_fld  occurs     10 with header line.
    START-OF-SELECTION.
    DATA : W_VALUE(5)  TYPE C,
           W_VALUE1(20) TYPE C.
    W_VALUE1 =  'OBJ_NAME like'.
    W_VALUE = 'z*'.
    CONCATENATE 'OBJ_NAME LIKE' ' ''' W_VALUE '''' INTO OPTIONS1-TEXT.
    CONCATENATE W_VALUE1 W_VALUE INTO wa_OPTIONS1-TEXT SEPARATED BY SPACE.
    APPEND wa_OPTIONS1 to OPTIONS1.
    CLEAR wa_OPTIONS1.
        call function 'RFC_READ_TABLE'
             destination                'zard'
             exporting
                  query_table          = 'TADIR' "'ZBANK_GUARANTEE'
             tables
                  options              = options1
                  fields               = nametab1
                  data                 = stmp_dokhl
             exceptions
                  table_not_available  = 1
                  table_without_data   = 2
                  option_not_valid     = 3
                  field_not_valid      = 4
                  not_authorized       = 5
                  data_buffer_exceeded = 6
                  others               = 7 .
    Please give me some inputs on this,
    With warm regards,
    Murthy.
    Edited by: pr murthy on Sep 18, 2008 1:49 PM
    Edited by: pr murthy on Sep 18, 2008 2:14 PM

    Hi
    I have tried this and with small change this is working fine.
    TYPES :
    BEGIN OF ty_tadir,
    pgmid TYPE pgmid,
    object TYPE trobjtype,
    obj_name TYPE sobj_name,
    END OF ty_tadir.
    DATA : it_tadir TYPE STANDARD TABLE OF ty_tadir,
    wa_tadir TYPE ty_tadir.
    data: stmp_dokhl like TAB512 occurs 100000 with header line.
    data: options1 like rfc_db_opt occurs 10 with header line.
    data: wa_options1 like line of options1.
    data: nametab1 like rfc_db_fld occurs 10 with header line.
    START-OF-SELECTION.
    DATA : W_VALUE(5) TYPE C,
    W_VALUE1(20) TYPE C.
    W_VALUE1 = 'OBJ_NAME LIKE ''Z%'''.
    wa_options1-text = w_value1.
    APPEND wa_OPTIONS1 to OPTIONS1.
    CLEAR wa_OPTIONS1.
    call function 'RFC_READ_TABLE'
    *destination 'zard'
    exporting
    query_table = 'TADIR' "'ZBANK_GUARANTEE'
    tables
    options = options1
    fields = nametab1
    data = stmp_dokhl
    exceptions
    table_not_available = 1
    table_without_data = 2
    option_not_valid = 3
    field_not_valid = 4
    not_authorized = 5
    data_buffer_exceeded = 6
    others = 7 .

  • WBS copy via function module "K_PLAN_TO_PLAN_COPY"

    Hi Experts
    anybody please advise whether WBS copy to other via function module "K_PLAN_TO_PLAN_COPY"
    is possible or not in below situation.
    Currently we faced some issue when WBS satus is "TECO", we can not
    copy WBS to another WBS (we want to copy whole wbs into others) by
    function module "K_PLAN_TO_PLAN_COPY".
    So we just change system status from TECO to REL then copy wbs to other,
    however, we could face another issue with this way of copying. (since we
    have to change wbs status, it could cause conflict against other project)
    We want to copy wbs without changing wbs status via function module "K_PLAN_TO_PLAN_COPY".
    Can it be possible? if yes, please advise how to, (settings/conditions/something like that)
    Thank you.
    Satoru

    Hi Satoru,
    The Function Module K_PLAN_TO_PLAN_COPY is not released for customers and therefore it is not intended to be used in customer specific programs or enhancements. For further details, please have a look SAP Note 109533.
    Sorry for not having better news.
    BR,
    Enrique

  • Problem while creating generic function module

    Hello experts,
    The master data 0VENDOR_ATTR is extracted using function module MDEX_VENDOR_MD. I have to create a generic data source based on the function module MDEX_VENDOR_MD. My code does not identify the data source name while debugging.
    Below is the original code from MDEX_VENDOR_MD:
    Check InfoObject validity and set IO-dependent parameters
        G_TAB1_FLG =  G_TAB2_FLG =  G_TAB3_FLG =  G_TAB4_FLG = ' '.
        CASE I_CHABASNM.
          WHEN '0VENDOR'.
            G_TAB1_FLG = 'X'.
            G_TABLENAME = 'LFA1'.
          WHEN '0VEN_COMPC'.
            G_TAB2_FLG = 'X'.
            G_TABLENAME = 'LFB1'.
          WHEN '0VEN_PURORG'.
            G_TAB3_FLG = 'X'.
            G_TABLENAME = 'LFM1'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE E009(R3). ENDIF.
            LOG_WRITE 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      I_CHABASNM           "message variable 1
                      ' '.                 "message variable 2
            RAISE ERROR_PASSED_TO_MESS_HANDLER.
        ENDCASE.
    When I debug 0VENDOR_ATTR, In above code, it identify the data source 0VENDOR (i.e. I_CHABASNM = 0 VENDOR)
    My code :
    CASE I_CHABASNM.
          WHEN 'ZDATA_SOURCE'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE E009(R3). ENDIF.
            LOG_WRITE 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      I_CHABASNM           "message variable 1
                      ' '.                 "message variable 2
            RAISE ERROR_PASSED_TO_MESS_HANDLER.
        ENDCASE.
    I created above data source ZDATA_SOURCE in RSO2 by giving function module  ZMDEX_VENDOR_MD (copy of original function group to Z group with few modifications in ZMDEX_VENDOR_MD). Every thing is OK, but while debugging, the cursor leads to WHEN OTHERS clause in above CASE statement and the program terminated with log(i.e., the program does not identify I_CHABASNM = ZDATA_SOURCE).
    When I see 0VENDOR_ATTR in RSA3, there is no associated function module MDEX_VENDOR_MD is visible. What could be the reason?
    your suggestion is really helpful...
    Thanks in advance,
    Zak.

    Hi Zakir,
    try this........
    <CASE I_CHABASNM>----
    -<WHEN '0VENDOR'>---
    case I_Datasource
    when 'datasource name'.
    check here
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c062a3a8-f44c-2c10-ccb8-9b88fbdcb008?quicklink=index&overridelayout=true
    hope this will help you.
    Thanks,
    Vijay.
    Edited by: vijay m on Mar 31, 2010 1:10 PM

  • Problem while importing RFC function module in XI. Please Help!

    Hi Experts,
               When I try to import RFC function module in XI I get the following error:
                 **Ready for import**
    Import started...
    YCOP_VALIDATE_GR:
      + com.sap.aii.ibrep.sbeans.upload.RemoteUploadException: connection closed without message (CM_NO_DATA_RECEIVED)
    Import failed with 1 error
    Any idea why is this error? How to resolve this?
    Thanks
    Gopal

    Hi
       The problem still persists.
       This is what I have done:
        1. My FM is RFC enabled. In the "Attribute" tab of the FM I have selected "Remote-enabled module" and "Start immed".
    2.Activated and tested the FM.
    3.Released the FM. In se37, Function Module -> Release ->Release. 
    4.Tried to import this FM in XI under "RFC". Get the same error.
    I have some questions:
    1. After releasing the FM do I have to activate it?
    2. In release there is "Internal Release" Do I have to use that?
    3.Do I have to do "Internal Release" first then "Release"?
    4.The FM i am trying to import makes a call to another FM. Both the FMs are in the same system. Both are remote enabled. The second FM updates data in custom table. the first FM which I am importing validates the data and then calls the second FM for update. Do I have to import both FMs?
    Please help me!
    Thanks
    Gopal

  • 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

Maybe you are looking for

  • Help me with my survy

    I am doing this survy for my professor- I am at Bethedsa community college. (Currently, our JVM runs about 400% faster than commercial JVM, so this is definitely in research stage. ) I will appreciate your response- I need to get 20-30 responses- bef

  • BB Pearl Flip - ring tones/sounds quit and shuts itself off

    I'm having major problems with my phone since I got it.  I'm on my fthird phone since May 2!!!  On exactly 8 days on the first phone the ringers/sound would quit and would say there was an error on the phone and wouldn't play the sample music.  I bro

  • Users in Shared Services

    Can someone tell me if there is a SQL table somewhere that stores the listing of users in Shared Services? Where would that data be stored?

  • Address book contacts lost & will not re-sync after recent update

    I updated my iphone to the latest software version , in doing so i lost all my contacts on the phone ( I use Entourage) & now when I sync the contacts are not sync'ing to the iphone. I have followed the instructed measures of checking the appropriate

  • Using BB abroad

    hi i am going to portugal next month, i was wondering whether i will i get charged for using phone with picture messages, sms and apps such as 'whats app' with my normal tariff and the internet tariff i pay monthly, will they add anything else on (O2