Edit masking in smartform ??
Hi all,
is it possible to use edit masking in smarts for date.
if yes, pls give some code sample for the same.
regards,
kishan.
Hi,
You can add Program Lines to the smartform node before displaying the field and format it using edit mask as in normal programs and display the variable in the smartforms.
Regards,
Himanshu
Similar Messages
-
Hi,
i need to display a number in ALV GRID with this format:
+/- ###.###,##
fo example:
1.000.000,000 = 1.000.000,000
1.000.000,000 - = -1.000.000,000
How can i solve?Hi Salvatore,
Check this sample code for edit mask with ALV :
http://www.sap-img.com/abap/sample-programs-on-alv-grid.htm
Check this link:
http://help.sap.com/saphelp_erp2004/helpdata/en/33/206bc8012e11d3b495006094192fe3/content.htm
Regards,
Chandra Sekhar -
Hi,
This is my first project.
After I create my WBS and click the drive structure -> check, the system show No editing mask exists.
I reviewed all the parameters of the project and didn't find any place to setup this editing mask parameter.
How can I fix this problem?
Best Regards,
John HuHung Fa Hu wrote:
>
> In Fact, I don't know how these settings apply to my Project.
> I even don't know which project coding mask apply to my project.
>
>
Please read SAP Help and understand the concept of Project Coding Mask..!
You can access the IMG help from the following path..
SAP Help Portal >> access SAP Help for 4.6C >>> Implementation Guide >>> Project System >>> Structures >>> Operative Structures >>> Work Breakdown Structure (WBS) >>> Project Coding Mask...
.... Define Special Characters for Projects
......Define Project Coding Mask
After the above please come back with a specific query.. if any -
Hi...
good evening.
he asked,Is it possible to modify report values dynamically.
suppose i retrieve po as 10000.now i want to modify that as 1200.this happens
only for output but not for database table.
how you do this?
i said using edit mask we can do this.But he asked me complete syntax.
please provide comple syntax regarding the above requierement.
thanks and regards,
k.swaminth reddyPlz explain your scenarios in detail
-
Can anyone get the parameter Edit mask ' ' to work in 11.2
As I remember it, and the documentation seems to agree, By placing a '<' in an the parameter's edit mask, should cause the characters entered for the parameter to be converted to lower case. It is returning an error if the characters are not entered as lower case. I just want them converted.
I am trying to have parameter values in lowercase before evaluating them in selection criteria.Hi Janelle,
The edit mask is working.
The edit mask doesn't change the entered value. It restricts it to the value of
the edit mask.
You want to change what the user enters in a different location, like in a formula.
If Not IsNull(?EnteredValue) and (?EnterValue) Not Equal "" Then
LowerCase (?EnterValue) etc.
Hope this helps,
The Panda -
ALV Edit Mask isn't applied when exporting as "Spread Sheet".
Hi all,
One of our program has "Edit Mask" as XXXXX____ for displaying data in ALV (Mask first 5 numbers as X, display last 4 numbers as it is). However, when data is exported as "Spread Sheet", the edit mask is not applied. Does anyone know how to force edit mask when data is exported as SpreadSheet (MHTML)? If you export as "local File" and then do "SpreadSheet", the edit mask works.. it is just when the direct "SpreadSheet" done, it doesn't work.
(i.e. CL_GUI_ALV_GRID->EXPORT_TO_SPREAD_SHEET doesn't apply EDIT Masks set in Field Catalog.)
Here is more technical info. We are on ECC 6.
Field Catalog is of type LVC_T_FCAT.
for a specific field, "EDIT_MASK" is set to XXXXX____.
The ALV is called using
My_ALV_CLASS->SET_TABLE_FOR_FIRST_DISPLAY
exporting
is_layout = My_layout
is_toolbar_excluding = my_toolbar_exclude
changing
it_outtab = My_data_table
it_fieldcatalog = MY_FIELD_CATALOG_DEFINATION_WHERE_EDIT_MASK_IS_SET
exceptions...
Thanks in advance!Hello,
This is first time I am giving an answer.
Instead of using a function module to merge the field catalog, try doing it one by one.
for example,
pt_fieldcat-col_pos = 01.
pt_fieldcat-fieldname = 'KUNNR'.
APPEND pt_fieldcat.
pt_fieldcat-col_pos = 02.
pt_fieldcat-fieldname = 'IP'.
pt_fieldcat-edit = 'X'.
pt_fieldcat-edit_mask = '-.-.-.-'.
APPEND pt_fieldcat.
and use the structure Z_IPADDR in method parameters instead of a function.
CALL METHOD go_grid_ip->set_table_for_first_display
EXPORTING
i_structure_name = 'Z_IPADDR'
it_toolbar_excluding = lt_exclude
is_layout = ls_layout
CHANGING
it_fieldcatalog = pt_fieldcat
it_outtab = p_t_auth_ip.
CALL METHOD go_grid_ip->set_ready_for_input
EXPORTING
i_ready_for_input = 1.
and also you can use following function module to check if the edited value is still in ALV or not
CALL METHOD grid->check_changed_data
IMPORTING
e_valid = l_valid.
IF l_valid IS NOT INITIAL.
then the edited data in alv is successfully changed in internal table behind that.
Debugging may find you an answer.
Kind Regards,
Manisha -
Edit Mask in ALV add $ sign
Hello
Does any one know how to add the "$" sign to costing numbers in an ALV grid? I tried using Edit_Mask in the field catalog table but doesn't seem to work. I have a number 9,380,568 and I would like it to be displayed as $9,380,568 on the ALV Grid. Do I use an EDIT_MASK to do this and should it be gs_fc-edit_mask = '$_,___,___'? I tried this and does not work for me. If I have a zero cost quantity how do I show blanks, do not want the "$" to be displayed if I am using an Edit Mask?
THANKSHi LydiaMM,
Try this : -
DATA TIME TYPE T VALUE '154633'.
WRITE (8) TIME USING EDIT MASK '__:__:__'. "Output: 15:46:33
or
write sy-datum using edit mask '__/__/____' to sydatum.
or
incude a character field of length 10 in your final internal table.
data: wrk_date(10) .
then in the loop.. endloop of the final internal table
suppose sy-datum is varibale which need conversion.
USE THE BELOW CODE FOR CONVERSION.
WRITE sy-datum TO wrk_date USING EDIT MASK '__.__.____' .
Regards,
Kittu -
Projects/WBS elements with the editing mask A still exist.
Hi All,
I am trying to create a New Coding Mask with Project ID "A" in Dev client 100. ( Ex: A.0000.XX)
But System is giving an error says that"There are still projects or WBS elements with edit mask A in the system. Therefore you cannot change them".
But there is no WBS or PD's with this coding mask existing in development client 100.What to do?Is there anyone faced this problam earlier?Any refresh activity required for this?
Thanks in Advance!
Thanks
Suresh Kumar.Hello,
You need to check whether there are any projects in the system starting with "A" using CNS41. If at all there are any project existing in the system which starts with "A" then the system wont allow to create coding mask which starts with "A"
You can try to delete these project if possible and then try out if the system allows you to create the coding mask.
Thanks and Regards,
Anish -
Function for insert amount mask in Smartform
Hi
Which fuction must use for inserting amount mask in Smartform, for example:
Now: 159,00
Wish:*159,00*
Thanks in advance.Hi,
Below printing in the smartform add program lines and do the formating there and then print.
For your senario in the program lines do like below:
data: lv_starts(2) value '**'.
data: lv_amt(13).
lv_amt = amount<----like 159,00
concatenate lv_starts lv_amt lv_starts into lv_amt.
Then in place of actual amt write lv_amt.
Regards,
Himanshu -
dear all
i never encountered in this problem.
when i edit a text element in smartform,
the edit screen like the sapscript's screen.
i don't know how to change it,because in this screen i can't change the text's format.
Help.
look at the picture with this link:
link:[http://www.itpub.net/viewthread.php?tid=1274757&extra=page%3D1&frombbs=1]
Edited by: yang Aiolos on Mar 4, 2010 3:46 AMsorry,the answer is not correct.
i solve by myself.
Tcode: I18N,chose [MS Word as Editor],check the [Enable Multi-CharacterFormat Support for Enabled Editor(s)].
Then Activate the change.
Thanks you. -
Can't edit masks or shapes after creation..?
I have no idea why... it used to work fine.
When I make a mask, and finish connecting it, I can't edit it afterwards...I can't select anything, any of the corners, I can move it around but that's about it.
Yes I'm using the right tool, and I have handles and lines enabled...I don't know what to do but I really need this fixed.
Any help is appreciated.. ThanksApparently.
I've not seen this problem. Is there anything you've changed since it worked? New Mouse? Any updates? Anything?
And I know you said you are using the right tool, just wanna make sure it's this one:
Patrick -
Editing mask path transparency throws one out of mask mode
While creating various circular masks with a radial gradient from white to black, whenever I change the blending mode of the mask path Ai will throw me out of mask mode into layer editing mode. Since this is on a large document of ~2Gb file with multiple artbords for large poster & UI refresh speed is slow, this has become quite frustrating.
Is this normal Ai behaviour?An opacity mask uses just the greyscale information taken from the an object or image as a mask. Just like layer masks in Photoshop.
http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-64eba .html#WS2D8B6C1E-A2C8-4902-89C8-E5D04A6B314Ba
This stuff cannot at the same time multiply. If you want to also multiply it, you need a second object (a copy of the paths you used as mask). -
Vector mask error after editing mask - Mac CS5
Hi There,
When I create a rounded corner vector shape then apply a gradient vector mask, the result is as expected - the gradient in the vector mask fades the object as per the mask.
If I then edit the mask (either by moving the start/end points or try to make the end point not fully transparent) the gradient stops sharply.
The result is an mask with a gradient that stops short about 30px from the end of the object - so I see the gradient stop and the mask just cuts off.
Not sure what I'm doing wrong - any suggestions would be most welcome.
Cheers
BenI've run into this as well and believe it is a bug. While you can't avoid it, you can repair it.
In the Layers panel, click the chainlink icon between the mask and maskee. This breaks the size relationship between the two objects.
Select the mask in the Layers panel, then either use the Scale tool or the W and H fields in the Properties panel to correct the size.
Relink the two objects by clicking in the chainlink area.
HTH -
Using a standard keynote theme and master, it had been that when I inserted a picture into a photo cutout, if I clicked on the photo a box came up allowing me to edit the mask. It had a slider bar and the photo could be made larger or smaller using the slider. I haven't made any preference changes, etc, but this behavior is missing. Is this a controllable feature? I can't find this particular feature mentioned in the help materials.
I did try reapplying the theme and the behavior is back, but I'm trying to figure out what would cause it to go missing in the first place.
Message was edited by: ProfTThe letter T is a shortcut to toggel on/off the Tool bar
-
Add editable fields in smartforms
Hi,
I'm working with smartforms (CRM) and i wonder to know if its possible to create a kind of blank fields that allow the user to insert some free text right before print the form?
Thanks a lot in advance,
Nuno MoreiraYES !
What kind of document would you like to print ? For example if you go in VL03N, you could enter text at different level, in the ITEM in the HEADER, all this text is saved into SAP tables.
You could read this text with the function READ_TEXT.
The text will be dependent of the document and will be print if it exist.
That's not what you ask ?
Rgd
Frédéric
Maybe you are looking for
-
Item level security not working when placed in a portlet page
I have three page links linking to separate pages and have two of them with item level security turned on for specific groups with view privilges. I have the access for those groups with view privilges in the page level as well. I have published that
-
Hi, I am new with Socket programming and I have read a java tutorial that talks about socket. I am trying this server (sample program from the tutorial): import java.net.*; import java.io.*; public class MultiServer3333 { public static void main(Stri
-
I attempted to open iPhoto and got this message: you can't open the application because it may be damaged or incomplete. Now the iPhoto icon has a little line through it. Nice. Shall I say goodbye to my treasured iPhoto library? What happened? I did
-
I want to add more music to my I Pad from computer (I Tunes) I have been told that if I do I will lose all the current music on I Pad As this has not been backed up I do not wish to lose the I Pad music. But is this correct if it is how do I add musi
-
I create a new button and set imageSource property with my image name (saved in mimes/components/<mycomponent>...). The problem is that button don't display image. If i try to use the same pic like image element it's all ok. Someone has the same prob