Background ALV problens, lack of coluns

Hello guys,
I'm building a simple report that has about 27 coluns.
The problem is when the user run's the report in background mode.
After running, when you'll check the spool, it's incomplete (some of the last coluns just don't appear).
I thought building a TXT or XML doc to solve the problem, but i wanna know the opnion of the forum first.
Regards,
Daniel

Hello,
I was facing this problem some weeks ago. I solved this by an additional selection field for a layout variant. So the user can create a layout, where only the most important columns are shown. If the user now selects the layout, the preferred columns will be displayed.
I think there is no way to display more columns.
Regards
Edited by: Maximilian Tews on Jul 25, 2011 1:15 PM

Similar Messages

  • Submit...to Spool in background, ALV Grid

    Hello,
    I am trying to using the SUBMIT to SPOOL statement for SAP std. program RKPEP003.
    Now this works well when i execute in the foreground mode but doesnt work in the background mode, it gives an error "Make an Entry in All Required fields"
    RKPEP003 output is ALV Grid, so is this the probable reason or something else becoz the code works fine in the foreground mode
    Thanks in advance
    Minhaj

    Hello,
    Following is my code:
    MOVE:
          'CN_PSPNR'  TO I_SELTAB_WA_ANLAGE-SELNAME,
                    'S'      TO I_SELTAB_WA_ANLAGE-KIND,     " SELECT-OPTION
                    'I'      TO I_SELTAB_WA_ANLAGE-SIGN,
                    'EQ'     TO I_SELTAB_WA_ANLAGE-OPTION,
              'W-000001-01-101' TO I_SELTAB_WA_ANLAGE-LOW,
              'W-000001-01-101'  TO I_SELTAB_WA_ANLAGE-HIGH.
          APPEND I_SELTAB_WA_ANLAGE TO I_SELTAB_ANLAGE.
          MOVE: 'R_BUDAT'  TO I_SELTAB_WA_ANLAGE-SELNAME,
                'S'      TO I_SELTAB_WA_ANLAGE-KIND,      " SELECT-OPTION
                'I'      TO I_SELTAB_WA_ANLAGE-SIGN,
                'BT'     TO I_SELTAB_WA_ANLAGE-OPTION,
                S_DAT  TO I_SELTAB_WA_ANLAGE-LOW,
                E_DAT  TO I_SELTAB_WA_ANLAGE-HIGH.
          APPEND I_SELTAB_WA_ANLAGE TO I_SELTAB_A
    SUBMIT RKPEP003
          WITH selection-table I_SELTAB_ANLAGE
          WITH P_DISVAR = '/5SAP'
          TO SAP-SPOOL
          SPOOL PARAMETERS PARAMS
          ARCHIVE PARAMETERS ARPARAMS
          WITHOUT SPOOL DYNPRO AND RETURN.
    Now this works well in the foreground mode but other otherwise even with JOBNAME AND NUMBER
    Thanks,
    Minhaj

  • Background ALV with 2 lists

    Hi,
    I have made a screen with 2 ALV lists that is working perfect when running program in dialog. When I run program in batch only the first list is saved in spool file. Anyone who know how to be able to save both lists in spool file?
    Regards,
    Fredrik Ragnar

    Hi,
    I feel this could be because of the spool size defined being different than the ALV size.
    Change the Spool size using transaction SPAD. Use this spool size while calling the Background program ( in the SUBMIT statement ).
    Pass Layout Parameter of type sy-paart in the SUBMIT statment where the Layout parameter would be created through SPAD.
    Hope this solves the problem.
    Best regards,
    Prashant

  • Background ALV download 256 Char columns

    Hi,
    I am using OO ABAP in my ALV.When I run my report in background it is truncating columns while downloading .How can we achieve full download?
    Regards
    Vara

    Hi,
    The printer settings dont allow you to print more than 255 characters in background mode.
    But you can try with these options :
    1).I have created a new page fomat accomodate more than 255 chars
    2. Change the linesie of report to 700 and while assigning fieldcat like this
    IS_LAYOUT-MIN_LINESIZE = 700
    This may be work
    aRs

  • Background alv display

    Hi ,
        when i am running alv in backgroud the alv display but not in one row just example alv o/p is such as
    col1|col2| col3|col4|
    but o/p comes like this
    col1|col2|
       col3|
    please solve issue

    Hello,
    Increase the length specification for the line-size addition in the report statement and check
    REPORT zreport line-size 1023.
    Vikranth

  • Submit in background

    Is there any program to submit in background,  ALV report?
    I tried in job_open and job_close, but nto worked out.

    Hi,
    You need to use the following function modules:
    - JOB_CREATE - create the job
    - JOB_SUBMIT - add a step in the job
    - JOB_CLOSE - to pass the job to the background processing subsystem
    Alternatively, you can use SUBMIT... VIA JOB, which is easier but gives you less control.
    MJ

  • How can I give iTunes-added mp3's in my music ("unknown album") a background?

    Coming from an iPod Touch 4th Gen to a 5th gen, there was really only one thing that I didn't like, and that was how my music (I add it from mp3 files using iTunes) has no background.
    Sure, the 4th gen on iOS 6.1.6 only had a music icon as the background, but this lack of any type of background that I see when playing a song on iOS 8 really is kinda distracting.
    Is there anyway for me to give the Music app (system app) a makeover so it has some kind of background when I'm playing music?
    iPod Touch 5th Generation, 16gb, iOS 8.1

    Hey Subscriber0101, What happens if you go into your iTunes library and right click the music in question to bring up the pop up menu, then go to "Get Info" click "Edit Items". Then plug in the Artist names, Album name, etc. and add the Album artwork. When your done, save and close the Get Info, then sync your iPod with your iTunes library. Good luck. Cheers.

  • ALV Grid alignment

    Hi,
    I have an alv grid , which gives the output in an aligned format on execution .
    If the same program is executed in background and printed on spool , the columns get misaligned . How can i align them with their columne headings ?
    Thanks

    Check these thread -
    ALV Grid At Background
    ALV GRID CONTROL + BACKGROUND JOB
    Also, check the forum there is a blog also on displaying the ALV Grid in background with lots of good information on it.
    Regards,
    Amit

  • Problem while displaying data in spool using oops alv

    Hi,
    I have created a oops alv, in which iam displaying 2 ALV's  on 2 containers..
    Iam able to display the data which i need when i execute the program in foreground , But when i execute the program in background iam not able to see the 2nd ALV in the spool....
    The ALV displays one below the other.
    How i can i correct it..?
    Vishwa

    Hi,
    The container created in ALV will work only in foreground as this is the framework the background cannnot initiate the container object and assign the ALV to the container.
    Hence you cannot create the container object and assign the same to the ALV screen in background. Instead you need to use the factory method/ALV FM to display in background mode.
    For background ALV processing, don't use OOPS! U can use this fm : REUSE_ALV_GRID_DISPLAY.
    You can also refer below threads:
    Re: ALV: Foreground Vs Background
    Re: OO ALV in background job
    Regards
    Shiva

  • A way to undo Formatted Text & Graphics OCR from Acrobat 7?

    Over the course of a few months, my company received a large number of PDF files for a project for which the internal policy was that every file should be text searchable.  Unfortunately, we did not save the native files in any sort of convenient way, having at that time not realized that failing to do so was a very bad idea.  We ran OCR on every one of the files that we received, which total approximately 4,000.  At the time that we received the majority of these files, my company was still using Acrobat 7; we've since upgraded to version 8.
    Recently we discovered that there were discrepancies between our electronic copies and the hard copy printouts from which our electronic copies had been generated:  in the electronic copies, uppercase F had changed to P, S had changed to 8, etc.  We eventually worked out that it must have been that at some point a computer was mistakenly set to run OCR using the Formatted Text & Graphics setting, as opposed to either Searchable Image or Searchable Image (Exact).  This was absolutely not want we wanted, as for our purposes using a type of OCR that causes the original images to change essentially renders the files useless.  My questions, then, are the following:
    1)  As I asked in the title, is there any way of undoing Formatted Text & Graphics OCR that was performed in Acrobat 7?
    2)  Is there a way of identifying files that have had Formatted Tex & Graphics OCR performed on them (something stored in the metadata)?
    Rebuilding these files from scratch is going to require a gargantuan effort, so any help would be much appreciated.

    Hi,
    Bernd's been across the mountain and seen the bear; so, you can bank on what he posted.
    But, just because, I'll second his "no".
    Formatted Text and Graphics (Acrobat 7, 8) and ClearScan (Acrobat 9, X) effectively replace the image of textual characters.
    If a character is not recognized as 'something' a bit map is of the thing is left behind.
    Now, while Acrobat or other OCR engines (Abbey FineReader, AdLib, Adobe Capture, etc.) are really rather impressive no OCR engine has 100% accuracy 100% of the time. Other variables  come into play (scan lamp age/brightness, platen cleanliness, scanner mechanicals cleanliness, calibration of scanner, hard copy 'quality' (characters' darkness density, contrast between characters and background, presence of lack thereof of boxed in text, text in or adjacent to line arcs/circles, etc.).
    All of that is for semantic content that is "textual". Semantic content that is not textual (but, coincidently may contain text) provides little to no useful OCR output (e.g., graphs, drawings, etc.). Validate this by performing OCR on such a PDF then Export to a plain text file. Print this file out and compare that to the source paper or the scanned image.
    There is no metadata info that identifies the OCR mode used.
    Perhaps something buried in the bowls of PDF page description content; if so, not intrinsically easy to obtain.
    My suggestion (fwiw) - move forward with re-scan.
    A server product would help to move it along but a high speed scanner hooked to a local machine (with ample resources) and Acrobat Pro 8 or 9 get it done. With Acrobat 8 or 9 use Search Image (Exact).  In Preferences check the category Create PDF or TIFF to assure it is what you desire. Check Acrobat's scan presets to assure you have what you want vis-a-vis Compression and Filtering. Do avoid "Automatic".
    Be well...

  • Menu bar app not appearing in dock.

    I have SugarSync running, but I can't see it in the dock, or in the app switcher (the command-tab keyboard shortcut). The only way I can switch to it is with Mission Control, or by moving windows around until I can see and click on SugarSync. In addition to the above problems, it doesn't show up on the left side of the menu bar even when it's the selected window. This all seems to be because it's designated as a "background app", for lack of a better term. I've searched everywhere I can think of for an answer to my problem, but the only results I can find are for people that want apps to leave the dock, not the other way around. How do I change an app's property from background or menu bar app to normal?

    Julien,
    Eventually everything went up but I never heard back on my emails. Unfortunately, so long as the contracts are all "in effect" and the app is "ready for sale" all you can do is wait for them to get it up on the store and you don't receive any notice as to when it goes up so you have to keep checking in iTunes. Sometimes it can be found through the search function before it is listed in a category and it may appear in some territories before others. The other way you know it has gone live is when the trend reports begin appearing.
    The "add rights" or "request reports" things I think only pertain to music or film but not to the apps so it's just a bug in the software that it mentions it to us.
    Sorry!
    - Noah

  • Contemplating buying an iPad 2 (used from a Pal)

    Hi all, so I am contemplating buying an iPad 2 from a pal (on the cheap) and wondering this:
    * Will it run latest iOS6?
    * Does it sync via wireless for itunes, or is it like my old iphone 3 and need the cable?
    * Will it connect via bluetooth for keyboards and mouse?
    Well, thx alot, I appreciate the input.

    you will not get Siri, not available on the 2 (in case you had that in mind)
    I have a 2 and it runs iOS6 just fine. About the only thing I've noticed is that apps close more in the background....for example I could play angry birds and it'd run for days in the background before a lack of resources shut it down, not anymore. With iOS6, the OS seems to put enough of a demand on the resources that your apps will close on their own in the background (as in while you're not running them)
    not horrible and certainly not something bad.

  • ALV Report not getting displayed in Background

    Hi All,
    I am using Object Oriented approach of ALV to display the Report, in foreground it works fine but in background I don't get the Report.
    I am using the below piece of code but doesn't seems to be working well.
    CALL METHOD cl_gui_alv_grid=>offline
        RECEIVING
    e_offline = OFF.
    if OFF is initial.
    *----Creating custom container instance
        CREATE OBJECT gr_ccontainer
         EXPORTING
           container_name = gc_custom_control_name
         EXCEPTIONS
           cntl_error = 1
           cntl_system_error = 2
           create_error = 3
           lifetime_error = 4
           lifetime_dynpro_dynpro_link = 5
           others = 6 .
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
        CREATE OBJECT gr_alvgrid
         EXPORTING
           i_parent = gr_ccontainer.
    Its not working. If anyone of you could let me know what can be done to get the ALV report with all the fields in the background.
    Thanks.

    Hi Geeta,
    I was about to say this...
    If that is the case u don hav to design a custom control in ur screen, instead use ur screen as a
    dummy container which will work well in fore/back ground
      CREATE OBJECT go_grid
        EXPORTING
          i_parent = cl_gui_container=>default_screen. "Default scrren taken as dummy container
    But u got the answer in previous post : )..
    For ur second question:
    goto SP01->give spool no->exec->select the spool no(check)-> press shift+F4...
    Cheers,
    Jose.

  • Data not getting displayed in ALV grid when run in background

    Hello experts!
    Could anyone help me out please?
    I need to display an ALV grid in the background. My requirements are as follows:
    I first display an ALV grid in the foreground based on some input parameters. The user selects a few records for updating it and clicks on the "update" button. On the click of this button another report must be called and here the ALV report is displayed in the background.I am using "reuse_alv_grid_display" to display the grid.
    I am using Import/Export to get the selected rows in my called report. When i execute this report in the foreground i get the ALV grid along with the data. But when i execute it in the background, i get only the grid with the fieldnames and not the data when i check in SP01.
    Thanks in advance!
    Smitha

    Hi Smitha,
    If you are able to see in SP01 and only see the output layout or "List contains no data" shows clealry that the data is not getting passed in the called program or the data is not being used correctly in the called program.
    Cheers
    VJ

  • Running report with alv grid in background and exporting to excel

    Hi Guys,
                  I've created a report program that uses the alv grid. When I run the report in foreground, I can easily export it to excel. However, if I run it in background, then display the spooled report and try to export to excel, it does not put it in excel format (seems to go over as one big column rather than individual columns that are defined in the report). Is there a way to run it in background ,export to excel properly and i have to email also in Excel sheet format.?
    Thanks,
    Gopi.

    In background u cannot do a download to excel. you can do is create CSV format file
    or
    write a report for output with tabs then call that report using
      submit yXXXX exporting list to memory
               and return.
      call function 'LIST_FROM_MEMORY'
        tables
          listobject = report_list
        exceptions
          not_found  = 1
          others     = 2.
    and send the report_list to email users

Maybe you are looking for