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

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

  • 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

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

  • 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

  • Regarding editable alv

    Hi all,
              Frnds i am working in editable alv using function modules not object oriented abap.
    i m trying to edit a Field(MATNR ) in my output list and finally update it with changed values in the DB table.
    But i m getting syntax error like
    "the work area i_final is not alligned properly
    below i m providing my code.
    <code>
    *& Report  ZEDITABLE_ALV1
    REPORT  ZEDITABLE_ALV1.
    TABLES: vbak,vbap.
    TYPE-POOLS: slis. "ALV Declarations
    data: BEGIN OF i_final occurs 0,
          vbeln like vbap-vbeln,
          posnr like vbap-posnr,
          matnr like vbap-matnr,
          erdat like vbap-erdat,
    END OF i_final.
    DATA : C_X(1) TYPE C VALUE 'X',
           C_FC_MODIFY(6) TYPE C VALUE 'MODIFY'.
    *DATA: i_final TYPE STANDARD TABLE OF T_FINAL with header line.
         i_temp type standard table of T_FINAL with header line.
    *wa_final like line of i_final.
    *DATA:i_final LIKE vbap OCCURS 0.
    *DATA:wa_final LIKE vbap.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
    gd_tab_group TYPE slis_t_sp_group_alv,
    gd_layout TYPE slis_layout_alv,
    gd_repid LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    PERFORM data_retrieval.
    PERFORM build_fieldcatalog.
    PERFORM build_layout.
    PERFORM display_alv_report.
    *& Form BUILD_FIELDCATALOG
    *•     Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
    fieldcatalog-fieldname = 'VBELN'.
    fieldcatalog-seltext_m = 'sales order'.
    fieldcatalog-col_pos = 0.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'ERDAT'.
    fieldcatalog-seltext_m = 'date'.
    fieldcatalog-col_pos = 1.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'MATNR'.
    fieldcatalog-seltext_m = 'material no.'.
    fieldcatalog-col_pos = 2.
    fieldcatalog-edit = 'X'.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-fieldname = 'POSNR'.
    fieldcatalog-seltext_m = 'line item no.'.
    fieldcatalog-col_pos = 3.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    fieldcatalog-FIELDNAME = 'REC_SEL'.
    fieldcatalog-NO_OUT = C_X.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    ENDFORM. " BUILD_FIELDCATALOG
    *& Form BUILD_LAYOUT
    *•     Build layout for ALV grid report
    FORM build_layout.
    gd_layout-no_input = 'X'.
    gd_layout-colwidth_optimize = 'X'.
    gd_layout-totals_text = 'Totals'(201).
         gd_layout-totals_only = 'X'.
         gd_layout-f2code = 'DISP'. "Sets fcode for when double
         "click(press f2)
         gd_layout-zebra = 'X'.
         gd_layout-group_change_edit = 'X'.
         gd_layout-header_text = 'helllllo'.
    ENDFORM. " BUILD_LAYOUT
    *& Form DISPLAY_ALV_REPORT
    *•     Display report using ALV grid
    FORM display_alv_report.
    gd_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = gd_repid
    i_callback_user_command = 'USER_COMMAND'
    i_callback_pf_status_set = 'GUI_STAT'
    *i_grid_title = outtext
    is_layout = gd_layout
    it_fieldcat = fieldcatalog[]
    *it_special_groups = gd_tabgroup
    *it_events = it_events
    i_save = 'X'
    *is_variant = z_template
    TABLES
    t_outtab = i_final
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " DISPLAY_ALV_REPORT
    **& Form DATA_RETRIEVAL
    *•     Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
    *SELECT avbeln aerdat bmatnr bposnr FROM vbak AS a
    *INNER JOIN vbap AS b ON avbeln = bvbeln
    *INTO TABLE i_final WHERE a~vbeln = b~vbeln.
    select VBELN ERDAT MATNR POSNR up to 10 rows from vbap into corresponding fields of  table i_final.
    ENDFORM. " DATA_RETRIEVAL
    *•     FORM GUI_STAT *
    *•     --> RT_EXTAB *
    FORM gui_stat USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'MODIFY' EXCLUDING rt_extab.
    ENDFORM.
    *•     FORM USER_COMMAND *
    *•     --> U_COMM *
    *•     --> RS_SELFIELD *
    FORM user_command USING u_comm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    DATA:selfield TYPE slis_selfield.
    *RS_SELFIELD-REFRESH = C_X.
    CASE u_comm.
    *IF U_COMM = C_FC_MODIFY.
    WHEN 'UPDATE'.
    LOOP AT i_final. " into wa_final."into wa_final.
    *READ TABLE I_TEMP WITH KEY VBELN = I_FINAL-VBELN.
    *IF SY-SUBRC = 0.
    i_final-matnr = vbap-matnr.
    *MODIFY I_final INDEX SY-TABIX.
    *ENDIF.
    ENDLOOP.
    *ENDIF.
    MODIFY VBAP FROM TABLE i_final.
    IF SY-SUBRC = 0.
    COMMIT WORK AND WAIT.
    *MESSAGE I000 WITH SY-DBCNT
    *' Record(s) has been Updated'(020).
    ENDIF.
    *append i_final.
    *it_temp = i_final.
    *append it_temp.
    **UPDATE sflight FROM TABLE sflight_tab.
    *ENDLOOP.
    *update vbap from table i_final.
    *IF sy-subrc = 0.
    *MESSAGE s000(0) WITH 'records updated successfully'.
    *ENDIF.
    ENDCASE.
    ENDFORM.
    </code>
    Frnds plz help me in this regard.
    Thanks,
    satya

    Try something like this...ur code was not clear..i have done something u can understand.
    First check that u r not trying to update the primary key field.
    first before updating.
    Before updating select the record u r going to update from the main table.
    select single * from VBAP where <pass the key values>.
    if sy-subrc = 0.
    move the rest of the values to the table header except the key values.
    vbap-<field1> = value1.
    vbap-<field2> = value2.
    after moving the values.
    update <table>.
    if sy-subrc = 0.
    commit work.
    endif.
    data:st_vbap type vbap.
    WHEN 'UPDATE'.
    LOOP AT i_final. " into wa_final."into wa_final.
    select single * from vbap where vbeln = I_FINAL-VBELN.
    move-corresponding i_final to vbap.
    update vbap.
    if sy-subrc = 0.
    commit work.
    wk_cnt = wk_cnt + 1.
    endif.
    at last.
    *MESSAGE I000 WITH SY-DBCNT
    *' Record(s) has been Updated'(020).
    endat.
    endloop

  • 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

  • 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

  • Regarding Editable Quantity field in ALV Grid

    Hi Experts,
    I need your advice in this 2 scenarios.
    1.I have a scenario where quantity field in output is editable and the user wants the quantity field printed without thousand separator. If i take a char field and display the field is editable then user may mistakenly type a,bcd...z/ special characters which it should not capture. Is there any char data type data element which accepts only integers. Because after that i need to save that value in z database table quantity field.
    2. when there i raised an error message after validation of that editable field in alv output(by events), the user wants all other rows in that grid as uneditable except the row which has got error till this error is solved. Is this possible. If yes how.
    Please share your valuable suggestions.

    Hi abilash n      
    as in dictionary, all quantity fields should have a reference to the unit field which then defines the number of decimals.
    The rest is done automatically as long as you do it standard way. In field catalog you have to set the fcat-qfieldname to the name of the field that has the unit.
    If you do so, also totals will be grouped by unit.
    SAP has really done a great thing by inventing  units for quantities (and currency keys for currency amounts). Only developers do not understand and thus refuse to use it.
    Regards,
    Clemens

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

  • Telephone Number Edit Mask in jsff

    Is there any adf component that supports telephone number masking?
    We already have a javascript for the TN masking feature. To put it to use we need to generate the HTML output like this
    <INPUT onkeypress=handleMaskKeyPress(this); oncut=handleMaskCut(this); onpaste=handleMaskPaste(this); id=rangeFrom onkeydown=handleMaskKeyDown(this); ondrag=cancelMaskEvent(); onkeyup=placeMaskCursor(this); ondrop=cancelMaskEvent(); onfocus=placeMaskCursor(this); onclick=placeMaskCursor(this); maxLength=12 onselect=placeMaskCursor(this); value=" - - " name=rangeFrom mask="###-###-####" autoComplete="off" cursorPos="-1">
    How to attach these custom attributes like mask and cursorPos along with client event handlers to <af:inputText />

    Hi,
    First say ur Jdev Version................
    U can validate in ADF in both Model and ViewLayer itself... In ViewLayer u can have Validators as regular Expression Validators
    Have a look into these first....
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_validateRegExp.html
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31973/af_validate.htm#ADFUI827
    Regards,
    Suganth.G

  • Regarding editable alv  save button

    Hi Friends,
                      I have an ALV report in which one of the Column is in editable mode.
                       i want to edit that column field with new value and press save .
                       Friends , i want to know what should i write to get things done.
    regards,
    Rajesh

    Hi Friends,
                      I have an ALV report in which one of the Column is in editable mode.
                       i want to edit that column field with new value and press save .
                       Friends , i want to know what should i write to get things done.
    regards,
    Rajesh

