How To Skip Report of Submit Program

Hello All,
I am submitting a Report program from a Program and should return to the calling program after processing.
I have used  SUBMIT program WITH Parameters
                                                AND RETURN .
with this syntax, report of the submit program is displayed first, followed by the report of main program. I do not want the list of submit program to be displayed. How can I skip the same? Please advice.
Thanks in advance,
Pallavi.

Hi Pallavi,
Use SUBMIT Program  EXPORTING LIST TO MEMORY
          AND  RETURN.
To use this data of the submitted report follow below process.
Than once you return to ur main program CALL FUNCTION 'LIST_FROM_MEMORY'
than to conver this list to text format  CALL FUNCTION 'LIST_TO_ASCI'
Finally dont forget to use CALL FUNCTION 'LIST_FREE_MEMORY'.
Regards,
Ganesh.
Edited by: Ganesh Lathi on Oct 4, 2011 1:45 PM

Similar Messages

  • How to create reports for java programs?

    Hi,
    I have planned to do a project using java,that will help to create reports for java programs. To create reports for java programs i used two options.
    1)Crystal reports
    2)Write the code to produce reports for each java programs
    The second one little cumbersome.SO i planned to develop a software that is compatible for creating java reports.
    I would like to know how i will do the project?Can you help me to made it a successful project.Hope you can help me.
    Expecting your reply
    PreethiRenjith

    Uggg... Crystal reports...
    I would personally write a generic report generator, It would probably be easier than fighting w/
    crystal reports (CR is popular, but painful :) )
    Anyhow, I've written report generators for many different applications. It is one of the simplest projects you
    can take on, and the results make you feel special --
    If your need nicely formated, portable, printable reports, you could have your report generator make PDF files (the format is open, and VERY simple, plus people like pdf files) you can get the pdf spec from adobe or from wotsit.org (the famous wotsit file format archive).
    enjoy!

  • How to compile Reports sample OCI program in Sun solaris ?

    TO All:
    Here is reports OCI sample program.
    #include <stdio.h>
    long ret,rwcrun(),rwcsql();
    main()
    char options[132];
    long len;
    strcpy(options,"userid=ps51/ps51 report=emp batch=yes paramform=no destype=file desname=l.ps");
    printf("/options are: %s",options);
    len=strlen(options);
    ret=rw2run(options);
    printf("/n Value of return code is %d",ret);
    exit();
    Pls guide me , how to compile this program in Sun Solaris platform .
    1. Which library file I need to include.
    2. How to create make (.mk) file.
    If I compile this program using below command.
    $>cc ociprg.c r30dll.o
    then "rw2run" not found error.
    Also I need to use RW2RRB oci function, for this which library I need to use.
    Thanks in Advance
    Siva
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by R.Siva Kumar [[email protected]]:
    TO All:
    Here is reports OCI sample program.
    <HR></BLOCKQUOTE>
    null

  • How to get variant of SUBMIT program to the main program.

    Hi!
    In my ZFRFI00R_PRINT_DOCUMENTS program i am using
    SUBMIT zfrfi01r_alv_fi_document
    using SELECTION-SET sp_vari
    with p_comp  = gw_bkpf_key-bukrs
    with p_year    = gw_bkpf_key-gjahr
    with p_doc    =  gw_bkpf_key-belnr
    and return.
    So in the main program i created one layout field to get the what are all the layouts in the SUBMIT program.
    I am using FMs 'REUSE_ALV_VARIANT_DEFAULT_GET' , 'REUSE_ALV_VARIANT_F4'  to get default layout from the SUBMIT program.
    It is not showing the layouts which are in the SUBMIT program when i press F4 in the layouy input field in the selection screen of the main program.
    Can anyone help in this regard?
    Thank you in advance for ur help.
    Regards,
    Raj

    Hi,
    IN the disvariant parameter are you populating the correct program name..meaning the submitted program name..
    Thanks,
    Naren

  • How can i know if submir program is finished

    Hello experts,
    I have a program that use SAP program in submit mode:
      SUBMIT RSBDC_PROTOCOL
                      WITH SESSION = 'MB_MI01' " Session name
                      WITH FROM_DAT = SY-DATUM
                      WITH TO_DAT   = SY-DATUM
                      WITH USER   =  SY-UNAME
                      WITH QUEUE_ID = ' '
                      WITH COUNTOLG = 0
                      AND RETURN.
    the problem is that i need to create log for the batch inputs that created by this submit program, but i dont know when it's done.
    so now i got partial log.
    Regards,
    Ronen Ravansari.

    Hello David,
    first of all thank you for your quick response.
    I thoght about the parallel run.
    lets say that i'll wrap the command
      SUBMIT RSBDC_PROTOCOL
                      via selection-screen
                      WITH SESSION = 'MB_MI01' " Session name
                      WITH FROM_DAT = SY-DATUM
                      WITH TO_DAT   = SY-DATUM
                      WITH USER   =  SY-UNAME
                      WITH QUEUE_ID = ' '
                      WITH COUNTOLG = 0
                      AND RETURN.
    with RFC function.
    I wonder if the submit program will return to the function before it's done?
    if it is, so ther is no gain here.
    Regards,
    Ronen.

  • How to get variant of SUBMIT program

    Hi!
    In my ZFRFI00R_PRINT_DOCUMENTS program i am using
    SUBMIT zfrfi01
    with p_comp = gw_bkpf_key-bukrs
    with p_year = gw_bkpf_key-gjahr
    with p_doc = gw_bkpf_key-belnr.
    The selection screen for both the reports are different. Now my requirement is like when it calls the ZFRFI01 it should ask for variant.When i choose the variant with that the report ZFRFI01 should run.
    Any suggestions appreciated
    Thanks.
    Raja

    Hi,
    Try this way,
        SUBMIT <report> WITH <p_parameter> EQ <value>
                        USING SELECTION-SET <variant>
                        AND RETURN.
    Regards.
    Marcelo Ramos

  • How and where can I submit a bug report to Nokia ?

    How and where can I submit a bug report to Nokia ? I haven't found any Nokia's webpage where it is explained.

    wait for the next nokia beta test program (they usually annouce it on this forum) and enrol
    then you will have access to the developers to report bugs
    the last beta test finished end of November.. so it will be a while b4 the next beta test
    cheers
    Nokia N95 8GB, 6234, 6101, N-Gage Classic, 8250, 3350, 3315

  • How to catch errors in calling program when using SUBMIT ... AND RETURN ?

    Hi ,
    I am calling a report using submit and return statement from a function module. The report has select-options field for a date field. If user enters a date in low, which is greater than high, getting error message "Lower limit is greater than upper limit".
    How to catch this error without endup stoping on selection screen of the report?
    In the documentation, I read :
    Programs called with SUBMIT ... AND RETURN or CALL TRANSACTION cannot propagate exceptions to the caller, because exception objects are bound to the internal mode of a program.
    Is there any way to overcome this?
    Also my aim is to write a validation on the date selection-option to have the date range not more than 20 days.
    I am not sure of how to achieve this. 
    Is there a way to do validation of select-options data before submiting to the report ?
    Is there any standard FM to achieve this task?
    Thank you,
    Surya.
    Edited by: Surya on May 24, 2009 6:08 PM

    Hi Surya ,
    In your function module's code validate the date .
    If the low value of the date less than high and date period is not more than 20 then
    call transaction and in else condition raise exception.
    In your FM write like that - -
    IF   date-low LT date-high AND
                           date_difference LE '20' .
    CALL  TRANSACTION   'transaction'.
    ELSE.
    RAISE  ...........  " Raise the invalid date exception
    ENDIF.
    Regards
    Pinaki

  • How to copy/download  all ABAP programs in a text with a single report  ?

    How to copy/download  all ABAP programs in a text format with a single report/TC  ?
    How to copy/download  ABAP source code with all include programs ?....
    we need to search & copy all include programs everytime....

    Hi,
    check this link
    downloading programs
    Regards

  • HOw to find Report program associated module pool program?

    HOw to find Report program associated module pool program?
    I.e
    Me21n is the tcode.I want to find screens related to this tcode.
    Associated report program is RM_MEPO_GUI.(It has no screens hence it is a report program).
    (if module program is attached to tcode,i can easily find entries in d020s)
    Here  report program is calling a module pool program SAPLMEGUI(Has screens).
    If i give the Tcode Me21n,i want to list out all the screens of it..
    Can u give any suggestion....

    Hi Sampath.
    Manually i can see it (by seeing in system-status)..
    programmatically i want to know..
    for ex:if u take  Tcode:Va01
    we can get program (dialog)  and tcode in Tstc table .
    If we know the program name(dialog), we can find program and screens in d020s table.
    Va01 is atatched to a module pool program..No problem to find screens..
    In case of me21n,
    It is atatched to report program(calling module pool program)..
    Here i could not be able to get the screens ..
    I think u undrstood my problem..

  • How to know whether a concurrent program (report, procedure) is ......

    Hi All,
    How to know whther a conurrent program (report or package) is "Single OU or Multiple OU".
    OU: Operating Unit
    Any advice appreciated.
    Thanks

    Are you asking how to tell whether a concurrent program can be run for a single Operating Unit in a multi-Operating Unit environment?
    If you are asking about standard Oracle concurrent programs, then I would say that they should all be capable of running for a single OU in a multi-OU environment WHERE the module relates to operating units. For example the HR/Payroll modules do not relate to operating units, but rather business groups and concurrent programs in these modules will be able to be run by business group.
    If you are asking about custom concurrent programs, then I would suggest the easiest way to tell would be to run them and see, although having an Org ID parameter would be a good indication.

  • How to use Submit program of RAIMCOPY for a specific TCode - IM34

    Hi Experts,
    I have to use submit program RAIMCOPY.  but the program intend used in differnt Tcodes (IM27,IM27_Close,IM27_REPEAT,IM34,IM44,IM54,IM64).
    I used the following code but it is some other selection instead of IM34.
    SUBMIT RAIMCOPY VIA SELECTION-SCREEN with PA_PRNAM = gv_improg
                                                 WITH PA_GJAHR = gv_appyear
                                                 with SO_VERSN-LOW = 'G00'
                                                 with P_XVOVR = 'X'
                                                 and RETURN.
    Please help me to write a submit program RAIMCOPY for only IM34.
    Regards,
    Thulasiram.

    Yes at start of report (events LOAD-OF-PROGRAM and INITIALIZATION) the variant / parameters are not yet transfered to program, they are only passed just before the AT SELECTION-SCREEN OUTPUT, so that could have been nice ... before OSS note  927693 - Report variants used incorrectly in program RAIMCOPY which triggers now an error if sy-tcode <> pa_tcode in interactive mode ...
    So either you look for an implicit enhancement option to force again pa_tcode to required value (e.g. stored in memory) and disable effect of the OSS note (*) /or/ you replace the SUBMIT statement with a CALL TRANSACTION with a small BDC data.
    Regards,
    Raymond
    (*) SAP did that for transaction  IMCAOV, 1023920 - IMCAOV: Unberechtigter Abbruch 00368

  • How to skip from one list to another list in interactive report?

    Hi Friends,
    How to skip from one list to another list in interactive report that means now i am in 7 th list how to skip 4th list ?
    Or  now i am in 7 th list how to skip 9th list ?
    can anybody send sample code please.
    Thanks in advance.

    hi,
    at line-selection.
    case sy-lsind.
    when 9.
    sylsind = 4.
    endcase.
    try like this when u r in 9th list next it goes to 4 th list

  • How to use the 3of9 font in report in concurrent program

    Dear All,
    I have developed a report in 6i, and selected the font 3of9.ttf in Report Builder, which is a Barcode type font. but when i register the report as concurrent program and run the report concurrent program it is not showing me the field value in barcode format.
    Then i tried to ftp the font to unix server at location "$OA_JRE_TOP/jre/lib/fonts/3of9000.ttf" also created the xdo.cfg file at "$OA_JRE_TOP/lib" folder.
    But still i am not getting the expected result.
    Can anyone help me out to resolve this issue?
    Thanks & Regards,
    CAK

    You can't just copy a Windows font to Unix. You need specific Unix installation steps. That I know, for the rest I am unfamiliar with Unix fonts.
    Some info can be found here:
    http://www.idautomation.com/kb/unix-finst.html
    For specific problems with E-Business Suite, ask that in the EBS forum.

  • How to get the output data of Standard drill down report into z-program?

    HI every one,
            I want to get the output data of drill down report into z-program.
           Actually,if the output is only one, I can get into z-program,
          But, Here the report consists 3 alv outputs. when double clicking function happens, it will direct to another alv output.
        Those, all the outputs of report i want to get into z-program.
    PLease , give reply as early as possible.
    Thank u in advance,
    karthik

    HI,
      When i download,only one output i will get.
      But,if i double-click the particular record it will show another output. I want that output also.
      Like that,when i double-click particular record, it will show some other alv ouput based on record,     
    i wanted all those outputs.
    If  i copy the code, whether i face any problems?

Maybe you are looking for

  • App Store icon missing mac osx 10.4.11

    hey, app store is gone when i re install mac osx , how do i get it back? using osx 10.4.11

  • Keyboard Hot Keys/Function Driver for N586

    Hello, I just bought the Lenovo N586 and upgraded to Windows 8.  I backed up all my info and even when on the parition and got the drivers from there but I can't find a driver for the hotkeys or whatever you call it.  You know the Fn+F2, etc.  I look

  • Need file to fiel scenarion with multiple target

    Need file to fiel scenarion with multiple target with screen shots Thanks & Regards Sateesh

  • Are ERP Sales Orders supported for B2C Web Channel Scenario in CRM 7.0?

    Hi Experts, We are on CRM 7.0 with ECC 6.0 as backend system. I just want to know whether the third party tax system (Vertex or Taxware) is mandatory for B2C WEB Channel implementation?? Without using a third party tax system, how can we configure ta

  • Source determination

    Can anyone would be able to help me on the following question. Your system is configured to support your buying department in automatic source determination. Which of the following statements are true? (a)     A material master record must exist for