Parsing nested delimited text to multiple tables

I am attempting to load data from a flat text file into multiple tables, with a 1:N relationship. If possible, I would like to have a control file that is able to update both tables simultaneously and populate the foreign key correctly.
Here is how the data that I am trying to parse is formatted:
Field1<TAB>Field2<TAB>RelatedField1/RelatedField2/RelatedField3, RelatedField1/RelatedField2/RelatedField3, RelatedField1/RelatedField2/RelatedField3<CRLF>
As you can see, there are 3 nested delimitation levels. I would like the first two fields (separated by tabs) to go into the first table, followed by a foreign key that references the second table, which is populated from the data following the second tab. The comma delimiters in the data following the second tab separate individual records to be put into the second table, and the slashes delimit the fields in that table.
Here is what the two tables should look like:
Table1
Table1_PK (Generated automatically by sequence)
Field1
Field2
Table2
Table2_PK (Generated automatically by sequence)
Table1_FK (Matches Table1_PK)
RelatedField1
RelatedField2
RelatedField3
Any suggestions on this would be appreciated. Thank you!
Message was edited by:
Timothy (CIAN)
Message was edited by:
Timothy (CIAN)

Another problem is that the number of "records" listed after the second tab varies. For eample:
Field1<TAB>Field2<TAB>RelatedField1/RelatedField2/RelatedField3<CRLF>
Field1<TAB>Field2<TAB>RelatedField1/RelatedField2/RelatedField3, RelatedField1/RelatedField2/RelatedField3<CRLF>
Field1<TAB>Field2<TAB>RelatedField1/RelatedField2/RelatedField3, RelatedField1/RelatedField2/RelatedField3, RelatedField1/RelatedField2/RelatedField3<CRLF>

