2007 Oct 22 8:14 AM
Hi,
May i know how to create new button name continue near the save button or print button at the application toolbar?
Any suggestion ???
2007 Oct 22 8:18 AM
Hi Fatt,
Good!
we could create the button by setting a new PF status to that report by the transaction SE41. But we need to handle the action inside the program for that function.
CASE sy-ucomm.
When ' CONTINUE'
ENDCASE.
Thanks & Regards,
Sunil
2007 Oct 22 8:18 AM
Hi Fatt,
Good!
we could create the button by setting a new PF status to that report by the transaction SE41. But we need to handle the action inside the program for that function.
CASE sy-ucomm.
When ' CONTINUE'
ENDCASE.
Thanks & Regards,
Sunil
2007 Oct 22 8:19 AM
2007 Oct 22 8:19 AM
HI,
For creating a new button, write the name of the button on the tool bar for ex. &CONTI.
Double click on it, and choose the icon and function text ofr it.
Save and activate the menu.
Your button gets created in the menu.
Declare the variable in your program with the code for continue.
Here's an example,
form set_pf_status using rt_extab type slis_t_extab.
set pf-status 'ALV_MENU'.
endform.
form user_command using p_ucomm type sy-ucomm
data : vbeln type vbeln_va.
case p_ucomm.
when '&CONTI'.
.....
ENDCASE.
Regards,
Pritha.
Reward if helpful.
2007 Oct 22 8:26 AM
Hi
You can create a new button an application tool bar using menu painter
Check this link
http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
http://help.sap.com/saphelp_nw04/helpdata/en/83/7a18cbde6e11d195460000e82de14a/frameset.htm
Regards
Pavan
2007 Oct 22 8:29 AM
Hi Fatt,
Try using set pf-status 'name'.double click on name.It will take you to menu painter.click on appl. tool bar.give a name for your button and assign a function code.
regards,
kavitha
2007 Oct 22 8:32 AM
hi,
->in the program for interaction define a pfstatus...
syntax: set pf-status 'DETAILS'. (this DETAILS is just an example....)
->double click on DETAILS and create an object
->name the functional keys wanted
->in the application toolbar you can add the required buttons
note: you can create buttons in application toolbar but not in standard toolbar(ie near print or save button)
<b>reward points if useful.</b>
regards,
Vinod Samuel.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |