ME57 transaction with possibility to show in ALV layout

Hi experts,
I need change the alv grid in  the transaction ME57. To this, I copied the program RM06BZ00 (scree, includes... )
When I try execute the program with ALV layout the message ''Scope of list ALV not defined (please correct)" shows.
To resolve this problem I change the parameter im_service in the ME_REP_GET_TABLE_MANAGER function (Way to function: program ZSAPFM06B / include ZFM06BF04 / Include ZFM06BF04_PRUEFEN_LSTUB)
When I change this parameter on Debug (manual change) the ALV shows correctly, but when I change in program code the message remains.
How the way to copy the Me57 transaction with possibility to show in ALV layout?
Follows the code change:
    CALL FUNCTION 'ME_REP_GET_TABLE_MANAGER'
      EXPORTING
        im_service = 'RM06BZ00'
        im_scope   = l_scope
      IMPORTING
        ex_manager = gf_factory.
Thank you!
Edited by: Andréa Molina on Aug 4, 2011 5:12 PM
Edited by: Rob Burbank on Aug 5, 2011 9:22 AM

I solved my own problem...
The change in im_service was right.
The problem is that:
The gf_factory back empty in some places and in standrad transaction back with values. The memory clean the gf_factory result.
So... the only way to show ALV is fill the gf_factory in anywhere the gf_factory is check.
The places are:
1. sapfm06b - fm06bf04 - fm06bf04_pruefen_lstub
     Call in RM06BZ00 - perform pruefen_lstub(sapfm06b) using p_lstub.
2. sapfm06b - fm06bfsl - fm06bfsl_ban_aufbauen
    Call in RM06BZ00 - ban_aufbauen(sapfm06b).
3. sapfm06b - fm06bf01- fm06bf01_submit
   Call in RM06BZ00 - perform   perform submit(zgb_sapfm06b) using sucomm.
If the gf_factory is filled in this places... The ALV will show!

