How to know all the items into a block

Hello everybody.
Im working with Forms and Reports 10G.
A fast question.
I need to know all the items into a block.
I know that with the get_block_property first_record and Last_record I can know the first and last item into a record but
how I can know all the others?
Thanks in advanced and regards to all.
Happy Cristmast

You can the fisrt item in a block by using GET_BLOCK_PROPERTY('BLOCKNAME', FIRST_ITEM);
then loop over the item
LOOP
  vcItem:=GET_ITEM_PROPERTY(vcItem, NEXTITEM);
  EXIT WHEN vcItem IS NULL;
END LOOP;

Similar Messages

  • How to know mb1b move matieral into QI/BLock/unresticted?

    Hi experts
      We need create a report to track movement history for mb1b and check qty receiving/issuing from QI, BLock , Unrestricted
      But there is some movement type like 322, 344, it doens't need input speical movment indctor.
    it will move stock into QI or Block. So any indictor in MSEG, we could know this movement is to place mateiral into QI/block/unresticted? In mseg, any field point that?
      Or we only could check it by movement type ? Since there are many movment history and many movement type , Do we need hard code it in program? eg: 322 is move to Qi,
    Thanks
    Alice

    Hi experts
      I also found one notes from sap.368259 .  Which talk about quantity string, but not sure if this used to identify status qi/block for mb1b? it mentioned stock type already contained in defination of the movement type, but which option? To analyzes the quantity string means quantity string could stand for the stock type ? But don't find the relationship or table for such content.
    Hope to get advice
    Thanks
    Alice
    Noet: 368259
    Summary
    Symptom
    It does not make sense to evaluate goods movements on the basis of the stock type (MSEG-INSMK) because the stock type is not filled in every goods movement:
    in goods receipts with movement type 101, stock type is filled since movement type is stock type neutral.
    in certain movement types (for example, 565, 343), the stock type (blocked stock, stock in quality inspection) is already contained in the definition of the movement type. For this reason, the field 'stock type' is not updated in such goods movements.
    Cause and prerequisites
    Stock type (MSEG-INSMK) is only updated if the information is not already contained in the movement type For example, movement type 563 (GI EntrStBals: QI) automatically posts to the stock in quality inspection. A stock type is not required.
    Solution
    An evaluation of the goods movements based on the stock type cannot be based on the field MSEG-INSMK. For such an evaluation, a customer-specific report is necessary that analyzes the quantity string of the movement in the context of fields MSEG-INSMK and MSEG-ZUSTD.

  • The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar? Also would like to know if the toolbars can be put on the same line to make more room on the page (drag & drop) ??

    The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar?
    Also would like to know if the toolbar can be put on the same line to make more room on the page (drag & drop) ?? Like the menu & bookmarks toolbar could/should fit on same line. This would add more page view...
    Floyd Perry
    Thanks

    Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar
    * Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
    * Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button
    You can only move the content from a toolbar onto other toolbars if all toolbars support that feature. You need to check that in the options of each toolbar.

  • OMB Plus : how to get all the generated messages into a text file ?

    Hello,
    I wrote an OMB TCL script and I would like to know how to get all the messages generated during the exécution into a text file.
    I tried this, but it works only for a puts command :
    set DesProjet ACT_1
    set filename [ open "c:\\temp\\INFDE_010_IMPORT_REPOSITORY_$DesProjet.log" w]
    puts "test"
    Thank you for your help

    Hello Alain, you should try the OMBLOG variable. If you set it inside OMBPlus:
    set OMBLOG c:/temp/mylog.txtthen all the OWB specific commands are logged with their output. By OWB specific I mean all those that start with OMB.
    This is more than what you see in the interface, because:
    - messages inside procedures are logged; you wouldn't see them on std.output when you call a proc
    - variables are resolved, so if you issue the command
    set my_var VERY_IMPORTANT_TABLE
    OMBDROP TABLE '$v_myvar'the log will show:
    OMBDROP TABLE 'VERY_IMPORTANT_TABLE'
    Table dropped
    and you know something is wrong... so OMBLOG is very useful to intercept all manipulations on you repository.
    If what you want instead is a dump of the screen output when you execute a script, I suggest you redirect standard output from the operating system command line. Unfortunately OMBPlus doesn't support all advanced redirection and tracing features of the TCL language.
    Hope this helps, Antonio

  • In the Itunes Wishlist there is no price button that you can psuh to buy the items. So I cant buy my whole wishlist without doing it all seperatly and I dont know the total price of all the items. Please help!

    In the Itunes Wishlist there is no price button that you can push to buy the items. So I cant buy my whole wishlist without doing it all seperatly and I dont know the total price of all the items. Please help!

    Both the button and the total cost appear to have been removed in the current version of iTunes - I don't have them either and other people have posted about it as well. You can try leaving feedback for Apple and maybe they'll be added back in a future update : http://www.apple.com/feedback/itunesapp.html

  • How to use csv file to populate all the items in a form

    Our environment - Forms 6i/IAS 9i on Solaris/8.1.6 database on
    Solaris.
    In the web form I want the user to type in the name of an
    existing csv file(which contains 1 record). Then press a button
    and all the items on the form should be populated with the data
    in the csv file.
    One method is load the data in the csv file into the database
    using sqlloader and then execute a query to populate the form.
    Is there another way - instead of loading the file in the databas
    e? Thanks

    Hi Afroz,
    To be more specific, if the csv file doesn't has header, please refer to this script to add header:
    $csv = Import-Csv d:\haha.csv -Header "UserA","UserXYZ","EmailA"
    Then you can loop this csv file to run the "add-mailboxpermission" cmdlet, I recommend you can test this script before running against production environment, please also note I haven't tested this script:
    $csv = Import-Csv d:\users.csv -Header "UserA","UserXYZ","EmailA"
    foreach($each in $csv){
    write-host "assign fullaccess permission of user $($each.UserXYZ) on mailbox $($each.EmailA)"
    get-mailbox -identity $each.EmailA | add-mailboxpermission -user $each.UserXYZ -accessrights 'fullaccess'
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How do I Select all the items in a document based on SpotColor?

    I'm trying to select every object with the color "CutContour"
    So far I've been trying:
    myDoc.selection = myDoc.spots.getByName("CutContour"); 
    I guess this obviouslly wouldn't work though because myDoc.selection is looking for an array of objects.
    However, I can't figure out how to loop through all the objects in the document and check to see if they contain the SpotColor.
    Any help would be incredibly appreciated!
    EDIT:
    I want to use the Select > Same > Stroke Color , but I heard that using that in Javascript isn't available unless you have CS6 (which I currently don't). Is it true that accessing menu items through scripting is a feature in CS6?

    Thanks for clearing some of that up for me!
    I only need to select path items, and I see that if I do something along the lines of:
    var objects = myDoc.pageItems;
    I can get an array of all the items in my document. However, I'm trying to figure out where to go from here, but the process seems overly complex. I want to loop through objects and see if they are pathitems, and then check to see if they have the color I'm looking for, but I can't find the strokeColor property in the Javascript reference. Also, what about compoundPathItems (closed paths)? If I check for PathItems, will I also get CompoundPathItems?
    EDIT:
    This is what I have so far, however, it is not working correctly /:
    var myColor = myDoc.spots.getByName("CutContour");var arrObj = [];for (var i = 0; i <objects.length; i++) {  if (objects[i].typename == "PathItem" && objects[i].fillColor == myColor) {    arrObj.push(objects[i]);    objects[i].move(layer_Cut, ElementPlacement.PLACEATBEGINNING);  }}
    See, the whole goal is to move all objects with the color "CutContour" to

  • How to create a single 'not null ' validation for all the items in a page ?

    Hi everyone ,
    how to create a single 'not null ' validation for all the items in a page ? I have many textfields . Instead of creating 'not null' validation for each item , I would like to create a a single validation control that will serve the purpose
    Thanks & Regards
    Umer

    Nice1 wrote:
    bob , as u said I have done the following :
    1) under create button , there are 9 items and for each item I have set Required to 'Yes'
    2) under delete button , there is 1 item and have set Required to 'Yes' for the item
    3) defined page validation for 9 items under 'create ' button and have set it to fire when 'create ' button clicked
    4) defined page validation for 1 item under 'delete ' button and have set it to fire when 'delete ' button clicked
    now , when I click 'create' button it even shows for the item under 'Delete ' button that it is a required itemSorry, I didn't see this note. The required template won't work, there is no way to attach it to the button.
    The best solution is as the reply a couple replies up
    Create 2 page type validations as a PL/SQL with code
    1st validation
    :P1_ITEM1 IS NOT NULL and :P1_ITEM2 IS NOT NULL ...... and :P1_ITEM9 IS NOT NULL  include all 9 items
    Set the When Button Pressed to the CREATE button
    2nd validation
    :P1_ITEM10 IS NOT NULL
    Set the When Button Pressed to the DELETE buttonI think that's going to be the easiest way to do it.
    Edited by: Bob37 on Apr 27, 2012 12:02 PM

  • I had to wipe my ipod touch4 this weekend. Now when I sync it, not all the items that were backed up onto icloud are syncing over. How do I make that happen?

    I had to wipe my ipod touch4 this weekend. Now when I sync it to restore everything, not all the items (music, videos, photos) that were backedup on icloud are syncing over. Help?

    What happens when you try to redownload it by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How to get all the values from the dropdown menu

    How to get all the values from the dropdown menu
    I need to be able to extract all values from the dropdown menu; I know how to get all those values as a string, but I need to be able to access each item; (the value in a dropdown menu will change dynamically)
    How do I get number of item is selection dropdown?
    How do I extract a ?name? for each value, one by one?
    How do I change a selection by referring to particular index of the item in a dropdown menu?
    Here is the Path to dropdown menu that I'm trying to access (form contains number of similar dropdowns)
    RSWApp.om.GetElementByPath "window(index=0).form(id=""aspnetForm"" | action=""advancedsearch.aspx"" | index=0).formelement[SELECT](name=""ctl00$MainContent$hardwareBrand"" | id=""ctl00_MainContent_hardwareBrand"" | index=16)", element
    Message was edited by: testtest

    The findElement method allows various attributes to be used to search. Take the following two examples for the element below:
    <Select Name=ProdType ID=testProd>
    </Select>
    I can find the element based on its name or any other attribute, I just need to specify what I am looking for. To find it by name I would do the following:
    Set x = RSWApp.om.FindElement("ProdType","SELECT","Name")
    If I want to search by id I could do the following:
    Set x = RSWApp.om.FindElement("testProd","SELECT","ID")
    Usually you will use whatever is available. Since the select element has no name or ID on the Empirix home page, I used the onChange attribute. You can use any attribute as long as you specify which one you are using (last argument in these examples)
    You can use the FindElement to grab links, text boxes, etc.
    The next example grabs from a link on a page
    Home
    Set x = RSWApp.om.FindElement("Home","A","innerText")
    I hope this helps clear it up.

  • Smart form - Long text in all the items?

    Hello gurus,
    We are using something similar to smart form (I don't know the exactly name, like pretty form).
    So, we are using a long text in the "Item text" by item.
    Sometimes the item can be more than 20 lines in the "Item text" as long text and sometimes not.
    Example: I have a PO with 4 items:
    Item 1 - Without Item text.
    Item 2 - With 20 lines in the Item text
    Item 3 -With 1 line in the Item text
    But, when the PO is printed, the PO form has to all the items 20 lines by item.
    That's mean that if in the first item I don't have item text, the first item is showed with a very long space in blank (space of 20 lines).
    The secont item is showed correctly.
    The third item has one line wrote and 19 lines in blank, like a long space in blank.
    How we can manage this situation in the format?
    How we can program these spaces to see in the format to the first item without the space in blank and to the third item only 1 item and the other 19 lines without being shown?
    Can you help me please a.s.a.p.?
    Thanks for your time and I will wait the answer.
    Regards,
    Sandra Palomo

    Hi ,
    Can you please let me know the solution implemented ?

  • Installing Adobe Creative Suite - NEW 21" late 2012 iMac - Don't want to buy superdrive!! How can I trick the computer into thinking the USB drive is a CD?

    I've got a new late 2012 imac, but I realize yes it doesn't come with a compact disc drive. I have an Adobe Creative Suite CS5.5 install disc with all the information included (serial). I copied the contents of the CD into a USB Flash drive, but I can't get it to install because it is looking for the content on the CD. Since I don't want to have to buy the external Superdrive!! How do I convince the computer into installing adobe via the files on the flash drive?

    Your question makes perfect sense to me. I would contact Adobe Supptrt Services from the contacts listed here:
    http://helpx.adobe.com/creative-suite/kb/install-creative-suite-5-cs5.html
    You will need adobe current serial number.
    I hope you'll post here with your results. I've interested know what happens.

  • How to export all the man page in mac to PDF?

    How to export all the man page in mac to PDF?
    I have tried "man -t cat | pstopdf -i -o ~/Desktop/cat.pdf" but this only output one page.
    How could I dump all the man pages to pdf with one or few command as possible?
    The other question is, I copy all the man pages form /usr/share/man, they are .gz.
    After I unzip them and open with less, texteidtor, ultraeditor, all the formate are weird.
    Is there any tool could open them with the right formate as man does?
    I know the man in linux uses the tool "less" to read man pages. How about mac???

    I use Bwana. Copy all and paste into TextEdit. Then, save it. This is the beginning for diskutil:
    diskutil(8)               BSD System Manager's Manual              diskutil(8)
    NAME
         diskutil -- Modify, verify and repair local disks.
    SYNOPSIS
         diskutil [quiet] verb [options]
    DESCRIPTION
         diskutil manipulates the volume-level structure of local disks.  It pro-
         vides information about, and allows the administration of, the partition-
         ing scheme of disks, optical discs, and AppleRAID sets.
    VERBS
         Each verb is listed with its description and individual arguments.
         list [-plist | device]
                    List disks.  If no argument is given, then all disks and all
                    of their partitions are listed.
                    If -plist is specified, then a property list will be emitted
                    instead of the normal user-readable output.  If a device is
                    specified, then instead of listing all families of whole disks
                    and their partitions, only one such family is listed.  In that
                    case, specifying either the whole disk or any of its slices
                    will work.  The -plist and device arguments may not both be
                    specified at the same time.

  • How to select all the people that are not in any equipe  ?

    Hi,
    I have a nice SQL expression that gives me as a result all the "AGENTS" (people) that are working in an EQUIPE (a team)
    select a."AGENT_ID",
    a."NOM" || ' ' || a."PRENOM" "Nom",
    c.libelle "Equipe",
    a."DATE_EMBAUCHE" "Date embauche",
    a."DATE_DEBAUCHE" "Date débauche"
    from OBSERVATOIRE."AGENT" a,
    observatoire.equipe_agents b,
    observatoire.equipe c
    where a.agent_id = b.agent_id
    and b.equipe_id = c.equipe_id
    order by nom
    Now, how to select all the agents that are NOT working in any "EQUIPE" (team) ?
    I have tried but could not succeed !
    Thank you for your kind help.
    Christian

    Christian from France wrote:
    It is not working because the table EQUIPE_AGENTS does not contains a row if the agent is not into any equipe.
    CREATE TABLE "OBSERVATOIRE"."EQUIPE_AGENTS"
    (     "EQUIPE_AGENTS_ID" NUMBER NOT NULL ENABLE,
         "EQUIPE_ID" NUMBER NOT NULL ENABLE,
         "AGENT_ID" NUMBER NOT NULL ENABLE)
    CREATE TABLE "OBSERVATOIRE"."AGENT"
    (     "AGENT_ID" NUMBER NOT NULL ENABLE,
         "GRADES_ID" NUMBER NOT NULL ENABLE,
         "NOM" VARCHAR2(50 BYTE) NOT NULL ENABLE,
         "PRENOM" VARCHAR2(50 BYTE),
         "DATE_EMBAUCHE" DATE NOT NULL ENABLE,
         "DATE_DEBAUCHE" DATE)
    The only way to "know" if an agent is not into any equipe (team) is to search into the EQUIPE_AGENTS table, and if we do not find the ID of the agent into this table, then we know that this agent is not into any EQUIPE (team).
    I don't know ho to translate this into SQL.And that's what my query does. It uses an OUTER JOIN so that a result record is returned whether or not there is a record in EQUIPE_AGENTS. And the check for EQUIPE_ID is NULL restricts the result set to those where there IS NOT a record in EQUIPE_AGENTS.
    A more traditional way would be to use NOT IN or NOT EXISTS clauses, but they can prove inefficient.

  • How to see all the enterprise services in a Discovery system

    Hi,
    Please let me know how to see all the enterprise sevices in a  discovery system.
    Please let me know how to load the enterprise services into webdynpro from discovry system
    Thanks and Regards,
    Naveen N M

    Hello all,
    I can't figurate how to list all the root directories
    (C:/> , D:/>, E:/> etc.) in a system.
    I know how to recursively check the content of a
    directory and all its subdirectories when a
    predefined path is defined. However what I' d like to
    do is actually give the option to pick one of the
    root directories to start the iteration. I have been
    looking around but I can' really find anything
    helpful.
    If any of you has any idea on how to achieve the
    above objective some clarification would be really
    appreciated.
    Thanks in advance for your help!How to installing the Javax.comm package

Maybe you are looking for