How to handle ALV background run when we use REUSE_ALV_HIERSEQ_LIST_DISPLAY

Hi,
I am working on a program which outputs ALV "Hierarchical sequential list output" by using function module "REUSE_ALV_HIERSEQ_LIST_DISPLAY"(pls see the code below for reference).
When i run this report with the menu option "Execute in Background", it is not generating any sort of spool.
My job is to make this report run in BACKGROUND as well.
Please suggest me which Function module i should use to generate spool for the Hierarchical sequential list.??
Please send me your valuable inputs.
Part of code of my program for your reference:
    CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
      EXPORTING
        i_callback_program             = bhdgd-repid
    I_CALLBACK_PF_STATUS_SET       = ' '
    I_CALLBACK_USER_COMMAND        = ' '
        is_layout                      = wa_layout_d
        it_fieldcat                    = wa_fieldcat_t
        it_sort                        = wa_sort_t
    I_DEFAULT                      = 'X'
        i_save                         = 'X'
        is_variant                     = wa_variant
        it_events                      = wa_event_t
    IT_EVENT_EXIT                  =
        i_tabname_header               = 'TB_HEAD'
        i_tabname_item                 = 'TB_LINES'
        is_keyinfo                     = wa_keyinfo_d
        is_print                       = wa_print_d
  IMPORTING
    E_EXIT_CAUSED_BY_CALLER        =
    ES_EXIT_CAUSED_BY_USER         =
      TABLES
        t_outtab_header                = tb_head
        t_outtab_item                  = tb_lines
      EXCEPTIONS
        program_error                  = 1
        OTHERS                         = 2.
Thanks in advance,
Ram.

Hi,
When you run this program in background, check if this program is creating any shortdumps in ST22. Lot of times, ALV programs can't be executed in background.
Regards,
Sumant.

