on 12-27-2013 6:41 PM
Hi friends,
I got a requirement RE: Add a normal button and that should be come beside of input field in form view.
can anybody help me on this issue?
Ex: i have form view it contain 2 columns and 10 rows, button should come beside of 2 column's 7 row's input field.....
thank you in advance...
Hi,
For your information as of SAP CRM7.01 you can make use of so called "action menu / action providers":
Action Menu - Generic User Interface Functions - SAP Library
That's a very nice & simple way to add "buttons" close to input fields. What I like is the ability to reuse the same menu across many pages without any further development effort (i.e. you do develop it once, and reuse it wherever you need). See what you can do page 22 of this document: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90bfc5bc-118b-2c10-6daf-994bf2cfa...
Regards,
Nicolas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can achieve this by coding in .htm page of your form view. You need to use grid and gridcell tags in the .htm code.
Sample code would look like:
<thtmlb:grid id | = "g1" | |
height | = "10" | |
columnSize = "40" | ||
rowSize | = "5" | |
width | = "1200" > |
<thtmlb:gridCell columnIndex = "8"
rowIndex | = "2" | |
colSpan | = "5" | |
rowSpan | = "2" > | |
<thtmlb:button id | = "Processed" | |
onClick = "Processed" | ||
design = "EMPHASIZED" | ||
text | = "Submit/Processed" | |
type | = "<%= cl_thtmlb_util=>gc_icon_done %>" | |
enabled = "<%= lv_mode %>" /> |
</thtmlb:gridCell>
</thtmlb:grid>
Try changing rowIndex , colSpan and rowSpan according to your requirement . These are used to change the position of the button.
Thanks
Kumar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.