Field Seperator in Function module TEXT_CONVERT_XLS_TO_SAP

Hi All,
Can anyone tell me the use of field seperator in
Function module 
TEXT_CONVERT_XLS_TO_SAP

Hi
i_field_seperator parameter ........which explains the separator in the uploading data ....
if yes then place 'X'
else leave it as space..
Regards,
vamsi.

Similar Messages

  • Accessing all the fields of a function module in EWM

    Hi All,
    I have a requirement to prepare a report that pulls some fields of the Function module /SCWM/STOCK_INC_OUT_MON.
    This Fuction module is in EWM.
    I need result rows for multiple values(user inputs) of warehouse.
    Cant we access individual fields from this FM without using the structure?
    i need to pull the fields MATNR, NLPA PROC and GRDATE
    for all the user entries in Wahrehouse code
    Thanks, Arka

    Hi,
    You can use the work area to capture the output of the function module and then use the data (fields) which ever you require.
    The structure of the Work area (Data Types of the field) should be same as data types of output parameters of that Function Module.
    Hope this helps.
    Regards,
    Shweta Soragavi

  • Fields inclusion for Function Module Extractor

    Hi Gurus,
    I am planning to design a Function Module based extractor. This Function modules is supposed to extract data from approx 10 different tables. Most of the tables have 5 or more fields of it to be pulled in.
    However, there are also few tables, which have got just a single field or just 2 fields.
    As a design, is it a good idea to include the logic of extracting these fields in the Function module? or
    Is it recommended to have these fields included via a user exit, once the datasource is developed?
    I appreciate all the help

    Thanks Dash I have assigned the points.
    I guess you are recommending the User Exit approach as mentioned in my original post where few of my tables have got just a single field or just 2 fields.
    Let me know please.
    Other SDNers,
    Let me have your thoughts too

  • How to add "CC" field in this function module SO_NEW_DOCUMENT_SEND_API1

    Hi,
    I have  a receiver field in this function module SO_NEW_DOCUMENT_SEND_API1.
    But i wanted to add a CC field also to this.. How do i do it???
    Thanks & regards,
    Aswin

    when you add the receiver entry in the receivers table, just make the parameter copy as 'X'. This will put the receiver in CC.
    And if you want to put it in BCC use the parameter Blind copy.
    Regards,
    Lalit Mohan Gupta

  • Require following field from one function module

    Hi,
    This is a issue which I am working on.Can u help me in this issue The issue is as below.
    It ia a Abaper related issue .They want the clarification from Functional side
    We require your help in below mentioned Open order extractions. Basically we want to know.
    Function modules for Open Sales/ Purchase order quantity and for open quantity
    They also require the following field to be fetched in  the table
    Extraction for Open Purchase Order
    Get all Purchase Order (EBELN) , Vendor (LIFNR) , Name (NAME1), Material (MATNR), Material Description (MAKTX), Material Group (MAKTL), Open Quantity (Order Qty (MENGE) -  Received Qty(field)) > 0), Requested Date (BEDAT), Purchasing Group (EKGRP).
    For Sales Organization Plant
    PO No, Vendor, Vendor name, Material,Mat description, Mat group,Open qty,Requested date, Purchasing group
    Thank you

    Hi Sravanthi,
    Maintain a table type in SE11 wich is of type your itab in the program to avoid type conflicts
    you IMPORT EXPORT or SET PARA GET PARA
    here you have to use the system table INDX(hk)
    please go through the example provided in the KEY word documentaion
    hope this will serve your purpose.
    Regards
    Ramchander Rao.K

  • It is possible to get giving parameter field name in function module

    i have one question like below .
    at main report .
    call funciton Fm1
      exporting
         var1 = W_A
         var2 = W_B
    at function module i want to get  giving  parameter field name, in here  value was  "W_A" and "W_B"  .
    plz give me some hints or any advise .

    Only a hint:
    If you have a fm with an unspecified parameter like
    FUNCTION ZTESTBABLFM.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     REFERENCE(INPUT)
    type-pools: sydes.
    data: fieldinfo type SYDES_DESC.
      describe field input into fieldinfo.
    ENDFUNCTION.
    you can get some information from DESCRIBE FIELD  either using INTO as above or with other options as LENGTH, TYPE ...

  • Ad-Hoc Query Field using HR_99S_INTERVAL_BETWEEN_DATES function module

    I have created an additional field in Sq02 to calculate years between two dates and am using function module HR_99S_INTERVAL_BETWEEN_DATES.
    There are no syntax erros but when I run a query in Sq01 and output the field it doesn't calculate instead gives "00000" output.
    The field Code in the additional field
    Clear ZHR_SERVICEYRS.
    DATA: V_MONTHS TYPE  i.
    DATA: V_YEARS TYPE  i.
    DATA: V_MONTHS1 TYPE  char20.
    DATA: V_YEARS1 TYPE  char20.
    CALL FUNCTION 'HR_99S_INTERVAL_BETWEEN_DATES'
      EXPORTING
       BEGDA           = P0002-GBDAT
       ENDDA           = Sy-Datum
      TAB_MODE        = ' '
    IMPORTING
      DAYS            =
      C_WEEKS         =
       C_MONTHS        = V_MONTHS
       C_YEARS         = V_YEARS
      WEEKS           =
      MONTHS          =
      YEARS           =
      D_MONTHS        =
      MONTH_TAB       =
    V_MONTHS1 = V_MONTHS.
    V_YEARS1 =  V_YEARS.
    CONCATENATE V_YEARS1  '.'  V_MONTHS1 INTO ZHR_SERVICEYRS.
    condense ZHR_SERVICEYRS.
    has anybody had similar problems! Help Appreciated!

    Hi Anuj,
    Yes, you use Transaction Code SQ02.  Find your infoset on the list - if you want to create a new infoset you can do so.  If it is an existing infoset, select it and Change.  On the next screen you will see all the infotypes in that infoset on the left.  The fields available for Ad Hoc are on the right.  Open the infotype table on the left and the field group on the right.  If the field is not included in the field group all you have to do is drag and drop from the list on the left to the correct field group.  If the infotype is not already in your infoset, select Edit --> Change Infotype Selection from the top menu bar.  Place a check in the new infotype and then return and do the drag and drop if necessary.  You will find the basic fields already moved to the field group. 
    You say you want information from IT0008-Basic Pay and IT1005-Planned Compensation.  Problem is that if you use the standard HR logical data base, there is no link directly between a person and IT1005.  IT1005 is assigned to a Position or a Job.  If it is assigned to a Position, you can select the "Change Infotype Selection" action and ago to the bottom of the list to Related Objects.  Here select Position and open that to find the IT1005.  If the IT1005 is tied to the Job, there is no direct link. Thus, if it does not already exist, you will need to create an infoset based on the PCH logical database and object Position.  Now you can link that Position to "Holder"-Person and "Described by"-Job.  Again, select the infotypes and fields you want and you will be able to obtain your information via Ad Hoc Query based on that infoset.
    Paul

  • Extracting Text Field using a function module

    Hi Experts,
          We are trying to extract a test field from the R3 using a Function Module.
                  The Text from R3 Looks like this
                 Input Parameters
                  ID -1
                  SEQ 2
    It displays
              Column 1 Column2
               This is test
               strategy for Function
               Module xxxx
    So we put in some parameters to get this test field displayed. As you see the above is just one field but they are in different lines
            So what happens when we put in the database is it adds a new field
    Eg
    ID SEQ Column 1 Column2
    1   2        *            This is test
    1   2        *            strategy for Function
    1   2        *            Module xxxx
    The result that we need is
    D SEQ Column 1 Column2
    1   2        *            This is test strategy for Function Module xxxx
    How can we handle this in the Query Transform
    Your help in advance is appreciated.
    Thanks
    Edited by: alangilbi on Nov 17, 2010 3:49 AM

    Have you considered using a pivot transform to get your rows into columns and then a query transform to concatenate the columns together?

  • Error generating Function Module 'TEXT_CONVERT_XLS_TO_SAP'

    Hi All,
    When i am executing the FM 'TEXT_CONVERT_XLS_TO_SAP' i am getting the error Error generating the test frame.
    Can you please tell me how to execute the FM.
    Thanks & Regards,
    Vivek Agarwal

    Hello...
                   Iam sending a sample code.
                   Hope it will helps U how to deal with FM :  TEXT_CONVERT_XLS_TO_SAP.
    TYPE-POOLS : TRUXS.
    TYPES : BEGIN OF TY_TAB,
             F1(10) TYPE C,
             F2(10) TYPE C,
             F3(10) TYPE C,
            END OF TY_TAB.
    DATA : WA_TAB TYPE TY_TAB,
           LT_TAB LIKE STANDARD TABLE OF WA_TAB.
    DATA : I_TAB_RAW_DATA TYPE TRUXS_T_TEXT_DATA.
    DATA : FNAM TYPE IBIPPARMS-PATH.
    PARAMETER : P_FNAM TYPE RLGRAP-FILENAME.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FNAM.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
       FILE_NAME           = FNAM
    P_FNAM = FNAM.
    START-OF-SELECTION.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
        I_TAB_RAW_DATA             = I_TAB_RAW_DATA
        I_FILENAME                 = FNAM
      TABLES
        I_TAB_CONVERTED_DATA       = LT_TAB.
    LOOP AT LT_TAB INTO WA_TAB.
    WRITE :/ WA_TAB-F1, WA_TAB-F2.
    ENDLOOP.
    But my suggestion is why cant you use FM : ALSM_EXCEL_TO_INTERNAL_TABLE
    instead of TEXT_CONVERT_XLS_TO_SAP.
    The performance can be improved much by ALSM... FM.
    Thanks and Regards
    Sekhar.C

  • Field value in function module BAPI_SALESORDER_GETSTATUS

    Hi Ppl,
    I am using FM BAPI_SALESORDER_GETSTATUS and for each line item a value of "B" is returned in DLV_STAT_H field, can somebody tell me where where to find the meaning of these values?
    Thanks
    Rob

    Hi,
      You can find documentation using transaction BAPI
    A Not yet processed
    <b>B</b> Partially processed
    C Completely processed
    <b>Reward points</b>
    Regards

  • ITS Flow Logic : Example of passing a Fields/tables from Function Module?

    Hi all,
    does someone know, what needs to be done (including settings) to being able to call a FM with various outputs(fileds and tables) from a flow file !?
    I am a little bit confused...a full example would be greatly appreciated !!
    Thank you very much !
    Chris

    this may be of help to you.
    http://www.sapgenie.com/its/flowlogic.htm
    Regards
    Raja

  • Issue in EP: Function module throwing an exception

    Hi Guys,
    I have an Issue in EP.....which is a replica of the production system i am working on. I have an excel file to upload. I am using the function module 'text_convert_xls_to_sap' . This is working in Production sytem.
    But i am getting an Error" File cannot be processed ".
    in portal environment of the same program.
    The exception is in the Function Module 'text_convert_xls_to_sap'  in the " PERFORM get_spreadsheet_interface USING g_con_excel....".
    Here sy-subrc = 1.
    Can anyone tell me what exactly is going wrong here?
    Thanks,
    San
    PS:Helpful answers will be rewarded

    Hi!
    The file is closed when i access. The issue is elsewhere and it is not reading the file...
    Thanks,
    San

  • Error while using the function module..pack_handling_unit_dlvry

    Hi all...
    while using the function module pack_handling_unit_dlvry,
    we need to pass the handling unit number as per the functionality we require.
    but the mandatory field for the function module is the handling unit number in the form of bar code..
    so how to use this function module..
    All the useful answers will be regarded..
    Regards,
    Saroja.

    Have you tried using BAPI BAPI_HU_CREATE. Also view Function Module Documentation on its usage.

  • Inconsistent Errors when processing  IDocs using custom Function Module

    I am encountering a most perplexing error. Here is the situation.
    We have a custom function module to update data in the EH&S system. We are having a bizarre error occurring. This is the basic processing of the function module:
    1. IDoc data is read and loaded into an internal table.
    2. Data is run through a series of checks to determine if the data is valid for entry into the system.
    3. After validation we use function module  C1F2_SUBSTANCES_READ_WITH_REF to read  characteristic data for the  substance. This data is used to validate whether current data exists to allow for loading of the IDoc data. (This is the step where the IDoc is receiving an error even if the data is valid. This only occurs if we are processing a large amount of Idocs and one IDoc contains valid data and another invalid data for the same substance. It occurs even if the Idocs are not processed in sequence.  If individually processed or reprocessed after initial failure they pass. This is what is so confusing!) If it exists, a flag is set and  the data is loaded using function module BAPI_BUS1077_CHANGE to modify the data.
    4. If the flag is set to allow further processing, the function module C1F2_SUBSTANCES_READ_WITH_REF is used again to select different characteristic data for the substance. A similar validation process occurs and if it passes, data is loaded using BAPI_BUS1077_CHANGE to update and BAPI_BUS1077_CREATE to create new data.
    Here is the situation:
    When processing one valid record for one substance, the record loads successfully.  When processing multiple valid records (all are valid) for one substance, they all load successfully.  The problem occurs when attempting to load valid and invalid records for the same substance.  Some times the program successfully loads the valid data (as expected).  Other times, it will not load any records.  It is not consistent!
    The order of IDoc processing does not have an impact on the success of the load.  Whether the valid or invalid record processes first does not have an impact on the success of the valid substance load.
    Does anyone have ANY Idea of what is going on? I am clearing all fields in the function module before processing occurs. I cannot find what is causing the error to occur.
    HELP!
    Jim Hardy

    I have some further information. It seems that if data for a substance is sent in two separate Idocs, one with valid and one with invalid data, As long as the two IDocs are processed consecutively, they process correctly. If they are separated by IDocs containing other substance information, they fail.
    thanks
    Jim

  • Dynamic programming: send data to function module, mapping...

    Hello abappers,
    I have a requirement to be able to send a the name of a table and a table-field to a function module, it can be a table of any type, so the function module should be generic in nature, the function module receives the table name and table-field name and then selects data for the field specified from the table specified (in the import parameter of the FM). Within the function module, I want to be able to determine the fields type? and then send this field to an internal table representing a a destination table (also specified in the import parameters).
    the idea is to be able to map a field from any table to a specified field in another table, the table(source and destination) and field names will only determined at run time as specified by the user.
    any assistance will be appreciated, I am not very familiar with dynamic\generic programming.

    Hello Bijo,
    Following are the steps to implement this requirement:
    1. Create import parameter for table name i.e. TABLE_NAME
    2. Create tables parameter for fields table
    3. Define table. DATA TABLE TYPE REF TO DATA. Also create single column internal table for fields and load all fields to select from database.
    Inside function module you can implement following steps:
    4. Load all the fields name into internal table. for this you can use DD03L for field details and use TABLE_NAME as key.
    5. Once you have all the fields ready in internal table then construct fieldcatlog using these fields
    loop at internal table with all the fields.
    move it to field catalog.
    append field catalog.
    endloop.
    6. Pass this field catalog table to static method create_dynamic_table
    call method cl_alv_table_create=>create_dynamic_table
    exporting
    it_fieldcatalog = fieldcatalog_tab
    importing
    ep_table = table.
    Here table is defined with data object type.
    now assign table reference to field symbol of type table.
    ASSIGN table->* to <field-tab>.
    Also create work area <field-wa> using refrence of table.
    create data object wa LIKE LINE OF <field-tab>.
    ASSIGN wa->* to <field-wa>.
    Also define field symbol for field name.
    for e.g. <field_name>
    7. Dynamic internal table is ready
        Now using can use select as follows:
        SELECT (fields)  "--> fields is single column internal table to hold fields need to be selected
             INTO CORRESPONDING FIELDS OF TABLE <itab> "--> itab created dynamically at runtime
            FROM (TABLE_NAME) --> Table name imported
         WHERE (where_clause). --> where_clause is single column internal table with data type CHAR72.
    Select data into <itab> and use ASSIGN COMPONENT to move data from one table to another as follows:
    8. To fill this dynamic internal table using ASSIGN COMPONENT <Comp_number> OF STRUCTURE <field-wa> TO <field-name>
    So in this case if first field of structure STRUCT1 is user_id then sudo-code will be
    loop at internal table containing list of fields into field_wa
    ASSIGN COMPONENT field_wa OF STRUCTURE <field-wa> TO <field>. "Here field_wa is wa area for single column internal table holding all the fieldnames.
    Now <field-name> points to user_id field. Move some value into it as nornally we do with variables.
    move '001' to <field-name>.
    or
    <field-name> = '001'.
    endloop.
    after completing all the fields one row will be ready in <field_wa>.
    APPEND <field_wa> to <field_tab>.
    Let me know incase you face any issues!
    Hope this helps you.
    Thanks,
    Augustin.
    Edited by: Augustarian on Aug 23, 2009 7:02 PM
    Edited by: Augustarian on Aug 23, 2009 7:08 PM
    Edited by: Augustarian on Aug 23, 2009 7:09 PM

Maybe you are looking for

  • XSL-FO PDF question

    Dear all, I am using Jdev. 10.1.3, and use FOP to print the reports. I want to ask is it possible to control the size and position of the pdf which show in the browser? i.e. I want show the pdf within a browser: left hand side show the fields and rig

  • Difference in Pantone Seperation in CS4 to what is in Pantone Colour Bridge

    I have found that when seperating Pantone Spot Colours in CS4, Illustrator brings up differenet CMYK values than are shown in my Pantone Colour Bridge Swatch book. Any one else have this issue and know why this happens?

  • Can't open excel in home premium office 365

    Had office 365 home premium installed. Now can't open excel documents

  • Packaging question ear file

    We have common classes that are used in all modules. These are available in several jars. The way we have packaged is that these jars are put in the ear file and the Manifest.mf of the web application wars reference these jar files. This does not see

  • Not getting correct values in ODS

    BW gurus   when i do delta loads for ODS i am getting strange values into my ods.How ever if i do full loads on ods ,i am getting correct values(same values as RSA3). 1 .Any idea why i am getting wrong values if i do delta   loads . 2.If i make this