Tabstrip's Push buttons are align by left in 1 place
Hi experts
I put a Tabstrip in my screen,but his Push buttons are align by left in 1 place,How can i do something to make the push buttons align 1 by 1.
BR
Chris huang
Those MM Rollover Menus are awful. I'm not surprised you're having trouble with them.
The Sordid tale of MM Fireworks Menus
http://losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
The best advice I can offer is to scrap the MM Rollovers you have now and use a good CSS Menu system.
DW Spry Menus
http://layersmagazine.com/spry-navigation-dreamweaver.html
CSS Express Drop-Down Menus (tutorial)
http://www.projectseven.com/tutorials/navigation/auto_hide/
List-O-Rama (Free DW Extension)
http://www.dmxzone.com/go?5618
Pop-Menu Magic2 by PVII (paid DW extension)
http://www.projectseven.com/products/menusystems/pmm2/index.htm
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
Similar Messages
-
Push buttons are not triggering on the selection screen
selection-screen begin of block a with frame title text-001.
selection-screen skip.
parameters:z like vbap-vbeln.
selection-screen skip.
selection-screen begin of block b with frame title text-002.
selection-screen skip.
parameters:sales radiobutton group g default 'X',
trans radiobutton group g.
selection-screen end of block b.
selection-screen skip.
selection-screen pushbutton 10(12) pu_text user-command CANC.
selection-screen pushbutton 30(12) qu_text user-command STAT.
selection-screen end of block a.
Initialization.
pu_text = 'Cancel Order'.
qu_text = 'Status'.
TABLES SSCRFIELDS.
AT SELECTION-SCREEN.
CASE SSCRFIELDS.
WHEN 'CANC'.
WRITE 'CANCEL'.
WHEN 'STAT'.
WRITE 'STATUS'.
ENDCASE.hi,
in your program declare SSCRFIELDS table before defining selection-screen with push-buttons.
To create a pushbutton on the selection screen, you use:
<b>SELECTION SCREEN PUSHBUTTON [/]<pos(len)> <push>
USER-COMMAND <ucom> [MODIF ID <key>].</b>
The [/]<pos(len)> parameters and the MODIF IF addition have the same function as for the formatting options for underlines and comments.
<b>follow this sample program.</b>
REPORT DEMO.
TABLES SSCRFIELDS.
DATA FLAG.
SELECTION-SCREEN:
BEGIN OF SCREEN 500 AS WINDOW TITLE TIT,
BEGIN OF LINE,
PUSHBUTTON 2(10) BUT1 USER-COMMAND CLI1,
PUSHBUTTON 12(10) TEXT-020 USER-COMMAND CLI2,
END OF LINE,
BEGIN OF LINE,
PUSHBUTTON 2(10) BUT3 USER-COMMAND CLI3,
PUSHBUTTON 12(10) TEXT-040 USER-COMMAND CLI4,
END OF LINE,
END OF SCREEN 500.
AT SELECTION-SCREEN.
CASE SSCRFIELDS.
WHEN 'CLI1'.
FLAG = '1'.
WHEN 'CLI2'.
FLAG = '2'.
WHEN 'CLI3'.
FLAG = '3'.
WHEN 'CLI4'.
FLAG = '4'.
ENDCASE.
START-OF-SELECTION.
TIT = 'Four Buttons'.
BUT1 = 'Button 1'.
BUT3 = 'Button 3'.
CALL SELECTION-SCREEN 500 STARTING AT 10 10.
CASE FLAG.
WHEN '1'.
WRITE / 'Button 1 was clicked'.
WHEN '2'.
WRITE / 'Button 2 was clicked'.
WHEN '3'.
WRITE / 'Button 3 was clicked'.
WHEN '4'.
WRITE / 'Button 4 was clicked'.
WHEN OTHERS.
WRITE / 'No Button was clicked'.
ENDCASE.
regards,
Ashok Reddy -
Hello Experts,
I had made push buttons on my screen through layout editor and set property as invisible (By Checking Invisible checkbox).
Now, based on some conditions at run time I want those push buttons to appear on screen.
For this I had written following code:
if sy-dynnr = 0101.
loop at screen.
if screen-name = 'CUNDFILTER'.
screen-active = 1.
screen-invisible = 0.
elseif screen-name = 'CFILTER'.
screen-active = 1.
screen-invisible = 0.
ELSEIF screen-name = 'DSELALL'.
screen-active = 1.
screen-invisible = 0.
elseif screen-name = 'SELECTALL'.
screen-active = 1.
screen-invisible = 0.
endif.
modify screen.
endloop.
endif.
I had checked in debug mode, above lines are getting executed but push buttons are not appearing on the screen at runtime.
Please help.Hi,
You have to code your LOOP AT SCREEN in the PBO...
Kr,
Manu. -
Select-options and button not aligned on same line
Hi,
My goal is to show selection screen with One Select-option & a search button
For this I have created a GROUP inside ROOTUIELEMENTCONTAINER
Following are the settings
ROOTUIELEMENTCONTAINER ( Layout -Matrix layout)
GROUP ( Layout -Matrixlayout , Layout Data : MatrixHeadData)
ViewContainer with select options: (layout -MatrixHeadData)
Button:(Layout - MatrixData)
In SE80/view/layout Select-options & Button are aligned on same straight line
but in output view button has been moved upwards I mean they are not in line.
What else do i need to look?
rgds
varaHi Vara,
Please explain your problem in a better way becaiuse I am getting little confused here. Is the search button coming in next row?? Or the select-option and search button are coming in same row but their alignment is different?? If they are coming in different row, then set the width of your view which contains your search button. Just go that view and set the WIDTH and HEIGHT (say 100px) of the ROOTUIELEMENTCONTAINER. Set the layout of your main view (which contains all the view containers) as matrix layout.
Please explain.
Regards
Arjun -
How to place push button on right corner of a screen
Hi,
I am creating push button on application tool bar of a screen using set pf-status,usually the push button is created on left hand side of the screen. But I want to put this push button on right hand side of the screen.Is it possibe.....?
Regards
Sudha MettuHi sudha,
1. I dont think its possible.
2. Either u have to put empty
buttonS on the left,
so that your required button,
comes at the right.
regards,
amit m. -
Set the position of push buttons
Hi,
I have created two push buttons using the method add_button of cl_gui_toolbar class. But those two push buttons are coming side by side. But I need to show them one after the other.
Is there any way to display the buttons one after the other. I tried set_position, set_left, set_height. But still they are coming side by side.
Plesae guide me in this regard.
Regards,
Kishore>But those two push buttons are coming side by side. But I need to show them one after the other.
I am not sure what you want from this....side by side and one after the other
* append a separator to normal toolbar
CLEAR ls_toolbar.
MOVE 3 TO ls_toolbar-butn_type. "<----Separator
APPEND ls_toolbar TO e_object->mt_toolbar.
* append an icon to show booking table
CLEAR ls_toolbar.
MOVE 'BUTTON' TO ls_toolbar-function.
MOVE icon_employee TO ls_toolbar-icon.
MOVE 'Show Bookings'(111) TO ls_toolbar-quickinfo.
MOVE 'Detail'(112) TO ls_toolbar-text.
MOVE ' ' TO ls_toolbar-disabled.
APPEND ls_toolbar TO e_object->mt_toolbar.
* append a separator to normal toolbar
CLEAR ls_toolbar.
MOVE 3 TO ls_toolbar-butn_type. "<----Separator
APPEND ls_toolbar TO e_object->mt_toolbar.
* append an icon to show booking table
CLEAR ls_toolbar.
MOVE 'BUTTON2' TO ls_toolbar-function.
MOVE icon_ok TO ls_toolbar-icon.
MOVE 'Show Flight'(113) TO ls_toolbar-quickinfo.
MOVE 'Flights'(114) TO ls_toolbar-text.
MOVE ' ' TO ls_toolbar-disabled.
APPEND ls_toolbar TO e_object->mt_toolbar.
Now you will get a separator in between the two buttons.
| BUTTTON1 | BUTTON2 -
LM00 - Hide push button and Command box
Hi all,
We are in the process of implementing ITS mobile for WM transactions (for example : LM00)
In the browser, I could see pushbuttons F2, F4 and command box. I dont need these push buttons and the command box. Can I hide them in the browser? In fact I want to hide the whole line.
Note : The above mentioned push buttons are not the ones coded inside the application.
Thankyou in advance.
Regards,
VicHello Edgar,
Thankyou. That helped.
I have 2 more please
1. The pop-message (in one of the custom developed RF transaction) that appears on MC9090 through SAP Console doesnt appear when I use ITSMobile with browser on Windows Mobile 5.0 on the same handheld. Any idea, why I will not get this message? Could this be because of missing template for pop-up message box?
I am trying to use LM00 (+ other tranx) through ITS mobile
2. I recieve a small screen prompt to enter User ID/Password on the IE 6.0 in the laptop on typing URL. However, in MC9090 handheld device with Windows Mobile 5.0+IE, I do not get this small screen to enter User ID/Password. Therefore a blank screen with no text is displayed. Do I have create template for this small screen too? If so what will be screen number (pgm rlogon?), please. Can you please throw some light on this please?
Thanks a ton in advance.
Best regards,
Vic -
hello Oracle Gurus,
I need ur help,
I have created a push button whose function is the same as the push button functions in windows explorer,i mean to say when i press the button for the first time i get the data ordered in ascending order
and when the same push button is clicked second time the same data gets
ordered in descending order,so the logic is complete,and what i want now is that," whenever the push buttons are pressed the push buttons must signify that the data is ordered in ascending and descending order as it is seen in windowsNT or windows2000 i.e when the data is in Acending Order An "Inverted 'V'" appears on the button and when the data is in descending Order An "V" appears on the button .
So How TO design Such Engraved "V" and "Inverted 'V'" on the push buttons.plz help me
Thanking u all
shijuhi there again,
I think i solved your problem with the help of the codes below.
on the when-button-pressed trigger
declare
st varchar2(40);
begin
st:=get_item_property('block3.button',label);
if st='A' then
set_item_property('block3.button',label,'V');
else
set_item_property('block3.button',label,'A');
end if;
end; -
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 -
Right align page numbers that are to the left of TOC entries
I posted a similar question about a year ago that I believe Harbs or Peter answered, but darned if I can find the thread. At that time they provided a script that did a GREP search, finding a sentence that starts with a digit and replacing it with a tab. I still have the script, but for some reason it is not working correctly with my new TOC layout.It should insert a tab to the left of the page number (page numbers are to the left of the TOC entries), and force the numbers to right align so that a single digit page number right aligns with the right edge of a double-digit page number.
Find: ^(\d+)
Change to: \t$1
What happens in the new TOC is the script finds a digit and inserts a tab to the left of the page number. The page numbers move to the right, but they don't right align. They are further to the right, but they numbers themselves are still left aligned.
I'm mystified as to why the script doesn't work on this new layout. I'm using CS4 now, and it still works on the old layout. There is nothing terribly different about the new layout except that the column is much narrower, and there are several threaded colums in the TOC instead of one long column, and the chapter titles don't have page numbers (but all other entries do have page numbers.)Peter,
Thanks for your reply. Between the page number and the entry is an en-space.
I started with these settings:
I then changed the left aligned tab to a right aligned tab:
But still no luck. -
Hi All,
the code below suppose to show a list with a few buttons below.
in this dialog i have only minor problem.
The problem is that all my buttons aligned to left size.
if i omit line number 193 (jButtonPane.setLayout(new GridLayout(1,nOfButtons,1,1))),
it centralized but i am loosing the behaviour of the buttons.
when i shrinking the dialog the button dissapear:
and i need that the button will show like:
[OK...] [Cancel...] etc...
how can i centralized the buttons and still not "lost" the buttons.
this is my code:
package test;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GraphicsEnvironment;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.DefaultListModel;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
public class DialogFrame {
String Message2Show="Default Message";
JButton[] ButtonArray;
String [] btnArrayText;
String [] lineArray;
String Title;
int nOfButtons;
int nOfLines;
String[] data;
private JPanel jContentPane = null;
private JPanel jButtonPane = null;
private JPanel jmessagePane = null;
private JList MessageList=null;
private JScrollPane jScrollPane = null;
private JPanel jPanel2 = null;
private DefaultListModel listModel;
private static int DialogWidthPreferedSize=500;
private static int DialogHightPreferedSize=200;
final static boolean shouldFill = true;
final static boolean shouldWeightX = true;
final static boolean RIGHT_TO_LEFT = false;
//Specify the look and feel to use. Valid values:
//null (use the default), "Metal", "System", "Motif", "GTK+"
final static String LOOKANDFEEL = "System";
public DialogFrame() {
// TODO Auto-generated constructor stub
// creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
public DialogFrame(String message) {
// TODO Auto-generated constructor stub
ParseMessage(message);
// for test add data
AddData2Message();
//creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
private void createAndShowGUI() {
initLookAndFeel();
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(true);
//Create and set up the window.
JFrame frame = new JFrame(Title);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Display the window.
int maxHeight = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()[0].getDisplayMode().getHeight();
int maxWidth = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()[0].getDisplayMode().getWidth();
frame.pack();
frame.setSize(DialogWidthPreferedSize, DialogHightPreferedSize);
frame.setLocation(GetWidth(maxWidth),GetHeight(maxHeight));
frame.setContentPane(getJContentPane());
frame.setVisible(true);
private void initLookAndFeel() {
String lookAndFeel = null;
if (LOOKANDFEEL != null) {
if (LOOKANDFEEL.equals("Metal")) {
lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
} else if (LOOKANDFEEL.equals("System")) {
lookAndFeel = UIManager.getSystemLookAndFeelClassName();
} else if (LOOKANDFEEL.equals("Motif")) {
lookAndFeel = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
} else if (LOOKANDFEEL.equals("GTK+")) { //new in 1.4.2
lookAndFeel = "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
} else {
System.err.println("Unexpected value of LOOKANDFEEL specified: "
+ LOOKANDFEEL);
lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
try {
UIManager.setLookAndFeel(lookAndFeel);
} catch (ClassNotFoundException e) {
System.err.println("Couldn't find class for specified look and feel:"
+ lookAndFeel);
System.err.println("Did you include the L&F library in the class path?");
System.err.println("Using the default look and feel.");
} catch (UnsupportedLookAndFeelException e) {
System.err.println("Can't use the specified look and feel ("
+ lookAndFeel
+ ") on this platform.");
System.err.println("Using the default look and feel.");
} catch (Exception e) {
System.err.println("Couldn't get specified look and feel ("
+ lookAndFeel
+ "), for some reason.");
System.err.println("Using the default look and feel.");
e.printStackTrace();
private JPanel getJContentPane()
if (jContentPane == null) {
jContentPane = new JPanel();
jContentPane.setLayout(new BorderLayout());
//FOR THE LIST
jContentPane.add(getMessagePanel(), BorderLayout.CENTER);
//FOR THE BUTTONS
jContentPane.add(getButtonPanel(), BorderLayout.SOUTH);
return jContentPane;
/******* FOR THE LIST **********/
private JPanel getMessagePanel()
if (jmessagePane == null)
jmessagePane = new JPanel();
jmessagePane.setLayout(new GridLayout(1,0));
jmessagePane.add(getJScrollPane(), null);
return jmessagePane;
private JScrollPane getJScrollPane() {
if (jScrollPane == null) {
jScrollPane = new JScrollPane();
jScrollPane.setViewportView(getMessage());
return jScrollPane;
private JList getMessage() {
if (MessageList == null) {
MessageList = new JList(listModel);
MessageList.setBackground(Color.cyan);
return MessageList;
/******* FOR THE BUTTON **********/
private JPanel getButtonPanel()
if (jButtonPane == null)
jButtonPane = new JPanel();
jButtonPane.setLayout(new GridLayout(1,nOfButtons,1,1));//test
jButtonPane.add(getJPanel2(),null);
return jButtonPane;
private JPanel getJPanel2()
if (jPanel2 == null)
jPanel2 = new JPanel();
jPanel2.setLayout(new GridLayout(0,nOfButtons));
//Cretae Buttons Dynamically Regard user request
ButtonArray=new JButton[nOfButtons];
//Crteate Button objects
for(int i=0;i<nOfButtons;i++)
getButton(btnArrayText,i);
//add buttons to panel
for(int i=0;i<nOfButtons;i++)
jButtonPane.add(ButtonArray[i]);
return jPanel2;
private JButton getButton(String Text,int ind) {
ButtonArray[ind] = new JButton(Text);
ActionListener l = new ActionListener()
public void actionPerformed(ActionEvent e)
JButton SelectedButton = (JButton)e.getSource();
String ac = SelectedButton.getActionCommand();
MyActionEvents(ac,SelectedButton);
ButtonArray[ind].setActionCommand(String.valueOf(ind + 1));
ButtonArray[ind].addActionListener(l);
return ButtonArray[ind];
private int GetWidth(int maxWidth){
int x=0;
x=(maxWidth/2)-(DialogWidthPreferedSize/2);
return x;
private int GetHeight(int maxHeight){
int y=0;
y=(maxHeight/2)-(DialogHightPreferedSize/2);
return y;
void ParseMessage(String message)
Title="";
String value="";
int loc;
/*****************TITLE TREATMENT*********************/
for ( loc=0; loc<message.length() && message.charAt(loc) != ':'; loc++)
Title += message.charAt(loc);
//Title += ":";
/*****************BUTTON TREATMENT*********************/
message = (message.substring(loc+1)).trim();
value = "";
for (loc=0; loc<message.length() && message.charAt(loc) != ':'; loc++) value += message.charAt(loc);
nOfButtons=Integer.parseInt(value);
btnArrayText=new String[nOfButtons];
for (int i=0; i<nOfButtons; i++)
message = (message.substring(loc+1)).trim();
value = "";
for (loc=0; loc<message.length() && message.charAt(loc) != ':'; loc++) value += message.charAt(loc);
btnArrayText[i] = value;
/*****************TEXT TREATMENT*********************/
message = (message.substring(loc+1)).trim();
value = "";
for (loc=0; loc<message.length() && message.charAt(loc) != ':'; loc++) value += message.charAt(loc);
nOfLines = Integer.parseInt(value);
lineArray = new String[nOfLines];
for (int i=0; i<nOfLines; i++) {
message = (message.substring(loc+1)).trim(); value = "";
for (loc=0; loc<message.length() && message.charAt(loc) != ':'; loc++) value += message.charAt(loc);
lineArray[i]=value;
private void MyActionEvents(String actionCommand,JButton SelectedButton)
int val;
val=Integer.parseInt(actionCommand);
switch(val)
case 1:
System.out.println("ac = " + actionCommand);
break;
case 2:
System.out.println("ac = " + actionCommand);
break;
case 3:
System.out.println("ac = " + actionCommand);
break;
case 4:
System.out.println("ac = " + actionCommand);
break;
case 5:
System.out.println("ac = " + actionCommand);
break;
case 6:
System.out.println("ac = " + actionCommand);
break;
case 7:
System.out.println("ac = " + actionCommand);
break;
case 8:
System.out.println("ac = " + actionCommand);
break;
int size = listModel.getSize();
String Name=SelectedButton.getText();
listModel.insertElementAt(Name,size);
//For testing
private void AddData2Message()
listModel = new DefaultListModel();
data=new String[lineArray.length];
for(int i=0;i<lineArray.length;i++)
listModel.addElement(lineArray[i]);
Tia
GabiThe arrow to open the tab history of the Back and Forward buttons has been removed in Firefox 4 and later.
Use one of these methods to open the tab history list:
* Right click on the Back or Forward button
* Hold down the left mouse button on the enabled Back or Forward button until the list opens
You can look at this extension:
* Backward Forward History Dropdown: https://addons.mozilla.org/firefox/addon/backforedrop/ -
Push Button Problem in IC Web Client
Hi Everyone,
I have got an issue here. Iam working on IC Webclient.
I have got a BSP page wherein I have an input field for the Printer Name. I also have a dropdown list box for that. I have a push button and after clicking on which I want some database updates to be done.
But whats happening is once I take the Printer value from the dropdown list box only, the database updates are being made.
My aim is after I take the value from the dropdown and then click on the push button, thn only, the database updates needs to be done.
Please help me out.
Its too urgent.
Thanks an Regards,
Bhargava Kavuri.Hi Gaurav,
I gor confused with CRM 5.1/5.2 and CRM 2007 profile. You are on CRM 5.0 then you do following things
1) goto tx ppoma_crm
2) on top left under search screen, search for Positions " Sales" and Marketing and Service one by one.
Now assign yourself to each of these positions. ( You might find more than one psoition when you search by above criteria. Ideally you should be able to see position names soemthing like Sales Representative, Marketing Represetative etc . I am not sure what exactly would be the name at your system because ppl might chnage the description of positions.
Now launch UI again and you must be able to see all modules.
Let me know if u still have any issues -
Issue with Icons display in PUSH BUTTONS in forms 11g
Hello,
This is regarding an issue with the icons background for the push buttons in the forms 11g. When we enable the icons for the buttons (.gif) they are visible on the
top left corner of the buttons and not in the centre. In one of the forums it was written like this is a common problem in Forms 11g. Is there any way by which we can
centralize this icons on the Forms buttons. Also I have heard that image editing tools can be used to centralize the icons. I tried with one of the tools but it seems
like it is not working.
Can somebody suggest a workaround for this?
Thanks in Advance
RamI will assume you are attempting to use the images included in the Forms applet jar. These images are purposely structured so that the subject is off-centered. You should not see that same behavior if you use your own images or edit the ones built-in to Forms. However, keep in mind that the images packaged in the Forms applet jar are intended to be used in a menu toolbar and not custom buttons.
For more information, refer to MyOracleSupport note 1391073.1 where I explain this in detail.
Michael Ferrante
Senior Principal Support Engineer
Forms Global Technical Lead
Oracle Corporation
. -
Report Out put by Push Button ???
Hi SAP-ABAP Experts .
Boss Please suggest me that i have to create a Screen in which only one Push Buton ,
As user Click this Push Button , a report should run and give it's output , the point is how selection screen will get a
perticular input when user will click this Push Button .
How to do this Boss .?
For Ex : program's Selection Screen has two input parameters
A = 5
B = 4
output of the report : C = 10 .
Requirement is when user click Puch Button , it will get out put C = 10 .
My Best Regards : rajneesh .Hi,
Use Module pool program for this.
SAP ABAP Tutorial: Module Pool Programming. Part 2
Once the program 'ZSALESORDSCREEN' is created Saved and Activated, run Transaction SE51.
Enter screen number '9000'
Screen numbers can be up to 4 characters long, all of which must be digits. Screen numbers from 9000 are reserved for customer-specific screens.
In the Screen Painter enter a short Description and Activate the screen.
Once this is done you will be presented with a screen that will have three tabs, namely Attributes/Element List/Flow Logic
Click on Element List and type Ok_Code and Activate.
Now click on Flow Logic.
You should see the following code in the Flow Logic.
PROCESS BEFORE OUTPUT.
MODULE STATUS_9000.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_9000.
Create MODULE STATUS_9000 by double clicking on it. The following code will be automatically created.
INCLUDE ZSALESORDERTOP . "
INCLUDE ZSALESORDERO01 . *
INCLUDE ZSALESORDERI01 . *
INCLUDE ZSALESORDERF01 . *
*& Module STATUS_9000 OUTPUT
text
MODULE STATUS_9000 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_9000 OUTPUT
Uncomment the following code.
SET PF-STATUS 'ZSALES'. -
Menu Bar for the custom Sales Order Screen.
SET TITLEBAR 'ZSL'. -
Title.
Give appropriate names to PF-STATUS and TITLE BAR. Once the code is uncommented and the appropriate names are given. Double click on the name ZSALES. Once you see the prompt click on create object.
You will see the following three options in the resulting screen.
Menu bar Status for Sales Order Screen
Application toolbar Status for Sales Order Screen
Function keys Status for Sales Order Screen
Click on the Function Keys Drop Down Box. You will see the Standard Tool Bar with Icons that you normally see in the SAP Screen.
Enter the following values in the empty fields.
Standard Toolbar
Ente SAVE BACK EXIT CANCEL PRINT FIND FINDNEXT FIRSTPAGE PREVP NEXT LAST
Activate the PF-STATUS.
You will be prompted to enter the Function Text and Info Text for the button Enter.
Please enter the following values.
Function Text 'Ente'
Info Text 'Enter'
Execute Transaction SE80 and Activate the complete program by right clicking on it.
We will now create a transaction code for our program. To create a transaction code right click on the main program and from the pop-up menu select Create-----Transaction.
In the dialog box enter the following values.
Transaction Code 'ZSALESORD'
Short Description 'Create Sales Order'
And Click on Save.
You will now be asked to enter Program name and Screen Number. Enter the following values.
Program ZSALESORDSCREEN
Screen 9000
Save and Activate the Program
Now we need to enter code to create the Sales order. We also need to create the Screen Elements.
In transaction SE80 in the left pane click on Screens and then double click on 9000.
Now from the menu click on LAYOUT button.
We need to create Labels and Text Boxes for the following fields.
Filed (Label Display) Label Name TextBox Name Def Length
Order Type lblordtyp txtordtyp 2
Sales Org lblsalesorg txtsalesorg 4
Distribution Channel lbldistchnl txtdistchnl 2
Division lbldiv txtdiv 2
Sold-to Party lblsoldto txtsoldto 10
Ship-to Party lblshipto txtshipto 10
Purchase Ord lblpurchord txtpurchord 10
Material lblmat txtmat 18
Quantity lblqty txtqty 13
We also need to create a command button as follows
Label Name
Create Order lblcreateord
We will now look at the property box which is displayed after double clicking on each screen element.
Order Type (Label)
Name lblordtyp
Text Order_Type
Order Type (Text Box)
Name txtordtyp
Text
Def. Length 2
Similarly fill the Property box for other fileds
Important
Property Box for Command Button in this case the Function Code is important
Create Order
Name cmdord
Text Create Order
Fct Code ORDE -
Hi All,
For my report with push buttons in the output, I noticed on the tool bar next to Tcode window, the save, left arrow, exit and cacel buttons are deactivated.
Can you please help me why it is comming like this.
Thanks
Veni.Hi,
IF you expand the function keys..
The first to show will be the Standard Toolbar.
It will have the icons for the enter , save , back , exit , cancel .....
There will be three sections...
Standard Toolbar
Recommended function key settings
Freely assigned function keys
You have to add the function codes in the standard toolbar..
Thanks,
Naren
Maybe you are looking for
-
Why can't I install iTunes on my 64-bit Windows 7 desktop?
When I go to the installation page and input my email address, the full page doesn't seem to load, but then I click on what I assume is the "download" button (though can't really tell because the pictures don't load properly) and nothing happens. Af
-
External HD compatible for Mac and PC
Hi, anyone knows how to make an external HD compatible for Mac and PC? I tried formatting in ExFAT and MS DOS but on Mac does not let to copy big files (aprox 4GB) onto the HD. And if I format on Mac Extended, Windows doesnt recognize.
-
HT1665 $29 Lighting to 30 pin adapter
Why doesn't the $29 Lighting to 30 pin adapter fit the iphone 5 with the Apple case on the phone?
-
Print the Long text in Smartform
Hi all, I designed a Work order document using Smartform for the T-Code 'IW32'. I am able to print the Operation short text, but there is one more provision for the user to enter long text also. I am not getting where this text gets stored in the dat
-
Error in Ldap sync with OIM 11gr2 and OID
Hi, I am trying to sync OIM 11g r2 with OID using Ldap sync option. While creating a user or role I am facing this error IAM-2050243 : Orchestration process with id 930, failed with error message IAM-3010201 : LDAP create event failed : Error: NO_SUC