How to transfer ABAP query from one server to another server

Hi all,
I have a ABAP query in development server and i need to transport it to production server.
I have attached a transaction to it using the program which got generated in the back ground
from the abap query in the developemnt server.
I have downloaded and uploaded  a ABAP query from one server to another server.
But the program which got generated in the back ground in the production server is different from
program which is generated in the development server.
But my transaction is attached to the program in the development server.If i transport the transaction
to production server,it is giving error since that program is not present in the production server.
Am i going in the right way......? 
Is there any problem in my upload/download procedure ?
Is there any way to achieve my purpose ...............?
Please kindly reply me at the earliest.

You have different ways to call a query using a t.code. One way is to create a pgm with the following code and attach a t-code to it.
data: gv_test type sy-repid.
DATA: GV_USERGROUP TYPE AQADEF-BGNAME VALUE 'FI',
      GV_QUERY TYPE AQADEF-QUNAME VALUE 'ZCON_FI_QUERY',
      GV_RNAME TYPE AQADEF-PGNAME .
CALL FUNCTION 'RSAQ_REPORT_NAME'
  EXPORTING
    WORKSPACE        = ''
    USERGROUP        = GV_USERGROUP
    QUERY            = GV_QUERY
IMPORTING
   REPORTNAME       = GV_RNAME
* For the dynamic excution of the called query assisgn GV_RNAME to <gv_test>.
gv_test = GV_RNAME.
SUBMIT (gv_test) via selection-screen and return.
Alternate way is while creating T-Code you choose option Transaction with parameters.
Transaction as START_REPORT and in default values table control at bottom give as follows
D_SREPOVARI-REPORTTYPE = AQ
D_SREPOVARI-REPORT = User group
D_SREPOVARI-EXTDREPORT = Your Query name
Regards
Sathar

