CFolders - User Defined Buttons
Hi All,
I went to SPRO -> Collaboration Folders and created a User-defined button for showing the status report.
The place at which is displayed, i have chosen "Default".
Then went to SPRO -> Collaboration Folders and BADI, created a new implementation name and activated with the Filter ID as the new button id (created from the above step).
But now my question is, in the cFolders, i can't able to see the button. Any other specific setting need to be done, to display the button?
And also i would like to know, when i click the button, it has to generate an ABAP report in html format. Any suggestion on this?
Regards,
Anandhi
I don't think this is possible in the ALV, you may add another toolbar using class [CL_GUI_TOOLBAR|http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/8f/bcc23657ad0730e10000009b38f839/frameset.htm].
(You can search sdn for sample or look at SAP sample SAPTOOLBAR_DEMO1)
Regards,
Raymond
Similar Messages
-
How to create user defined button in alv report
how to create user defined button in alv report
thnks in advance.Hi,
U can define it the the PF-STATUS ( Menu for ALV ).
For that u have to define it in the EVENTCAT.
form z_eventcat using p_i_eventcat type slis_t_event.
data: i_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_i_eventcat
exceptions
list_type_wrong = 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.
clear i_event.
read table p_i_eventcat with key name = slis_ev_top_of_page into
i_event.
if sy-subrc = 0.
move 'TOP_OF_PAGE' to i_event-form.
append i_event to p_i_eventcat.
endif.
read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
if sy-subrc = 0.
move 'SET_PF_STATUS' to i_event-form.
append i_event to p_i_eventcat.
endif.
clear i_event.
read table p_i_eventcat into i_event with key name = slis_ev_user_command .
if sy-subrc = 0.
move 'USER_COMMAND' to i_event-form.
append i_event to p_i_eventcat.
endif.
And in the DISPLAY
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = v_progname
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_grid_title = v_gridtitle
i_save = 'A'
is_layout = i_layout
it_fieldcat = i_fieldcat[]
it_sort = i_sortinfo
it_events = i_eventcat
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = it_final
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.
*MENU SETTINGS.
form set_pf_status using rt_extab type slis_t_extab.
set pf-status 'ALV_MENU'.
endform. "SET_PF_STATUS
endform. " Z_EVENTCAT
Now double click on ALV MENU nad u can create a button in the application bar.
Regards,
Pritha. -
ALV with user-defined buttons on toolbar in wd abap
Hi All,
I have to create an alv with user defined buttons in wd abap on its toolbar.Could any one tell me in detail about it or provide me with any tutorial based on it.
Thanking you all in advance.DATA: LR_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
DATA: LR_INTF_ALV TYPE REF TO IWCI_SALV_WD_TABLE.
LR_CMP_USAGE = WD_THIS->WD_CPUSE_ALV( ).
IF LR_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) EQ ABAP_FALSE.
LR_CMP_USAGE->CREATE_COMPONENT( ).
ENDIF.
LR_INTF_ALV = WD_THIS->WD_CPIFC_ALV( ).
WD_THIS->M_MODEL = LR_INTF_ALV->GET_MODEL( ).
DATA: LR_FUNCTION TYPE REF TO CL_SALV_WD_FUNCTION.
LR_FUNCTION =
WD_THIS->M_MODEL->IF_SALV_WD_FUNCTION_SETTINGS~CREATE_FUNCTION(
ID = 'ISSUE' ).
DATA: LR_BUTTON TYPE REF TO CL_SALV_WD_FE_BUTTON.
CREATE OBJECT LR_BUTTON.
LR_BUTTON->SET_TEXT( 'Issue/Receive' ).
LR_FUNCTION->SET_EDITOR( LR_BUTTON ).
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/101df93f-4b5c-2910-14aa-9eb0338c2110
Abhi -
hi all,
please tell me how i can make user defined button in standard menu.........
regards
vikas sainihi Vikas ,'
u can do this by using PF status and setting titile .
follow thw link for help.
Re: To Change SAP Tiltle into some other title
Regards,
Amit -
Calling transaction from user-defined button within cFolders
Hi,
I have inserted a custom field within the folder section in the cFolders. I implemented a BADI for rendering an action once the button is pressed. I am just wondering if it is possible to call a transaction (for example: CFI02) once the button is pressed. If it is not possible can anyone give me pointers how to open the transaction CFI02 from within cFolders similar to object links in cProjects?
If there are any functional modules that would import documents into backend system from cFolders please let me know.
thanks
anantharamfor Web Transaction...
URL should be something like
http://name.domain.ext:port/sap/bc/gui/sap/its/webgui
Refer the foll link for specifying the transaction:
[Maintaining ITS Service Parameters |http://help.sap.com/saphelp_nw04/helpdata/en/77/8b3d408ae01f24e10000000a1550b0/content.htm]
Regards,
Reema. -
ALV GRID - to include user defined buttons in the output
Hi,
Currently I am working on ALV grid output.
Along with the standard buttons, I need to include my own push buttons.
When I try to include it using pf-status like this,
passing parameter in alv
I_callback_pf_status_set = G_status
FORM STANDARD_02 USING EXTAB USING SLIS_T_EXTAB
set pf-status 'PF_STATUS' EXCLUDING EXTAB.
ENDFORM
I have included Confirm and exit buttons
In the output it shows only the button which I created .
I want to get both standard buttons which gets displayed when using REUSE_ALV_GRID_DISPLAY and the newly created one .
Plz help me to resolve this .
I am just passing my own internal table values to the grid .
Thanks in advance.
Regards,
Umahi
good
create ur own GUI status in ur program using SET PF-STATUS '--'. now give that program name and pf status name while u r copying that standard status ie.,of ALV grid Go to transaction SE41 (Menu painter). In the initial screen give the program name SAPLKKBL In the status give STANDARD Then go to the menu bar.in that follow this menu User Interface>Copy--->Status. Then a pop up will appear to give ur program name and the status name.
thanks
mrutyun^ -
How to disable user defined buttons
hi,
how to disable userdefined buttons in alv in webdynpro abap.
thanks and regards,
Sridevi.DHi,
Create attribute in context to control enabling/disabling action of a button. Bind this attribute to button. In some action method populate this attibute with boolean values.
Reward point if useful.
Regards,
Karthick S -
How xpsdrv support user defined paper size
hi,I am developing a xpsdrv,the xpsdrv has inculde some system paper like A4.But I need paper defined by users themself.
so I add
*Option: CUSTOMSIZE
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*Name: "Custom size"
*MinSize: PAIR(1200, 4800)
*MaxSize: PAIR(32400, 19200)
*MaxPrintableWidth: 32400
*MinLeftMargin: 0
to the gpd file,but after install,no "user defined" button and no "user defined" dialog appear. the "user defined" button or "user defined" dialog should program by myself? how program user defined
paper size in xpsdrv?This printer does not support custom size papers. We need to use only those papers which are available in the drop down for paper size in the software. Open below link to see the list of paper sizes supported by this printer:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02231304&cc=us&lc=en&dlc=en&product=4066377&tmp...
Say "Thanks" by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution" -
User defined action in cFolders
Hi,
I want to add a button in cFolders. This is to be displayed along with the standard buttons of cFolders such as "Create" "Delete" etc.
I want to perform some action on the click of this button. How can i achieve this?
Regards,
ReemaHi
I am not sure about adding a button though..i can tell you about how this can be achieved in a different way ...
Hope i am not repeating things you already know..
you can create a user defined action, and implement the BADI CFX_STATUS_TRANS...
This action will appear on the actions section of your status screen.
Assign this status profile to your object. (Folder Material etc)
So when this status is reached your BADI implementation will be called.
regards
Murugesh -
Link button to User Defined Object in Grid
Hi,
I'm using SAP B1 8.81 with B1DE.
I have added a grid which is populated from a DataTable to a form.
One of the columns in the grid contains the DocEntry of a User Defined Object.
How can I display a link button on the grid ?
Regards,
BenHello Ben,
You need to set the column object type.
Dim oGrid As SAPbouiCOM.Grid = oForm.Items.Item("MyGrid").Specific
oGrid.Columns.Item("DocEntry").Type = BoGridColumnType.gct_EditText
Dim oEditCol As SAPbouiCOM.EditTextColumn = oGrid.Columns.Item("DocEntry")
oEditCol.LinkedObjectType = "2" 'The SDK documentation says you should use the value 0, but in previous versions it didn't work, so I recommend you user a value other than -1 or 0
You then need to catch the et_MATRIX_LINK_PRESSED event and other your user form...
From the SDK Help File regarding the BoLinkedObjectType enum
lf_None -1 No target object
lf_UserDefinedObject 0 User-defined object
lf_GLAccounts 1 G/L account object
lf_BusinessPartner 2 Business Partner object
lf_Items 4 Item object
lf_SalesEmployee 53 Sales employee object
Regards,
Vítor Vieira -
How to use user defined object with linked button
Hi experts
Can I use user defined table data with linked button. If yes then how. plz give me sample examples.
Regards
GorgeIf you have an UDO in your form, or any other, the FormDataLoad eventhandler should be used.
Take care, it is not inside the eventhandler.
for VB:
Select SBO_APPLICATION in the classes, and select FormDataLoad event
Private Sub SBO_Application_FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.FormDataEvent
in C#
Add a new eventhandler as
// declaration
SBO_Application.FormDataEvent += new SAPbouiCOM._IApplicationEvents_FormDataEventEventHandler(ref SBO_Application_FormDataEvent);
// eventhandler:
public void SBO_Application_FormDataEvent(ref SAPbouiCOM.BusinessObjectInfo BusinessObjectInfo, out bool BubbleEvent) -
Using user defined text functions to generate strings on button.
I am new to java programming and am facing a problem.. It would be great if you could help me resolving it..
The problem is:
Is it possible to use user defined functions to generate the string on a button(button name)?
If it is possible please educate me on it..
Thanks..Yes its possible. What you ask is so vague that it can be interpreted in so many ways there are plenty correct answers
public void userDefinedFunction(String aString)
yourButton.setText(aString);
} -
User-defined F4 Search - cancel button in the title bar
Hi,
I implement user-defined F4 search for my WD application. F4 view comes from another component (as described in the tutorial). Everything is fine, I see that view popuped when F4 is clicked for an input field. My problem is, how to make visible the Close button in the title bar of that popup window.
I was able to set window's title text, but have no idea how to control those buttons. I only see maximize button which comes by default.
Also would be nice to create kind of standard OK and Cancel buttons on the bottom bar instead of creating them manually on my view... I've tried set_button_kind(), it works somehow: displayes three empty buttons without icons - need more info about it too...
ThanksHi Serguei,
The empty buttons are worth a ticket.
The behavior for the close button in popups is that the application developer can determine its visibility independent from the buttons in the lower row.
The second aspect is the action that is triggered if someone clicks that button. There the application developer is able to bind a separate action to that close button. If no action was bound and if a cancel button is visible, clicking the close button will trigger the same action as it would have been the case for the cancel button. A bit complicated, I know. We had to do the latter for backwards compatibility.
Best regards,
Thomas -
Add Link button in UDF(User Defined Field)
How Can be add link Button when create new user Defined Field ?
Hi,
You can bring the link button in user designed forms using SDK, but you cannot create the Link button in SAP standard forms. It's hard to bring the link button in SAP standard forms.
Raja.S -
Enable User Defined toolbar button on click - editable alv grid using oops
Hi all,
I have created editable alv using oops concept.
created 2 user defined toolbar button save and print using method toolbar
ls_toolbar-text = 'Print'. "#EC NOTEXT
ls_toolbar-quickinfo = space.
ls_toolbar-checked = space.
APPEND ls_toolbar TO e_object->mt_toolbar.
requirement is
initially print button should be disabled, and save enabled
when i click save button, print button should be enabled.
I want coding in editable alv oops concept
kindly help
regards
senthil kumarHalo Senthil,
You should call set_toolbar_interactive method of cl_gui_alv_grid in the on_user_command( ie the event handler for event user command) .
method on_user_command.
case e_ucomm.
when 'SAVE'. or whatever your function code is .
my_save_flag = 'X'.
call method grid->set_toolbar_interactive.
endmethod.
This triggers the toolbar event of the
cl_gui_alv_grid. Inside the eventhandler method ( ie the on_toolbar method ) you should set the toolbar.
if my_save_flag = 'X'.
read table e_object->mt_toolbar
clear l_toolbar-disabled.
modify e_object->mt_toolbar.
endif.
e_ucomm will not have the function code if the save button is not in the toolbar area.
then you can set the my_save_flag in the data_changed event handler of the Cl_gui_alv_grid.
Regards
Arshad
Maybe you are looking for
-
A question to Adobe legal team
If I created a Lightroom Develop preset simulating analog film and wanted to distribute it online, can it be copyright-protected as my intellectual property from potential infringement? Arguments in support: The process of creating presets can be rel
-
2lis_02_scn-AB lines are missing
HI BW gurus, I am haveing the problem in po data confiramation data souce.in my data source not capture the AB line items,some times picking up the AB lines some times its not picking the AB line.in LA lines are updateing properly. AB line are mis
-
Can date be included in the fact table as a measure?
Dear All, I have to migrate a database form relational model to dimensional model. It a kind of human resource database. I don't know what MEASURES should I keep in the fact table. There are only dates, like date the employee joined the institution a
-
Blending images on top of a chalkboard
I want to shoot video of a chalkboard and later add images and text on it in FCP to make it appear like a digital chalkboard (not that such a thing actually exists). 1. What is the best way to add an image to the chalkboard in FCP on a different laye
-
Is it possible to have your web team put the Message Board Thread subject into the Email subject when sending the notifications. My email bin is full of "NI Discussion Forums Subscription: 1 New Message". It'd be nice to see something like NI Forums: