How to use CL_GUI_ALV_GRID in background run

Hi expert,
is possible to use CL_GUI_ALV_GRID in background run?
Usually I do a call screen and I put the set_table_for_first_display method in the PBO.
How I can use the ALV GRID in a background run?
Moderator message: please search for information and try yourself before asking.
Edited by: Thomas Zloch on Jul 11, 2011 10:17 AM

Hi,
Check out standard examples in SAP by passing BCALV* & pressing F4 in SE38.
Regards,
Amit
Reward all helpful answers.

Similar Messages

  • Can I get a sample code on how to use CL_GUI_ALV_GRID........

    Can I get a sample code and documents on how to use CL_GUI_ALV_GRID, cl_gui_custom_container. Or cl_salv_table
    I want to create an ALV report and pick my columns with header information.
    Thanks,
    Eric.
    Moderator Message: There are enough sample codes and documents on how to use CL_GUI_ALV_GRID. Please search for them.
    Edited by: kishan P on Nov 12, 2010 10:53 AM

    Hi Eric Adinku,
    There are many reports available. In SE38 check reports starting with BCALV & SALV. Few examples include :
    BCALV_EDIT_01
    BCALV_EDIT_02
    Thanks & Regards,
    Faheem.

  • How to use cl_gui_alv_grid to print an alv?

    Hi,
    How to use the class 'cl_gui_alv_grid' to ?
    thnx in advance

    Hi,
    Check out standard examples in SAP by passing BCALV* & pressing F4 in SE38.
    Regards,
    Amit
    Reward all helpful answers.

  • How to use a structure at run time....

    Hi gurus,
    I am confused on how to use the structure in our report..why do we need it...Please help me with that...
    Thanks
    Cheers:Jim

    Or you could simply use a structure in your program to group like fields together.  So that you could maybe clear them all at one shot.
    For example, say that you have a structure with fields a - z.
    data: begin of structure,
            fielda type c,
            fieldb type c,
            fieldc type c,
            fieldz type c,
            end of structure.
    So in your program, it is now important for you to clear these fields, if you would have defined them one by one without the structure, you would have to list them all in your CLEAR statement, but instead, since you have them in a structure, you can some say....   CLEAR STRUCTURE.
    Regards,
    Rich Heilman

  • How to use Submit in background when report name is not static

    Hi all,
    I have an FM to which report name is being sent as an input parameter.
    So based on the report name I need to call that particular report in background and send the output as a HTML format to dealer's MAIL ID which is also sent as an input param.
    The logic for sending mail in background is achieved.
    I am using the followinf logic to submit the job.
    SUBMIT wf_report USER user_id VIA JOB lv_jobname NUMBER lv_jobcount
        to sap-spool immediately ' '
                         without spool dynpro
        WITH SELECTION-TABLE tb_seltab AND RETURN.
    wf_report holds the dynamic value of report.
    Here, tb_seltab holds various parameters and select-option values.Since I cannot pass a table to JOB_SUBMIT fm i had to use the SUBMIT statement.
    But the program dumps coz we need to explicitly mention the name of the program in the submit statement.
    Is there any other possibility to acheive this req when the report name is not going to be hardcoded?
    Thanks in advance.
    Regards,
    Chandra.

    You forgot the basics of using the SUBMIT.
    try like this it will work
    SUBMIT (wf_report ) USER user_id VIA JOB lv_jobname NUMBER lv_jobcount
    to sap-spool immediately ' '
    without spool dynpro
    WITH SELECTION-TABLE tb_seltab AND RETURN.
    Rhea.

  • How to use function inside background job?

    I try to call function inside job. It does not work. Is it possible to use function inside job or not. I hope you can help me. Here is my example code.
    Start-Job -Name ForestJob {param($v01,$v02)
      $line = @()
      function test {
        return "testvalue"
      $t = test
      $line += $t
    } -ArgumentList $var01, $var02

    Hi,
    Just checking in to see if the suggestions were helpful. Please let us know if you would like further assistance.
    TechNet Subscriber Support
    If you are
    TechNet Subscription
    user and have any feedback on our support quality, please send your feedback
    here.
    Regards, Yan Li

  • How to Use Table name at run time

    Hi All
    I have created a function that accepts a table name as a parameter and returns the maximam sequence number, but in my function body i can not write the parameter name as a table i.e.
    CREATE OR REPLACE FUNCTION MAX_ID(TAB_NAME Varchar)
    RETURN Number IS
    max_id Number;
    CURSOR curSalPoint IS
         SELECT MAX(EMP_NUMBER)
         FROM TAB_NAME ;
    BEGIN
    max_id:=0;
    OPEN curSalPoint ;
         FETCH curSalPoint INTO max_id;
         CLOSE curSalPoint;
    RETURN max_id
    END
    But it will give an error saying
    (1):PL/SQL: ORA-00942: table or view does not exist
    for "TAB_NAME"
    Any help would be appreciate ........

    Yes, as i contcatinated table name with the original statement, so you can also continate fields' names with your statment and execute immediate the statement.
    Sorry i forgot this statement in my function, to execute the statement you need to include following statement
    CREATE OR REPLACE FUNCTION MAX_ID(TAB_NAME Varchar)
    RETURN Number IS
    max_id Number;
    query varchar2(200);
    BEGIN
    max_id:=0;
    query:=null;
    query := query || 'select max(empno) into max_id from'|| tab_name;
    EXECUTE IMMEDIATE query;
    RETURN max_id;
    END;
    Message was edited by:
    Salman Qureshi

  • How to use 'so_new_document_send_api1' in background

    Hi All ,
    A Report program contains function module 'so_new_document_send_api1' to send PDF email to external id  .
    Can anyone let me know whether this program will send PDF email , if it is scheduled in backgroud ?
    Thanks in advance.
    U.Varalakshmi.

    HI,
    Check this link for XLS attachement.
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Check this link for PDF attachment.
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    Hope it helps
    Regards
    Mansi

  • Using JAR file in running application and POI !

    Hi all
    I am trying to use POI HSSF f(for the first time, So pls bear with me!)or creating excel file from my java Application. I am using the jar file :
    poi-2.0-RC2-20040102.jar. Not sure if its the correct one. So If I am wrong pls correct me.
    Now I am creating a bat file to compile my application:
    @echo off
    C:\jdk1.3.1_04\bin\javac -classpath C:\POI\poi-2.0-RC2-20040102.jar MyApp.java
    pauseIt compiles fine. Now If I try to use the jar file in run.bat for running my application, it says NoClassDef FoundError:MyApp. Here is my run.bat
    java -classpath C:\POI\poi-2.0-RC2-20040102.jar MyApp
    pauseI am not able to run my application with this run.bat file . If I change the content to:
    "java MyApp.java"
    It runs but give me error: NOClassDefFoundError:import org.apache.poi.hssf.usermodel.HSSFWorkbook
    Pls suggest me about how to use jar file in running my app and how to rresolve workbook finding problem.
    Reagrds

    Try this:
    java -classpath .;C:\POI\poi-2.0-RC2-20040102.jar MyApp
    pauseNote the "dot semi-colon" at the start of the CLASSPATH. That puts the current directory in the CLASSPATH, which is where MyApp.class lives. (No package, right?)
    See if that works better.

  • How can I change the background of a running webpage on my own. Example Facebook I want to change its backround color from white to black just in my view not for all

    How can I change the background of a running webpage on my own. Example Facebook I want to change its background color from white to black just in my view, not for all. Cause I really hate some site with white background because as I read for an hour it aches my eyes but not on those with darker background color.

    You can use the NoSquint extension to set font sizes (text/page zoom) and text colors on web pages.
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • How do I turn off background ni file activity when not using Labview? files such as nimxs.exe, nipalsm.exe, nipalsm.exe, nisvcloc.exe, nicitdl5.exe

    How do I turn off background ni file activity when not using Labview? I use labview rarely, and I also use my computer for demanding multimedia applications, including multitrack digital audio recording. I need to reduce as much background activity as possible, and taking a look with task manager I see files such as nimxs.exe, nipalsm.exe, nipalsm.exe, nisvcloc.exe, and nicitdl5.exe running even when I haven't used Labview (8 I believe). These files run even after I right click the NI icon on the lower right and turn off the application. I would like the computer to boot up without these files, and for the necessary files to be activated only when I start the program.
    Can this be done or do I have to remove labview from the system to improve performance?
    Thanks

    Hello, those processes are part of running NI services that start when Windows boots.  These processes serve varied purposes and stopping them can have undefined and unknown consiquences for your NI products.  These products run at "normal" priority meaning that they should be preempted by any process running at a higher priority which I would expect your other application to be doing given their time sensitivity.  That being said, in Windows XP (I can't speak for other OSes), you can lower their priorities even greater through task manager (right click the process»set priority) to further remove them from contention for resources.  If you want to prevent them from running you can set the service startup type to "manual" in Control Panel»Administrative Tools»Services.  Right click the process go to Properties and Under the General tab choose Startup Type»Manual.  This will start up the processes only when something directly starts it up.  LabVIEW will start these processes up as it attempts to use them.  When you shut down LabVIEW you will need to manually shut down these processes through task manager.  Again, doing this can cause problems with your NI products on your system and it is not advised.
    Travis M
    LabVIEW R&D
    National Instruments

  • How to DEBUG a function module running in background mode? Please help!

    Hi Experts,
       I am calling a function module in my ABAP code in background module using the following syntax:
      CALL FUNCTION 'YBBC2_CREATE_SNAPSHOT' IN BACKGROUND TASK
              TABLES
                itab_std_format_inv = itab_std_format_inv
                itab_snapshot_inv = itab_snapshot_inv.
            COMMIT WORK.
    If I put the breakpoint in the CALL FUNCTION line and execute the program, the debugger does not take me to the valled function module. This may be because I am running the function module as background task.
    I cannot comment this  "IN BACKGROUND TASK" statement as well since i am debugging in Quality system where I don't have change access.
    So how to DEBUG a function module running in background mode? Please help!
    Thanks
    Gopal

    Hi,
    You could try to use the following trick:
    (1) Put an endless loop into the coding of your function module where you want to start debugging, e.g.
      DATA:
        lx_exit_loop(1)     TYPE c.
      lx_exit_loop = ' '.
      DO.
        IF ( lx_exit_loop = 'X' ).
          EXIT.
        ENDIF.
      ENDDO.
    (2) Call your function module in background task
    (3) Call transaction SM50 and search for the background process.
    (3) Choose from menu Program/Mode -> Program -> Debugging
    Now you the debugger should bring you right to your endless loop. Set lx_loop_exit = 'X' in the debugger and continue (F5 or F6).
    <b>Reward points</b>
    Regards

  • How to use save data in Background by using standard task?

    Hi,
    I have worked with PD Process for PD. I try to find background process to run after manager approve. I use the standard task 17900108 but it seem does not work.  What should I did before I use this standard task?
    Please help me out how to use this standard task.
    Thanks a lot,
    Regards,
    Visut

    Hi All,
    Thanks for your reply.  Actually the key word of my case is I put the class in Program Exit instead of let it blank.  The standard task that I use is 17900108.
    I can use it to update data now....
    But it seem does not update to DPF (Digital Personal File).  Anyone has idea why it does not?
    Thanks again.
    Regards,
    Visut

  • How can I make a program run in the background?

    I'm working on a custom console program. I plan to have the commands as seperate applications and create a server/client relationship so they can communicate with each other. However whenever I call a command I don't want to have a console window pop up, flicker out, etc. I want it to look like it's one complete app. So I'm wondering how can I have the app run in the background?

    If you're using a unix system, use the "&" argument (or character, what is its name anyway?) at the end of the command line.
    I think you can use javaw in the MS-Windows world.

  • How can i stop apps from running in the background with the new ios7 update

    How can i stop apps from running in the background with the new ios7 update

    Double tap the Home button...slide the last used view of the app(above the icon) up. Tap Home button when finished.

Maybe you are looking for

  • Exchange 2010 Free/Busy Federation with vendor's Office 365 tenant

    Here the situation, ORG A ==== Exchange 2010 SP3 On-premise. No externally accessible CAS available/published (we are very secure and require VPN for Outlook/OWA from home/outside network) ORG B ==== Office 365 ASK === ORG B is a vendor for ORG A and

  • AXL Request Sequence attribute

    Hi Guys, What is the proper use of the sequence attribute in an axl request? I've made all my requests work just using 1234. But should I be doing something else with it? Cheers, Tim

  • CJ38    Budget Return in Project

    Dear All, Please expalin this trx. CJ38- Budget Return in Project Regards, Vishal

  • Oratab changes in 11.2

    Hello experts! I'm using my oratab file for various monitoring purposes and databases monitored are having 'Y' in oratab while those i dont want to monitor are having 'N'. On my RAC 11.2 env, it seems that my oratab file is updated automatically when

  • My sound is working fine its just on garageband!! help me!!

    I was on my Mac Book air the other day and the sound was working just fine. Then I turned it off for the rest of the day and that evening I turned it back on and went onto garage band and the sound had just stopped working. I checked if youtube video