EDIT MASK in Script

Hello,
I want to display all dates in my Purchase order Print preview in the same format in which user has set his date (SU3).
Purchase Order is using script MEDRUCK to display the data.
Please help.

Hi,
you can use
/: SET DATE MASK = 'date_mask'
Assuming a current system date of March 1st, 1997.
/: SET DATE MASK = 'Foster City, MM.DD.YY'
&DATE& -> Foster City, 03.01.97
&DATE(Z)& -> Foster City, 3.1.97
/: SET DATE MASK = 'MMMM DD, YYYY'
&DATE& -> March 01, 1997
You can revert to the standard setting by using the SET DATE MASK command again with an empty string in place of the date mask:
/: SET DATE MASK = ' '
Regards
Sudheer

Similar Messages

  • EDIT MASK  with ALVGRID

    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

  • Users priveleges who is able to edit the RMAN script in OEM

    Hi
    Can anyone help me, how to find the list of users who has privileges to change/edit the RMAN script in OEM?
    Thanks

    Hi,
    I believe its required DBA privileges as well as OS level login credential to edit the job,
    you can Query from dba_role_privs which user having DBA role assign, and find those user having OS level Credential.
    HTH

  • 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

  • No editing mask exists

    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 Hu

    Hung 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

  • Regarding edit mask

    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 reddy

    Plz 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

  • How edit the cue script

    I have a cue 7.1 . I need edit the AA script, but there is not EDIT button. Im unable to edit the script.
    In other cue 8 that I have it only allow me edit only one of the scripts.
    How can I enable the edition of one AA sctipt?
    Thnks        

    Hi Rafael
    I hope to take a look on the below link , please.
    http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unity-express/63897-cue-custom-scripts-start.html
    https://supportforums.cisco.com/docs/DOC-1257
    Thanks
    Please rate all useful information

  • 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?
    THANKS

    Hi 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

  • Not able to edit my Sap script form using se71 ?

    I have been working on SAP Script say ZKI_FORM using se71 in polish language.
    Today When I try to make changes as usual, it is not allowing me to go into change mode . It is giving Error in object Editing like below.
    " Changes to Repository or cross-client Customizing are not permitted
    Choose 'Display object' or 'Cancel'. "
    My functional consultant doesn't know why it is happened like that ? Even my team lead doesn't know this.
    COULD ANY BODY PLEASE SUGGEST HOE TO GO TO CHANGE MODE OF THE SCRIPT FORM AND MAKE MY CHANGES  ?
    THANKS IN ADVANCE .

    hi
    Give the form name ..
    menuiten--> utilities --> convert original language
    Step by step for copying form.
    give the standard form name in SE71 and language as DE
    click create.
    popup come... check radibutton copy from original..
    given the zformname and green check.
    save it and back.
    give the zformname again and language DE and click change..
    go to menuitem Utilities --> Convert original language
    give new language to EN.. green check..
    SAve and BACK.
    give zformname and language as EN and change..
    there u can do all modifications..
    Or use SE76 give formname and source language and target language...
    then change and press SAVE.
    Regards
    SAB

  • Show mask action/script

    I am trying to create an action or a script that will allow me to reveal a layer mask with a keyboard shortcut.
    Normally, in PS CC 2014 I select the layer mask in the layers palette, then hold option and click on the mask icon.
    This sequence reveals the layer mask in BW.
    I am having trouble recording an action which selects an existing layer mask and then reveals the mask.
    The action recording stops after I select the layer mask.
    Additionally, I try making a script with the code generated with the script listener plugin. But this also does not work.
    Any ideas how to make an action or script that shows the layer mask? 

    Trying to take the code one step further by creating a script to toggle the layer mask visibility.
    I am able to call the showMask hideMask functions individually but not toggle the mask visibility yet.
    Is the if statement the right way to proceed to create the toggle effect?
    I am unclear how to target the mask element in a layer with javascript.
    if the mask is not visible
    showMask();
    else if the mask is visible
    maskHide();
    #target photoshop
    //Make Photoshop the formost Appplication
    app.bringToFront();
    //Test for open document
    if(app.documents.length > 0){
            //Select mask layer
            var docRef = app.activeDocument;
            var layerRef=docRef.layers.getByName("255 fill"); //"Layer Name"  
            docRef.activeLayer=layerRef;
            // call showMask function
            //showMask ();
            // call hideMask function
            //hideMask ();
            //toggle mask visbility            
    else {
        alert("No documents are open");
    // FUNCTIONS
    function showMask () {
        // showMask
        // =======================================================
        var idslct = charIDToTypeID( "slct" );
            var desc21 = new ActionDescriptor();
            var idnull = charIDToTypeID( "null" );
                var ref21 = new ActionReference();
                var idChnl = charIDToTypeID( "Chnl" );
                var idChnl = charIDToTypeID( "Chnl" );
                var idMsk = charIDToTypeID( "Msk " );
                ref21.putEnumerated( idChnl, idChnl, idMsk );
            desc21.putReference( idnull, ref21 );
            var idMkVs = charIDToTypeID( "MkVs" );
            desc21.putBoolean( idMkVs, true );
        executeAction( idslct, desc21, DialogModes.NO );
    function hideMask () {
        // hideMask
        // =======================================================
            var idslct = charIDToTypeID( "slct" );
                var desc22 = new ActionDescriptor();
                var idnull = charIDToTypeID( "null" );
                    var ref22 = new ActionReference();
                    var idChnl = charIDToTypeID( "Chnl" );
                    var idChnl = charIDToTypeID( "Chnl" );
                    var idRGB = charIDToTypeID( "RGB " );
                    ref22.putEnumerated( idChnl, idChnl, idRGB );
                desc22.putReference( idnull, ref22 );
                var idMkVs = charIDToTypeID( "MkVs" );
                desc22.putBoolean( idMkVs, false );
            executeAction( idslct, desc22, DialogModes.NO );

  • Using VB API in VBA to edit the Calc Scripts

    Guys,
    Does anyone of you have VBA source code/examples utilizing Essbase API for the following operation.
    I want to copy Calc Script from Server to the client, edit the Script using VBA and copy back the Script to the Server. Any kind of info is appreciated.
    Thanks in advance
    HYPuser

    I posted some real sample code a while back for a completely different function (member renames).
    Renaming Existing Member Names
    So while you'll have to write the calc modification code yourself (or ask Glenn his rate ;-)), this at least shows you how the initialization / login / termination of the API would work. That's probably the most confusing aspect of using the VB API for the first time anyway.
    All that said, if this is from Excel and the user will already be logged in via the Excel Add-In, I believe that you can make life much easier and grab the hCtx directly without any initialization / login/ termination worries. I probably should have done that myself in the example I gave. See Tim Tow's posts in this thread:
    API
    EDIT: Two things I just noticed - first, the code sample I gave even has an example of polling for ProcState, so that gets you closer than I thought! Second, remembered that the line that reads...
    While ProcState.State ESB_STATE_DONE
    ...should actually have a 'less than / greater than' symbol between ProcState.State and ESB_STATE_DONE. Can't get the forum to display them correctly, even in code tags...
    Edited by: TimG on May 16, 2011 2:55 PM

  • 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.. Thanks

    Apparently.
    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

Maybe you are looking for

  • Preview doesn't show 'open recent' items

    When Preview is open, File-->Open Recent shows only 'clear recent'. Checking all different values for 'recent items' in System Preferences makes no difference in Preview. Some other apps work with 'Open Recent' (eg Pages) but not all (eg TextEdit beh

  • XI Message flow

    I am trying to integrate a r/3 system with XI, can someone point me to possible data flow diagrams. What can be a possible scenario here...? Can someone also point me to the message flow within IR and ID for the above scenario.. Regards Ravi

  • Problem using workflow with ess leave requests

    Hello, I have been experiencing some problems using wf for approval with leave request in ess. I customized ws12300111 for request approval and it is working fine. But when we try to cancel a request in ess, there are strange things happening: - If t

  • IPod touch 5g using ipad 10w power adapter

    Hi, I want to ask if using ipad 10w power adapter to charging will effect iPod touch 5g battery cycle or make battery faulty ?

  • =/ Itunes just reorganized my library

    well...my friend was on my itunes listening to some music and after she leaves i go on to find all my songs reorganized. it goes from Z to numbers/A ...Help ? please I whould really want it to go back to A/numbers to Z again...