How to find out the current number of rows in a form without navigation

Hi.
Is there any way to count the rows in a form (block) without navigation to the last record?
I am modifying CUSTOM.pll and have to count the rows before user commits changes.
All records are new in this case. Can anyone halp me? Thanks.
Regards
Tomáš

Magoo wrote:
no, such a block-property ^unfortunately^ does not exists.
you can just go to to the block, call the last_record build-in and find out, where the cursor is.
But with this you call restrictred procedures and their are not everywhere allowed ...
If you execute a query on a block, may not all records getting retrieved from database.
For this forms does not know, how many records are really in the block and
for this there is no build-in like get_block_property ( records_count ).It does exist indeed. GET_BLOCK_PROPERTY('BLOCK',QUERY_HITS);
Of course, this will return the number of records that would get fetched to the block (based on the where condition), but not the records with NEW status (i.e new records which are not yet committed).
-Arun

Similar Messages

  • How to find out the Idoc number triggered for any material transfer frm SAP

    Hi Folks,
    Can any body let me know How to find out the Idoc number triggered for any material transfer frm SAP?
    Do we have any navigation for that in MM03?
    Thanks,
    SPMD.

    Hi Shabbirmdpasha,
    If you know the user name then you can find the idoc numbers created by that user. But the problem here is it not only gives the material it gives all the idocs created by that user. Go to SE16 --> table name EDIDS --> here you can fill the approximate date and in UNAME give the userid and execute. This will give all the idocs created by that user. I know it is only a partial solution.
    Also would suggest to post the same in abap forums for more answers:
    ABAP Development
    Regards,
    ---Satish

  • How to find out the IDOC number(urgent)

    hello every one,
    i had recived all the data to BW from R/3 but the request is still running in the system
    for this <b>i need to manually release the IDOC for BD87</b>
    can any one please help me <b>How to find out the Idoc Number in R/3 and In BW for the particular load</b>
    Regards
    Sandy

    hi Siva,
    thanks for ur valuable answer,
    it is showing IDoc num for the succeeded one....
    my present error is Data pack 1 got error and Datapack 2 was success,
    their 3IDocs are their in detail tab all are success
    as per my knowledge it will for the Data pack 2 and it is showing 3different
    how can i find the Idoc which was struck .....
    that need to process manually in BD87..
    please suggest if i am wrong
    Regards
    Sandy

  • How to find out the n number of records inserted??

    In File to JDBC Scenarios, i am inserting n records in Oracle.
    How to find out the n number of records inserted??

    Hi,
    If you are using the statement "UPDATE_INSERT", get the response on element <insert_count>count</insert_count>. It will give you the inserted rows.
    This link can be very helpfull.
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm]
    regards.
    roberti

  • How to find out the current hostname?

    How do I find out the current hostname for a given SoaSuite installation?
    Peter

    You can check the WSDL of any of your BPEL processes on BPEL console.

  • How to find out the serial number of a connected AP

    Hi.
    We are using Cisco Prime Infrastructure Manager 2.0
    My question is: Is there a possibility to find out the serial number of a connected AP?
    Regards
    Markus

    Hi Markus,
    I don't think ,there is any report which can help to get the serial no of AP.
    Inventory( Report >Report Launch Pad> Inventory)  is the ONLY report which gave the below information but NOT the serial no .
    Inventory
    This report allows you to generate inventory-related information for  controllers, access points, and MSEs managed by Prime Infrastructure.  This information includes hardware type and distribution, software  distribution, CDP information, and other statistics.
    *** If anyone knows more deatils on this ,please share with us ***
    Thanks-
    Afroz
    [Do rate the useful post]

  • How to find out the current form name

    Hi all,
    I have to pass the current sapcript form name in the sauroutine pool for some further processing.
    I just wanted to is there any variable, method, or way to find out the current/running Sapscript form name generically so that we can pass it on to subpool.
    Looking forward for your reply.
    Regards,
    Anuja.

    Hi All,
    Many thnaks for your replies.
    Actually in my case the situation is, i have to change in multiple forms.
    I mean the same perform needs to be used in all the forms almost around 20 using the current form name.
    So that perform should be generic. I mean is there any variable/ method or way to get the current form name so that we can pass that to the subroutine pool through form.
    Looking forward for yoour reply.
    Regards,
    Anuja.

  • My laptop was stolen - How to find out the serial number

    Hi
    Is there any way I can find out the serial number of my laptop, which was stolen yesterday? I'd like to log it as stolen with Toshiba but they ask for the serial number.
    Tnx
    Andy

    Hi
    Usually the serial number was placed at the bottom of the unit.
    There is a label which collects all these useful informations.
    You have certainly received many documents with you notebook; i.e. warranty.
    Check it and maybe you will find the serial number somewhere in the list

  • How to find out the page number a cell is on

    Hi folks,
    after importing a XML table into an InDesign document and autofilling it, I need a way to find the page a specific table cell is on.
    I tried to iterate over all cells but it seems that there is no property or so, which tells me which page the current cell is on.
    I really would appreciate any hints how I could tackle this problem...
    TYIA
    Carsten

    @Carsten – try the following:
    myPageNumberStartingWithZero = myCell.texts[0].insertionPoints[0].parentTextFrames[0].parentPage.documentOffset;
    Instead of a number, you could also ask for the "name" property of the parentPage. But this might not be unique…
    Uwe

  • How to find out the current workspace?

    Assume I have a couple of possible workspaces on my harddisc.
    Can I find out for a JDev installation which of them is currently used?
    Peter

    respect...
    you didn't explain yourself properly. I too wondered if you were writing a JDev extension which this is a common question that comes up. Use case is everything when it comes to helping people to understand what you are trying to achieve.
    If you hold your mouse over your application or project file icon in the application navigator it displays the full path of the current workspace/project.
    Brenden

  • How to find out the current index

    Hello Experts,
               How to find the current index and whatever we entered in that table how to ratrieved that entry value.pls give the suggest..

    Hi,
    To get current index write below piece of code in the outbound plug for your F4 help pop up.
    We have to write this in the outbound plug itself otherwise it will not work.
    let me know whethere it worked or not
    cl_chtmlb_config_utility=>outbound_plug_event_info( EXPORTING iv_event_string = lv_event_string
                                                          IMPORTING ev_index        = gv_index ).
    Regards,
    Swapna

  • How to find out the serial number of Satellite M30x

    Over time the serial number has worn away from the bottom of my Toshiba Satellite M30x. Is there any other way I can find out what this is?

    Hello,
    you want to know your serial number / model number but the sticker/manual got lost?
    Here is the solution:
    All of these informations are stored in the DMI of your BIOS and can be read easily with a tool called DMIviewer. (size 146kb)
    This utility can NOT harm your notebook in any way as it is made to READ (VIEW) the DMI only compared to other tools that can do changes aswell.
    It also runs right out of the box without the need for an installation... a must have utility for everybody ;)
    You can download it by clicking the link below:
    http://anonym.shareinside.net/?http://tinyurl.com/yuded9
    After you run the file, click on <DMI--System information (Type-1)> ... here is your info :)
    also check out the entries in <DMI--System Board information (Type-2) for the mainboard serial number.
    Regards
    electrochain

  • How to find out the current VM Version?

    hi
    I want to find out with witch VM Version my java application runs.
    what methods or syntax do I need to get the VM Version as a return value.
    thanx in advance for the replies.

    Hi! Look at the docs for the getProperties() method in the java.lang.System class. It lists several properties related to the VM that you can retrieve at run time.
    Hope this helps!
    Cheers!

  • How to find out the page number of an xml element

    Hi everybody, sorry for my very bad english (french guy! logical). I hope you see what I'm looking for.
    I'm scripting (javascript) an exporting script of every articles from a multi-pages indesign script.
    In fact I could have one or more article in one file, every one of them is on an separate xml element. for each I have to export an xml file named with, first, the page number where appears the xml element, second, the number of exported article.
    I'm success the second purpose, but not the first.
    Someone have an idea ?

    Try this,
    var myDoc=app.activeDocument;
    var root = myDoc.xmlElements[0];
    var docTag = root.evaluateXPathExpression('//doc');
    for(i=0; i<docTag.length; i++)
        var docPos = docTag[i].insertionPoints.lastItem();
        var docFrame = docPos.parentTextFrames[0];
        var docPage;
        try
             docPage = docFrame.parentPage;
    catch(e)
            docPage = docFrame.parent.name;
        alert(docPage.name);
    Vandy

  • How to find out the mobile number of the mobile phone?

    Hi,
    I have a question concerning the mobile number of the mobile phone a pushregistry application is installed on.
    At first start of the program i do a HTTP GET Request to a webserver. I would like to send the mobile number from the mobile phone in order to identifty the request stamps from.
    Thanks

    Are you serious? But you can receive SMS, and you can send SMS, both of them should now where they go to or where they stamp from?
    Can't I use WMA in any way to obtain the number?
    I mean, if I can send an sms to someone then I should be able to determine my mobile number?
    One way to solve this problem: I could send an SMS to a static number, this client sends back an SMS with the receiver number within the payload text..
    but isn't there a more elegant solution?

