Validation on charactersti

Hi Guys,
I am really new to BW, may be a silly question. I Have requirement where I have query, which had characteristic field status having value  for open closed items as O and C. Now i need the query to look if status is O,then it should move amont feild as zero .I am not sure where to put the code.
It is really urgent, any help would be highly appreciable.
Thanks in adavance

Scenario is like this.
When dispatch is done from stockyard. PGI date, invoice date, billing date and accounting date should be same. If date is not same , then system should not allow to post invoive to accounting department.
Regards
Jalaj

Similar Messages

  • Regarding Validation on Charactersticites of given Configurable Material.

    Hi All,
               I am working on BDC in whcih I am getting the charactersticites of the configurable materials in Flat File. Now the Problem I am facing is that when a particular characterstic is not associated with that configurable material the program is not updating any of the charactersticites associated with that configurable material.
    How can we check the validity of the given charactersticites for that configurable material ? Or is there any other logic how I can update the charactersticites for that configurable material.
    Points would be rewarded....
    Thanks in Advance.
    With Regards
    Jitendra Gujarathi.

    no clues

  • LSMW for MB1C with Batch & Characterstic

    Dear All,
    I want to upload the initial stock with movement type 561.My materials are Batch Managed and the Batch are having certain Characterstic.So i want to upload the Stock with Batch Characterstic.This is not possible with recording in LSMW.Can anybody help me out in making the LSMW.
    Thanks
    Jagmohan

    Try this code
    REPORT zosmm_carga_caract_lote NO STANDARD PAGE HEADING LINE-SIZE 100.
    Global Parameters
    DATA: BEGIN OF t_message OCCURS 0.
    INCLUDE STRUCTURE bapiret2.
    DATA: END OF t_message.
    DATA: BEGIN OF t_archivo OCCURS 0,
    lineas(42),
    END OF t_archivo.
    DATA: BEGIN OF t_carga OCCURS 0,
    charg(10),
    valor(30),
    END OF t_carga.
    DATA: BEGIN OF t_caract OCCURS 40,
    atnam LIKE cabn-atnam,
    atinn LIKE cabn-atinn,
    atfor LIKE cabn-atfor,
    anzst LIKE cabn-anzst,
    END OF t_caract.
    BAPI structures
    DATA: BEGIN OF wa_allocvaluescharnew OCCURS 0.
    INCLUDE STRUCTURE bapi1003_alloc_values_char.
    DATA: END OF wa_allocvaluescharnew.
    DATA: BEGIN OF wa_allocvaluesnumnew OCCURS 0.
    INCLUDE STRUCTURE bapi1003_alloc_values_num.
    DATA: END OF wa_allocvaluesnumnew.
    DATA: BEGIN OF wa_allocvaluescurrnew OCCURS 0.
    INCLUDE STRUCTURE bapi1003_alloc_values_curr.
    DATA: END OF wa_allocvaluescurrnew.
    Variables
    DATA: lineas TYPE i,
    w_rc LIKE sy-subrc,
    mens LIKE message,
    date_err(1) TYPE c,
    swc(1).
    DATA: c_totreg(6),
    c_vanreg(6).
    DATA: v_atinn LIKE cabn-atinn,
    v_atfor LIKE cabn-atfor,
    v_anzst LIKE cabn-anzst.
    SELECTION-SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK uno WITH FRAME TITLE text-001.
    PARAMETER: p_matnr LIKE mara-matnr OBLIGATORY,
    p_atnam LIKE cabn-atnam OBLIGATORY.
    PARAMETER: p_file LIKE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK uno.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    PERFORM buscar_archivo USING p_file.
    START-OF-SELECTION.
    START-OF-SELECTION.
    REFRESH: t_archivo, t_carga, t_caract.
    *** Characteristics Values
    SELECT SINGLE atinn atfor anzst
    INTO (v_atinn, v_atfor, v_anzst)
    FROM cabn
    WHERE atnam = p_atnam.
    IF sy-subrc NE 0.
    MESSAGE i899(m3) WITH 'Not Valid Characteritics'.
    ELSE.
    *** Read input and upload
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    filename = p_file
    filetype = 'ASC'
    TABLES
    data_tab = t_archivo
    EXCEPTIONS
    conversion_error = 1
    invalid_table_width = 2
    invalid_type = 3
    no_batch = 4
    unknown_error = 5
    gui_refuse_filetransfer = 6
    OTHERS = 7.
    IF sy-subrc EQ 0.
    LOOP AT t_archivo.
    CLEAR t_carga.
    SPLIT t_archivo AT ';'
    INTO t_carga-charg t_carga-valor.
    APPEND t_carga.
    ENDLOOP.
    DESCRIBE TABLE t_carga LINES lineas.
    IF lineas > 0.
    PERFORM clasificar_lotes.
    ELSE.
    MESSAGE i899(m3) WITH 'Doesn't exist batch to process'.
    ENDIF.
    ELSE.
    MESSAGE i899(m3) WITH 'Error on upload'.
    ENDIF.
    ENDIF.
    TOP-OF-PAGE
    TOP-OF-PAGE.
    WRITE: /'TITLE', sy-datum, sy-uname NO-GAP.
    WRITE: /'Material: ', p_matnr.
    WRITE: /'Characteristics: ', p_atnam.
    SKIP.
    WRITE: 01 'Batch', 11 'Valor', 30 'Log'.
    ULINE.
    *& Form clasificar_lotes
    FORM clasificar_lotes.
    DATA: w_matnr LIKE mara-matnr,
    w_cuobjbm LIKE mch1-cuobj_bm,
    w_obtab LIKE inob-obtab,
    w_objek LIKE inob-objek,
    w_class LIKE klah-class,
    w_clint LIKE kssk-clint,
    w_valor(8),
    w_mbapi(80),
    logline(100).
    CLEAR: t_message.
    LOOP AT t_carga WHERE charg IS NOT INITIAL.
    REFRESH: wa_allocvaluescharnew,
    wa_allocvaluesnumnew,
    wa_allocvaluescurrnew.
    CLEAR: wa_allocvaluescharnew,
    wa_allocvaluesnumnew,
    wa_allocvaluescurrnew,
    date_err,
    w_mbapi,
    logline.
    CONCATENATE t_carga-charg t_carga-valor
    INTO logline SEPARATED BY space.
    *** Find object to classified
    SELECT SINGLE cuobj_bm matnr
    INTO (w_cuobjbm, w_matnr)
    FROM mch1
    WHERE charg = t_carga-charg
    AND matnr = p_matnr.
    IF sy-subrc EQ 0.
    SELECT SINGLE obtab objek
    INTO (w_obtab,w_objek)
    FROM inob
    WHERE cuobj = w_cuobjbm.
    *** Find class from object
    SELECT SINGLE clint INTO w_clint
    FROM kssk
    WHERE objek = w_cuobjbm
    AND mafid = 'O'
    AND klart = '023'.
    IF sy-subrc = 0.
    SELECT SINGLE class INTO w_class
    FROM klah
    WHERE clint = w_clint.
    TRANSLATE t_carga-valor USING ',.'.
    CONDENSE t_carga-valor.
    CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
    EXPORTING
    objectkey = w_objek
    objecttable = 'MCH1'
    classnum = w_class
    classtype = '023'
    KEYDATE = SY-DATUM
    UNVALUATED_CHARS = ' '
    language = sy-langu
    IMPORTING
    STATUS =
    STANDARDCLASS =
    TABLES
    allocvaluesnum = wa_allocvaluesnumnew
    allocvalueschar = wa_allocvaluescharnew
    allocvaluescurr = wa_allocvaluescurrnew
    return = t_message.
    *** Define characteristics type
    CASE v_atfor.
    WHEN 'CHAR' OR 'BOOL'.
    wa_allocvaluescharnew-charact = p_atnam.
    wa_allocvaluescharnew-value_char = t_carga-valor.
    APPEND wa_allocvaluescharnew.
    LOOP AT wa_allocvaluescharnew WHERE charact = p_atnam.
    wa_allocvaluescharnew-value_char = t_carga-valor.
    wa_allocvaluescharnew-value_neutral = t_carga-valor.
    MODIFY wa_allocvaluescharnew.
    ENDLOOP.
    WHEN 'NUM' OR 'TIME'.
    wa_allocvaluesnumnew-charact = p_atnam.
    wa_allocvaluesnumnew-value_from = t_carga-valor.
    APPEND wa_allocvaluesnumnew.
    LOOP AT wa_allocvaluesnumnew WHERE charact = p_atnam.
    wa_allocvaluesnumnew-value_from = t_carga-valor.
    wa_allocvaluesnumnew-value_from = t_carga-valor.
    MODIFY wa_allocvaluesnumnew.
    ENDLOOP.
    WHEN 'DATE'.
    CALL FUNCTION 'CONVERT_DATE_TO_INTERN_FORMAT'
    EXPORTING
    datum = t_carga-valor
    dtype = 'DATS'
    IMPORTING
    error = date_err
    idate = w_valor
    messg = mens.
    IF date_err = 'X'.
    CONCATENATE logline '-> Error: Fecha no valida'
    INTO logline SEPARATED BY space.
    ENDIF.
    wa_allocvaluesnumnew-charact = p_atnam.
    wa_allocvaluesnumnew-value_from = w_valor.
    APPEND wa_allocvaluesnumnew.
    LOOP AT wa_allocvaluesnumnew WHERE charact = p_atnam.
    wa_allocvaluesnumnew-value_from = w_valor.
    MODIFY wa_allocvaluesnumnew.
    ENDLOOP.
    WHEN 'CURR'.
    wa_allocvaluescurrnew-charact = p_atnam.
    wa_allocvaluescurrnew-value_from = t_carga-valor.
    APPEND wa_allocvaluescurrnew.
    LOOP AT wa_allocvaluescurrnew WHERE charact = p_atnam.
    wa_allocvaluescurrnew-value_from = t_carga-valor.
    MODIFY wa_allocvaluescurrnew.
    ENDLOOP.
    ENDCASE.
    IF date_err IS INITIAL.
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> by AGARCIA
    CALL FUNCTION 'BAPI_OBJCL_CHANGE_KEY'
    CALL FUNCTION 'BAPI_OBJCL_CHANGE'
    EXPORTING
    objectkey = w_objek
    objecttable = 'MCH1'
    classnum = w_class
    classtype = '023'
    status = '1'
    TABLES
    allocvaluesnumnew = wa_allocvaluesnumnew
    allocvaluescharnew = wa_allocvaluescharnew
    allocvaluescurrnew = wa_allocvaluescurrnew
    return = t_message.
    IF sy-subrc EQ 0.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'.
    LOOP AT t_message WHERE type CO 'EA'.
    CONCATENATE w_mbapi t_message-message ';'
    INTO w_mbapi SEPARATED BY space.
    ENDLOOP.
    IF w_mbapi IS INITIAL.
    CONCATENATE logline '-> Ok!' INTO logline SEPARATED BY space.
    ELSE.
    CONCATENATE logline '-> Error:' w_mbapi
    INTO logline SEPARATED BY space.
    ENDIF.
    ELSE.
    CONCATENATE logline '-> Error: Problem on BAPI Execution
    INTO logline SEPARATED BY space.
    ENDIF.
    ENDIF.
    ELSE.
    CONCATENATE logline '-> Error: Class object don't found'.
    INTO logline SEPARATED BY space.
    ENDIF.
    ELSE.
    CONCATENATE logline '-> Error: Class object don't found'.
    INTO logline SEPARATED BY space.
    ENDIF.
    WRITE: / logline.
    ENDLOOP.
    WRITE: / '>>>>>>>>>> FIN DEL PROCESO <<<<<<<<<<'.
    ENDFORM. " clasificar_lotes
    Form buscar_archivo
    Muestra el diálogo para seleccionar el archivo
    +----
    FORM buscar_archivo CHANGING ie_arch.
    DATA: v_file1 LIKE dynpread-fieldname,
    v_file2 LIKE ibipparms-path.
    v_file1 = ie_arch.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
    field_name = v_file1
    IMPORTING
    file_name = v_file2.
    ie_arch = v_file2.
    ENDFORM. " BUSCAR_ARCHIVO

  • Find Latest Date(Valid To Date)

    Hi all!
    How do  I find the latest Date(Valid To Date)?
    If there is a way with Replacement Path or User Exits, How do I do it?
    Regards,
    Shree

    i have a query with characterstic ZDATETO (Valid To Date).
    I have to implement a condition on ZDATETO so that only Latest Valid To Date is displayed in my Report.
    I also have a Key Figure Amount. A condition on it is to display only when the Amount is Negative.
    These two conditions are to be implemented on the Report.
    They Keyfigure part I could do it, but how do I find the Latest Valid To date to implement the condition?
    Shree

  • Characterstic Value Error in Report

    Hi Gurus,
    Please help me out in resolving the below issue..
    I have a report based on a DSO , When I try to run the report  , I get an error which says that the value of one of the characterstic is invalid.
    The characterstic is ZCH_DESC of type CHAR and length 60.
    When I remove this characterstic from my report , it runs fine.
    I have also checked the values loaded for characterstic ZCH_DESC and I do not see any invalid one..all are strings with length less than 60.
    the actual text of the error is :
    "Error while reading data;navigation is possible
      error value 'Net Energy Market Settlement for Non-Dispatchable'(hex'4E006500...... "
    Also please note that the SID Generation for my dso is switched off
    Regards,
    Manish

    Hi Manish,
    How are u able to do reporting if SID generation on activation is OFF. Do you have a Infoset working over the DSO ??
    If yes, try loading master data key for that char. into Info object. It should fail. Your load into DSO for transaction data is not failing b'coz that validation is not performed as you have kept SID generation OFF.
    Now when your generating report SID is getting created dynamically and validation is performed during running of report.
    So try loading dat key into info object. It should fail. You may have to correct this value manually when loading transaction data maybe in PSA before it goes into DSO.
    Thanks,
    Mihir
    Edited by: Mihir Kiri on Oct 30, 2008 7:48 AM

  • Configuration Validation

    Hi there,
    I have a configuration which is working fine, but in production when the sales people choose the variant and customize these the configuration validation changes to yellow which still can be saved. In production on the other side the warning has changed to a red error. The questions is the validation of variant in production is it different then in the sales phase? Is there a report for showing validation rules/customizing?
    THX
    Best Regards.
    Per Møller Zanchetta

    Per Møller Zanchetta,
    Where you are checking warning message(yellow) or error message (red)
    Please share a example for this issue. including your product structure, classes , characterstic's etc.
    Thanks
    Ritesh

  • Characterstic maintenance issue while incorporating EDIR

    Hi All,
    There is a issue I am facing
    while incorporating the EDIR, I am getting the error message as '
    Manufacturer Type Code: Value "" not found
    Message no. C1801
    Diagnosis
    The value you entered -  - is not a valid value for the characteristic.
    If you want to restrict the allowed values of a characteristic, the restricted allowed values must be within the range of the predefined interval.
    Procedure
    Correct the value.
    Restrict the allowed values to an interval within the predefined allowed value.
    I am unable to understand the message as when I see CT04, i find the characterstic maintained. Would really appreciate for the suggestion. I am not able to get into the solution till date.

    I am not familiar with EDIR, and I don't know which characteristic you are dealing with, but in general this type of error signifies a disconnect between the allowed values for the characteristic and the data being entered. You may have too many characters in the data as compared to the field. It could be a units issue. Or, you might have the wrong type of data (such as trying to enter free text when the field is configured for phrases.
    The easiest way to diagnose is to take the data you are feeding/entering to this field and compare to the way the field is configured. You can see this in CT04 or in the property tree view (if you are using a property tree to organize data) by clicking F1.
    In CT04, you can compare the Values tab as well as the Basic Data tab. On the Values tab, check to see if there are any restrictions or if the field is set up to work with a function module (such as the one for phrases). On the Basic Data tab, check the Format area and Value Assignment areas to ensure the data will be compatible.
    If data is being stored by some automatic process, first check that the data is accepted with manual entry. If it is, check the automatic process to see if some corruption or incorrect definition is taking place.

  • View data in client B from client A in the same SID without a valid logon?

    Hi Folks
    We are planning on upgrading our 4.6C system to ERP 6.0, and are initialy considering having two clients in the same sandbox SID.  One would be for the developers to perform code remediation checks (client A), and one would contain a copy of production data for performing testing of functionality over live data (client B).
    Would it be possible to view data in client B from client A in the same system without a valid logon to client B or RFC connection to client B from client A?   For example via the use on an ABAP program to SQL the database?
    I know one can use transactions like SM30/SM31 to view, compare, and adjust data between clients, but this requires an RFC connection and valid logon to the target client.
    Regards
    Kevin.

    Hi Kevin.
    >
    Kevin McLatchie wrote:
    > Would it be possible to view data in client B from client A in the same system without a valid logon to client B or RFC connection to client B from client A?   For example via the use on an ABAP program to
    Short answer: yes.
    If someone has the right to write and execute ABAP reports on the system he is able to access the data of all clients. So I don't think that this setup is advisable. Don't mix development and production data in one system.
    Best regards,
    Jan

  • DEVOLUÇÃO DE EXPORTAÇÃO - CFOP 3201 - GRC VALIDA DADOS DI.

    Boa tarde a todos!
    Estamos em um projeto de NFE XML 2.00 e nos deparamos com o seguinte erro:
    Ao emitirmos um NF-e de devolução da mercadoria que se encontrava no Porto (devolução de exportação - CFOP 3201), a validação do monitor GRC informa que é necessário constar os dados de importação, apesar deste processo não se tratar de importação. Os seguintes logs de validação são gerados:
    Erro de validação: campo Código do fabricante estrangeiro no sistema. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-CFABRICANTE, ID campo I028)
    Erro de validação: campo Nº da adição. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-NADICAO, ID campo I026)
    Erro de validação: campo Nº sequencial do artigo na adição. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-NSEQADIC, ID campo I027)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-CEXPORTADOR, ID campo I024)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-DDESEMB, ID campo I023)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-DDI, ID campo I020)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-NDI, ID campo I019)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-UFDESEMB, ID campo I022)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-XLOCDESEMB, ID campo I021)
    Estamos no SAPK-10015INSLLNFE e as seguintes notas relacionadas a validação estão aplicadas:
    1493980     Validation for field xJust in cancel and skipping messages
    1499921     Problem with validation after implementing SP15
    1500046     Upgrade validation rule for field ID for version 2.00
    1500742     Adjust validation for field NADICAO and NSEQADIC layout 2.00
    1502217     Extend validation rules for , layout 2
    1504379     Adjust validation for field X_CLISTSERV
    1511291     Update allowed values for field E1_CPAIS for validation
    1511577     Update validation rules for field VUNCOM_V20
    1520861     Update validation rules for OIL_CPRODANP and OIL_UFCONS
    Não encontrei nenhuma nota SAP recente para o componente SLL-NFE que seja relacionada a este problema.
    Desde já agradeço pela ajuda.
    Sds / Renato Penido.

    Boa tarde, Fernando,
    Obrigado pela pronta resposta.
    Debugamos a BADI e descobrimos que os dados de importação estão sendo gravado "em branco", gerando o erro de validação no GRC, tal qual dito por você.
    Aprimoramos a lógica da BADI para que a tag de importação não seja preenchida indevidamente para as notas de devolução do porto e as notas foram aprovadas.
    Muito obrigado,
    Renato Penido.

  • How do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA certfificate i can't open web pages with this, how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC CA certfificate i can't open web pages with this

    how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA ?

    Hi
    I am not suprised no one answered your questions, there are simply to many of them. Can I suggest you read the faq on 'how to get help quickly at - http://forums.adobe.com/thread/470404.
    Especially the section Don't which says -
    DON'T
    Don't post a series of questions in  a single post. Splitting them into separate threads increases your  chances of a quick answer.
    PZ
    www.pziecina.com

  • When i login it says my apple id is valid but its not an icloud id

    when I try to login i get a message telling me my apple id is valid but its not an icloud id .I dont have any apple mobile priducts so i have no idea what to do.Any advice would be greatly appreciated.

    You are getting this message because you are trying to create an iCloud account on a PC by signing with your Apple ID.  You can only sign into an existing account on a PC.  You first have to create iCloud account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.5) or higher.  After creating your account on one of these devices you will then be able to sign into the account using this ID on your PC.

  • HT204053 Dear Support Team, every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud???

    Dear Support Team,
    Every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud?
    Thanks

    It is not possible to create a new iCloud account using a Windows machine. You must create the account using a Mac (10.7.5 or more) or an IOS device (iPhone etc). Once that is done you can sign into and use the account on your Windows machine.

  • TS1368 When I try to make a purchase at the App Store or iBook Store or iTunes an error message tells me my account is not valid at the UK store. I live in Canada so how did I get to be connected to the UK and how can I get back to Canada?

    When I try to make a purchase at the App Store or iBook store or at iTunes an error message tells me my account is not valid for the UK store. I've no idea how I got connected there and I'd like help getting back to Canada where I live. Any suggestions?

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3.Tap "View Apple ID"
    4. Enter your user name and password.
    5. Tap "Country/Region."
    6. Tap "Change Country/Region"
    7. Select the region where you are located.
    8. Tap "Done".

  • Creating Master to show only rows for which valid entries exist in Detai

    I have created a Master-Detail Form in my Apex application based off of views to tables in a private remote Database.
    In the Master-Detail Creation Wizard, at the "Link Master and Detail" page, I specified that the defined Primary Key in the Master Column should be equal to the corresponding Foreign Key in the Detail Column.
    My goal is to have my Master Form only display rows for which a valid corresponding entry exists in the Detail Form. Yet, the above setup returns all of the rows from the Master Table, even where the corresponding Detail entry is blank.
    Can you provide some light on what I'm doing wrong, and how I can accomplish what I want to do?
    Thank you!

    I have created a Master-Detail Form in my Apex application based off of views to tables in a private remote Database.
    In the Master-Detail Creation Wizard, at the "Link Master and Detail" page, I specified that the defined Primary Key in the Master Column should be equal to the corresponding Foreign Key in the Detail Column.
    My goal is to have my Master Form only display rows for which a valid corresponding entry exists in the Detail Form. Yet, the above setup returns all of the rows from the Master Table, even where the corresponding Detail entry is blank.
    Can you provide some light on what I'm doing wrong, and how I can accomplish what I want to do?
    Thank you!

  • Validating records into a maintenance view

    Hi folks!
    I have a simple Z table (say ZTABLE) and a Z view based on it with some related description (say ZVIEW).  The ZTABLE has a DEC field (called COEF) with 2 decimals and it should have only numbers between 0 and 1.
    I set the valid interval from 0 to 1 but, as help says, it's only checked for CHAR, NUMC, DEC, INT1, INT2 and INT4 data types.  Not for DEC.
    Then I use an event on ZVIEW.  On SE11 I went to "Table maintenance generator" - Environment - Modification - Events.  So there I put the 05 event (Creating a new entry) and I programed the check.  It works fine for new entries, but if you have a record on table and you want to change the COEF field you can put there any number, even outside the 0-1 range.
    I tried with the 01 event (Before saving the data in the database) but it seams to be called only for last record.
    Could anybody tell me what can I do?
    Thanks!

    Hi,
    Since it is a Z TABLE..
    You can directly modify the flow logic in SE51.
    Go to SE51
    Give the program name - SAPL + Function group name
    Screen number
    Press change..
    In the flow logic..
    Add a module after the FIELD ztable-number, in the PAI event..
    Ex..
    FIELD ZTABLE-NUMBER MODULE NUMBER_CHECK.
    And in the module validate the number..
    MODULE NUMBER_CHECK INPUT.
      IF ZTABLE-NUMBER <> '0' OR
          ZTABLE-NUMBER <> '1'.
         MESSAGE E208(00) WITH 'Not a valid number'.
      ENDIF.
    ENDMODULE.
    Thanks,
    Naren