Similar Messages

  • How to transfer the logins from one instance to another instance in sql2008r2

    how to transfer the logins from one instance to another instance in sql2008r2

    Hi Ganesh,
    According to your description, you want to know how to transfer the logins from one instance to another instance for SQL Server 2008 R2. To do this, besides dave’s post, you could also use
    'Copy Database Wizard' in SQL Server Management Studio, or the component
    'transfer Login task' in SQL Server Integration Services.
    Regards,
    Michelle Li

  • How to transfer printer settings from one Mac to another (both OSX)?

    Hello, I have not found a detailed description on how to transfer printer settings from one Mac to another.
    My issue is that I have a Mac G5 with 3 different settings saved as "presets" for the same printer. This works great, since the posters I print (on the large format printer) need different margins and different paper at times.
    This G5 is basically retired and only used for printing. G5 has OSX 10.3.9
    I have a MacPro as its replacement (OSX 10.4.11).
    The MacPro has all my apps and other settings setup to my liking.
    I found several links via Google saying copy this folder or directory, but I am not sure I did it correctly. I don't see the "presets".
    I tried launching the Migration Assistant (I hope that's the correct name), but was concerned the settings on the new MacPro would be overwritten with ALL the old stuff on the older G5. I did not start the transfer process because of this.
    If someone would list the steps needed to accomplish the transfer of printer settings or advise if this is possible, then I would be very grateful! The previous user of the G5 I am using was a "Genius" and I don't know how he created these "preset" choices.
    Thanks!

    Hi SCChelpdesk, and a warm welcome to the forums!
    I found several links via Google saying copy this folder or directory, but I am not sure I did it correctly. I don't see the "presets".
    This is the File that holds that info on Tiger, not certain on Panther...
    /Users/YourUserName/Library/Preferences/com.apple.print.custompresets.plist
    After moving, you very well might have to change the Owner's Permissions within Get Info window, then log out/in.
    I tried launching the Migration Assistant (I hope that's the correct name), but was concerned the settings on the new MacPro would be overwritten with ALL the old stuff on the older G5. I did not start the transfer process because of this.
    MA would transfer the info, but/and, if the user that had that info had the same Shortname as on the new one, it'll demand you give it a new Shortname to use... but then those settings would be transferred to that new user on the new machine. I think the 1st one will work though.
    The previous user of the G5 I am using was a "Genius" and I don't know how he created these "preset" choices.
    We can go through that way if you like... not all that hard.

  • HOW TO TRANSFER HISTORICAL DATA FROM ONE ACCOUNT TO ANOTHER

    제품 : FIN_GL
    작성날짜 : 2006-05-29
    HOW TO TRANSFER HISTORICAL DATA FROM ONE ACCOUNT TO ANOTHER
    =============================================================
    PURPOSE
    특정 기간의 Balance 를 Account 별로 Transfer 하는 방법에 대해 알아 보도록 한다.
    Explanation
    GL 의 Mass Maintenance 기능을 이용하면 한 Account 에서 다른 Account 로 혹은 Multiple Account 에서 다른 하나의 Account 로 Balance 를 이동 시킬 수 있다.
    1. GL Responsibility 에서 Other> Mass Maintenance 를 선택한다.
    2. Move/Merge 작업을 위한 Request Name 과 Description을 입력한다.
    3. Request Type 으로 Move 혹은 Merge 를 선택한다.
    4. source-to-target account 를 위해 line number 를 입력한다.
    5. LOV 에서 source Account 를 선택하여 입력한다.
    모든 Account 는 enable 상태여야 한다.
    6. target account 역시 LOV에서 선택하여 입력한다.
    7. 지정한 작업을 수행 하기 전에 먼저 확인 작업을 할 수도 있다.
    8. 작업한 내용을 저장한다.
    9. Move/Merge request 를 수행한다.
    Example
    N/A
    Reference Documents
    Note. 146050.1 - How to Transfer Historical Data from One Account to Another

    Follow the directions here:
    http://support.apple.com/kb/HT2109

  • How to Transfer the iPhone from one computer to another Win XP

    All
    I got my wife a new macbook pro, running Windows XP prof. She has an iphone 3G with 16 GB memory running 3.0.1. So..she wanted to transfer the sync function from her PC to her macbook. Of course, Apple was of NO help at all (but did want to charge us $69.95 since her iphone is out of warranty, and this was an iphone not a mac problem, hmmm..). Took me lots of digging, but here is how you transfer you iphone from one computer to another:
    1. Move you itunes library from the old computer to the new one. To do this, you do NOT just copy it. This is as good a link to use as any to see how to do it, but search the internet and you can find instructions:
    http://reviews.cnet.com/8301-12519_7-10242259-49.html
    2. Transfer your applications you have purchased to the new computer. To do this, open itunes in the new computer, hook up your phone and click on File>transfer purchases (from itunes store) to computer. This will move your applications to the new computer.
    3. Export your MS outlook calendar, contacts, notes, etc. to the new computer by saving each of these categories as a PST file (file>export>then choose the category and type of file)...and then copy these PST files to your new computer and import them into MS outlook.
    4. Copy your playlists from itunes on your old computer to your new computer. This link may be helpful or search the internet again if you need to:
    http://osx.tribe.net/thread/08fd0e5e-f1d0-450b-8de5-9f7cb5bd278d
    5. Now...the important part...how to transfer all your settings from the iphone to the new computer....this is the part that was hard to find online, but finally got it: NOTE: THE BACKUP THAT ITUNES MAKES BACKS UP THE APPLICATION SETTINGS BUT NOT THE APPS SO THIS IS WHY YOU NEED TO TRANSFER THE APPS TO THE NEW COMPUTER. The settings have all the data you put into your apps, email settings, preferences, etc...so its a huge time save to transfer these to the new computer also.
    -Sync your iphone with your old computer to have a backup in case you mess up...in that case you can restore from your old computer and start over
    -Plug your iphone into the new ocmputer and start itunes. It will detect your phone (I assume you have already authorized your new computer to use the library and playlists and apps that you moved)
    -Right click on the "iphone" on the left bar...you will see a popup menu...click on "BACKUP". Let it backup your iphone to the new computer. It will NOT sync the phone
    -When the backup is done....copy the backup file to a temp directory to be safe. The backup is located in "documents and settings">user name>applications>apple computer>mobile sync. If you cannot see it, you need to open windows explorer (not internet explorer) and go to tools>folder options>view and click on "show hidden files and folders" Note YOU CANNOT JUST COPY THE BACKUP FROM THE OLD COMPUTER TO THE NEW COMPUTER AS SUGGESTED ON SOME WEB SITES...THIS DOES NOT WORK, ITUNES WILL NOT IDENTIFY THE BACKUP EVEN IF YOU PUT IT IN THE FOLDER IN THE NEW COMPUTER THAT MIRRORS THE FOLDER LOCATION IN THE OLD COMPUTER.
    -OK now you are ready...click restore on the iphone and restore the phone to factory settings. This will happen in a few minutes (10-15 mins).
    -The phone will reboot and itunes will recognize the phone again...as a restored phone. It will then ask you if you want to restore it from the backup..say YES. You then need to go through all the itunes tabs and click on everything you want to sync to the phone (playlists, movies, podcasts, ringtones, etc). Once you are done going thru the tabs click "apply" and the sync will start. Go out, to a movie, to bed, whatever because it will take hours to sync.
    -Once the sync is done...voila...your iphone has been moved with ALL the settings to the new computer. Check it. Then you can delete the backup you put into the temp folder if it is OK
    -Deauthorize your old computer
    This worked for Win XP...should work for Vista. The whole process took many hours so don't rush through it (i'm guessing 12 hours total work).
    Can I send apple a bill for tech support?????

    All
    I got my wife a new macbook pro, running Windows XP prof. She has an iphone 3G with 16 GB memory running 3.0.1. So..she wanted to transfer the sync function from her PC to her macbook. Of course, Apple was of NO help at all (but did want to charge us $69.95 since her iphone is out of warranty, and this was an iphone not a mac problem, hmmm..). Took me lots of digging, but here is how you transfer you iphone from one computer to another:
    1. Move you itunes library from the old computer to the new one. To do this, you do NOT just copy it. This is as good a link to use as any to see how to do it, but search the internet and you can find instructions:
    http://reviews.cnet.com/8301-12519_7-10242259-49.html
    2. Transfer your applications you have purchased to the new computer. To do this, open itunes in the new computer, hook up your phone and click on File>transfer purchases (from itunes store) to computer. This will move your applications to the new computer.
    3. Export your MS outlook calendar, contacts, notes, etc. to the new computer by saving each of these categories as a PST file (file>export>then choose the category and type of file)...and then copy these PST files to your new computer and import them into MS outlook.
    4. Copy your playlists from itunes on your old computer to your new computer. This link may be helpful or search the internet again if you need to:
    http://osx.tribe.net/thread/08fd0e5e-f1d0-450b-8de5-9f7cb5bd278d
    5. Now...the important part...how to transfer all your settings from the iphone to the new computer....this is the part that was hard to find online, but finally got it: NOTE: THE BACKUP THAT ITUNES MAKES BACKS UP THE APPLICATION SETTINGS BUT NOT THE APPS SO THIS IS WHY YOU NEED TO TRANSFER THE APPS TO THE NEW COMPUTER. The settings have all the data you put into your apps, email settings, preferences, etc...so its a huge time save to transfer these to the new computer also.
    -Sync your iphone with your old computer to have a backup in case you mess up...in that case you can restore from your old computer and start over
    -Plug your iphone into the new ocmputer and start itunes. It will detect your phone (I assume you have already authorized your new computer to use the library and playlists and apps that you moved)
    -Right click on the "iphone" on the left bar...you will see a popup menu...click on "BACKUP". Let it backup your iphone to the new computer. It will NOT sync the phone
    -When the backup is done....copy the backup file to a temp directory to be safe. The backup is located in "documents and settings">user name>applications>apple computer>mobile sync. If you cannot see it, you need to open windows explorer (not internet explorer) and go to tools>folder options>view and click on "show hidden files and folders" Note YOU CANNOT JUST COPY THE BACKUP FROM THE OLD COMPUTER TO THE NEW COMPUTER AS SUGGESTED ON SOME WEB SITES...THIS DOES NOT WORK, ITUNES WILL NOT IDENTIFY THE BACKUP EVEN IF YOU PUT IT IN THE FOLDER IN THE NEW COMPUTER THAT MIRRORS THE FOLDER LOCATION IN THE OLD COMPUTER.
    -OK now you are ready...click restore on the iphone and restore the phone to factory settings. This will happen in a few minutes (10-15 mins).
    -The phone will reboot and itunes will recognize the phone again...as a restored phone. It will then ask you if you want to restore it from the backup..say YES. You then need to go through all the itunes tabs and click on everything you want to sync to the phone (playlists, movies, podcasts, ringtones, etc). Once you are done going thru the tabs click "apply" and the sync will start. Go out, to a movie, to bed, whatever because it will take hours to sync.
    -Once the sync is done...voila...your iphone has been moved with ALL the settings to the new computer. Check it. Then you can delete the backup you put into the temp folder if it is OK
    -Deauthorize your old computer
    This worked for Win XP...should work for Vista. The whole process took many hours so don't rush through it (i'm guessing 12 hours total work).
    Can I send apple a bill for tech support?????

  • How to transfer Lightroom settings  from one catalog to another?

    Lightroom 5. I have combined two catalogs into one "Master Catalog" per Julian Kosts tutorial ( http://tv.adobe.com/watch/adobe-evangelists-julieanne-kost/lr3-merging-individual-lightroo m-catalogs-into-a-master-catalog-/ ) without incident. However, my presets are not to be found. Could there be other issues? How Do I properly get these presets into my Master Catalog?
    How to transfer Lightroom settings  from one catalog to another?

    Nevermind.
    Per the turorials, this is suppose to occur automatically.
    In the rare event that it does not, forced by lack of support through Adobe or the forums, I am relagated to resolve my problem the old fasjion way. Guessing at a solution of dragging and dropping (risking overwritting current the newer LR5 files (careful now).
    I love the product but trying to get problem resolution here has been disapointing.
    I'd like to retract this entire question session.

  • HT1495 How can transfer a application from one iphone to another iphone?

    How can transfer a application from one iphone to another iphone?

    Follow the instructions here or here; using the first set of instructions then requires syncing the second device with the iTunes library containing it.
    (89299)

  • How to transfer iweb files from one mac to another?

    How to transfer iweb files from one mac to another?
    I have a macbookpro, and I am planing to transfer my iweb data to a new imac, is this possiable and will everything transfer over properly? Will I have problems doing this and how can i do this?

    thank you very much!
    another question,
    if i were to use mobil me to publish my site (at this time i use ftp) will i have the ability to have an outside programer log into my mobil me account and adjust things around in my html codes or add things to my site without iweb? at this time i use ftp and transfer my files from cyberduck to my hosting company. I am new and not very firmilure with the files in my hosting company, so i have help sometimes from a programer that fixes my html codes sometimes for example this page of my site i had someone help me with...
    http://www.sylvartfloraldesigns.com/SylvartFloral_Designs/ScheduleConsultation.html
    will i have the option to do this through mobil me and have someone help me from an outside source, log into my mobil me account and have them adjust things for me?

  • How to transfer table data from one client to another client?

    How to transfer table data from one client to another client?

    Hi,
    Look at the Blog
    /people/community.user/blog/2007/01/07/transport-table-entries
    Regards
    Sudheer

  • How to copy a query from one infoprovider to another infoprovider

    Hi Experts,
    Could anyone suggest me on how to copy a particular query from one infoprovider to another infoprovider which are identical and have the same objects in them.
    Thanx in advance
    Lalit

    Hi Lalith,
    Use the Transaction RSZC and specify the - > Source InfoCube  -> Target InfoCube and select the queries  you want to copy.
    Hope it helps
    Regards
    Srikanth

  • Transport abap query from one client to another--v--urgent---v----urgent

    hi,
    i have an abap query in one client and want to copy to another client.can i do this if so what are the steps involved .i tried the options like in query go to environment and then to transport .i also tried to do by running the programe RSAQR3TR.but it was transporting in the same client .i want to transfer into another client.plz help me out asap .

    hi,
    Create a request related to that Table Definition and add data content in the request like
    R3TR-TABL-<table name>
    R3TR-TABU-<table name>
    R3TR-TABD-<table name>
    and release the request
    Take the DATA files and CO files related to that request in a Pen drive and put the same into the new server DATA and CO files and import using STMS.
    For new program, it gets transported along with the program.
    For changed program (which has already been transported once), you need to include texts in transport request - just go to Selection texts, save them in the transport request and you're all set.
    whenever you assign a request number to the program
    and also the selection texts willbe stored under that request number
    so when u release the program
    the selection texts will also go
    after releasing the request if you change only the seleciton texts
    only the changes done to selection texts will reach the target
    and the rest of the things remain same
    so when ever you release a request all the things under that request
    will go

  • How to transfer the indexes from one DB To another DB

    Hi All,
    I have one question.I have to transfer all the database object from one database to another. and I have transfer it.Now I have to create an index on that tables then how can i know on which columns that indexes were created.and How I will create it in new database. Or Is there another way to transfer that indexes from old database to new database.
    Thanx in advance.

    user13310428 wrote:
    How I will create it in new database. Or Is there another way to transfer that indexes from old database to new database.You have to use the DDL (create index/create table with index constraints/etc) commands to create indexes.
    You cannot "+transfer+" the index data like you can table data. The reason is that indexes contains the physical address of the rows indexed. These addresses are different on the new database - and thus make the index data on the old database useless. Instead, you need to re-create the indexes so that the new row addresses can be determined and used by the index.

  • Copy ABAP query from one servert to another

    Hi,
       How to copy ABAP query(SQ01) to other servers.Here we have sandbox-dev-quality-and prod.Now a query is created in sandbox, so i need it to move to Dev and then to quality.So do we have any upload and download option for this or we need to copy the code from system-status.

    Similar issue solved here.
    Download Query SQ01/SQ02

  • How to transfer user settings from one account to another (on the same Mac)

    I'd like to create separate user accounts for "work" and "play" (so that I can do things like have separate address books, etc...). However, I already have LOTS of personalized settings (trackpad behavior, login items, etc) that I'd like to keep the same between the two accounts.
    Is there a way to transfer all of the user settings from one account to another?

    You'll need to copy your /Home/Library folder. Make sure you back up first before doing the following. Log out of both your Work and Play accounts. Log in to a third account with administrator privileges. Assuming you are copying from the account called "work" to the account called "play", enter the following in Terminal:
    sudo rm -rf ~play/Library (this deletes Play's Library folder.)
    sudo cp -R ~work/Library ~play/Library (this copies Work's Library folder to Play's folder.)
    sudo chown -R play ~play/Library (this fixes permissions of Play's new Library folder.)

  • How to transfer app data from one mac to another without using syncing of the iphone?

    Right, recently I have tried to change which computer my Iphone syncs with so that my older mac can be sold or disposed of in some profitable form. I have successfully synced all of my music off of one mac onto another via home sharing at which point I connected my phone to my new computer which suggested that the phone needed a software update. Immediately after doing this I realised that my updated Iphone 3GS would no longer sync to my old computer and attempted to sync it just to confirm this- it failed and stated that the iphone could only sync with itunes 10.1 which is a higher spec than that mac can hold. I then feeling doubtful that things would work out tried to carry on as if this problem were absent but I later discovered that I could only transfer the apps that I had synced to my phone to my new mac and all unsynced apps appeared lost because as I stated previously I could not sync with my older mac which contains all of their data. I have consulted the online apple manual for the phone and all it states is the method of transferring purchases in itunes which I tried and is what lead to the copying of my synced apps on to my new mac. What I am asking is is their anyway that I can 'cheat' so to speak at app transfers. I know that somewhere on my old mac the files are stored with the information of the lost apps but I cannot locate them and would not know how to merge them into my newer itunes if I were to copy and paste them to a memory stick (assuming that this is the right method) Other than this is their any other way of downgrading the upgrades of an iphone or somehow tricking itunes into running a higher update than the computer spec? I've tried all I can and this is really annoying- please help!!!!!!

    I'm not entirely sure what you're asking... I'll have to look on my Mac at home to see exactly where they are, but you should just be able to copy all the apps from your old machine to thumb drive or over the network and put them in iTunes on the new one, then sync. Right click on one of the apps in your iTunes library and choose Show in Finder. That will point you to where they are.
    If you're asking how you can do this and maintain data contained 'within' the apps themselves (high scores, game progress, etc), I don't think there's any way you can do that.

Maybe you are looking for

  • TS3899 None of this works, now what?

    Tried all of Apples suggestions.  Still cannot send email from my Ipad.

  • What is the difference between Create shapes or masks from text characters?

    What is the main difference between Create shapes or masks from text characters and why use one over the other, or when is one preferred over the other? I am still fairly new to AE and am trying to better understand this, or can you point me to where

  • Ipod wont let me download or update apps

    I have a 5th generation ipod touch but now for some reason wont let me download apps or update apps. At first I thought the apps that wont update gliched my ipod so I deleted those apps but still nothing. This started after I got iOS 8.0.2, before it

  • Mapview not working in ipad 2 simulator

    Hello All Im trying to do an little coding with xcode and the mapkit. The thing is, when i run map apps in the iphone simulator the map of the world shows up fine. but if i use the ipad. i see only grey grids. Any one knows the reason that is happeni

  • Some of the cross-references lost in PDF

    When converting Word to PDF using PDF maker,  some(not all) of the cross-references are lost. The cross-references in the body text(link to some place in the same document) that are within the sentences are converted as normal text with no links. The