Maybe you are looking for

  • After HUGE document, Pages will not launch

    I've been helping someone build up a big "photo-book" in Pages. We've scanned 700+ hi-resolution (300 dpi) images and filled a Pages document to the tune of 106 pages. The document itself is now 3.17 GB. Ouch! (This is all happening on an iMac with 4

  • Release 12 and ASCP sizing template?

    Does anyone have or know where I can find a disk and server sizing template for: 1. Oracle release 12 eBusiness 2. ASCP 3. Manufacturing Is there a sizing template by number of users, number of orders, etc? Doc

  • How to set up authentication against Active Directory using custom account

    Hi All, Our development BPC server (version 7.0.112, MSSQL Server 2005) was installed using a local user in domain X. It is a single-server installation (meaning all services were installed on that server). The dev server always has the latest data/u

  • Access point not detected

    I have a Palm TX My wifi works fine, it detects almost any wifi signal, but it wont detect wifi at my university. First time I used it there I could connect, but suddenly I lost connection and since then I don´t even detect the access points. With ot

  • [CS] Basic brushes create dotted lines instead of solid

    I just received an almost-new Wacom CTL-470 tablet from my father yesterday, so naturally I began fooling around with Photoshop line drawings and simple art. The initial problem I discovered was that, oddly enough, the basic brush tools, when dragged