Changes In Function Module

Hello abap Gurus,
My Zdevelopment reports shows the runtime errors due to
changes in this function module :-
ZCFM_HIDE_INITIALFIELD_ALV
So anybody pls. suggest me what i can do for this.I m attaching the coding also.
FUNCTION ZCFM_HIDE_INITIALFIELD_ALV.
""Local Interface:
*"  IMPORTING
*"     REFERENCE(STRUC)
*"     REFERENCE(FIELDCAT) TYPE  SLIS_T_FIELDCAT_ALV
*"     REFERENCE(HIDE) OPTIONAL
*"  EXPORTING
*"     REFERENCE(FIELDCAT_E) TYPE  SLIS_T_FIELDCAT_ALV
*"  TABLES
*"      IT_TAB
*"      IT_TAB1
DATA S_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
FIELD-SYMBOLS <F1>.
FIELD-SYMBOLS <F2>.
DATA FIELDNAME(30).
DATA VALUE(100).
DATA : BEGIN OF DISPLAY OCCURS 0,
FIELDNAME LIKE DD03L-FIELDNAME,
END OF DISPLAY.
LOOP AT IT_TAB.
DO .
READ TABLE FIELDCAT INDEX SY-INDEX
INTO S_FIELDCAT.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
ASSIGN SY-INDEX OF STRUCTURE IT_TAB1 TO <F1>.
CONCATENATE 'IT_TAB-' S_FIELDCAT-FIELDNAME INTO
FIELDNAME.
ASSIGN (FIELDNAME) TO <F1>.
IF NOT <F1> IS INITIAL.
DISPLAY-FIELDNAME = S_FIELDCAT-FIELDNAME.
COLLECT DISPLAY.
ENDIF.
ENDDO.
ENDLOOP.
FIELDCAT_E = FIELDCAT.
LOOP AT FIELDCAT_E INTO S_FIELDCAT .
READ TABLE DISPLAY WITH KEY FIELDNAME = S_FIELDCAT-FIELDNAME.
IF SY-SUBRC NE 0.
IF HIDE IS INITIAL.
DELETE FIELDCAT_E.
ELSE.
S_FIELDCAT-NO_OUT = 'X'.
CLEAR S_FIELDCAT-KEY .
MODIFY FIELDCAT_E FROM S_FIELDCAT TRANSPORTING NO_OUT
KEY.
ENDIF.
ENDIF.
ENDLOOP.
endfunction.

This is all about the runtime error :-
Incorrect parameter with CALL FUNCTION
Error analysis :-
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was
     not caught in
    procedure "HIDE_FIELDS" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    When calling the function module "ZCFM_HIDE_INITIALFIELD_ALV", one of the
     parameters
    needed according to the interface description was not specified.
    This parameter was "IT_TAB1".
I am not changing the function module, my couligue has change this he leave it & he doesn't tel to me. So pls. give some sol. to me.
Thanks,
Sumit.

