Function moudule error - table parameters obsolete

Subject changed by moderator.  Please use a meaningful subject in future
Hi SAP-ABAP experts,
                                  can i get get the information for the following error.
when i was giving *structure* name in tables parameter  and gave the 'TYPE' as type in function module screen i was getting the error like this,
TABLES parameters are obsolete.
in 4.7e the function module got activated but in ecc 6.0 i am getting the error like that. can u please clarify the issue
will the type declaration be chaged according to versions of SAP ABAP.
Thanks,
Kavitha.P
Edited by: Matt on Nov 26, 2008 8:09 AM

1. Create a structure in SE11, this will include all the fields you want.
2. Create a Table type in SE11, referring the above structure as the row type.
3. Now, when you use this table type you would need to have a work area to process the data of the table. So, in the program declare a variable with ref to the structure created in Step 1.
Then you can use
LOOP AT T_ITAB INTO WA_ITAB.
ENDLOOP.
where T_ITAB is referring to table type and WA_ITAB is referring to structure.
Thanks
Saurabh

Similar Messages

  • Tables parameters obsolete

    Hi all,
    In ecc6.0 i have been trying to use tables parameters while designing function modules and it says tables parameters are obsolete, what should be used here and how?
    Regards,
    C.A

    Hi,
    Create a table type in Se11 of the type internal table.
    Now when you are decalring the internal table in Changing parameter give the reference of that table type.
    Create another work area in the source code of function module.
    now loop the Internal table sa usual.
    regards,
    Sujit

  • Function of Error Table

    Hi all,
    There is a property named error table for source and target operators in mapping editor. Can anyone tell me about its function? I mean where i can use this feature in mapping. and what is the structure of this error table? where i have to create this error table ...in target schema or OWB designer?The document doesn't tell much about it.
    Plzz tell me as soon as possible.
    Thanks & Regards,
    Sumanta Das

    Hi Sumanta. Error Tables can be used if you are having any data rules.
    First you need to open a table (for which you want to have error table) ,create data rules and then specify the shadow table name in the data editor for table. After that is done, you need to deploy the table. This will create the error table.
    all the error tables will have the below columns by defalut The columns which are present in the original table will also be present in the error table in adddition to the below 7 columns in alphabetical order.
    ERR$$$_AUDIT_RUN_ID     
    ERR$$$_AUDIT_DETAIL_ID     
    ERR$$$_ERROR_ID     
    ERR$$$_ERROR_REASON     
    ERR$$$_SEVERITY     
    ERR$$$_OPERATOR_NAME     
    ERR$$$_ERROR_OBJECT_NAME
    I suggest you try creating an error table and then you will understand better than what i said.
    Hope this helps
    Regards
    Vibhuti

  • New in NW04s: FL069 TABLES parameters are obsolete (in function modules)

    Can somebody explain what is the fundamental reason for this behaviour in NW04s?
    In Netweaver 2004s system (like ERP2005 ) you get a warning message in SE37:
    FL069 TABLES parameters are obsolete! when defining quite ordinary tables parameter using LIKE and reference to a structure in ddic.
    I now speak normal function modules, not RFC enabled.
    This example of tables parameter definition will cause the warning message:
    return LIKE BAPIRET2
    I of course looked the additional help provided by this message FL069. I understood it as following:
    you should stop using TABLES parameter and more often use CHANGING parameter by referring a TABLE TYPE defined in dictionary.
    if using CHANGING parameter and still want to pass the header line of your internal table you should use a separate parameter (EXPORT or CHANGING parameter)
    Developers have too much used TABLES parameters for passing internal tables for reading (by value) rather than to be modified (by reference). As a consequence, fm could have change the header line without caller to know it.
    in my opinion the message help is missleadingly telling that header line is no longer passed to function module if TABLES parameter is used. I made a small test program and fm (with TABLES paramerer), and everything worked as before.
    The warning message can be ignored by pressing Enter a few times and your fm with TABLES parameter works as it had in older versions of Netweaver.
    SAP is still using a lot of TABLES parameters in their own function modules. For example SD_SALES_HEADER_MAINTAIN.
    So what is the point of this warning message while everything still works as it used to be and SAP uses this same "OBSOLETE" feature itself? Is there anything more fundamental behind this message? Like TABLES paremeters will no longer work in future versions of ABAP (or header line passing will be ignored in future versions) and therefore developers should switch to CHANGING/EXPORT parameters with TABLE TYPES as soon as possible??
    Please understand that I don't need any assistance how to avoid this message, just interested to share your opinions what is the purpose of this warning message.
    That is why I did not marked this thread as a question.
    Br: Kimmo

    Hello,
    This is the view under Tables tab in my function builder:
    I_T_SELECT     TYPE     SRSC_S_IF_SIMPLE-T_SELECT
    I_T_FIELDS     TYPE     SRSC_S_IF_SIMPLE-T_FIELDS
    E_T_DATA     LIKE     SFLIGHT (which I change to YBWxxxx)
    The moment I change to YBWxxxxx it gives me that error '"TABLES parameters are obsolete! "'
    and unfortunately hitting enter several times is not helping  either
    Thanks!

  • Function Modules using tables

    Sir,
           I have created function group and function module.  I have open se37 and choose tables tab button.  I have insert itab in parameter Name Like in Type Spec and Kna1 in Associated Type. 
           I have got error "Tables Parameters are Obsolete"..
    With Regards,
    Baskaran

    Hi Baskaran,
    Table parameters are obsolete for normal function modules but have been retained to ensure
    compatibility for function modules with other execution modes hence when you declare tables parameter in Function Module it gives warning.
    The alternate way for this is create custom type in global declaration for table and use this type in changing parameters.
    e.g
    types: t_lfa1 type standard table of lfa1.
    This declaration will go in your Top Include then u can create required table in your changing parameters.
    Thanks & Regards,
    Vaibhav Pendse

  • Error in FM tables parameters type.

    Hi,
    I am creating a BAPI FM with the tables parameters with a parameter as
    i_ydrseg    type    MMCR_DRSEG.
    This is similar to the type as defined in the FM MRM_INVOICE_READ as
    T_DRSEG       TYPE     MMCR_TDRSEG.
    I have declared the MMCR as types pools in the function group TOP include of the new BAPI. But still i get the error as "  Type MMCR_DRSEG is unknown " .
    How do i create a table parameter of the type as above ?
    Pls help with your ideas.
    Thanks,
    Stock

    Hi again,
    1. just to make sure whether MMCR_DRSEG
       is working fine or not,
       and also the type pools is working fine in top include or not.
    2. do not use the parameter in import/export/tables parameter.
    3. Instead, for testing purpose,
    4. declare this in the source code of the FM,
       and check whehter it is giving error not.
    regards,
    amit m.

  • Tables parameters are obsolete

    hi,
          i am trying to create one function module in ecc6.0 version. And after declaration under tables table like "errortable like bapiret2" i am getting the warning "tables parameters are obsolete". please help me to solve this problem.
                                                                        Thanks&Regards,
                                                                         chakradhar.M.

    Hi,
    It just a warning message..Press enter to continue..
    OR
    create a table type in the DDIC for the structure and use that table type in the EXPORTING parameter...
    Thanks
    Naren

  • Function Module TABLES parameters

    Hi All,
           I want to pass my internal table to a function module but when I try to access the componenbts of the table it is giving me syntax error. Is it required that I should create DDIC structure for this? Is there any other option?
    I have declared the internal table using types. And in function module tables parameters just declared internal table.
    Regards,
    Dilip

    Hi
    In the function
    Say import parameter is TAB ( with no type definition )
    From program you pass an internal table ITAB .
    You don't need to define TAB in your function.
    In the code you can diretcly use
    LOOP AT TAB.
    ENDLOOP.
    ( At runtime TAB will take the structure of ITAB from program )
    Cheers

  • How to declare Dynamic table in Tables Parameters of a Function Module...

    Hi Gurus,
    I would like to Know how to declare a Dynamic table in Tables parameters of a Function Module.
    so that it should be able to hold any table data ....
    I have tried all possible ways of trying to assign fields-symbol like declarations which doesnt allow here ...
    plz Dont reply with the basics of creating dynamic internal tables, coz my case is not an Internal table it is FM table parameter declaration.....

    Hi,
    If you are requirement is to create a function module with tables parameter having a generic line type i.e. no specific line type
    just declare it with a name under Parameter name with out specifying the type.
    A reference function module with such parameter, i would quote is the standard GUI_UPLOAD/ GUI_DOWNLOAD where the parameters specified under TABLES are generic.
    If you want to process the values passed to these parameters in the source code of function module, field symbols would be a preferable option.
    Regards,
    Sharath Panuganti

  • Associated table type of the Table parameters in function module

    Hi,
    If I want to select all the associated table types of the Table parameters used in a given function module in a report, how can that be done ?
    Thanks.
    Regards,
    Rajesh

    Try this.
    report zrich_0001 .
    data: import type table of rsimp with header line,
          change type table of rscha with header line,
          export type table of rsexp with header line,
          tables type table of rstbl with header line,
          except type table of rsexc with header line,
          docume type table of rsfdo with header line,
          source type table of rssource with header line.
    parameters: p_func type rs38l-name.
    call function 'RPY_FUNCTIONMODULE_READ'
      exporting
        functionname             = p_func
      tables
        import_parameter         = import
        changing_parameter       = change
        export_parameter         = export
        tables_parameter         = tables
        exception_list           = except
        documentation            = docume
        source                   = source
    exceptions
       error_message            = 1
       function_not_found       = 2
       invalid_name             = 3
       others                   = 4.
    loop at tables.
      write:/ tables-parameter,
              tables-dbstruct,
              tables-types,
              tables-optional,
              tables-typ,
              tables-class,
              tables-ref_class,
              tables-line_of,
              tables-table_of.
    endloop.
    Regards,
    Rich Heilman

  • Update partner function in KNVP table using FM sd_customer-maintain_all

    Hi All,
    I have to update Partner Function ‘PARVW’  in KNVP table using FM sd_customer_maintain_all.
    I had already created a BDC program for updating which is running successfully.
    But  my requirement is to create a BAPI using FM customermaintain_all.
    Ex:  Tcode VD02
              KUNNR          PARVW             KUNN2
    Old data      123          Z1          70006666
              123          Z2          70007777
    Req. output      123          Z1          70006666
              123          Z1          70007777
    PARVW ‘Z2’  should not exist after updation.
    When updating, I am getting the error message to my inbox as
    “ Error Info...   F2 802: System error in table KNVP ”
    The above error is triggered while committing work after execution of  ‘SD_CUSTOMER_MAINTAIN_ALL’.
    The options I tried while looping at internal table containing kunnr, parvw & kunn2
    CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
    EXPORTING
        I_KNA1                              = w_kna1
      I_KNB1                              =
        I_KNVV                              = w_knvv
      I_BAPIADDR1                         =
      I_BAPIADDR2                         =
      I_MAINTAIN_ADDRESS_BY_KNA1          = ' '
      I_KNB1_REFERENCE                    = ' '
      I_FORCE_EXTERNAL_NUMBER_RANGE       = ' '
      I_NO_BANK_MASTER_UPDATE             = ' '
      I_CUSTOMER_IS_CONSUMER              = ' '
      I_RAISE_NO_BTE                      = ' '
        PI_POSTFLAG                         = 'X'
      PI_CAM_CHANGED                      = ' '
      PI_ADD_ON_DATA                      =
      I_FROM_CUSTOMERMASTER               = ' '
    IMPORTING
      E_KUNNR                             =
      O_KNA1                              =
      E_SD_CUST_1321_DONE                 =
    TABLES
      T_XKNAS                             =
      T_XKNBK                             =
      T_XKNB5                             =
      T_XKNEX                             =
      T_XKNVA                             =
      T_XKNVD                             =
      T_XKNVI                             =
      T_XKNVK                             =
      T_XKNVL                             =
        T_XKNVP                             = I_XKNVP
      T_XKNZA                             =
      T_YKNAS                             =
      T_YKNBK                             =
      T_YKNB5                             =
      T_YKNEX                             =
      T_YKNVA                             =
      T_YKNVD                             =
      T_YKNVI                             =
      T_YKNVK                             =
      T_YKNVL                             =
        T_YKNVP                             = i_yknvp ***
      T_YKNZA                             =
      T_UPD_TXT                           =
    EXCEPTIONS
        CLIENT_ERROR                        = 1
      KNA1_INCOMPLETE                     = 2
      KNB1_INCOMPLETE                     = 3
      KNB5_INCOMPLETE                     = 4
      KNVV_INCOMPLETE                     = 5
      KUNNR_NOT_UNIQUE                    = 6
      SALES_AREA_NOT_UNIQUE               = 7
      SALES_AREA_NOT_VALID                = 8
      INSERT_UPDATE_CONFLICT              = 9
      NUMBER_ASSIGNMENT_ERROR             = 10
      NUMBER_NOT_IN_RANGE                 = 11
      NUMBER_RANGE_NOT_EXTERN             = 12
      NUMBER_RANGE_NOT_INTERN             = 13
      ACCOUNT_GROUP_NOT_VALID             = 14
      PARNR_INVALID                       = 15
      BANK_ADDRESS_INVALID                = 16
      TAX_DATA_NOT_VALID                  = 17
      NO_AUTHORITY                        = 18
      COMPANY_CODE_NOT_UNIQUE             = 19
      DUNNING_DATA_NOT_VALID              = 20
      KNB1_REFERENCE_INVALID              = 21
      CAM_ERROR                           = 22
        OTHERS                              = 23.
    IF sy-subrc eq ‘0’.
    Commit work and wait.
    Endif.
    All above tables have a field called ‘KZ’ which has options
    U-update
    D-delete
    I-insert
    E-………(I don’t know)
    Ex: T_XKNVP structure = KNVP Structure + Field ‘KZ’.
    Documentation for this FM is not Available in English or German
    1.  I tried sending Z2  KZ as ‘D’ first &  Z1 with KZ as ‘I’ with business partner of Z2 (KUNN2)
         as single update.
    Ex: T_XKNP table
    KUNNR          PARVW             KUNN2          KZ
    123          Z2          70007777     D
    123          Z1          70007777     I
    2.  I tried it as a separate delete record and insert record i.e calling the FM twice .
    3.  I tried passing table  T_YKNVP with old partner data + TXKNVP table new partner data
    Ex: T_YKNP table
    KUNNR          PARVW             KUNN2          KZ
    123          Z2          70007777     U or space (I tried both one after another)
    4. All combinations for field ‘KZ’  are tried.
    Please help me to overcome this problem.
    I )   I need which parameters are to be passed to FM for updating partner function in KNVP table .
    II)   Do I need to pass structure I_KNA1 or I_KNVV to FM ? (Blank or with values corresponding to   
         partner function ).
    III)  Any sample code which can guide me.
    Even a small hint or clue from you will certainly help me.
    Thanks in Advance.
    AJAX

    i have the same problem. I need to update the partner function PARVW thru a program that i created. I tried to use this FM but it didn't work. Anyone knows another FM that i can use to update the KNVP table?

  • IHC0: IDOC PAYEXT error No parameters found for: bank area IHC H EUR IHC205

    Hello
    I created with F110 an payment run for an external invoice. In transaction IHC0 I can see the payment order. When I post the payment order an outbound idoc is created but ended with status 51 and error " No parameters found for: IHC H EUR" Message no. IHC205 ".
    What customizing in IMG Account Management is wrong?
    Is it possible to debug the idoc in WE19? I want to see where the messageIHC205 is generated (select from which table?). The wrong payment method H has been determined, it should be another payment method.  In function module " FI_EDI_PAYEXT_PEXR2001_OUT " I inserted a breakpoint but the system did not stop there.

    Hi Sreeram,
    I made the configuration for Posting accounts as per your advise. 'Now I am getting another error message as shown below
    Creation of individual payment requests failed
    Message no. IHC197
    Partner number of account type is invalid
    Message no. IHC000
    What does this mean and what is the remedy for this?
    Thanks
    Kalyan

  • Using tables parameters for RFC

    Hi All
    I am trying to use tables parameter for a Remote Function Call.
    It says it is obsolete and not working, we are using ECC6.0 version of SAP.
    Any help??

    Instead, you should use a table type in a IMPORTING or EXPORTING parameter.  Create the table type in SE11 and then reference this table type in your parameter in the IMPORTING/EXPORTING tab.  The use of TABLES parameters section is obselete.
    Regards,
    Rich HEilman

  • How to create Function Module with TABLE parameter (for internal table)

    Hi Guys,
    I am trying to create a function module by using TABLE parameter. I have to pass an internal table to this function module for processing.
    But it saying : TABLES parameters are obsolete!
    And I am not going further.
    Please suggest any work arround.
    Thanks

    Hi,
    create a table type in SE11..
    Then use that in your function module importing/exporting/changing parameter for passing internal tables..
    Thanks,
    Naren

  • Using a variable not in the Export,Import, table Parameters in USER EXIT

    Hi all,
       During the Invoice Creation, I need to add an entry in the VBFS table, so that it will be displayed in the system log.  In the FM 'RV_INVOICE_CREATE', the structure corresponding to it is XVBFS.  There is a user-exit   CALL CUSTOMER-FUNCTION '002', in this FM 'RV_INVOICE_CREATE'.  But the import, export or Table Parameters does not have XVBFS.
      How can I use XVBFS inside the User exit?..
    Please help.
    Regards,
    Asha

    Hi,
    I dont know whether this will help u...
    write this in user exit...to access variables/tables of main program..
    FIELD-SYMBOLS: <komv>.
    ASSIGN ('(SAPLMEPO)TKOMV[]') TO <komv>.
    where.. SAPLMEPO is the main program...and TKOMV[] is a internal table in SAPLMEPO.
    regards
    Sukriti....

