How to transfer large transactional tables from RFC to background ABAP?

Which is preferrable to use ABAP memory, SHARED MEMORY/BUFFER or SHARED ABAP OBJECTS in my scenario:  I have an external application sending two tables to an RFC.  The tables are made up of transaction data and can approach 1 GB in size.
The RFC times out, since it is a dialogue process. Therefore, I programmed the RFC to SUBMIT a background job VIA JOB.
QUESTION: How to import internal table into a program that was submitted via JOB?
Do I have to use SHARED MEMORY/SHARED BUFFER, or can I still use ABAP memory?
Can I send a table in a parameter in SUBMIT WITH construct?
An issue I have encountered is that the result of the IMPORT FROM SHARED BUFFER constructu  is not consistent in consecutive executions. Why would the result of the  IMPORT be inconsistent if the code is exactly the same and the data is exactly the same?
FYI I am building the memory ID dynamically and then sending in SUBMIT WITH parmeter?
Please don't post links to SAP HELP documentation.. I have read it, re-read it and read it again.
I really need expert experience, not generic documentation.
Thanks in advance.

Hi here is an example for the submit command use,
You can call one selection screen from other selection screen program using SUBMIT command.
The syntax is as follows -
codeSUBMIT... VIA SELECTION-SCREEN
USING SELECTION-SET <var>
WITH <sel> <criterion>
WITH FREE SELECTIONS <freesel>
WITH SELECTION-TABLE <rspar>.[/code]
e.g.
The following executable program (report) creates a selection screen containing the parameter PARAMET and the selection criterion SELECTO:
codeREPORT demo_program_submit_rep1.
DATA number TYPE i.
PARAMETERS paramet(14) TYPE c.
SELECT-OPTIONS selecto FOR number.[/code]
The program DEMO_PROGRAM_SUBMIT_REP1 is called by the following program using various parameters:
codeREPORT demo_program_submit_sel_screen NO STANDARD PAGE HEADING.
DATA: int TYPE i,
rspar TYPE TABLE OF rsparams,
wa_rspar LIKE LINE OF rspar.
RANGES seltab FOR int.
WRITE: 'Select a Selection!',
SKIP.
FORMAT HOTSPOT COLOR 5 INVERSE ON.
WRITE: 'Selection 1',
/ 'Selection 2'.
AT LINE-SELECTION.
CASE sy-lilli.
WHEN 4.
seltab-sign = 'I'. seltab-option = 'BT'.
seltab-low = 1. seltab-high = 5.
APPEND seltab.
SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
WITH paramet eq 'Selection 1'
WITH selecto IN seltab
WITH selecto ne 3
AND RETURN.
WHEN 5.
wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
wa_rspar-sign = 'E'. wa_rspar-option = 'BT'.
wa_rspar-low = 14. wa_rspar-high = 17.
APPEND wa_rspar TO rspar.
wa_rspar-selname = 'PARAMET'. wa_rspar-kind = 'P'.
wa_rspar-low = 'Selection 2'.
APPEND wa_rspar TO rspar.
wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
wa_rspar-sign = 'I'. wa_rspar-option = 'GT'.
wa_rspar-low = 10.
APPEND wa_rspar TO rspar.
SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
WITH SELECTION-TABLE rspar
AND RETURN.
ENDCASE.[/code]
=> To leave a called program, you can use SUBMIT .... AND RETURN. by choosing F3 or F15 from list level 0 of the called report.
Hope this helps.
regards,
venkat

Similar Messages

  • How to transfer an internal table from one FUNCTION to another

    Hi,
       In Normal Enabled Function, I have created an External Parameter as
         ZTEMP LIKE ZSTR.  (ZSTR is a structure).
       In Source Code, am using an Internal Table(ZINT) which is of the same structure type.
    I have populated the internal table. Now I have to export these internal table values to another function.
    I tried to assign the internal table to the exporting parameter. But this shows error as ZTEMP is not an internal table.
       So, How to transfer this??
       Give me sample Code.
    Regards,
    Kalai.
    Message was edited by:
            Kalaivani Pachiappan

    Hi Ramesh,
      Thanks for ur reply. Actually I am a beginner. So I dint get u. Can u first clear me one doubt: If I give ZTEMP LIKE ZSTR as export parameter, will it create ZTEMP as a table with all fields as in ZSTR ( or ) ZTEMP itself as a structure???
      Then How can I transfer the internal table using Import/Export?
       Actually FUNCTION1 is giving some input to FUNCTION2. FUNCTION2processes and stores the result in Internal Table. Now I have to export these internal table contents to FUNCTION1. 
       How can I do this??
    Thanks and Regards,
    Kalai

  • How to transfer service ticket data from ECC6.0 to CRM 7.0 using LSMW?

    how to transfer service ticket data from ECC6.0 to CRM 7.0 using LSMW?
    Plz suggest me any BAPI or IDOC for that ..
    thanks in Advance .

    You have to convert your long string to a table of shorter strings.
    There may be other ways, but one possibility is to use a loop to process you string.
    while (there is something left)
       put the next e.g. 1024 characters in a new row of your table
    endwhile
    If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
    Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right

  • How to transfer large files(1GB) to pc

    How to transfer large files(1GB) to pc

    Or possibly alternatively, and if really desperate, upload it to file distribution service like Fileserve or Rapidshare and then download it from the other machine (and then delete the upload).  Many of these services have a free mode although they may have size limitations and they certainly throttle the download speed down (Rapidshare may be one of the worse, Fileserve one of the best).  Personally I never tried something the size of 3GB.  What I do see is that stuff that large is generally broken up into multiple files to get around the size limitations and to be glued together when all the parts are downloaded.
    Just throwing this "out there" as an alternative but as I said, you probably would need to really be desparate to go this route

  • How to transfer itunes purchased music from one account to another on same family computer

    how to transfer itunes purchased music from one account to anither on same family computer?

    Move it to the /Users/Shared/ folder.
    (58475)

  • How to transfer iBooks books & PDFs from old iPad to new iPad?

    (Well, it seems my title got truncated; originally it read: How to transfer iBooks books & PDFs from old iPad to new iPad?)
    I've recently gotten an iPad Air to replace my previous iPad 2. I have a bunch of books and PDFs in iBooks on the old iPad, and want to transfer them to the new iPad.
    A search of Apple Support informs me that anything I've purchased from iBooks can be downloaded at any time to any of my devices (works like Amazon's Kindle system, apparently), but nearly all the content I have in iBooks on the iPad I've downloaded from other sources, so it won't be in my iBooks Store account (I might have bought one book there).
    I've also seen several instructions on how to copy all my data from the old iPad to the new via Backup & Restore, but that seems to require restoring the new iPad to factory setup, which would delete everything I have on it now – including a bunch more books I've gotten since I started using the new iPad. And I don't want to copy everything, only the books/PDFs (the new iPad has everything I want, except for the books).
    Since there seems to be no way to transfer files directly from one iPad to the other, it seems it must be done via iTunes on my MacBook Pro (and I want to copy all the books/PDFs to the computer anyway). So I connected the iPad 2 to my MacBook Pro (OS X 10.9.4) and opened iTunes (11.3.1). Then clicked on the iPad's name in the sidebar to the left, and on Books below it. I see a list of the books on the iPad. I check the little boxes by all their names to select them (not sure if that's necessary, but it seems like a good idea), then click on the Sync button at the lower right, to the right of the bar at the bottom of the window with colored bands showing memory usage on the iPad. A message appears saying "The app 'iBooks' was not installed on the iPad '[name]' because the app could not be found."
    But iBooks is already on the iPad; I have it open and see the list of books in it, which matches the list shown in iTunes. The message has a "More Information" button; I click that and it opens an Apple Support article titled "iOS: An app you installed unexpectedly quits, stops responding, or won’t open": "Learn what to do if you see one of these issues with an app you downloaded from the App Store on your iPhone, iPad, or iPod touch: The app unexpectedly quits; The app stops responding; You can’t open the app." But none of these apply; the iBooks app is on the iPad, and works fine there.
    The article suggests: (1) Restart the App. I've done that, no help. (2) Restart your device. Done that, no help. (3) Update your device software and your apps. The iPad is running iOS 6.1.3, iBooks 3.1.3; not the latest versions, no, but I'd rather not update it to newer, bigger, more power-hungry versions if I don't have to. Is it that iTunes 11 doesn't work with iOS 6? I haven't seen this stated anywhere.
    So instead I click the OK button on the message, but nothing further happens, so far as I can tell: None of the books/PDFs on the iPad (about 380MB) appear in iBooks on the MacBook Pro.
    I click on "Books" in the row of words across the top of the iTunes window, and it shows me the single PDF presently in iBooks on the MacBook Pro. I click the box by "Sync Books", and a message appears: "Are you sure you want to remove existing music, movies, TV shows, books, and tones from this iPad and sync with this iTunes library?" Well, no, that's exactly what I DON'T want to do. I don't want to erase the 380MB of books and PDFs on the iPad and replace them with the single PDF now in iBooks on the MacBook Pro. I want to copy the books from the iPad 2 to iTunes, so I can copy them back to the new iPad Air (if, God willing, I can figure out how to do that without erasing the books now on the iPad Air).
    I've been working with Macintosh computers for over 26 years. It's always been a fairly simple process to copy files from one computer to another. I don't want to "sync" all the data (address book, email, God knows what else) on the iPad with the corresponding information on the MacBook Pro – especially if that will erase everything on the iPad (which has information not on the MacBook Pro, e.g. 380MB of books). I just want to copy the books and PDFs in iBooks from the old iPad to the MacBook Pro, then to the new iPad, adding them to the books on the new iPad, so I don't lose anything.
    Can anybody give me a clue?

    How to Transfer Everything from an Old iPad to New iPad
    http://osxdaily.com/2012/03/16/transfer-old-ipad-to-new-ipad/
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Moving Content to a New iPad
    http://tinyurl.com/qzk2a26
    How to Transfer App Data and Game Saves from One iOS Device to Another
    http://lifehacker.com/5891964/can-i-transfer-app-data-and-game-saves-from-my-iph one-to-a-new-ipad
    How to transfer data from your old iPad to your new iPad
    http://www.imore.com/how-transfer-data-your-old-ipad-your-new-ipad-air-or-retina -ipad-mini
    Transferring your prepaid cellular data account depends on your carrier. AT&T lets you move it yourself when you go to Cellular Data in Settings and log into your account with your previous AT&T user name and password. For iPads with Sprint service, you can set up an account on the new iPad and contact Sprint Customer Care (888-211-4727 and go through the menus) to deactivate the old plan and get credit for unused service. For Verizon, call the company’s customer service number for mobile broadband support (800-786-8419) and ask to have your account transferred.
     Cheers, Tom

  • How to transfer music CD's from one itunes account to another same computer

    Bought my husband a ipod for Christmas. I have had one for awhile so I have many songs from itunes and CD's on my account. I have figured out how to transfer my paid songs from itunes to "his" itunes account, but I do not know how to get my CD's that I have downloaded. I do not want to have to manually download all the CD's again, is there an easier way? Everytime I try and share files it just shares the paid itunes songs.
    Thanks

    Although it would double up your drive space use, you can always go into the iTunes music folder and copy Artist folders, album folders, or individual tracks to your shared folder and then he can import them to his iTunes.
    Or he can set his iPod up for manual updating and simply plug his iPod in when under your account and load whatever songs he wants from your library into his iPod. See below for more details...
    How to use multiple iPods with one computer
    http://docs.info.apple.com/article.html?artnum=300432
    Using iPod with multiple computers
    http://docs.info.apple.com/article.html?artnum=61675
    Managing content manually on iPod
    http://docs.info.apple.com/article.html?artnum=61148
    iPod: Frequently Asked Questions
    http://docs.info.apple.com/article.html?artnum=60920
    Patrick

  • I just got a new pc running windows 7 and don't know how to transfer my itunes library from my old computer using windows xp

    i just got a new pc running windows 7 and cannot get my i tunes library from my old windows xp i have an ipad,ipod nano .ipod touch ,will any of these do it? My library is one i downloaded from cds not purchased thanks'

    Iv just got a macbook pro today, and I don't know how to transfer my itunes library from my imac..
    the simplest way, assuming all your media files are in the default location, would be to connect the two Macs with a firewire cable, boot the source Mac in Target Disk Mode, and copy the entire iTunes folder (not just the iTunes music folder) from <MacintoshHD>/users/yourname/music on the source to <MacintoshHD>/users/yourname/music on the target (overwriting the iTunes folder in place there).
    My sister is having my old imac, so I also need to then clear the itunes on the imac for her.
    just a create a new admin user account for her on the iMac.

  • How do I move a table from one schema to another schema on Oracle XE?

    How do I move a table from one schema to another schema on Oracle XE?

    Hi,
    I tried to use the insert/select statement that you had given, it did not work.
    The error is ORA-00913: too many values.
    But finally what I did was, I went into the system schema where the table was and generated the DDL through the utilities and afterwards I imported them into the schema that I am currently working on. It solved the problem!
    However I am still curious to know why the insert/select statement did not work? Do you know any site/tutorial which gives a real time example?
    Thank you
    Skye

  • How do I move a table from one schema to another schema?

    How do I move a table from one schema to another schema?

    Grant access to the table from the source schema to destination schema.
      GRANT SELECT ON <TABLE_NAME> TO  <DESTINATION SCHEMA>A simple way would be to use CREATE Table with select syntax (in destination schema)
      CREATE TABLE <TABLE_NAME> AS SELECT * FROM <SOURCE SCHEMA>.<TABLE_NAME><li>However, you would be in <b><u>trouble when the table has index,constraints and triggers</u></b>.
    So you can better of grab the DDL statement of the table(and any additional components) andd then create the table in the destination schema.You can use SQL developer, Toad or Apex's Object browser for this.
    After the table is created, Insert the records using SELECT.
    INSERT INTO <TABLE_NAME> SELECT * FROM <SOURCE SCHEMA>.<TABLE_NAME>This question is discussed in great detail in this <b>AskTom thread</b>

  • How to transfer data in table control in bdc

    hi
    how to transfer data in table control in bdc . I need the theory regarding this
    bye

    Hi,
    just check in the forum , there is many threads available to ur questions.
    Table control in BDC
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    You can even refer to these related threads
    bdc table control
    Re: table control in bdc
    table control in BDC
    Reward if helpful.
    Thanks
    Naveen khan

  • How to transfer Acrobat X Pro from dead PC to new PC

    How to transfer Acrobat X Pro from dead PC to new PC

    Hi J6267t,
    Wecome To The Forums
    Please Follow the Steps mentioned below and let us know if it works for you.
    Step 1
    Install Acrobat on your new computer. For example, use the software installation disc or download an installation file from the My Adobe website.
    Step 2
    Run Acrobat on your new computer, enter your serial number when prompted by Adobe, and then click the "Activate" button. Acrobat will attempt to communicate your licensing information with its servers.
    Step 3
    Click "Help" in the top file menu of Acrobat and then click "Activate." If only "Deactivate…" is available, then your software has been activated successfully.
    Thanks!
    Eshant

  • How to transfer files (word,pdf) from my laptop to iphone5?

    how to transfer files (word,pdf) from my laptop to iphone5?

    You need an app that supports such. Something like:
    https://itunes.apple.com/us/app/pdf-expert-professional-pdf/id323133888?mt=8
    There are many such apps, search for yourself for something that meets your needs.

  • How to transfer files like music from mac to ipad? tried it using mac but what happen was opposite!

    how to transfer files like music from mac to ipad? tried it few times but what happen was the opposite.

    If you want to sync your iTunes library on your Mac to your iPad ....
    Connect your iPad to the Mac and launch iTunes. Click on your iPad's name on the left side under the devices heading. Then click on the Music tab - and select the music that you want to transfer. Does your iTunes window look like this - with Sync Music checked and the playlists or albums checked as well like in the photo below?
    When you click on the apps tab do you have Sync Apps checked and all of the apps in the window below checked to sync as well?
    If you select all of the items under the different tabs in iTunes - music, apps, photos. etc. - when you sync - all of the selected content should sync over to the iPad.

  • How to transfer a contact list from a cd to the Iphone 4S

    How to transfer a contact list from a CD to the Iphone 4S?

    Import them from the CD to a supported contact application on your computer, then sync them to your phone.

