Import structure query

hi gurus,
In a se37 function builder i have a structure in the import paramter
ie i am getting list of client in the import
how i can write the query to get the details of the list of client
it says the error as
"it" must be a flat structure. You cannot use internal
tables, strings, references, or structures as components. -
senthil.

u have to write the select condition as per mentioned in my last post
second option can be tht u can have a loop at the internal table having clients and inside loop u can fetch the client details one by one like -
loop at itab.
select single * from KNA1 into corresponding fields of itab1 where Mandt = itab-mandt.
endloop.
second option will degrade ur performance so use the first one only.
amit

Similar Messages

  • Getting error while import the query in quality server

    Hi all,
    I am transporting the user group, infoset and  query from development system to quality system and i am able to export it successfully but at the time of import from quality system i am getting the error .
    please find the attached description of error-
    Query z_it0023 of user group HR_CPC (Import option replace)
    compare query z_it0023/ HR_CPC <-> Infoset ZHR_REPORT : Field p0002-ZMIDNM is missing
    Import fro query Z_IT0023 / HR_CPC cancelled RC = 08.
    I am not getting why this error is occur as field P0002-ZMIDNM is alreday present in the infotype and in infoset both.
    Please some one help me out , it would be great help for me.
    thanks,
    Khush

    Hi Khush,
    You need to check whether the field 'p0002-ZMIDNM' is part of an append structure or include structure. If yes then ensure that the main request for the append/include structure for table P0002 is transported first. If the same has been saved as a local request, then, convert the developments to a request and assign a package to it. Transport the changes to table P0002 and then this request.
    Regards,
    Pranav.

  • Using bind in CATSEARCH structured query

    We used to bind the whole query string inside CATSEARCH, like this:
    AND CATSEARCH(a.title, 'test', :s_query) &gt; 0
    and bind s_query to 'id = 1234', and so on.
    However, it looks like the statement cache does not like this kind of query, and will cache a statement for every variations of s_query. It turns out we have hit the performance bottleneck for this SQL.
    Is there a way to bind a parameter inside the structured query in CATSEARCH, like 'id = :my_id', so that only 1 instance of the SQL is cached? Or any other suggestions?
    Thanks in advance,
    Jason

    There is no way to pass partial bind variables as the
    structured part of catsearch.
    Using a bind variable for the entire structured part
    should cache only one of the sql. You're probably seeing
    the internal queries that the ctxcat index does on its $I
    table. Right now there's no way to get around that, except
    of course turning on cursor sharing.

  • Export & import of query (SQ01/SQ02/SQ03)

    Hi,
    How to export/import SAP Query (SQ01/SQ02/SQ03) without any transport request.
    waiting for ur reply.
    Thanks in Advance,
    Pranab

    Hi,
    If you dont want to create any transport request number then you need to download/upload the query instead of import/export.
    Please follow the below steps for downloading/uploading the query
    (Go to the system from where you wnat to export the query)
    1. Goto transaction SQ02.
    2. Click on ' Transports' icon (CTRL+F3).
    3. In 'Transport action' select 'Download'.
    4. Select 4th radio button 'Transport Queris'.
    5. Enter the name your user group and query and click on execute.
    6. Give the file name and location where you want to save the query backup and click on save.
    (Now goto the system where you want to import your query)
    1. Goto SQ02 and click on 'Transports' .
    2.  In 'Transport action' select 'Upload' and click on execute.
    3. Enter/select the name of the file which you have downloaded before and click open.
    Please let me know if this is helpful.
    Regards,
    Priya Bhat

  • "Error #2032" while trying to import BEx query through SAP Netweaver BW connection in Dasboard

    Hi Team,
    BO server version: 4.1 SP3 Edge edition
    Dasboard Version: 4.1 SP3
    BI Version: NW 7.4 SP7 (ABAP only)
    We are getting Error #2032 while trying to import BEx query through SAP
    Netweaver BW connection in dasboard Xcelsius.
    Please suggest to sovle this error.
    Regards,
    Vinay Shrimali

    There are several notes about this error - please see http://service.sap.com/sap/support/notes/1856691
    http://service.sap.com/sap/support/notes/1801130

  • Empty Import Structure in RFC

    Hi,
    I have created a RFC Adapter for receiving XML files. After some problems about the starting of the function module that are already solved now I have another request.
    My FM is running ok but I've a problem with the imported structure. ½
    Hà„:P/ԃæBsÐ"6ÏO›Ÿ   )„?
    BòXJ3@ /Ô å2u“LÇMR±çþ!M¿95gdj¦ Q?ó±îTP„9ÔÁyÓ;LY…¯gexA
    H`…ZPr½€†! Ä2q NN9ñÔGS€÷r›º÷ü¾SÑ(.K ?¿ PK  /¾Èqá   ¯   PK          E‡ÿ6/¾Èqá   ¯                     instance.xmlPK          :        
    Could you help me with that??
    Thanks!
    Regards
    Jorge

    Jorge,
    You cannot use RFC adapter to receive XML File.
    You should use File adapter to receive XML File data. If you mean to say File Adapter, then check your encoding parameters specified in adapter.
    Nilesh

  • Mathematical Theory of Structured Query Language?

    Hi, gurus.
    I'm very interested in the mathematical theory of structured query language.
    Could anyone recommend me some books or sites on the mathematical theory of structured query language?
    Thx, in advance.

    Simply google "relational algebra".
    Regards...

  • Can we import Bex query, SPO, MP, INFOSET, OHD to HANA studio

    Hi all,
    Can we import Bex query, SPO, MP, Infoset, OHD to hana studio ?.
    If yes then how ?.
    Note: We are already on BW on HANA, SP6 pack.
    Please can any one provide some light on it.
    Regards
    Pavnete Rana

    Can we import Composite provider, Hybrid provider, Virtual Porvider, Advance DSO, Transient Provider to HANA Studio?

  • Wildcard_maxterms ignores structured query in CATSEARCH

    If I search on basic wildcard, like ra*, I am getting the DRG-51030 error even for searches where the structured query would limit the return to a handful of rows.
    is this by design, or is this a bug? I understand I can increase the wildcard_maxterms parameter but I want to make sure I got it right before I do that

    The query expands to include the number of matching terms in your ctxcat index, regardless of other filter conditions, so you need to increase the wildcard_maxterms parameter or use something more specific than ra*.

  • Importing a query from BW to BO Universe

    Hi all,
    I have few questions about Universe designer.
    1) If i have about 40 queries, that are performing good, and created in Bex query designer.
    If i have to migrate this queries to BO, what should be the best way.
    A) To Import the whole cube in to universe b) to Import just the queries to Universe.
    2) When i import a query to the Universe, it is bringing all query elements, except The fiscal year,.
    In the above case do i have manually modify the universe, if yes how would i map the newly created values to fiscal year on BW side.

    Hi,
    Please have a look on the following documents that can help on your requirements:
    [https://portal.wdf.sap.corp/irj/portal?avigationtarget=navurl://eaeb8478be0da5e948e0e9f319c9c499&NavigationContext=navurl://7f6f53bebf57a991a023fca93dc3f9cd]
    [https://portal.wdf.sap.corp/irj/go/km/docs/room_project2/cm_stores/documents/workspaces/e0722765-2c0f-2b10-7eb0-f40944b3d00b/businessobjects%20xi%203.0%20-%20olap%20universes%20enhancements]
    [https://portal.wdf.sap.corp/irj/go/km/docs/room_project2/cm_stores/documents/workspaces/e0722765-2c0f-2b10-7eb0-f40944b3d00b/olap%20universes%3a%20how%20to%2c%20samples%20and%20recommendations.doc]
    Regards,
    Didier

  • Error While importing SAP query into quality system

    Hi,
    When Itried to import the dataset(Transport Request)  generated in develoment system into Quality system I am getting the following error.
    Query already exists and Infoset contains a structures which is not there in data dictionary .
    How to oversome this error to import successfully into quality system
    thanks

    hi,
    You need to transport your Z tables to the quality.
    Make sure you transport all the data elements , domain.. etc to the quality.
    Thats why its giving you the error.
    It does not find the Z tables in Quality
    Regards,
    Vinod

  • Images Imported - iPhoto Query

    Hey, i have finally finished importing and organizing my images from iPhoto to Aperture (using managed images) so all my images are in my Aperture Library. My iPhoto library is a real mess, so i had to manually import all my images and build the structure as i went a long.
    My query is: Is it now safe to delete my iphoto library and rebuild it using files referenced from my Aperture library?
    I.e. i want Aperture to be my main storage area but i would like to be able to see all my images in iphoto in my new structure.
    Any advice?
    Thanks
    Rowan

    Good to hear. Enjoy Aperture, just don't get frustrated. It's easy to do with this program, but give it time and I think you will really enjoy it.
    iPhoto still has it's uses for me, but just barely. I end up using iPhoto to store JPEG images for my blog, etc., but they are all images that I specifically don't manage inside of Aperture (very few). All of my RAW images, and TIF/PSD derivatives, reside in Aperture and don't ever go to iPhoto as I see no need.
    Message was edited by: ifarlow

  • ABAP Proxy Import Structure

    ok. Guys and gals I have limited ABAP expierence and have a simple question around loops. I have an ABAP proxy setup that receives an XML file and stores the contents in the INPUT method. The two structures under Item I am working with are I_HEADER and I_ITEM.
    I can access the values in I_HEADER with something like the following:
    CLEAR w_header.
    w_header-guid = v_header_guid.
    w_header-description = input-I_HEADER-DESCRIPTION.
    w_header-process_type = input-I_HEADER-PROCESS_TYPE.
    w_header-posting_date = sy-datum.
    now I currently have been testing the proxy with the following for my i_item structure. This is hard coded but I would like to import from the INPUT structure.
    CLEAR w_item.
    w_item-guid = v_item_guid.
    w_item-parent = v_header_guid.
    w_item-product = '00000000000000000000000000000000'.
    w_item-description = 'Test Item Description'.
    APPEND w_item TO i_item.
    How would I setup my loop to read the I_ITEM-ITEM table and populate with the imported values instead of hard coded. For instance using this example I would need the values from I_ITEM-ITEM-DESCRIPTION and I_ITEM-ITEM-PRODUCT?
    Thank You.

    Hi Joe,
    You have to use to loops one for header and another for Item details in that header something like this
    loop at it_header into wa_header
         loop at it_item into wa_tem
          endloop.
    endloop.

  • Importing structure to ESR

    hi
    I am in PI 7.1. I have a file to AII scenario. The file server guys gaveme the xsd. I need to two mappings for the target. depending on the value of one field I have to use one of the mappings. I am planning to use multiple operations in single inbound interface.
    So for using this , is it better to create Data Type and MT or just import the xsd as external definition?
    If I use it as an external definition, I can diretly start with message mapping right?
    Which is better practise to use ED or DT?
    Regards

    Hi Radhika,
    If the structure is readily available via external definition, it is best to use it. The reason for this is that the fields in the external definition are already defined and accepted by the provider. If you create it using data types/message types, you still have to consult with them about data type, length, restrictions, etc.
    By default, if there is no structure given or is available, use data type/message type.
    Hope this helps,
    Mark

  • C:import tag - Query string while calling servlet from JSP

    Hi,
    From my JSP I am calling a servlet to write back to the response stream of the JSP. From the JSP i am trying to pass some values into the query string as follows
         <%
         String strGetParameters = "/servlet/MyServlet?path=" + strPath;
          %>
         <pre><c:import url="<%=strGetParameters%>" /></pre>In the servlet I try to get the path from the query string by using
    request.getParameter("path")But in the servlet the query string doesnt have the "path" parameter that I added in the strGetParameters string (in the JSP).
    Am i missing something? Do i have to use something else or do something else?
    Any help is appreciated.

    I've taken some time to do a simple test and it just works.
    Here is the test code, it was tested in Java EE 5 + JSTL 1.2 + Tomcat 6.
    JSP<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <html>
        <head>
            <title>Test</title>
        </head>
        <body>
            <pre>
                <c:import url="myServlet?param1=foo&param2=bar">
                    <c:param name="param3" value="meep" />
                    <c:param name="param4" value="waah" />
                </c:import>
            </pre>
        </body>
    </html>MyServlet (mapped on "/myServlet")package mypackage;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class MyServlet extends HttpServlet {
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException
            String param1 = request.getParameter("param1");
            String param2 = request.getParameter("param2");
            String param3 = request.getParameter("param3");
            String param4 = request.getParameter("param4");
            String output = param1 + ", " + param2 + ", " + param3 + ", " + param4;
            response.getOutputStream().write(output.getBytes());
    }All parameters gets printed.

Maybe you are looking for

  • Get the attributes NAME and VALUE from an XML

    I really love this forum :) I load an XML an populate a Tree, from which I start to drag items. the xml looks like this: <myTag attrName="attrValue" otherAttrName="otherAttrValue"/> var ds:DragSource = event.dragSource; var var1:String =(event.dragIn

  • Windows 7 no longer boots after upgrade from Lion to Mountain Lion

    I got a late 2011 MacBook Pro, on which I installed Windows 7 with Boot Camp. After I upgraded from Lion to Mountain Lion, I can no longer boot Windows. If I keep the option button pressed during boot I only get the OS X and recovery options, and if

  • Download SmartForms in SAP R/3 4.6d / 4.7

    Sorry if this posted in the wrong place. My customer is using Smartforms with SAP R/3 4.6d and 4.7. I need to get a sample of SmartForms from them. I am not sure if that version of SAP allows users to download/upload SmartForms in XML format. If not,

  • Access to MessageSize from Mapping? (not for File Adapter)

    Dear Experts, is there any way to access the <SAP:MessageSizeTotal> values from the SOAPHeader/Runtime part (see SXMB_MONI) ? In case of File/FTP Sender Adapter, there is a simple possibility to use the DynamicConfiguration and the SourceFileSize att

  • ITunes too resource intensive

    If anyone wants to try this simple test, please post your results so I can see if I'm the only one experiencing it- First open Windows Task Manager by pressing CTRL-ALT-DEL. If iTunes isn't running, open it now. Place the mouse cursor on the iTunes v