Maybe you are looking for

  • 'Iphone may be damaged and cannot be activated for service'

    Ive just bought a used iphone4. it arrived having been cleared and reset. I connected to itunes and upgraded to the new software. Then it worked for half a day. Then a message came up saying i need ot restore the phone. So i plugged it in again and a

  • How do I permanently set the zoom-function, so I will not have to zoom every time I open a new tab/page?

    I have recently installed Firefox on my one month old laptop which has a 17" screen. Every time I open Firefox I have to use the zoom-function (ctr +) four times to be able to read comfortably. Every time when I next open a website, or tab, or window

  • IPhoto 8.1.1 Fixes Facial Recognition Problems

    That's what I have observed from my testing on a library of over 15,000 pictures. It is important to "Detect Missing Faces" as explained in the appended support article: http://support.apple.com/kb/HT3941 Your computer will work long and hard at this

  • TS3274 Memory problems while using an App, please help

    Hello. I have installed a game Real Racing on my iPad. It is been working fine but recently whenever I try to open the game a window pops up which says that there is not enough memory and i have to free some in order to play. But I seem to have plent

  • Not able to find Workflow processes

    Hi all, I need to check Sales order line workflow for a stuck sales order. I have Workflow administrator, when I log in through that and click on Find Processes, The Find processes window opens; but the Item Type dropdown has only "All" value. No oth