FM to lock data element and messages

Hi All,
I need a FM to enque data element and messages for translation.
I have found out one FM for ABAP program texts - ENQUEUE_EABAPTEXTE.
Can you please tell me the corresponding ones for data element and messages.
Thank you.
Ajith

Hi Krishna,
Use function modules    enqueue_<<lock object>>u2019 and dequeue_<<lock object>>u2019
With Regard's
SHAIK.

Similar Messages

  • BDoc: Related Data Type and Message Structure

    Related Data Type and Message Structure are two attributes of a BDoc. Can anyone tell what they are used for?
    Thanks in advance.
    Regards,
    Hui
    BTW: Mush reward for good answers.

    A message type comprises a data type that describes the structure of a message. At the following points in SAP Exchange Infrastructure you can refer to the message to be exchanged at runtime by using the message type:
    · More than one message interface can use the same message type. For example, an asynchronous outbound message interface and an asynchronous inbound message interface can reference the same message type because the request message does not need to be mapped.
    · When defining a message mapping you can directly reference message types to map messages from an outbound interface to messages from a receiver interface.
    For technical reasons, a data type is not sufficient to describe the instance of a message. In XML schema, data types are defined as abstract types that are not yet fixed to an element. You can only describe an instance of a message when you have specified a data type as an element type. Therefore, a message type defines the root element of a message.
    A message type does not define the direction of the message exchange, in other words, whether it is a request or a response. In exceptional cases you can use the same message type for both the request and the response message.

  • Procedure for creating transparent table, data element and domain

    Hi,
    Can anybody let me know the procedure for creating transparent table, data element and domain.
    Thanks,
    Mahathi

    Hi
    Database table and its components
    A database table is the central data structure of the ABAP/4 data dictionary.
    The structure of the objects of application development are mapped in tables on the underlying relational database.
    The attributes of these objects correspond to fields of the table.
    A table consists of columns (fields) and rows (entries). It has a name and different attributes, such as delivery class and maintenance authorization.
    A field has a unique name and attributes; for example it can be a key field.
    A table has one or more key fields, called the primary key.
    The values of these key fields uniquely identify a table entry.
    You must specify a reference table for fields containing a currency (data type CURR) or quantity (data type QUAN). It must contain a field (reference field) with the format for currency keys (data type CUKY) or the format for units (data type UNIT). The field is only assigned to the reference field at program runtime.
    The basic objects for defining data in the ABAP Dictionary are tables, data elements and domains. The domain is used for the technical definition of a table field (for example field type and length) and the data element is used for the semantic definition (for example short description).
    A domain describes the value range of a field. It is defined by its data type and length. The value range can be limited by specifying fixed values.
    A data element describes the meaning of a domain in a certain business context. It contains primarily the field help (F1 documentation) and the field labels in the screen.
    A field is not an independent object. It is table-dependent and can only be maintained within a table.
    You can enter the data type and number of places directly for a field. No data element is required in this case. Instead the data type and number of places is defined by specifying a direct type.
    The data type attributes of a data element can also be defined by specifying a built-in type, where the data type and number of places is entered directly.
    <b>Two Level Domain Example</b>
    A domain defines a field technically and therefore it may
    be used at different business levels.
    A data element describes the meaning of a domain in a certain business context.
    A domain, however, is used for the technical definition of a table field (for example field type and length).
    Therefore, although a take-off airport (data element S_FROMAIRP) would have a different business meaning from an airport where a plane lands (data element S_TOAIRP), they could still have the same domain(here S_AIRPID) because technically we could assign the same number of characters whether the airport is a take-off or a landing airport.
    <b>Definitions of Table in Database</b>
    In SAP R/3 tables are defined as
    A) Transparent tables: All of the fields of a dictionary table correspond to a field in the real database table.
    B) Pooled tables: Different tables which are not linked to each other with a common key are combined into a TABLE POOL. Several logical tables thus exist as a single real database table.
    C) Cluster tables: Several tables linked by a common key may sometimes be combined by the data dictionary and made to exist on the database schema as a single table.
    SAP is evolving R/3 tables in transparent tables.
    <b>Elaboration on each of the definitions</b>
    A transparent table is automatically created on the database when it is activated in the ABAP Dictionary. At this time the database-independent description of the table in the ABAP Dictionary is translated into the language of the database system used.
    The database table has the same name as the table in the ABAP Dictionary. The fields also have the same name in both the database and the ABAP Dictionary. The data types in the ABAP Dictionary are converted to the corresponding data types of the database system.
    The order of the fields in the ABAP Dictionary can differ from the order of the fields on the database. This permits you to insert new fields without having to convert the table. When a new field is added, the adjustment is made by changing the database catalog (ALTER TABLE). The new field is added to the database table, whatever the position of the new field in the ABAP Dictionary.
    Tables can also reside on the database as Pooled tables or cluster tables
    Pooled Tables: Different tables which are not linked to each other with a common key can be combined into a Table Pool. The tables contained within this pool are called Pooled Tables. A table pool is stored in the database a simple table. The table's data sets contain, in separate fields, the actual key for the data set to be stored, the name of the pooled table and the contents of the data set to be stored.
    Using this schema, several logical tables are combined into a single real database table. Although the data structure of each set is lost during the write to the table pool, it is restored during the read by the ABAP/4 Data Dictionary. The ABAP/4 Data Dictionary utilizes its meta-data to accomplish this.
    Since information must be prepared (defined) within the ABAP/4 Data Dictionary when it is read or written to (or accessed), this process itself defines these as not transparent tables
    Cluster Tables: Occasionally, several tables may be linked by a common key. The ABAP/4 Data Dictionary can also combine these tables into a single table. Each data set of the real table within the database contains a key and in a single data field, several data sets of the subsequent table for this key.
    As mentioned above, these table types require special data handling, therefore they are not transparent tables.
    <b>Technical Settings in Dictionary</b>
    The data class logically defines the physical area of the database (for ORACLE the table space) in which your table should be created. If you choose the data class correctly, the table will automatically be created in the appropriate area on the database when it is activated in the ABAP Dictionary.
    The most important data classes are master data, transaction data, organizational data and system data.
    Master data is data that is rarely modified. An example of master data is the data of an address file, for example the name, address and telephone number.
    Transaction data is data that is frequently modified. An example is the material stock of a warehouse, which can change after each purchase order.
    Organizational data is data that is defined during customizing when the system is installed and that is rarely modified thereafter. The country keys are an example.
    System data is data that the R/3 System itself needs. The program sources are an example.
    Further data classes, called customer data classes (USER, USER1), are provided for customers. These should be used for customer developments. Special storage areas must be allocated in the database.
    The size category describes the expected storage requirements for the table on the database.
    An initial extent is reserved when a table is created on the database. The size of the initial extent is identical for all size categories. If the table needs more space for data at a later time, extents are added. These additional extents have a fixed size that is determined by the size category specified in the ABAP Dictionary.
    You can choose a size category from 0 to 4. A fixed extent size, which depends on the database system used, is assigned to each category.
    Correctly assigning a size category therefore ensures that you do not create a large number of small extents. It also prevents storage space from being wasted when creating extents that are too large.
    Modifications to the entries of a table can be recorded and stored using logging.
    To activate logging, the corresponding field must be selected in the technical settings. Logging, however, only will take place if the R/3 System was started with a profile containing parameter 'rec/client'. Only selecting the flag in the ABAP Dictionary is not sufficient to trigger logging.
    Parameter 'rec/client' can have the following settings:
    rec/client = ALL All clients should be logged.
    rec/client = 000[...] Only the specified clients should be logged.
    rec/client = OFF Logging is not enabled on this system.
    The data modifications are logged independently of the update. The logs can be displayed with the Transaction Table History (SCU3).
    Logging creates a 'bottleneck' in the system:
    Additional write access for each modification to tables being logged.
    This can result in lock situations although the users are accessing different application tables!
    <b>Create transparent table</b>
    Go to transaction SE11. Enter name of table you want to create (beginning with Y or Z) and click on create pushbutton
    Enter the delivery class and the table maintenance criteria
    The delivery class controls the transport of table data when installing or upgrading, in a client copy and when transporting between customer systems .
    The display/maintenance indicator specifies whether it is possible to display/maintain a table/view using the maintenance tools Data Browser (transaction SE16) and table view maintenance (transactions SM30 and SM31).
    Enter the name of the table field and the data element. The
    System automatically populates the technical details for
    existing data elements.
    So far as possible it is advisable to use existing data elements which befit the business requirements.
    However, we may create data elements if need be. The same is shown in the next slide.
    To create a data element simply double click on it.
    Alternately create a data element by simply choosing the
    data type radio button on SE11 initial screen.
    <b>Create data element</b>
    The system prompts you to create a new data element.
    Choose the Yes pushbutton.
    Under the data type tab enter the domain name which
    determines the technical characteristics of the field.
    Further characteristics tab: Allows you to specify a search help assigned to the data element.
    It also allows you to specify a parameter id which helps you populate a field from SAP memory.
    Field label: Can be assigned as prefixed text to a screen field referring to the ABAP Dictionary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
    <b>Create domain</b>
    If the domain does not exist in the data dictionary the
    system prompts you to create one.
    Give the technical characteristics under the definition
    tab. Value range allows you value restriction at domain
    level.
    Value range tab:
    As explained in the section Consistency through input checks one can restrict the possible values for a field at domain level itself by either entering fixed values or by specifying a value table under the tab Value range.
    <b>Currency/Quantity fields in a table</b>
    A currency or a quantity field must be assigned a reference field from a reference table containing applicable qty unit or currency unit.
    Field of the reference table, containing the applicable quantity unit or currency
    A field containing currency amounts (data type CURR) must be assigned a reference field including the currency key (data type CUKY).
    A field containing quantity specifications (data type QUAN) must be assigned a reference field including the associated quantity unit (data type UNIT).
    <b>Create transparent table continue</b>
    Maintain the technical settings of the table by clicking on the tab

  • Difference Between Data type and message type

    Hi,
        i have doubt on data type and message type.why we are mapping the message type why not data type?wht is the difference between data type and message type?

    Hi Narayanana,
    Data type defines the structure of your xml message.Message type is the wrapper of data type.You will be using your message type while mapping and not the data type.Its the abstraction concept used in oops
    kanan thiyam  
    Posts: 28
    Questions: 7
    Registered: 1/8/07
    Forum points: 24 
       Re: What is deffernce b/w Data type and message type  
    Posted: Jun 13, 2007 8:05 AM    in response to: suresh k         Reply      E-mail this post 
    Hi Suresh,
    Data Type defines the structure of the message and it will be wrapped under Message Type.
    Hope the details below will clearify your doubts.
    A data type in a programming language is a set of data with values having predefined characteristics. Examples of data types are: integer, floating point unit number, character, string, and pointer.
    The characteristic of columns and variables that defines what types of data values they can store.
    Check out the details:
    http://en.wikipedia.org/wiki/Data_type
    A message type comprises a data type that describes the structure of a message. At the following points in SAP Exchange Infrastructure you can refer to the message to be exchanged at runtime by using the message type:
    Details:
    http://help.sap.com/saphelp_nw04/helpdata/en/2d/c0633c3a892251e10000000a114084/content.htm
    kanan

  • Resources for designing data types and message types

    Hi
    I wanted to know if anyone can recommend me some good resources which can explain the design considerations for designing data types and message types in XI which can help promote reusability.
    Thanks.
    Best Regards,
    Kiran

    hi,
    there no rare rule whe you define your data type, why i tell you this, because you define a data type since the documentation that sender sistem team gives to you. so you only have to copy this structure to PI.
    now about Message Type less problems, because, you a Data type is assign to a Message Type, whats it means.
    when you define a DATA type you are defining the structure of you XML, que you assing the data type to a message type this structure pass to be an xml document.
    Thanks you
    Rodrigo

  • Smart Form, Data Element and Parameters

    1.- I created an Smart Form with an import parameter. The import's parameter type is a data element.
    2.- I create an executable to call the Smart Form, I need to declare a parameter of the type of the same data element.
    The problem is that when I try to compile I receive an error message:
    The deep data type "ZTEXTOLIBRE" is not allowed. not allowed.          
    The type of the parameter must be of this type because if not, i'd receive an error when i send the parameter to the function that call the Smart Form. Any idea?
    Thanx

    Hi Jose,
            check with this smartform LB_BIL_INVOICE declaration and with the driver program declaration.
    like IS_BIL_INVOICE TYPE LBBIL_INVOICE in the form Interface and
    like  DATA: ls_bil_invoice TYPE lbbil_invoice in the driver program RLB_INVOICE.
    Hope this will help.
    Thanks,
    Vamsi.

  • Lock Data: Enqueue and Dequeue

    Im trying to lock data from vb.net but it didnt work out.
    I pass the variable to my function module and inside the function contains below codes.
    eg:
    CALL FUNCTION 'ENQUEUE_EZCOL06'
       EXPORTING
         MODE_ZCOL06          = 'E'
         MANDT                = SY-MANDT
         ZBUKRS               = code1
         ZGJAHR               = code2
         ZRPTNO               = code3     
         _SCOPE               = '2'
         _WAIT                = 'X'
       EXCEPTIONS
         FOREIGN_LOCK         = 1
         SYSTEM_FAILURE       = 2
         OTHERS               = 3.
    I open multiple screen (VB.net) but still it didnt lock the data. I dont know where it gone wrong. But when I try in SAP itself it works. I open multiple session and it detects and it locks the data.
    Please help.
    Thank you.

    Hi zhenglin gu,
    Thanks for replying.
    Yup, i tried your solution but it didnt work out also.
    Then I check for the Allow RFC (Remote Function Call). Meaning to say, I can access the function module from the VB.Net. I thought it's going to work but it didnt. I change from cumulative to not cumulative. After that, I also check in the SM12 (Lock Entries). There is no lock entries.
    Anyone could help me?
    Thank you.
    Regards.

  • Deleting data elements and domains

    hi guys,
    how do i delete data elements that i had previously created in ztables (they are zelements and zdomains)permanently.  thanks in advance.

    from the same place where u created them ie go to
    SE11> Use menu option Dictionary Object> Delete
    or
    SE80 > Use menu option Workbench>Edit Object>Click the tab Dictionary>use the Delete icon
    Regards,
    Suresh Datti

  • How to find Where does Data Elements and structures are used ?

    Hi everyone .
    Is there any table which stores data elements/structures and where they are used ?
    If not is there any way to find by writing some <b>program</b> where does a data element or a structure is used ? Which tables will require for that ? If any one can give example it will be most helpful .
    Thanks and Regards,
    Kaushal N. Shah

    Hi Kaushal,
    DD04L stores the data elements.
    DD02L stores the structures.
    So you can query these tables & find them.
    Regards,
    Chetan.
    PS:Reward points if this helps.

  • Optimistic locking/ data concurrency and consistency

    Hi,
    When creating a tabular form using wizard, apex creates its own processes for optimistic locking. But when creating a form on a table, it doesn't create the processes. I suppose I need to create them manually.
    Can anybody show me the steps?
    Thanks!

    Scott,
    Thanks once again.
    2 things:
    My understanding is that I can't change the error message, and that if I want to customize the error message, I need to create my own process for checksum. Is this true? If so, what is the easiest way of doing this?
    I realized it returns an error message and the changes the user made gets lost if he went out for lunch and somebody else made an update on that record. What can I do so the user doesn't lose the data?
    Thanks,

  • Data element and domain change problem

    Hi Gurus!
    I changed a Key figure's domain in our system.
    The users would like the Key figure with 5 decimal places, but there was only 3 decimal places.
    I did the changes based on this document:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/209b2916-1cca-2d10-b39e-90df259764ef?quicklink=index&overridelayout=true
    Everything is fine in our develop system.
    But when I transport the changes to our test system, there are some error messages after the transport.
    The transport's return code is 8.
    The error messages are:
    InfoObject ZIND (or ref.) used in InfoProvider with data managmnt.-> Error:
    InfoObject ZIND: Decimal places was changed from 000003 to 000005
    InfoObject ZIND being used in InfoCube ZPCA_R01 (contains data)
    I don't want to delete any datas from the cube (this will be critical in our productive system).
    I tried to activate the Key figure and the cube, I tried "Activate and adjust database" option in trn. SE14, but nothing helped.
    Do you have any alternate ideas?
    Thanks a lot.
    Gergely

    Thank you for your response.
    I will create a new key figure.
    Best Regards,
    Gergely
    Edited by: Gergely Gombos on Nov 24, 2010 10:59 AM

  • Ios7.1 update messed up my iphone4 date & time and messages

    ever since updating to ios7.1 my iphone thinks it is about 2 and 3/4 days in the future.  i have tried resets, restores, reprogrammings... and it might work for a little while but then the time goes wrong again.
    also, in my messages, the cap locks keeps going on and the messages don't show up on the screen when i hit send.  sometimes they show up several minutes later.
    i had trouble activating imessage... but that seems to have been fixed when i reset all settings.
    what should i do, since i can't go back to the way the phone was when it was working.

    Try restoring from a backup. Preferably one on your PC and not through iCloud.

  • What is domain and dataelement.....diff b/w domain and data element

    dear all
    what is domain?
    what is data element?
    In one domain how many data elements are possible to used?
    with out data element how can u create a table? explain briefly.

    To clarify it little further the Data element and Domains are used in combination where similiar type of data fields are to be used with some more additional characteristics to each Data element.
    For example consider creating a table which contains Employee details. The Columns Name1 and Name2 are to be of type char and length 40. There are 2 ways to do this,
    1. You can assign the fields Name1 and Name2 directly to CHAR40(as the data element) in SE11. But this will make both the fields to have same characteristics with no difference among them.
    2. The other way is to assign the columns Name1 and Name2 to seperate Data elements say DE_NAME1 and DE_NAME2. This method has tha advantage of adding further charectristics and labels to the data element. Hence in this case you can add a label "Name1" for the data element DE_NAME1 and "Name2" for data element DE_NAME2. And both these data element will point to the same domain CHAR40, hence length and type is same.
    Hope this helps.
    Thanks,
    Prasath N

  • Data element-reward point guranteed

    Hi all,
             i am in a peculiar problem.I have to go through a hell lots (50+) of ztable and find the domian used and corresponding data element.
    going thorugh SE11 and finding the things are going to take lots of time.
    i have a report program , sending it to you, it displays details of info of listed table.
    just run the report.
    but the thing is , it rerieves the data type, instead of data element and domain.
    somehow if i get those two things(domian & data element instead of data type of each field) , my work will be easier.
    i will simply run this report and download the content of the priniting internal table int an excel ****.
    can you just do some modification in this report to print DATA ELEMENT AND DOMAINS OF RESPECTIVE.
    here it is ,
    REPORT ZANID_TEST message-id zz NO STANDARD PAGE HEADING
           LINE-SIZE 178 LINE-COUNT 65.
    TABLES: DD03L, DD04T, DD02T, DD02L.
    SELECT-OPTIONS: TABNAME FOR DD02L-TABNAME.
    *SELTEXT E  'SAP Table Name(s)'
    DATA: BEGIN OF TAB OCCURS 500,
         TABNAME LIKE DD03L-TABNAME,
         POSITION LIKE DD03L-POSITION,
         FIELDNAME LIKE DD03L-FIELDNAME,
         STXT LIKE DD04T-DDTEXT,
         KEYFLAG LIKE DD03L-KEYFLAG,
         DATATYPE LIKE DD03L-DATATYPE,
         LENG     LIKE DD03L-LENG,
         DECIMALS LIKE DD03L-DECIMALS,
         CHECKTABLE LIKE DD03L-CHECKTABLE,
         REFTABLE LIKE DD03L-REFTABLE,
         REFFIELD LIKE DD03L-REFFIELD,
         END OF TAB.
    DATA: LINE-COUNT TYPE I.
    SELECT * FROM DD03L WHERE TABNAME IN TABNAME.
      MOVE-CORRESPONDING DD03L TO TAB.
      IF TAB-FIELDNAME CS '.inc'.
      ELSE.
        SELECT * FROM DD04T WHERE ROLLNAME   = DD03L-ROLLNAME
                              AND DDLANGUAGE = SYST-LANGU
                              AND AS4LOCAL   = 'A'.
        ENDSELECT.
        IF SYST-SUBRC = 0.
          TAB-STXT = DD04T-DDTEXT.
        ENDIF.
        APPEND TAB.
      ENDIF.
    ENDSELECT.
    DESCRIBE TABLE TAB LINES LINE-COUNT.
    IF LINE-COUNT EQ 0.
      MESSAGE E009 WITH 'Table Not Found'.
    ENDIF.
    SORT TAB BY TABNAME POSITION.
    LOOP AT TAB.
      ON CHANGE OF TAB-TABNAME.
        NEW-PAGE.                          "Page Break for New Table
      ENDON.
      WRITE: /  TAB-FIELDNAME, 20 TAB-STXT,
               81 TAB-KEYFLAG,  85 TAB-DATATYPE,
               90 TAB-LENG, 100 TAB-DECIMALS,
               110 TAB-CHECKTABLE,
               121 TAB-REFTABLE,
               132 TAB-REFFIELD.
    ENDLOOP.
    TOP-OF-PAGE.
      FORMAT INTENSIFIED OFF.
      WRITE: /  SY-REPID,
               'Run by', SY-UNAME(8), 'on', SY-DATUM, SY-UZEIT,
               'System', SY-SYSID(4), 'Client', SY-MANDT.
      WRITE: / SY-TITLE CENTERED.
      FORMAT INTENSIFIED ON.
    *include zconinc3.
    FORMAT INTENSIFIED OFF.
    CLEAR DD02T.
    SELECT * FROM DD02T WHERE TABNAME EQ TAB-TABNAME
                          AND DDLANGUAGE EQ SYST-LANGU
                          AND AS4LOCAL   EQ 'A'.
    ENDSELECT.
    CLEAR DD02L.
    SELECT * FROM DD02L WHERE TABNAME EQ TAB-TABNAME
                          AND AS4LOCAL   EQ 'A'.
    ENDSELECT.
    WRITE: / 'Table Name   ', TAB-TABNAME,
             'Type=', DD02L-TABCLASS,
              DD02T-DDTEXT.
    WRITE: /  'Field',       20 'Description',
             81 'Key',        75 'Type',
             90 'Length', 100 'Decimals',
             110 'Check Table',
             121 'REF Table',
             132 'REF Field'.
    FORMAT INTENSIFIED ON.

    Here you go:
    REPORT ZANID_TEST message-id zz NO STANDARD PAGE HEADING
    LINE-SIZE 255 LINE-COUNT 65.
    TABLES: DD03L, DD04T, DD02T, DD02L.
    SELECT-OPTIONS: TABNAME FOR DD02L-TABNAME.
    *SELTEXT E 'SAP Table Name(s)'
    DATA: BEGIN OF TAB OCCURS 500,
      TABNAME LIKE DD03L-TABNAME,
      POSITION LIKE DD03L-POSITION,
      FIELDNAME LIKE DD03L-FIELDNAME,
      STXT LIKE DD04T-DDTEXT,
      KEYFLAG LIKE DD03L-KEYFLAG,
      DATATYPE LIKE DD03L-DATATYPE,
      LENG LIKE DD03L-LENG,
      DECIMALS LIKE DD03L-DECIMALS,
      CHECKTABLE LIKE DD03L-CHECKTABLE,
      REFTABLE LIKE DD03L-REFTABLE,
      REFFIELD LIKE DD03L-REFFIELD,
      rollname like dd03l-rollname,
      domname like dd04l-domname,
    END OF TAB.
    DATA: LINE-COUNT TYPE I.
    SELECT * FROM DD03L WHERE TABNAME IN TABNAME.
      MOVE-CORRESPONDING DD03L TO TAB.
      select single domname from dd04l into tab-domname
        where rollname = dd03l-rollname.
      IF TAB-FIELDNAME CS '.inc'.
      ELSE.
        SELECT * FROM DD04T WHERE ROLLNAME = DD03L-ROLLNAME
        AND DDLANGUAGE = SYST-LANGU
        AND AS4LOCAL = 'A'.
        ENDSELECT.
        IF SYST-SUBRC = 0.
          TAB-STXT = DD04T-DDTEXT.
        ENDIF.
        APPEND TAB.
      ENDIF.
    ENDSELECT.
    DESCRIBE TABLE TAB LINES LINE-COUNT.
    IF LINE-COUNT EQ 0.
      MESSAGE E009 WITH 'Table Not Found'.
    ENDIF.
    SORT TAB BY TABNAME POSITION.
    LOOP AT TAB.
      ON CHANGE OF TAB-TABNAME.
        NEW-PAGE. "Page Break for New Table
      ENDON.
      WRITE: / TAB-FIELDNAME, 20 TAB-STXT,
      81 TAB-KEYFLAG, 85 TAB-DATATYPE,
      90 TAB-LENG, 100 TAB-DECIMALS,
      110 TAB-CHECKTABLE,
      tab-rollname,
      tab-domname.
    ENDLOOP.
    TOP-OF-PAGE.
      FORMAT INTENSIFIED OFF.
      WRITE: / SY-REPID,
      'Run by', SY-UNAME(8), 'on', SY-DATUM, SY-UZEIT,
      'System', SY-SYSID(4), 'Client', SY-MANDT.
      WRITE: / SY-TITLE CENTERED.
      FORMAT INTENSIFIED ON.
    *include zconinc3.
      FORMAT INTENSIFIED OFF.
      CLEAR DD02T.
      SELECT * FROM DD02T WHERE TABNAME EQ TAB-TABNAME
      AND DDLANGUAGE EQ SYST-LANGU
      AND AS4LOCAL EQ 'A'.
      ENDSELECT.
      CLEAR DD02L.
      SELECT * FROM DD02L WHERE TABNAME EQ TAB-TABNAME
      AND AS4LOCAL EQ 'A'.
      ENDSELECT.
      WRITE: / 'Table Name ', TAB-TABNAME,
      'Type=', DD02L-TABCLASS,
      DD02T-DDTEXT.
      WRITE: / 'Field', 20 'Description',
      81 'Key', 75 'Type',
      90 'Length', 100 'Decimals',
      110 'Check Table',
      141 'Data Element',
      172 'Domain'.
      FORMAT INTENSIFIED ON.
    Message was edited by: Erik Verbeeck

  • How to make use of adjacent data elements within the same buffer

    Hi,
             Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
             Here I also attach my VI showing what I did.
        Thank you very much in advance,
                            Suksun
    Attachments:
    wheel_encoder_1.vi ‏98 KB

    Hi Suksun,
          I hope you'll forgive me for distilling your code - mainly to understand it better.  I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array.  As in your code, the last velocity is being paired with the first position.  If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
    cheers
    Message Edited by Dynamik on 01-07-2006 03:17 AM
    Message Edited by Dynamik on 01-07-2006 03:19 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!
    Attachments:
    encoder2.GIF ‏14 KB
    encoder2.vi ‏102 KB

Maybe you are looking for