Positioning a box dynamically into a window

Hi,
I have a problem with a sapscript:
Can I print a box (or a grid) after the current row?
Can I read the current row?
Thanks

Hi,
U can print a box after current row.
/: BOX XPOS '0' MM YPOS '6.50' MM WIDTH '188' MM HEIGHT '0' MM FRAME 10 TW
/: BOX XPOS '0' MM YPOS '0' MM WIDTH '0' MM HEIGHT '6.50' MM FRAME 10 TW
Give this in text editor.
Yes u can reday current row...also
p0008-lga01 - From Field
p0008-lga02 - Next Field
l_lga01 - Holds the value
DO 40 TIMES VARYING l_lga01 FROM p0008-lga01 NEXT p0008-lga02
ENDDO.
DO ... VARYING dobj FROM dobj1 NEXT dobj2 [RANGE range].
  [statement_block]
ENDDO.
Thanks,
Neelima.
Press F1 you can get the information & Example

Similar Messages

  • Printing of Boxes dynamically in main window

    Is it possible to provide some conditions in SAPScript (form) to add boxes depending on the presence of different number of document numbers?i.e if there are 10 document numbers 10 boxes to be provided.Can this be handled in Main window of the script?

    Hi,
    You can hnadle this,
    You need to write a perform in the Script. and get the No of records which are printed in the main window according to that maintain 2 variables in that whcih we use the window size in the layout.
    in the Main windoe element, write as
    BOX WIDTH '1.2' CM HEIGHT <b>&HEIGHT&</b> CM FRAME 10 TW
    BOX WIDTH '9.5' CM HEIGHT &HEIGHT& CM FRAME 10 TW
    BOX WIDTH '11.5' CM HEIGHT &HEIGHT& CM FRAME 10 TW
    BOX WIDTH '13.5' CM HEIGHT &HEIGHT& CM FRAME 10 TW
    BOX WIDTH '15.9' CM HEIGHT &HEIGHT& CM FRAME 10 TW
    BOX WIDTH '19.1' CM HEIGHT &HEIGHT& CM FRAME 10 TW
    Height field should be in the TOP of the Driver program , i mean it should be a global field. and maintain this Height according to your requirment.

  • How to print text into different boxes in a main window

    Hi,
         I divided the main window into 5 windows using boxes.
         Now how can I print different data into each of these boxes.
         The data comes from a print program .
      Please suggest.

    Hi
    In smartforms you can create a template object or a table object and set the boxes.
    after you'll create the text object into the templeate and set on which box the data will write.
    best regards
    Marco

  • Anybody having trouble pasting texture into the opacity masks box in the transparency window?

    Very frustrating, works sometimes, sometimes doesn't. When I cut and paste the texture into the "black box" in the transparency window it doesn't copy and appears white on my document.

    this is what I should get in the newest illustrator, but this was done in CS5 - I'm familiar with this process... just don't know why it works sometimes in the newest illustrator and sometimes it doesn't, it's frustrating.

  • Can ARD 3 be used for users who want to remote into a windows based server?

    I have a couple users at the company I work at who will need to be able to remote into our Windows Server. These users all have Macs and will have to go about remoting in differently. I have done some research on Apple Remote Desktop but i am unsure if it fits my users needs. If I have someone download and install this software on a mac, will they then be able to remote into a windows based server using an IP address? that is my goal in mind  could get some help on this one I'd appreciate it.
    Thanks,
    - Rich

    I'm referring to what windows can do via Remote Desktop connection.
    You open up the RDC dialog box, enter an external IP address (if working remotely) or a server name if working internally and connect right to the machine. Ideally i want my users to be able to log into our terminal server and be able to use a program remotely. they will have to log on to this server with company credentials. Basically from a mac, connecting up to a Windows Server and remotely logging into it to perform tasks.
    I'm really just trying to find an easy way to do this for my user's with MAC's since it is not as straightforward as in windows. I cannot test anything out at home since i do not own a mac so i come to the community to see if you guys have had the same kind of situation before.
    ARD was the first peice of software that looked like it might fit my needs but if it doesn't is there anything out there? is it for free or for a cost? any help is greatly appreciated. Thanks.
    - Rich

  • How to populate data in drop down box dynamically in adobe form?

    Dear Experts.
    I am new to adobe interactive form can anybody please tell me how to fill data in a drop down box dynamically? I am using webservices method.
    Thanks in advance.
    Chitta Ranjan Mahato
    Edited by: mahato123 on Aug 5, 2011 12:16 PM

    you can create a method to populate the context attribute that you are using to map to your dropdown box.
    DATA: node_info TYPE REF TO if_wd_context_node_info.
    DATA: it_table TYPE wdr_context_attr_value_list.
    ** select your dropdown data into it_table and pass it to your context attribute.
    ** here, mine is call PROJ_TYPE - the values should appear in your dropdown.
      node_info->set_attribute_value_set(
         name      = 'PROJ_TYPE'
         value_set = it_table ).

  • How to install Windows on MAC? (Can't see the check box "Install or remove Windows 7 or later version" on Boot Camp Assistant)

    I want to install Windows 7 on my MBP mid 2012 but in Boot Camp does not appear the check box: "Install or remove Windows 7 or later version". I continued with making the USB bootable with Windows 7 but then when I restart and boot with the USB I still can't install Windows because then I receive an error: ""Windows cannot be installed on this disk. The selected disk is of GPT partition style."  
    From OS with Boot Camp I didn't manage to make a partition for Windows instead I made one with Disk Utility (formated FAT).
    After booting from USB that partition was also formated into NTFS necessary for Windows. Still the same error.
    Any idea how to install Windows on my MAC?

    My Windows copy is a X64.
    MBP mid 2012 with Mountain Lion 10.8.3.
    Model Identifier:          MacBookPro9,2
      Processor Name:          Intel Core i5
      Processor Speed:          2.5 GHz
      Number of Processors:          1
      Total Number of Cores:          2
      L2 Cache (per Core):          256 KB
      L3 Cache:          3 MB
      Memory:          4 GB
      Boot ROM Version:          MBP91.00D3.B08
      SMC Version (system):          2.2f41
    Should have:
    MacBook Pro (13-inch, Mid 2012)
    MacBookPro9,2
    MBP91.00D3.B08 (EFI 2.9)
    If you are refering to this I tried to update the EFI version (I see only SMC version 2.9 as a diferrence of what I have)  but on installing I received an error: "This software is not supported on your system."

  • HT1925 When i plug my iPhone 4S into my Windows laptop, it won't connect to my laptop or iTunes, how do i fix this program? Thanks!

    Everytime i plug my iphone 4s into my windows laptop, usually it comes up with a small box saying 'installing device' but now it comes up with a box saying 'usb device not recoginised'. i have 4 usb ports in my laptop and i have tried plugging my iphone into each one, but it comes up with the same message. After a while it will charge my phone and connect to my laptop but it wont connect to itunes.
    Are there any solutions to my problem which doesnt include me deleting itunes because i dont want to loose my music.
    Thanks

    i have icloud but does that backup everything thats on my phone currently? even music that i have purchased on my phone thats is on my itunes? pic, contacts, apps?

  • Can we separate the profiles into different Window...

    I'm talking about the profiles pictures/webcam that resize themselves based on who's talking. I'm trying to stream and I need to pull two people's webcam off of the Skype call page but when it constantly resizes itself it makes it terribly difficult. Is it possible to turn off the resizing functionality or separate the webcam feeds into separate Windows?

    Switch the Dynamic View mode off:
    http://community.skype.com/t5/Windows-desktop-client/Side-by-side-by-side/m-p/3493187#M291278

  • Drawing boxes dynamically in the script

    Hi All,
             I have requirement in SAP script. iam getting the data from different elements and it has to displayed in the table format.after column header i need to draw the box and i have to print the data as in the format of boxes. iam placing box command in the first element but iam not getting the boxes for all data it is printing only on the top of the page. so please suggest the solution for drawing boxes dynamically .
    Thanks and Regards
    D.Ramesh

    I have handle a similar situation with box.That is drawing dynamically based on no of  items.
    If there are 2 items,the box height for 2 items will be displayed and if there are 10 itmes then box height for 10 items will be displayed.
    Only thing is u have to calculate the no of records and multiply with some sutable constant.Pass this content into varible declared in character format and use it in in box command as height.
    BOX XPOS '0' CM WIDTH '18.5' CM  HEIGHT &G_F_COUNT20& CM  FRAME 2 TW
    Here G_F_COUNT20 is varible.
    Try this way and let me know if u face any problem.
    Regards

  • Display  BOX  Dynamically

    Hi Friends,
    Is it possible to create BOX dynamically( i.e
    changing the positions each time .) in SAP sciprt .
    I had defined the parameter X_START Y_START  for XPOS and YPOS and passing the values to those parameters .
    But  it is not printing the BOX .
    Thanks ,
    Siva

    Hi
    Write like this
    BOX XPOS 1 CM YPOS 1 CM WIDTH 18 CM HEIGHT 1 CM FRAME 10 TW INTENSITY 10
    refer this link
    http://hemanth.info/sap/sapscripts/sap%20script%20controls.pdf
    Regards
    Shiva

  • Positioning a box

    I am having trouble positioning a box underneath the
    horizontal spry drop down menu bar. I set the positioning top to 0
    pixel. the problem is that the box goes underneath the menu bar
    rather than below it. How can i fix the issue.
    the problem is only on (Iexplorer on windows).
    Thanks

    Hi,
    U can print a box after current row.
    /: BOX XPOS '0' MM YPOS '6.50' MM WIDTH '188' MM HEIGHT '0' MM FRAME 10 TW
    /: BOX XPOS '0' MM YPOS '0' MM WIDTH '0' MM HEIGHT '6.50' MM FRAME 10 TW
    Give this in text editor.
    Yes u can reday current row...also
    p0008-lga01 - From Field
    p0008-lga02 - Next Field
    l_lga01 - Holds the value
    DO 40 TIMES VARYING l_lga01 FROM p0008-lga01 NEXT p0008-lga02
    ENDDO.
    DO ... VARYING dobj FROM dobj1 NEXT dobj2 [RANGE range].
      [statement_block]
    ENDDO.
    Thanks,
    Neelima.
    Press F1 you can get the information & Example

  • How to position a BOX right after a list?

    Hi all!
    I need to put a box right after list which I am not how long.
    But I do not know yet how to do it because as I know, the BOX command has an XPOS and YPOS parameter which forces me to put position values...
    So how do I do it?
    Thank you!

    Hi,
    You can create one new window and in that window draw the box.
    and display that window only  on last page.
    so  your problem will be resolved...........

  • I am trying to remote into a Windows Server 2003 from a Windows 7 machine and having issues

    I am trying to remote into a Windows Server 2003 from a Windows 7 machine.  It says "The terminal server has exceeded the maximum number of allowed connections".
    My first stop in trying to solve this problem was here:
    [URL="http://www.howtogeek.com/howto/windows/command-line-hack-for-terminal-server-has-exceeded-the-maximum-number-of-allowed-connections/"]howtogeek.com[/URL]
    And it says:
    [I]
    [INDENT]This problem happens because Windows only allows two remote terminal services connections when you are in administrative mode, and you’ve either got two people already on that server, or more likely, you’ve got a disconnected session that still thinks
    it is active.
    The problem with this error is that you have to actually get on the server console to fix the problem if the server isn’t in a domain. ([B]If you are in a domain, then just open Terminal Services Manager and log off or disconnect the sessions[/B])[/INDENT][/I]
    So it seems to suggest that all I have to do really is to run the  Terminal Services Manager but I cannot find it.
    This web site from mssqltips.com [URL="http://www.mssqltips.com/sqlservertip/1981/remote-desktop-error-terminal-server-has-exceeded-the-maximum-number-of-allowed-connections/"](click here)[/URL] says all I need to do is first execute "mstsc /
    admin" from the command line.  But, when I do that, I get a message when I try to remote to the server, that says this: "To log on to this remote console session, you must have administrative permissions on this computer".
    So, what now?  What do you suggest?

    Hi Bobby,
    Yes, it is by design. By default, Windows Server only accepts two concurrent administrative sessions (Administrative Mode). It means that only two administrators can work on the server at
    the same time.
    If you would like more concurrent sessions, you need to purchase RDS CALs, install Terminal Services related server roles with proper configurations on the server.
    Remote Desktop for Administration (server 2003)
    http://technet.microsoft.com/en-us/library/cc785186(v=ws.10).aspx
    What Is Terminal Services?
    http://technet.microsoft.com/en-us/library/cc782486(v=ws.10).aspx
    Terminal Services Configuration
    http://technet.microsoft.com/en-us/library/cc787078(v=ws.10).aspx
    Purchase client access licenses
    http://technet.microsoft.com/en-us/library/3660ac5a-7468-48d3-b7e8-5529de8fb6c5
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • How can I merge all of the new FF windows that are open into one window with multiple tabs? Safari has a merge windows feature that I like. This is really nice when conducting reasearch on multiple sites at the same time.

    When I clik on weblinks they all open into new windows making it somewhat painful to clik on window in the menu bar to go to each new page. I would rather have a feature that would allow me to merge all of those individual windows into tabs within one page.
    == This happened ==
    Every time Firefox opened

    Thank you. That worked. I was able to open 1 window with multiple tabs. Thanks cor-el!

Maybe you are looking for

  • Transfer Object Pattern and Concurrency Transaction Mgmt

    I am developing an application that implements a remote rich client. For performance reasons I have chosen to use the Transfer Object pattern. I have been very successful with this from a performance standpoint, it really paid off. I am using it in c

  • I've lost the camera icon on the start screen.

    When I first started my 4S I had a camera icon next to the slider. It's gone now. How do I restore it?

  • ChaRM: Partner function types

    Hi! I would like to set up ChaRM with Service Desk in Solman. One of the prerequisite is to create business partners. The questions: which partner function will be used within ChaRM? which partner function types will be used within ChaRM? what is the

  • Download an excel file in background mode

    Hi All, I need to download a file from a ABAP  report to the local workstation in background mode. I tried GUI_DOWNLOAD but it is failing in the background. Is there any way to download the excel file in the background. I am thinking of generating th

  • Poor fonts in web pages, cannot change using Tools/Options

    Downloaded firefox 3.6 using windows xp. Web pages show very poor fonts. Unable to change fonts using the Tools/Options.