Similar Messages

  • I use nike+gps on my iphone but how can i track my run when I have to run indoors on a treadmill?

    I use nike+gps on my iphone but how can i track my run when I have to run indoors on a treadmill?

    there is another nike+ app that don't use the gps but the nike+ thingy you put in the shoe you can use that
    http://store.apple.com/us/product/MA368LL/E

  • How to access the Text Frame, when we use scrollable frame,

    Hi Friends,
    How to access the Text Frame, when we use scrollable frame,
    Thank you,
    [ Nav ]

    That's the same question:
    how can I access something (a page item) on a page…
    Answer: you need something unique in that object you can get a handle on.
    Or you use the selection a user of your script is doing and work with that selection…
    A "scrollable frame" is nothing special. What it makes it a "scrollable frame" is the DPS software.
    So you have to look for attached labels on the object, that identify the object for the PDS plug-in "Overlay Creator" as a "scrollable frame". That's possible with the "extractLabel("KeyString")" function. But you need to know the appropriate key-string in advance.
    In another of your thread in the DPS forum, I basically answered the question how to obtain those key-strings.
    When knowing the key-string you could loop through all your page items (you can skip all text frames) in the allPageItems-collection, to identify the "scrollable frame" by extracting the right label.
    If you have more than one "scollable frames" you need a second unique identifier for the particular object.
    That could be nearly any property.
    Keep in mind, there is no "scrollableFrames" collection in the DOM !
    Uwe

  • How to maintain, the validity internal when we use non commulative key figu

    Hi Friends,
    I would like to check, I've created query on Inventary infocube, when we trying to execute the report, I'm getting the following error.
    The validity internal has the initial value as lower limit
    Generally, How we will maintain validity internal when we use non cumulative key figures.
    Can anybody have some idea about this.
    Siri

    You need to maintain the validity period on which your stock can be calculated. The user will see special values when asking for stock outside this period (don't remember the special value).
    It can be a fixed period (in a first step, I will recommend that). For instance : from 01.01.1000 to 31.12.9999. Thus you will never have any error.
    It can also be a dynamic period (generally linked to the last data load).
    Regards,
    Fred

  • Sharing iPad2:  how to protect my own data when others use it?

    A single iPad2 is shared with others.  How do we protect individual data when others use the iPad?

    I use iCab and Comcast email with no problems. Try restarting your iPad. Try quitting iCab, restart the iPad and then try again. Just keep fighting the loop and see if you can ultimately get it to work if you have to.
    Try using the Connect Lite version of the Xfinity/Comast mail on the iPad. You will have to change that in the preferences on the server. It is in the general section. You want to select Xfinity Connect Lite. I have Comcst and I think this makes it a little easier to navigate and its a little more iPad friendly.
    If you want to be able to write mail in the Comcast webmail on the iPad you have to change to use Plain Text instead of HTML in the Composing preference. If you don't, the keyboard will not popup when you tap in the text field. You will be able to enter the email address in the To: field and the subject in the subject line but that is all unless you switch to plain text.
    I actually prefer the mail app on the iPad to using the Comcast webmail but that's just my preference.

  • How to preserve a background color, when generating a PDF file

    I am trying to create a PDF file from some application. Please note that the picture in this application has the black background. So I invoke a Print command and set a printer as "Adobe PDF". As a result, I have generated
     a brilliant PDF file of my picture, but on the WHITE background. When selecting the Adobe PDF printer, I have looked through all its settings ( in the Adobe PDF settings, I have found several tabs: General, Images, Fonts, Color, Advanced, PDF/X), none of them generated the original background color. 
    So how can a generate a PDF file, having the original background color (black, in my case) ?
    Oleg

    Now I feel that the background definition in the Adobe PDF printer and the background definition in the application the Adobe PDF printer is invoked from -- two different things. So I guess how can I define the black background in the Adobe PDF printer? I cannot find such settings.

  • How to handle comma in DMEE when your file format is CSV

    Does anyone knows how DMEE handles comma when its part of the field value and when the file format requirement is CSV?
    Thanks all in advance.
    Aloy

    Wrong forum.
    You should be here.
    Oracle Application Express (APEX)

  • How to handle the master data when we are loading the from multiple clients

    Hi,
    We are loading HR data from two different clients 101 and 102 of same source system.
    Here we are facing the problem with msater data maintenance for employee in BW, whose employee numbers are same.
    For example client 101 employee range is 10001 to 10100.
                      In client 102 also same employee range.Then how to handle the above scenario
    Is there any solutions apart from compounding of infoobjets with logical system.
    Thanks in advance for your sugessions.
    Thanks.
    Maria.

    Hi ,
    you  can create copy of 0EMPLOYEE Object.
    Load one client master data to the copied object.
    Example:
    1. Create ZEMPLOYEE copy of 0EMPLOYEE.
    2. create the transformation or rules
    3.  You have to follow same for remaining objects
    regards,
    HREDDY

  • How can I work with lightroom when I use two computers ?

    I am new to Lightroom and work with a laptop at home and a PC at work. Before I started to use LR3 I simply duplicated my pic files onto both machines, edited on whichever machine I wanted and then synchronised the folders. This system provided me with a working copy at either home or work and also a backup copy on the other machine.
    I would like to operate the same system with LR3 but am unable to figure it out due to the automatic filing system used by the programmme to seperate the raw files and the instructions for those files.
    Can anyone provide me with simple step by step instructions on how to transfer the files/instructions by using  a flash drive and "Copy and replace"system
    as I am totally confused by the grammar, syntax, and terminology used by Adobe.

    Hi Geoffbubbles,
    if you see only 1 photo you did export only 1 photo in the catalog.
    Make sure you select all (e.g. <ctrl> A or remove the tick from "export selected photos only" in the dialog box of export-as-catalog =>will pick the total folder).
    What Dorin mentions are catalogs as transportation vehicles between the two LR computer catalogs.
    Let's assume you start on your home-comp and transfer to the work-comp.
    When you EXPORT you give a name "home-to-work" for the transport catalog. You decide if you include the pictures by ticking "exclude negative files".
    You would do so only for the first time, when your work-comp would not yet have them.
    These are the original files which would never be touched, but which LR needs to have available to do develop work (i.e. to write develop instructions into its database). [Or maybe only you need them in order to have LR display the effects of what you are doing, if your slider settings achieve your desired result.]
    When you transfer your new settings from the work-comp to the home-comp which has the original files already you only need to transfer the DB-records for the files, i.e. the catalog parts. Then it is sufficient to export-as-catalog (name it "work-to-home") without the tick for the negative files. Which will obviously save a lot of data to transfer.
    As would leaving off the tick for "include available previews", but then your receiving computer would have to render the previews itself - your choice where you spend the effort.
    Depending on your ticks checked in export dialog the data on the transfer stick will show different folders:
    1 wrapping folder with the name you specified as transportation catalog name (in the example above "home-to-work")
    therein the catalog file *.lrcat (home-to-work.lrcat)
    if "include negative files" ticked: as many subfolders as the original folder structure/names of the pictures in it had on the sending machine
    if "include available previews" ticked: an *Previews.lrdata-folder ("home-to-work Previews.lrdata") with lots of subfolders labelled 0...F
    On the receiving computer, when you IMPORT FROM CATALOG, you only select the *.lrcat-file.
    In the dialog box you decide if you import the negative files (prereq you had included them) or if you just add them without moving (why not leave them on the stick i.o. actually copying over to the work-comp?). If there are no new photos, but just new settings, you can either overwrite your old settings (which is probably your intention) or tick "preserve old settings as virtual copies".
    When you use Dorins smart collection "Touched today" the virtual copies should not show up upon re-export on the way "work-to-home", provided you have further tweaked the master versions only. Or they do because in the end you liked them better and continued tweaking on them.
    Note if you do not include previews: you might need to tell LR on the receiving comp to rerender the previews if it contains the photos and earlier previews already - I am not sure, if LR starts off on its own to rerender them.

  • How to handle returned products originally issued out using Transport Order

    Dear Experts
    I transfer a batch containing 10 cartons from production plant NDE1 to sales plant NDE2 within same company code using a stock transport order.
    Each carton is valued at 1dollar each, that is total value of transfered stock is $10
    After two weeks, 3 cartons went bad and needs to be returned to production plant NDE1.
    How do I capture this return process in SAP?
    If it were an outright sales to a customer, a Return Order with reference to the invoive will be created, return delivery done,PGI done which brings the returned stock into inventory, and a credit memo posted against the original billing.
    How do I handle my 3 cartons of returned stock since it was given out using a transport order?
    What will the accounting entries be in the system? i mean which accounts will be credited and debited by the $3 value of th ereturned three cartons?

    It depends how you handle the stock .Your accounting document generated in NDE2  in plant only.
    The first step you transfered the material through sto from NDE1 to NDE2 ,here there is no impact on accounting entries as you are transffering the stock with in company code.
    After you get return stock from customer NDE2 you can directly scrap or after inspecction of the stock if the stock is good then you can keep in Unresticted use for further sales.
    I dont think so you need again one more sto to get return stock from NDE2 to NDE1 as it is damaged stock and un necessary paying transport costs.
    If you scrap the material then the 3 qty of stock 3 doller price hit to scrap account.

  • Project wont run when I use nextInt()

    Has anyone had the problem where when they use nextInt() where the project never runs? I run the project without the nextInt() statements and it builds then runs fine. However when I put in the nextInt() the project just shows that it is building, and never runs. Anyone know whats up?

    The exact code runs fine in jGrasp. When I try to run it in JSE this is what i get....
    init:
    deps-jar:
    compile:
    run:
    and at the bottom it says building Wages(run)...
    import java.util.Scanner;
    import java.text.NumberFormat;
    public class Wages {
        /** Creates a new instance of Wages */
        public Wages() {
        public static void main(String[]args){
            final double RATE = 8.25;
            final int STANDARD =40;
            Scanner scan = new Scanner (System.in);
            double pay = 0.0;
            System.out.print ("Enter the number of hours worked: ");
            int hours = scan.nextInt();
            System.out.println();
                if(hours>STANDARD)
                pay= STANDARD*RATE + (hours-STANDARD) * (RATE*1.5);
                else
                pay = hours * RATE;
                NumberFormat fmt = NumberFormat.getCurrencyInstance();
                System.out.println("Gross earnings: "+fmt.format(pay));
                }

  • Fan runs when I use Iphoto.

    My iMac constantly runs it's fan on high when I use  iPhoto '11 (9.2.3).  Have turned off the machine and unplugged it as suggested by
    a previous post, however it is doing it again as soon as I have iPhoto running for a bit to edit pictures.  Any suggestions on what to try next?
    or an explanation why the machine is running hot?  I did check my usage, it nothing seems out of the ordinary.
    Thanks for any advice/suggestions!

    You can't update iPhoto beyone 9.2.3 if you're on 10.6, and if you upgrade your OS it won't cost money to update it anyway.
    That said, the issue is more likely to be a problem in the Library and updating won't fix that.
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?
    Post back with the result.

  • How to display the output screen when I use bdc.

    hey expert,
    I want to display the output screen when i use bdc without using mode 'A'.
    thank you.

    Hi,
    You can go for mode 'E'.. it will display the output screen directly and if there is any error in the transaction you would get that particular screen and you can correct and continue after which you will get the final screen if anything goes fine...
    check this sample code....
    I had a program if you execute below program it automatically creates a new zprogram.
    REPORT  zprogram_create_recording.
    PARAMETER:
      p_prog    TYPE sy-repid OBLIGATORY,
      p_shtxt TYPE repti OBLIGATORY,
      p_pack  TYPE devclass DEFAULT '$tmp'.
    DATA:
      t_bdcdata LIKE
       STANDARD TABLE
             OF bdcdata.
    DATA:
      wa_bdcdata LIKE LINE OF t_bdcdata.
    REFRESH t_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-program    =  'SAPLWBABAP'.
    wa_bdcdata-dynpro     =  '0100'.
    wa_bdcdata-dynbegin   =  'X'.
    wa_bdcdata-fnam       =  'RS38M-PROGRAMM'.
    wa_bdcdata-fval       =  p_prog.
    APPEND wa_bdcdata TO t_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam       =  'BDC_OKCODE'.
    wa_bdcdata-fval       =  'NEW'.
    APPEND wa_bdcdata TO t_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-program    =  'SAPLSEDTATTR'.
    wa_bdcdata-dynpro     =  '0200'.
    wa_bdcdata-dynbegin   =  'X'.
    wa_bdcdata-fnam       =  'RS38M-REPTI'.
    wa_bdcdata-fval       =  p_shtxt.
    APPEND wa_bdcdata TO t_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam       =  'TRDIR-SUBC'.
    wa_bdcdata-fval       =  '1'.
    APPEND wa_bdcdata TO t_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam       =  'BDC_OKCODE'.
    wa_bdcdata-fval       =  'CONT'.
    APPEND wa_bdcdata TO t_bdcdata.
    IF p_pack EQ '$TMP'.
    *local object
      CLEAR wa_bdcdata.
      wa_bdcdata-program    =  'SAPLSTRD'.
      wa_bdcdata-dynpro     =  '0100'.
      wa_bdcdata-dynbegin   =  'X'.
      wa_bdcdata-fnam       =  'KO007-L_DEVCLASS'.
      wa_bdcdata-fval       =  ' '.
      APPEND wa_bdcdata TO t_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam       =  'BDC_OKCODE'.
      wa_bdcdata-fval       =  'TEMP'.
      APPEND wa_bdcdata TO t_bdcdata.
    ELSE.
    *package assignment with request
      CLEAR wa_bdcdata.
      wa_bdcdata-program    =  'SAPLSTRD'.
      wa_bdcdata-dynpro     =  '0100'.
      wa_bdcdata-dynbegin   =  'X'.
      wa_bdcdata-fnam       =  'KO007-L_DEVCLASS'.
      wa_bdcdata-fval       =  p_pack.
      APPEND wa_bdcdata TO t_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam       =  'BDC_OKCODE'.
      wa_bdcdata-fval       =  'ADD'.
      APPEND wa_bdcdata TO t_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-program    =  'SAPLSTRD'.
      wa_bdcdata-dynpro     =  '0300'.
      wa_bdcdata-dynbegin   =  'X'.
      wa_bdcdata-fnam       =  'KO008-TRKORR'.
      wa_bdcdata-fval       =  ' '.
      APPEND wa_bdcdata TO t_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam       =  'KO008-AS4TEXT'.
      wa_bdcdata-fval       =  ' '.
      APPEND wa_bdcdata TO t_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam       =  'BDC_OKCODE'.
      wa_bdcdata-fval       =  'LOCK'.
      APPEND wa_bdcdata TO t_bdcdata.
    ENDIF.                                 " IF P_PACK EQ '$TMP'
    CALL TRANSACTION 'SE38' USING t_bdcdata MODE 'E'.
    Hope this would help you..
    Regards
    Narin Nandivada

  • How can I narrow down results when I use 'command f' or 'spotlight' ?

    When I use 'command f' or 'spotlight'  I can be very specific with what i'm looking for and I will get soooo many results that the search is almost not worth it.

    System Preferences - Spotlight - Search Results

  • How to handle Output Data Association when no row returned?

    In BPM 11g, I'm using a Service to select a row from an external database passing a parameter using a Database Adapter.  Works fine when a row is returned.  But if no row is returned (which can happen because no match is found on the Select based on the parameter value), I'm getting an error on the composite because the Output Data Association has the return values, including integers, mapped to a Data Object I defined in the process.  Well if no row is found, the integer value is empty, and errors out trying to save it.
    How do I handle this situation?
    The specific message is this:
    The expression bpmn:getDataOutput('wm91AInterfaceMainCollection')/ns:Wm91AInterfaceMain[1]/ns:board is empty. An attempt to read or copy data referenced or computed by the XPath expression either had invalid data, according to the XML schema, or did not contain certain optional data. Ensure that the variable or expression result named in the error message is not empty. Enable XML schema validation of related data elements to ensure the run-time data is valid.
    I must be missing something obvious here, but cannot find a way to handle this.  Thanks in advance!

    Dan - Never mind about my request for an example.  I figured it out.  My problem was that the destination variable was a primitive process variable of type Integer, thus not allowing the creation of an XSLT.  Once I created a Complex process data object containing that Integer, I could create an XSLT with an If statement.  Thanks again.

Maybe you are looking for

  • Tirplets in grid matrix - please help!

    Hello All, I just switched from ableton live and am very pleased indeed , the macbook pro and logic 7 really do go hand in hand! - However one issue i have is that i cannot program triplets in the matrix editor - for example if i have an ultrabeat se

  • Blurry Cover Flow

    In cover flow view my scrollbar is blurry. In full screen volume bar is blurry as well. How to fix this

  • Data Source based on Infoset.

    Hi Experts, I have a datasource based on Infoset.This infoset is the join of two tables. There is one additional field in this infoset(Timestamp) Now, due to change in the requirement I have to delete this timestamp.I am unable to delete as it is say

  • Bluetooth Tethering

    hello I recently purchased a brand new macbook pro 2014 and have tried to tether my iPhone 4s to it for when at work/travelling and it just will not work. i went to my local apple store and discussed this with an employee and he told me that the iPho

  • What could be wrong?  We call the Output server in all other env and it works

    We have a dot net application that calls the Output service.GeneratePDFOutput.  The dot net application works in all env except our System Test env.  In Sys Test, we get an error. I've verified between env, and the User is the same in all env.  The R