Adding custom functionality to InDesign

Hi
I'm trying to figure out the possible ways to add functionality to InDesign.
So far I know about plugins. I know that there is no SDK for CC yet.
1. Can I develop a plugin for InDesign CC without an SDK or using an older version of an SDK?
2. Is there another way to add functionality (like a toolbar)?
Thanks

Hello,
Look at the Wave Tool project in 6 SDK. If your application works in 6 it should work in CC.
P.

Similar Messages

  • Adding custom functionality sub screen in transaction IW51

    HI,
    Bussiness needs to add a custom functionality sub screen in header tab of transaction code IW51.
    Please suggest if anybody worked on this issue.
    Provide me if any screen exits are available in IW51 and how to implement the screen exits.
    Thanks,
    Radhakrishna

    hi,
    i dont think for this application SAP has good solution, we went for Z developments on this modules.
    any how checkout....
    SPRO>Quality management>Notification --> Overview of notification types --> Select the notification & 90 give the customer specific screen area
    Subscreen Number for Customer Screen Area "Notif. Header"
    Specifies the customer screen area that you can activate on the main notification screen using the SAP enhancement if you are working with the screen area '090' (customer subscreen (one screen/NTyp)).
    If you want to use more than one customer subscreen in your notification type, use the screen area '091' (customer subscreen (>1 screen/NTyp)). Assign the screens directly to the tab pages.
    Thanks,
    Shailaja Ainala.

  • Custom Functions with SDK

    After some success designing custom visual components using the SDK, I have attempted to create a custom excel function added in SDK SP1 and am a little confused by the minimal documentation.
    The documentation alludes to adding custom functions that will not work in excel design time but will work after compiled to SWF. So, in using the SDK I have created a series of test functions following the samples provided and I still am not able to use the function correctly and receive the this Excel function is not supported.
    I am assuming this SDK feature works like this (please correct me where/if I'm wrong!):
    -create a flex function in top level .mxml using the method mentioned in the docs/samples.
    -refer to function in excel formula
    -preview & the flex function should handle the rest.
    My question is, is this supported? Or does the function have to coincide with an excel function in order to work? I even created an excel function via VBA that works the same so the design time would behave the same, but to no avail.
    My function is as follows, it was simpler but after numerous tries I stole the sample layout and replaced the function name with testFunc and had it add the argument to itself but it still won't work in the visualization:
    public function testFunc(...args):*
         var v:*;
         var a0:Number;
         var range:ITableSDK;
         if (args[0] == undefined)
              a0 = 0;
         }else{
              if (args[0] is ITableSDK)
              xcelsius.spreadsheet.FunctionError(xcelsius.spreadsheet.FunctionError.VALUE);               
              }else{ // a cell     
                   v = getNumberUtil(args[0]);
                   if(v is xcelsius.spreadsheet.FunctionError)
                        return v;
                         a0 = v+v;
         return a0;
    I am using Flex Builder 3 with flex sdk 2.0.1 HF3. Any ideas?
    Thanks,
    Sean

    Hi,
    as far as I know there's no SDK for now, but I found more in the OptiMap product of the "Corda" agency, the original vendor of the default maps. You can contact it by their Internet site: http://www.corda.com/
    Best regards
    Massimo

  • Adding subtitle functionality to my custom flv player

    Hey all,
    I have a custom flv player and i'm slowly adding more functionality to it as I go along but i've hit a wall.
    I want to add a subtitle button that toggles between show/hide. I've seen on the internet that the best way is to use an XML file (holding the script, times etc.), which I have no problem writing.
    I'm having problems trying to replicate the 'FLVPlaybackCaptioning' component (in Flash CS3) in to my custom flv player. I.E. Adding the right actionscript to my toggle button.
    Can anybody help me as I just can't find anything on the internet.
    Any advice is welcome!
    Thanks
    egr103

    Well the problem is that I can't find any tutorials or help about getting a subtitle toggle button into my custom flv player, an example of which can be found here: http://idl.newport.ac.uk/dev/customplayer.html
    I don't like using the FLVPlayback component built into flash as it is too clunky but at the moment that is the only way I can get subtitles to toggle on and off (using the FLVPlaybackCaption component).
    Ideally I would like to use an XML file to do the subtitles. Any ideas?

  • Adding new custom functionality on BBPAT05 transaction

    Hi all,
    I have searched the forum to figure out an answer, but since i could not find it, iam posting my query:
    We are on SRM 5.0.
    Our requirement is to add a new search functionality for one of user's custom org attribute 'Default Approver' in the BBPAT05 (Change my Settings) transaction.
    We need to add an input box, where the user can enter a pattern search word, and a search button. Upon clicking this he should get the list of users, from which he can pick and save it as his default approver. It gets saved in his org attributes.
    Currently, he only gets a list of users in  a drop down box in the Attributes screen from which he can pick, he cannot search for a user though.
    I figured out that none of the CUF BADI's get triggered from this transaction. So does it mean that we cannot add custom fields/screen on this transaction?
    Thanks a lot.
    Ramya,

    Hi,
    Find the link below  which has step by step process of adding custom fields:
    goto site saptechnical-tutorials-ExitsBADIs-EEWB
    Hope this would be helpfull.
    Regards,
    Sharath

  • QISRSCENARIO - Action Box - Adding a custom function module

    Hello Experts,
    Under the scenario ID for Performance Award in the transaction QISRSCENARIO I created a custom function module in order to exchange standard. I clicked on the follow-up Functions of the MCSP and then I type my new function module, then when I tried to save the changes I received this error message:
    The function module Z_CUSTOMFUNCTIONMODULE cannot be used.
    Diagnosis
    The function module Z_CUSTOMFUNCTIONMODULE is not suitable to be used as a follow-up function, as the interface does not contain the required parameters.
    Does anyone knows what parameters am I missing?
    Thanks in advance,
    AK

    I would do it this way..
    MCSP is delivered with HRWPC_PCR_SP_TRANSACTION_PA30 as the function module. In SE80, copy the function group HRWPC_PCR_SP_ACTIONS into a custom function group..say  Z_PCR_SP_ACTIONS. When prompted to copy the function modules,select HRWPC_PCR_SP_TRANSACTION_PA30 & name the custom object as , say, Z_PCR_SP_TRANSACTION_PA30. put your custom code inside this function module.Activate the custom function group & function module.Now got to the Action Box & replace the Std function for MCSP with your custom function module.
    ~Suresh

  • How to bring the custom function module in WE42?

    Hi,
    I have created a custom function module to post a custom idoc.
    Process code has been created thro WE42 and WE57 is done.
    Still I am not able to see the custom function module in the list (WE42) in order to assign it to process code.
    May i know the reason for this?
    Thanks.
    Thiyagu

    What makes you think that it should be visible in WE42? There is no F4-value help for this and you haven't added it manually yet, right.
    In WE42 you can manually add entries, so that's what I would do.

  • SSRS - Pass Field Value List To Custom Function Assembly And Display Result

    I have written a SQL Server Reporting Services custom function as a C# assembly DLL and added it to my report. The purpose of the function is to search for outlier records in a collection of data. The data is represented as an array of floating point -tuplets
    (float[][]). In a medical patient database, these might be things such as blood pressure, cholesterol, hight, weight, waist measurement, etc.
    Several user input parameters are provided in the report, including numeric seed values for this particular algorithm. One multivalued parameter is a list of the numeric columns to be used as input to the algorithm because, importantly,
    the user can choose any subset of the value columns. I have a tablix that will display columns from the dataset conditionally, based on which of those columns are chosen.
    At this point, there are two issues I'm having difficulty with:
    How do I, in the course of running the report, take just the numeric columns that the user has chosen (ignoring all others in the dataset) and pass them as a float[][] to my custom function? Or is there something in the
    Microsoft.ReportingServices namespace that I should use to query an input dataset and convert it to an array in my C# code?
    How can I present the array subset returned by my custom function in a tablix in the report?
    Note: One thought that occurs to me is that outlier records tablix could be contained in a subreport, but I'm not clear on the logistics of passing dataset field results from a master report to a subreport.
    I envision a final report when run to be similar to the following:
    - Mark Z.

    Hi Mark,
    Sorry for the delay.
    From your description, you want to pass the dataset data to a custom code array, and return the subset of the array, right? In this case, you can use a custom function to add the data to array, and use the a custom function to sort the data base on your
    requirement and then use a function to get the subset of the array. Here are some sample custom code for your reference.
    Add to arryay
    Dim values As System.Collections.ArrayList=New System.Collections.ArrayList()
    Function SetText(ByVal value As Integer) As Integer
        values.Add(value)
        return value
    End Function
    Sort array
    Function Sort()
    Dim i as Integer
    Dim j as Integer
    Dim t as Integer
    Dim n as Integer=values.Count-1
    For i=n To 1 Step-1
     For j=0 To i-1
     if values(j)<values(j+1) Then
        t=values(j)
        values(j)=values(j+1)
        values(j+1)=t
     End if
     Next j
    Next i
    End Function
    Return value.
    Function Rank(ByVal value As Integer)
       return values(value)
    End Function
    Assume that you pass [Weight] field to array, you can use the expression below on the Weight column:
    =Code.SetText(Fields!Weight.Value)
    Then use the expression below to get the values.
    PatientID:=Sort() & Lookup(Code.Rank(0),Fields!Weight.Value,Fields.Patient.Value,"Dataset")
    Height:=Lookup(Code.Rank(0),Fields!Weight.Value,Fields.Height.Value,"Dataset")
    Weight:=Code.Rank(0)
    Hope this helps.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • CRM 7.0 / IS-U: adding custom fields to Business agreement for replication

    Hello Experts!
    We're working on replication of custom fields from IS-U to CRM 7.0.
    Can you help me with clarification of my understanding of these questions..?
    1) CRM/IS-U mapping tables for buag_main:
    Business Agreement(BUAG_MAIN) is a BO in CRM that corresponds to CRM table CRMM_BUAG and to Contract account in IS-U table FKKVKP.
    Table FKKVKP were enhanced with some z-fields,
    so we are going to enhance corresponding CRM table CRMM_BUAG (or CRMM_BUAG_H) with that new fields..
    But we see that these CRM and IS-U tables have far not the same field structures..
    So, the question: Which crm and is-u tables i should look, enhance and replicate for Business agreement?
    2) Access to Business agreement with possibility to add custom field:
    I couldn't find in Web UI where i can directly edit profile of Business Agreement..
    I've found just access to assignment block "Business agreement" on Account's profile overview page..(Role ServicePRO; Account details).
    There I used AET to add custom field..but I faced with problem when the 1st popup appeared: there was no enhanced object "Business Agreement"..
    Also in role "Utilities IC Agent" i've found "business agreement" profile but there I don't see buttons for adding custom fields..
    So, the question is: Where I can access Business agreement profile to enhance it with custom fields for replication with IS-U?
    3) CRM/IS-U data exchange functions:
    I tend to use tcode CRMC_BUT_CALL_FU:
    for CRM inbound event of BUAG object  - FM CRM_BUAG_MWX_PROCESS_EXT_STRUC..(as template).
    Question: Am I right that it fits my requirement to replicate custom fields from IS-U to CRM?
    Please tell me if you need more information..
    Looking forward to your answers.
    Thank you a lot in advance!
    Kind regards,
    Evgenia

    Hi Gobi,
    Thank you for advice. But:
    I've created fields not by using AET - I used documentation that Nicolas suggested me above.
    I've enhanced tables and structures that were mentioned there with my z-fields for both sides (CRM and ERP).
    Also I looked CRMC_BUT_CALL_FU for CRM Inbound BUAG_MAIN - corresponding standard FMs are marked for call.
    Any ideas?
    Thanks in advance.
    BR,
    Evgenia

  • Added custom screen in PO using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST

    Hi All,
    I have added custom screen with two z fields at item level using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST i can see my screen in tcodes ME21N , ME22N , ME23N but I am not able to save data.
    and also screen is coming in change mode even in ME23N .
    thanks.

    Hi,
    I have added two xfields at item level.
    This is the code i have added in zimplementation ZME_GUI_PO_CUST .
    IN Zimplementation ME_PROCESS_PO_CUST I have added code only in method FIELDSELECTION_ITEM . after doing this I can see only screens in ME21N, ME22N, ME23N but when enter data in zfields and trying to save it is giving me message no data has changed.
    method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE.
    DATA: ls_subscriber LIKE LINE OF re_subscribers.
    we want to add a customer subscreen on the item detail tab
      CHECK im_application = 'PO'.
      CHECK im_element     = 'ITEM'.
    each line in re_subscribers generates a subscreen. We add one subscreen in this example
      CLEAR re_subscribers[].
    the name is a unique identifier for the subscreen and defined in this class definition
      ls_subscriber-name = subscreen1.
    the dynpro number to use
      ls_subscriber-dynpro = '0001'.
    the program where the dynpro can be found
      ls_subscriber-program = 'SAPLYMEPOBADIEX'.
    each subscreen needs his own DDIC-Structure
      ls_subscriber-struct_name = 'MEPO_BADI_STRUCT'.
    a label can be defined
      ls_subscriber-label = text-001.
    the position within the tabstrib can be defined
      ls_subscriber-position = 4.
    the height of the screen can be defined here. Currently we suport two screen sizes:
    value <= 7 a sevel line subscreen
    value > 7  a 16 line subscreen
      ls_subscriber-height = 7.
      APPEND ls_subscriber TO re_subscribers.
      ENDIF.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_MODEL.
      DATA: l_item       TYPE REF TO if_purchase_order_item_mm,
            ls_mepoitem  TYPE mepoitem,
            ls_customer  TYPE mepo_badi_exampl.
    system asks to transport data from the business logic into the view
      CASE im_name.
        WHEN subscreen1.
    is it an item? im_model can be header or item.
          mmpur_dynamic_cast l_item im_model.
          CHECK NOT l_item IS INITIAL.
    transport standard fields
          ls_mepoitem = l_item->get_data( ).
    transport customer fields
          CALL FUNCTION 'YMEPOBADIEX_GET_DATA'
            EXPORTING
              im_ebeln = ls_mepoitem-ebeln
              im_ebelp = ls_mepoitem-ebelp
            IMPORTING
              ex_data  = ls_customer.
    store info for later use
          MOVE-CORRESPONDING ls_mepoitem TO dynp_data_pbo.
          MOVE ls_customer-badi_bsgru TO dynp_data_pbo-badi_bsgru.
          MOVE ls_customer-badi_afnam TO dynp_data_pbo-badi_afnam.
        WHEN OTHERS.
      ENDCASE.
    endif.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_TO_DYNP.
      CASE im_name.
        WHEN subscreen1.
          CALL FUNCTION 'YMEPOBADIEX_PUSH'
            EXPORTING
              im_dynp_data = dynp_data_pbo.
        WHEN OTHERS.
      ENDCASE.
    ENDIF.
    endmethod.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_DYNP.
      CASE im_name.
        WHEN subscreen1.
          CALL FUNCTION 'YMEPOBADIEX_POP'
            IMPORTING
              ex_dynp_data = dynp_data_pai.
          IF dynp_data_pai NE dynp_data_pbo.
    something has changed therefor we have to notify the framework
    to transport data to the model
            re_changed = mmpur_yes.
          ENDIF.
        WHEN OTHERS.
      ENDCASE.
    ENDIF.
    endmethod.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_TO_MODEL.
    DATA: l_item       TYPE REF TO if_purchase_order_item_mm,
            ls_mepoitem  TYPE mepoitem,
            ls_customer  TYPE mepo_badi_exampl.
    data have to be transported to business logic
      CASE im_name.
        WHEN subscreen1.
    is it an item? im_model can be header or item.
          mmpur_dynamic_cast l_item im_model.
          CHECK NOT l_item IS INITIAL.
          ls_mepoitem = l_item->get_data( ).
    standard fields changed?
         IF dynp_data_pbo-matkl NE dynp_data_pai-matkl OR
            dynp_data_pbo-plifz NE dynp_data_pai-plifz OR
            dynp_data_pbo-webaz NE dynp_data_pai-webaz.
    update standard fields
           ls_mepoitem-matkl = dynp_data_pai-matkl.
           ls_mepoitem-plifz = dynp_data_pai-plifz.
           ls_mepoitem-webaz = dynp_data_pai-webaz.
            CALL METHOD l_item->set_data( ls_mepoitem ).
         ENDIF.
            CALL FUNCTION 'YMEPOBADIEX_GET_DATA'
              EXPORTING
                im_ebeln = ls_mepoitem-ebeln
                im_ebelp = ls_mepoitem-ebelp
              IMPORTING
                ex_data  = ls_customer.
            ls_customer-badi_bsgru = dynp_data_pai-badi_bsgru.
            ls_customer-badi_afnam = dynp_data_pai-badi_afnam.
            CALL FUNCTION 'YMEPOBADIEX_SET_DATA'
              EXPORTING
                im_data = ls_customer.
         ENDIF.
        WHEN OTHERS.
      ENDCASE.
    ENDIF.
    method IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM.
    DATA: l_persistent TYPE mmpur_bool.
    CONSTANTS:
    FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
    l_persistent = im_item->is_persistent( ).
    *IF l_persistent EQ mmpur_yes.
    READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY
                         metafield = MMMFD_YYMAN_NUM."fd_cust_01.
    IF sy-subrc IS INITIAL.
    <fs>-fieldstatus = '*'. " Display <-- this one was as per the sample code given.
    <fs>-fieldstatus = '+'. " Input <-- this i added to make the field mandatory.
    ENDIF.
    READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY
                         metafield = MMMFD_YYMAN_DES."fd_cust_01.
    IF sy-subrc IS INITIAL.
    <fs>-fieldstatus = '*'. " Display <-- this one was as per the sample code given.
    <fs>-fieldstatus = '+'. " Input <-- this i added to make the field mandatory.
    ENDIF.
    *ENDIF.
    ENDIF.
    endmethod.

  • Caption function in InDesign CS6

    I have been playing with the Caption function in InDesign and cannot get a handle on it.
    Is there a discussion or video that might help me?
    In InDesign, I go to enter a caption for my picture.
    Object / Caption / Caption setup.
    It says it is looking for a piece of metadata called "Name".
    I go to Adobe Bridge to enter the metadata for this image.  There is no field called "Name" (or at least I have not yet found it).
    Should I use "Title"?  I added my caption text as the "Title" in Bridge
    Relinked the photo
    I went to Caption Setup and chose Title instead of name, told it to use my "caption" paragraph style.  I'm not sure how the before/after function works.
    I do not see the text either in Caption setup or anywhere else.
    I tried to Generate Live Caption and what appeared under my picture is "<No intersecting link>"
    Huh?
    My goal is to keep the caption together with the picture when exporting to accessible pdf, or ebook, or Kindle.
    Coaching, please?
    Thank you,
    Joyce

    I usually use the Description field in Bridge (although you could also use the Headline or Title fields:
    Then in the Caption Setup, I select the same attribute.
    The Caption frame needs to touch the picture. If it does, it looks like this:
    If it doesn't, it looks like this:

  • Custom Function Help

    Post Author: edy80y
    CA Forum: Formula
    I have a report with many subreports which all contain the same formula to group teams.When a new team is added i need to update all instances of the formula so they are all up to date.I know of Custom Function so i created one out of the formula in the main report.  The problem im finding is that im unable to use that custom function in the sub reports.Am i wring in thinking that a custom function created in a main report can be used in its sub reports??Am i creating the custom function incorrectly? Heres what i have done:
    Our database has team names that have a prefix of the State they are in such as: Perth - Team Orange Perth - Team Apple Sydney - Team Grape Sydney - Team Pineapple
    At one stage the Teams in Perth had been split into Perth1 and Perth2 resulting in the following records in the database:
    Perth1 - Team Orange Perth - Team Orange
    Because of this i have created a formula that groups teams into sites:
    select Trimleft(mid({team.name},instr({team.name},'-')+1))case 'Team Orange', 'Team Apple': 'Perth'case 'Team Grape', 'Team Pineapple': 'Sydney'default:''
    I use this formula in all reports and subreports and i link by them as well, so if a new team is created (for example Perth - Team Pear) i need toupdate all instances of the formula by adding 'Team Pear' to the Perth case.
    To fix the problem i created a custom function (called 'site') out of the formula above and it created this:
    Funtion (stringvar v1)select Trimleft(mid(v1,instr(v1,'-')+1))case 'Team Orange', 'Team Apple': 'Perth'case 'Team Grape', 'Team Pineapple': 'Sydney'default:''
    Now within that main report i am able to go to the formula editor and when i type site() then wording becomes blue but when i go into a sub report to do the same it doesnt react.
    I hope i have explained my self well enough for you to understand my predicament without boring you.
    Thanks in advance for your help!

    Post Author: edy80y
    CA Forum: Formula
    Hi,
    Thanks for the reply.  Unfortunately it does make things easy for me.  If i add the custom function in the subreport then i will have to updae that as well whenever a new team is created.  I'm looking for a solution where i only have to update the custom function in the main report only and not in the 7 or 8 subreports within it.
    Unless i am doing something wrong.  I basically copied the contecnt of the Custom Function in the main report and then went into the sub report and created a new Custom Function and pasted the code in it.
    Regards,
    Eddie S

  • Custom Function on OO ALV Grid

    I am trying to implement ALV_GRID_XT to enhance the ALV Grid toolbar by adding couple of custom funcitons.As per the SAP documentation I have created 2 methods ON_TOOLBAR - one for adding items on toolbar and the other ON_USER_COMMAND - for processing if the user clicks on the custom function.
    I am unable to relate the ALV Grid instance onto the method ON_USER_COMMAND . One of the funciton is to calculate the average of column which represents percentage excluding cells with zero values. Once the user selects column(s) and clicks on the Percent button on the ALV grid my piece of code should trigger ON_USER_COMMAND and then display the average percentage on the Totals row.
    Method ON_USER_COMMAND has only one parameter E_UCOMM which i am able to get in the method but I am not able to get the instance of the ALV grid so that I can play around with the data in the Grid.
    I could have used a local class and then enhanced the ALV toolbar but this requirement is needed for about 20 reports and hence thought of implementing it globally.
    Any ideas would be appreciated.

    Hi there
    You need to set the handlers of course and register the events
    I'm using also a Z-class  using functionality from the ALV Grid
    in the application program
    data: z_object type ref to zcl_*      "my z_class"
    * Instantiate your Z class
    create object z_object
           exporting
                      z_object = z_object
                      cfname = 'CCONTAINER1'.
    Now in your Constructor for your Z-Class have a variable
    say grid1 which is defined as a type ref to cl_gui_alv_grid.
    Code the methods you require --. The trick is to instantiate your OWN Z class and within  YOUR CLASS  instantiate the GRID1 variable as an instance of cl_gui_alv_grid - then you can use methods etc from that class in your own Z class simple via  something like this
    method CONSTRUCTOR.
    create object grid_container1
            exporting
        container_name = cfname.
        create object  grid1
           exporting
              i_parent = grid_container1.
        set handler z_object->on_user_command for grid1.
        set handler z_object->on_toolbar for grid1.
        set handler z_object->handle_data_changed for grid1.
        set handler z_object->handle_data_changed_finished for grid1.
        set handler z_object->on_dubbelklik for grid1.
        set handler z_object->on_hotspot for grid1.
        call method grid1->register_edit_event
            exporting
               i_event_id = cl_gui_alv_grid=>mc_evt_enter.
      endmethod.
    method display_grid .
    get reference of g_outtab into g_outtab1.
         get reference of g_fldcat into g_fldcat1.
        struct_grid_lset-edit = i_edit.    "To enable editing in ALV
        struct_grid_lset-zebra = i_zebra.
        struct_grid_lset-cwidth_opt = i_opt.
        struct_grid_lset-grid_title = i_gridtitle.
    *    struct_grid_lset-ctab_fname = 'T_CELLCOLORS'.
    *    struct_grid_lset-stylefname = 'CELLTAB'.
         struct_grid_lset-ctab_fname = style_fname.
         struct_grid_lset-stylefname = style_ctab.
    *     export gt_outtab from gt_outtab to memory id 'gt_outtab'.
        call method grid1->set_table_for_first_display
           exporting
                 is_layout       = struct_grid_lset
           changing
                 it_outtab       = gt_outtab
                 it_fieldcatalog = it_fldcat.
      endmethod.
    You need to add the buttons to the toolbar with your ON TOOLBAR method
    for example
    method on_toolbar .
    type-pools icon.
    clear ls_toolbar.
         move  0 to ls_toolbar-butn_type.
         move 'EXCEL' to ls_toolbar-function.
         move  space to ls_toolbar-disabled.
         move  icon_xxl to ls_toolbar-icon.
         move 'Excel' to ls_toolbar-quickinfo.
         move  'EXCEL' to ls_toolbar-text.
         append ls_toolbar to e_object->mt_toolbar.
        perform   toolbar  in program (caller) if found
         using e_object.
    endmethod.
    Now the functionality should work in the ON_USER_COMMAND .
    Here's my ON_USER_COMMAND method within the class
    method ON_USER_COMMAND.
    *        FOR EVENT before_user_command OF cl_gui_alv_grid
    *        IMPORTING
    *          e_ucomm
    *          sender
    * When defined in SE24 you don't need to code the
    * FOR EVENT etc as this is already defined as an event handler
    case e_ucomm.
          when 'EXIT'.
            leave program.
          when 'EXCEL'.
           call method me->download_to_excel.
          when 'SAVE'.
          when 'PROC'.
            call method me->process.
          when 'REFR'.
            call method me->refresh.
            when 'SWITCH'.
            call method me->switch.
           when 'TEST'.
            call method me->get_cell.
           endcase.
    endmethod.
    Add whatever  extra functionality you want to the on_user_command so long as you've defined toolbars..
    Cheers
    jimbo

  • Error adding partner function

    I am a newbie. I am trying to configure SD on my IDES.
    I am at the point of adding partner function (Z9) to the partner procedure (ZAG)
    but I am getting an error message:
    "Partner function Z9 cannot be used for partner procedures"
    I cannot find the answer in google.  please help.
    [click for image|http://i1181.photobucket.com/albums/x421/darkmatter1/196235/pfunction.jpg]

    Hi Anwar,
    Please check the parner function-account group and partner determination  procedure-account groups are assigned properly or not from
    SD >> basic functions >> partner determination >> set up partner determination >> Set Up Partner Determination for Customer Master,sales doc. header etc. which type partner determination you want to maintain if you want to maintain them for customer.
    In that screen, you need to maintain (Z9) to the partner procedure (ZAG) after doing Partner Determination Procedure Assignment and Account Groups - Function Assignment.
    I hope these will solve your problem.
    Regards,

  • Adding Custom Fields to FAGLFLEXP Table

    Hello,
    We have a requirement to update WBS Element for Planning related Data. So have added custom field(WBS Element)  in structure CI_FAGLFLEX04.
    The field is visible when I open FAGLFLEXP table, but when I post data The custom field (WBS Element) is not being updated. Could you please let me know the process to update this field?
    Thank you in advance.

    Hi.
    The procedure isn't so simple. There are several posts on the subject SCN. I suggest research before you start developing.
    Start here:
    https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
    However, the most important is: a) Is it really necessary to change the standard? b) There could be a Z table containing the new information and referencing FAGLFLEXP? c) What is the transaction that will keep the data? It has Exit´s for what you need?
    As Vadamalai said below,
    Actually your approach may be wrong, first as an ABAPer should ask to functional team, which transaction and where to insert the fields, it could be header or item level(I am saying example)
    Based on tcode, you need to enhance the table level as well as the screen exit/BADI we need to pass screen to internal programming structure. the structure type will be table type of FAGLFLEXP.
    Regards.
    Douglas

Maybe you are looking for

  • Empty folder in iphoto - where r my pics?

    OMG!  Just openend iPhoto and in many of the foldes the pictures have just vanished??  What´s going on?  No one has been in the computer except me - the pics were there yesterday??

  • Hard to find this forum!!

    Is it just me, or is it hard to know where to go once are already on the support webpage? 

  • How do you know the audio level of a keyframes

    I'm varying the audio levels of clips on the timeline by creating keyframes using the pen tool. I create four points: 1) -inf = beginning of fade-in 2) -5dB = end of fade-in 3) -5db = beginning of fade-out 4) -inf = end of fade-out But when I'm going

  • RH v8 crashes when generating a CHM

    RoboHelp HTML version 8.0.2 Hello! I've been working on a project for a few months, and RH has been a champ....until yesterday. It crashed when I attempted to generate a CHM file, which it has never done before! It generates printed documentation jus

  • Mail rejects password and inbox is blank

    Dear All, I hope someone can help! Earlier today my Mail was working fine: then it suddenly demanded my password. It rejects what I believe to be my password, and has emptied (seemingly) my Inbox. I can still gain access to it all through Mobile Me,