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.

Similar Messages

  • Load of hierarchies from R/3 via flat file: how to generate the flat file?

    Hello,
    I need to build a custom extractor for a hierarchy. The hierarchy exists in R/3, but there's no standard datasource to extract it. I know I can upload it via flat file, but I have a question related to this.
    Does anyone know if there's a program (standard or custom by SAP) or function module in R/3 which allows me to generate that flat file, with the required format by BW?
    I would appreciate very much any help about this topic
    Thanks in advance

    In CO-PA there is a way to generate Hierarchy Extractors (see Note 422175 for more details). With a Custom Program you generate a specific DataSource.
    Hope it helps
    GFV

  • Load of hierarchies from R/3 via flat file: how to generate that flat file?

    Hello,
    I need to build a custom extractor for a hierarchy. The hierarchy exists in R/3, but there's no standard datasource to extract it. I know I can upload it via flat file, but I have a question related to this.
    Does anyone know if there's a program (standard or custom by SAP) or function module in R/3 which allows me to generate that flat file, with the required format by BW?
    I would appreciate very much any help about this topic
    Thanks in advance
    Patricia

    Hi Patricia,
    if there is, I'd love to get hold of it.
    I have only ever managed this by extracting the relevant data into Excel and then doing a long series of VLOOKUPS to establish parent and child ids.
    I have a sample spreadsheet I can send you if you like.
    Regards,
    Mike

  • 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

  • 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.

  • 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

  • Upload new Contracts in SRM4.0

    Hi ,
    Can you let me know the syntax in the excel file to upload data to create new contract in SRM 4.0?
    Regards,
    G

    Hi Gourang,
    you can upload (Tab Delimited) [Excel file] having contract data using GUI_UPLOAD function with following parameters.
    *-- Convert filename to a string
      w_filename = p_file.
    *-- Upload data from file to an internal table
    *-- File must be saved as TXT [Comma Delimited]
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = w_filename
          has_field_separator = 'X'
          dat_mode            = 'X'
        TABLES
          data_tab            = t_input_data
        EXCEPTIONS
          file_open_error     = 1
          file_read_error     = 2
          invalid_type        = 5
          OTHERS              = 17.
    file browsing option can be provide on selection-screen using following FM call.
    DATA: wl_filediag_fil1(200)    VALUE 'C:\test.csv',    "Infile name
            wl_filediag_path_1(200)  VALUE 'C:\',
            wl_filediag_mask_1(200)  VALUE ',.,..',
            wl_filediag_title_1(40)  VALUE 'File to upload'.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_filename     = wl_filediag_fil1
          def_path         = wl_filediag_path_1
          mask             = wl_filediag_mask_1
          title            = wl_filediag_title_1
        IMPORTING
          filename         = p_file
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
    Once data will be there in ITAB- t_input_data you can go for following FM calls,
    *--Reset Buffer Tables
        CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
    *-- Creat Contracts using FM
        CALL FUNCTION 'BBP_PD_CTR_CREATE'
          EXPORTING
            i_header   = wa_header
          IMPORTING
            e_header   = wa_ret_hdr
          TABLES
            i_item     = t_item
            i_partner  = t_partner
            i_longtext = t_longtext
            i_orgdata  = t_orgdata
            e_messages = t_messages.
    *--Set 'Contract Status' --. 'Released' [I1141]
          CALL FUNCTION 'BBP_PROCDOC_STATUS_CHANGE'
            EXPORTING
              i_guid        = wa_ret_hdr-guid    "--> Cntr-Header-GUID
              i_activity    = c_release_contract "--> 'CTRE'
              i_object_type = c_contract         "--> 'BUS2000113'
            TABLES
              e_messages    = t_m_status         "Message Log
            CHANGING
              e_changed     = w_changing.        "Flag
    *--Reset Buffer Tables
        CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
    *--Commit work
        COMMIT WORK AND WAIT.
    IMPORTANT -
    Reseting of BUFFER tables before and after making call to FM - BBP_PD_CTR_CREATE is mandatory to avoid any discrepancy during CONTRACT Creation.
    Reward points if needful.
    Regards,
    Rakesh B Bhagat.
    [Infosys Technologis Ltd., India]
    Email : [email protected]

  • 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

  • Loading factory calendar via flat file

    Hi,
    I need to create a new non standard factory calendar to help us to schedule loading to our SAP BW system. I need to know if there is any standard programm that load special rules for a calendar or I can´t help creating the entries manually.
    Is there anybody who can help me with this topic?
    Thanks in advance.
    Jorge Porca

    I think you can only use transaction SCAL (if you don't want to use the upload settings from source system function)...
    Here you can define a factory calendar including the relevant public holiday calendar:
    1. Double-click with the mouse on "Execute function", select the option Public holiday calendar and choose the functionDisplay.
    2. In calendar maintenance, select the option "Factory calendar", and choose the function Change.
    3. Choose the function Insert and make the following entries:
    Factory calendar ID and a descriptive short text
    Period of validity (From year, To year)
    Public holiday calendar ID
    Start no. factory date
    Number from which the factory date is incremented for each workday.
    If you do not make an entry, the default value is "0".
    4. Decide which days of the week are meant to be workdays.
    5. Define special rules if necessary (e.g. plant holidays).
    I don't think that a std pgm exists to upload all these info from a flat file...
    Hope it helps!
    Bye,
    Roberto

  • 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

  • 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.

  • 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

  • Delta updates via Flat Files

    Hello Guys,
    We need to define the structure of the flat files we'll receive from our ETL team to specify how we'll manage the updates of the records we already loaded into BW.
    We'll load those flat files through PSA then into an ODS that will feed an InfoCube. The records can contain new or modified characteristics and/or key figures.
    I read a lot of documentation about deltas but I didn't find a clear answer regarding this subject for flat files:
    Do we need to specify, for every single record in the flat files, if a record is either a new one, a modified one or a deleted one, or can the ODS figure that out by itself? I guess it can't (at least for the deletion part) so do we have to add an additional field to flag what type of modification (new, modif or delete) a record belongs to?
    If we do have to add that information, can I just use ' ' for a new record, 'N' for a modified record and 'D' for a deleted record?
    Thank you in advance (and don't worry, I'll reward you).
    best regards,
    SF

    Hi Sebastien.
    The answer really depends on what you types of records you are working with.  If your record has a well-defined key (like a document number) and your ETL team gives you after-images of the changed records, you can set your ODS Object up with the same key and use Update Rules set to Overwrite.  Then, the ODS Object change log will automatically provide delta-compatible updates to the InfoCubes.
    hope that helps.
    ADam

  • 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

  • Disable user via flat file resource

    Hi,
    is it possible to disable a user in Sun Identity Manager using a flat file resource? I have tried using a db table resource without success.
    what do I have to do to have this functionality?
    thanks in advance

    I am not sure if understood your question properly;however my thoughts here
    If you need the approval process -workflow then use IP to load flat files and STS (status and tracking system) as workflow concept(manager approving the data).
    For monitoring you can install BI Admin Cockpit .
    All of the aforementioned process can be achived via WEB.
    BI - Admin Cockpit
    Activation of Statistics cube for performance
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/15c54048035a39e10000000a422035/frameset.htm
    Maintenance of Statistic Properties
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/e37f8a6df402d3e10000000a1553f7/content.htm
    Note 934848 - Collective note: (FAQ) BI Administration Cockpit
    Note 980569 - Role for BI Administration Cockpit
    Hope it Helps
    Chetan
    @CP..

Maybe you are looking for

  • ORA-01008 with ref cursor and dynamic sql

    When I run the follwing procedure: variable x refcursor set autoprint on begin   Crosstab.pivot(p_max_cols => 4,    p_query => 'select job, count(*) cnt, deptno, row_number() over (partition by job order by deptno) rn from scott.emp group by job, dep

  • Enterprise Organization in Profit Center Accounting

    We need to make many changes to our Cost Center & Profit Center Standard Hierarchies.  I found the Enterprise Organization in PCA and was wondering if we could use it as a means to copy to alternate hierarchies.  I can't find any documentation on the

  • Setting defaults for link tool?

    Hi, I'm creating a mega-multimedia pdf with lots of little pdfs attached to it. The customer wants each link in the megaPDF to open a mini-pdf in its own window, and each one should be set to open in "fit to page" zoom mode. When I use the link tool,

  • JMS and JTA

    We are getting two seperate transactions made , one JDBC (DB transaction , managed by WL container) and one JMS (Mq transaction). They are independent of each other. So if we send a message on a queue, an MQ transaction is started and ended and mesag

  • Will iPhone 4 get iOS 6.1.1

    will iPhone 4 get ios 6.1.1...... and my maps are not wrking with ios 6 they are not showing me any path