How to find the Size of an Idoc With data

Hi All,
There is business case where in the partner needs an Idoc with size 200KB - 250KB  triggerd from SAP.
Is there any chace of knowing the size of an Idoc with data before it gets tirrgerd from SAP.
Please Help
Thanks,
Suma

Hi Dinil,
I have provided you with a sample that would show you the how you can get the size of an arraylist
the sample has a page untitled1 and a bean named test.
I have run in on jdev 11.1.2 and it is ok, it will be ok on 11.1.3
after running the sample you will see the 2.
please remember that you must add the JSTL taglib on the viewcontroller.
just right click on viewcontroller, go to tag lib select the jstl.
page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>untitled1</title>
</head>
<body>
<h:form>
<h:outputText value="#{fn:length(test.a)}"/>
</h:form>
</body>
</html>
</f:view>
bean
import java.util.ArrayList;
public class Test {
public Test() {
a= new ArrayList();
Object o=new Object();
a.add(o);
a.add(o);
ArrayList a;
public void setA(ArrayList a) {
this.a = a;
public ArrayList getA() {
return a;
I hope this sample came handy.
regards,

Similar Messages

  • How to find the size of an arrayList through Expression Builder.

    Hai OTN,
    How to find the size of an arrayList through Expression. I have a managed bean in View Scope.I am using Jdeveloper 11.1.1.2 with ADF Faces components.
    Managed Bean :
    ArrayList<IllnessEmployeesObj> employeeGridList =
    new ArrayList<IllnessEmployeesObj>();
    JSPX :
    Value="#{viewScope.PandIVH.employeeGridList.size}"
    Error : java.lang.NumberFormatException: For input string: "size"

    Hi Dinil,
    I have provided you with a sample that would show you the how you can get the size of an arraylist
    the sample has a page untitled1 and a bean named test.
    I have run in on jdev 11.1.2 and it is ok, it will be ok on 11.1.3
    after running the sample you will see the 2.
    please remember that you must add the JSTL taglib on the viewcontroller.
    just right click on viewcontroller, go to tag lib select the jstl.
    page
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>untitled1</title>
    </head>
    <body>
    <h:form>
    <h:outputText value="#{fn:length(test.a)}"/>
    </h:form>
    </body>
    </html>
    </f:view>
    bean
    import java.util.ArrayList;
    public class Test {
    public Test() {
    a= new ArrayList();
    Object o=new Object();
    a.add(o);
    a.add(o);
    ArrayList a;
    public void setA(ArrayList a) {
    this.a = a;
    public ArrayList getA() {
    return a;
    I hope this sample came handy.
    regards,

  • How to find the size of a database?

    I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
    Is this possible using simple query?

    francislazaro wrote:
    I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
    Is this possible using simple query?There are many threads related to the same topic,
    http://forums.oracle.com/forums/search.jspa?threadID=&q=How+to+find+the+size+of+a+database&objID=f61&dateRange=all&userID=&numResults=15&rankBy=10001
    HTH
    Aman....

  • How to find the size of the pipe. I mean the total number of bytes/messages available in the named pipe?

    How to find the size of the pipe. I mean the total number of bytes/messages available in the named pipe?
    NAVEEN

    I'm afraid this forum for Microsoft Project Customization and Programming  is not the correct forum for your question. Please Choose correct forum in order
    to get help from experts. I think your question is more relevant to SQL server
    kirtesh

  • How to find the list of applications registered with OID?

    Could some one please help me?
    how to find the list of applications registered with OID?

    Is there any table from which we would be able to see?

  • How to find the size (in Mb) of a project in Aperture 3?

    I do not know a quick way to find the size of the originals e versions in a project in Aperture 3.  Would any one know how to do this?
    Tks
    Pedro

    Take a look in the "More Like This" section in the right-hand column for discussions about this.
    The answer is: you can't.  Aperture is not so simply structured that you can select a group of Images and "weigh" them.
    If needed, your easiest solution is to export the Images as a new Library and include the Originals.  The size of that Library is more than but close to the size of the Originals and the Versions.
    HTH.

  • How to find the size of a Table

    Dear all,
    How can i find the size of a table in a schema and size of the schema also.
    Thanks
    Mahi

    Try out with the help of this package, which will give out the total bytes, unused bytes, calculate the free bytes from total byes-unused bytes.
    dbms_space.unused_space(
    upper(oname),upper(tbname),upper('TABLE'),
    total_blocks, total_bytes,
    unused_blocks, unused_bytes,
    last_used_extent_file_id ,
    last_used_extent_block_id,
    last_used_block
    );

  • How to find the code which processes idocs

    I am looking for a descriptive short document which would ideally give me comlete picture in IDOC processing, transactions used etc.
    E.g
    My XI sends idocs to an RFC port of an ERP system. All I know is message type FIDCC2(found it in message mapping and under a partner profile ias imput parameter in transaction we20 for a partner profile with rfc destination of its own rfc destination i.e. PR1CLNT001)
    . However in this example I do not find source code which process then this idoc(probably as it is original idoc)?
    How to find the code

    Jan
    You can check the documentation and source code of two reports
    RBDAPP01 & RESOUT00   ( https://service.sap.com/sap/support/notes/1333417)
    https://service.sap.com/sap/support/notes/527481
    Few more IDoc related tcode, we05,bd87 etc...
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0087780d-81b0-2a10-eb82-86e1062f1a2d?overridelayout=true
    Edited by: Anindya Bose on Aug 6, 2009 7:34 PM

  • How to find the size of a file or folder

    How can I find the size of a file or folder?
    I am trying to determine the size of my iPhoto and Mail folder.
    It says "Size: --" under general from Get Info.

    It's working fine...
    When you ask for that info, and Finder presents those '--' dashes instead of a value, actually, Finder is calculating the value in background.
    That's something that i recently noticed and wonder why tha heck he needs to do all that work by himself, kinda re-inventing the wheel of file size value "calculus"...
    I posted some thoughts about it here: File / Folder size... How do Finder gets it?
    Will appreciate feedback about this!
    Props!

  • How to find the size of a Oracle 11g table

    I want to find the size of a table in Oracle 11g.
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    --- List all tables sorted by size
    set lines 100 pages 999
    col     segment_name     format a40
    col      mb           format 999,999,999
    select     segment_name
    ,     ceil(sum(bytes) / 1024 / 1024) "MB"
    from     dba_segments
    where     segment_type = 'TABLE'
    group     by segment_name
    order      by ceil(sum(bytes) / 1024 / 1024) desc
    --- List all tables owned by a user sorted by size
    set lines 100 pages 999
    col     segment_name     format a40
    col      mb           format 999,999,999
    select     segment_name
    ,     ceil(sum(bytes) / 1024 / 1024) "MB"
    from     dba_segments
    where     owner like '&user'
    and     segment_type = 'TABLE'
    group     by segment_name
    order      by ceil(sum(bytes) / 1024 / 1024) desc
    /

  • How to find the size of a field

    Can somebody tell how to find the sie of a varchar2 field?
    Thanks.

    SQL> desc global_name
    Name Null? Type
    GLOBAL_NAME VARCHAR2(4000)
    SQL> select global_name from global_name;
    GLOBAL_NAME
    ITFD.XXXXX.CO.XX
    1* select vsize(global_name) from global_name
    SQL> /
    VSIZE(GLOBAL_NAME)
    16

  • How to find page sizes in a document with multiple page sizes

    Hi Ive been given a document that has multiple page sizes in it how do i find the size of each individual page. i tried document setup but that only brings up the size of the first page

    You are going to do that for each page? You might be better off with using the Preflight panel. "Page size" can be flagged as an error, so you get a nice linked list.

  • How to find the info packages which have periodic data selections?

    Hi,
    is there any way we can find the list of infopackages that have data selection enabled only on time? ( say calendar day )
    if not, is there anyway to find the list of infopackages which has data selection?
    Thanks,
    Ravi

    Hi Ravi,
    what do you mean exactly?
    if you are in SE16 or SE11 in the selection screen, you can enable these fields for the selection via menu Setting / fields for selection; then mark FIELDNAME and IOBJNM.
    then enter OBJVERS = 'A'
    and e.g. IOBJNM = 0CALDAY
    or double click in the input box of IOBJNM and select "not equal to" and leave the input box empty in order to see all IPack with a selection on any IObj.
    hope this helps otherwise pls let me know
    Olivier.

  • How to find the size (and sizelimit) BPS web interface

    Hello.
    We have build an application with the SEM-BPS webinterface builder.
    In the past we had problems with the size off this application. After we had added some new tabs in the application the size limit had been exceeded and the web inteface could not been activated. So we had to remove the new tabs into a new webinterface.
    Now we have to add again some new tabs into the webinterface application. That brings up some questions.
    Wat is the sizelimit of the webinterface application?
    Can we change this limit?
    How can we know the size off the current application?
    How can we find out the size of a separate tab in the webinterface? (So that we can make a prediction of the size which will be added to the web interface)?
    Thanks and regards,
    Eldo.

    Trevor.Dennis wrote:
    John, are there already differences?  I thought 13.1 was mainly about retina display support, but I guess there would also be other fixes released while they were at it.
    Yes, definitely already differences. I sympathize with Photoshop instructors (online and offline).
    The headline change was Retina support but that was also made available to non-Cloud versions.
    Other Cloud-only changes in 13.1 are listed here
    http://helpx.adobe.com/photoshop/using/whats-new.html
    http://psd.tutsplus.com/articles/news/cs6_1/
    Non-Cloud CS6 users have been very vocal and disgruntled about some of these changes.

  • How to find the size of data transferred(migrated) in the receiver system

    Hi all,
    I have successfully implemented time-based reduction Process type using TDMS.
    Now, I want to know the size of the data that was transferred to the receiver system. Is there a way to find out about this?
    Thanks ,
    Mohammed Tauseef Ahmed

    Thanks Eddy for the reply.
    The log shows the message Total data transfer volume (KB): 16.055.606
    How do I interpret  16.055.606 KB, doe this mean 16,055 KB or 16 million KB(which does not look possible)?
    Thanks,
    Mohammed Tauseef Ahmed

Maybe you are looking for