Maybe you are looking for

  • Changing ITunes Account for Apps

    How do I change my Itunes account for apps? When I go to update my apps, it still has my old account (my password does not work) and I have since created a new account (divorce issues). I have made a new password request for my old account and I do n

  • SYSTEM and SYS password 11g on Windows Vista

    Hello I am having trouble. I do not know my SYSTEM and SYS passwords. I am using oracle 11g on windows vista. I tried to change the passwords but that did not work. I tried this: c:/>sqlplus "/ as sysdba" c:/>show user c:/>passw system then I changed

  • In MSS PCR Send button not working

    Hi, We are trying to implement ESS/MSS 1.0 SP 8 on EP 7.0 SP 11 and ECC 6.0. We are using the application on https. SSL has been configured and is working fine. We are using PCR under MSS, which also runs on https. SSL for ADS has been configured and

  • ITunes Match freezes PC during Step 1!?!?!

    I am running Windows Vista on my PC and purchased iTunes Match to put my music collection in the cloud.  3/4 of the way through Step 1, iTunes freezes and so does my computer.  I have to unplug my computer (which is definitely not healthy for it) and

  • Make a subVI do something on first call

    Hello, I have a SubVI I made and I want it to do one thing the first time it's called and then as long as the program is running it should do another thing.  Right now I have a  "First Call" function wired to it, and that passes it a tru the first ti