Add Customer Push Button on SAPMV45A/8309 without making core-mod

Hi, we have added many numerous custom fields on screen SAPMV45A/8309(Additional Data B) and have had no issues.
We would now like to add a pushbutton on the screen 8309.
We have added the pushbutton and built the corresponding logic in the PAI which is all working.
The issue is we are getting the message after executing:
"Requested function C2C1 is not available here
Message no. V0104"
This seems to be saying that we need to add the the function code(C2C1) to a GUI Status.
But we are unsure which GUI status to add it to, AND we do not want to have to change a core GUI Status (which seems to be K).
Is there a custom GUI Status that we should be adding it to?
Any help is appreciated.
Thanks, David

Hi Raj, thanks for the reply.  I already had the function code listed in the screen attributes for the pushbutton.  I don't think I am accessing the screen logic out of sequence, but take a look and see if I am missing something.
My Function Code is 'C2C1' assigned to pushbutton
In Screen SAPMV45A/8309 in the PAI, I have the following:
PROCESS AFTER INPUT.
  MODULE ZZUSER_COMMAND_8309.
And then in MV45AIZZ, I have the following:
MODULE ZZUSER_COMMAND_8309 INPUT.
  CASE FCODE.
    WHEN 'C2C1'.
      <PROGRAM LOGIC>
      move 'ENT1' to FCODE.   <------new statement
    WHEN OTHERS.
  ENDCASE.
ENDMODULE.
I tried adding the above statement to "reset" the FCODE to a known FCODE, and I do not get the error anymore.
Although this now works, I am not convinced that it is the correct solution.
Any thoughts?

