Type conflict in function module parameters


Hi All,
i hve to pass dynamic field <dyn_field> into function module parameters but  it's giving a dump for type conflict.
where VALUE2  data type in 'AUTHORITY_CHECK' is UST12-VON but if i define <dyn_field> type UST12-VON . then it'll give dump in *ASSIGN COMPONENT  SECURITY_TABLE-FIELDNAME  of structure <wa> to <dyn_field> *.
SECURITY_TABLE-FIELDNAME  data type is different with UST12-VON .
pls guide me how to pass *<dyn_field> in fm parameters.
FIELD-SYMBOLS: <dyn_field> type any.
             <wa> to <dyn_field> .
            USER                = QUSER
            OBJECT              = SECURITY_TABLE-AUTHOBJCT
            FIELD1              = 'ACTVT'
            VALUE1              = '03'
            FIELD2              = SECURITY_TABLE-FIELDNAME
            VALUE2              = <dyn_field>


Hi anuj ,,
Can you explauin the solution ..

November 30, -0001

Type conflict in function module parameters

Hi All, i hve to pass dynamic field <dyn_field> into function module parameters but  it's giving a dump for type conflict. where VALUE2  data type in 'AUTHORITY_CHECK' is UST12-VON but if i define <dyn_field> type UST12-VON . then it'll give d

Accessing function module parameters dynamically ?

Hello, I´m searching for a possibility to access the parameters of a function module dynamically. I.e. I do not know how many parameters a function has, if it is import/export, or the data type. Is there a possibility to access (maybe an ABAP-interna

Billing type in BAPI_SALESORDER_CREATEFROMDAT2 function Module

Hi, Am creating sales orders through my program using the Function Module "BAPI_SALESORDER_CREATEFROMDAT2". I have data(fields) for which i have to create a Sales orders. I have mapped all the fields to the structures in the FM except Billing Ty

Get Import Parameters of a Function Module

Hi, Is there a way to find the import parameters and their Data Type of a Function Module in any Table?? For example, i know i can find the name and the include of the Funtion Module in TFDIR. Is there anywhere i can find the list of Import Parameter

How to add a created Z function module to the existing list in WE21

Hi all, There is some existing function modules ( like EDI_PATH_CREATE_CLIENT_DOCNUM ) in WE21 in the function module field. here, i need to create one Z function module as per user requirement & want to add to that list.  is it possible??? actually,

Function module to copy INVOIC IDOC

One of our customers use the IDOC message type INVOIC. When the IDOC are received and the proces has been started, we will like to make a copy of the IDOC with the status code 70. I know this functionality exist when we change the segment data using

Use of Interface parameters in Function module in ECC 6.0

Hello all, In ECC 6.0 Version we do not use Changing/Tables interface parameters. Instead we declare a table type and use Exporting Parameters. Can any one send me the link to sap help where this is mentioned. Thanks, SalilShould be straight forward.

What are  the input parameters for Function Module

Dear Experts, I want to generate a Sales Tax returns report,those fields are not available in my existing Datasources. For that i want to write a Generic Datasource with Function Module. audat bukrs vkorg vtweg spart aurat auart netwr mwsbp kschl zed

How to use parameters in smartform genrated  function module

i executed smartform one functional module is genrated  '/1BCDWB/SF00000002' now the problem is that  i want to send  output of this smartform through email now how to use ' MAIL_RECIPIENT   '      and  ' MAIL_SENDER   ' to send smartform output thro

How to log input parameters for Function Modules?

Hi, I need to create a Logging system to trace input parameters for function modules. The log functionality could be done by developing a class method or a function module (For example 'write_log'), and calling it within each function module that I w

Receiver Type Function Module in SWE2 use of export parameter.

i am trying to understand the underlying concept in following things:(neednot to say i have searched alot and read sap documentation already). In event type linkage table say i have an entry for BOR -> AFVC_PM. As per sap Documentation says all these

Help on Parameters in RFC Function Module

Hi, I am creating a RFC function module. The requirement is: In a report program, the user enters ABC and XYZ values on the selection screen. These 2 fields are select options so will have From-Value and To-Value. This report program will pass these

Difference between Import and Export parameters in Function Module

Hi All, I am unclear about the import and export parameters, when i create a function module. Can anyone explain abt this. However when i call the function module in any program the import parameters in Function module are displayed as exporting in p

Types of function Modules

What are different types of function modules ?? Please tell in detail about Normal function modules and RFC enabled functional modules ? I have searched other threads also but did not get the enough descriptions of the same. Please respond !Hi Shreya

Dynamic parameters in function module

Hi. I need to write a program that can call various different function modules based on what the user inputs. For example, if the user chooses "BAPI_USER_GET_DETAIL" I need to then call that function module. There is a list of about 30 functions

Importing parameters in Function Module SD_VBFA_ARRAY_READ_VBELV

Hi All, Please let me know the use of importing parameters in the Function Module SD_VBFA_ARRAY_READ_VBELV. The importing parameters are, I_BYPASSING_BUFFER I_REFRESH_BUFFER I'm having problem of memory overflow in the function module so I thought th

Interface parameters in Function Module -- Doubts

Hi, We are developing a custom function group which will have 5-6 custom function module. When you create a function module and specify its Export/Import and table parameters, SAP mark them as "Local Interface".(You can look at the Function modu

Types in function modules

hi   i want to know how many types of function modules are there please help in this . thankyou pavanHi, You have so much information regarding this in sdn. But function modules basically classified into 1)Normal Function Module 2)Remote-Enabled Modu

Unable to retrieve parameters from RFC Function Module

Hi All, I have created a model for the RFC Enabled function module BAPI_BUPA_CENTRAL_GETDETAIL within my webdynpro program. I am passing parameters to the function module BAPI_BUPA_CENTRAL_GETDETAIL and I have validated that this is being passed corr

How to access Business object type attribute from a method/function modul ?

Hello, i have created a business object type object along with attributes and methods. Now inside the method i want to access the attributes. inside the method i am writing: data a type XXX. a = me->attribute this is creating a compilation error. Now