Use of label in script?

what is the use of Label in sap script ?

To create labels in SAPSCRIPT, you will have to define multiple MAIN WINDOWS in the Page Window.. try the following steps..
Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
1. Create a page window and assign it to a page.
2. Choose Edit --> Main windows.
A dialog box appears.
3. Enter values in the fields Area width and Area height in accordance with the input guidelines for main windows.
4. Enter values in the fields Spacing and Number in the Horizontal group if you want to use multiple columns. You can ignore the fields in the Vertical group.
5. Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the Horizontal and Vertical groups.

Similar Messages

  • What is the use of labels in scripts?

    What is the use of labels in scripts?
    why it is not possible to create lables in smartforms?
    How can we print different barcodes in scripts and smartfoms?
    Is it possible to create a background logo for a page in script?
    I think we can do this background logo in smartform but in script is it possible?
    Thanks in Advance.
    Regards
    Abhilash.

    1) Labels are used to get
        when u want to do same thing fro diffrent items.
      like when u want to print address for all employess to stick to hike salary envelopes.
    lke when u want price and barcode of matriels to print to metrials.
    2) it is possible to do this in smart form for this we use normal window consept.
    3) and 4) yes it is possible to create background logo in script
    Here is the blog on achieving watermark in SAPScript:
    /people/naimesh.patel/blog/2008/05/22/watermark-in-sapscript

  • Label Graphic Script CS4 Questions?

    Trying to test the label graphic script in cs4. How do I control the font in the label box. Seems to be defaulting to a font I dont want to use. Want to use a simple 9 point font. Is there any further documentation on the use of this script or other cs4 scripts? I have not done much with scrips but think they might be helpful in my workflow.
    Rob

    You need to set up, and select, a paragraph style that you want to use.
    Peter

  • Label on Script ICM

    Hi
    Someone knows, How to configure into the script ICM a node to dial a number or extension?
    In theory with a label node, but how to make the configuration
    Thanks

    Hi,
    using the ICM Config Manager. Tools > List Tools > Label List.
    You might want to configure a label for each peripheral aka routing client (you most likely have one AG/CUCM and a pair of VRU peripherals). Label = phone number. Label type = normal. Don't toch the rest of the form.
    In your script, use the Label node, and add a label for each peripheral (this ensures that wherever the call is, it will get the label).
    G.

  • Backing up files using the label setting.

    I want to know if it is possible to back up files, using the labels setting.

    Perhaps you could adapt this script to do it...
    set itemstomovelist to choose folder with multiple selections allowed
    set listofnumbers to {}
    set err_log to {}
    if itemstomovelist is not equal to {} then
        set lst to {0, 1, 2, 3, 4, 5, 6, 7}
        repeat with i in itemstomovelist
            tell application "Finder"
                get properties of i
                set WIPCheck to (label index of the result)
                if WIPCheck is not in lst then
                    set WIPCheck to false
                end if
                if WIPCheck is not false then
                    set end of listofnumbers to WIPCheck
                    if WIPCheck = 0 then
                        -- do stuff
                    end if
                else
                    set end of err_log to ("Error - " & ((i as string) & "- Could not get Label Index/"))
                end if
            end tell
        end repeat
    end if
    return listofnumbers
    http://macscripter.net/viewtopic.php?id=24193

  • Retain call info using dynamic label

    Hi
    Im using dynamic labels together with vxml app so depending on what e164 number the fromExtvxml variables is populated with the dynamic label diales to these extensions. Only problem with this as you all may know is that after label node in a dynamic label the script cannot continue. As i also need to have queuing if the dialed out phones do not answer. How could this be accomplished? Is there any way to use last label to be a dialednumber plan pattern or something else? I could for some smaller customers use a separate dnis / script for queuing but it will not fit all needs in the long run.
    Sent from Cisco Technical Support Android App

    I solved it. It works perfectly fine to do queuing after a dynamic label. Dont know why others says it does not work
    Sent from Cisco Technical Support Android App

  • Tables and structures are used in a standard scripts

    how to find which tables and structures are used in a standard scripts?
    pls explain step by step process...
    Edited by: abap on Jun 21, 2008 4:36 PM

    Go to Transaction SE80, Select Program and paste that program name below..
    Then drop down the tree of that program...then you will find option " Dict. Structures"..
    Here you can find the tables which has been you for that transaction / program.
    Regards,
    Santosh

  • Using a UNIX shell script to run a Java program (packaged in a JAR)

    Hi,
    I have an application (very small) that connects to our database. It needs to run in our UNIX environment so I've been working on a shell script to set the class path and call the JAR file. I'm not making a lot of progress on my own. I've attached the KSH (korn shell script) file code.
    Thanks in advance to anyone who knows how to set the class path and / or call the JAR file.
    loggedinuser="$(whoami)"
    CFG_DIR="`dirname $0`"
    EXIT_STATUS=${SUCCESS}
    export PATH=/opt/java1.3/bin:$PATH
    OLDDIR="`pwd`"
    cd $PLCS_ROOT_DIR
    java -classpath $
    EXIT_STATUS=$?
    cd $OLDDIR
    echo $EXIT_STATUS
    exit $EXIT_STATUS

    Hi,
    I have an application (very small) that connects to
    our database. It needs to run in our UNIX environment
    so I've been working on a shell script to set the
    class path and call the JAR file.
    #!/bin/sh
    exec /your/path/to/java -cp your:class:paths:here -MoreJvmOptionsHere your.package.and.YourClass "$@"Store this is a file of any name, e.g. yuckiduck, and then change the persmissions to executechmod a+x yuckiduckThe exec makes sure the shell used to run the script does not hang around until that java program finishes. While this is only a minor thing, it is nevertheless infinite waste, because it does use some resources but the return on that investment is 0.
    CFG_DIR="`dirname $0`"You would like to fetch the directory of the installation out of $0. This breaks as soon as someone makes a (soft) link in some other directory to this script and calls it by its soft linked name. Your best bet if you don't know a lot of script programming is to hardcode CFG_DIR.
    OLDDIR="`pwd`"
    cd $PLCS_ROOT_DIRVery bad technique in UNIX. UNIX supports the notion of a "current directory". If your user calls this program in a certain directory, you should assume that (s)he does this on purpose. Making your application dependent on a start in a certain directory ignores the very helpful concept of 'current directory' and is therefore a bug.
    cd $OLDDIRThis has no effect at all because it only affects the next two lines of code and nothing else. These two lines, however, don't depend on the current directory. In particular this (as the cd above) does not change the current directory for the interactive shell your user is working in.
    echo $EXIT_STATUS
    exit $EXIT_STATUSEchoing the exit status is an interesting idea, but if you don't do this for a very specific purpose, I recommend not to do this for the simple reason that no other UNIX program does it.
    Harald.

  • How to retrieve data from a function module and use it in sap script??

    I have a report program, which calls a function module. This function module internally calls an include program. In this program, I have a variable which is to be used in the sap script. How can I send this variable to the sap script

    Hi,
    In your case, Include prog is part of FM, no need to treat it as an Entity.
    Now, Your Answer -
    In SCRIPT - IN Page Window -->
         PERFORM GET_MVAT_TIN IN PROGRAM Z_SCRIPT_PERFORMS_ABAPDB3
         USING &VBDKR-KUNRE&
         CHANGING &STCD1&
         CHANGING &STCD2&
         ENDPERFORM
         IF &STCD1& <> ' '
         <B>MVAT Number :</> &STCD1&
         ENDIF
    Then go to SE38 --> Creat prog with type - Subroutine pool
    In that Write FORM statement for this PERFORM.
    FORM get_mvat_tin TABLES inttab STRUCTURE itcsy
                             outtab STRUCTURE itcsy.
      DATA : v_kunre TYPE kna1-kunnr,
             v_stcd1 TYPE kna1-stcd1,
             v_stcd2 TYPE kna1-stcd2.
      LOOP AT outtab.
        CLEAR outtab-value.
        MODIFY outtab.
      ENDLOOP.
      READ TABLE inttab INDEX 1.
      v_kunre = inttab-value.
      IF v_kunre CA sy-abcde.
      ELSE.
        UNPACK v_kunre TO v_kunre.
      ENDIF.
       " Here You can take your Funcion module ***************************
      SELECT SINGLE stcd1 stcd2 FROM kna1 INTO (v_stcd1, v_stcd2)
                                         WHERE kunnr = v_kunre.
      IF sy-subrc = 0.
        READ TABLE outtab INDEX 1.
        WRITE v_stcd1 TO outtab-value.
        MODIFY outtab INDEX 1.
        READ TABLE outtab INDEX 2.
        WRITE v_stcd2 TO outtab-value.
        MODIFY outtab INDEX 2.
      ENDIF.
    ENDFORM.                                

  • How to make use of label printing in sap smartforms

    Hi Dear,
    How to make use of label printing in sap smartforms.. I need to print four records from internal table into sap smart forms. It will
    come as four labels.All page should follow the same procedure... How to do...please help me..
    Regards,
    Nikhil

    Hi,
    Please go through below link, would be helpfull for you.
    [http://help.sap.com/saphelp_nw04/helpdata/EN/6b/54b4b8cbfb11d2998c0000e83dd9fc/frameset.htm]

  • Best practice for using anchor labels?

    I am looking into using anchor labels for the first time and
    I am thinking I cant use them for this site because I am using xml
    and other variables that are being passed in on the first frame but
    maybe there as a chance that it still works. So I would like to
    know the best ways to use anchor labels. Someone who has used them
    please let me know.
    Thanks,
    Randy

    I've used anchor tags in Dreamweaver a lot, but never in
    Flash

  • [Solved] How to adjust parameters of an SSIS package in SQL Server when using an SSISDB execution Script (=SP)

    Hello,
    I created a package in Visual Studio Integration Services, where it runs successfully.
    I then deployed it to SQL server 2012. Here to it runs successfully, too.
    Then I changed the script in that I exchanged two variables for two parameters - doing the same thing.
    I noticed that in VS no dialog window comes up where I could change the value of the parameters; here obviously I am expected to set them in Visual Studio.
    However, in SQL Server 2012 the dialog window does come up when I execute the package. I can then change the value of my two parameters and the package runs OK, giving me the expected results.
    Now I created a script in SQL Server from which to execute the package. Do I have to change the script every time when I want it to run with different values for the parameters?
    So far I have not even found how to feed different values for the parameters into the package by using the script. Or could I tell the script somehow to bring up the dialog window for changing the parameters?
    How can I set/change the package parameters by using an SSIS execution script in SQLserver?
    Or how could I bring up the dialog window thru the script?
    Would s.o have an example?
    Help is greatly appreaciated. 
    Thank you
    Andreas

    Hi,
    I found out by myself and leave the answer here should s.b. else wonder about the same issue.
    Look at this:
    Declare
    @var0 sql_variant
    = 1
    Exec
    [SSISDB].[catalog].[set_execution_parameter_value]
    @execution_id,
    @object_type=30,
    @parameter_name='MaxPosition',
    @parameter_value=@var0
    Declare
    @var1 nvarchar
    = 'x'
    Exec
    [SSISDB].[catalog].[set_execution_parameter_value]
    @execution_id,
    @object_type=30,
    @parameter_name='NameContains',
    @parameter_value=@var1
    Now, what is important and was not evident to me is:
    1) The variable you use for the parameters - here var0 and var1 must match in their data type the corresponding parameter used in the package.
    2) The @parameter_name must match the corresponding parameter name in the package.
    3) The value that is being passed to the respective package parameter is the value you specify in the Declare statement. So in my case a string x and an int 1 is used.
    4) Of course the @object_type must be set to 30 for package parameters 
    Then the script runs the package with adjusted parameters.
    To many this might be evident, to me it was not.
    Cheers
    Andi
    Andreas

  • Development on SharePoint on-line using JavaScript in an Script Editor

    Hi,
    I’m doing a SharePoint development on SharePoint on-line using JavaScript in a Script Editor. I've changed the Calendar NewForm.aspx  in SharePoint designer and I should check the Start Date and End date and I should change the procedure of Save button.
    The problem is I cannot have the component ID’s. I even tried to create new components and rebuild the form but my script sometimes working and sometimes not working.
    I've also tried SharePoint Apps in Visual Studio 2013 and Napa but I have problems  accessing SP lists.
    Could you please advise me?

    Hi Sachin,
    Before I read you reply, I had a "Eureka" moment that I was about to write about.  I got my Javascipt to read my the value that was set in the Filterdropdown!  However, you somewhat burst my balloon with the revelation about how re-sizing
    window changes their size (i.e., Large to Medium, etc)?  It is true, my function does not work when I click the "restore down" icon on the upper right corner of my window, then it works again when I maximize the window.  That sucks : (
         Oh, well.  Thanks just the same!
    For what it is worth, here is the script I wrote:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
        <script language="javascript">
            //This function reads the digest using /contextinfo.
            function ShowAlert()
                alert(document.getElementById("Ribbon.ContextualTabs.MyWork.Home.Data-Large-2-1").textContent);
        </script>
    </head>
    <body>
    What filter am I set to?  Click the Button snd I will tell you... <input type="button" value="Button" onclick="ShowAlert()";/>
    </body>
    </html>
    \Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)

  • Using  FDM Import Action script to import data from ERPI table "tdataseg_t"

    Hi Experts
    I have extracted data from EBS using ERPI and loaded into the intermediate table "tdataseg_t"
    I am trying to use Import Action script within FDM to extract data from "tdataseg_t" table (where ERPI extract data is stored) as i could not use the normal import script.
    Requirement : I have to restrict the custom 2 dimension based on Account dimension.
    Dim Account
    Account = ???? ( i am struck here)
    If Account = 1000 to 5000 Then
    Custom2 = Right( product , 5)
    End If
    but , I could not find the exact syntax to call the Account dimension from the "tdataseg_t" table.
    Please Advise
    Thanks
    Sak
    Edited by: user12292415 on Feb 26, 2012 1:19 AM

    Hello,
    Importing data via a manual script defeats the purpose of ERPi. As it will not provide you an audit trail, drill-through/drill-back, etc.
    Your best bet is to use the default settings by the software. Just because it returns more records than you want is not a bad thing. You can conditionally change/alter the information either in an EventScript inside of FDM or by mapping the un-needed information to IGNORE.
    Thank you,

  • Error while using pppd with chat script.

    We are using pppd with chat script to establish a connection.
    In the process we get the "Protocol reject" error.
    e.g.
    Fri Feb 26 11:35:40 2010 : Serial connection established.
    Fri Feb 26 11:35:40 2010 : Using interface ppp0
    Fri Feb 26 11:35:40 2010 : Connect: ppp0 <--> /dev/cu.usbmodem413
    Fri Feb 26 11:35:43 2010 : Remote message: PAP access OK
    Fri Feb 26 11:35:43 2010 : PAP authentication succeeded
    Fri Feb 26 11:35:43 2010 : Protocol-Reject for unsupported protocol 0x382
    Fri Feb 26 11:35:46 2010 : Protocol-Reject for unsupported protocol 0x382
    Fri Feb 26 11:35:48 2010 : local IP address 161.30.96.51
    Any inputs for resolving this error.

    Some more details:
    Tue Mar 9 13:39:34 2010 : Serial connection established.
    Tue Mar 9 13:39:34 2010 : using link 0
    Tue Mar 9 13:39:34 2010 : Using interface ppp0
    Tue Mar 9 13:39:34 2010 : Connect: ppp0 <--> /dev/cu.usbmodem413
    Tue Mar 9 13:39:35 2010 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x23b22dfd> <pcomp> <accomp>]
    Tue Mar 9 13:39:35 2010 : rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <magic 0x23b22dfd> <pcomp> <accomp>]
    Tue Mar 9 13:39:35 2010 : sent [LCP ConfReq id=0x2]
    Tue Mar 9 13:39:35 2010 : rcvd [LCP ConfAck id=0x2]
    Tue Mar 9 13:39:37 2010 : rcvd [LCP ConfReq id=0x34 <mru 1500> <auth pap>]
    Tue Mar 9 13:39:37 2010 : lcp_reqci: returning CONFACK.
    Tue Mar 9 13:39:37 2010 : sent [LCP ConfAck id=0x34 <mru 1500> <auth pap>]
    Tue Mar 9 13:39:37 2010 : sent [PAP AuthReq id=0x1 user="void" password=<hidden>]
    Tue Mar 9 13:39:37 2010 : rcvd [PAP AuthAck id=0x1 "PAP access OK"]
    Tue Mar 9 13:39:37 2010 : Remote message: PAP access OK
    Tue Mar 9 13:39:37 2010 : PAP authentication succeeded
    Tue Mar 9 13:39:37 2010 : sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 161.30.96.51> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
    Tue Mar 9 13:39:37 2010 : sent [ACSCP ConfReq id=0x1 <ms-dns1 0.0.0.1> <ms-dns1 0.0.0.1>]
    Tue Mar 9 13:39:37 2010 : rcvd [LCP ProtRej id=0x35 03 82 35 01 01 00 10 01 06 00 00 00 01 02 06 00 00 00]
    Tue Mar 9 13:39:37 2010 : Protocol-Reject for unsupported protocol 0x382
    Tue Mar 9 13:39:39 2010 : rcvd [IPCP ConfRej id=0x1]
    Tue Mar 9 13:39:39 2010 : sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 161.30.96.51> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
    Tue Mar 9 13:39:40 2010 : sent [ACSCP ConfReq id=0x1 <ms-dns1 0.0.0.1> <ms-dns1 0.0.0.1>]
    Tue Mar 9 13:39:40 2010 : rcvd [LCP ProtRej id=0x36 03 82 35 01 01 00 10 01 06 00 00 00 01 02 06 00 00 00]
    Tue Mar 9 13:39:40 2010 : Protocol-Reject for unsupported protocol 0x382
    Tue Mar 9 13:39:41 2010 : rcvd [IPCP ConfRej id=0x2]
    Can anyone provide help to resolve the above error ?

Maybe you are looking for