Upload two keyfigures of flat file

Hi Experts
I need to load two key figures for diferent flows, i´ve tried with *MVAL but is doesn´t work in MS version, How can I solve this.
thanks in advance

Hi,
As John has already suggested, MVAL can be used with only the time dimension.
This means that if you multiple key figures in the source and if that is mapped to the time dimension in BPC, then you can use MVAL. Otherwise, you will need to run the import separately for each of the key figures and you need to use separate transformation files for each load.
Hope this helps.

Similar Messages

  • Error while uploading data from a flat file to the hierarchy

    Hi guys,
    after i upload data from a flat file to the hierarchy, i get a error message "Please select a valid info object" am loading data using PSA, having activated all external chars still get the problem..some help on this please..
    regards
    Sri

    there is o relation of infoobject name in flat file and infoobjet name at BW side.
    please check with the object in the BW and their lengths and type of the object and check your flat file weather u have the same type there,
    now check the sequence of the objects in the transfer rules  and activate them.
    there u go.

  • Uploading Data from a Flat File

    Hi
    I am trying to Upload data from a Flat File to the MDS. I have a few questions on the Process.
    a) XI would be the Interface, and one end would be a file adapter with the Flat File format. On the other end, which Interface should I use - ABA Business Partner In or MDM Business Partner In. I do not understand the differences between them and where should which one be used?
    B) At the moment,I want to map the data to standard Object type, Business Partner  BUS1006. This also has a staging area already defined in the System. Can I view the data which is imported into the Staging area ? How so ?
    C) The struture (or data) that I wish to upload has few fields, and does not map to the BP structure easily. In such a scenario does it make sense to
    Create a new Object type
    (ii) Create a new Business Partner type with the appropriate fields only ..
    What I need to know is if either of these options is feasible and what are the pros & cons of doing this, in terms of effort, skillset & interaction with SAP Development ?
    Kindly do reply if you have any answers to these questions.
    Regards,
    Gaurav

    Hi Markus,
    Thanks for your inputs.
    I have tried uploading some dats from a Flat file to the Business Partner Onject type, BUS1006. I initially got some ABAP Parsing errors on the MDM side, but after correcting that, I find my message triggers a short dump - with the Method SET_OBJECTKEYS, not finding any keys in the BP structure that has been created.
    Q1 - How do I get around this problem ? Is it necessary for me to specify Keys in the PartyID node of the Interface ABABusinessPartnerIn. or is it something else ?
    Q2 - How is this general process supposed to work? I would assume that for staging, I would get incomplete Master data or data from flat files, which need not neccesarily contain keys. The aim is to use the matching strategies in the CI to identify duplicates and consolidate them.
    Thanks in advance for your reply.
    Regards,
    Gaurav

  • BAPI to upload data from a flat file to VA01

    Hi guys,
    I have a requirement wherein i need to upload data  from a flat file to VA01.Please tell me how do i go about this.
    Thanks and regards,
    Frank.

    Hi
    previously i posted code also
        Include           YCL_CREATE_SALES_DOCU                         *
         Form  salesdocu
         This Subroutine is used to create Sales Order
         -->P_HEADER           Document Header Data
         -->P_HEADERX          Checkbox for Header Data
         -->P_ITEM             Item Data
         -->P_ITEMX            Item Data Checkboxes
         -->P_LT_SCHEDULES_IN  Schedule Line Data
         -->P_LT_SCHEDULES_INX Checkbox Schedule Line Data
         -->P_PARTNER  text    Document Partner
         <--P_w_vbeln  text    Sales Document Number
    DATA:
      lfs_return like line of t_return.
    FORM create_sales_document changing P_HEADER  like fs_header
                                       P_HEADERX like fs_headerx
                                       Pt_ITEM   like t_item[]
                                       Pt_ITEMX  like t_itemx[]
                                       P_LT_SCHEDULES_IN  like t_schedules_in[]
                                       P_LT_SCHEDULES_INX like t_schedules_inx[]
                                       Pt_PARTNER  like t_partner[]
                                       P_w_vbeln  like w_vbeln.
    This Perform is used to fill required data for Sales order creation
      perform sales_fill_data changing p_header
                                       p_headerx
                                       pt_item
                                       pt_itemx
                                       p_lt_schedules_in
                                       p_lt_schedules_inx
                                       pt_partner.
    Function Module to Create Sales and Distribution Document
      perform sales_order_creation using p_header
                                         p_headerx
                                         pt_item
                                         pt_itemx
                                         p_lt_schedules_in
                                         p_lt_schedules_inx
                                         pt_partner.
      perform return_check using p_w_vbeln .
    ENDFORM.                                 " salesdocu
        Form  commit_work
        To execute external commit                                    *
    FORM commit_work .
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = c_x
    ENDFORM.                                 " Commit_work
    Include ycl_sales_order_header          " To Fill Header data and Item data
    Include ycl_sales_order_header.
         Form  return_check
        To validate the sales order creation
    FORM return_check using pr_vbeln type vbeln.
    if pr_vbeln is initial.
        LOOP AT t_return into lfs_return .
          WRITE / lfs_return-message.
          clear lfs_return.
        ENDLOOP.                             " Loop at return
      else.
        perform commit_work.                 " External Commit
        Refresh t_return.
        fs_disp-text = text-003.
        fs_disp-number = pr_vbeln.
        append fs_disp to it_disp.
      if p_del eq c_x or p_torder eq c_x or
        p_pgi eq c_x or p_bill eq c_x.
        perform delivery_creation.           " Delivery order creation
        endif.                               " If p_del eq 'X'......
      endif.                                 " If p_w_vbeln is initial
    ENDFORM.                                 " Return_check
    *&      Form  sales_order_creation
          text
         -->P_P_HEADER  text
         -->P_P_HEADERX  text
         -->P_PT_ITEM  text
         -->P_PT_ITEMX  text
         -->P_P_LT_SCHEDULES_IN  text
         -->P_P_LT_SCHEDULES_INX  text
         -->P_PT_PARTNER  text
    FORM sales_order_creation  USING    P_P_HEADER like fs_header
                                        P_P_HEADERX like fs_headerx
                                        P_PT_ITEM like t_item[]
                                        P_PT_ITEMX like t_itemx[]
                                        P_P_LT_SCHEDULES_IN like t_schedules_in[]
                                        P_P_LT_SCHEDULES_INX like t_schedules_inx[]
                                        P_PT_PARTNER like t_partner[].
        CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
        EXPORTING
          sales_header_in     = p_p_header
          sales_header_inx    = p_p_headerx
        IMPORTING
          salesdocument_ex    = w_vbeln
        TABLES
          return              = t_return
          sales_items_in      = p_pt_item
          sales_items_inx     = p_pt_itemx
          sales_schedules_in  = p_p_lt_schedules_in
          sales_schedules_inx = p_p_lt_schedules_inx
          sales_partners      = p_pt_partner.
    ENDFORM.                    " sales_order_creation
    plzz reward if i am usefull plzz

  • How to upload  schedule line from flat files to sap file

    dear all,
    i want to upload the schedule lines from flat files to sap schedulle lines
    but the flat files have 15 schedule lines and the data is as per date
    so how to upload that and the fields available in flat files are more than the sap screen
    we are having more than 6 items
    and 15scedule lines its abt 90data to be upload
    for one customer in every 15 day
    so how to do this
    is there any direct use in functional side
    with out the help of any abap
    but my user will do it
    so he need a permanent solution
    with regards
    subrat

    Hi Subrat ,
    u can upload the data either ( Master /Transaction) data with the help of lsmw. for that all u need to do is go through the lsmw and do it. in that u can go Batch input recording/ BAPI/ IDOC any of that. here i am sending the LSMW Notes go through it and do the work.
    once u create the LSMW project then u can ask the data from user or u can explain the user about the program and can run the flat file to upload the data.
    if u require LSMW material Just send me blank mail from u. my mail id is [email protected]
    Reward if Helpful.
    Regards,
    Praveen Kumar.D

  • Error while uploading data from a flat file

    Hi All,
    I am trying to load data from a flat file to an ODS. The flat file contains a field, say FLAT01, of numerical type(Type Decimal, Length 18, Decimals 2). I have created an infoobject, say ZIO10, with type CURR and currency field, 0CURRENCY. In the transfer rules, I have assigned a constant for 0CURRENCY as the flat file doesn't have any currecy field.
    The problem is the flat file doesn't have any value in that field, FLAT01, for some records, infact most of the records. When I try to load it to BW,from applicatin server, it is throwing an error "Contents from field ZIO10 cannot be converted in type CURR ->longtext".
    I have debugged the transfer rules and find that the empty value is being represented as '#' and when it is trying to copy it into the CURR type field, it is throwing the error.
    Can someone please let me know how to solve it? why is it taking '#' for enpty value? Can't we change that?
    Any help would be highly appreciated.
    Best Regards,
    James.
    Message was edited by:
            James Helsinki

    Hi SS,
    I am sorry that I was not clear with my explanation. I have created ZIO10 as a keyfigure with type AMOUNT and the currency as 0CURRENCY.
    There is no currency coming in from the flat file so I used a constant in transfer rules to fill 0CURRENCY.
    The field which is coming as '#' is FLAT01 which is assigned to ZIO10.
    Best Regards,
    James.

  • Uploading Data from a Flat file into Oracle Database

    Hi,
    I am a novice to Java . SO, please bear with me. I have a reqiurement where I have a flat file or excel file from which I need to read the data and insert into Oracle Database. The falt file will exist on the client machine. I have been reading and I see this can be done through I/O Streams. Correct me if I am wrong. I am looking for a sample code to get started. Any Java expert has an answer for it, I will appreciate it.
    Thanks

    Try UploadBean. It allows to upload files (from a browser) in Oracle.
    http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html
    You will find JSP and servlet samples.

  • Load problems while doing -3.00E-02 KeyFigures in Flat Files.

    Hello BW Experts,
    I have -3.00E-02 KeyFigures values in my Flat Files. Is it possible to load this kind of values, if so, how is it done.
    Thanks in Advance.
    Best Regards,
    Giftedbrain.

    Change your number formatting in Excel before loading - and also change the KF to FLoating point - it might take in the values..
    Arun

  • Upload Currency Vlaues using Flat File.

    Hi All,
    I need a clarification in Loading the Currency Values through flat files. The flat file is created with the similar table structure as that of TCURR.
    But there is a problem that am facing.
    In SPRO there is an screen to maintain the Exchange rates. After doing the flat file upload in AWB under the source system tab, i checked in SPRO Exchange rates screen to see if the values for Indirect Quotation and Direct Quotations are populated. But it is always populating the exchange value only in Direct Quotation and not in indirect quotation.
    Apart from that i am not able to navigate in that screen as am getting an error message in the Exchange rate screen as :"MAnintain conversion factors for <FROM>/<TO> currency.
    Please let me know how to do a flat file upload of currency values and also on the Indirect/Direct Quot mapping.
    Sajan.M

    Hi Sajan,
    The Steps that you followed is correct but only thing is you have to maintain Exchange Rate Type with use of T-code : RRC1 .
    Maintain the Flatfile same as the table.
    Note : Exchange Rate Type should be the existing one.
    In the Source system, right click the concern source system and choose the transfer exchange rate...and specify your flat file.we can load it from the local or application server.
    But be carefull sometimes it will delete the existing data in the table.
    Regards,
    Suresh

  • Upload table with a flat file Once - without program

    Hello,
    I know that it is possible to upload a Z table from a flat file. (without program)
    I do not have a problem with this table. I manage a  maintenance view (SM30) and I can thus enter one by one a recording in this table and to put it in an transport request(R3TR-TABU)
    I would like to enter all the recordings only one (with a file.)
    I know that it is possible... but how???
    Thank you to help me.
    Servane

    The only other way I know how to put table entries in is thru SE11   Utitlties>Table Contents->create entries.  But this does not allow to be uploaded via file.
    Regards,
    Rich Heilman

  • REg Upload of data through Flat file .....  .XLS or .TXT or .CSV

    Hi,
    I am trying to upload flat file data using the FM GUI_UPLOAD for .TXT file and
    FM TEXT_CONVERT_XLS_TO_SAP for .Xls and .csv files
    My internal table is as follows
    TYPES : BEGIN OF ty_f64,
                     field(255) type c,
                  END OF ty_f64.
    data : it_f64 type table of ty_f64.
    Example Flat file data is as follows
    H     20112008     DR     0001     20112008     INR
    L     01     61     1000          
    L     50     41000     1000          
    H     20112008     DR     0001     20112008     INR
    L     01     61     1000          
    L     50     41000     500          
    L     50     41000     400          
    L     50     41000     100          
    My problem is that only the first field i.e H or L is getting updated into my internal table but I want whole record to be the content in one row
    i.e in RUN TIME I see the internal table data as
    H
    L
    L
    H
    L
    L
    L
    regards
    Prasanth

    Check the below code
    REPORT  ZSRK_073                            .
    CLASS CL_ABAP_CHAR_UTILITIES DEFINITION LOAD.
    TYPES : BEGIN OF TY_F64,
                     FIELD(255) TYPE C,
                  END OF TY_F64.
    DATA : IT_F64 TYPE TABLE OF TY_F64,
           WA_F64 TYPE TY_F64.
    TYPES : BEGIN OF TY_HEADER,
           RECNO TYPE I,
           INDICATOR,
           BLDAT TYPE BLDAT,
           BLART TYPE BLART,
           BUKRS TYPE BUKRS,
           BUDAT TYPE BUDAT,
           WAERS TYPE WAERS,
           END OF TY_HEADER.
    TYPES : BEGIN OF TY_ITEM,
            RECNO TYPE I,
            INDICATOR,
            NEWBS TYPE NEWBS,
            NEWKO TYPE NEWKO,
            WRBTR(16), " TYPE WRBTR,
            END OF TY_ITEM.
    TYPES : BEGIN OF TY_TAB,
            F1,
            F2(10),
            F3(17),
            F4(17),
            F5(10),
            F6(5),
            END OF TY_TAB.
    DATA : IT_HEADER TYPE TABLE OF TY_HEADER ,
           IT_ITEM TYPE TABLE OF TY_ITEM,
           WA_HEADER TYPE TY_HEADER,
           WA_ITEM TYPE TY_ITEM,
           IT_TAB TYPE TABLE OF TY_TAB,
           WA_TAB TYPE TY_TAB.
    DATA : L_REC TYPE I,
           FLAG.
    CONSTANTS : C_HTAB TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
    DATA : FNAME TYPE STRING VALUE 'C:\TTT1.xls',
           L_FILE LIKE RLGRAP-FILENAME.
    IF FNAME CS '.TXT'.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME = FNAME
          FILETYPE = 'ASC'
        TABLES
          DATA_TAB = IT_F64.
      PERFORM SPLIT_TEXT_TABLE TABLES IT_F64.
    ELSEIF FNAME CS '.XLS'.
      L_FILE = FNAME.
      PERFORM UPLOAD_XLSFILE TABLES IT_TAB
                             USING L_FILE.
      PERFORM SPLIT_XLS_TABLE TABLES IT_TAB.
    ELSEIF FNAME CS '.CSV' .
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME = FNAME
          FILETYPE = 'ASC'
        TABLES
          DATA_TAB = IT_F64.
      PERFORM SPLIT_CSV_TABLE TABLES IT_F64.
    ENDIF.
    *&      Form  UPLOAD_XLSFILE
          text
    -->  p1        text
    <--  p2        text
    FORM UPLOAD_XLSFILE TABLES P_TABLE
                        USING P_FILE.
      DATA : L_INTERN TYPE KCDE_CELLS OCCURS 0 WITH HEADER LINE.
      DATA : L_INDEX TYPE I.
      DATA : L_START_COL TYPE I VALUE '1',
             L_START_ROW TYPE I VALUE '1',
             L_END_COL TYPE I VALUE '256',
             L_END_ROW TYPE I VALUE '65536'.
      FIELD-SYMBOLS : <FS>.
      CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
        EXPORTING
          FILENAME                = P_FILE
          I_BEGIN_COL             = L_START_COL
          I_BEGIN_ROW             = L_START_ROW
          I_END_COL               = L_END_COL
          I_END_ROW               = L_END_ROW
        TABLES
          INTERN                  = L_INTERN
        EXCEPTIONS
          INCONSISTENT_PARAMETERS = 1
          UPLOAD_OLE              = 2
          OTHERS                  = 3.
      IF SY-SUBRC <> 0.
        FORMAT COLOR COL_BACKGROUND INTENSIFIED.
        WRITE : / 'File Error'.
        EXIT.
      ENDIF.
      IF L_INTERN[] IS INITIAL.
        FORMAT COLOR COL_BACKGROUND INTENSIFIED.
        WRITE : / 'No Data Uploaded'.
        EXIT.
      ELSE.
        SORT L_INTERN BY ROW COL.
        LOOP AT L_INTERN.
          MOVE L_INTERN-COL TO L_INDEX.
          ASSIGN COMPONENT L_INDEX OF STRUCTURE P_TABLE TO <FS>.
          MOVE L_INTERN-VALUE TO <FS>.
          AT END OF ROW.
            APPEND P_TABLE.
            CLEAR P_TABLE.
          ENDAT.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " UPLOAD_XLSFILE
    *&      Form  SPLIT_TEXT_TABLE
          text
         -->P_IT_F64  text
    FORM SPLIT_TEXT_TABLE  TABLES   IT_F64 .
      LOOP AT IT_F64 INTO WA_F64.
        IF WA_F64+0(1) = 'H'.
          SPLIT WA_F64 AT C_HTAB INTO      WA_HEADER-INDICATOR
                                           WA_HEADER-BLDAT
                                           WA_HEADER-BLART
                                           WA_HEADER-BUKRS
                                           WA_HEADER-BUDAT
                                           WA_HEADER-WAERS.
          CLEAR FLAG.
          IF FLAG EQ SPACE.
            L_REC = L_REC + 1.
            WA_HEADER-RECNO = L_REC.
            FLAG = 'X'.
          ENDIF.
          APPEND WA_HEADER TO IT_HEADER.
          CLEAR WA_HEADER.
        ELSEIF WA_F64+0(1) = 'L'.
          SPLIT WA_F64 AT C_HTAB INTO    : WA_ITEM-INDICATOR
                                            WA_ITEM-NEWBS
                                            WA_ITEM-NEWKO
                                            WA_ITEM-WRBTR.
          IF FLAG EQ 'X'.
            WA_ITEM-RECNO = L_REC.
          ENDIF.
          APPEND WA_ITEM TO IT_ITEM.
          CLEAR WA_ITEM.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " SPLIT_TEXT_TABLE
    *&      Form  SPLIT_xls_TABLE
          text
         -->P_IT_TAB  text
    FORM SPLIT_XLS_TABLE  TABLES   IT_TAB .
      LOOP AT IT_TAB INTO WA_TAB.
        IF WA_TAB-F1 = 'H'.
          WA_HEADER-INDICATOR = WA_TAB-F1.
          WA_HEADER-BLDAT = WA_TAB-F2.
          WA_HEADER-BLART = WA_TAB-F3.
          WA_HEADER-BUKRS = WA_TAB-F4.
          WA_HEADER-BUDAT = WA_TAB-F5.
          WA_HEADER-WAERS = WA_TAB-F6.
          CLEAR FLAG.
          IF FLAG EQ SPACE.
            L_REC = L_REC + 1.
            WA_HEADER-RECNO = L_REC.
            FLAG = 'X'.
          ENDIF.
          APPEND WA_HEADER TO IT_HEADER.
          CLEAR WA_HEADER.
        ELSEIF WA_TAB-F1 = 'L'.
          WA_ITEM-INDICATOR = WA_TAB-F1.
          WA_ITEM-NEWBS = WA_TAB-F2.
          WA_ITEM-NEWKO = WA_TAB-F3.
          WA_ITEM-WRBTR = WA_TAB-F4.
          IF FLAG EQ 'X'.
            WA_ITEM-RECNO = L_REC.
          ENDIF.
          APPEND WA_ITEM TO IT_ITEM.
          CLEAR WA_ITEM.
        ENDIF.
        CLEAR WA_TAB.
      ENDLOOP.
    ENDFORM.                    " SPLIT_xls_TABLE
    *&      Form  SPLIT_CSV_TABLE
          text
         -->P_IT_F64  text
    FORM SPLIT_CSV_TABLE  TABLES   IT_F64 .
      LOOP AT IT_F64 INTO WA_F64.
        IF WA_F64+0(1) = 'H'.
          SPLIT WA_F64 AT '|' INTO      WA_HEADER-INDICATOR
                                           WA_HEADER-BLDAT
                                           WA_HEADER-BLART
                                           WA_HEADER-BUKRS
                                           WA_HEADER-BUDAT
                                           WA_HEADER-WAERS.
          CLEAR FLAG.
          IF FLAG EQ SPACE.
            L_REC = L_REC + 1.
            WA_HEADER-RECNO = L_REC.
            FLAG = 'X'.
          ENDIF.
          APPEND WA_HEADER TO IT_HEADER.
          CLEAR WA_HEADER.
        ELSEIF WA_F64+0(1) = 'L'.
          SPLIT WA_F64 AT '|' INTO    : WA_ITEM-INDICATOR
                                            WA_ITEM-NEWBS
                                            WA_ITEM-NEWKO
                                            WA_ITEM-WRBTR.
          IF FLAG EQ 'X'.
            WA_ITEM-RECNO = L_REC.
          ENDIF.
          APPEND WA_ITEM TO IT_ITEM.
          CLEAR WA_ITEM.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " SPLIT_CSV_TABLE

  • Upload new contracts via flat file

    Hello.
    When i try create a new contract in SRM via flat file, i have a problem:
    Some data is handled by number partner, but i have (for example) F04 like a purchasing group, or 1000 like location.
    Are there some function that displays the partner number  from a Group of purchase or a user id?
    Regards.

    Hi. Not sure about functions, but table HRT5500 holds the purchasing groups.
    HRP5500 links that to an org unit.
    Once you have the org unit you can get the BP from table HRP1001, OTYPE = O, OBJID = org unit, SCLAS = BP.
    Regards,
    Dave.

  • Loading the 18 digit keyfigure from Flat File

    HI Gurus,
    We are loading data using FLATFILE Interface,so our flatfile format is being generated using some TE ,so we can't change that format.
    its has some keyfigure values 17 digits prefixed with + or - signs.. but in BW i think key figure accepts only 17 digits so last digit of first keyfigure is going into next keyfigure
    i have 3 keyfigures in between that file format.
    like below
    00000000005803.6000000000003385.44+00000000000483.63
    am not able load becos first key is trying to get update updated as 00000000005803.6 and second kf as 000000000003385.and third kf as 44+00000000000483
    in this way + is coming in between so its not able to load.
    so now here briefly what i am trying to ask is ..
    is there anyway through which we can load 18 digit into  keyfigure..
    If any body faced this problem pls help me in this regard .if u found solution..
    Regards,
    BRB

    I would think you should be able to load the KF as it is as it is essentially 17 digits (sign not counted).
    One option would be to define three dummy Characteristics fields in your data source structure (of size 18 each), and receive the complete values (sign plus 17 digits) of KFs from file in these. You can then move these values in the KF using a transfer rule (ABAP) from the corresponding characteristics. A simple MOVE shall do, as the sign in not included in the digit count.
    cheers,

  • Moving of flat file from the application server after upload.

    Hi All,
    I am uploading data from a flat file placed on the application server by a BDC program.
    After the BDC has created the session i want to transfer the flat file from that folder to another folder on the application server by changing the name of the flatfile.
    Can any one suggest the best way of doing this particular scenario?
    Thanks in advance.
    Regards
    Satish Nair.

    Here is a sample program.
    report zrich_0001.
    data: d1 type localfile value '/usr/sap/TST/SYS/Data1.txt',
          d2 type localfile value '/usr/sap/TST/SYS/Data2.txt'.
    data: begin of itab occurs 0,
          rec(20) type c,
          end of itab.
    data: wa(20) type c.
    start-of-selection.
      open dataset d1 for input in text mode.
      if sy-subrc = 0.
        do.
          read dataset d1 into wa.
          if sy-subrc <> 0.
            exit.
          endif.
          itab-rec = wa.
          append itab.
        enddo.
      endif.
      close dataset d1.
      open dataset d2 for output in text mode.
      loop at itab.
        transfer itab to d2.
      endloop.
      close dataset d2.
      delete dataset d1.
    Regards,
    Rich Heilman

  • Problem in upload flat file into bw-bps using web browser

    Hi All,
    I have follwed the steps as per the how to guide to upload flat file,its seems to be fine but when try to upload by running the URL its giving error "Value of variable Data Slice Global ( ZFIE0ALL ) cannot be determined " and warning "Errors occurred when executing planning function TUPLOAD(EXIT FOR UPLOAD DATA)/T0000000(WEB UPLOAD".
    Since i am new to BW/BPS , also let me know, how test it , when i run file_upload URL directly its giving follwing error.
    SAP Note
         The following error text was processed in the system:
         An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither      handled locally, nor declared in a RAISING clause
    When i run page1 url and if i file_load url, then its prompt me to see upload function, path for flat file. But when enter path of flat file and press upload function button ts giving error "Value of variable Data Slice Global ( ZFIE0ALL ) cannot be determined " and warning "Errors occurred when executing planning function TUPLOAD(EXIT FOR UPLOAD DATA)/T0000000(WEB UPLOAD".
    FYI..i am using new design HTMLB option in how-to-doc.
    Please help me to resolve this. Thanks in advance.
    Also pls let me know can i debug this application?How ?
    Vishal
    Message was edited by:
            vishal kashyap
    Message was edited by:
            vishal kashyap

    Hi Vishal
    Can u guide me , by what condition the data is selected in XTH_data ( Hashed table ) before the data is written by flat file function module .
    Reply me ASAP ,
    Thanks
    Anup Singh

Maybe you are looking for