Similar Messages

  • ME57 transaction with ALV scope of list

    hi all!
    i want to run ME57 transaction with ALV scope of list, but i'm facing a problem because if the list of requirements are bigger than 50 recors, the system says that  'Max. 50 requirements can be processed simultaneously' and I can not assign source of supply to all my list. I guess this will be customizable, because if I run it with A scope of list, there's no limit of processing.
    how can I change that value in order to be able to process all the requirements of my list in ALV view?
    thanks in advance.
    Fabian

    Hello Fabian ,
    This limit is maintained in class CL_REQUISITION_AGGREGATE_MM
    attribute N_EDIT_MAXIMUM initial value 50.
    If you want , this value can be changed using transaction code SE24. However , please take note that this change is considered a modificationto the SAP standard system and will no longer be supported.
    I hope this information has been helpful.
    Best Regards,
    Frank

  • Is it possible to change the ALV report layout settings in spool request

    Hi All,
    Please let me know is it possible to change the ALV layout settings in background as we can change the layout settings in foreground to get correct format when download to excel.
    Regards,
    Jyothi CH.

    Hello,
    Add a parameter for layout on selection-screen (p_varmm LIKE disvariant-variant).
    As you are in backgroud mode, ALV will be printed with this layout (assuming you call correctly the MF ALV_LIST or REUSE_ALV_GRID)
    Regards,
    Christophe

  • ALV Layout on selection screen?

    Is it possible to offer the ALV Layouts on the selection screen? And how can i pass such a variant to the reuse-FM?

    Hi,
    Yes u can do it.Check this sample code
    Variant for ALV display
    SELECTION-SCREEN BEGIN OF BLOCK 0 WITH FRAME TITLE text-000.
    <b>PARAMETERS: p_varnt LIKE disvariant-variant.</b>
    DATA:      w_save(1) TYPE c,
                w_default(1) TYPE c,
                i_variant LIKE disvariant,
                i_variant1 LIKE disvariant.
    INITIALIZATION.
      i_variant-report = w_repid.
      i_variant1 = i_variant.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                i_save     = w_save
           CHANGING
                cs_variant = i_variant1
           EXCEPTIONS
                not_found  = 2.
      IF sy-subrc = 0.
        p_varnt = i_variant1-variant.
      ENDIF.
    Process on value request (list of possible variants)
    <b>AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_varnt.</b>
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                is_variant          = i_variant
                i_save              = w_save
              it_default_fieldcat =
           IMPORTING
                e_exit              = w_exit
                es_variant          = i_variant1
           EXCEPTIONS
                not_found = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF w_exit = space.
          p_varnt = i_variant1-variant.
        ENDIF.
      ENDIF.
    <b>AT SELECTION-SCREEN.</b>
       IF NOT p_varnt IS INITIAL.
        MOVE i_variant TO i_variant1.
        MOVE p_varnt TO i_variant1-variant.
        CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
             EXPORTING
                  i_save     = w_save
             CHANGING
                  cs_variant = i_variant1.
        i_variant = i_variant1.
      ELSE.
        PERFORM variant_init.
      ENDIF.
    START_OF_SELECTION.
    Call ABAP/4 List Viewer
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            I_INTERFACE_CHECK           = ' '
               i_callback_program          =  w_repid
            I_CALLBACK_PF_STATUS_SET    = ' '
            I_CALLBACK_USER_COMMAND     = ' '
            I_CALLBACK_TOP_OF_PAGE      = ' '
            I_CALLBACK_HTML_TOP_OF_PAGE = ' '
            I_CALLBACK_HTML_END_OF_LIST = ' '
               i_structure_name            = 'SFLIGHT'
               i_background_id         = 'ALV_BACKGROUND'
            I_GRID_TITLE                =
            I_GRID_SETTINGS             =
               is_layout                   = i_layout
               it_fieldcat                 = i_fieldcat[]
            IT_EXCLUDING                =
               it_special_groups           = i_sp_group[]
               it_sort                     = i_sort[]
            IT_FILTER                   =
            IS_SEL_HIDE                 =
            I_DEFAULT                   = 'X'
               i_save                      = w_save
              <b> is_variant                  = i_variant</b>
               it_events                   = i_events[]
            IT_EVENT_EXIT               =
               is_print                    = i_print
            IS_REPREP_ID                =
            I_SCREEN_START_COLUMN       = 0
            I_SCREEN_START_LINE         = 0
            I_SCREEN_END_COLUMN         = 0
            I_SCREEN_END_LINE           = 0
       IMPORTING
            E_EXIT_CAUSED_BY_CALLER     =
            ES_EXIT_CAUSED_BY_USER      =
           TABLES
                t_outtab                    = i_sflight
          EXCEPTIONS
              program_error               = 1
               OTHERS                      = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Hope u understood.
    Thanks&Regards,
    Ruthra.

  • Is it possible to show a presentation from the original iPad via wireless on an older projector with no HDMI input?

    is it possible to show a presentation from the original iPad via wireless on an older projector with no HDMI input? If so, what equipment is needed?

    The ipad not support wireless projector yet.
    The workaround is you are using computer that connected wirelessly [needs 2 wireless adapter] / via cable to projector and connected also to the wireless router.
    You are controlling the computer via wireless connected to the router using remote desktop app like splashtop, teamviewer, logmein, vnc, etc. You must set the remote desktop port and app at the computer too as ipad app support.

  • Report Painter: Possible to show Report with Zero (not No records were sel)

    Report Painter: Possible to show Report with Zero (not No records were selected)
    Dear Guru,
      is there any way to make Report Painter to show Report with Zero / 0 when there were no record were found. (No records were selected).
    Regards,
    Howard

    hummm, I dont think so
    THats not possible, as far as I know
    Regards
    Ajay M

  • Calling a transaction( whose o/p is an ALV) with a specific layout

    We have a requirement where we need to call a transaction (VL10C) whose output is an ALV.
    I have used a SUBMIT PROGRAM(since it is report trans). Now we need to set the layout of the ALV also.
    Any help would be appreciated.

    Hi,
    first, thanks for your reply. I tried this but this does not solve the problem at all.
    The first thing is, that it would be nice to have the mail as executable document. But now i have a mail with an attachment, which must be saved and then executed (both manually).
    -> Do you know how to combine the creation of an executable mail with the executable code coming from SWN_CREATE_SHORTCUT?
    The second thing is, that the values of the parameters are not transported (the fields are empty after clicking the file on the desktop). But the created file looks fine.
    [System]
    Name=PX1
    Description=
    Client=300
    [User]
    Name=EREDLIN
    Language=DE
    [Function]
    Title=
    Command=REBDBU BUKRS=P001;SWENR=10003;SGENR=101;
    Type=Transaction
    [Configuration]
    GuiSize=Normal window

  • Transaction starting with Y_DEV are showing in German language even though

    Hi,
         When we are login into SAP with French language, then all the transaction starting with Y_DEV are showing in German language i.e the initial screen and when we execute(F8) any transaction starts with Y_DEV, the output is coming in French language.
    Why in the initial screen, it is reflecting in German language even though the login is made with French language.
    With regards.

    Hi,
    Y_DEV* are user-developed reports. Could be that the selection parameters are not translated to French or maybe they just have to be re-generated (it happens sometimes in SAP). Use GR52 to regenerate the group of these reports.
    Regards,
    Eli

  • Is it possible to get an event, if user end transaction with /n?

    Hello,
    i have written an own control component(combination from enjoy controls(Toolbar, Tree and Splitter) in ABAP. If the User end the transaction with the gui status BACK END or CANCEL, I got a PAI and can say save_layout( ) set screen 0 leave screen, that next time the control has the same layout. If the user leaves the transaction with /n, I get no PAI to save the layout. If there are any event that I can catch to save the layout of my control. I find the class cl_system_transaction_state with event transaction_finished, but this event is only raised by commit work or rollback work.
    Thanks & Regards

    Hello,
    There is no event triggered on a "/n".
    Users should know that "/n" leave the transaction brutaly without any confirmation
    Sorry
    Regards
    JM

  • How to show ABAP ALV report in Portal iview?

    I have a ABAP report developed in ALV grid. Now I want to show it in EP iview. How can I do that? What type iview I shall use? And any step by step procedure/doc will be really appreciated.
    Alternatively is it possible to create a HTML tabular report similar to that of ALV grid and show it in EP.
    How complex will it be?

    To add to padmakar's remark. You can use a transaction iview but it has limitations.
    First of all: You can use a transaction iview with or without Gui. If the user has a sap gui then 1) you make a transaction for your ALV 2) create a transaction iview defining the alv transaction + with gui output
    If the user has no gui. Then it will only work if your ALV is made web enabled ( so not on 4.6c ).
    Other alternatives are to create a BSP + bsp iview instead of a list. Or use Webdynpro.
    Hopes this helpes somewhat,
    Frederik

  • Create transaction with variant not working

    Hello!
    Here's my issue -- I have a program that, right now, is more of a shell than anything else.  It is to access the HR Logical Database PNPCE, and to help filter the data I pull back, I created a Selection View with a couple of additional fields.  I put the necessary values in these fields and saved it as a Variant.
    All I want to do is create a transaction to run my program and start it using my Variant to fill in these additional fields.  Using SE93, I can create a plain transaction with no problem.  However, if I click the "Start with variant" drop-down field, I get a response that says screen 1000 (my default Selection Screen) has no variants.
    At first we thought there was some client-side things needing configuration, but if I go create a quick-and-dirty program with a single Selection Screen value (no Selection View) and a Variant, SE93 sees the variant with no problems.  So I'm wondering if maybe it has something to do with the fact that I'm using a Selection View.  Unfortunately, I'm so new to ABAP, I'm completely stuck on how to proceed.
    Any suggestions?  Thank you so much!

    Saquib, thank you SO much!  You're right -- that worked.
    As a relative newbie to SAP R/3 and ABAP, I'm new to little quirks like this.  In other examples, the list (F4) does show the variants.  For some reason, this one didn't.  I entered it anyway, saved, and ran the transaction, and it popped up with the fields populated from the variant.
    Again, kudos and thank you so much.  Points duly awarded.

  • Is it possible to show a 'My Activity' web part on a SharePoint site if 'My Sites' is not available?

    Is it possible to show a 'My Activity' web part on a SharePoint site if 'My Sites' is not available?
    For example, say there's a SharePoint installation dedicated to particular (custom) SharePoint site. The users go to the site to carry out their tasks. There's no 'My Site' set up in this installation (and for other reasons I'm told it's not an option).
    Is it possible to show a web part here that shows the user's recent activity? The built-in web part for this fails with the error 'Invalid URI: The URI is empty', and the details of it appear to say it's looking for the user's My Site to find out what to show:
    SPMicrofeedContext.SetMySiteHostForContext failed System.UriFormatException: Invalid URI: The URI is empty.     at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)     at Microsoft.Office.Server.Microfeed.SPMicrofeedContext.SetMySiteHostForContext()
    So, while I'd be happy to write a web part (or app part) to display the information instead of using the default part, I'm not sure SharePoint is even storing the activity in a way I can access.
    Some pages like the following: http://sharepointmystery.com/2012/07/22/activity-feeds-in-sharepoint-2013/ make me think it won't be possible - it says: 'The major change from 2010 is that all the [activity] content is stored in the user’s personal site, not
    in a common database.'
    Are activity feeds dependent on 'My Sites' or is there a way to access the information when 'My Sites' is not present in the deployment? I can't find a definitive answer in Microsoft's documentation.

    To clarify, do you have the User Profile Service (including MySite Host) up and running on this environment? That's subtley different to the full MySite experience which is clearly not applicable...
    Interesting question - thanks for that. Until now I didn't realise there was a difference.
    The User Profile Service is up and running, but no MySite Host is set. (I don't believe MySite will be available anywhere here. I guess that means there's no valid MySite Host for me to use.)
    Many thanks,
        Geoff

  • Is there any transaction code for uploding logo in ALV reports.

    is there any transaction code for uploding logo in ALV reports.

    hi,
    call function 'REUSE_ALV_COMMENTARY_WRITE'
           exporting
                it_list_commentary = t_header.
                i_logo             = 'Z_LOGO'.
    endform.
    Upload Logo for REUSE_ALV_COMMENTARY_WRITE
    For those who wish to upload and use a picture in your ALV abap reports.
    Steps for uploading Logo :-:
    1. Goto the transaction OAER
    2. Enter the class name as 'PICTURES'
    3. Enter the class type as 'OT'
    4. Enter the object key as the name of the logo you wish to give
    5. Execute
    6. Then in the new screen select Standard doc. types in bottom window
    Click on the Screen icon
    Now, it will ask for the file path where you have to upload the logo
    7. Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE
    or
    Import Logo and Background Picture for Reporting
    In this step, you can import a customer-specific logo and a background picture into the R/3 System. These will be displayed in the header area of reports in HR Funds and Position Management.
    From the SPRO:
    HR Funds and Position Management --> Dialog Control --> Customize Reporting Interface --> Import Logo and Background Picture for Reporting.
    Activities
    1. Enter the Name of your logo/background picture as an object key in the initial screen.
    2. Make sure that the class name is PICTURES, and the class type is OT.
    3. Choose Execute.
    4. Double-click the document type Picture on the Create tab page. A dialog box will appear in which you can enter the path in which the logo/background picture can be found.
    5. Enter the path and choose Open. The logo will be uploaded into the current R/3 System. If the logo/background picture is to be transported into other systems as well, choose Transport.
    6. Return to the initial screen and repeat the procedure after having entered the Name of your background picture as an object key.
    Please note that the logo/background picture can only be displayed in ALV-based reports with an HTML header. Manually programmed reports such as business distribution plans are not based on the ALV.
    If you have selected several initial objects, ALV-based reports in HR Funds and Position Management will automatically use a hiearchical-sequential display. A logo is not displayed here either. Note also that the logo cannot be printed (see print preview in program).
    Make sure that the logo does not exceed a height of 100 pixels because it would mean that the header of the report will be scrollable.

  • Is it possible to show data from two different sql tables?

    Is it possible to show data from two different sql tables? Either to show combined data by using a join on a foreign key or showing a typical master detail view?
    I have one table With data about a house, and another table With URL's to images in the blob. Could these two be combined in the same Gallery?
    Best regards Terje F - Norway

    Hi Terje,
    If you have a unique key, you could use one of the following functions for your scenarios:
    If you only have one image per house, you can use LookUp:
    http://siena.blob.core.windows.net/beta/ProjectSienaBetaFunctionReference.html#_Toc373745501
    If you have multiple images per house, you can use Filter:
    http://siena.blob.core.windows.net/beta/ProjectSienaBetaFunctionReference.html#_Toc373745487
    Thanks
    Robin

  • Is it possible to show the campaign name in the opportunity page?

    Hi Everyone,
    I'm wondering if its possible to show the campaign name in the opportunity page as a referrence as to which campaign the opportunity as associated with.
    Thanks,
    Wayne

    there is a Source Campaign field on oppty.

Maybe you are looking for

  • Songs are on my iPod but no longer in iTunes

    Hello everyone, I just had some computer work done and had to re-install iTunes (the latest version). When I open it up it still shows all the song titles I had before and the correct number of songs. HOWEVER the majority of them won't play. When I t

  • Merging clips in HD 6

    Is there any way to merge two or more clips together - within a movie project. If not... can I take clips, put into timeline, and export into something that would accomplish this... Thanks. David

  • Pick Currency rate at the time of Billing

    Hi Friends, When i post billing document in finance at that time currency rate fetch form currency master not from Sale Order. For good answer i will give good points. Thanks, Hemant Kumar

  • Changing Contact person's Work Address to his own Address

    Hi everyone, In an Account, I want to change the Work Address of a Contact to his own address. By default, the contact's address comes up as the Account's address(which is a known thing). How and what should I do so that I can see Contact's own addre

  • LR3 Feature Request - Heal Preset/Import Capability and Stuck Pixels

    (Note: I posted something similar some time ago but the original thread seems to be inaccessible although a cached Google version is available here. ) 2 features requests but with a common theme :- 1) Spot removal/cloning/healing added to a preset. C