Maybe you are looking for

  • Returning from a JSF flow with faces-redirect

    I'm using Glassfish 4.1 with JSF 2.2.9. I can't figure out how to return from a JSF flow with a redirect. I've tried this in the flow definition xml: <flow-return id="returnFromFlow">     <from-outcome>/index.xhtml?faces-redirect=true</from-outcome>

  • IPhone 5 went into recovery mode trying to upgrade to iOS 8.1

    So last night i tried upgrading my iPhone 5(iOS 8.0.2) to iOS 8.1. Initially the phone hung up maybe due to network being slow and i rebooted my iPhone which took around 10 mins just to come back on and then took about 2 hours searching for my networ

  • Clearing customer downpayments with invoice and aging

    Hi Gurus, What is the correct process of clearing downpayment with customer invoice so that system will show correct aging for the remaining amount of invoice? Should we use partial or residue... Thanks

  • Description of each thumbnail displayed beneath it?

    Can the pictures name be displayed beneath each thumbnail in PSE 11 instead of having to find it listed under the information tab? Am I correct in assuming that the length of an description is restricted to much less that than Windows usually allows

  • SOAP: error occured

    Hi PI gurus when iam doing the scenario SOAP to JDBC synchronous and while running the scenario  Iam getting one error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: Application:EXCEPTION_DURING_EXECUTE:: com.sap.aii.af.ra.ms.api