Similar Messages

  • HELP! How to insert long delimited text into a table

    Friends,
    I have an Oracle table with a long field containing comma delimited text.
    Table Def:
    QUOTE_LINES
    (quote_no VARCHAR2(20),
    quote_data LONG)
    Example data from quote_data field:
    A='750 Gallon',B='1250',C='300HP',D='Transmission',E=TRUE,F='Top Mount',G='Full Height',H='Full Height'
    Note: There are no <CR> in the data.
    I want to create a trigger on the table that loads the data into a separate table like this:
    quote_no VARCHAR2(20),
    line_type VARCHAR2(50),
    line_value VARCHAR2(30)
    Any suggestions?
    Larry

    Hello
    Really, if at all possible you should look at converting the long column to a clob. This will get rid of lots of limitations and you will be able to treat the column just like a varchar2.
    Anyway, if you cannot change from a long for the mean time, you could use the following, as long as the length of the text in your long column doesn't exceed 32k (which by all accounts is pretty large!):
    SQL> create table dt_test_long (id number, big_text long);
    Table created.
    SQL> create or replace procedure dt_test_proc(an_id in dt_test_long.id%type)
      2  IS
      3
      4     lv_LongVal      VARCHAR2(32767);
      5
      6  BEGIN
      7
      8     SELECT
      9             big_text
    10     INTO
    11             lv_LongVal
    12     FROM
    13             dt_test_long
    14     WHERE
    15             id = an_id;
    16
    17     dbms_output.put_line(lv_LongVal);
    18
    19     --do whatever you want with the value here
    20
    21  END;
    22  /
    Procedure created.
    SQL> create or replace trigger dt_test_long_trg before insert on dt_test_long
      2  for each row
      3
      4  begin
      5
      6     dt_test_proc(:NEW.id);
      7  end;
      8  /
    Trigger created.
    SQL> set serveroutput on
    SQL> insert into dt_test_long values(1, 'Some text, some more text etc....');
    Some text, some more text etc....THT
    David

  • Best way to implement oracle TEXT on multiple tables with regular updates

    Hi,
    I have the following situation:
    5 tables where we want full text search on multiple columns.
    Some of the tables have a master/detail relation. (1 to 1000, or more)
    because of the number of transactions on these tables we can't have a lag in the sync time.
    Currently I have create a dummy table just for the search with 2 columns: for the primary key to all the other tables and one for the update trigger.
    I use the user_datastore with a procedure to join all the necessary columns resulting in a clob.
    My question is regarding the update.
    Of course I can create triggers to update the dummy field in the search table, but this will give lot of updates on that table with possible locking issues.
    What would be the best approach to have this search functionality working?
    I am open for any ideas!
    Thanks,
    Edward

    Ok, I will focus on building a solution on 12c.
    right now I have used a USER_DATASTORE with a procedure to glue all the field together in one document.
    This works fine for the search.
    I have created a dummy table on which the index is created and also has an extra field which contains the key related to all the tables.
    So, I have the following tables:
    dummy_search
    contracts
    contract_ref
    person_data
    nac_data
    and some other tables...
    the current design is:
    the index is on dummy_search.
    When we update contracts table a trigger will update dummy_search.
    same configuration for the other tables.
    Now we see locking issues when having a lot of updates on these tables as the same time.
    What is you advice for this situation?
    Thanks,
    Edward

  • Which option to use to search text in multiple table columns

    Hi, I have a case where I have 4 db tables. On the UI there is an option to search a keyword from some columns of these 4 tables.
    Table1 = summary, description are the columns user can search on
    Table2 = project_name is the column user can search on
    Table3 = need_by_date is the column user can search on
    Table4 = owner is the column user can search on
    On the UI, user can enter a keyword and check the columns they want to search on. Out of the above, they can check one column, or more, or all.
    My question is what is the best option to use oracle text search in this case.
    Option 1 = I create a procedure to select these columns and then create an index on this procedure. In this case, is there a way to specify
    which columns to search on?
    Option 2= Create 4 separate indexes on these table/columns and then query the columns which user has selected to search on.
    Any other better idea?

    Hi,
    multicolumn only works on columns in the same table.
    If you can also query just on one field, then an index per field will be preferable. If you query always on all the fields then the one index approach is good. For this last the options are:
    1. Use User_datastore, create a procedure and a dummy column
    2. Create a materialized view for the query and build an index on this materialized view
    3. Store the fields as an xml in the main table and index the xml column.
    The maintanance of options 1 and 3 are bigger, because you need triggers to be aware of an update. Option 2 and 3 will need more storage.
    Herald ten Dam
    http://htendam.wordpress.com

  • SQL help - Parse Hyphen delimited text from UDF

    Dear Experts,
    I am experiencing a challenge that I hope you can help me with.
    I have a requirement to create several separate UDF's to be populated with information from another UDF.
    It uses a hyphen delimited string and I need to parse the different positions within the string.
    Here is an example
    UDF containing string
    123-456-789-abc
    needs to be queried to populate four UDFs separately.
    UDF1 = 123
    UDF2 = 456
    UDF3 = 789
    UDF4 = abc
    There is no set number of characters in each segment as they are not based on a set criteria.
    I have found ways to do this in SQL when not using the query generator however, I am given an 'Invalid Cursor' error whenever I attempt to use the code in B1 query generator
    Thanks in advance and kind regards,
    Lucas

    Gordon,
    This is the base statement I am trying to customize and build off of.
    My assumption, is that if I can get this piece working in B1, I can modify with SAP object references and return the correct data for each UDF.
    However, I may be going about this the wrong way, and I am definitely open to suggestions.
    Thanks for any help,
    Lucas
    declare @string varchar(500)
    set @string = 'ABC-DEF-GHIJK-LMNOPQRS-T-UV'
    declare @pos int
    declare @piece varchar(500)
    if right(rtrim(@string),1) <> '-'
    set @string = @string  + '-'
    set @pos =  patindex('%-%' , @string)
    while @pos <> 0
    begin
    set @piece = left(@string, @pos - 1)
    print cast(@piece as varchar(500))
    set @string = stuff(@string, 1, @pos, '')
    set @pos =  patindex('%-%' , @string)
    end

  • Is there a way to import/export tab delimited files to a table in Pages 2?

    It seems like Pages is starting to get funtionality that might help wean me off of Excel. In this vein, is it possible to import or export tab delimited files to a table in Pages 2?

    I had some success in Pages 1, but I've only tried a couple of times so far in Pages 2 without success. The trick was to make sure the table is the exact number of columns wide. It's very "klunky" but I've ended up converting the tab-delimited text to a table in AppleWorks, saving the AppleWorks file with the table as a "floating" object (fixed objects don't translate) & opening the file in Pages. It's quicker & easier for most of what I do to just drag & drop in Pages.
    Peggy

  • Search a text in a multiple tables and one table has BLOB column

    Hi,
    I couldn't find a solution/examples for below scenario in oracle text documentation or related forums.
    I need to search a text in a multiple tables,in that one table has blob column which is used to store the documnents(pdf,doc,jpg..etc) and other tables have varchar2 columns,These tables have realation each other.
    Please provide a sample examples for above scenario.
    Thanks in advance..

    Have a look at my blog entry here:
    https://blogs.oracle.com/searchtech/entry/indexing_data_from_multiple_tables
    That describes two methods of achieving what you are looking for.

  • Export Excel Table in .txt File with space delimited text in UNICODE Format

    Hi all
    I've a big unsolved problem: I would like to convert an Excel table with some laboratory data in it (descriptions as text, numbers, variables with some GREEK LETTERS, ...). The output should be a formatted text with a clear structure. A very good solution is
    given by the converter in Excel "Save As" .prn File. All works fine, the formattation is perfect (it does not matter if some parts are cutted because are too long), but unfortunately the greek letters are converted into "?"!!!
    I've tried to convert my .xlsx File in .txt File with formatting Unicode and the greek letters are still there! But in this case the format is not good, the structure of a table is gone!
    Do you know how to save an Excel file in .prn but with Unicode formatting instead of ANSI or a .txt with space delimited text?
    Thanks a lot to everyone that can help me!
    M.L.C.

    This solution works in Excel/Access 2013.
    Link the Excel table into Access.
    In Access, right-click the linked table in the Navigation Pane, point your mouse cursor to "Export", and then choose "Text File" in the sub-menu.
    Name the file, and then under "Specify export options", check "Export data with formatting and layout".  Click "OK".
    Choose either Unicode or Unicode (UTF-8) encoding.  Click "OK".
    Click "Close" to complete the export operation.

  • XML Column from table extract to Pipe Delimited Text File

    Hi,
    I have an XML column with large data in a Table ( Source SQL server Database).
    I was asked to   extract    XML column to .txt file using SSIS.
    Is it possible to extract xml column with huge data to text file ?
    when I tried,  select XML column from Table in source , I noticed  that Property of column is taken as [DT_NTEXT] . I Converted it to DT_TEXT as Ansi donot support DT_NTEXT.
    Execution method was success but it failed due to trucation. so wondering is there a way to get XML column extracted to Pipe delimited text file?
    Is it advisable to do this ? or IS It Valid to export XML in Pipe Delimited File ?
    Please Kindly advice
    thanks
    kodi

    Are you looking at shredding data within XML nodes and then importing it to text file or are you looking at exporting XML value as is? Also is SSIS a necessity?
    If not, You can simply use T-SQL for this along with bcp for this. just use a query like
    EXEC xp_cmdshell 'bcp "SELECT CAST(XMLColumn AS varchar(max)) AS Column FROM table" queryout <full file path> -c -S <ServerName> -T -t |'
    provided you use trusted connection (windows authentication)
    see
    http://visakhm.blogspot.in/2013/10/bcp-out-custom-format-data-to-flat-file.html
    If you want to shred the data use Xpath functions in the query as below
    http://visakhm.blogspot.in/2012/10/shred-data-as-well-as-metadata-from-xml.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • FM to upload TAB DELIMITED TEXT file into Internal table.

    Hello Friends,
    The FM 'ALSM_EXCEL_TO_INTERNAL_TABLE' is used to upload EXCEL file into a Internal table.
    Is there any FM which performs the simillar operation on TAB DELIMITED TEXT FILE.
    Thanks in advance!
    Ashish

    Hi,
    To upload text file with tab delimated you can use FM
    GUI_OPLOAD.
    In this function you have put X in the field HAS_FIELD_SEPARATOR.
    Regards,
    Sujit

  • Please recommend a  tool or framework that parsing delimited text to XML

    Working on a project that need me read data from delimited text file, the data will be converted to a tree-structure. So it's better parse the data into XML format first.
    Besides j2se or jdom, any fast tool for it?
    Thank you

    alex888 wrote:
    Working on a project that need me read data from delimited text file, the data will be converted to a tree-structure. So it's better parse the data into XML format first.What??? Why? You've got a text file and need an object tree, why do you think going to XML in between is a good idea?
    Besides j2se or jdom, any fast tool for it?What do you mean with "j2se", that's not a XML handling tool (it contains several, 'though).
    SAX sounds good for building object trees from XML, but there are several XML mapping libraries out there (try google).

  • Multiplication Table with Two Nested For Loops

    I am trying to code a multiplication table in which the user enters the number of rows between 2 and 10 and enters the number of columns from 2 to 10. This must be in nested for loop format somewhat like this:
    rows has been assigned the input variable for rows and columns is the name for input value for columns
    for (int i = 1; i <=rows; i++)
    for (int j = 1; j <=columns; j++)
    i * j
    i can't figure out how to get it to print out in table format or if the calculation coding is correct. can anyone help me please?
    it should look like this for rows is 4 and columns is 7
    1 2 3 4 5 6 7
    2 4 6 8 10 12 14
    3 6 9 12 15 18 21
    4 8 12 16 20 24 28
    Edited by: hatecodingsomuch on Feb 22, 2009 8:15 PM

    hatecodingsomuch wrote:
    I refuse to ask for help from people who are acting like they are all-knowing and unwilling to help someone, considering I am asking for help...to learn. Obviously I am not understanding java very well and I don't need to be ridiculed like this from members who are supposed to help "NEW TO JAVA" individuals. Get off your high horse or get off the website. I will never use this again.Good luck with that.
    You do seem to be yet another "do my homework for me" type of flunkie. I predict you'll soon have an epiphany that software development really isn't for you.
    I hope you know how to say "Do you want fries with that, sir?" better than the next guy so you can edge him out.

  • Create a text index on multiple tables

    I have read the same forum questions a thousand times about doing this and the only thing they show examples of is using multiple columns in one table.
    Here is what I have:
    create table documents_a
    (id number,
    text blob);
    create table documents_b
    (id number,
    text blob);
    create table documents_c
    (id number,
    text blob);
    I want to be able to do a text search over all three tables on the blob column. I can't use the multi_column_datastore because from what I read this can only be used with one table.
    I eventually want to be able to bring up a snippet of the text that contains the keywords and a link to the actual document.
    How do I build a text index that includes each blob column from each of the three tables?

    OK so I created the materialized view
    create materialized view alltabs as
    select a.id, a.text, b.id, b.text, c.id, c.text
    from tablea a, tableb b, tablec c;
    and I created the following
    ctx_ddl.create_preference(my_multi', "MULTI_COLUMN_DATASTORE');
    ctx_ddl.set_attribute('my_multi','columns','a_document, b_document, c_document');
    Then I attempted but I am not sure what column name to put in the pararens?
    create index multi_tab on alltabs(????)
    indextype is ctxsys.context
    parameters('datastore my_multi sync(on commit)');
    I saw a dummy column created in most of the internet examples but just exactly what gets created here? I want to create a multi column index so didn't I already tell it which columns up above?

  • "Failed to open the connection" problem related to multiple tables in the report?

    Post Author: Gadow
    CA Forum: Data Connectivity and SQL
    System specifics:
    Web environment using ASP.Net 2.0 (from Visual Studio 2005 Professional)
    Crystal Reports 2008, v. 12.0.0.549, Full
    We have set up the following method for displaying reports via our website:
    User is sent to a report-specific page. The user is given some filtering options specific to the report that will be viewed. When the user has specified the data filters, the user clicks a button.
    The page wraps up the report parameters -- selection query, formula values, report location, the name to be displayed, etc. -- into a class which gets put into the Session object.
    The page redirects to DisplayReport.aspx. ALL reports redirect to this page.
    DisplayReport.aspx retrieves the report parameters from Session. A ReportDocument object is created and loaded, then set with the data from the parameters class.
    A ConnectionInfo object is created and set with the relevant log on credentials. All of the reports draw from the same database, so the connection information is hard-coded as the same for all reports. The page then iterates through all of the tables in the Database.Tables collection of the ReportDocument and calls ApplyLogOnInfo to each table using the ConnectionInfo object.
    The page is rendered and the user gets the filtered report.
    We currently have seven reports. Five reports work fine and display the correctly filtered data with no error messages. Two reports generate a Failed to open the connection error and do not display. I have verified that the queries being sent to DisplayReport.aspx are valid, and as I said the connection information itself is hard-coded in the one page that displays the reports and this is identical to all reports.
    The five reports that do work all have a single data table, either an actual database table or a single view. The two reports that do not work all have multiple tables. As far as I can tell, this is the only difference between the sets; all seven reports are based on the same DSN and I have verified the database on all of the reports. All of the reports were written using Crystal Reports 8, and all of the reports display fine in a Windows app I wrote some years ago using Crystal Reports 8. Again, the only difference between those reports that do work and those that do not is the number of tables used in the report: one table or view in the reports that display, more than one table (tables only, none use views) in the reports that do not display.
    As for the code I am using, below are the relevant methods. The function MakeConnectionInfo simply parses out the components of a standard SQL connection string into a ConnectionInfo object. DisplayedReport is the ID of the CrystalReportViewer on the page.Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs)
            Dim o As Object = Session("ReportParams")
            Dim ReportURL As String = ""
            'Verify that there is a ReportParameters object
            If o Is Nothing OrElse o.GetType IsNot GetType(ReportParameters) Then 'Redirect to the error page
                Response.Redirect("/errors/MissingReport.aspx")
            End If
            ReportParams = CType(o, ReportParameters)
            'Verify that the report exists
            ReportURL = "/Reports/ReportFiles/" + ReportParams.ReportName
            ReportPath = Server.MapPath(ReportURL)
            If Not File.Exists(ReportPath) Then
                Response.Redirect("/errors/MissingReport.aspx?Report=" + ReportParams.ReportTitle)
            End If
            InitializeReport()       
        End Sub
        Protected Sub InitializeReport()
            Dim RD As New ReportDocument
            Dim CI As ConnectionInfo = MakeConnectionInfo(DB_Bonus)
            Dim RPF As CrystalDecisions.Shared.ParameterField = Nothing
            RD.Load(ReportPath)
            If ReportParams.SelectString <> "" Then
                Dim Adapt As New SqlDataAdapter(ReportParams.SelectString, DB_Bonus)
                Dim DS As New Data.DataSet
                Adapt.Fill(DS)
                RD.SetDataSource(DS.Tables(0))
            End If
            For Each kvp As KeyValuePair(Of String, String) In ReportParams.Formulas
                Dim FFD As FormulaFieldDefinition = Nothing
                Try
                    FFD = RD.DataDefinition.FormulaFields(kvp.Key)
                Catch ex As Exception
                    'Do nothing
                End Try
                If FFD IsNot Nothing Then
                    Select Case FFD.ValueType
                        Case FieldValueType.DateField, FieldValueType.DateTimeField
                            If IsDate(kvp.Value) Then
                                FFD.Text = String.Format("Date()", Convert.ToDateTime(kvp.Value).ToString("yyyy, MM, dd"))
                            Else
                                FFD.Text = "Date(1960, 01, 01)"
                            End If
                        Case FieldValueType.StringField
                            FFD.Text = String.Format("""""", kvp.Value)
                        Case Else
                            'For now, treat these as if they were strings. If things blow up here,
                            'we will need to add the appropriate formatting for the field type.
                            FFD.Text = String.Format("""""", kvp.Value)
                    End Select
                End If
            Next
            For Each T As CrystalDecisions.CrystalReports.Engine.Table In RD.Database.Tables
                Dim TLI As TableLogOnInfo = T.LogOnInfo
                TLI.ConnectionInfo = CI
                T.ApplyLogOnInfo(TLI)
            Next
            DisplayedReport.ReportSource = RD
        End Sub
    Does this approach not work with reports containing multiple tables, or is there something I'm missing? Any meaningful suggestions would be much appreciated.

    Dear Dixit,
    Please refer to the Crystal report landing page to get the details
    information about the support for crystal report issues.
    Please use the following thread to post your questions related to
    crystal report.
    SAP Business One and Crystal Reports
    Regards,
    Rakesh Pati
    SAP Business One Forum Team.

  • Reading Multiple Tables with VB

    I'm attempting to retrieve records from multiple tables base on info returned from the previous call.
    This code fails on the second call to " IF RFC_Read_TableTJ.Call = True"
    also if I comment out "IF RFC_Read_TableTJ.Call = True" is creates the next text file with records from the previous table"
    Why is this happening and how do I change tables?
    thanks!
      Dim RFC_ReadTableTJ, TblFields, TblData, TblOptions As Object
       Dim I, J, K, IntCol As Integer
       Dim IntRow, LastRow As Long
       Dim StopTJ As Boolean
       Dim StrTemp, OutLine, OutLine2, TempChar, DelimitFromXL As String
       Dim strExport1, strExport2 As Object
       Dim ObjFileSystemObject As Object
       Dim MATNO(1 To 10) As String
    '   Dim R3 As SAPFunctions
    'Create Server object and Setup the connection
       Set R3 = CreateObject("SAP.Functions")
       R3.Connection.ApplicationServer = SAPServerIP
       R3.Connection.SystemNumber = SAPSystemNo
       R3.Connection.System = SAPSystem
       R3.Connection.client = SAPClient
       R3.Connection.language = SAPLang
       If R3.Connection.Logon(0, False) <> True Then
          Exit Sub
       End If
       Set ObjFileSystemObject = CreateObject("Scripting.FileSystemObject")
       Set TblFields = Nothing
       Set TblData = Nothing
       Set TblOptions = Nothing
    'Call RFC function RFC_READ_TABLE
       Set RFC_Read_TableTJ = R3.Add("RFC_READ_TABLE")
       Set strExport1 = RFC_Read_TableTJ.Exports("QUERY_TABLE")
       Set strExport2 = RFC_Read_TableTJ.Exports("DELIMITER")
       Set TblOptions = RFC_Read_TableTJ.Tables("OPTIONS")
       Set TblData = RFC_Read_TableTJ.Tables("DATA")
       Set TblFields = RFC_Read_TableTJ.Tables("FIELDS")
    'MATERIAL DESCRIPTION***********************************************
    'LOOK UP MATERIAL DESC TO GET MATERIAL NO
       strExport1.Value = "MAKT"
       DelimitFromXL = ","
       strExport2.Value = Chr(165)
    'Criteria
        TblOptions.AppendRow
        TblOptions(1, "TEXT") = "MAKTX LIKE '%A19118N1A%'"
    'Fields to retrieve
        TblFields.AppendRow
        TblFields(1, "FIELDNAME") = "MANDT" 'Client
        TblFields.AppendRow
        TblFields(2, "FIELDNAME") = "MATNR" 'Material Number
        TblFields.AppendRow
        TblFields(3, "FIELDNAME") = "SPRAS" 'Language Key
        TblFields.AppendRow
        TblFields(4, "FIELDNAME") = "MAKTX" 'Material Description
        TblFields.AppendRow
        TblFields(5, "FIELDNAME") = "MAKTG" 'Material description in upper case for matchcodes
    'Call RFC and write output
        If RFC_Read_TableTJ.Call = True Then
            If TblData.RowCount > 0 Then
                'Write output to file
                'MANDT , MATNR, SPRAS, MAKTX, MAKTG
                Set OutFile = ObjFileSystemObject.CreateTextFile("c:\MAKT.txt", True)
                OutFile.WriteLine "MANDT , MATNR, SPRAS, MAKTX, MAKTG" 'Header
                For IntRow = 1 To TblData.RowCount
                    'Replace all instances of the delimeter that occur in the data with a ";"
                    OutLine = ""
                    For K = 1 To Len(TblData(IntRow, "WA"))
                        If Mid(TblData(IntRow, "WA"), K, 1) = DelimitFromXL Then
                            TempChar = ";"
                        Else
                            TempChar = Mid(TblData(IntRow, "WA"), K, 1)
                        End If
                        OutLine = OutLine & TempChar
                    Next K
                        'Put in delimeter
                    OutLine2 = ""
                    For K = 1 To Len(OutLine)
                        If Mid(OutLine, K, 1) = Chr(165) Then
                            TempChar = DelimitFromXL
                        Else
                            TempChar = Mid(OutLine, K, 1)
                        End If
                        OutLine2 = OutLine2 & TempChar
                    Next K
                    'Write to file
                    OutFile.WriteLine OutLine2
                Next
                'MsgBox "Completed Successfully"
            Else
                'MsgBox "No records returned"
            End If
        Else
        '    MsgBox "Error calling SAP RFC_READ_TABLE"
        End If
    ''MAST Material to BOM Link*****************************************

    hi John
    you can create a join of those multiple tables in an internal table
    and then u can view that on this single internal table....
    like:-
    example
    SELECT c~carrname
                  p~connid
                  f~fldate
    INTO CORRESPONDING FIELDS OF TABLE itab
        FROM ( ( scarr AS c INNER JOIN spfli AS p
                      ON pcarrid   = ccarrid
                      AND p~cityfrom = p_cityfr
                      AND p~cityto   = p_cityto )
             INNER JOIN sflight AS f ON fcarrid = pcarrid
                                    AND fconnid = pconnid ).
    LOOP AT itab INTO wa.
      WRITE: / wa-fldate, wa-carrname, wa-connid.
    ENDLOOP.

