In custom control , I wnt to save the layout with variant  -

Hi,
In custom control , I want to save the layout using variant and i want to choose the layout from the variant
Plz give me the details.
Rerards,
Rani

Hello Rani
I assume you have an ALV grid displayed within a custom control. For this ALV grid you want to be able to save layouts.
Assuming that you are using class CL_GUI_ALV_GRID you have set the following IMPORTING parameters when calling method go_grid->set_table_for_first_display:
" Fill variant parameter with following values:
gs_variant-report = syst-repid.
gs_variant-handle = 'GRID'.  " 4-digit handle; required if you have multiple ALV grids
- I_SAVE = 'A'   " allows saving of user-specific and global layouts
- IS_VARIANT = gs_variant
Regards,
  Uwe

Similar Messages

  • How to save the layout in ZFIPRICE

    Hi all,
    In ZFIPRICE, there is an icon to change the layout but not to save it. How come?
    Thanks!
    Stan B

    Hi everyone,
    Is there a customizing to be able to save a layout in tcode ZFIPRICE?
    Thanks!!
    Stan B.

  • I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    That is because you don't have a web server configured and running to serve the html page. In order to see the page in a browser you need to access it using a url similar to http://localhost/~yourUserName if you are serving the page from your user account.
    Prior to Mountain Lion you could go into web sharing and turn on the web server. With Mountain Lion there is no option, other than using terminal, to turn on the web server. The web sharing menu item has been removed in Mountain Lion. Apache is still on your computer but it will take a little searching these forums or the Internet to find how to turn it on.
    If you want a graphic user interface to turn on/off the Apache server you could download and install a server application like xampp, http://www.apachefriends.org/en/xampp.html. I use this and it works well.

  • How to save the layout screen of the report in which contains subtotal

    Hi All,
    I developed Zprogram with 100 fields in ECC 6.0.Now i want to change the layout and save the layout.
    It was working fine if I select the fields which does not contain subtotals.
    Now I am facing the problem when I am selecting the subtotal and saving the layout then it was not
    reflecting in the saved layout.Can any body solve this problem.
    Thanks,
    Ram

    HI,
    while changing the layout are you not checking the check box for "Aggregate".
    regards,
    neha

  • My numbers program created on my mac version 3.0 won't work on my ipad version 2.0. It says I have to save the file with preview option but there is no such option in preferences. Any thoughts?

    my spreadsheet created with numbers program version 3.0 created on my mac won't work on my ipad version 2.0. It says I have to save the file with preview option but there is no such option in preferences. Any thoughts?

    For the update to run Aperture must be installed in the system Application folder and named simply Aperture, not Aperture3.2.2 or anything else.
    I don't know if this would also affect photo stream but if your Aperture is misnamed or installed in an incorrect location fixing that to see if it clears up the problem would be a good first step.

  • I need to create an action or script to save the file with the name of the selected layer

    I need to create an action or script to save the file with the name of the selected layer (not including the hidden layers, but including those visible).
    How could modify the script: 'Layer Comps To Files.jsx' to get the result?
    Warning: I do not need to export all layers as files.
    Who can help me?
    THX in advance

    Versione in Italiano (Further down the English version)
    NB - Nella versione inglese ho messo tutte le immagini dei menu in italiano.
    Versione per Mac, ma credo sia identico per Windows.
    Spiego passo passo cosa ho fatto:
    - Ho creato un file esempio con tre Livelli, salvato sulla scrivania e ho chiuso il file.
    - Ho aperto il file e selezionato il Livello al centro per iniziare a registrare una azione che ho chiamato: Save with Name of Selected Layer
    - Nuova azione
    - Dare il nome e premere Registra
    Ora salva…
    - Menu --> Livello --> Nuovo --> Livello... e premi -ok-, (lascia il nome che viene mostrato)
    - Ancora una volta Menu --> Livello... --> Nuovo --> Livello... e premi -ok-, (lascia il nome che viene mostrato)
    - Menu --> Livello --> Ordina --> Dietro
    - Menu --> Livello --> Unisci sotto
    - Menu --> Livello --> Unisci visibili
    - Menu --> Livello --> Nuovo --> Livello... e premi -ok-, (lascia il nome che viene mostrato)
    - Menu --> Livello - Nascondi Livello
    - Menu --> Elimina --> Elimina livelli nascosti (press -Yes-)
    - Menu --> Livello --> Nuovo --> Livello... Inserisci questo: 'Move this to the trash' e premi ok
    - Menu --> File --> Script --> Esporta Livelli in File... (Nella finestra che si apre scegliere l’opzione che si desidera, ma togliere il prefisso del nome) e premere -Esegui-
    - Selezionare il pannello Storia cliccare su Elimina premendo -Si- ogni volta che si apre la finestra di dialogo (Ripetere 8 volte questa operazione sino ad arrivare nella storia alla condizione di partenza. Ho visto che è meglio di Ripristina -F12-)
    - Fermare la registrazione.
    A questo punto, mandando in esecuzione questa Azione, ho raggiunto parzialmente l’obiettivo perché i file così creati mantengono, purtroppo, dei prefissi numerici per evitare probabilmente la sovrascrizione di file (credo senza avviso) nel posto dove vengono creati.
    Per ottenere l’obiettivo occorre un nuovo passo ed a proposito di questo riferisco quanto segue:
    ATTENZIONE - L’operazione descritta qui di seguito deve essere fatta su di una copia del file, per cui:
    - Duplicare il file,
    - Spostare l’originale in altra cartella
    - Lavorare sul file duplicato.
    mi riferisco a questo...
    ATTENZIONE - Questa modifica è effettuata a proprio rischio e pericolo ed il sottoscritto non si assume alcuna responsabilità su quanto venga fatto soprattutto da mani inesperte.
    ATTENZIONE - Questa modifica sovrascrive qualsiasi file che abbia nome uguale al layer che viene selezionato più l’estensione del file naturalmente.
    Comunque la modifica è banalissima e a portata di chiunque.
    Procedere così:
    - Chiudere Photoshop
    - Aprire (nel percorso specificato dall’immagine) il file “Export Layers to Files.jsx” (Export Layers To Files.jsx 1.0.0.16) con un editor di testo puro.
    - cercare la stringa (dovrebbe essere in riga 1029)
    var fileNameBody = fileNamePrefix;
    fileNameBody += "_" + zeroSuppress(i, 4);
    fileNameBody += "_" + layerName;
    - sostituirla con:
    var fileNameBody = fileNamePrefix;
    fileNameBody += layerName;
    - cercare la stringa (dovrebbe essere in riga 1047-46)
    var fileNameBody = fileNamePrefix;
    fileNameBody += "_" + zeroSuppress(i, 4) + "s";
    - sostituirla con:
    var fileNameBody = fileNamePrefix;
    fileNameBody += "";
    - salvare e uscire.
    - riavviare Photoshop
    - provare l’azione registrata facendo attenzione che il nome del layer non sia identico al nome di un file già presente altrimenti questo verrà sovrascritto.
    Domanda:
    Perché ho creato livelli che poi ho eliminato ecc.
    Risposta:
    Semplice per evitare errori di esecuzione delle azioni nel caso di operazioni con livelli mancanti o altro.
    Semplice... no?
    English version
    Mac version, but I think it's the same for Windows.
    First of all, I'm translating the actions that I made using the Italian version of Photoshop, you look at the position of the menu that I have chosen to do the work with other languages.
    I explain step by step what I did:
    - I created a sample file with three layers, saved to the desktop and I closed the file.
    - I opened the file and select the layer at the center to start recording an action that I called: Save with Name of the Selected Layer
    - New action
    - Give the name and press Save ( I think it is so in English )
    Now save ...
    - Menu -> Layer - > New —> Layer… and press -ok- , (leave the name that is shown)
    - Once again Menu -> Layer - > New —> Layer… and press -ok- , (leave the name that is shown)
    - Menu -> Layer - > Arrange (order) -> Behind
    - Menu -> Layer - > Merge Down
    - Menu -> Layer - > Merge Visible
    - Menu -> Layer - > New —> Layer… and press -ok- , (leave the name that is shown)
    - Menu -> Layer - Hide Layer
    - Menu - > Delete - > Delete hidden layers (press -Yes- )
    - Menu -> Layer - > New —> Layer… Enter this: ' Move this to the trash ' and press ok
    - Menu -> File - > Scripts -> Export Layers To Files... (In the window that opens select the option you want, but take away the name prefix) and press - Run -
    - Select the History panel and click Delete (on menu opened) pressing -Yes- every time when open the dialog box (8 times Repeat this step until you get into the story to the starting condition. Not use Restore -F12-).
    - Stop recording.
    At this point, by executing this action, I have reached the goal partly because the files created in this way remain, unfortunately, the numerical prefixes to avoid possibly overwriting of files (I think without notice) in the place where they are created.
    To achieve the goal we need a new step and thinking about this as follows:
    WARNING - The operation described below should be made on a copy of the file, so :
    - Duplicate the file
    - Move the original folder to another
    - Work on the duplicate file.
    WARNING - This modification is performed at your own risk and the undersigned assumes no responsibility on what is done mostly by inexperienced hands.
    WARNING - This change will overwrite any files with the same name as the selected layer plus the file extension of course.
    However, the change is trivial and within reach of anyone.
    Proceed as follows:
    - Close Photoshop
    - Open (in the specified path from the image ) file " Export Layers to Files.jsx " (Export Layers To Files.jsx 1.0.0.16) with a pure text editor.
    - Search for the string (should be in line 1029 )
    var = fileNameBody fileNamePrefix ;
    fileNameBody = + "_" + zeroSuppress (i, 4 ) ;
    fileNameBody + = "_ " + layerName ;
    - Replace it with :
    var = fileNameBody fileNamePrefix ;
    fileNameBody + = layerName ;
    - Search for the string (should be in line 1047-46 )
    var = fileNameBody fileNamePrefix ;
    fileNameBody + = "_ " + zeroSuppress (i, 4) + "s" ;
    - Replace it with :
    var = fileNameBody fileNamePrefix ;
    fileNameBody + = "";
    - Save and exit.
    - Restart Photoshop
    - Try the recorded Action, making sure that the layer name is not identical to the name of an existing file otherwise it will be overwritten.
    Question:
    Why I created levels which I then deleted etc..
    Answer:
    Simple to avoid errors of execution of the actions in the case of transactions with missing levels and other.
    Simple ... is not it?
    Sorry for my bad English...
    Thanks in advance for any hint.
    --->>> Please think about this... Adobe <<<---

  • Can I save the layout for a table?

    I'm using Hyperion Intelligence Explorer 8.3 on Windows XP/SP3.
    There is one section of a report I use that I like to convert to an Excel spreadsheet.
    I use the Insert Table function. Then layout all the columns from that section.
    Then do an Export Section. Which works just fine.
    What slows me down is that every time I do this I have to select off all of the columns for the report.
    Which takes a while.
    What I'm wondering is if there is some way that I can speed up this process.
    For example, if I could save the layout once and re-use it for future reports that would be wonderful.
    The columns are always the same. But maybe there is an even better way to convert this
    section to Excel?
    Thanks for any help or suggestions!

    Yes, one section of a .bqy file. The entire file has about 20 sections.
    I'm usually interested in just one of those sections.
    I think it is a results section. How can I check to make sure?
    It is a nicely formatted report. With columns and rows. Headers above each column.
    Totals on selected columns. It could easily be mistaken for an Excel spreadsheet.
    Yes, I would be happy to get all of the columns into Excel. From there it would
    be easy to hide/delete the ones I don't need.
    I have tried doing a File/Export/Section. Save as type 'Excel (.xls)'.
    That processing works without error and builds the .xls file.
    But I don't think it is really an .xls file. When I try to open it Excel complains that the
    filetype doesn't match the actual contents. When I say OK, the file opens.
    It's pretty messy. Some of the data rows are correct. But the column headers are all messed up.
    Rather than go left to right the column headers are one after another vertically.
    And a column header with two words gets spread over two rows.
    So 'First Name' becomes
    First
    Name
    What it actually looks like is some sort of .txt file. But it doesn't seem to have any commas or tabs
    that could be used to delimit the fields.
    Now when I go through the 'Insert Table' process and then Export that section I do get a 'real' .xls file.
    And it is formatted just fine.
    Well, I really appreciate the interest and help. Just let me know what I can try and I'll give it a whirl!

  • Cannot save the layout correctly

    I'm getting the message 'Cannot Save the Layout Correctly' when I try to save a report in DIAdem 11.0 and the TDR file does not save.
    Any ideas what can cause this and any solutions?
    Thanks

    Hi RLH,
    No, I've never heard of that issue before.  Was DIAdem working correctly for you at an earlier time?  If so, what changed on the computer from then to now?  Can you export a PDF file or a JPG image from the REPORT File menu?
    Please post a screenshot of the error,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Copying Queries from one infoset to the other with variants

    Hello Gurus,
    I have two infosets (A & B) based on logical database PNPCE. Infoset A & B are exactly the same. Now, I want to copy the queries of infoset A to infoset B.
    I am unable to copy the queries with variants. And I am getting following message:
    Error when copying query report XXXXXXX= with variants. Error when importing query
    FYI, I am able to copy the queries without variants successfully, using 'Sap Query: Special Copy Functions'.
    Any help on this would be much appreciated.
    Thanks,
    Ikram

    I think you are right. I see  now that I am overcomplicating things.
    To answer your question, no I do not add any color adjustments to the individual compound clips. I double click into the compound clips and make color adjustments to each of the angles from the multicam clip. When copying a clip made from the same multi cam clip from one project to another, any color adjustments made to the angles of that multicam clip that was copied over from the other project, does not carry over to the same multicam clips to the new project it was copied to - even if you break the compound clip apart to just the multicam clip, at least that's what I've noticed.
    But as you said, the easier thing to do, and this makes total sense now, would be create your multicam clip, and use keywords to label the parts in the browser, then drag the clips to the timeline as you need them. I'm assuming that the color corrections you apply to the angles on the timeline will be automatically applied to new keyword clips you drag to the timeline? Also, to name those multicam clips on the timelines, would you use markers? Is this correct?
    I really need to watch a few online tutorials on compound clips, but what Luis said has really cleared things up for me.
    Thanks so much for your help and patience guys!

  • How to create a custom control of a button where the look will be applied to all others but not the Boolean text?

    Hi all
    I would like to create a customized button as a master so that if I change the look of the master all other buttons will change too.
    I have done this with a custom control as a "strict type def" otherwise the look will not change BUT If I do this as a strict type def I cannot change the Boolean text anymore which should be different on every button.
    How can I create a master control of a button where the look will be applied to all others but not the Boolean text?
    Stay Hungry, Stay Foolish
    Solved!
    Go to Solution.

    Steve Chandler wrote:
    I don't think you can do that. I just looked and as I suspected the Boolean text property is read only for strict typedefs so you cannot use property nodes to change the text.
    As a workaround just make it a typedef. When you want to change the look open the typedef and make it strict, make your changes, then make it non strict again. You will have to update the Boolean text again for all instances. Kind of a pain. Maybe this is something for the idea exchange.
    Kudos for being sneaky.
    I like these creative work-arounds!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I am not able to save the pdf with filled data or related to reader extension

    Hi,
    I have designed a pdf with some text field controls. But i am not able to save the document when i fill some data into the pdf.
    or whenever i save data it says that the pdf will be saved blank.
    I know that this is the reader extension issue. How to i add this reader extension feature into it.
    I know that reader extension can be
    1. cached
    2. A document can be made reader extended using adobe live cycle process.
    3. also it can be embedded while designing the pdf.
    Can any body let me know how do i incorporate reader extension feature while designing and at runtime too.
    I know we have taken reader extension license but dont know how to use this reader extension feature.
    Regards
    Sunil

    Hi Sunil,
    You indicate that you have a Reader Extensions license, did you also purchase Adobe LiveCycle Reader Extensions ES2? You would apply the license to your form using this server product.
    You can also apply reader rights using Acrobat Standard v9 (or Acrobat Professional v8), but this has license restrictions - see EULA. Also the rights that are enabled using this route will not be as many when compared to LC Reader Extensions ES2.
    I have a summary here:
    http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/
    Also have a look at the Adobe page:
    http://www.adobe.com/products/livecycle/readerextensions/
    Maybe talk to the Adobe sales in your region.
    Good luck,
    Niall

  • How to save the layout in SAP Gui

    Hi,
    In the registration-area of the CAT2-screen I want to change the order of the columns. This can easily be done by drag-and-drop, but how can I save the new layout? If I exit from CAT2 and run it again, the old layout is back. Tips on this?
    Best regards,
    Thor-Egil Ekeli

    Hi,
    you must use the configuration button on right corner of the ALV-grid to change the columns.
    Kind regards
    Frank

  • How to save the template with cell locking?

    Hi Gurus,
         I have successfully locked the cell by using Data validation of Excel function in BPC input schedule. But when I save and reopen it once again the data validation does not work. My target is to distribute the cell locked template to different users thru offline wizard. Can anybody let me know how to save the data validation in the template ?
    Regards,
    KumarMG

    Resolved myself

  • Function to get the layout and variant info of a report

    Hi ,
    I have report zmm4. I have created a variant 'var1' .
    The output format of the report is defined in the layout
    'lay1'. Which is the function which gives the complete info about the displaying coulmns of those layout ?  because I need replicate these functionality in EP .
    Please don't say USE "SAP transaction Iviews'.
    any hint is appreciated
    thanks
    pkiran

    Hi Prashant,
    Does your report should look like portal format? or is it ok if you show SAP report in portal then easiest would be having a layout variant in the report selection.
    Assuming you are using ALV display. Specify the layout variant 'lay1' and save the variant 'var1'.
    Create Iview using SAP Transaction Iview and pass the  Tcode  - 'Start_Report'
    Application Parameters - D_SREPOVARI-REPORT=ZMM4 & D_SREPOVARI-VARIANT = VAR1.
    Choose option process first screen.
    Other suggestion would be to create a function module which is RFC enabled and pass the report values in the specified format to the FM output table and use SAP RFC IVIEW and report would look in portal format.
    You can also use com.sap.pct.srv.portaldataviewer par file and choose PortalALVTemplate. PortalALVTemplate is FM in R3 and gives u an idea how you can present the ALV report in Portal.
    Hope this helps,
    Thanks,
    Praveen
    PS.Dont forget to reward points for useful/solved answers

  • How to attach the layouts or variants to the alv report

    hi all,
    i have seen that using FM  REUSE_ALV_VARIANT_F4 for some reports iam
    getting the layouts
    for some reports its giving message that NO LAYOUTS FOUND.
    is there any way to define new layouts or else how can i use existing layouts.
    any help will be greatly appreciated,
    thanks and regards,
    cnu.

    Hi cnu,
         First set <b>I_SAVE = 'A'</b> in the alv  grid or list display FM. You can create new layouts by using 'change layout' button.but to save those layouts you have to set the save attribute. see below ex code.So that you can create some layout sets
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM = V_REPID
                IS_LAYOUT          = WA_LAYOUT
                IT_FIELDCAT        = IT_FIELDCAT[]
                IT_SORT            = IT_SORT[]
                IT_EVENTS          = IT_EVENTS[]
                I_SAVE             = 'A'
           TABLES
                T_OUTTAB           = IT_MLGT[]
           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.
    plz reward points if helpful
    thanks,
    Suma.

Maybe you are looking for

  • Using multiple employee numbers to generate a report

    How do I start with this. I want to allow the client to enter up to 8 employee numbers on a screen. The client will then hit a 'Find' button to bring up a report with those selected employee numbers along with the employee data from the table. From t

  • ITunes U and iPhone synching

    I want some iTunes U programs off of my iPhone.  I deleted them from iTunes U but upon synching my iPhone overwrote iTunes and placed the programs back in iTunes U.  I deleted them again and emptied the Recycle Bin.  In iTunes I clicked off Synching

  • How do i stop itunes automatically trying to download magnet torrents

    how do i stop itunes automatically trying to download magnet links torrents pressed always do for this type of torrent by mistake and need to reverse it regards paul

  • VPRS-based condition redetermined in return order (referencing billing doc)

    I have an issue with copy-control from invoice to return order. I want the invoice pricing conditions to be copied unchanged to the return order. This is similar to when creation the Sales order>Delivery>Billing Document. I need to make a return orde

  • Scheduling rman backup dbconsole

    Hi all, I'm using oracle10g dbconsole for backup database in incremetal mode, but I want to do full backup database on weekend. The problem is I'm using bakcup facilitie from oracle dbconsole. I only can shedule backup for 1 day and repeat, but I can