Create querry from Structure

Hello gurus,
Is it possible to create a query from SAP structures using TX:sqvi?
if it is possible, pls help out
Regards,
Tolulope

I THINK YOU want only fileds which are used in structure  for your report
create one work area of structure type
types : begin of w_test.
          include structure BSEG_ALV.
types : end of w_test .
data : it_test type standard table of w_test with header line .
now your internal table of type structure is ready
select data according to your specification
step by step
and push data into internal table  .
this will help you .
If purpose is different please explain .
Regards
Deepak .

Similar Messages

  • Create transformation from structure

    HI,
    There is option to create simple transformation structure on transction STRANS
    and move the structure to internal table  ?
    any simple example will help i need to do poc for that ,
    Thanks in advance
    Alex
    Edited by: Alex Dean on Mar 25, 2010 1:07 PM

    HI 
    I am familiar with the option to transfer abap table to XML via TR.STRANS
    and call transformation but i am not familiar how to do the opposite i.e. create structure
    in TR. STRANS and transfer it to internal table .
    Regards
    Alex

  • Adobe 6.0 Pro--PDFs created from multiple PDFs don't have bookmarks from structure?

    I'm working with my company's 6.0 Pro (old, I know, but what we've got is what we've got,) on a Windows 7 machine. I've read online that in 6.0, PDFs created from multiple PDFs, by defaut, should have bookmarks from structure that use the original filenames as the bookmark names. I was surprised to read this, because ironically enough this is precisely what I began looking online to see if I could do, and all I could seem to find then were ways to get rid of that function. I don't believe that our installation has been modified in any way, but the binders I'm creating don't automatically have bookmarks from their structure, nor do the bookmarks I'm creating from the structure by menu command have the original file names as their names. Such an automatic bookmark structure w/ that naming scheme would in fact be very helpful in our workflow, as we deal with large volumes of files where outside data paired with file names needs to be one-to-one matched against the actual pdf contents, and opening files individually is time consuming. As of now, when I go to create bookmarks from structure in my document made of multiple pdfs, I have two choices: "Document", which only creates a bookmark to the first page of the whole thing, and "Part," which creates bookmarks to the first pages of all the documents that were combined, with each bookmark named "Part."
    We would be satisfied with nameless bookmarks except that the combine feaure is also unreliable. It usually switches the first and last files of the alphabetical order, but not always, meaning that we can't rely on bookmark order to know which file we are looking at once the binder is created.
    What I'm hoping to discover is if this behavior for 6.0 Pro is really abnormal and if so, what fixes or workarounds might be available. Thanks.

    Just to clarify --
    "... should have bookmarks from structure ..."
    Not true.
    If a PDF is tagged then Acrobat Pro can create new Bookmarks from the PDF's structure (from the Bookmark panel's Options menu).
    Currently there is no other mechanism for this.
    This may change after PDF-2 (ISO 32000-2) is released but that is still out on the timeline.
    Just some things to consider.
    When combining multiple PDFs into a new, single PDF click on the Options button and tick "Always add bookmarks..."
    This should give you the filename. If a PDF has an entry in its "Title" this will be a bookmark nested under the top (filename) bookmark.
    Also, when combining PDFs if there is no entry in "Tiltle" expect to see the filename as a bookmark.
    It there is an entry for "Title" expect to see the "Title" entry as the bookmark.
    What you describe for the elements/tags "Document" and "Part" are consistent with what they are and how they are permitted to be used in a tagged PDF.
    (See ISO 32000-1, Section 14.8)
    Be well...

  • Bookmarks from structure - limit on length of text?

    I am trying to create bookmarks from structure when converting a WORD 2007 document to pdf.  The WORD doc contains headings in Heading 1 format.  The first part of this heading appears OK in the bookmark but it is truncated  i.e. only the first few dozen characters of the heading appear in the bookmark.  Is there any way of increasing the number of characters that appear in the bookmark?
    I am using WORD 2007 Adobe 9 Pro extended on  Windows XP

    What wizard created items with even-longer names than were already on your page? FYI, items with names longer than 30 characters cannot be used as bind variables but should work otherwise. It's possible that we're binding using those names using one of these new-fangled constructs (like form pagination) and that the exception is being masked. In any case the Builder could be more helpful in this regard.
    Scott

  • Create Value node instance from structure at runtime

    Hi,
    I have a requirement where an internal table is given with some details.
    Now I need to add each row of this internal table as one entity into a collection.
    For this I need to create value node instance for each entry of the table and then
    lr_collection->if_bol_bo_col~add( lr_entity ).
    this to add to the collection.
    Please tell me how to convert this one row of this table into entity.
    Regards,
    pooja

    Try it like this:
    DATA: lt_data type table of ty_line.
    DATA: ls_data type ty_line.
    For the value nodes we need an data object
    DATA: lr_line_ref type ref to ty_line.
    The value node which should be added
    DATA: lr_value_node type ref to cl_bsp_wd_value_node.
    First create the reference structure
    CREATE DATA lr_line_ref.
    *Loop over you itab
    LOOP AT lt_data into ls_data.
    Create the value node based on the ref line
    CREATE OBJECT lr_value_node
    EXPORTING iv_data_ref = lr_line_ref.
    Now set the data from the internal table
    lr_value_node->set_properties( ls_data ).
    Now add the created value node to the collection
    lr_collection->if_bol_bo_col~add( lr_value_node ).
    ENDLOOP.

  • How to Create Hierarchy From Flat file Structure

    Hi Gurus,
    There is a scenario for me regarding the Hierarchy.
    Required Hierarchy structure - Region>Director>Manager-->Sales id
    I have flat file which gives the info like user id , sales id , manager id, director id.
    But the transaction data Flat file has structure with sales id, region id, sales amt, sales qty.
    Note : Region id is another Master Data.
    How i can create hierarchy from the first flat file which doesnot have region info in that but it is available in the transaction data Flat file.
    Is there anyway we can create hierarchy based on the first Flat file structure which contains more that 1,00,000 records.
    Try to Suggest me in this regard .
    This is urgent.
    Regards,
    Mano

    Hi Mano,
                    Defining the source system from which to load data
    Choose the source system tree File  ® Create.
           2.      Defining the InfoSource for which you want to load data
    Optional: choose InfoSource Tree ® Root (InfoSources) ® Create Application Components.
    Choose InfoSource Tree ® Your Application Component ® Other Functions  ® Create InfoSource 3.x ® Direct Update.
    Choose an InfoObject from the proposal list, and specify a name and a description.
           3.      Assigning the source system to the InfoSource
    Choose InfoSource Tree ® Your Application Component ® Your InfoSource ® Assign Source System. The transfer structure maintenance screen appears.
    The system automatically generates DataSources for the three different data types to which you can load data.
    ○       Attributes
    ○       Texts
    ○       Hierarchies (if the InfoObject has access to hierarchies)
    The system automatically generates the transfer structure, the transfer rules, and the communication structure (for attributes and texts).
           4.      Maintaining the transfer structure / transfer rules
    Select the DataSource for uploading hierarchies.
    IDoc transfer method: The system automatically generates a proposal for the DataSource and the transfer structure. This consists of an entry for the InfoObject for which hierarchies are loaded. With this transfer method, the structure is converted to the structure of the PSA during loading, which affects performance.
    PSA transfer method: The transfer methods and the communication structure are also generated here.
           5.      Maintaining the hierarchy
    Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy
    Hope this helps
    Regards
    Karthik
    Assign points if Helpful

  • Creat ECM budget structure from current org structure

    Hi all ,
    When we are creating budget heirarchy using "PECM_GENERATE_BUDGET", we want to create it from org structure that is effective on a particular date and not for all org assignments.
    For example :
    For budget effective 01/01/2011 to 12/31/2011.  We may want to create Budget structure from org structure that effective 12/31/2011.
    ( The standard transactcion "PECM_GENERATE_BUDGET" creats structures for all the effective dates )
    Let's say, I have Org units Org1 and Org2 at the same level. Org3 reports to Org1 from 01/01/2011 to 11/20/2011. But effective 12/01/2011, Org 3 reports to Org 2.
    01/01/2011 to 11/30/2011 ->  Org3 reports to Org1
    12/01/2011 to 12/31/9999 ->  Org3 reports to Org2
    When I run ""PECM_GENERATE_BUDGET"" this generates a budget heirarchy, that shows Org3 reporting to both O1 and O2,
    whereas we want Org3 to be just shown in the hierarchy of Org2 ( effective 12/31/2011).
    I see that the FM  "'HR_ECM_GET_OBJECT_STRUCTURE" and "HR_ECM_BUILD_BUDGET_STRUC" generate budget structure, by taking the begin and end date of budget period( 01/01/2011 to 12/31/ 2011) into account  to create the org structure.  But we just want the latest structure effective on a particular date.
    Has any faced this kind of scenario/requirement as this seems to be the standard budget creation functionality.
    Appreciate any inputs
    regards

    Hi - When you are creating budget sturcture based on org. unit the system will create budget structure on the basis of defined budget period
    Pls. try delimiting 01/01/2011 to 11/30/2011 -> Org3 reports to Org1 relationship and create budget structure. I feel you should be fine then.
    which EHP are you in? If you are using EHP 5 its give option to generate top down or bottom up budget structure.
    Can you also reply to one of my post.

  • Error while creating datasource from table MBEWH

    Hi all,
    I am facing an error message while creating datasource from table MBEWH
    "Invalid extract structure template MBEWH of DataSource "; This operation failed, because the template structure quantity fields or currency fields, for example, field LBKUM refer to a different table.
    Can anyone help me that why system is not allowing me to generate generic datasource for table MBEWH to transfer my month wise inventory data.
    thanks and regards.

    Hi Zakir,
          This was comming for classification data... when ever you want to extract some classification related data then we can't create generic datasources  directly.. for that you need  to go with CTBW  ( tcode )  and   create  one datasource...
       so, you need to check that   related table also.. for that  MBEWH table..
        ALL THE CLASSIFICATION RELATED DATASOURCES WE CAN'T CREATE DIRECTLY... JUST LIKE  AUSP table also.. liek this..
    regards
    @jay

  • Error while creating the Organization structure.

    Hi,
    I am trying to create an Organization structure in SRM 5 sytem, I have created a Root for the structure and when i try to click on the Attribute Inheritance or the Check tab below i am getting an error "Start program BBP_LOCATIONS_GET_ALL first (see note 563180 and long text)" but i have replicated one plant from the R/3 system using BBP_LOCATIONS_GET_SELECTED and the material groups and all the other relevant datas from R/3. I can see in the table BBP_LOCMAP the plant been associated with the relevant company code. I am now struck in creating the organization structure. I am not sure where i am going wrong while creating the Org model.Please give me your valuable inputs to overcome this error.
    Regards
    GGL

    Go to transaction SM30, table T77S0
    Add an X to the following entry:
    Group = EBP          
    Sem abbr. = LMIGR        
    Val. Abbr. = X       
    Description = Locations Successfully Migrated
    This tell the system that the locations have been replicated and the error indicating location get all needs be executed will go away.
    thanks,
    justin
    Edited by: Justin Farley on Feb 25, 2009 7:16 PM

  • Getting error while creating a infotype structure

    Hi Freinds,
    after creating info type structure, when i am tryng to save ( hitting on local object) , the folloeing error is coming ? how to solve this error ?
    Package in non-original system only modifiable with Organizer Tools
    Thanks and Regards
    Srini

    Yes. Error says "File is not found: C:\Program Files\Microsoft\Exchange Server\V\Bin\CmdletExtensionAgents\ScriptingAgentConfig.xml"
    Do you have any other Exchange server? If so, copy the file "C:\Program Files\Microsoft\Exchange Server\V\Bin\CmdletExtensionAgents\ScriptingAgentConfig.xml"
    from another server to this server by creating same directory structure and try creating contact...
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Error while creating datasource from view ZBSIS_VIEW

    Hi all,
    I could not create  the datasource on the database table BSIS as it said "Invalid extract structure template BSIS of Datasource". I had suggestions that I should create a view and then create the Datasource on it. So I created the view and tried. But still I am facing an error message while creating datasource from custom Database View ZBSIS_VIEW.
    "Invalid extract structure template ZBSIS_VIEW of DataSource"
    Can anyone help on this regard.
    thanks.

    Hi,
    Yes. You need a create a view on tables BSIS, BKPF and T001 as the currency/quantity fields in BSIS have reference fields from the other 2 tables.
    In BSIS, in the currency/quantity fields tab, you have some ref tables and fields. You would need to include these tables and join in the view. You would also need to include the ref fields like WAERS, HWAE2, HWAE3, etc in the view. Then you would be able to create the datasource.

  • Is there an app for creating a folder structure on the iPhone out there?

    I'm looking for an application to create folders (possibly password-protect them) on the iPhone, so I can add documents, PDFs, video clips etc to the phone and create subdivide them further in folders. There doesn't seem to be anything that does the right job in the app store. Is it not possible? Any feedback to help me understand would be appreciated.

    It is not possible. You cannot create the folder structure you're speaking of and you cannot save files to your iPhone, even if you had folders.
    There are no apps for folders or app organization. There are apps that allow you to access files from your desktop or the cloud from your iPhone. I use box.net. Dropbox and AirShare are others.

  • Error in create-nodeset-from-delimited-string

    Hi Gurus,
    I am trying to use the orcl:create-nodeset-from-delimited-string XPath extension function in the XSL mapper.
    I am using the Map test feature to test my map, and notice that if I use this function, the XSL does not give any output - i guess the map is failing to execute at runtime. When I open the JDeveloper as jdev.exe [so that I can see the command line window for JDev], I can see that an error appears in the command line window that states "Method orcl:create-nodeset-from-delimited-string" not found.
    This XPath function is available for use in the "Advanced Functions" palette in the XSL Mapper.
    Please let me know if
    a) This function can be used within the Mapper, and if so,
    b) whats the right way to use it.
    My usage looks like
    orcl:create-nodeset-from-delimited-string('tns:sampeNode',$delimVar,',')
    where delimVar is a comma delimited string.
    Please let me know your thoughts on this .
    rgds,
    Ram

    Hello..
    Look, I paste a functional piece of code that I develop in a transformation.
    Take this for your example and develop with the same structure.
    BR...Rodrigo
    <xsl:param name="HomeNumber"
    select="/tns:GetCustomerResponse/tns:GetCustomerResult/tns:DefaultAddress/tns:HomePhone"/>
    <xsl:param name="HomeNumberExt"
    select="/tns:GetCustomerResponse/tns:GetCustomerResult/tns:DefaultAddress/tns:HomePhoneExt"/>
    <xsl:param name="WorkNumber"
    select="/tns:GetCustomerResponse/tns:GetCustomerResult/tns:DefaultAddress/tns:WorkPhone"/>
    <xsl:param name="WorkNumberExt"
    select="/tns:GetCustomerResponse/tns:GetCustomerResult/tns:DefaultAddress/tns:WorkPhoneExt"/>
    <xsl:param name="Fax1"
    select="/tns:GetCustomerResponse/tns:GetCustomerResult/tns:DefaultAddress/tns:Fax1"/>
    <xsl:param name="Fax2"
    select="/tns:GetCustomerResponse/tns:GetCustomerResult/tns:DefaultAddress/tns:Fax2"/>
    <xsl:param name="Email"
    select="/tns:GetCustomerResponse/tns:GetCustomerResult/tns:DefaultAddress/tns:Email"/>
    <xsl:param name="contactMedium"
    select="concat($HomeNumber,'-%',$HomeNumberExt,'-%',$WorkNumber,'-%',$WorkNumberExt,'-%',$Fax1,'-%',$Fax2,'-%',$Email,'-')"/>
    <xsl:param name="contactMediumNodeSet"
    select="oraext:create-nodeset-from-delimited-string('contactMediumNodeSet',$contactMedium,'%')"/>

  • Create PDF from Web page using Acrobat X - Page Order

    I have a structured web site that is in fact Program Help The web pages are structured as follows:
    index.html - Main Topic Index page with links to all topic subject index pages
    topic/index.html - Topic Subject Index Page with links to all subject pages
    topic/subject.html - Subject page
    .....etc
    Using Acrobat 5 "Create PDF from Web Page" created a perfect logical PDF  page structure in the page order of of the web site. In Acrobat 5 page 1  was the Main Topic Index Page, page 2 was the 1st Topic Subject Index  Page, page 3 was the 1st Subject Page, then the 2nd subject of the 1st  Topic, etc. until the Topic Subjects were exhausted after which the 2nd  Topic Subject Index Page and so it went on. As a result the bookmark  structure was sensible. The page order was as follows:
    Main Topic Contents
    Topic 1 Contents
    Subject 1 of Topic 1
    Subject 2 of Topic 1
    Topic N Contents
    Subject 1 of Topic N
    Subject 2 of Topic N
    Acrobat X (just purchased) produces a differently structured PDF from the same HTML pages. The order is:
    Main Topic Contents
    Topic 1 Contents
    Topic 2 Contents
    Topic N Contents
    Main Topic Contents (a second time)
    Subject 1 of Topic 1
    Subject 2 of Topic 1
    Subject N of Topic 1
    Subject 1 of Topic 2
    Subject 2 of Topic 2
    Subject N of Topic N
    Question: Is there any way I can get back with Acrobat X the same page order I got with Acrobat 5?
    Any help appreciated. The website is www.caliach.com/caliach/vision/help/index.html
    Chris

    Acrobat is using the underlying mark up of the rendered HTML page.
    This may or may not provide an adequate input to Acrobat when it is noodling out how and what to tag.
    I suspect you may find that, to obtain an adequately tagged PDF, you may have to capture the web page content with the create bookmarks and create tags options off.
    Once you have the PDF make working copies.
    Try letting Acrobat tag this already created PDF to see what happens.
    You may have to manually tag the PDF.
    n.b., The default read order for western language can be altered by user selections in the accesibility setup or by selection in the PDF page(s) Page Properties.
    Be well...

  • To create a deep structure for dynamic internal table.

    Hello
    My ALV has fields which are defined dynamically during execution.
    so, i did it in the following way,
    Declared Field symbolds, DREF and fieldcatalog as,
    FIELD-SYMBOLS: <t_dyntable> TYPE STANDARD TABLE,
                  <fs_dyntable>.
    DATA:   dref_dyntab    TYPE REF TO data,
            dref_dynwa     TYPE REF TO data.
    DATA: ts_fieldcatalog TYPE lvc_t_fcat.
    DATA: wa_fieldcatalog TYPE lvc_s_fcat.
    Updated Fieldcatalog dynamically as,
    *function module to read segment structure
        CALL FUNCTION 'SEGMENT_READ'
          EXPORTING
            segmenttyp           = v_segment_name
          TABLES
            segmentstructure     = ts_seg_structure
          EXCEPTIONS
            no_authority         = 1
            segment_not_existing = 2
            OTHERS               = 3.
        IF sy-subrc <> 0.
          CASE sy-subrc.
            WHEN '1'.
              MESSAGE e024.
              STOP.
            WHEN '2'.
              MESSAGE e025 WITH v_segment_name.
              STOP.
            WHEN OTHERS.
              MESSAGE e023.
          ENDCASE.
        ENDIF.
    *FETCH FIELDS FROM STRUCTURE OF SEGMENT AND CREATE FIELDCATALOG FOR
    EACH FIELD OF SEGMENT (DYNAMIC FIELD CATALOG)
        LOOP AT ts_seg_structure INTO wa_seg_structure.
          ADD 1 TO v_counter.
          wa_fieldcatalog-fieldname = wa_seg_structure-fieldname.
          wa_fieldcatalog-col_pos   = v_counter.
          wa_fieldcatalog-ref_table = wa_seg_structure-segtyp.
          APPEND wa_fieldcatalog TO ts_fieldcatalog.
          CLEAR wa_fieldcatalog.
        ENDLOOP.
    and generated dynamic internal table using fieldcatalog as,
    *--Method to get the structure of table using fieldcatalog.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = ts_fieldcatalog
        IMPORTING
    *--Variable of type REF TO DATA.
          ep_table        = dref_dyntab.
      IF sy-subrc <> 0.
        MESSAGE e023.
      ENDIF.
    *--Dynamic internal tables required when show segments selected
      IF p_selseg IS NOT INITIAL.
        ASSIGN dref_dyntab->* TO <t_dyntable>.
    *--Create dynamic work area and assign to FS
      CREATE DATA dref_dynwa LIKE LINE OF <t_dyntable>.
        ASSIGN dref_dynwa->* TO <fs_dyntable>.
    And then i populated this <t_dyntable> which is being passed as data-table to method
    CL_GUI_ALV_GRID => SET_TABLE_FOR_FIRST_DISPLAY
    for ALV grid Display along with above used filedcatalog ts_fieldcatalog.
    Things are fine till here, but now i have the requirement to edit selected rows of the ALV display..
    As you might be aware, we need a field
            TS_STYLEROW  TYPE lvc_t_styl, (i.e, a field of type 'h' and we can say as an internal table inside an internal table or else as a deep structure)
    in the output internal table <t_dyntable> to meet our requirement.
    My issue is about declaring one such field of type 'h' in this dynamically created internal table ''<t_dyntable>".
    I tried in the following way by adding one such field to fieldcatalog :
    *Field for Styling
      ADD 1 TO v_counter.
      wa_fieldcatalog-fieldname   = 'TS_STYLEROW'.
      wa_fieldcatalog-tabname     = 'TS_STYLE'.
      wa_fieldcatalog-col_pos     = v_counter.
      wa_fieldcatalog-no_out      = 'X'.
      wa_fieldcatalog-inttype     = 'h'.      " I even mentioned this
      APPEND wa_fieldcatalog TO ts_fieldcatalog.
      CLEAR  wa_fieldcatalog.
    But this is creating a field of type 'C' in the table <t_dyntable> instead of what i was expecting
    Guyz and respected,
    Please advice me with the solution or ur ideas....
    Note : The overall requirement is create a deep structure for dynamically generated internal table.
    Your help is highly appreciated and unforgettable..!!!!!!!

    hi,
    Dynamic append
    Dynamic internal table
    Dynamic internal table
    dynamic columns in ALV
    Variant for dynamic selection
    thanks

