What parameters should  I pass to function module CHARACTERISTIC_VALUE_GET

Hi all,
please give the details about the function module "CHARACTERISTIC_VALUE_GET",
In import parameters
I_APPLC
I_TABNM
I_REPID
is coming and I don't know what value I put in it to run it.
thanks in advance.
manoj.

Hi PG ,
Both excel and word formats are Microsoft propertiery formats , so you cannot use a "x-string to string" FM to covert them to string because , the data in them is not exactly in xstring formats.
There are many threads on this topic..you should be able to find them.\
Here is one such thread [link|Re: Can plain text be extractted from word doc in OfficeControl?].
Thanks,
Aditya.
Edited by: Aditya Karanth on Nov 12, 2010 12:56 PM

Similar Messages

  • What parameters should i pass inorder to upload an excel file in gui_upload

    what parameters should i pass inorder to upload an excel file in gui_upload
    Thanks in advance.
    Ahmed.

    check below program....
    *& Report  UPLOAD_EXCEL                                                *
    *& Upload and excel file into an internal table using the following    *
    *& function module: ALSM_EXCEL_TO_INTERNAL_TABLE                       *
    REPORT  UPLOAD_EXCEL no standard page heading.
    *Data Declaration
    data: itab like alsmex_tabline occurs 0 with header line.
    Has the following format:
                Row number   | Colum Number   |   Value
         i.e.     1                 1             Name1
                  2                 1             Joe
    TYPES: Begin of t_record,
        name1 like itab-value,
        name2 like itab-value,
        age   like itab-value,
        End of t_record.
    DATA: it_record type standard table of t_record initial size 0,
          wa_record type t_record.
    DATA: gd_currentrow type i.
    *Selection Screen Declaration
    PARAMETER p_infile like rlgrap-filename.
    *START OF SELECTION
    call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
           exporting
                filename                = p_infile
                i_begin_col             = '1'
                i_begin_row             = '2'  "Do not require headings
                i_end_col               = '14'
                i_end_row               = '31'
           tables
                intern                  = itab
           exceptions
                inconsistent_parameters = 1
                upload_ole              = 2
                others                  = 3.
      if sy-subrc <> 0.
        message e010(zz) with text-001. "Problem uploading Excel Spreadsheet
      endif.
    Sort table by rows and colums
      sort itab by row col.
    Get first row retrieved
      read table itab index 1.
    Set first row retrieved to current row
      gd_currentrow = itab-row.
      loop at itab.
      Reset values for next row
        if itab-row ne gd_currentrow.
          append wa_record to it_record.
          clear wa_record.
          gd_currentrow = itab-row.
        endif.
        case itab-col.
          when '0001'.                              "First name
            wa_record-name1 = itab-value.
          when '0002'.                              "Surname
            wa_record-name2 = itab-value.
          when '0003'.                              "Age
            wa_record-age   = itab-value.
        endcase.
      endloop.
      append wa_record to it_record.
    *!! Excel data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline.
      endloop.

  • Wt parameters to pass in  function module for particular kunnr fld

    wt parameters to pass in  function module f4if_int_table_value_request which is mostly preferred in reports instead of search help
    for eg i use select-options s_kunnr for kna1-kunnr & prepare i internal table it_kna1.
    den how 2 pass s_kunnr fld & it_kna1 in dat above FM for creating f4 functionality for particular s_kunnr fld on selection-screen.
    plz send me d code urgently

    Check below code....
      SELECT carrid carrname
                    FROM scarr
                    INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'CARRID'
                value_org       = 'S'
           TABLES
                value_tab       = itab_carrid
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.

  • What parameters should be changed in context file of oracle apps

    Hii..
    what parameters should be changed in context file of oracle apps(R12.1.3) for 250 users and pfile parameters of database

    But i came to know we need change parameters like s_oacore_nprocs,MaxPermSize,-Xmx for Forms and Oacore in Context file of apps, based on number of users .Is it correct???Yes.
    JVM: Guidelines to setup the Java Virtual Machine in Apps Ebusiness Suite 11i and R12 [ID 362851.1]
    Configuring various JVM tuning parameters for Oracle E-Business suite 11i and R12 [ID 567551.1]
    Oracle EBS R12 Context Variables [ID 458282.1]
    Increasing Number of JVMs Allocated to oacore Process Causes Login Problems [ID 731115.1]
    After Increasing the Number of OACORE OC4J Processes to More Than 5, adoacorectl.sh is Exiting With Status 204 [ID 1177323.1]
    How To Determine The Number Of Java Virtual Machines (JVM's) Started By Oacore Used By Oracle Payments [ID 1372586.1]
    Thanks,
    Hussein

  • What are all the types of Function module?

    Hi,
    What are all the types of Function module.
    Pls reply me.

    Hi,
    Function modules are one element. There are no types. However sometimes an RFC enabled function module is referred to as RFC Function module, but really it is just a function module. Also BAPIs are function modules, but are usually referred to as just BAPI as opposed to BAPI Function module.
    There is no different function module types , but calling the function module will be different.
    check this function calls syntax
    1. Calls a function module:
    - CALL FUNCTION func.
    2. Call a function module in a different mode (asynchronous Remote Function Call):
    - CALL FUNCTION func STARTING NEW TASK taskname.
    3. Call a function module in the update task:
    - CALL FUNCTION func IN UPDATE TASK.
    4. Call a function module in a remote system (Remote Function Call, RFC ):
    - CALL FUNCTION func DESTINATION dest.
    5. Asynchronous call to a function module with transactional processing (transactional Remote Function Call):
    - CALL FUNCTION func IN BACKGROUND TASK.
    qRFC with output queue
    6. Call a function module that can be activated in the context of enhancements:
    - CALL CUSTOMER-FUNCTION func.
    plz go through the below links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    Thanks,
    Reward If Helpful.

  • What parameters should be set when i receive standard material through idoc

    Hi,
    What parameters should be set when i receive standard material through idoc in inbound system.
    regards,
    Gurprit Bhatia

    http://help.sap.com/saphelp_nw04/helpdata/en/78/21755951ce11d189570000e829fbbd/frameset.htm
    How to understand "outbound parameters" and "inbound parameters" in WE20?

  • Problem with String parameters while Calling RFC enabled Function Module

    Hi all,
    I execute BAPI(RFC enabled Function Module) from my WebDynpro Application and retrieve data from R/3.
    To fetch the data I pass few String parameters to BAPI from my Dynpro Application.
    Now the problem is that while making this call, the parameters are automatically converted to UpperCase. And I want those parameters in the original case at R/3.
    I am not able to find out whether this conversion occurs at Dynpro side or R/3 Side.
    Should i configure my BAPI(RFC enabled Function Module) or is there some option on the Dynpro Side to preserve the Case of the String?
    Please help me.
    Thanks,
    Darshil

    Hi Darshil,
    I'm not sure whether you have experience with ABAP or you are a Java Programmer, but we cannot set that flag permanently.
    Now, if you are saying that the domains are marked with the <i>Lowercase</i> attribute, then it means that the final table field will be capable of holding Case Sensitive data.
    I have a hunch that the case-conversion is happenning at the Web-Dynpro side. Or, the application logic converts the string to UPPERCASE explicitly.
    By the way, which BAPI are you talking about ?
    Regards,
    Anand Mandalika.

  • Parameters RCVPFC and SNDPFC in function module MASTERIDOC_CREATE_CLFMAS

    hi ,
    I am using the function module MASTERIDOC_CREATE_CLFMAS to trigger the idoc CLFMAS ,
    While exporting parameters to this function i need to pass RCVPFC(Partner function of receiver) and SNDPFC(Partner function of sender) but i cannot understand what to pass in these parameters.
    Can anybody tell me what are these parameters.
    thanks,
    loveena.

    have a look at this
    http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/frameset.htm
    My R/3 Source System got in-Activate....... How do i get it Activate..?
    Regds
    Abhishek

  • Variables passed to Function module for posting the Idoc

    Hi,
    For Posting the Inbound Idoc a Function module is created what should be the values passed to
    1) return_variable and
    2) workflow_result.
    I saw in many of the program like this if there is an error in posting.
    I gave return_variable-wf_param = ' Error Idoc'.
    and workflow_result = '99999'.
    Why are these values passed, where are they used.

    Josephine,
    In your parntner profile for your customer/vendor ( depending on your idoc type and business scenario) , you would have assigned the post processing permitted agent.
    In case the function module errors out, these values are carried out to the WF container and appropriate post processing notifications are sent to the agents. That is the purpose of having these variables in here.
    It could be a success/failure, agents are notified in either case.
    Ganesh

  • What is input method in inboud function module !

    What is bdwfap_par - inputmethod ?

    Hi,
    Import Parameters
    BDWFAP_PAR-INPUTMETHD Describes how the function module is to be processed (example: in the background)
    BDWFAP_PAR-MASS_PROC indicates Mass inbound processing? (indicator)
    Export parameters
    BDWFAP_PAR-RESULT - you should Set it to 99999 if an event is to be triggered for error handling.
    BDWFAP_PAR-APPL_VAR is a Variable freely available from application for workflow
    BDWFAP_PAR-UPDATETASK -  to know whether it is  Asynchronous update or not?
    BDWFAP_PAR-CALLTRANS  - to know whether Transaction is called or not?
    Mark all helpful answers.

  • What is the use of CALL FUNCTION MODULE - AT BACKGROUND TASK?

    Hi experts,
    I found Call functional module in background task will make the FM run at the next commit work as some people said. So I have some questions:
    1 if we use COMMIT WORK commend, the pending FM will be called? If there are several FMs called at background task, what is the sequence of them? How many conditions will trigger the running of these FMs?
    2 Where can I find the log of this pending FMs? In SAP library, it says there are 2 tables. But I checked these tables and can only find the FM name and user of it. And I can not understand content of these tables. It seems one is for the main information of FM, and the other is for the data of the FM, maybe the parameters.
    3 If I call a FM in this way, Can I canncel it before the next commit work in some way?
    Finally, thanks for reading and help.

    HI,
    When the COMMIT WORK statement is executed, the function modules registered for the current SAP-LUW are started in the order in which they were registered. ROLLBACK WORK deletes all previous registrations for the current SAP-LUW.
    If the specified destination is not available when COMMIT WORK is executed, an executable program called RSARFCSE is started in background processing. By default, this tries to start the function modules registered for a SAP-LUW in their destination every 15 minutes and up to 30 times. These parameters can be changed in the transaction SM59. If the destination does not become available within the defined time, it is recorded in the database table ARFCSDATA as the entry "CPICERR". The entry in the database table ARFCSSTATE is deleted after a standard period of eight days

  • What parameters should i give in Global Definition or in code

    Hi all,
    the below program is the sample code,was done by my col...and we getting output correctly in se38...but the same if i give in smartform...its not coming out in the print/output form.....
    in global definition...i've given as
    itab like tline.
    in my text window(after the coding tree)....i mentioned as &text&
    i.e,im moving the itab-tdline(field) to text.(in my coding)(c the below code...for reference)
    data text(100).
    data itab like tline occurs 0 with header line.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
    * CLIENT                        = SY-MANDT
        id                            = '0001'
        language                      = 'E'
        name                          = '0080000055'
        object                        = 'VBBK'
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      tables
        lines                         = itab.
    *LOOP AT ITAB.
    **write: itab-tdline.
    *text = ITAB-TDLINE.
    *WRITE:text.
    *ENDLOOP.
    read table itab index 1.
    move itab-tdline to text.
    write:/ text.

    If guess you have written this code in your program lines, don't forget to pass input and output parameters. Note : your variable text should be passed to the output parameter in program lines. Declare this variable text in GLOBAL PARAMETERS
    If that is not the case let me know whether itab is getting populated or not... if not goto SE37, use read_text and  give the below data and see it contains any header text for your selection or not.
    Regards,
    SaiRam

  • Select options values pass to function module

    Hi all,
            I want to pass the values entered in the select options to the function module. How should my function module interface be declared for passing the select options
    I tried declaring like
    t_range type data in the tables tab.  But this throws error. 
    Please let me know how to pass select option values back to function modules.
    Thanks,

    Hi,
    Check this code.
    data: node_flights type ref to if_wd_context_node.
    data: rt_carrid type ref to data.
    data: rt_connid type ref to data.
    data: isflight type table of sflight.
    data: wsflight type sflight.
    field-symbols: <fs_carrid> type table,
    <fs_connid> type table.
    Retrieve the data from the select option
    rt_carrid = wd_this->m_handler->get_range_table_of_sel_field(
    i_id = 'S_CARR_ID' ).
    if rs_carrid is not initial.   Here you can check that if rs_carrid is no initial then assign value of field symbol
    Assign it to a field symbol
    assign rt_carrid->* to <fs_carrid>.
    endif.
    Retrieve the data from the select option
    rt_connid = wd_this->m_handler->get_range_table_of_sel_field(
    i_id = 'S_CONN_ID' ).
    if rt_connid is not initial. Here you can check that if  rt_connid is no initial then assign value of field symbol
    Assign it to a field symbol
    assign rt_connid->* to <fs_connid>.
    endif.
    if  <fs_connid> is not initial and <fs_carrid> is not initial.
    Retrieve that data from the database. Normally it is suggested to
    encapsulate the data retrieval in a separate class.
    For simplicity, the SELECT statement has been implemented here.
    clear isflight. refresh isflight.
    select * into corresponding fields of table isflight from sflight
    where carrid in <fs_carrid>
    and connid in <fs_connid>.
    endif.
    Bind the data to the context
    node_flights = wd_context->get_child_node( name = `FLIGHTS` ).
    node_flights->bind_elements( isflight ).
    Hopes this will helps you.
    Regard
    Manoj Kumar
    Edited by: Manoj Kumar on Mar 16, 2009 10:41 AM

  • Select options passed to function module

    Hey
    I would like to know how r the select-options of a program passed to the function module that is called internally in that program? I want to use this select-options in the function module to fetch frm the database tables?
    Shakr

    Hi,
    Use ranges in function modules. You can declare in import/export/ changing or tables parameters
    Example of ranges:
    ERDAT_RAN
    ERDAT_RAN
    SHP_R_ERZET
    RVBELN
    ERNAM_RAN
    Please see them in se11.
    Pass the select options in the report to these ranges or use below coding:
    DATA: wa_cmfre     LIKE     erdat_ran,
          wa_erdat     LIKE     erdat_ran,
          wa_erzet     LIKE     shp_r_erzet,
          wa_vbeln     LIKE     rvbeln,
          wa_ernam     LIKE     ernam_ran.
    SELECT-OPTIONS: s_erdat FOR vbak-erdat,                  s_erzet FOR vbak-erzet NO-EXTENSION,  
    s_cmfre FOR vbak-cmfre OBLIGATORY ,
    s_vbeln FOR vbak-vbeln NO-EXTENSION,         
    s_auart FOR vbak-auart OBLIGATORY,                           s_bsark FOR vbak-bsark.
      wa_cmfre-sign    = s_cmfre-sign.
      wa_cmfre-option  = s_cmfre-option.
      wa_cmfre-low     = s_cmfre-low.
      wa_cmfre-high    = s_cmfre-high.
      IF NOT s_erdat[] IS INITIAL.
        wa_erdat-sign   =  s_erdat-sign.
        wa_erdat-option =  s_erdat-option.
        wa_erdat-low    =  s_erdat-low.
        wa_erdat-high   =  s_erdat-high.
      ENDIF.
      IF NOT s_erzet[] IS INITIAL.
        wa_erzet-sign   =  s_erzet-sign.
        wa_erzet-option =  s_erzet-option.
        wa_erzet-low    =  s_erzet-low.
        wa_erzet-high   =  s_erzet-high.
      ENDIF.
      IF NOT s_vbeln[] IS INITIAL.
        wa_vbeln-sign   =  s_vbeln-sign.
        wa_vbeln-option =  s_vbeln-option.
        wa_vbeln-low    =  s_vbeln-low.
        wa_vbeln-high   =  s_vbeln-high.
      ENDIF.
      IF NOT s_ernam[] IS INITIAL.
        wa_ernam-sign   =  s_ernam-sign.
        wa_ernam-option =  s_ernam-option.
        wa_ernam-low    =  s_ernam-low.
        wa_ernam-high   =  s_ernam-high.
      ENDIF.
    you can pass these work areas to function module.
    Thanks,
    Shravan G.

  • What parameters need to pass for BAPI_PSPSRVAPS_SAVEMULTI?

    Hi
    I have to create a product substitution list using BAPI_PSPSRVAPS_SAVEMULTI . I have tried lot by passing parmaeters. Can anyone please tell me the exact parameters which need to be passed for creating a product substitution list. once it is created from this BAPI, It should  appear via tcode  /SAPAPO/RBA04.
    Please let me know .
    Thanks.

    >
    Arun Manocha wrote:
    > Hi
    > I have to create a product substitution list using BAPI_PSPSRVAPS_SAVEMULTI . I have tried lot by passing parmaeters. Can anyone please tell me the exact parameters which need to be passed for creating a product substitution list. once it is created from this BAPI, It should  appear via tcode  /SAPAPO/RBA04.
    >
    > Please let me know .
    > Thanks.
    I am trying to test the BAPI first , and during testing i am passing following parameters.
    no value to  these four import paramters .
    LOGICAL_SYSTEM :
    BUSINESS_SYSTEM_GROUP
    AUTO_DELETE
    COMMIT_CONTROL " by default space
    In table PRD_SUB_PROC, i am passing only PRD_SUB_PROC   ie 1 .
    in table  PRODUCT_SUBSTITUTION ,
    PRD_SUB_ PR                            PRODUCT                                                            SUBSTITUTE_PROD
    1                                                400000005                                                                         4000000010
    But still i am not getting any value in return parameter.  let me know what value should come in return if product substitution list get created using this BAPI.

