Can't display values from memory

Hi, all experts
i am having trouble displaying the value that i have imported to memory.
EXPORT keyfgr           FROM  p_keyfgr     TO MEMORY ID 'CM_KEYFGR'.
EXPORT fcst_filedata    FROM gt_fcst_filedata[]       TO MEMORY ID 'CM_FCST_FILEDATA'.
SUBMIT (g_hlp_progname) WITH fpath  = p_fname
                           WITH vrsioz = p_vrsioz
                           VIA SELECTION-SCREEN
                           AND RETURN
When i want to use this value in my other tcode is doesn't display value. pls, help
IMPORT keyfgr TO D FROM MEMORY ID 'CM_KEYFGR'.
IMPORT fcst_filedata TO GTA_fcst_filedata FROM MEMORY ID 'CM_FCST_FILEDATA'.
     LOOP AT GTA_fcst_filedata INTO WA_fcst_filedata.
          WRITE: / WA_fcst_filedata-FIELD1.
    ENDLOOP.

Hi sophanith,
please go through the code below.
export p_keyfgr to MEMORY id 'XYZ' .
EXPORT gt_fcst_filedata[]       TO MEMORY ID 'ABC'.
SUBMIT (g_hlp_progname) WITH fpath  = p_fname
                           WITH vrsioz = p_vrsioz
                           VIA SELECTION-SCREEN
                           AND RETURN.
in Import program u should declare the gt_fcst_filedata[] and keyfgr same as export program.
DATA :gt_fcst_filedata[] TYPE TABLE OF ................
DATA:keyfgr type ...........
IMPORT keyfgr FROM MEMORY ID 'XYZ'.
IMPORT gt_fcst_filedata[] FROM MEMORY ID ' ABC'.
the you can loop the internal table in to work area.
regards Ashwin kv