Similar Messages

  • Regarding a Change Document Function Module ----- VERY VERY Urgent

    I am using a Change Document Function module "CHANGEDOCUMENT_READ". It is taking a long time.
    I am using the parameters:
    Start date is the first date of the current month
    Enddate as last date of the current month
    Object class as 'MATERIAL'
    Table Name as 'MBEW'

    Hi ,
    When you want to read the change documents, please follow the below process.
    1. Read the change documents headers with function modules
    call function 'CHANGEDOCUMENT_READ_HEADERS'
           exporting
                date_of_change             = cdhdr-udate
                objectclass                = cdhdr-objectclas
                objectid                   = cdhdr-objectid
                time_of_change             = '000000'
                username                   = cdhdr-username
           tables
                i_cdhdr                    = gt_cdhdr
           exceptions
                no_position_found          = 1
                wrong_access_to_archive    = 2
                time_zone_conversion_error = 3
                others                     = 4.
    2. From above step you will get data of change documents very quickly into Itab (gt_cdhdr)
    3. Read the details on change documents with functiion module by using Itab in loop for each document.
      loop at gt_cdhdr.
        call function 'CHANGEDOCUMENT_READ_POSITIONS'
             exporting
                  changenumber            = gt_cdhdr-changenr
             importing
                  header                  = cdhdr
             tables
                  editpos                 = gt_cdshw
             exceptions
                  no_position_found       = 1
                  wrong_access_to_archive = 2
                  others                  = 3.
    Above is the best way to read the change documents.
    Rewards please if above info is useful.
    Thanks.

  • Code sample for using change document function modules

    Can someone send me some sample code for using function modules CHANGEDOCUMENT_READ_HEADER and CHANGEDOCUMENT_READ_POSITIONS?  I'm specifically looking for changes that occured to the standard price field in the material master (MBEW-STPRS) and I need to pull the most recent price change for a given material.  I'm not sure how to write the code efficiently since I don't have a date to pass (again, since we're looking for the most recent change.)
    Thanks!

    hi check this..
    CHANGEDOCUMENT_READ_HEADERS
    Example:
    CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
    EXPORTING
    objectclass = 'EINKBELEG'
    objectid = l_objectid
    username = space
    TABLES
    i_cdhdr = lt_cdhdr.
    LOOP AT lt_cdhdr WHERE udate IN s_aedat.
    CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
    EXPORTING
    changenumber = lt_cdhdr-changenr
    TABLES
    editpos = lt_editpos.
    LOOP AT lt_editpos WHERE fname = 'LOEKZ'
    AND f_new = 'L'.
    p_desc = text-r01. " Cancel Contract
    ENDLOOP.
    ENDLOOP.
    CHANGEDOCUMENT_READ_POSITIONS
    Example:
    CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
    EXPORTING
    objectclass = 'EINKBELEG'
    objectid = l_objectid
    username = space
    TABLES
    i_cdhdr = lt_cdhdr.
    LOOP AT lt_cdhdr WHERE udate IN s_aedat.
    CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
    EXPORTING
    changenumber = lt_cdhdr-changenr
    TABLES
    editpos = lt_editpos.
    LOOP AT lt_editpos WHERE fname = 'LOEKZ'
    AND f_new = 'L'.
    p_desc = text-r01. " Cancel Contract
    ENDLOOP.
    ENDLOOP.
    Check this link.
    http://www.sap-img.com/mm001.htm
    <REMOVED BY MODERATOR>
    venkat.
    Edited by: Alvaro Tejada Galindo on Mar 18, 2008 4:05 PM

  • Changes in function module SO_DOCUMENT_SEND_API1

    Hi all,
    I've been using function module SO_DOCUMENT_SEND_API1 to send e-mail (containing some simple text) with an Excel file attached to it. As of 01.11.2009 SAP has changed a lot of the function module code - and now the Excel file contents has become faulty (rows missing).
    Can anyone give me code examples on how to use the new version of the function module?
    Regards,
    MV

    Hi all,
    I've been using function module SO_DOCUMENT_SEND_API1 to send e-mail (containing some simple text) with an Excel file attached to it. As of 01.11.2009 SAP has changed a lot of the function module code - and now the Excel file contents has become faulty (rows missing).
    Can anyone give me code examples on how to use the new version of the function module?
    Regards,
    MV

  • How to change a function module ??

    Hi, I am using the FM L_TO_CREATE_DN but i am having a problem. When the batch number doesn't exist the program should keep the text with the error in an internal table and should continue running with other deliveries. The problem is that the error is not in the list of exceptions, the problem occurs inside the function module, so I don't know how control it. I think I should change anything inside the function but I don't know how to do it, or maybe I could control before. Does anybody how to do it??

    Hi amcaletrio,
                         As it is a Standard Function module,it is not possible for us to change. It is better to debug the code, not complete Function module.
    In debugging first reach to the desired point by using break points.
    1.  In debugging mode, in the MENU bar you can see Breakpoints --->
    Breakpoint at -
    > statement(click here) .
    2. Here type " MESSAGE".
    3.Press F8
    4.Stop here, the that u r looking is found or not
    5.If not, again press F8
    At one place you can get ur desired message.
    Copy that FM only as user copy. Here instead calling the Standard FM call this
    copied FM.Here in this Change message type from "E" to "W".
    So that, you can get desired functionality.
    Hope, the above desc. make you understand crystal clear.
    If there is any doubts regarding this, You are welcome.
    Reward,if helps.
    Regards,
    V.Raghavender.

  • Changing IDOC function module?

    Hello everyone!
    I would like to make changes to the function module responsible for creating Sales Order Idocs: IDOC_INPUT_ORDERS. How should I go about this procedure? Do I need to copy the existing function module and create a new one? If so, how do I point the IDOC (ORDERS05) to the new function module (for example, ZIDOC_INPUT_ORDERS).
    Thanks in advance!
    Warm regards,
    Glenn

    > I would like to make changes to the function module responsible for creating Sales
    > Order Idocs: IDOC_INPUT_ORDERS. How should I go about this procedure?
    > Do I need to copy the existing function module and create a new one?
    (1)This is one possible solution, another one is to use some (2)customer function exits for inbound Idoc – these enhancements might be useful: MM06E001, VEDA0001or (depending on platform you are) you might go for e.g. (3)“Implicit enhancement”. In last two cases you probably don’t need to create Z-FM and Z-process code.
    > If so, how do I point the IDOC (ORDERS05) to the new function module (for
    > example, ZIDOC_INPUT_ORDERS).
    1) Copy FM to ZFM
    2) Specify characteristic of FM – BD51
    3) Create Z-inbound process code: WE42 and assign a Z-FM to it.
    4) Assign FM to message type – WE57
    >If you have any other information on how to properly edit the IDOC function
    > module (for example, adding ABAP checking codes before populating the IDOC
    > fields) it would be great if you could share them!
    To add some checks at the beginning you might use all three possible solutions:
    (1) in ZFM you might add you code at the very beginning and return some error message
    (2) you might use on of the available customer function exits to do some checks
    (3) you can do the implicit enhancement and also return some error code at the very beginning of standard FM
    In both cases I recommend to go for approach no (2). Useful tcodes: CMOD and SMOD.
    Regards,
    Jakub

  • Change pointer Function Module

    Is there any standard function module to create idoc of message type DEBMDM like we have MASTERIDOC_CREATE_SMD_DEBMAS for DEBMAS?
    thank youuuu

    do one thing copy the MASTERIDOC_CREATE_SMD_DEBMAS  into ZFM and code for segments which are not in DEBMAS03 ...
    Regards..
    dear dont forget to give points..miniimum 2 :)..make it good habbit..

  • How to use Change doc Function Module?

    Fn mod:ZSUBTESTCHG_WRITE_DOCUMENT
    Import parameters               Value
    OBJECTID                        ZSUBTESTCHG
    TCODE                            SE37
    UTIME                             00:00:00
    UDATE                             09.03.2009
    USERNAME                        'TESTUSER'
    PLANNED_CHANGE_NUMBER
    OBJECT_CHANGE_INDICATOR            I
    PLANNED_OR_REAL_CHANGES         R
    NO_CHANGE_POINTERS
    UPD_ICDTXT_ZSUBTESTCHG               I
    N_ZSUBTEST                         2         TEST
    O_ZSUBTEST                         2         TEST
    UPD_ZSUBTEST                    I
    Tables                          Value
    ICDTXT_ZSUBTESTCHG                 0 Entries
    I have a ztable 'ZSUBTEST' with 2 fields DEPTID and DEPNAME and ticked "change document" for data element.
    I have created the above change doc write fn module. I am trying to insert a new reocrd into table.
    How to use ZSUBTESTCHG_WRITE_DOCUMENT so that even if i try to change an existing record in ztable the old and new values for a particulat ztable will be filled in CDPOS Table.
    Would appreciate if you can suggest me how to use in1) Update and 2) Insert scenarios.
    Thanks,
    Subba

    hi check this,
    Types Declaration***
    types: BEGIN OF X_audit,
    Field of ZAUDIT TABLE OR a custom created table------
           END OF X_audit.
    Data Declaration***
    Data: w_newvalues type X_audit,
          w_oldvalues type X_audit.
    DATA: BEGIN OF t_cdtxt OCCURS 0.
            INCLUDE STRUCTURE cdtxt.
    DATA: END OF t_cdtxt.
    DATA:  l_tcode type cdhdr-tcode ,
           l_time type cdhdr-utime,
           l_usnam type cdhdr-username,
           l_date type cdhdr-udate.
    **Constants****
    CONSTANTS : l_objectid TYPE cdhdr-objectid VALUE 'ZAUDIT_CD'.
    Initialization.
    Clear: l_tcode,l_time, l_usnam, l_date.
    Clear: w_newvalues, w_oldvalues.
    **Start-Of-Selection**
    Start-of-selection.
    *Populating w_oldvalues workarea with old values from the table
    Select single * from zaudit_t
                    Into w_oldvalues
                    Where belnr eq belnr_1
                    And  gjahr eq gjahr_1
                    And  bukrs eq bukrs_1. u201C where, belnr_1, gjahr_1, bukrs_1  are the fields on selection screen.
    here we are populating w_newvalues workarea with new values
    W_newvalues-f1 = w_oldvalues-f1
    f2 = u2018XXXXXXXu2019     -
    f3 = u2018YYYYYYYu2019
    f4 = u2018ZZZZZZZu2019
    l_tcode = sy-tcode.
    l_time = sy-uzeit.
    l_usnam = sy-uname.
    l_date = sy-datum.
    modify the table with new values***
    MODIFY zaudit_t FROM w_submit.
    IF sy-subrc EQ 0.
        MESSAGE 'Document Updated' TYPE 'S'.
    call function 'ZAUDIT_CD1_WRITE_DOCUMENT'
        exporting
          objectid                   = l_objectid
          tcode                      = l_tcode
          utime                      = l_time
          udate                      = l_date
          username                   = l_usnam
        PLANNED_CHANGE_NUMBER      = ' '
          object_change_indicator    = 'U'           u201CU-update, I-insert, D-delete
        PLANNED_OR_REAL_CHANGES    = ' '
        NO_CHANGE_POINTERS         = ' '
          upd_icdtxt_zaudit_cd       = 'U'
          n_zaudit_t                 = w_newvalues  u201Cpass the work area containing new values     
          o_zaudit_t                 = w_oldvalues  u201Cpass the work area containing old values
          upd_zaudit_t               = 'U'         u201C this parameter gives the values in the columns(new value, old value and changed field name) of table CDPOS.
        tables
          icdtxt_zaudit_cd           = t_cdtxt
    ELSE.
       MESSAGE 'Document Not Updated' TYPE 'S'.
    ENDIF. u201CIF sy-subrc EQ 0.

  • Table Structure changed in Function Module

    Hello All,
    How to check the strcuture of the table " yrdb_tp10_map:
    got changed in the following FM.
    As its not working properly.
    function yrdb_tp10_get_mapping.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     REFERENCE(VARIANTE) TYPE  YDOMAENE
    *"     REFERENCE(DOMAENE) TYPE  YDOMAENE OPTIONAL
    *"     REFERENCE(OLD_VALUE) TYPE  YOVALUE OPTIONAL
    *"  EXPORTING
    *"     REFERENCE(NEUER_WERT) TYPE  YNVALUE
    *"  TABLES
    *"      YRDB_TP10_MAP TYPE  YRDB_TP10_MAP_TYPE
    *"  EXCEPTIONS
    *"      NOT_FOUND
    *"      WRONG_IMPORT
    tp10_map Feld über Zustand der globalen internen Tabelle
    g_yrdbtp10_map
    Wert X Tabelle gefüllt
      data: import(1) type c,
            tab_in type i.
      if tp10_map eq space.      "interne Tabelle leer.
        select * from yrdb_tp10_map into table g_yrdbtp10_map.
        sort g_yrdbtp10_map.
        tp10_map = 'X'.
      endif.
    prüfen der importparameter.
    wenn import = 'initial' beide Importparameter sind leer
    wenn import = 1 domaene gefüllt
    wenn import = 2 domaene und old value gefüllt
    wenn import = 3 nur old value gefüllt --> raise Exception wrong_import
      if domaene(1) ne space.
        import = '1'.
      endif.
      if old_value(1) ne space.
        if import = 1.
          import = 2.
        else.
          raise wrong_import.
        endif.
      endif.
    Vorbereitung der Rückgabe
    wenn import = 'initial' Rückgabetabelle vorbereiten Ebene VARIANTE
    wenn import = 1 Rückgabetabelle vorbereiten Ebene Domaene
    wenn import = 2 Einzelwert zurückgeben new_value
      case import.
        when space.
          loop at g_yrdbtp10_map into yrdb_tp10_map
                             where variante = variante.
            append yrdb_tp10_map to yrdb_tp10_map.
          endloop.
          describe table yrdb_tp10_map lines tab_in.
          if tab_in le 0.
            raise not_found.
          endif.
        when '1'.
          loop at g_yrdbtp10_map into yrdb_tp10_map
                             where VARIANTE    = VARIANTE
                             and   domaene     = domaene.
            append yrdb_tp10_map to yrdb_tp10_map.
          endloop.
          if tab_in le 0.
            raise not_found.
          endif.
        when '2'.
          read table g_yrdbtp10_map into yrdb_tp10_map
            with key     VARIANTE    = VARIANTE
                         domaene     = domaene
                         old_value   = old_value.
          if sy-subrc eq space.
            neuer_wert = yrdb_tp10_map-new_value.
          else.
            raise not_found.
          endif.
      endcase.
    endfunction.

    go to tables statements -
    > double click on the structure----> it will takes you to that structure

  • Function module throwing error from work area. Cannot find the problem...

    REPORT  ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
          f1 type zf1,
          f2 type zf2,
          f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        ITAB                       =   .
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    this is my driver program.In my form interface  there are tables,import,export are there where i have to declare tables data.If i am putting wa means it is throwing error.Please show me the clear information.
    Edited by: Julius Bussche on Nov 14, 2008 10:09 AM

    REPORT ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
    f1 type zf1,
    f2 type zf2,
    f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    ITAB = .
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Plz for this driver program. Give me the exact solution.I am passing the information like itab  like zptable1 ther ein the smart form table. Even now i am getting error.Here in this driver program i passed itab = itab means .I  am not getting solution.If i have to change any function module name means plz tell me.What i have to put there.Plz give me the correct solution

  • Remote function module is not compilable, normal function is not

    Hi,
    i have a function module with processing type "normal function", which is compilable and working well. I'm using the type definition ABAP_COMPNAME.
    If i change the function module to "remote-enabled", i'm getting a compiler error that ABAP_COMPNAME is unknown.
    Can someone explain why this is happening? For what reason ABAP_COMPNAME is no longer available when i'm chnaging the FM to remote enabled?
    PS Please dont give any hints how to change my function module, that is NOT the question. I just want to understand the mechanism behind.

    It is clearly mentioned in SAP Help that we cannot use types from type-pool
    in RFC function modules.
    Associated Type of an Interface Parameter
    ABAP associated type for an interface parameter. The associated type must be a
    global Dictionary  type or exist in a type pool. In the latter case, the type pool must
    be declared in the function group.
    Note that you cannot use types from type pools for RFC-enabled function modules.
    When assigning a type using the LIKE typ method, you cannot use types from
    type pools either.
    Additionally you can use the internal ABAP types C, I, N, X, P, D, T, F, and the
    TABLE type - to an extent in generic form.
    You can find further information about this in the Function Builder manual and in the
    ABAP online documentation under the keyword "Types".

  • Can anyone tell me steps to be taken while modifying a function module exit

    Hi guys,
    I have to make little changes to function module exits in a project .
    what are the necessary steps i need to take make the changes and make them work.
    Thanks,
    Venkat

    1.  Create a project in CMOD
    2.  Assign the exit definition name (From SMOD)
    3.  Select the function module you would like to implement from the components screen
    4.  Double click on the include name within the function module, create the include if not already created
    5.  Add your code to the include program
    6. Save and activate your code
    7.  Save and activate your CMOD Project
    Best Regards,
    Chris H.

  • Any Function Module For getting Shipment Details

    Hi All,
    I want to get all details of shipment. i tired , but unable to get any function? I was able to find the creation or change shipment function modules, but not able to find the function module for getting the details for Shipment.
    like BAPI_SHIPMENT_CHANGE           Change Shipment
    BAPI_SHIPMENT_CREATE           Create Shipment
    similary
    Do you have any idea for getting (display)the details of Shipments?
    Regards,
    Raju

    hi,
    you can use
    VTTP,VTTK
    or
    RV_SHIPMENT_READ

  • Error in Custom Function Module

    Hi,
    I am working on implementing General Ledger Business content in financial Accounting.
    We had a requirement of creating a Custom Virtual cube similar to 0FIGL_V10. Hence, we had copied the standard function module RS_BCT_FIGL_DATA_GET_VC10 and created a custom function module. Before doing that, we had copied the function group RS_BCT_FIGL and created a custom function group for the custom function module.Both were activated subsequently. Then, we had created a custom virtual cube (ZFIGL_V10) using the custom function module.
    The queries on the Standard virtual cube were migrated to ZFIGL_V10 using the RSZC transaction code. when the queries are executed in RSRT, we get an error message "**An exception with the type CX_SY_DYN_CALL_ILLEGAL_FUNC occurred" and the ABAP debugger is started post that error.
    Has anyone faced this problem before?could any of you provide some pointers to it.
    Regards,
    Sainath

    You cannot use the standard function module which is used for standard cube for another cube.
    You should not change the function module.
    Instead you can make a copy of the function module you are using aand use this copy in ur virtual cube which will work in the same way the actual Fm used to work and it will make you perfrom the changes.
    Follow the below steps:
    1) Goto SE37 and In the top tool bar click on the copy button which is on right side of delete button.
    2) in fr FM give the name of the actual FM and in to Fm give the name of the function module you want to copy.
    3) Then click on copy.
    4) Now open this new function in edit mode and goto the import/export parameters and check. it will have all the same parameters as the actual FM. Here you can make the changes you want.
    5) Now use this FM in your virtual cube and it will be working as per your requirement
    https://forums.sdn.sap.com/click.jspa?searchID=9605118&messageID=4999763
    Hope it Helps
    Chetan
    @CP..

  • Purchase order function module

    the CHANGEDOCUMENT_READ_POSITIONS is capturing the changes in the line item level but if there is any change in the PO inforecord text level then it is not caputring .................
    Please suggest what action need to be taken so that it caputres the info record text level change also

    Hi,
    function module "CHANGEDOCUMENT_READ" will give list of all change logs related to object key (for which the change logging is activated).
    Regards
    Vinod

Maybe you are looking for