Similar Messages

  • Add custom Push button in ME21N T-Code?

    Dear ABAP Experts,
                    I have a requirement , when the user will create PO(in Standard ME21N t-code) Delivery/Invoice tab user want to add new push button 'NEW_DATA' . When the user click on 'NEW_DATA' Push button then one new screen will appear. In that new screen(which had some input and check box fields which are field manually).
    At the end ,whenever the user click on SAVE Icon then all these new screen details will save in custom (Z or Y) table. 
    How can i do this Issue ?
    Thanks & Regards,
    K.Chinna..

    Dear Sreekanth,
    In SAPLMEGUI program you suggested me that do SHD0 and add GUIXT to add new button.
    What is SHD0 and GUIXT ?
    How can i do this ? please explain me step by step ?
    Regards,
    K.Chinna

  • Custom Push button on CAT2 t-code

    Hi Experts,
    There is a requirement in my project, where we need to add a custom push button in the application tool bar of CAT2 transaction.(This push button must be placed right next to the additional fields push button). When this push button is pressed, a pop up must be displayed with some details on fields.
    There are three screen exits available for this screen.They are as follows:
    CATS0005
    CATS0007
    CATS0012
    Is it possible to add a custom push button in this standard application tool bar? If so, can you please help me in identifying the appropriate screen exit that can be used to achieve this requirement.
    Also, the current system is in 4.6c version and the above requirement is to be implemented in 4.6c. In near future, there will be an upgrade to ECC 6.0 version. So it will be helpful if you can give me suggestion that is applicable in 4.6c and ECC 6.0 verison.
    Thanks a lot in advance,
    Regards,
    Deepa

    Dear Sreekanth,
    In SAPLMEGUI program you suggested me that do SHD0 and add GUIXT to add new button.
    What is SHD0 and GUIXT ?
    How can i do this ? please explain me step by step ?
    Regards,
    K.Chinna

  • Customer Push Button on Process Bid screen

    Hi Expert.
    I need to add a new customer Push Button on "Proces Bid screen" .There are any BADI or user exit which
    I can use for addition the new button.
    waiting your suggestion.
    Sayan.

    hi,
    Please let me know if you have a solution for this thread.
    Regards,
    Neelima

  • How to add a push button in ALV Grid Top-of-page

    Is it possible to add a push button to the top-of-page in Alv grid display?if yes, then how? I am not using OO ABAP and am using reuse_alv_grid_display with top-of-page event.

    Hi,
    I am not sure whether we can add push button in top-of -page or not. But instead of that if you want to add button on toolbar as per your requirement then follow below link. it will useful.
    http://www.sap-img.com/abap/example-of-a-simple-alv-grid-report.htm
    Ram.

  • How to add the push button on the apllication tollbar of IL02 tcode

    Hi Friends,
    I have to add the push button on the application tool bar of the IL02.when that push button is pressed then some operation to be performed.Could you please suggest how to add.Is there any screen exit if yes what is that.
    With out screen exits if there is any way ?
    Thanks and regards,
    shyla

    HI Vicky ,
                      if u want an interactive ALV report , there are lot of forums already having the solution for that , but let me give u the solution anyway.
    In the function module "REUSE_ALV_GRID_DISPLAY" , import parameters
         I_CALLBACK_PF_STATUS_SET          = 'FLIGHT'
         I_CALLBACK_USER_COMMAND           = 'BUTTON_CLICK'
    has to be supplied to this function module . The PF status is where u hav created the two buttons , that PF status has to be given here .If the user clicks on the button then it is handled by the form routines . Inside the sub-routine based on the button the user has selected u could perform the action.
    FORM FLIGHT    USING RT_EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'FLIGHT' EXCLUDING RT_EXTAB.
    ENDFORM.
    Here the "Flight" is the PF_status .
    FORM BUTTON_CLICK USING UCOMM type SY-UCOMM
                           SELFIELD type SLIS_SELFIELD.
      CASE UCOMM.
        WHEN 'BUTTON!' .
    write ur code for button 1.
      WHEN "BUTTON"
      *Write ur code for button2 .
    end case.
    endform.
    for any queries reply back.
    regards

  • How to add a push button on an ALV grid  ?

    Hi,
    How to add a push button on an ALV grid, using ON_TOOLBAR, ON_USERCOMMAND Methods. Clicking on that push button, a new screen has to be displayed.

    Hi,
            Assuming that you want to have a "push-button" column, i.e. push-buttons within an ALV grid then you need to implement the following steps:
    (1) Set the style of the column as button
      ls_fcat-style = CL_GUI_ALV_GRID => MC_STYLE_BUTTON.
    (2) When the user pushes the button event BUTTON_CLICK is triggered. Thus, define an appropriate event handler method.
    <b>Reward points</b>
    Regards

  • How to add a push button(download) to my ALV Report to download report data

    Hi,
    I developed a normal alv report and now i want to add a push button ex.. download in the report output and then whwnever I am clicking this download button then download functionality will work.Please don't take it as simple from my point of view it is very imp. for me please help me.
    Thanks.

    Hi,
    Please check the below thread
    Re: ADD button to ALV Grid
    Thanks
    Arul

  • How to add left push button column in REUSE_ALV_GRID

    Hi,
    I need to add the push button on the left most part of the grid which will enable the user to select multiple lines and do further processing. I'm currently using REUSE_ALV_GRID.
    I've tried to search but I only saw suggestions for ALV using OO.
    Please help. Thanks.

    Hi,
    If you ar eusing OO ABAP
    declare : ls_layo TYPE lvc_s_layo,
    You have to set...   ls_layo-sel_mode = 'A'.
    If you are using 'REUSE_ALV_GRID_DISPLAY'..
    go for the following ..
    sp_group(4)    type c,        " group specification or,
    reprep(1)      type c,        " selection for rep/rep

  • Missing 'Add Custom Label' button again

    A  mate and I both have an iphone 4, same firmware i.e. 6.1.3 and as far as i can see all settings are the same. However when entering the same  new contact on my phone I have at the bottom of the 'select phone type label' screen an add a 'Custom Label' button, the list of phone types labels on mine  are 'Mobile, iPhone, Home, Work, Main, Home Fax, Work Fax, Pager, Other' On my mates  his list is 'Home, work, home fax, work fax, pager, assistant, car, company main, radio' and the 'Add Custom Label' button is missing.
    Other contact entries on his phone have the same list as mine and they include the 'Add Custom Label' button.
      They are both only synchronised with icloud  Can anyone help please?

    I have found the answer - the 'Contacts' in my mates iPhone was set to 'Exchange' set it to 'iCloud' both iPhones now have the 'Add Custom Label' option

  • Custom push button in sales order

    HI gurus,
                   I need to create a custom button(push button) in VA01 in custom tab additional data 1(header level).Please let me know the steps..
    Moderator message: please search for available information first.
    Edited by: Thomas Zloch on Mar 3, 2011 2:13 PM

    hi,
    yes u can do that,
       in table definition se11,
    append the sales order item structure and include ur custom field with proper data element and domain for data type allocation,and
    u will have to change the screen with screen exit to fit in new custom field where ever required, and lastly
      u will have to write a logic in sales order user exit include to pass the value to std table when perform happens.
      if these three points are met then u will achieve this.
      should take abapper's help
    reward if helps !!!!!!!!!!!!!

  • How to disable the custom push button in Classic ALV

    Hi All,
    Iam Using Classic Alv (with out classes).I have a created a push button.now at run time i want to make it dynamic .
    iam using REUSE_ALV_GRID_DISPLAY
    for ex.
    i have some records in my out put.
    i have a push button "INSERT"
    For first time when i clicked it will be inserted.
    Now if i run the report for the same inputs as top,i will get the records.But the "INSERT" push button should be disable.IS that Possible ??
    If yes kindly send me the solution.

    Hi,
    Here is the piece of code for your understanding...
    FORM f4200_pf_status_set USING i_extab TYPE slis_t_extab.
      REFRESH i_extab.
      PERFORM f4210_exclude_fcodes CHANGING i_extab.( This form is mentioned below ).
      SET PF-STATUS 'STANDARD' OF PROGRAM '(Program name)' EXCLUDING i_extab.( This line of code will excude the function u don't want)
    ENDFORM.
    FORM f4210_exclude_fcodes USING i_extab TYPE slis_t_extab.
      DATA: ws_fcode TYPE slis_extab.
      CLEAR ws_fcode.
      ws_fcode = '&EB9'.           
      APPEND ws_fcode TO i_extab.
      ws_fcode = '&ABC'.           
      APPEND ws_fcode TO i_extab.
      ws_fcode = '&NFO'.           
      APPEND ws_fcode TO i_extab.
      ws_fcode = '&LFO'.          
      APPEND ws_fcode TO i_extab.
    ENDFORM.                    " f4210_exclude_fcodes
    I hope this clarifies. Revert for any queries.
    Cheers,
    Venkat

  • How to add a gif (animation) file to stage without making the SWF too heavy?

    Hello
    I'd like to make some simple flash animation using some gif files i have on my pc. these gif files have like 20-30 frames each . eventually when i export the file to SWF it becomes too heavy (more than 1mb) ...what can i do to avoid this? i need the swf flash files to be much smaller so i can upload them to my site without making my site upload time too slow.
    thanks in advance

    Without seeing your movie, I'm guessing that the best place to shave off some of the size would be to make the individual images used for the animations as small as possible. This could be done through a combination of optimizing the individual images and reducing the physical size of the images.
    Another tactic is to make individual Flash movies out of each animation, then make a master Flash movie that will load in each of these individual movies at runtime. This will lower the initial wait for a large file download. The success of this tactic will rely on size of the files to be downloaded and the connection speed of your users.

  • Add custome field in VA01/VA02/VA03 without access key

    Hi,
    I need to add some custom fields in VA01/VA02/VA03 screen at item level. But i am unable to find out any screen exit/BADI  for the same.
    Can anyone tell me plz how i can achieve this without using access key.
    Thanks in advance.

    hello,
    you could try using GuiXt. With this adds on you could add: fields, button, input parameters, change standard screens layout etc.
    read this tutorial http://www.synactive.com/tutor_e/lesson00.html for the start.
    br,
    dez_

  • How can I add custom toolbar buttons to load different TOCs?

    In my WebHelp output, I want to have custom buttons on the toolbar that when clicked load a specific TOC in the left navigation pane. For example, when the user clicks the PC button, the PC TOC loads in the left pane. When the user clicks the VM button, the VM TOC loads in the left pane. All of the help files are managed in one project and some files will appear in both TOCs.
    I think this should be possible but not sure how to make it happen. Is there some JavaScript that I should add to the custom toolbar item to load the TOC on click? How do I specify the TOC that I want to show for each button?
    BTW - I'm using RoboHelp 8 (8.0.2) to generate WebHelp output. Thanks in advance for your help!

    Hi there
    If you were to upgrade to RoboHelp 9 it would simplify your issue. Version 9 offers a new feature called Dynamic User-Centric Content (DUCC) and provides a nifty little drop-down selector in the Navigation Mini-toolbar.
    As you are on version 8 the only way I can fathom you would manage this is by generating two different outputs. Each output would use its respective TOC. The Toolbar button in each project could be configured to open the other project.
    You might first decry having to manage two outputs and all the files. But if you pick apart DUCC and the way it is configured by Adobe, it works in much the same manner. It's just hidden from your initial view.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

Maybe you are looking for