How to add text to the block diagram

How do you add plain text to the block diagram for documentation and can I change the background color to yelllow or something else that may be helpful? see image below
Windows is a 64 bit extension to a 32 bit graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition. Byte that Microsoft!
Solved!
Go to Solution.

Just double-click in an emtpy area and start typing. Use the coloring tool to color the text background.
(there is also a "free label" in the decorations palette, but that seems like a detour )
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How to add text to the summary

    I wanted to add a text to my summ total on my report.
    The forum told me to add a boiler plate text item. However this item displays on every page.. I want it to only display where the summary is. I tried using anchors but it will not attach to the summary item.. Help
    howard

    Hi Howard,
    I guess you are referring to this post:
    How do i add text to the summary
    First make sure that you place the boilerplate exactly where you had (or currently have) the summary column, ie, in the SAME frame or repeating frame.
    Second, open the property inspector for your summary column. Find the properties "Print Object On" and "Base Printing on", and make sure that both of these are the same for your boilerpate as for your summary column.
    Navneet.

  • How to add texts to the Header Text in the PO header

    Hi
    In our system, some already added remarks are appearing in the PO header text field when i open a PO. I wanted to edit the remarks appearing in the PO header as a default. I wanted to know where these predefined texts are filled in. Appriciate if you can help me findout the same.
    Thanks
    Venkat.

    Hi
    In the above said configuraiton path, they have mentioned "Purchase order"  in the source object and the "Header Text" in the source text.
    But i wanted to konw  where the below mentioned genereic Notes/Remarks will be entered. For all the purchase orders, this text is autmatically get copied into the header text. i wanted to know from where it is originating and where we are maintaining.
    "Notes / Remarks :
    Vendor's signature on the attached PO terms and conditions is an integral part of this PO
    All documents should have a PO number
    Invoices should be submitted to the attention of the Finance department
    Please attach a PO copy with all claims to avoid delay in receiving payment.?"

  • How to add text to the standard iPad wallpaper

    We have thousands of iPads in our business, all controlled by MobileIron. We would like to put a message on all the iPads pertains to password policy.
    The way we propose is to take a copy of the standard wallpaper, add the message to that using a Paint like program, then use that as the wallpaper for the lock screen.
    However, we can't find a way to add a wallpaper to those which are stored on the iPad.
    Does anyone know how we can achieve this - or have any other ideas for how to put a message on the lock screen, which can easily be rolled out to many devices.
    Thanks

    You can't add to the wallpapers that are stored on the phone but you can use any picture stored on the device as the lock screen wallpaper. Can't think of any to automate the process, though.

  • How to add text to the start of the subject for email sent to  wiki mail

    When an email is sent to the group wiki email address (groupname-wiki@serverurl), I would like for the subject of the email to have \[groupname-wiki\] added to the beginning of the text. Can anyone suggest to me how to do this? What configuration file do I need to be looking at?
    Thank you.
    Message was edited by: Ixitar
    Message was edited by: Ixitar

    This sort of thing can be done with procmail which is included with the SLS. However, the section for these aliases in /etc/aliases is auto-generated, and it gets reset if you mess with it. I think it's not possible to change it directly.
    What you could do, though, is leave the auto-generated stuff alone, and ignore the main address of the mailing list, and put your own alias in first, that rewrites the subject line before forwarding to the main wiki alias. Then tell people to use the list that you want to have them use.
    For example, two lines in /etc/aliases that you'd use:
    ================
    acmegroup: "| /usr/bin/procmail -m /opt/postfix/procmail-tag.rc {acmegroup} acmegroup-wiki"
    ### DO NOT MANUALLY EDIT THIS SECTION ###
    # This section is automatically generated
    acmegroup-wiki: , teamsserver@localhost, [email protected]
    ================
    You need to learn how to write procmail code, but for this example, the tag.rc file you'd save in /opt/postfix looks like:
    http://assets.cogley.info/procmail-tag.rc

  • How to add text to the carousel images ?

    <%--
      Copyright 1997-2010 Day Management AG
      Barfuesserplatz 6, 4001 Basel, Switzerland
      All Rights Reserved.
      This software is the confidential and proprietary information of
      Day Management AG, ("Confidential Information"). You shall not
      disclose such Confidential Information and shall use it only in
      accordance with the terms of the license agreement you entered into
      with Day.
      ==============================================================================
      Carousel component
    --%><%@include file="/libs/foundation/global.jsp"%><%
    %><%@ page import="java.util.Iterator,
                       java.util.LinkedHashMap,
                       java.util.Map,
                       com.day.cq.commons.Doctype,
                       com.day.cq.wcm.api.WCMMode,
                       com.day.cq.wcm.api.components.DropTarget,
                       com.day.cq.wcm.foundation.Image,
                       com.day.cq.wcm.foundation.List,
                       com.day.text.Text"
    %><%@include file="/libs/foundation/global.jsp"%><%
        %><cq:includeClientLib js="cq.jquery"/><%
        String xs = Doctype.isXHTML(request) ? "/" : "";
        if (WCMMode.fromRequest(request) == WCMMode.EDIT) {
            //drop target css class = dd prefix + name of the drop target in the edit config
            String ddClassName = DropTarget.CSS_CLASS_PREFIX + "pages";
            %><div class="<%= ddClassName %>"><%
        // initialize the list
        %><cq:include script="init.jsp"/><%
        List list = (List)request.getAttribute("list");
        if (!list.isEmpty()) {
            // config options
            int playDelay = properties.get("playSpeed", 6000);
            int transTime = properties.get("transTime", 1000);
            // todo: make default designeable
            String controlsType = properties.get("controlsType", "bc");
            boolean showControls = "pn".equals(controlsType);
            if (showControls) {
                controlsType = "";
            } else {
                controlsType = "-" + controlsType;
            // first shove all slides into a map in order to calculate distinct ids
            Map<String, Slide> slides = new LinkedHashMap<String, Slide>();
            Iterator<Page> items = list.getPages();
            String pfx = "cqc-" + Text.getName(resource.getPath()) + "-";
            while (items.hasNext()) {
                Slide slide = new Slide(items.next());
                String name = pfx + slide.name;
                int idx = 0;
                while (slides.containsKey(name)) {
                    name = pfx + slide.name + (idx++);
                slide.name = name;
                // prepend context path to img
                slide.img = request.getContextPath() + slide.img;
                slides.put(name, slide);
            %><div class="cq-carousel">
                <var title="play-delay"><%= playDelay %></var>
                <var title="transition-time"><%= transTime %></var>
                <%-- write the actual slides --%>
                <div class="cq-carousel-banners" >
                    <c:forEach var="slide" varStatus="loop" items="<%= slides.values() %>">
                    <div style="${loop.first ? "left: 0px; opacity: 1;" : "left: -1000px; opacity: 0;"}" id="${slide.name}" class="cq-carousel-banner-item">
                        <c:if test="${!empty slide.img}">
                            <a href="${slide.path}.html" title="${slide.title}">
                                <img src="/etc/designs/default/0.gif" style="background-image:url(${slide.img})" alt="${slide.title}"<%= xs %>>
                            </a>
                        </c:if>
                        <h3>${slide.title}</h3>
                        <p>${slide.desc}<br<%= xs %>>
                            <a href="${slide.path}.html">Read More</a>
                        </p>
                    </div>
                    </c:forEach>
                </div>
                <%-- defines the controls --%>
                <c:if test="<%= showControls %>">
                    <div class="cq-carousel-controls">
                        <a class="cq-carousel-control-prev" href="#" style="display:none"></a>
                        <a class="cq-carousel-control-next" href="#" style="display:none"></a>
                    </div>
                </c:if>
                <%-- write the switches, also needed when disabled --%>
                <div class="cq-carousel-banner-switches<%= controlsType %>">
                    <ul class="cq-carousel-banner-switch">
                        <c:forEach var="slide" varStatus="loop" items="<%= slides.values() %>">
                            <li><a class="${loop.first ? "cq-carousel-active" : ""}" title="${slide.title}" href="#${slide.name}"><img src="/etc/designs/default/0.gif" alt="0"<%= xs %>></a></li>
                        </c:forEach>
                    </ul>
                </div>
            </div><%
        } else {
            if (WCMMode.fromRequest(request) == WCMMode.EDIT){
                %><img src="/libs/cq/ui/resources/0.gif" class="cq-carousel-placeholder" alt=""><%
        if (WCMMode.fromRequest(request) == WCMMode.EDIT) {
            %></div><%
    %><%!
         * Container class for slides
        public static final class Slide {
            private final Page page;
            private String img = "";
            private String title = "";
            private String name = "";
            private String desc = "";
            private String path = "";
            private Slide(Page page) {
                this.page = page;
                title = page.getTitle();
                desc = page.getDescription();
                if (desc == null) {
                    desc = "";
                path = page.getPath();
                // currently we just check if "image" resource is present
                Resource r = page.getContentResource("image");
                if (r != null) {
                    Image image = new Image(r);
                    img = page.getPath() + ".img.png" + image.getSuffix();
                name = page.getName();
            public Page getPage() {
                return page;
            public String getImg() {
                return img;
            public String getTitle() {
                return title;
            public String getName() {
                return name;
            public String getDesc() {
                return desc;
            public String getPath() {
                return path;
    %>

    check example BCALV_GRID_08 if still with doubts , come back and i will try help you.

  • How to add text to gif

    Hello, i'm a beginner in photoshop.
    I want to add text to my gif in animation frame, but somehow the text look transparent even though i already use black color for the text.
    Could someone give me tutorial to how to add text to the gif and then make some kind of a subtitle?
    Thanks..

    So, if i want to make the text appear in layer 1-10 only, i only have to put the text layer above layer 10 right?
    Do you mean 'Frame 1 - 10'? If you want the text to appear in Frames 1 - 10, you have to add the text to all frames from 1 - 10 above your image layer.
    But what if then i want to make a new text for layer 11-20? Wouldn't the text appear in layer 1-10 as well? How to separate the text then?
    If you want new text for Frame 11-20, you have to create a text layer in Frames 11 - 20 and change the text that you want to show in 11-20 frames.

  • How do I get the Label for a Front Panel Control to appear in the Block Diagram but not on the Front Panel?

    How do I get the Label for a Front Panel Control to appear in the Block Diagram but not on the Front Panel? On the Front Panel I am making a complex control that consists of a Slider and a Numerical Input box. Both Controls display the same information and either can be used for Input. When one changs, the other is made to display the same value.
     But I only want the Slider to display the Label on the Front Panel, to avoid confusion. On the Block Diagram however, I want both controls to display their Labels so that I know what they are. How do I display the Label for a Control on the Block diagram, but not display its Label on the Front Panel?

    No.  The Label Visible property is separate for the front panel control label and the block diagram terminal label.
    How did you start out with the block diagram's label not being visible?  Whenever I drop a control or indicator, the label is always visible on both the FP and BD by default.  Maybe there is a LabVIEW option that causes new controls/indicators not to have their labels visible by default, but I have yet to find it.  I don't think an item should ever be dropped without the label visible, good LabVIEW coding practice demands that the labels for control terminals on the block diagram be visible so that you know what control or indicator a wire is going to.
    That being said, I have seen a lot of VI's posted where the label for the terminal on the BD is not shown (against good programming practice.)  I've gone to the BD and right clicked to show the label.  Sometimes, the people have an empty label (which will turn off the visibility for both the FP and BD) and I'm forced to add some text of my own into the label so I can figure out what their code is doing.  When I add some text to the label, at that time, I find both the BD and FP labels become visible.
    Are you dealing with controls that have empty labels to start?
    Good programming practices:
    1.  Always have a name for all of your controls, never use and empty label by deleting the text in the label.
    2.  Make the labels unique.  For example, don't have two controls both called Stop.  How do you know quickly know which terminal relates to which control?
    3.  Always show the labels on the block diagram, so you know the function of a control's terminal.  If you want to hide the label on the FP, that's okay.
    4.  If you want a different label to appear on the FP than whatever you actually called the control, then use the caption.  You can hide the label and show the caption.  This is useful if you need to programmatically change what the "label" is on the front panel such if you are making an application that needs to change its user interface such as for a foreign language.

  • How to open the block diagram of the NI ELVISmx

    How to view the program block diagram of the virtual instrument of the function generator, oscilloscope and so on in the NI ELVISmx,, I have seen before, but now I forgotten how to open the block diagram, who know?
    1110340036    jyh

    iOS apps can be added to an iTunes library and thereafter transferred to an iOS device. They cannot be opened directly on a PC.
    epub files can be added to an iTunes library, and thereafter transferred to an iOS device where they can be read with the iBooks application. Files protected with Apple's DRM cannot be opened directly on a PC, though there are programs such as Kindle and Calibre that will open non-protected epub files.
    tt2

  • I am getting blocks of black, vertical broken lines to right of cursor, around applications on desktop and over text on internet. I recently updated from OS X Tiger to Leopard on my G5 powermac. Can anyone advise how to get rid of the blocks of lines?

    I am getting blocks of black, vertical broken lines to right of cursor, around applications on desktop and over text on internet. I recently updated from OS X Tiger to Leopard on my G5 powermac. Can anyone advise how to get rid of the blocks of lines?

    What graphics card is installed?
    Have you looked inside to see if the interior is dusty?
    Is the graphics card dusty?
    If equipped, is the fan on the graphics card turning?
    Leopard uses the graphics card harder than Tiger, so weakness in the graphics card is more easily shown.

  • How can I open a vi and show the block diagram?

    Hi,
    I am opening an vi using "Open VI Reference" and "Invoke Methodpen FP", but I want to open the vi and show the block diagram, but I haven´t found any method (Invoke Method) to do that and any property.
    Any idea?
    Thanks!
    Gracinda

    OK, I can come up with a reason.  I have written a program that will search the entire VI Hierarchy of a program and update all of the descriptions for all VIs with the top level program part #, the name of the top level program that the VI is used in, the company copyright info, the ITAR notice, company address, the name of the engineer performing the update, along with the date and time.  This will also place as a background image on all the VIs, a watermark of the company name, legality stuff and the copyright. It works very slick in that if there are thousands of sub-vis, such as what I'm working on now, it goes through all of them, makes sure the data is there as per company policy without having to open every one of them look at them and update or not whichever the case may be. The one portion that is tough is that the program will detect if there is a description written about what funtion the VI performs and if there is not a description, then it pops up a dialog requesting the user to write a description. The problem is that without looking at the block diagram for the VI, it can be nearly impossible to write a description for the functionality of the VI. So is there a way to programmatically open a VI, show its block diagram (this would only be in the case of a missing description) and then upon completion of the updates, close the block diagram? (I already open and close the VI programmatically in order to read the VI DESC and update as needed, but that is in the background and of course you can't see the block diagram).
    Thanks,
    Dan

  • How To Add Text Outside Of The Spread Sheet Grid?

    The data in the SS has been entered and saved. I want to add text below the grid as there is room to do so.

    Hello
    You may open the Tools palette (with the red suitcase) then select the "huge A" icon to create a text frame in which you will be able to enter text.
    An other soluce would be to create a WP or a Draw document, create a SS frame on it, then copy paste your existing SS into the SS frame.
    At last, enter text in the free space.
    Yvan KOENIG (from FRANCE vendredi 25 août 2006 21:55:19)

  • What is the best way to keep the block diagram/ front panel clean?

    Hello,
    I am relatively new to Labview so I'm not able to tell if I'm overcomplicating my programs or making my block diagram too cluttered. I was wondering if there were some ways to tell whether I could simplify my programming just by looking at it (perhaps only experience helps for these things) ? 
    I have attached my VI here. Currently, it has the capability to monitor the voltage and current from two motors. On display, you can see a indicator with the voltage and current values and there are charts toward the bottom that can display waveforms from different motors with a drop down menu. 
    The front panel is rather clean in my novice opinion, but the block diagram seems messy to me, just at first glance. I foresee a problem occuring in the future however. In the future, I will have to scale the VI to monitor 50 motors. All the programming will be the same as the one I have now, except it will have 50 indicators and unfortunately 50 times pretty much everything. I would like to avoid this, but I'm not sure how I could.
    I am using a USB 6009. I am using its four differential inputs to monitor the voltage and current of two motors. In the future, I will be getting more DAQ units (25 total because 2 motors can be monitored for each DAQ). The new DAQs will help will help with more resource space, but I think complicate things with the additional potential of 24 more DAQ Assistants (as used in my code). 
    Thanks for any help you might be able to provide!

    It usually is mainly experience that will teach you the best methods to make your code look pretty. I don't know anyone who is proud of their first from-scratch application. There are a few resources out there to help with best practices, like this group on ni.com, but you'll learn the most from your own development.
    Your front panel looks great. FPs in general are really up to you. You can make it look as ugly or pretty as you want. When you have some duplicate controls and indicator groups, you should utilize clusters and arrays to simplify. You could use a little bit of cleanup in that regard, but not much. Also, personally, I hate reading red text unless it's a warning of some sort.
    Your block diagram could use some cleanup in a modularity sense. You have a lot of repeated code, which you could consolidate in to a subVI that is used in multiple locations, or in a For loop. A general rule of thumb is to keep your block diagram within a single monitor. You shouldn't have to scroll. Your application is pretty simple, so it's hard to mess it up
    Here are some specifics about your block diagram:
    Right click your terminals on the block diagram and uncheck "View As Icon". You're welcome.
    Duplicate operations on each waveform "(x*2-4)/16": create subVI and/or run the waveforms through a For loop.
    You do a lot of 2-element arrays and then indexing. Just replace those with a Select node based on the numeric.
    All of your code is running every time, including your property nodes at the bottom, which is unnecessary. As you learn LabVIEW architectures, you will learn how to bypass this with initialization and exiting code, but for now you should put a case structure around those for only when the motor numbers change.
    I'm not sure how you're timing your main loop, but you should put a delay in there because you don't need the DAQmx node to be pulling as fast as your CPU will allow.
    There are free intro videos you can watch to learn what NI would suggest in terms of coding and teach you some of the basic features and such. Here's a three hour course, and here's a six hour course.

  • Can we edit the icon that represents our XControl on the block diagram?

    I created an XControl in LabVIEW 8.5 (and 8.2.1), and I did add custom icons to all the typedefs and VIs associated with it.  However, when I drop it on the front panel, I get a generic-looking icon representation on the block diagram.  However, when I create a simple typedef and drop that on the front panel, I get the typedef's icon framed in the datatype-specific border on the block diagram.  Perhaps I missed something about how do edit that guy.  It's a minor issue, but I'm curious.
    Thanks,
    Dan Press
    PrimeTest Automation

    Right click the XControl itself in the project and select Properties. There you'll see an icon that can edit, which will show up on the XControl on a block diagram.
    ... Michael beat me to it!
    Message Edited by Jarrod S. on 08-17-2007 04:39 PM
    Jarrod S.
    National Instruments
    Attachments:
    Icon.PNG ‏2 KB

  • Reg:How to add fields to the scripts in detail

    How to add fields to the scripts in detail.
    Plz give me one example help me out.

    Hi
    add fields to the scripts by sending that field between  two &s.
    for example if u want to add lifnr of lfa1 table then pass field like this.
    &wa_lfa1-lifnr&.here wa_lfa1 is work area for internal table it_lfa1.
    if name1 then &wa_lfa1-name1&
    in this way you can add fields to the script under any window.
    i am sending one example program for scripts.
    &--structure declaration--
    TYPES:BEGIN OF ST_LFA1,
          LIFNR TYPE LFA1-LIFNR,
          NAME1 TYPE LFA1-NAME1,
          LAND1 TYPE LFA1-LAND1,
          ORT01 TYPE ORT01,
          REGIO TYPE REGIO,
          END OF ST_LFA1.
    TYPES:BEGIN OF ST_EKKO,
          EBELN TYPE EKKO-EBELN,
          BUKRS TYPE EKKO-BUKRS,
          AEDAT TYPE EKKO-AEDAT,
          ERNAM TYPE EKKO-ERNAM,
          BSTYP TYPE EKKO-BSTYP,
          LIFNR TYPE EKKO-LIFNR,
          END OF ST_EKKO.
    TYPES:BEGIN OF ST_EKPO,
          EBELN TYPE EKPO-EBELN,
          EBELP TYPE EKPO-EBELP,
          LOEKZ TYPE EKPO-LOEKZ,
          AEDAT TYPE EKPO-AEDAT,
          MATNR TYPE EKPO-MATNR,
          NETWR TYPE EKPO-NETWR,
          END OF ST_EKPO.
    &--internal table,work area declaration--
    DATA:WA_LFA1 TYPE ST_LFA1,
         IT_LFA1 TYPE STANDARD TABLE OF ST_LFA1,
         WA_EKKO TYPE ST_EKKO,
         IT_EKKO TYPE STANDARD TABLE OF ST_EKKO,
         WA_EKPO TYPE ST_EKPO,
         IT_EKPO TYPE STANDARD TABLE OF ST_EKPO.
    &--data declaration--
    DATA:TOTAL TYPE EKPO-NETWR,
          V_EBELN TYPE EKKO-EBELN.
    data: v_item(20) type c.
    &--parameter for purchase document number--
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS P_PURDOC LIKE V_EBELN.
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
      PERFORM GET_DATA_FROM_EKKO.
      PERFORM GET_DATA_FROM_LFA1.
      PERFORM GET_DATA_FROM_EKPO.
    &--grand total--
      LOOP AT IT_EKPO INTO WA_EKPO.
        TOTAL = TOTAL + WA_EKPO-NETWR.
        CLEAR WA_EKPO.
      ENDLOOP.
    &--open form--
      CALL FUNCTION 'OPEN_FORM'
       EXPORTING
        DEVICE                            = 'PRINTER'
        FORM                              = 'Z_50886_VENDOR'
        LANGUAGE                          = SY-LANGU
       EXCEPTIONS
         CANCELED                          = 1
         DEVICE                            = 2
         FORM                              = 3
         OPTIONS                           = 4
         UNCLOSED                          = 5
         MAIL_OPTIONS                      = 6
         ARCHIVE_ERROR                     = 7
         INVALID_FAX_NUMBER                = 8
         MORE_PARAMS_NEEDED_IN_BATCH       = 9
         SPOOL_ERROR                       = 10
         CODEPAGE                          = 11
         OTHERS                            = 12
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    &--write form for header details--
      READ TABLE IT_EKKO INTO WA_EKKO INDEX 1.
      CALL FUNCTION 'WRITE_FORM'
       EXPORTING
         ELEMENT                        = 'HEAD'
         WINDOW                         = 'HEADER'
       EXCEPTIONS
         ELEMENT                        = 1
         FUNCTION                       = 2
         TYPE                           = 3
         UNOPENED                       = 4
         UNSTARTED                      = 5
         WINDOW                         = 6
         BAD_PAGEFORMAT_FOR_PRINT       = 7
         SPOOL_ERROR                    = 8
         CODEPAGE                       = 9
         OTHERS                         = 10
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    &--write form for item details--
      LOOP AT IT_EKPO INTO WA_EKPO.
      concatenate wa_ekko-ebeln wa_ekpo-ebelp into v_item.
        CALL FUNCTION 'WRITE_FORM'
         EXPORTING
           ELEMENT                        = 'ITEM'
           WINDOW                         = 'MAIN'
    EXCEPTIONS
       ELEMENT                        = 1
       FUNCTION                       = 2
       TYPE                           = 3
       UNOPENED                       = 4
       UNSTARTED                      = 5
       WINDOW                         = 6
       BAD_PAGEFORMAT_FOR_PRINT       = 7
       SPOOL_ERROR                    = 8
       CODEPAGE                       = 9
       OTHERS                         = 10
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDLOOP.
    &--write form for vendor details--
      READ TABLE IT_LFA1 INTO WA_LFA1 INDEX 1.
      CALL FUNCTION 'WRITE_FORM'
       EXPORTING
         ELEMENT                        = 'VENDOR'
         WINDOW                         = 'ADDRESS'
       EXCEPTIONS
         ELEMENT                        = 1
         FUNCTION                       = 2
         TYPE                           = 3
         UNOPENED                       = 4
         UNSTARTED                      = 5
         WINDOW                         = 6
         BAD_PAGEFORMAT_FOR_PRINT       = 7
         SPOOL_ERROR                    = 8
         CODEPAGE                       = 9
         OTHERS                         = 10.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    &--write form for grand total--
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
        WINDOW                         = 'TOTAL'
    EXCEPTIONS
       ELEMENT                        = 1
       FUNCTION                       = 2
       TYPE                           = 3
       UNOPENED                       = 4
       UNSTARTED                      = 5
       WINDOW                         = 6
       BAD_PAGEFORMAT_FOR_PRINT       = 7
       SPOOL_ERROR                    = 8
       CODEPAGE                       = 9
       OTHERS                         = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    &--close form--
      CALL FUNCTION 'CLOSE_FORM'
       EXCEPTIONS
         UNOPENED                       = 1
         BAD_PAGEFORMAT_FOR_PRINT       = 2
         SEND_ERROR                     = 3
         SPOOL_ERROR                    = 4
         CODEPAGE                       = 5
         OTHERS                         = 6
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *&      Form  get_data_from_ekko
    FORM GET_DATA_FROM_EKKO .
      SELECT EBELN
             BUKRS
             AEDAT
             ERNAM
             BSTYP
             LIFNR
          FROM EKKO INTO TABLE IT_EKKO WHERE EBELN = P_PURDOC.
    ENDFORM.                    " get_data_from_ekko
    *&      Form  get_data_from_lfa1
    FORM GET_DATA_FROM_LFA1 .
      IF NOT IT_EKKO[] IS INITIAL.
        SELECT LIFNR
               NAME1
               LAND1
               ORT01
               REGIO
               FROM LFA1 INTO TABLE IT_LFA1 FOR ALL ENTRIES IN IT_EKKO WHERE
                    LIFNR = IT_EKKO-LIFNR.
      ENDIF.
    ENDFORM.                    " get_data_from_lfa1
    *&      Form  get_data_from_ekpo
    FORM GET_DATA_FROM_EKPO .
      IF NOT IT_EKKO[] IS INITIAL.
        SELECT EBELN
               EBELP
               LOEKZ
               AEDAT
               MATNR
               NETWR
               FROM EKPO INTO TABLE IT_EKPO
               WHERE EBELN = P_PURDOC.
      ENDIF.
    ENDFORM.                    " get_data_from_ekpo

Maybe you are looking for

  • What is the best possible battery configuration on thinkpad x230?

    I am leaning towards buying a Lenovo thinkpad x230 with 6 cell main battery as well as a 44++ 9 cell battery and a 19+ six cell battery configuration (6 +9+6 cell battery configuration). My queries are 1. Can all three of the batteries work in conjun

  • FRAUD DEPARTMENT - Please help me!!!!!

    Im in a major panic and do not seem to have made any progress with the fact that somebody fraudulantly used one of my bank accounts (up until this, the account had been opened but unused, not even taken the card off the original letter it came with)

  • IPad Mini/PDF Question

    Hi All, I was wondering if anyone has come across this problem.  I'm unable to open a specific PDF on my iPad, which I have no trouble opening on my iPhone.  Typically an option to "open in" Adobe pops up, bu on my iPad mini, I don't even have that o

  • Flashack table and partitions??

    Hi All, Can We use the flash back tables with partitions... Any idea or any document about Flash back table and partitions relationship in 11 or 10g would help... Thanks

  • How to make a photo [in iphoto ]into a poster

    i would like to make a photo into a poster using my printer ...i know the printer prints 8.5x11 sections that you trim & past together but i'm not sure how to do this [i have a canon pixma ip14000 printer] imac   Mac OS X (10.4.7)