Maybe you are looking for

  • Can't access some sites after doing all suggestions using FF 15 and XP SP3..What to do?

    Shut off anti-virus software, including firewall. Tried all settings of proxy selections; cleared cache, etc...all things advised on this site and elsewhere. Reset Firefox. Quit Firefox and tried IE. Nadda. Been trying to access some sites and fix th

  • Ipad3 camera app not working - simple question

    Hello, I would like to take pictures with my ipad3. I installed "camera awesome". Has anyone been able to get this to work with their ipad3? It doesn't show a picture when I try to use it. When I hit the camera icon within the app, it closes the app.

  • Code erreur -36 lors de la copie de fichiers

    Je viens d'acquérir un MacBook Air sous OS X Lion. J'ai également 2 DD externes avec l'ensemble de mes sauvegardes. Je souhaite donc maintenant les utiliser avec mon nouveau MBA mais également avec Windows pour échanger des photos par exemple avec me

  • During restore iPod stuck on RESTORING IPOD FIRMWARE

    As stated by me above, during restore iPod got stuck on RESTORING IPOD FIRMWARE. Last time tried different computer, it did work. Next, with different firmware file (when the-other-computer-trick stopped working) like 2.0.2 and then upgrading it - wo

  • CS6 not seeing entire font list

    The machine is an older mac running OSX 10.6.8. Both Illustrator CS5 and CS6 are installed (have been for years). This morning, CS6 sees only the top half of the font list. Everything below is blank. It scrolls as if other entries are there, but the