Maybe you are looking for

  • Lightroom encountered an error

    Working in LR 3.6, Mac OS10.6.8, 8GB RAM, accessing from an external USB 2TB harddrive, and when opening an image I get the error: "Lightroom encountered an error when reading a catalogue file and needs to quit. "Lightroom will attempt to diagnose th

  • IPOD Touch - Videos Not Syncing....Error - 69

    Hi, I just got my Ipod Touch today, and I'm having trouble getting it to sync my videos. I have tried syncing all and syncing just one or 2 and it keeps telling me Error - 69. Any Ideas?

  • Error in SXMB_MONI: SAP:Code area="MAPPING" EXCEPTION_DURING_EXECUTE /SAP:C

    Hi All When the Idoc is sent from ECC to XI after checking the message in the SXMB_MONI I get an error saying: <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code> What is this error and how should I go about resolving it?

  • Can iTunes, song files, and library all reside on an external drive?

    I loaded iTunes and also all of my music and audiobook folders onto an external drive. There are no iTunes files or song files on my local drive. However, when I try to populate iTunes by importing the music and audio folders iTunes insists on creati

  • JBO-25034 Rollback bc4J/ejb

    When I run the jclient application with a local connection it runs without the specified error. The error only occurs when I run it connecting to the oc4j/ejb. I investigated a bit and have find out when it was occuring : I have a JTable : private JT