Maybe you are looking for

  • Error in calling XI Integration Directory

    Hi, When going to url: http://<host>:<port>/rep in SAP Exchange Infrastructure and then clicking at Integration Directory, the next page displays error message: "The requested client is unknown!" Kindly suggest.

  • Essbase 9.3.1 Excel Add-In Installation Error

    Hello Expects, I am facing the issues with Essbase Excel Addin(version 9.3.1) while installing and error is the below. java.lang.NoClassDefFoundError:run Exception in thread "main" Even I have admin rights to the system and I have extracted all files

  • AW 6 Pattern Palette not available

    I was creating a drawing in AW 6, using the Pattern Palette to fill in objects, and saving the file.  Now when I try to edit the drawing the Pattern Palette is greyed-out and unavailable.  Why would that be, especially when the Color Palette is avail

  • My icloud e-mail won't come online.  Keeps telling me there's a user/password error

    I'm trying to bring my email online but I keep getting the same messge that icloud can't connect.  When I run online doctor, it says the connection to the internet is good but all the red dots have a user/password error.  I've gone through every pass

  • Finding the Seventh Weekday.

    Hi, I have this requirement where I am required to run a program if today is the seventh weekday of the month. To get to that, I kind of wrote this sql. I know this is long-winded, but, just checking if there is another way for me to write this: SELE