Similar Messages

  • How can i display list from memory

    Hello,
    now i am trying to develop exit to inspect code before release change request.
    There is function module  TR_INSPECT_OBJECTS to be used.
    But it returns only error flag. the result screen is kept in abap memory.
    what i want is to count how many error / warning in result.
    as i debug, the result in in hexstring structure.
    are there any method to retrieve it and count?
    thanks & regards,
    pichet a.

    Hi
    Make use of foll. FM in such cases.
    LIST_FROM_MEMORY - Prepared list import from memory
    Other FMs used in this aspect .
    DISPLAY_LIST  - List object display
    SAVE_LIST       - Save list
    WRITE_LIST      -  Display a (saved) list obj.
    Regds,
    abhee.
    Edited by: abheesawant on Jun 9, 2010 11:43 AM

  • How can I get dataTable to display values from the java layer?

    When I use the dataTAble in my JSP page it will only display values from my java layer if the facets tag has it's name set to "header". Why is this happening?
    If I set it to "header" and I look at the page source it actually has created the correct number of rows but it doesn't put the values between the <td> tags? It see's the length of my list but it doesn't pick the values out of the list.
    <h:dataTable var="data" value="#{NameBean.test}" border="1">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name"/>
    </f:facet>
    </h:column>
    <h:column>
    <f:facet name="header">
    <!-- <h:outputFormat styleClass="outputFormat" id="format1" value="#{NameBean.test}"></h:outputFormat>-->
    <h:outputText styleClass="outputText" value="#{NameBean.test}" style="" rendered="true" escape="false"/>
    </f:facet>
    </h:column>
    </h:dataTable>
    public List gettest()
              List li = new LinkedList();
              Object Developers[] = {"M@n00j", "sdsadas"};
              for( int i = 0; i < Developers.length; i++ )
                   li.add(Developers);
              return li;
    Thanks in advance to anyone that can help.
    -ls6v

    I've been able to get it working with some of those changes along with changes in the JSP. I think it's a setting or two in the JSP that'll allow the program to run correctly.
    I have a list and it's returned like what you suggested. A day or two ago I tried to move the outputtext outside of the facet tag but nothing would print, I know believe that's related to the following setting in the JSP:
    rows="0" in the <h:dataTAble tag
    Unfortunately the dataTAble isn't displaying the values correctly. It prints all of the values (Strings) in the list on each row and it make a new row for the number of items in the list.......... ???
    Here's what it's printing to the screen (the table):
    ===================
    == [asdasd], [sddfdfd] ==
    ===================
    ===================
    == [asdasd], [sddfdfd]==
    ===================
    what it should print:
    ============
    == [asdasd] ==
    ============
    ============
    == [sddfdfd] ==
    ============
    My code:
    public List gettest()
              List li = new ArrayList();
              li.add("asdasd");
              li.add("affffd");
              return li;
              }JSP
    <h:dataTable border="1" columnClasses="list-column-left"
        headerClass="list-header"
        rowClasses="list-row-odd"
        id="table"
        rows="0"
        value="#{NameBean.test}"
        var="data">
    <h:column>
    <f:facet name="header">
    <h:outputText value="test"/>
    </f:facet>
    <h:outputText value="#{NameBean.test}" style="" rendered="true" escape="false"/>
    </h:column>
    </h:dataTable>

  • How to display value in memory

    How to display value in memory, except call function 'LIST_FROM_MEMORY' .
    Thanks.

    Hi
    See this
    may be useful
    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens
    SAP global memory retains field value through out session.
    set parameter id 'MAT' field v_matnr.
    get parameter id 'MAT' field v_matnr.
    They are stored in table TPARA.
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data
    to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
    ABAP memory is temporary and values are retained in same LUW.
    export itab to memory id 'TEST'.
    import itab from memory Id 'TEST'.
    Here itab should be declared of same type and length.
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    ABAP Memmory & SAP Memmory
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Reward points for useful Answers
    Regards
    Anji

  • How we can get the values  from one screen to another screen?

    hi guru's.
         how we can get the values  from one screen to another screen?
              we get values where cusor is placed but in my requirement i want to get to field values from one screen to another screen.
    regards.
      satheesh.

    Just think of dynpros as windows into the global memory of your program... so if you want the value of a field on dynpro 1234 to appear on dynpro 2345, then just pop the value into a global variable (i.e. one defined in your top include), and you will be able to see it in your second dynpro (assuming you make the field formats etc the same on both screens!).

  • How can I get values from listbox?

    Hi all,
    I need to get price values from Price List (Inventory -> Item Master Data screen). It's important to get values from field 'Price' BEFORE item will be added/updated.
    How can I get values from Pricelist listbox?
    Thanks for any suggestions or short sample code.
    Best regards,
    Andy

    Hi Andy
    Here is som sample code that will get the description of the price list and also the price that is displaying at the time. The item master must be open for this snippet of code
      Public Sub GetItemPriceFromOpenWindow()
            'this is assuming item master is open
            Dim oEdit As SAPbouiCOM.EditText
            oEdit = SBO_Application.Forms.GetForm("150", 1).Items.Item("34").Specific
            SBO_Application.MessageBox(oEdit.Value)
            Dim oCmb As SAPbouiCOM.ComboBox
            oCmb = SBO_Application.Forms.GetForm("150", 1).Items.Item("24").Specific
            SBO_Application.MessageBox(oCmb.Selected.Description)
        End Sub
    Hope it helps

  • Fetch the value from memory ID in ASR_PROCESS_EXECUTE

    Hi all,
    I am using the standard WD4A component HRASR00_PROCESS_EXECUTE and it's application ASR_PROCESS_EXECUTE. I have one doubt in the parameter tab of the application ASR_PROCESS_EXECUTE.
    Actually there is a parameterPERNR_MEM_ID, I think this is the parameter by which we can set the value parameter(PERNR) into memory ID and retrieve the value(PERNR), when this application triggered.
    But I don't know how to to this, if this is the right approach.
    Can anyone please suggest me how can I retrieve the value from memory ID when ASR_PROCESS_EXECUTE application actually trigged.
    Please suggest.
    Thanks
    Sanket sethi

    Hi Manas,
    Thanks for your reply. Actually I am facing one issue, If I pass the Memory ID as "ECC01" and set the process name in Process parameter, then the form will open by skipping the Select employee and select Process.
    But in the case of MSS, ehen I am passing the memory ID as "MSS01" and set the process in Process parameter, then it will not open the form screen dirctly. It will then open the Initial screen Select Employee for ASR_PROCESS_EXECUTE.
    It is because of the multiple PERNR are available for the Manager. Do I open the form dirctly for Manager also.
    Please suggest.
    I have found a blog HCM Processes & Forms: The Many Faces and Frustrations of the Start Application by Chris Solomon for this.
    Please go through the link to open the form directly:
    /people/christopher.solomon/blog/2010/02/01/hcm-processes-forms-the-many-faces-and-frustrations-of-the-start-application
    Please suggest if you have any idea on how to achieve this.

  • How can I insert values from table object into a regular table

    I have a table named "ITEM", an object "T_ITEM_OBJ", a table object "ITEM_TBL" and a stored procedure as below.
    CREATE TABLE ITEM
    ITEMID VARCHAR2(10) NOT NULL,
    PRODUCTID VARCHAR2(10) NOT NULL,
    LISTPRICE NUMBER(10,2),
    UNITCOST NUMBER(10,2),
    SUPPLIER INTEGER,
    STATUS VARCHAR2(2),
    ATTR1 VARCHAR2(80),
    ATTR2 VARCHAR2(80),
    ATTR3 VARCHAR2(80),
    ATTR4 VARCHAR2(80),
    ATTR5 VARCHAR2(80)
    TYPE T_ITEM_OBJ AS OBJECT
    ITEMID VARCHAR2(10),
    PRODUCTID VARCHAR2(10),
    LISTPRICE NUMBER(10,2),
    UNITCOST NUMBER(10,2),
    SUPPLIER INTEGER,
    STATUS VARCHAR2(2),
    ATTR1 VARCHAR2(80),
    ATTR2 VARCHAR2(80),
    ATTR3 VARCHAR2(80),
    ATTR4 VARCHAR2(80),
    ATTR5 VARCHAR2(80)
    TYPE ITEM_TBL AS TABLE OF T_ITEM_OBJ;
    PROCEDURE InsertItemByObj(p_item_tbl IN ITEM_TBL, p_Count OUT PLS_INTEGER);
    When I pass values from my java code through JDBC to this store procedure, how can I insert values from the "p_item_tbl" table object into ITEM table?
    In the stored procedure, I wrote the code as below but it doesn't work at all even I can see values if I use something like p_item_tbl(1).itemid. How can I fix the problem?
    INSERT INTO ITEM
    ITEMID,
    PRODUCTID,
    LISTPRICE,
    UNITCOST,
    STATUS,
    SUPPLIER,
    ATTR1
    ) SELECT ITEMID, PRODUCTID, LISTPRICE,
    UNITCOST, STATUS, SUPPLIER, ATTR1
    FROM TABLE( CAST(p_item_tbl AS ITEM_TBL) ) it
    WHERE it.ITEMID != NULL;
    COMMIT;
    Also, how can I count the number of objects in the table object p_item_tbl? and how can I use whole-loop or for-loop to retrieve values from the table object?
    Thanks.

    Sigh. I answered this in your other How can I convert table object into table record format?.
    Please do not open multiple threads. It just confuses people and makes the trreads hard to follow. Also, please remember we are not Oracle employees, we are all volunteers here. We answer questions if we can, when we can. There is no SLA so please be patient.
    Thank you for your future co-operation.
    Cheers, APC

  • How do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    how do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    Where is this example spreadsheet? Without seeing it I can only guess at what you are asking.
    To make a drop-down list (a pop-up menu in Numbers-speak), format the cell as a pop-up then edit and add to the list of items.
    If the example spreadsheet is pulling in a dollar value based on what car you chose in the pop-up, it is probably using LOOKUP or one of the other lookup functions, getting the information from another table (a lookup table). If, instead, these dollar values are what you are choosing in the pop-up, then you need to create a pop-up with these values in it.
    The Help menu includes a link to a page where you can download the Numbers Users Manual. It also has a link to the Formulas and Functions guide. Both are useful to new users.

  • Faces config exception - Can't get value from value binding expression:

    the menuItem_Department shown property takes value from userRight's session bean object userDetail.
    class UserRights{
        public boolean mDept = false;
        public boolean loggedIn = false;
        public boolean admin = false;
       //accessors
    }now, the shown property picks correct value for #{userDetail.admin} but gives erros on this. any idea how to get around this exception:
    Managedbean menuItem_Department could not be created Can't get value from value binding expression: '#{userDetail.mDept}'.
    javax.faces.FacesException: Can't get value from value binding expression: '#{userDetail.mDept}'     at com.sun.faces.config.ManagedBeanFactory.evaluateValueBindingGet(ManagedBeanFactory.java:903)
         at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:547)
         at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:233)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:256)
    .. stack tracepointers appreciated.
    reagrds
    Rabs

    well, i figured out the problem so thought to share with all aswell.
    all i changed was the name of the variable from mDept to dept.
    java beans has its own set of rules and naming conventions which i have not read much about but this problem had to do sumthing with that!
    just changing the name simply works fine!

  • Can we Return values from Java Bean to Form

    Hi All,
    I have a Bean area defined on a Form. The Bean Area consists of a Text field which gets populated by path of a file selected using Browse button.
    Can I return this path as a parameter from the Java Bean to the form? Is there any function for this?
    Regards,
    Prathima.

    If you designed your bean to offer the ability to exact info/data from it, then yes you can get a value from the bean into the form (pl/sql) - using Get_Custom_Property
    Refer to the following which is a good example of how to build a bean. Specifically look at page 12 where is shows how to use Get_Custom_Property.
    This is NOT an Oracle supported or provided document or web site, but it is a very good example.
    http://forms.pjc.bean.over-blog.com/ext/http://sheikyerbouti.developpez.com/forms-pjc-bean/first-bean/first_bean.pdf

  • Displaying values from JSP in textbox

    I want to fetching values from database table using JSP and display the values in a textbox in a textbox. I found if the value is a single word, it can display correctly. but if the values are multiply words, there are just the first word appeared in the textbox. for example, I want to fetche address: 5 East 98th Street, just 5 appeared in textbox. The code is as follows:
    key = request.getParameter("key");
    person = homePerson.findByPrimaryKey(key);
    <input type="text" name="Address" value= <%= person.getAddress() %>>
    Can someone suggest on this problem. Thanks in advance.
    Qiang

    <input type="text" name="Address" value= <%=
    person.getAddress() %>>do this
    value="<%=person.getAddress()%>"
    dont forget the code... as in html spaces are ignored in values if they are not in codes.

  • How can i store values from my String into Array

    Hi guys
    i wants to store all the values from my string into an array,,,, after converting them into intergers,,,, how i can do this becs i have a peice of code which just give me a value of a character at time,,,,charat(2)...BUT i want to the values from String to store in an Array
    here is my peice of code which i m using for 1 char at time
    int[] ExampleArray2 = new int[24];
    String tempci = "Battle of Midway";
    for(int i=0;i>=tempci.length();i++)
    int ascii = tempci.charAt(i); //Get ascii value for the first character.

    public class d1
         public static final void main( String args[] )
              int[] ExampleArray2 = new int[24];
              String tempci = "Battle of Midway";
              for(int i=0;i<tempci.length();i++)
                   int ascii = tempci.charAt(i);
                   ExampleArray2=ascii;
              for(int i=0;i<ExampleArray2.length;i++)
                   System.out.println(ExampleArray2[i]);

  • How can I pass values from one node to another

    Give a standard and efficient way to pass values from child to parent

    hai Prathap
    You can use the custom event  for passing values from child to parent

  • Need to display value from ztable to a free field in a standard tcode...

    Hello Experts,
    I have a requirement wherein I need to get some data from a custom table and
    need to display it in one of the free fields of transaction FBL1N(Vendor line item display).
    I really do not have any idea how to go about this. Hope you can help me guys.
    Thank you and take care!

    Hi!
    You will have to look for an appropriate user-exit (if there are any) for transaction FBL1N. In the user-exit you can fetch the data from the custom table and populate the fields of the std transaction. Alternative - The fields in FBL1N are populated from the FI documents. So you can create a substitution rule (using a user-exit) and populate the field in the FI Doc. For this you might require the help of your functional consultant.
    Hope this helps
    Cheers!

Maybe you are looking for

  • File Blaster

    "Back in the day" when we had OSX server, perhaps version 10.1 , running with Macintosh Manager there was a utility called File Blaster which could be used to send or "blast" files into special places we might need. For example if we wanted to put so

  • Getting error when trying to extend standard VO with transient attributes

    Hello, I am trying to extend the standard VO ReqSummaryVO in iprocurement module and getting the error "Each Row in the Query Result Columns must be mapped to a unique Query Attribute in the mapped entity columns" at step 4. This VO has a lot of tran

  • Trouble creating styles for my BC Blog

    Hey so I am no genius in this world of web designing, but I have managed to get myself this far with this website I am building... I am using Adobe Muse for the general design and publishing to BC. I want to have a blog in my site so I found this vid

  • Adding actions to Illustrator

    I'm trying to add "masking actions" to Illustrator but it won't copy. I'm using the 30-day trial version of illustrator. Could that me why I'm not able to add actions?

  • Empire total war graphics

    so i just downloaded ETW from the apple app store and it took like 6 hours. the game works fine except for one problem. the graphics seem to be set on "low" and when i try to change it to high or even medium nothing seems to happen. the screen will l