Copy SapScript Window to another Form?

Hello,
is it possible to copy a window from an existing SapScript form to another form (on the same client)?
If so, how can this be managed?
Thanks in advance,
  Arne Schultz

Hi Frnds,
We can accomplish this task by following below steps:
1: Go to source window in Script. Click on change editor and make it to New editor then copy    the whole/ ur wish .
2. Come to Target window (In Some other script) do as like above and paste here.
Regards
Yuva Thulasi

Similar Messages

  • Call COPY FILES window dialog from FORMS 6i

    Hello.
    I'm working with FORMS 6i and I need to make script witch will copy all files from CD to HARD DRIVE ...
    Now I'm using this command to call XCOPY DOS command and this working great...
    Win_Api_Shell.WinExec( 'cmd.exe /c xcopy /y /e '||xcopy_sting, WIN_API.SW_SHOWNORMAL, false );
    BUT....
    I have FROM & TO destinations parameters and I want to use windows copy dialog witch will be opened by button press automaticaly..
    ( I mean on SMALL COPY DIALOG WINDOW when you pressing CTRL+C)
    TNX

    You can use a host command to perform the copy.
    declare
    ls varchar2(299);
    begin
    ls :='copy '|| source dir || destination dir ;
    Host(ls);
    End;
    And you can create 2 text items in the form and use the get_file or win_api_dialog to get the directory name.
    Use it in the above
    Rajesh ALex

  • Open window in another form

    Hi, let's say I'm workin on a form an when I press a button another window should open. The problem is that this window is part of another form.
    my question: How can I open that specific window?
    If I use call_form it opens the complete form and not the specific window I want.
    Is there a way to only open the desired window?
    thanks in advance

    D D,
    This is the code to open the called form:
    Declare
    pl_id PARAMLIST;
    pl_name VARCHAR2(10);
    BEGIN
    -- Create parameter list --
    pl_name := 'temp';
    pl_id := get_parameter_list(pl_name);
    IF NOT ID_NULL(pl_id) THEN
    destroy_parameter_list(pl_id);
    END IF;
    pl_id := create_parameter_list(pl_name);
    IF ID_NULL(pl_id) THEN
    MESSAGE('Parameter list creation error');
    RAISE FORM_TRIGGER_FAILURE;
    END IF;
    -- Add parameter to the list --
    add_parameter(pl_id, 'BLOCK_NAME', TEXT_PARAMETER, 'billed_contracts1');
    -- Call the form with the parameter list
    Open_form('Mecoms_custom_billing', ACTIVATE, NO_SESSION, pl_id);
    END;
    In the called form (Mecoms_custom_billing) you have to create the parameter which name is : BLOC_NAME (VARCHAR2(60)), and a When-New-Form-Instance trigger that test this parameter:
    If :parameter.block_name is not null then
    Go_Block( :parameter.block_name ) ;
    End if ;
    Francois

  • Open form in new windows from another form

    hi,
    I have module for departments, and one for employees
    and I have push botton, I need when_button_pressed to open form employees in new window ( to view the employees in that department)
    I used this code
    open_form('Employees')
    but it gives me an error: FRM-30203: No items on block EMPLOYEES.
    FRM-30407: Block must have at least one database item.
    Block: EMPLOYEES
    FRM-30113: Block must have non-query-only database item.
    Block: EMPLOYEES
    Created form file C:\Users\m\Desktop\New Folder\MODULE1.fmx
    and when I click the button I get error FRM-40010 cannot read from employees
    any help would be appreciated

    but I created new module for employeesOk, so make sure that this new module contains a block EMPLOYEES, save the module as EMPLOYEE.fmb and create the fmx. Make sure the fmx is created and is located in a directory listed in the FORMS_PATH in your default.env (assuming you use 10G)

  • How to copy window to another smartform?

    I have a window in one smartform which i want to use in another smartform (no copy of first smartform, so other inputparameters). Because of it's complexity i don't want to write it again. How can you copy a window?
    i get always an error when trying to download a subtree, saying that my cursor is in an invalid position, so i have no idea if that could be the solution.
    thanks on advance
    Guido Bouman

    Hi G. Bouman ,
    Its simple just download smartforms to local drive ....
    and upload whenever u want.....
    if you dont want to download it .... you have another option...follow the below steps it works....
    you create one zform in local object.....
    1) open zsmartform and select window which you want to copy
    2) and press back or f3 button and come out of current form and open zform(local object) ... and right click on page and paste it... it will works...as i ve done in my development....
    if you need any clarification contact me.....
    Dont forgot to Reward me points .....
    All the very best....
    Regards,
    Sreenivasa sarma K.
    Edited by: sharmashree kashi on Mar 26, 2008 3:34 PM

  • How to make qury form and copy one data from one form to another

    Hi,
    i would like to develop a form which is used to query a particular data and copy that data to other form.
    Thanks

    Hi,
    i have to develop two form namely memo and chalan.
    memo will generate by different departments and send to store department to create a chalan.
    first memo data will enter by department and this memo no will send to store department.
    store department will find that memo by find button and data should copy from memo form to chalan form

  • Copying a Window from One Smartform to the Other

    Hello Experts!
    I was wondering if there is a way that I can copy a window and then paste it on another smartform.. it is that simple. I have tried the normal righ clicking and copy and paste but it does not work.
    Thank you,
    Val.

    Hi
    I donot think It is possible. But you can copy a smartform to your own development classes.
    For that you need to do the following things.
    Check the link
    Re: change std invoice smart form?
    Reward if make some sense to you
    Thanks
    Krushna

  • Will i lose my new copy of Windows 7?

    Hello all!
    I am in deep need of advice.
    My WD Green 1.5 TB hard drive crashed, i couldn't get windows 7 to load no matter what. So i brought my PC to a Computer repair shop in the next town over. They charged me for a new hard drive (supposedly a WD Black 2 TB even though it only says 1.5 in the
    properties window of my computer... hmmm) they allegedly cloned my old drive and installed it on my new one. Never said a word about any issues. When i got home i booted it up, and then about 15 minutes later i start getting messages my PC is NOT running genuine
    Windows. So i called them back and told the PC repair techs this, they told me to bring it in, which i did like 5 more times over the next week.
    Finally they tried to blame their failure on the Game mods i installed which is total Bull$#!T but whatever. So i had to go on the genuine Windows website and pay $110 (on top of the $560 the PC repair shop charged me) for a new Windows 7 installation disc
    and new product key. I had to install a fresh copy of windows and lost ALL my 60 games, programs, mods and all the other great things i had running which made using my PC a thing of joy. I accepted my loss and slowly but surely re-installed everything, and
    used my old drive to copy and paste many items to semi-restore my computer to it's former glory. Now i really wanna use the full backup i made before i re-installed my new Windows 7 with the new product key. I used a 1-TB My Passport portable hard drive and
    made a full backup of ALL my files and system just the way i wanted everything, but this was still when my old Windows 7 was showing up as "Non-Genuine"... 
    My question is: If i restore my computer using the My Passport files and system image, will it bring my PC back to having a
    non genuine copy of Windows 7?
    Right now i have genuine Windows installed on the WD Black hard drive with full updates and the works... I called MS spoke to someone in Malaysia who stated i wont lose my new copy of Windows but i dont really believe her as i think she just wanted to get
    me off the phone and not really research the problem, she also stated she would send me a link on how to report the PC repair shop for possibly having stolen my old product key when they supposedly cloned my old drive but she never sent the link...
    Any thoughts or advice? I would be grateful for any advice from a professional. 

    I would almost bet money that the computer shop gave you a counterfeit version of Windows.  Game Mods will IMO NOT cause a Non-Genuine Error.  The best thing to do is to post a Diagnostic of the OS.  Follow the directions below and then post
    your results:
    MGA
    Diagnostic Report:
    To properly analyze and solve problems with Activation and Validation, we need to see a full copy of the diagnostic report produced by the MGADiag tool (download and save to desktop -http://go.microsoft.com/fwlink/?linkid=52012 )
    Once downloaded, run the tool.
    Click on the Continue button, after a short time, the Continue button will change to a Copy button.
    Click on the Copy button in the tool (ignore any error messages at this point), and then paste (using either r-click/Paste, or Ctrl+V ) into your post.
    One
    Issue Per Thread:
    Most Activation and Validation issues look the same, on the surface, but can have many different causes and fixes. This is why we ask for a diagnostic report and this is also why we ask that you create your own thread for your issue (in other words, don't post
    your issue in another person's thread). 
    It just becomes too complicated to try to troubleshoot multiple different issues in the same thread.
    New
    to the Forums?
    Note that if you are new to these forums, you may find that you are unable to post due to a restriction on the inclusion of links and pictures.
    Simply delete the only lines that contain links -  this will allow the remainder of the report to upload (and those lines are not generally
    critical to the report anyhow)
    Please do not read this sentence. Please ignore the previous sentence.

  • How can i print all the contect of the code in sapscript window ? ?

    how can i print all the contect of the code in sapscript window ? ?

    Hi,
    Do you mean that you want to print the ABAP code to SAPscrip form ?
    Svetlin

  • How to get names of all Windows in a Form Application at runtime

    Dear All,
    I want to get the name of all windows in a form module programatically at run time. How to get it?
    Any help or comments will be highly appreciated.
    Thanks in Advance.
    Best Regards
    Bilal

    Hi Francois Degrelle,
    First of all thanks for the response.
    What if I have no items on a content canvas? In my application, I am using content canvas to hold the Image banner and help text of the current form, having no items at all. I am also using tab canvases to hold all items of form. The tabs are displayed on the content canvas at run time. So the tab canvases acts like frames (In my case).
    Now if I am looping through items, it gives me the list of all of the tab canvases. Whereas the tab canvas always has no window assigned, as it is displayed on content canvas which has that Window which I need. Thus I am unable to get the names of windows in my case through the above stated procedure.
    Another option could be if I can get the name of the content canvas upon which the given tab canvas is displayed?
    Any way to do this or some other way to achieve the use case?
    Any help will be highly appreciated.
    Thanks in advance
    Bilal

  • Urgent:Error While calling one form from another form

    Hi,
    i am using a form in which zoom functionality is enabled.From this form if i am clicking view->zoom it should open another form which should accept two parameters from the first form.But whenever i am clicking on zoom its giving the following error.
    FRM-47023:No such parameter named G_QUERY_FIND exists in form
    XX_EMPLOYEE_CONVERSION(Name of the form which i am calling from first form)
    When i am clicking 'ok' then it shows the error
    FRM-40105:Unable to resolve reference to item PARAMETER.G_QUERY_FIND
    Eventhough i have developed my form using template.fmb which uses the parameter G_QUERY_FIND why this error is coming?
    Can anyone suggest a solution for this.
    Thanks in advance

    PARAMETER.G_QUERY_FIND is one of he objects in the APPSTAND.fmb. You will need to Subclass all of the objects in APPSTAND.fmb in your custom form. If you do not have a copy of this file in your FORMS60_PATH, I suggest you put a copy there. If you don't have a FORMS60_PATH specified then I would highly suggest adding this entry to your Forms Home in the Registry. Also, you will want all of the libraries in the AU_TOP/Resources folder as well.
    I also suggest looking at the Oracle Applications Developer's Guide (http://download.oracle.com/docs/cd/B25284_01/current/acrobat/115devg.pdf) as it outlines all of the required objects you must have in your form and reports.
    Hope this helps.
    Craig...

  • Error while copying Z program to another enviroment

    Hi, experts
    I have a Z program into one client's enviroment, which works fine. I tried copying this program into another client's enviroment, and i get the following error message, while syntax check:
    "RC_IN1 must be a byte-type field. (Typ X or XSTRING)."
    And this error is on the following form:
    form xor using rc_in1 type c rc_in2 type c rc_out type c.
      data:
        li_abit type i,
        li_bbit type i.
      rc_out = space.
      if rc_in1 <> space.
        do 8 times.
          get bit sy-index of rc_in1 into li_abit.
          get bit sy-index of rc_in2 into li_bbit.
          if li_abit <> li_bbit.
            set bit sy-index of rc_out to 1.
          else.
            set bit sy-index of rc_out to 0.
          endif.
        enddo.
        if rc_out = space.
          rc_out = rc_in1.
        endif.
      endif.
    endform.
    When I check into one client's enviroment, it does not gives error. Only in THAT client.
    Why is this happening?
    Thanks in advance,
    Brian Gonsales

    Hi,
    are the both client environments hav same version (ECC 6).
    In ECC 6 version type X is not allowed.
    To avoid this problem,
    you need to declare the field of TYPE C.
    you need to get the value from Cl_ABAP_CHAR_UTILITIES.
    Regards
    Sandeep Reddy

  • Windows 7 - Build 7601 this copy of Windows is not genuine

    Hello everyone.
    Im a newbie here so i hope i get this right.
    I have a question about this message on my desktop reading "Windows 7 Build 7601 this copy of Windows is not genuine." ????
    I bought this Satellite c660 at Qatif, Saudi Arabia and now it is here in the Philippines.
    My laptop is Windows 7 Professional 32-bit. It is asking for a product key and i cannot find one. There is no product key sticker in the bottom and i dont know where to get that.
    I've run a diagnostic and i hope this helps.
    Diagnostic Report (1.9.0027.0):
    Windows Validation Data-->
    Validation Code: 50
    Cached Online Validation Code: 0x0
    Windows Product Key: *****-*****-CM74G-RPHKF-PW487
    Windows Product Key Hash: 71BRYMECVaSXedfumfu8zryHJVY=
    Windows Product ID: 00371-177-0000061-85062
    Windows Product ID Type: 5
    Windows License Type: Retail
    Windows OS version: 6.1.7601.2.00010100.1.0.048
    ID: {1E8191EC-15C9-4DC3-8886-55DD7BBA8D84}(4)
    Is Admin: No
    TestCab: 0x0
    LegitcheckControl ActiveX: N/A, hr = 0x80070002
    Signed By: N/A, hr = 0x80070002
    Product Name: Windows 7 Professional
    Architecture: 0x00000000
    Build lab: 7601.win7sp1_gdr.111118-2330
    TTS Error:
    Validation Diagnostic:
    Resolution Status: N/A
    Vista WgaER Data-->
    ThreatID(s): N/A, hr = 0x80070002
    Version: N/A, hr = 0x80070002
    Windows XP Notifications Data-->
    Cached Result: N/A, hr = 0x80070002
    File Exists: No
    Version: N/A, hr = 0x80070002
    WgaTray.exe Signed By: N/A, hr = 0x80070002
    WgaLogon.dll Signed By: N/A, hr = 0x80070002
    OGA Notifications Data-->
    Cached Result: N/A, hr = 0x80070002
    Version: N/A, hr = 0x80070002
    OGAExec.exe Signed By: N/A, hr = 0x80070002
    OGAAddin.dll Signed By: N/A, hr = 0x80070002
    OGA Data-->
    Office Status: 103 Blocked VLK
    Microsoft Office Enterprise 2007 - 103 Blocked VLK
    OGA Version: N/A, 0x80070002
    Signed By: N/A, hr = 0x80070002
    Browser Data-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default Browser: C:\Program Files\Internet Explorer\iexplore.exe
    Download signed ActiveX controls: Prompt
    Download unsigned ActiveX controls: Disabled
    Run ActiveX controls and plug-ins: Allowed
    Initialize and script ActiveX controls not marked as safe: Disabled
    Allow scripting of Internet Explorer Webbrowser control: Disabled
    Active scripting: Allowed
    Script ActiveX controls marked as safe for scripting: Allowed
    File Scan Data-->
    Other data-->
    Office Details: <GenuineResults><MachineData><UGUID>{1E8191EC-15C9-4DC3-8886-55DD7BBA8D84}</UGUID><Version>1.9.0027.0</Version><OS>6.1.7601.2.00010100.1.0.048</OS><Architecture>x32</Architecture><PKey>*****-*****-*****-*****-PW487</PKey><PID>00371-177-0000061-85062</PID><PIDType>5</PIDType><SID>S-1-5-21-3557145390-3644324294-2060978674</SID><SYSTEM><Manufacturer>TOSHIBA</Manufacturer><Model>Satellite C660</Model></SYSTEM><BIOS><Manufacturer>TOSHIBA</Manufacturer><Version>1.60</Version><SMBIOSVersion major="2" minor="5"/><Date>20110707000000.000000+000</Date></BIOS><HWID>4B8C3E07018400F8</HWID><UserLCID>0409</UserLCID><SystemLCID>0409</SystemLCID><TimeZone>Korea Standard Time(GMT+09:00)</TimeZone><iJoin>0</iJoin><SBID><stat>3</stat><msppid></msppid><name></name><model></model></SBID><OEM><OEMID>TOSCPL</OEMID><OEMTableID>TOSCPL00</OEMTableID></OEM><GANotification/></MachineData><Software><Office><Result>103</Result><Products><Product GUID="{90120000-0030-0000-0000-0000000FF1CE}"><LegitResult>103</LegitResult><Name>Microsoft Office Enterprise 2007</Name><Ver>12</Ver><Val>ACD7202654E586</Val><Hash>fFic3JgCreGGRxyF8uMWB4R4Jcg=</Hash><Pid>89388-707-1528066-65261</Pid><PidType>14</PidType></Product></Products><Applications><App Id="15" Version="12" Result="103"/><App Id="16" Version="12" Result="103"/><App Id="18" Version="12" Result="103"/><App Id="19" Version="12" Result="103"/><App Id="1A" Version="12" Result="103"/><App Id="1B" Version="12" Result="103"/><App Id="44" Version="12" Result="103"/><App Id="A1" Version="12" Result="103"/><App Id="BA" Version="12" Result="103"/></Applications></Office></Software></GenuineResults>
    Spsys.log Content: 0x80070002
    Licensing Data-->
    Input Error: Can not find script file "C:\Windows\system32\slmgr.vbs".
    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: 0x00000000
    HealthStatus: 0x0000000000000000
    Event Time Stamp: 3:15:2012 19:39
    ActiveX: Registered, Version: 7.1.7600.16395
    Admin Service: Registered, Version: 7.1.7600.16395
    HealthStatus Bitmask Output:
    HWID Data-->
    HWID Hash Current: MgAAAAEAAgABAAIAAAABAAAAAwABAAEAJJT+lnD3en8mEX4nsL +8NxRgtMToxMDARso=
    OEM Activation 1.0 Data-->
    N/A
    OEM Activation 2.0 Data-->
    BIOS valid for OA 2.0: no, invalid SLIC table
    Windows marker version: N/A
    OEMID and OEMTableID Consistent: N/A
    BIOS Information:
    ACPI Table Name OEMID Value OEMTableID Value
    APIC PTLTD APIC
    FACP TOSCPL CRESTLNE
    HPET INTEL CRESTLNE
    BOOT PTLTD $SBFTBL$
    MCFG INTEL CRESTLNE
    OSFR TOSHIB A+2nd ID
    SLIC TOSCPL TOSCPL00
    SSDT BrtRef DD01BRT
    SSDT BrtRef DD01BRT
    PLEASE anyone help? I am not a techie person and i dont know how to fix this problem. Thank you and regards.

    Now, this is pretty complicated for me to understand but one thing is just clear, this is counterfeit. I have asked help from other Windows7 forums and all they tell me is to report this to Microsoft.
    MANY people have counterfeit installs - very few of them actually know it! And im one of them.
    A large proprtion of counterfeiting is done b vendors who can make a quick buck by buying/building OS-free machines, and installing 'Ultimate' to unsuspecting purchasers.
    Another thing is that I cannot see any COA sticker anywhere my unit.
    I used a keyfinder softwareto find my product key but it's not valid for activation since the key used in here is a Default Key. is is getting worst.
    I am not very good with this technology stuff and im getting really frustrated.
    Is it possible that if i upgrade my system to Windows 8, and use a legal purchase, will i be able to get rid of this "Windows 7 Build 7601 this copy of Windows is not genuine." thing???????
    Please help. Thank you.

  • Where can I buy a retail copy of Windows?

    I just bought Parallels Desktop 8 From Amazon, and thought I was also ordering a copy of windows seven. But when the package arrived, Windows 7 turned out to be an OEM version with the warnings all over it saying that it had to be preinstalled on a computer and only used with having also bought a computer. I haven't ever bought a Microsoft product before, and I assume that that operating system is similar to the OS that comes with a Mac computer. In other words, you can only use it with that one computer. I returned it to Amazon for a refund, I don't really understand why they even have that for sale if you can't actually use it. In any case, can anyone tell me where I can purchase a retail version of Windows 7 or Windows 8 that I can install on my Mac to work with parallels?

    This is a link to what I bought on Amazon:
    http://www.amazon.com/Windows-Premium-64bit-System-Builder/dp/B004Q0PT3I/ref=sr_ 1_2?ie=UTF8&qid=1362246144&sr=8-2&keywords=windows+7
    I'm copy pasting in the description, minus the box picture,  in case that link doesn't work.
    Windows 7 Home Premium SP1 64bit (Full) System Builder DVD 1 Pack  
                       by Microsoft              
          Platform: Windows   Price was $91 on sale from $128
    Has the following product description. When I first ordered this I didn't scroll down far enough to see this description, only saw it on the box when it came and I didn't understand it. But after your explanation, I think it means I can use it. Would appreciate your guidance.
    Use of this OEM System Builder Channel software is subject to the terms of the Microsoft OEM System Builder License. This software is intended for pre-installation on a new personal computer for resale. This OEM System Builder Channel software requires the assembler to provide end user support for the Windows software and cannot be transferred to another computer once it is installed. To acquire Windows software with support provided by Microsoft please see our full package "Retail" product offerings.

  • My computor has a message that says this copy of windows is not genuine. Please Help

    My computor shut down and I called the lenovo help centre.I was then told that as my computor was not responding that I would have to return it to its factory default settings. The guy told me to turn off the computor and then press f11 and hold while turning it back on . I now see the message on the screen windows vista build 6001, this copy of windows is not genuine. I dont know what to do and the people at lenovo refuse to help me. Can someone please tell me what to do as Im not very computor litterate.

    You can try this, i have see it on another french forum
    (in a command line - cmd)
    enter
    slmgr -ipk XXXXX-XXXXX-XXXXX-XXXXX    where XXX... is your licence N°, you find it on the Microsoft sticker
    then enter
    slmgr -ato
    for activation
    Message Edited by erbscr on 01-22-2009 12:00 PM

Maybe you are looking for