How's to select data from structure data object?

Dear Guru,
If my data is kept in structure data object (not a table type).  How can I select data from that kind of data object.  Thank you.
Cheers,

Hi,
Data cannot be stored in structure.
Structure is just like a view , so its a medium with which you can create a view relevant to your needs.
The fields that we need together , we put in a structure.
Structure is a medium where we collect all our relevant fields.
we can include the structure in internal table so that we can actually store data , process data and retrieve data.
hope this helps.
thanx,
dhanashri.

Similar Messages

  • How to read data from structure RSTXT

    Hi Everyone..
       I have some problem with read data from structure RSTXT.
    I am using transaction code vl02n -> for delivery select <b>Item</b> in item
    overview tab -> Go to -> Item -> text.
    I want display "<b>RSTXT-TXLINE</b>" field in <b>ALV</b> report how it can be possible?
    If anyone knows about it plz reply me with example.
    Thanks in Advance.

    Hi,
    Use FM READ_TEXT
    ( Once on the text, plz display it in plain page mode :
    then > Go To> header : Here you'll get the FM parameters : ID, Object, Name, ... )
    Sample code :
      DATA: BEGIN OF TTLINE OCCURS 0.
              INCLUDE STRUCTURE TLINE.
      DATA: END OF TTLINE.
      CALL FUNCTION 'READ_TEXT'
           EXPORTING
                CLIENT                  = SY-MANDT
                ID                      = L_ID
                LANGUAGE                = L_LANGUE
                NAME                    = L_BL
                OBJECT                  = 'VBBK'
           TABLES
                LINES                   = TTLINE
           EXCEPTIONS
                ID                      = 1
                LANGUAGE                = 2
                NAME                    = 3
                NOT_FOUND               = 4
                OBJECT                  = 5
                REFERENCE_CHECK         = 6
                WRONG_ACCESS_TO_ARCHIVE = 7
                OTHERS                  = 8.
    Regards,
    Erwan

  • How to retreive data from structure MDEZ in T.code CO09

    As per our requirement 2 new columns are needed in a customize report .i.e
    - u201Cinc. lot dateu201D
    - u201Cavailable inc. lotu201D
    u201Cinc. lot dateu201D:to get the values for inc.lot.date
    From second screen of CO09(program: SAPLATP4 and screen number: 400) pick first date where MRP element is u201CPOitemu201D, u201CShpgNtu201D or u201CPrdOrdu201D.
    u201Cavailable inc. lotu201D: to get the values for available inc.lot
    Pick u201CCum. ATP QTyu201D from the same row.
    These data are stored in structure MDEZ. Actually I want dat00 and MNG04 based on field DELB0. If DELB0 filed is POitem or Prdord or ShpgNt then only I should retrieve the dat00 and MNG04. IF there are more than one POitem in MRP element then we should pick the first POitems' mrp date and *** ATP qty  .Can you please help me out how to get these data from the structure MDEZ.
    input parameters to get the values are material number and plant.

    Hi,
    First of all data is never stored in structure so there is no way you can retrive data from structure.
    you are looking into the screen field and it is not mandatory that it will always point to a table.
    Now  the qestion remains how to get the data ?  you need to find database table for that field there are many ways like SE84 or SE11 where used etc.
    Try to find the table if you still have the problem feel free to get back.
    Regards
    Bikas

  • How to get data from structures ??

    HI
    I have to do a report.I had given structures instead of display tables.we cant get data from the structures. are there any FM to diaplay data from structures or shd i need to sreach the fileds in display table
    Regards
    Rasheed

    Hi,
    There are several ways to find the tables:
    1) Choose the data elements that the structure fields belong to - do a 'Where User' in SE11 to see any tables - check using SE16.
    2) Use ST05 and or SE30 to trace the transaction and see what tables are being read.
    3) In many areas there are Function Modules that does these reads - could you please provide more details of the area you are trying to get data from?

  • How to get the values from struct data type using java code..?

    Hi ,
    I am newer to java.
    we are using oracle database.
    How to get the data from struct data type using java code.
    Thanks in Advance.
    Regards,
    kumar

    Hi Rajeev,
    To retrieve a FilterContainer you will need to traverse the report structure:
    ReportStructure boReportStructure = boDocumentInstance.getStructure();
    ReportContainer boReportContainer = (ReportContainer) boReportStructure.getReportElement(0);
    FilterContainer boFilterContainer = null;
    if (boReportContainer.hasFilter()) {
         boFilterContainer = boReportContainer.getFilter();
    } else {
         boFilterContainer = boReportContainer.createFilter(LogicalOperator.AND);
    Calling boDocumentInstance.getStructure() will retrieve the entire structure for the document.
    Calling boReportStructure.getReportElement(0) will retrieve the structure for the first report of the document.
    Hope this helps.
    Regards,
    Dan

  • How to get internal table from SAP Data Provider C#

    Hello.
    ABAP:
       DATA: lt_t001 TYPE TABLE OF t001.
       DATA: url(1000) TYPE c.
      SELECT * INTO TABLE lt_t001 FROM t001.
      CALL FUNCTION 'DP_CREATE_URL'
        EXPORTING
          type                 = 'APPLICATION'
          subtype           = 'X-R3TABLE'
        TABLES
          data                 = lt_t001
        CHANGING
          url                    = url
        EXCEPTIONS
          OTHERS           = 4.
    C#:
    using SAPDataProvider;
    using SAPTableFactoryCtrl;
    public void SetDataFromUrl(string url)
                SAPDataProviderClass p = new SAPDataProviderClass();
                p.SetDataFromURL("APPLICATION", "X-R3TABLE", url);
                ISapDPR3Table tbl = p.GetDataAsR3Table("APPLICATION", "X-R3TABLE");
                SAPTableFactoryClass tf = new SAPTableFactoryClass();
                Table tb = (Table)tf.NewTable();
                tb.ISAPrfcITab = tbl.DataTable; // Exception !!!!!!
    How to get internal table from SAP Data Provider ?

    Hi Sergey,
    I'm trying to do the same, have you found a solution to solved it?
    thanks for your help.
    Regards.
    Jonathan

  • Error in abap query sq03,02,01(to get data from structure) it is possible?

    hi
    experts,
    i am developing a report using abap query .(stand t code is s_alr_87012277 it contain more fields but i want only 4 fields , i found 2 but remaining 2 are from structure)
    my problem is that debit and credit amount is in structure
    how  i can get data from structure(FAGL_S_RFSSLD00_LIST )
    solbm = debit.
    habbm  = credit.
    report is like
    op.
    gl acc no, discription, credit amount,debit amount.

    Hi ajay,
    try to use with  logical database  SDF.
    assign the logical database name in info set.
    gl acc no    -               SKA1-SAKNR
    debit.         -     Field: um02h
    credit.        -     field:  um02s 
    discription  -               SKAT-TXT20
    regards,
    sateesh.

  • "select distinct" from itab data?

    Hi anyone know how to do a "select distinct" from itab data and do some calculation.
    For example:
    This is my itab result data:
    Col1 | Col2    | Col3 | col4
    123  |000010 |a      |  10.00
    123  |000010 |b      |  2.00
    123  |000010 |c      |  3.00
    123  |000020 |a      |  10.50
    123  |000020 |b      |  2.50
    123  |000020 |c      |  3.50
    123  |000030 |a      |  50.00
    123  |000030 |b      |  6.00
    123  |000030 |c      |  7.00
    I need to do some calculation of a value a - (b value + c value) = x value and x value update back to value a col where the value of a, b, c must be match of col2.
    ideally return 000010: x value =  5.00
                        000020: x value = 4.50
                        000030: x value = 37.00
    How can I able to differential the data from cols2?
    aish.

    hi,
    u can do this:
    loop at itab.
      loop at itab into wa_itab where col2 = itab-col2.   " process all 10's, 20's
        ....do ur codition chk n calculations  here          " populate the data into new itab
      endloop.
      delete itab where col2 = itab-col2.                      " after processing delete them.
    endloop.
    do the calculations and populate into new internal table in the loop itself.

  • How to get maximal value from the data/class for show in Map legend

    I make WAD report that using Map Web Item.
    I devide to four (4) classes for legend (Generate_Breaks).
    I want to change default value for the class by javascript and for this,
    I need to get maximal value from the class.
    How to get maximal value from the data/class.
    please give me solution for my problem.
    Many Thx
    Eddy Utomo

    use this to get the following End_date
    <?following-sibling::../END_DATE?>
    Try this
    <?for-each:/ROOT/ROW?>
    ==================
    Current StartDate <?START_DATE?>
    Current End Date <?END_DATE?>
    Next Start Date <?following-sibling::ROW/END_DATE?>
    Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
    ================
    <?end for-each?>
    o/p
    ==================
    Current StartDate 01-01-1980
    Current End Date 01-01-1988
    Next Start Date 01-01-1990
    Previous End Date
    ================
    ==================
    Current StartDate 01-01-1988
    Current End Date 01-01-1990
    Next Start Date 01-01-2005
    Previous End Date 01-01-1988
    ================
    ==================
    Current StartDate 01-01-2000
    Current End Date 01-01-2005
    Next Start Date
    Previous End Date 01

  • To add a method on select of a date from a date input field

    Hi,
    I have a input field which is binded to context element, type date. Hence the output screen has a date popup, from which user can select any dates.
    Is it any way i can have a action executed on select of a date value?
    I mean when the user selects a date from the date field an wction should be called.
    As I have chosen it to be input field so at present I have only the option of OnEnter, which is not fulfilling the requirement.
    Regards,
    Pranay

    Hi Pranay,
    Use the Date Navigator instead. It has got the same functionality as Date Picker (this is what you are using) & moreover, you can achieve what you desired. It has got the functions like onDaySelect, onWeekSelect & onMonthSelect & onSelect.
    That will trigger the action what you want.
    Regards
    Chander Kararia
    # Please close the thread once get the correct answer. Give rewards for answers.

  • How can I take minutes from mysql date format

    how can I take minutes from mysql date format??
    example 10:30:00 is stored in my sql and I want to create 3 variables which will store hours, minutes and seconds..
    Cheers..

    "use application date format" is the choice you want.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to view "date from" and "date to"

    Hi,
    I have loaded EMP data. In the mapping "date from" and "date to" are visible. But these fields are not seen when I display the EMP data.Can someone please tell me how to view these fields?
    Thanks,
    Williams

    I got your question . Please find my understandings .
    In the transformation Please check weather routine or formula is written which is stopping the dats
    to be updated to the target .
    I mean data is there in the source but if its not updating to target it seems some rules have been set up in the transformation . Please check .
    Assign marks is the best way to appreciate help

  • How can delete my iphone5 data from the date its restored?

    how can delete my iphone5 data from the date its restored?

    it's unclear what you mean
    if you wish to remove your iphone5 data you connect it to iTunes on the computer and click the restore button and choose restore to factory defect

  • How to compute data from different data sources?

    All we are doing with data is from one single datasoure, which could be from oracle or sql server or a excel table, the issue is how could we combine these data from different data source with SQL?
    Example: i need some data from Sale Table in Excel and some data from Custumer Table in oracle, how could SQL complete this mission? Solutions are welcomed and appreciated.
    消息编辑者为:Datathinker from Raqsoft

    Hi,
    This forum is dedicated to SQL Developer Data Modeler product.
    You might search for solution in general questions forum.

  • On my mac, photoshop cc "save as" removes capture date from exif data. How do I prevent this?

    On my mac, photoshop cc "save as" removes capture date from exif data. How do I prevent this?

    You had to reinstall CS6 after cancelling the CC as both were from the same Adobe ID. You can always use & keep both CC & CS6 together.
    Please refer to the blog:
    Can I install both CS6 and CC apps on my computer? « Caveat Lector
    Other references are :
    Creative Cloud Help | Install, update, or uninstall apps
    What is the difference CS6 & CC Versions?
    Regards
    Rajshree

Maybe you are looking for

  • Moving library from one hard drive to another in same PC

    Just to let you all know right from the top that I've been trying to work with Apple's own info on this before coming here, this is the page I've been consulting: support.apple.com/kb/HT1364 Okay, so here's the background: I just bought a new tower c

  • B/W G3 & house full of non-DVD imacs, want to go to Tiger, ? FW DVD?

    Hello, I've searched the forum and apologize if this question is redundant, but I'm requesting help. I've got a B/W G3 running OS9 which has a CDR drive. I also have three networked G3&4 iMacs running OS9 and a clamshell iBook running OS9. Only one o

  • Applet works on eclipse but not on reg browser (not inited error)

    Hi everybody, I've just made an applet, but I don't know why it can't be shown. I'm working with Eclipse, and when I run the .java file, everything works fine. It even works fine when I specify parameters through the eclipse build file parameter argu

  • Mx database problem

    I am pretty new to Dreamweaver MX, I do pretty well with the static pages, but now want to develop my site, so am doing some training in databases. I am having nightmare problems trying to connect Dreamweaver MX to an access database that is part of

  • Powersave Problem

    I have a problem using the powersave package. When I do a suspend, it appears to work as it should.  That is, it goes to sleep and when I hit a key it wakes up.  Magic!  The problem is after it wakes up, I have no network.  If I do an 'ifconfig' my e