Maybe you are looking for

  • Import MS Access 2013 tables into SQL Server 2012

    Hi there, Is there a step by step example somewhere showing how to import an MS Access 2013 table into SQL Server 2012? I have read the existing posts and don't see a definitive answer. I have installed MS Access 2010 engine, first 32 bit then 64 bit

  • Sales Organizaton

    HI- my client has domestic & export sales. Regular sales- Finished goods/ semi finished goods- Domestic/Export Sample sales - Domestic/ Export Scrap sales - Domestic Stock Transfers - Domestic as per above sales- i would like to create Sales organiza

  • Create custom jobs in DB13

    Hi, For BW we want to schedule a brconnect job for updating the statistics for the infocube. We can do this in the criontab but we prefer to do do this in DB13. Is there a way to create a custom job in DB13? Thanks for the help Regards, Glenn

  • New VPN3005 Concentrator - Authorization Error

    If you have solved the following issue before then kindly give me a clue: The VPN3005 has only been used a few times in the test lab, when suddenly it begins to refuse any attempts to make config changes - both CLI and Web. It also outputs the follow

  • Can't load shared library, libgpg-error missing?

    Right, so this morning I decided to try out Cinnamon. I booted into Arch, logged into GNOME, installed cinnamon from the repositories, and did a system upgrade. I then rebooted. I select Arch Linux from GRUB, everything is working fine, but GDM won't