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

Similar Messages

  • 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

  • There are many complaints about iMesh, but no answers as to how to get iMesh OFF the browser after it's been uninstalled. Can Firefox PLEASE direct us how to get rid of this program. Thank you. Lucille H

    Many complaints in ASK QUESTIONS about getting rid of iMesh in a browser, but no answer is provided. Please instruct your users how to get rid of this program. I got the install information from iMesh directly but my browser will not clear it, even if I change my home page. It's an impossible program to get rid of. This can't be legal. Thanks,
    Lucille Hunt
    Mack Avenue Records.

    Hi St. Peter. Thanks for your advice. I tried entering firefox.exe as you suggeted, but got the Just Ask Jeeves page again. You suggested uninstalling Just Ask Jeeves, but I`m not sure how to go about this since it doesn`t appear in my programmes. Thanks for your help.

  • How to get data from other programs output?

    Hi gurus,
    I have told to do the following can you please help me out.
    In SM35 created many batch no. The user would like to know automatically when the session is not ok (error status).
    In return of the first program RSBDCBTC_SUB we will get the queues ie QID and QSTATE.
    I have told to create new Z-prog.
    In that Z-prog how can i get list of QID from the result (Output) of the first prog(RSBDCBTC_SUB )?
    How i get that particular QIDs in my Z-prog?
    Thanks in advanced.

    Hi
    Senthis,
    You can use IMPORT and EXPORT or SET and GET
    IF you take the F1 help on these KEY words it will take you to the KEY word documentation where you can find an example
    of Go to TCode ABAPDOCU
    where you can find an example for the same
    Regards
    Ramchander Rao.K

  • How to get statistics of Z programs ran last 2 months

    Dear sirs
    How could I get statistics of Z-programs ran last 2 months <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jan 24, 2008 11:19 AM

    of course you can. use tx. ST03N, switch to expert-mode and look for total (month) and check transaction profile. you might want to investigate this transaction a bit more.
    i forgot to mention: standard setting for the recording of these data is 3 month. but you can change that if you want to.
    Edited by: Mylene Euridice Dorias on Jan 24, 2008 5:25 PM

  • 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

  • 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 variants for ALV List or Grid?

    Hi,
    I have one standard program RGJVSO10, for 4.6c, to diplay variants they r using fm GJ_LIST_VARIANT_VALUE_HELP, where they r passing table name and get the variants.
    But in ECC6.0 for the same program they r using FM REUSE_ALV_VARIANT_F4, but the variants are not displaying, form the table what they r passing in 4.6c,
    Is ther any option to get those variants using this function module?

    Hi,
    I have check u r db table but not finding variant . i will check with prg and inform u .mean while u check with these variants.
    whether it suits u.
    REUSE_ALV_VARIANT_ALL_MAINTAIN
    REUSE_ALV_VARIANT_SELECT.
    REUSE_ALV_VARIANT__MAINTAIN
    REUSE_ALV_VARIANT_DEFAULT_GET
    Reward if its usefull.
    Regards
    Durgaprasad

  • How to get data in ABAP program from multicube in external BW system

    Hi friends,
         I want to get data from one multicube which resides in an external BW system, in my ABAP program internal table. Is there any SAP standard RFC / BAPI for this or is there any other way around or I have to design my own program to get the data ?
        To make my requirement clearer, my ABAP program is in one BW box and the above mentioned multicube in another BW box. I want to get data from the multicube into my program.
        Any help is appreciated with points.

    Look at the following FM; you may find the FM RSDRI_INFOPROV_READ_RFC useful.
    Call the FM in your program and read data and update.
    RSAD_INFOCUBE_READ_REMOTE_DATA
    RSDRI_INFOPROV_READ_RFC
    Ravi Thothadri

  • How to get back up your programs up for leopard like ilife 08 and i work 08

    i am planning to upgrade/ clean install to leopard this week and i was wondering how to keep ilife 08 and iwork 08 as they came with my laptop and the only place i have them are on the mac os x 10.4 discs what can i do apart from buying them from the apple store.

    *Hi oliver, Welcome* to Apple's Users Help Users Forums.
    A bit of reading in the Leopard Forum will help you explore your options.
    http://discussions.apple.com/forum.jspa?forumID=1230
    1st have a bootable tested clone no matter which choice you make. In order of ease they are:
    Upgrade is the easiest. If probs, clone back.
    Then try Archive and Install.
    More probs, now you will have to Erase and Install.
    No poster ever had to erase and install. Upgrade worked for the vast majority.
    Do you have a particular reason for wanting to do E&I? If you have system probs, maybe get those fixed 1st. The forums are an excellent help for that.

  • How to get Tcode by input Program name?

    HI all
    If I want to get  T_code name from the program.  Which  function modul should  I use?
    thanks .

    Hi,
    Just goto transaction SE80 and enter the program name, in that you will be able to see the transactions. Also you can see the transactions in table TSTC by passing the program name.
    Hope this may be useful..
    Regards,
    Prashant

  • How to get information when a program was called last?

    Hello,
    I want to know when a report was called last time. Maybe there is a table where this information is saved.
    Thanks in advance...

    Hi Sebastian,
    Sorry but this isn't possible.
    To be more specific, you can't find the last run date of a program, except if it was launch in a background mode. In this case check table TBTCO.
    But if you want, you can realise it, using your ownb logic ( appending/modifying a Ztable at each run )
    Hope this helps,
    Erwan

  • How do I get to the Submit button on my form?

    I have finished my first form but can not find how to get to the submit button on the form to add where I want the form to go - how do I get an email address attached to the form?

    Hi Amy;
    A FormsCentral form can be either a web form users fill out in a web browser, or a PDF form (can also be distributed both ways).
    For a Web form the data is always collected by the Adobe FormsCentral servers and is available to view/analyze in your account on the View Responses tab of the form.  There are also options to set up Email Reciepts (to the form filler) and Email Notifications (to you and other users you specify) that can contain the form data.
    For a PDF form you have the option of the Submit button that submits the data to FormsCentral the same as the Web form, and the same Notifications and Reciept options apply here too.  Alternatively you create a PDF in FormsCentral to use however you'd like and can edit in Acrobat and add your own Submit button that emails the PDF or form data back to you directly.  There are a number of tutorials online for adding email "Submit" buttons to PDF and if you are going to edit a FormsCentral PDF you would want to look at this FAQ as well: http://forums.adobe.com/docs/DOC-3661
    I hope that helps, let me know if you still have questions.
    Thanks,
    Josh

  • Question about Page Builder behavior - how to get a "please wait message" ?

    Hi all together,
    I got a question about Portal Framework / Page Buider handling iView Integration.
    We are working with a lot of App Integrator iViews and often the pages includes with app integrator are loading longer than the rest of the portal. So there is the idea to put in a "please wait while loading message" for the enduser.
    I analysed the html code, the page builder is generating and foud out 3 diffrent approaches how the page buider is rendering the IFRAME with the integrated application configured with an app integrator iView.
    My question is how can I influence this behavior to put a "please wait while loading message"?
    Different types of iView integration in the client I have seen:
    a) direct loading of the content in the IFRAME (<iframe id="" ... scr="/mysource">)
    b) Filling the iframe with 'about:blank' and loading the content later by filling a form with JS
         ( <iframe id="" .... scr="about:blank">and after the iframe  <form id="" action="mysource" ...>
    c) Filling the iframe with a html file from the portal layout and loading the content later by filling a form with JS (similar to b)
         ( <iframe id=""" ....scr="/irj/portalapps/com.sap.test.mylayout/html/blank.html>
    I checked that variant b) is getting generated when loading a page with different components on the side (not only the app integrator iview) and variant c) is generated when just one app integrator iView is positioned (no portal page).
    Goal: To get the "please wait picture" I want to know how to get variant c) in cases of different elements on one page
    So I would be able to put this picture on the HTML-Page in the Portal layout (blank.html)
    Hope, someone with a deep portal / page builder know-how can help me out!
    Another way: Does anybody knows another way how to put a "please wait message" while app integrator application is not loaded yet?
    Thanks in Advance and kind regards,
    Jens
    Edited by: Jens Kohne on Nov 24, 2010 9:08 AM

    Hi Jens,
    there are several reasons why you don't get the loading animation:
    Web Dynpro ABAP: https://service.sap.com/sap/support/notes/1432358 -> missing configuration
    Wrong height size for iView: https://service.sap.com/sap/support/notes/1358494 -> alter configuration of the iFrame height (loading animation gets displayed, but is hidden)
    FPN, BSP, BEx: https://service.sap.com/sap/support/notes/1290995 -> AI isn't showing the animation because of performance considerations. I guess that is your case. Depending on your portal version this is a simple service configuration or involves some customization.
    br,
    Tobias

  • How to get data from the called program using SUBMIT in a background job?

    Hi Experts,
    I've a program which creates a background job using JOB_OPEN and JOB_CLOSE function modules.
    Between the above function modules I need to call a program using SUBMIT VIA JOB statement.
    My problem is, How do I fetch some data in an internal table in the called program to the calling program after the SUBMIT statement?
    I tried to EXPORT and IMPORT the data, but they are giving a failed sy-subrc when using this background job.
    Kindly let me know your inputs and valuable suggestions.

    Kumar,
    When we execute a program as a background job then the output will be sent to Spool which needs to be fetched again.I guess we need to use Submit via spool as mentioned by Rajat.
    Check these threads to get some idea
    submit report to spool & import spool id
    Re: Generate Spool for a report
    K.Kiran.

Maybe you are looking for

  • Unknown Error (-69) HELP MEEE!!

    My ipod will upload up to 200 songs, and then i get this window pop up saying some unknown error (-69) Anyone can help?

  • Hello, how can a change the size of photos so they fit in a poster?

    I have pictures in Iphoto that I would like to use when I print a A4 page with different picures. Some come out small and nice and some are big and fill the whole page. How can I save a small size?

  • SP2013 Content Approval Process, restrict status change on updates after Approval

    Hi , I had implemented the SharePoint content approval process for one internal requirement. Now, there is a need for modifying the content after Approval Status and by doing so SharePoint modifies the status as 'Pending' after edit. But, I have to r

  • Change from PC to Apple Mac help

    Hi Guys, I'm looking at switching from PC and laptops to a MacBook Pro 15" with retina. I have a few questions that hopefully you can answer. 1) Can I play and burn Blurays and DVDs with an external drive? 2) Can I transfer purchased windows software

  • Creating functions for movie-clips(serious problem)

    Hello, This is I think my third thread on these forums and in my previous threads I had always got some help.Well, now I have another serious problem, can you help me? I am unable to create a function that can control movie clips. Let me explain:- I