SUBMIT and RETUTN with ALV output

Hello Friends,
I have one standard program (RSVTPROT) which returns ALV output.
I want this output as internal table into my Zreport.
I used SUBMIT statement with RETURN but not working.
can anybody tell me what I missed?
Regards,
RH

Hi Ronny,
ALV output of called Program will not displayed when you use Submit and Return.
if you want to get the output of it . Identify the final Internal table where all the output of program RSVTPROT will be collected.
i guess its <gtab> ( Field symbol Table ) .  try to get the same.

Similar Messages

  • SUBMIT and RETUTN with ALV output into a interanl table.

    Hello Friends,
    I have one z program which returns ALV output.
    I have to create a one new Z program and in that I want to call this program and want the final output into an internal table into my Zreport.
    I used SUBMIT statement with RETURN but not working.
    can anybody tell me what I missed?
    or
    How can we do this.
    Thanks in advance.
    Suhas

    Hi Suhas,
    In Zreport1.
    Just open the first report program and assign internal table to some memory id like...
    EXPORT it_tab1 to MEMORY ID 'ZNITS'.
    In Zreport2.
    Now create an internal table with the same structure of it_tab1 and write the following in your program...
    SUBMIT Zreport1 WITH SELECTION-TABLE it_input
                                    AND RETURN.
    Note: it_input is of type rsparams and contains all selection parameters for *Zreport1*
    *   Import internal table content from memory id
        IMPORT it_tab1 TO it_tab2 FROM MEMORY ID 'ZNITS'.
        FREE MEMORY ID  'ZNITS'.
    Thanks
    Nitesh

  • How to use Write statement along with ALV output

    Hi expert,
    currently i have a requirement where i am first displaying message with write statement and after that ALV should be displayed ...something like below:
    vendor number is wrong.
    material number is wrong.
    plant is wrong.
    and then here ALV output -list of records updated in the database.
    but as of now the ALV is shown first and when going back then the write message information is dispayed.
    can anyone help how we can get this in only one screen?
    Thanks!!!
    Rajesh

    May below example give you some idea.
    TYPE-POOLS: slis.
    DATA: BEGIN OF it_kna1 OCCURS 0,
            kunnr TYPE kna1-kunnr,
            name1 TYPE kna1-name1,
            ort01 TYPE kna1-ort01,
          END OF it_kna1.
    DATA: it_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    START-OF-SELECTION.
      SELECT kunnr name1 ort01
        FROM kna1 INTO TABLE it_kna1 UP TO 10 ROWS.
    END-OF-SELECTION.
      WRITE:/ 'Write Statement Display' HOTSPOT ON.
    AT LINE-SELECTION.
      CLEAR it_fcat.
      it_fcat-fieldname = 'KUNNR'.
      it_fcat-tabname = 'IT_KNA1'.
      it_fcat-seltext_l = 'Customer'.
      APPEND it_fcat.
      CLEAR it_fcat.
      it_fcat-fieldname = 'NAME1'.
      it_fcat-tabname = 'IT_KNA1'.
      it_fcat-seltext_l = 'Customer Name'.
      APPEND it_fcat.
      CLEAR it_fcat.
      it_fcat-fieldname = 'ORT01'.
      it_fcat-tabname = 'IT_KNA1'.
      it_fcat-seltext_l = 'City'.
      APPEND it_fcat.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-repid
          it_fieldcat        = it_fcat[]
        TABLES
          t_outtab           = it_kna1[].

  • How create and work with Z output to meet the client requirment?

    hi  gurus,
    I am SD functional consultant and need ur help
    Please explain me how create and work with Z output .
    How we arrange and change the fields in header and footer
    where and how we do changes in Layouts setting and SAP scripts to meet the user requirments.
    pls forward functional or Tech spec of Z output
    points will be rewarded
    thanx & regards
    shabnum

    Hi shabnum ,
    I hope you can do it.
    Goto SE71, enter form name--> click change
    1) click in page window command button, Identify the header and footer window
    2) single click on Header window and click change button(pencil symbol)
    3) identify the fields and change order of the fields
    I hope this will help to solve your issue
    Regards,
    SaiRam

  • How create and work with Z output to meet user req

    hi gurus,
    I am SD functional consultant and need ur help
    Please explain me how create and work with Z output .
    How we arrange and change the fields in header and footer
    where and how we do changes in Layouts setting and SAP scripts to meet the user requirments.
    pls forward functional or Tech spec of Z output
    points will be rewarded
    thanx & regards
    shabnum

    Hi
    From SPRO do the all steps.
    Goto SD-> BASIC functions->Output control->Output determination->Output determination by condition technique->Maintain Output determination for sales documents
    Here define all like access sequences, Output types, condition tables and assign them to Program and Forms.
    From SE71 copy the script to a Zscript and to modify it to suit your requirements and the same Zscript has to be assigned to Output type, Program in NACE transaction.
    Reward points if useful
    Regards
    Anji

  • Message along with ALV output

    Hi,
    I want to display a message on the status bar along with the output . That is output and message should appear on the same screen together. Neither before the output nor after the the output.
    Best Regards,

    Hi,
    One option is to use ALV Container. Create a screen with ALV container & keep some blank lines at the footer of the screen. Use classes to call the ALV footer for populating the message.
    Thanks,
    Best regards,
    Prashant

  • Problem with alv output export to text file

    hi experts,
    when iam exporting alv output to text file,
    some data is missing in text file.say for example sold-to-party value is 1155027 in alv out put,but in text file it is showeing only 115502 ,
    the last digit is missing,
    can anyone help urgent!!!!!

    and when you export it to excel?
    from here you could save it as text file too...
    A.

  • Issue with ALV output in production

    Hi ,
    Iam using REUSE_ALV_GRID_DISPLAY function module to display the alv output.
    But the ALV is not displaying the data in production, where as it is working fine in Development and Quality.
    I have checked the version there is no change.
    Please advice how to fix this issue?

    I have checked all the Transport request for this particular report,
    Even i did the Version management .
    I didnt find any change in the versiopn management.
    We didnt miss any Transport related to this Report.
    Please see my coding for the same.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
       I_CALLBACK_PROGRAM                = V_REPID
       I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
         IS_LAYOUT                         = V_ALV_LAYOUT
         IT_FIELDCAT                       = V_ALV_FIELDCAT
         I_DEFAULT                         = C_X
       I_SAVE                            = 'A'
       IT_EVENTS                         = V_ALV_EVENTS
        TABLES
          T_OUTTAB                          = IT_FINAL[]
       EXCEPTIONS
         PROGRAM_ERROR                     = 1
         OTHERS                            = 2 .
      IF SY-SUBRC <> 0.
    Edited by: vinay raj on Nov 23, 2010 11:34 AM

  • Sqvi join of Mara and Marc with erroneous output

    hello all
    I have made a join between Mara and Marc in a SQVI query.
    as input i select material according to material type, material group and plants.
    output i want the material, the group and the maintenance view of material for each plant.
    not all the plants have the same maintenance view but the query returns the material for each plant with wrong maintenance view!
    what can it be?

    i am trying to achieve the following:
    material 12345 is in plants A, B, C
    plant A has maintenance status KBVE
    plant B has maintenance status BVE
    plant C has maintenance status KVB
    when I run the view, with the tables MARA and MARC joined by the material number, i requested the material filtering by material group, material type and maintenance view E.
    i want the system to return material 12345 for plant A and B with the respective statuses and exclude C because it does not have the status E.
    instead it returns material 12345 with plants A, B, C and all with maintenance status KBVE
    is it clearer now?
    also, what is the difference between mainenace status in MARA and in MARC?

  • How to retrive data from infotype 0008 &0021 and dispaly as alv output

    hi all,
    i have to read data from infotype 0008 and infotype 0021 and display as alv grid..
    can any one help me..
    <removed by moderator>
    regards,
    viswanath
    Moderator message: please search for information and try yourself before posting here.
    Edited by: Thomas Zloch on Jan 12, 2012

    Hello Sourabh,
    If I am not wrong, there are two parts two your query...
    a) Data or Content Retrieval
    b) Displaying Retrieved content
    Here is my feedback
    a) The Content can be Retrieved using the FM ARCHIV_GET_TABLE.
    Pass the Archive Object, SAP Object and the SAP Object ID and based on the Connection table entries (TOA*), the underlying Content Repository (T-code OAC0) is determined and a request for synchronous retrieval is made to the Content Server.
    b) Display of Retrieved content is normally done through dedicated viewers (Ex: Livelink Viewer) or front-end applications (Excel, Word) based on the Protocol (OAA3/OAA4) specified in the Content Reository Configuration. Hence, to my knowledge, you cannot display the content directly in the Smartform.
    With Regards
    Vijay Gajavalli

  • Remove Header when running report with ALV output

    Hi,
    We are running ITS Version 6200.1022.63326.3, Build 84960 connecting to R/3 Enterprise 4.7 on 6.40 Kernel Patch 196.
    I have a situation where I run a report through ITS, starting with a selection screen, I can remove the header part of the ITS generated screen by commenting out:
    <!--
        `SAP_TemplateHeader()`
    -->
    in my template. This works great.
    Now when I run the report and the output is given in the form of an ALV grid, there is no screen to manipulate as it uses the webgui generated html due to me having set parameter:
    GENERATEDYNPRO = 1.
    When I receive the report output, the SAP  header with "Quit" and "Help" is back, due to it being driven by the standard webgui generated templates.
    I have searched on SDN and found some guidelines but no answers are answered and then the thread goes dead so I just wanted to know if someone has ever successfully removed this header.
    I have set noheaderokcode = 1 in the service file, in webgui.srvc as well as in global.srvc.
    I have also started editing the templatelibrary files but to me it is not a very clean solution.
    If someone out there has had this challenge and solved it, please advise.
    Thank you very much and regards,
    Ronald G. Meyer

    Hi,
    Thanks for the feedback.
    Does not seem like the Basis team will be patching the ITS landscape soon, so is there anyone who has more input on this?
    I have found a programmatical example in this thread:
    /thread/76409 [original link is broken]
    But none of the examples work like I expect it to.
    Just wanted to know if someone has implemented this successfully.
    Regards,
    Ronald Meyer

  • Interacting with ALV output on Webdynpro

    Hi expert,
    I am displaying the output in ALV fromat using Webdynpro application.
    When I click on a column, i want to perform some functionality.
    How this can be achived?
    Do we need to display that Column as a Button? Then, how to trigger that action from that column?
    Thanks,
    Sreenivas

    Sreenivas,
    Please post it in webdynpro for abap forum.
    To give you hint you need to make the column as link to action and set an event handler onclick for the alv or you can search in webdynpro for abap forum
    Thanks
    Bala Duvvuri

  • Bridge Help | Create web galleries and PDFs with Adobe Output Module

    This question was posted in response to the following article: http://helpx.adobe.com/bridge/using/create-web-galleries-pdfs-adobe.html

    Plug-ins that failed to load:
    It seems to me that something is wrong with your install. Maybe you did clone a former mac to install on this one? or copies old stuff to the new one. Don't know, it seems easy and quick but I prefer always a new install using a new computer or switching to a new system upgrade.
    Lightning effects shows to be 32 bit while I think to know that Photoshop CS5 and CS5.5 are both 64 bit, however Bridge was turned to 64 bit in the CS6 version but that should not mater for you to use both applications from the same install disk (or download?)
    And variations is something I tried to find in CS6 but can't find it there. I had long forgotten this feature that presented different previews and you could switch to color corrections and brightness (not sure) while looking at the result in the previews.
    So I think you have some old material residing on your system. I would advice you to back up all custom settings (actions, tools, workspaces etc. and keywords in Bridge) Then do a search for the Adobe Cleaner tool :
    http://www.adobe.com/support/contact/cscleanertool.html?promoid=GYTAU
    (don't know this links work for you but you can find it easy with google).
    Read the instructions carefully and follow this using the official uninstaller that came with PS (see application folder). Also be sure to have your serial number and AdobeID present and while an activation of PS is for the computer maybe for security first deactivate before uninstall.

  • Create web galleries and PDFs with Adobe Output Module

    This question was posted in response to the following article: http://help.adobe.com/en_US/creativesuite/cs/using/WSe851854fd1e0856a-4b08a77612477f69f15- 8000.html

    HOW DO I CREATE A GALLERY IN DREAMWEAVER CS5!?
    This is the Bridge Forum and AOM creates its own gallery, maybe you better drop this question in the dedicated Dream Weaver Forum:
    http://forums.adobe.com/community/dreamweaver
    (and there is no need for SHOUTING...)

  • Avoid ALV output screen in submit statement

    hello,
    I have created one FM.in that FM i am calling one zreport using submit statement as i want to access that zreport's internal table.so i have done that using IMPORT and EXPORT statement and i am getting values in my FM.
    but my problem is when i execute that FM it stops and display the ALV output of zreport and then when i press back button it gives me FM's output.i dont want that ALV output.can anybody help me that how to omit this output screen?
    regards
    soniya s.

    Hi,
    Use option EXPORTING LIST TO MEMORY with statement SUBMIT.
    Regards,
    Nikhil
    Edited by: Nikhil Kayal on May 13, 2009 1:32 PM

Maybe you are looking for

  • Error message when downloading rented movies

    I am trying to download a rented movie on my daugthers nano and continue to get an error message just about the time the movie finishes downloading. The error message is 42110. Anyone know how to fix the problem

  • Why are there pending messages that can't be consumed?

    Hi all, I am using Glassfish with a self made monitoring/stress-testing application. In this app I can define consumers and producers, so I can somehow see the behavior of the system under many different conditions. But something odd is happening: th

  • Unable to transfer outside calls twice with CCME 4.0

    Hello, I have a 3825 with a CCME 4.0 and one E1. There is an IVR (from stonevoice) implemented. When the operator receives the call, she is able to transfer the call to a internal extension (for example 230), but when the user (ext. 230) tries to tra

  • Order Booking Application login problem

    I installed and configured everything according to the instructions. However, when I try to use the login.jsp to connect, I get the login failed message and no errors in Jdev. any thoughts on how to fix this?

  • 1004 when using mx_internal

    I'm trying to use mx_internal to override changeHighlightedSelection in a DropDownList subclass.  I've imported the namespace and used it, but FlashBuilder's complaining: 1004: Namespace was not found or is not a compile-time constant. override mx_in