A small clarification in Scripts

See observe the follwing text which i wrote in a window.
1.&v_var1&   &v_var2&
i have 3spaces between them.
2.&v_var1&      &v_var2&
Now there 6spaces between them.
The output varies from 1 to 3 interms of providing space at time of printing ( Not preview ,actual print on paper ) .
Your help is appreciated.
Message was edited by: raja gurrala
Message was edited by: raja gurrala

Hi
I can't see the space between the variables, anyway you want to define different distancen at runtime, don't you?
You can't use any variables to decide dynamically the long of the space, so you can insert several lines and you'll decide which line should ve used by IF statament:
/: IF ........
AS &v_var1&,,&v_var2&
/: ELSE
AS &v_var1&,,,,&v_var2&
/: ENDIF.
The sign ,, means TAB: every tab is long 3 char. You have to define the tabs in paragraph section.
Max

Similar Messages

  • Small clarification of Opening balance.

    Hi SDN Experts,
    i want small clarification. regarding my report, my report is displaying  Opening Balance, Line Items and Closing balance for given GL accounts, comp code and posting date..
      my problem is it is working good,  for those GL accounts having Line Items, but problem its not displaying O.bal for GL accounts those are not having Line Items.
       but my requirement is i want print all given GL accounts with  0.00 line Items for those r not having Line Items.
    plz anyone can help ,
    Thanks & Regards,
    sudharsan.

    Hi Anji Reddy Thanks for ur quick replay,
      in my report am using, GLT0 for O.balance and BKPF , BSEG for Line Items.
    Regards,
    sudharsan.

  • Need clarification on scripts calling in e-tester 8.5

    How to connect/reuse a script from another script In e-tester 8.5.I will take a scenario
    For suppose take example as gmail,
    In script1 I will give credential and enter into home page,then script 2 will start.which contains all the transactions like inbox checking and script 3 contains logout
    I want to call scripts 1 and 3 from script2.give some clarification how to implement this?
    Anjani

    Hi
    I tried to call the scripts in e-Tester 8.5 as follows
    script 1 is for log in to gmail and connecting to home page
    script 2 is done some transactions in that like compse or inbox checking
    script 3 is simply clicked on logout button
    Here my first script got exectued succesfully but when the job scheduler picks the 2nd script it is asking user credentials again and not executing from that part? so how to over come this?

  • Small Clarification

    Hi all,
    I need a basic clarification.There are many datasources in R/3 (ECC) which has to be replicated as
    3.5 infosurces and we need to modify transfer rules and update rules.
    There are some datasources where we can use them as 7.0 datasources and transaformations needs to be used.
    Please explain which datasources are still 3.5 and which are available as 7.0
    Is there any specific procedure to follow
    Thanks

    Hi Pallavi,
    Once you changed SAPGUI version, Basically there are two types of data source avaliable, those are,
    1). Emulated data source ( called as 3.x data source)
    2). Data source ( 7.x data source )
    These two we can idetified easly based small rectangle box. If you observe closely, If you find any small rectangle box on left side of data source which means this is 3.x data source. otherwise that is 7.x data source.
    Any clarifications most welcome.
    If u r problem solved, assign points.
    Thanks & Regards,
    Kotresh

  • Anybody who wants to create a  small and simple Script for me?

    Hi,
    I am kind of new to Mac and totally AppleScript illiterate, but maybe there is a kind soul amongst all of you that can create an "easy" script for me?
    Well, here it goes:
    Every time I boot up my iMac, two things happen, the first is that I programed the "System Preferences" window to open automatically and display the "Energy Saver" section on the "Sleep" sub-section, so far so good and the second thing is that no matter what I have tried to avoid it, the "Customize" window for a program named "Butler" opens also.
    Now for the request:
    I would like the "System Preference window which displays the Energy Saver section" to change from "Sleep" to "Options" and while being there(in options), to tick(select) AND UN-tick(Un-select) immediately after the "Automatically reduce the brightness of the display before display sleep" Option.
    After doing all of this, the window should be closed.
    Now, is it possible to create a Script that performs all of the above and besides closes the "Butler" window afterwards?
    I know I am asking too much, but I know too that maybe there is someone with a heart of gold and the sufficient knowledge to help me.
    Thanks a lot
    Enrique Diazruanova

    ... Every time I boot up my iMac, two things happen, the first is that I programed the "System Preferences" window to open automatically and display the "Energy Saver" section on the "Sleep" sub-section, so far so good and the second thing is that no matter what I have tried to avoid it, the "Customize" window for a program named "Butler" opens also ...
    From your initial post, it appears that you have the Butler application running and have used it to access one of the Energy Saver opptions already. I don't have that particular application or a laptop to test, but if you've gotten it to access one option it should be able to access another one.

  • Small change to script and it doesn't work?

    This is my working script, and it counts the files of the desktop ready to use elsewhere in a larger script,
    It references the desktop.
    (do shell script "ls -F ~/Desktop | grep '/' | cut -d'/' -f1"
    Now  I need it to reference the folders within a different location so I changed it.
    (do shell script "ls -F ~/Pictures/CompletedFolders | grep '/' | cut -d'/' -f1"
    And I then get the error>
    tell application "Finder"
      count every file of folder "BHS_WK3_PSD"
      --> error number -1728 from folder "BHS_WK3_PSD"
    Result:
    error "Finder got an error: Can’t get folder \"BH_WK3_PSD\"." number -1728 from folder "BH_WK3_PSD"
    How is so different?
    set dtF to paragraphs of (do shell script "ls -F ~/Desktop | grep '/' | cut -d'/' -f1")
    set tc to (count dtF)
    set dialogString to ""
    set folderCount to {}
    repeat with i from 1 to tc
              set folderName to item i of dtF --<:  is the folder name, no need to use text item delimiters -->":"
              tell application "Finder"
                        set end of folderCount to {fName:folderName, fCount:count of (files in folder folderName)}
              end tell
    end repeat
    set totalFiles to 0
    repeat with theFolder in folderCount
              set totalFiles to totalFiles + (fCount of theFolder)
              set dialogString to dialogString & return & theFolder's fName & tab & tab & tab & tab & theFolder's fCount
    end repeat

    Hello
    You get the said error because the folder "BHS_WK3_PSD" is not in ~/Desktop but in ~/Pictures/CompletedFolders.
    E.g., the following script returs Finder object representing ~/Desktop/a because Finder assumes folder "a" is in desktop if its container is not specified.
    tell application "Finder"
        folder "a" --> folder "a" of desktop
    end tell
    If you want to get folder "a" in ~/Pictures/CompletedFolders, you'd need to write something like this -
    set dir to (path to pictures folder from user domain as Unicode text) & "CompletedFolders" as alias
    tell application "Finder"
        folder "a" of dir
    end tell
    Thus, as a whole:
    set dir to (path to pictures folder from user domain as Unicode text) & "CompletedFolders" as alias
    set dtF to paragraphs of (do shell script "ls -F " & dir's POSIX path's quoted form & " | grep '/' | cut -d'/' -f1")
    set tc to (count dtF)
    set dialogString to ""
    set folderCount to {}
    repeat with i from 1 to tc
        set folderName to item i of dtF
        tell application "Finder"
            set end of folderCount to {fName:folderName, fCount:count of (files in folder folderName of dir)}
        end tell
    end repeat
    set totalFiles to 0
    repeat with theFolder in folderCount
        set totalFiles to totalFiles + (fCount of theFolder)
        set dialogString to dialogString & return & theFolder's fName & tab & tab & tab & tab & theFolder's fCount
    end repeat
    return folderCount -- # for test
    Hope this helps,
    H

  • Small clarification how to do

    hellow experts,
    i have one small doubt.
    we have table p0580, in that we have one field with data type as currency.now i want to display it as value of type Character.
    Is it possible or not.
    Pls clarify my doubt.
    with regards
    babu.

    hai,
    my cod is like this
    TYPES: BEGIN OF ty_wage,
             lgart TYPE t512t-lgart,
             lgtxt TYPE t512t-lgtxt,
             betrg TYPE ansal_15,
             END OF ty_wage.
    data :wa_wage TYPE ty_wage.
    CONCATENATE '|' wa_wage-lgtxt '            |' wa_wage-betrg INTO it_output.
            APPEND it_output.
    and it gives error like this.........
    wa_wage-betrg must be character-type data object.
    i did all this in Function Module
    points will be rewarded
    with regards
    babu

  • A small clarification in Exception handling

    Please find the simpe program given below on Exception handling I have asked my query at the end of the program
    This program is about throwing a user defined exception when Command line arguments satisfieds one of the checked conditions. Thanks in advance:
    class myexcep extends Exception
    class exception
    public static void main(String arg[])
    try
    for(j = arg.length-1;j>=0;j--)
    checkfood(arg[j]);
    catch(myexcep e1)
    System.out.println("Exception " +e1);
    System.out.println("I dont like this ifood");
    e1.printStackTrace();
    public static void checkfood(String a) throws myexcep
    if (a.equals("Pizza") | a.equals("Brocolli") | a.equals("Pasta"))
    throw new myexcep();
    System.out.println("I like this food " +a);
    The program complies and runs succesfully. After compilation if I give
    c:> java exception cabbage Pizza sub
    3rd and 2nd arguments are evaluated sucessfully and a exception is thrown, when argument "Pizza" is encountered which is succesfully caught by catch block. SO program ends there without even looking at my first argument cabbage.
    Can anyone give me a suggestion as of how to evaluate String "cabbage".

    Swtich the for and the try ... like this:
        for(int j = arg.length-1;j>=0;j--) {
          try {
            checkfood(arg[j]);
          } catch(myexcep e1) {
            System.out.println("Exception " +e1);
            System.out.println("I dont like this ifood");
            e1.printStackTrace();
        }

  • Small clarification on BAPI_PO_CHANGE

    Dear Experts,
        The problem i am facing is BAPI_PO_Change is calling outputtype. I need to find out where it is calling this.
    Can u please help me on this.
    I am debugging the program but it seems its a lenghty process.Can u help me in this.
    Please.
    Regards.
    VM.

    Dear Vasantha,
                   I don't think so in this BAPI output type is being called or so . You need to maintain the partner profiles as Vendor and pass the same in the structure BAPIMEPOADDRVENDOR , field being COMM_TYPE as the communication type or the output medium. I hope this would help you .
    Regards
    Abhishek

  • Small Clarification in Tax Code

    Hi Friends,
             I got a Tax Code For a material from the purchase order (EKPO-MWSKZ).
             Pls help me how to differentiate that Tax Code whether it is a inventory Tax Code or Availment Tax Code.
    with Regards,
    Kumaresh

    U can try and read table T007A for the particular TAX Code...there is field for Tax Type.

  • Decoupled scenario small clarification

    Hi SRM Gurus,
    We are now using the Stand-Alone scenario and now we want to go for Extended Classic scenario for certain Product categories. In this regard I have one doubt which is mentioned below.
    Can we go with local product categories for ECS scenario or not?
    And also please give me some pointers for this scenario.
    Award the points.
    Regards,
    Ram

    check this link
    http://help.sap.com/saphelp_srm50/helpdata/en/0a/baf73a93ad9179e10000000a114084/content.htm
    you can use local categories for ECS
    BR
    Dinesh

  • FPN : A small clarification

    Dear all,
    I have set up FPN between CE 7.1 (Producer) and EP 7.0 (Consumer SP 12). Both were having same user store.
    Now I want to set up another FPN between BI Portal(Producer, EP 7.0 SP16) and EP (Consumer, SP12).
    But the portals are having different user stores. Consumer portal doesn't have all the user id's which exist in the Producer Portal. But the id's will be same if a user has id in both the portals.
    Can I set up FPN successfully with this constraint? Please provide your valuable suggestions.
    Best Regards,
    Aparnna

    Hello Aparna,
    Kindly acess thease links they will surely help u out.
    [FPN|http://help.sap.com/saphelp_nw04s/helpdata/en/5b/9f2d4293825333e10000000a155106/frameset.htm]
    [limitetation|http://help.sap.com/saphelp_nw04s/helpdata/en/5b/9f2d4293825333e10000000a155106/frameset.htm]
    SAP Note 880482
    In this note search for ur Limitation .
    Hope this help's
    Regards.
    Soni Vinit

  • Enhancing standard datasource, small clarification.

    I have gone thru Robert's blog it says
    *"One method of adding user-defined fields is the following: add the required fields to the communication structures (MCVBAK, MCVBAP and so on ) using the append method (via SE11) and then use the LIS customer exits to fill the field.
    For information on enhancing the communication structures, you can see the documentation for the enhancements MCS10001, MCS50001 and MCS60001 provided in transaction SMOD.
    After you enhance the communication structures you can then enhance the extract structure with the relevant field in the customizing cockpit (transaction LBWE), provided that the communication structure is available in the selection. Then you can proceed with the steps described before in the previous bullet."*
    See if in one DS 2LIS_11_VASCL he want to add a field AUDAT and my doubt is how can he add that field to the communication structure so that he can select it from that DS communication structure to the left side, Is it possible can we add what ever fields to the communication structure. I thought we should append the datasource and then enhance the respective function exit rite. Why are we talking about append method via SE11, can anyone please guide what do we mean by appending it throug se11 to the communication structure. What i know is if we do not find the required filed in any standard ds we can append the ds and edit the related include program or use 2 DS's to get the required fields to a single cube on BI side after activating those fields if we know those field names. What is the concept of adding fields to the communication strucute using append method via SE11. Please guide me in detail. Thanks in advance.

    HI,
    I havent seen the blog but initially I guess you are confusing extract structure in R/3 with the communication structure in BW.
    MCVBAK and MCVBAP etc. are not exactly extract structure for the data source its a communication structure for the tables which will be used to extract data from the VBAK and VBAP  and can be used by anyone.
    A data source can be based on more then one tables and therefore may use more then one structure based on this table.This can combine MCVBAK and MCVBAP and many more structure together.
    This is the extract structure you see in LBWE for a particular data source.
    I think to differentiate between these two type structure he would have used the term communication structure and through these structure the extract queue communicates with the tables.
    I guess In 3.5 the point was of giving the look of BW flow same as r/3 for better understanding.
    So one communication structure can be updated by many transfer rules in BW..similary one extract structure can be updated with many rules or structure below it in R/3.
    Dont confuse it with the communication structure in the BW.
    You cannot do any thing related to communication structure in BW in CMOD.
    Thanks
    Ajeet

  • Need small clarification

    Hi Experts,
      I am working with the function module SD_KNVV_MAINTAIN_EXIT. I want to chage this fn module for furthar enhancement. if i clicked the change butten its asking Maintain orginal language or logon language. Which one can i prefer.
    The Orginal lang is DE.
    The logon lang is   EN.
    Any plz advice this.
    Thnx,
    Mohana

    HI,
    Use the logon language to maintain.
    Regards,
    Subramanian

  • Require small clarification on scheduler

    We have a scheduler which runs for every 2min and 5hours a day. From my observation it is find that these schedular are running fine for some duration of time. But after that,the status of scheduler is running but couldn't see any log for that. Even if I make it INACTIVE and run it again it doesn't run.
    If we create a new scheduler again and if we run the new scheduler,then its working fine.
    What may the reason that the old scheduler stops running and doesn't run again even if we start it ??

    If the task is throwing an exception which is not handled and goes up the stack to the quartz scheduler class, it can block the thread.
    I would say to check the log file (also see if you have the correct loglevel) for such exceptions.
    Btw, is it a standard task ? or a custom one ?
    Octavian

Maybe you are looking for

  • Crystal Enterprise 9 and VS2002

    Good night staff,  I have a problem with Crystal Enterprise 9  I'm using a server for the Reporting of Crystal and a client machine to receive the reports generated.  Server: Windows Server 2000  Client: Windows XP 2002 Service Pack 3  The problem is

  • N8 menu button not woking correctly

    If i press the menu button when the device is locked it works fine and brings up the clock. However when i press the menu button on the home scrren the menu does not appear. How should i go about solving this problem?

  • Terms and conditions for InDesign plugin for B2B?

    Hello Community, we are developing a commercial plugin for Adobe InDesign for B2B. For this purpose we need some information about how to write terms and conditions for Adobe InDesign plugins. Which requirements should we write in the terms and condi

  • Organising CLass Files

    Hi guys and girls, Up until now I have just need to import standard flash classes into my projects, but now I am at the stage where I am needing to create my own classes......just wondering if someone has a view on the best way to store the external

  • Speech recognition not working properly!

    I just started trying out the speech recognition tool in Snow Leopard and I seem to be having problems with it. When I calibrate it (using the internal mic) it works fine and understands those phrases perfectly but when I actually say the exact same