How to create table and insert images and audio files ...

hello to all , i am doing my b.e cse .
at current v r studing DB and pl/sql codes ....
i just need to know simple way of code to insert images and audio files in a table .
i tried some of these ,
CREATE TABLE myTable(Document varbinary(max))
INSERT INTO myTable(Document)
SELECT * FROM
OPENROWSET(BULK N'C:\Image1.jpg', SINGLE_BLOB)
but not workiing
it shows some errors.
i use oracle 10g. thank u :) and also i tried using blob and bfile datatypes , table created but cannot insert values !
ROBOK

hello to all , i am doing my b.e cse .
at current v r studing DB and pl/sql codes ....
i just need to know simple way of code to insert images and audio files in a table .
i tried some of these ,
CREATE TABLE myTable(Document varbinary(max))
INSERT INTO myTable(Document)
SELECT * FROM
OPENROWSET(BULK N'C:\Image1.jpg', SINGLE_BLOB)
but not workiing
it shows some errors.
i use oracle 10g. thank u :) and also i tried using blob and bfile datatypes , table created but cannot insert values !
ROBOK

Similar Messages

  • How to Create Table Using Column Drag and Drop Feature

    Hi:
    I am new to Oracle SQL dev Data Modeler tool and would like to know if there is a way to create a new table by re-using the existing columns or column groups. The idea is to maintain consistency and save table design time. If columns created previously can be re-used and require drag and drop of column in the right pane, then only new columns need to be manually created.
    Any thoughts on this will be appreciated.
    Thanks!

    Hi Kent
    I checked out the video and tried it in Oracle designer, it works and works great!
    My other question is that I may have several set of columns that I may want to group depending on the table requirements. Can I have multiple templates and choose which one to apply to?
    Also, how do I choose the table where the table template needs to be applied. As I may be interested in applying the table template to selected tables only.
    Thanks
    Edited by: user648132 on Feb 20, 2012 10:47 AM

  • Should I create table before insert xml files

    Hi,,,
    I am developing a application that insert various xml files
    into oracle8i dbms..
    So, I am studying Oracle XML SQL Utility and I understood that
    I should create appropriate tables suit for the XML files..
    (tag <--> table column name...) before insert them to the dbms.
    But In my project, the xml file is not fixed.
    And new XML files (new tag name, new DTD required) can be
    generated by the end user.
    Is there any solution??? create table suit for xml
    automatically..
    And...
    How can I create table to insert the following xml file..
    <univ>
    <college name="engineering">
    <department name="electronic">
    <student id="11">
    <math> 100 </math>
    <english> 90 </english>
    </student>
    </department>
    </college>
    <college name="law">
    <department name="law">
    <student id="55">
    <math> 90 </math>
    <english> 100 </english>
    </student>
    </department>
    </college>
    </univ>
    null

    Hi,
    One more thing is that, you can use XSLT to transform any
    document that you get into a canonical representation that u can
    then use to put into the database.
    For example, if the user gave,
    <univ>
    <college name="eng">
    <...>
    </college>
    </univ>
    you can then use XSLT to transform it into all-element form,
    such as,
    <univ>
    <college>
    <name>engineering</name>
    </college>
    </univ>
    and use OracleXMLSave to put it into the database. Also if you
    have structured XML elements you can map them nicely into object
    types in Oracle 8.
    Regarding creating the table, for the exampe that you showed,
    you can create an object type column for storing it,example,
    CREATE TYPE college_type AS OBJECT
    name VARCHAR2(50),
    dept department_type,
    CREATE TYPE department_type AS OBJECT
    name VARCHAR2(40),
    CREATE TABLE univ_tab ( college college_type);
    You could have also created object views over multiple
    relational tables and achieved the same.
    Thx
    The OracleXML team.
    Oracle XML Team wrote:
    : Instead of using attributes to store your data, use elements.
    : For example:
    : <univ>
    : <college>
    : <collname>engineering</collname>
    : <department>
    : <deptname>electronic</deptname>
    : <student>
    : <id>11</id>
    : <math>100</math>
    : <english>90</english>
    : </student>
    : </college>
    : </univ>
    : Oracle XML Team
    : http://technet.oracle.com
    : Oracle Technology Network
    : Chong, Ho-chul (guest) wrote:
    : : Hi,,,
    : : I am developing a application that insert various xml files
    : : into oracle8i dbms..
    : : So, I am studying Oracle XML SQL Utility and I understood
    : that
    : : I should create appropriate tables suit for the XML files..
    : : (tag <--> table column name...) before insert them to the
    dbms.
    : : But In my project, the xml file is not fixed.
    : : And new XML files (new tag name, new DTD required) can be
    : : generated by the end user.
    : : Is there any solution??? create table suit for xml
    : : automatically..
    : : And...
    : : How can I create table to insert the following xml file..
    : : <univ>
    : : <college name="engineering">
    : : <department name="electronic">
    : : <student id="11">
    : : <math> 100 </math>
    : : <english> 90 </english>
    : : </student>
    : : </department>
    : : </college>
    : : <college name="law">
    : : <department name="law">
    : : <student id="55">
    : : <math> 90 </math>
    : : <english> 100 </english>
    : : </student>
    : : </department>
    : : </college>
    : : </univ>
    Oracle Technology Network
    http://technet.oracle.com
    null

  • How to create table and digital signature ?

    Hello,
    I would like to ask two questions regarding SAP interactive forms by adobe.
    1st question:
    How to create table in interactive form?
    Table that i can add rows and column and will show it in the form.
    Example the rows and columns that i want:
    <u><b>ID:</b></u>                <b><u>Name:  </u>  </b>               <u><b>DOB:</b></u>
    1                  Jack                      01/02/80
    2                  Ivy                         10/12/82
    2nd question:
    How to create digital signature ?
    I'm creating a adobe forms which need employee to sign on the form. I use signature field at my form. However, i don't know how to create a new signature and insert in the signature field.
    Can any one provide the answer with step by step guide?
    Thanks a lot

    Hi Pradeepa,
    you said you have your digital signature in
    BMP format? That means Bitmap and would mean you are actually talking about a picture! THIS IS NOT A DIGITAL SIGNATURE!
    A digital signature is a cryptographic key (aka public key cryptography) that is used to digitally sign a document, or at least a hash value derived from the document. Digitally signing means, applying the key in a well defined way (this is the algorithm used) to the document or hash value. You do this with your private key and the receiver of the document can then use your public key (which you can distribute in any way you want, even unsecure) to unencrypt the hash value. If this succeeds the receiver knows that the document was signed by you.
    This is because both keys are mathematically related in such a way, that what one key encrypted can only be decrypted by the corresponding other key and by no other key. You even can´t decrypt a document with the same key it was encrypted with, this is the difference to symmetric encryption - please have a look at help.sap.com and search for digital signatures.
    The named formats (afs, pfx and p12) are ways of coding the key, together with information about your person, such as email address and information about validity of the key into a
    certificate. This type of certificate is then called a x.509 certificate and is the same you might have seen when connecting to a secure webserver such as the one of your bank website. 
    Signing a form with such a certificate provides for mathematically and therefore business related proove of a users identity.
    In case you are really using a bitmap, this cannot work and would not serve you any good.
    Ask yourself this question: I want to make sure that the form was signed by a specific person. How can I make sure that the signing can only be done by the person pretending to have done so?
    A bitmap contains a picture, probably of the persons handwritten signature. How can I make sure that this picture was NOT recreated in MS Paint or Photoshop by someone else?
    The answer is:
    you can't! Therefore this way of prooving identity is useless. 
    You need to provide your users with digital signatures, put these in the certificate cache of your IE.  If a user then clicks on the signing field, the private key is used to digitally sign the form - create a hash value of the form and encrypt it with the private key. After the form is send back to the server or you, you use the corresponding public key to decrypt the hash value and, as said above, if this succeeds, identity of the signer is proven.
    THIS IS AN OVERSIMPLIFICATION! You might want to take a look at Adobe Reader Credentials.
    Regards,
       Christian

  • How to create table.maint.generator and enduser should use using ztcode

    Hi,
           can any one guide me how to create table maintanence generator and after creating,enduser must use using ztcode.
             any help can be appreciated.
    Thanks & Regards,
    Sandeep.

    Hi,
    Table Maintenance generator is required to do Manual entries in the Table. If the requirement is to update the table only programmatically and not manually then table maint. generator is not required.
    Manual entries in table can be maintained ( New record can be inserted / existing can be modified ) using transaction SM 30, if the table maintenance for the table is generated.
    How to activate Table maint.
    Goto SE11 and open the table.
    Click UTILITIES -> Table Maint. Generator, Enter the details and click on Save. Then activate the table.
    chk a sample 1.
    refer.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    some more helps
    Check out this thread:
    table maintenance
    http://help.sap.com/saphelp_erp2005/helpdata/en/a7/513520407a11d1893b0000e8323c4f/frameset.htm - a link for basics on Table Maintenance.
    Also, Check out this weblog on table maintenance:
    /people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance
    <b>how to create a a T-code of that</b>
    Go to se93.
    Then create the new T.code.
    Under that select parameter Transaction.
    Then give the sm30 in the t.code in default values tab.
    check the checkbox skip initial screen.
    in classification tab.
    click checkbox inherit gui attributes..
    Now below..
    In the default values..
    WRITE
    viewname = give ur table name.
    show = X
    save and check it once...
    now u can able to call ur table through ur new t.code...
    rgds
    anver
    if hlped pls mark points

  • How to create table control and link in screen exit

    Hi Friends,
                     I want to create table control in enhancement CONFPP07.  The values entered in table control should be stored in ztable along with some other information.
    But I want to know how to create table control in screen-exit and how and where to write code and how to link all.
                   Kindly send me step-by-step documentation or real time examble prg.
                   Kindly give ur answers for this problem only.
    Thanks in Advance,
    S.Senthil kumar

    If u have a  screen exit..then u will have a option to create a sub screen..in that sub screen u activate the pai and pbo events..it will show u where to write the code..

  • ....how to create table maintanence generator for a z table and how to use

    Hi...
    3....how to create table maintanence generator for a z table and how to use that for transfering a selected records to one server to another server.
    thanks and regards,
    k.swaminath reddy

    Hi,
    Table maintanance Generator is used to manually
    input values using transaction sm30.The Table Maintenance Generator is used to create table maintenance program to add, modify or delete records in the database table. This can be accessed using transaction SE54 or in SE11 using the menu Utilities->Table Maintenance Generator
    <b>
    Follow below steps</b>
    go to se11 check table maintanance check box under
    attributes tab
    utilities-table maintanance Generator->
    create function group and assign it under
    function group input box.
    also assign authorization group default &NC& .
    select standard recording routine radio in table
    table mainitainence generator to move table
    contents to quality and production by assigning
    it to request.
    select maintaience type as single step.
    maintainence screen as system generated numbers
    this dialog box appears when you click on create
    button
    save and activate table
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    One step, two step in Table Maintenance Generator
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
    Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
    please check the link for getting information about table maintenance generator !
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=use%20of%20table%20maintenance%20generator&cat=sdn_all
    http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
    http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm
    Regards,
    Priyanka.

  • How to create table with rows and columns in HTMLB

    Hello All,
    Can any one tell me how to create table in HTMLB?
    Regards,
    Lisa.

    Look at the sample BSP application SBSPEXT_HTMLB
    also you can look at the below Blog..
    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
    <i>*Reward each useful answer</i>
    Raja T

  • Insert Link and Insert Image broken in Chrome

    The Insert Link and Insert Image buttons have been broken in my Chrome for at least the last couple of days (latest version, 32.0.1700.72 m, Windows 7 64).  
    When you click one of the buttons, the overlay window appears with a title, but it is otherwise black with no contents.  (See screenshot below.)
    The buttons work fine in Firefox.  What hasn't helped: deleting cookies, clearing the browser cache, waiting for several minutes for their content to appear.

    Whtat are we supposed to Claudio? All descend on Adobe with  clubs and try to beat some sense into someone!
    The fact is the customer is no longer the prime concern. Most companies don't give a Rats behind (toned down to prevent censors action) about the customers. It's the almighty dollar. Screw as many customers as they can while they can and line their pockets with all the green backs  as they can while they can. Then if the cusomers leave so be they take their money and run.
    Customer use to have power, they would speak loud and frequently and get things  fixed. And what with people from other countries now owning US companies, That were brought up with different moral compasses. They have no concept of this thing of loyalty to customers. The customer can jump off a cliff and they will simply cheer them on while the do so.
    We have lost, the fight can't be won. It no use. So Pat and others are right.
    I've been trying for 15 years for adobe to fix the issue of having multiple Pdfs created from Office documents because the claim they can't figure out how MS does Page and section breaks. And the issue of Weblinks not being active when converted to PDF's Both on Mac's yet on PC's there is no issue. I quite this year after I received a down right nasty not from Adobe say they didn't have any interest in fixing the bugs and were not about to try. What it amounted was go take a flying leap.
    They have the ability. They have beenblaming Its apple because they don't do such and such , or Microsoft because they don't do so and such. On the Links issue Saying MS doesn't provided the necessary hooks in the mac version of Office. They do you can take a Word document created on a Mac and open a PC and create a PDF and the links will be active. You can Open a Word Document in Apple's pages and all links created in Office document will be there.  The argument has been proven several different ways to be a an outright bald-faced lie. The defect is squarely with the Mac version of Acrobat.
    So Pat and others are right. Just throw in that towel. Adobe support of its customers is now 10 times worse than intuit's which is supposed have the lowest reputation of any software compny that ever existed.

  • Can anyone explain how to create this effect in Deamweaver and Fireworks?

    This site was oriinally done in dreamweaver - but the shadow
    effect was done
    outside of Dreamweaver. When I save to html and load into
    Dreamweaver it
    makes no sense to me.
    Can anyone explain how to create this effect in Deamweaver
    and Fireworks?
    http://www.fundflowsystems.com/test.php
    Thanks in advance,
    Joe

    Thank you so much...
    You is da bomb!
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > Yes - a blank (completely blank) page.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Ken Binney" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> Murray, one more favor if you would be so kind...
    >> Do you recall how this page degraded in Safari?
    >>
    >>
    http://www.binney.us/table-allcode.htm
    >>
    >>
    >> "Murray *ACE*"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Nope. Sorry. You need a Mac.
    >>>
    >>> --
    >>> Murray --- ICQ 71997575
    >>> Adobe Community Expert
    >>> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >>> ==================
    >>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>> ==================
    >>>
    >>>
    >>> "Ken Binney"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> Thanks Murray...
    >>>>
    >>>> Is there a way I can test for Safari on my
    PC XP ?
    >>>>
    >>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> Fails in Safari, Ken.
    >>>>>
    >>>>> --
    >>>>> Murray --- ICQ 71997575
    >>>>> Adobe Community Expert
    >>>>> (If you *MUST* email me, don't LAUGH
    when you do so!)
    >>>>> ==================
    >>>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>>> ==================
    >>>>>
    >>>>>
    >>>>> "Ken Binney"
    <[email protected]> wrote in message
    >>>>>
    news:[email protected]...
    >>>>>> Here is a solution requiring NO
    images.
    >>>>>> The CSS and the Javascript can
    easily made remote the page
    >>>>>>
    >>>>>> <!DOCTYPE HTML PUBLIC
    "-//W3C//DTD HTML 4.01 Transitional//EN"
    >>>>>> "
    http://www.w3.org/TR/html4/loose.dtd">
    >>>>>> <html>
    >>>>>> <head>
    >>>>>> <title>Shadow</title>
    >>>>>> <meta http-equiv="Content-Type"
    content="text/html;
    >>>>>> charset=iso-8859-1">
    >>>>>> <script
    type="text/javascript">
    >>>>>> var depth = 6 // in pixels
    >>>>>>
    >>>>>> // addLoadEvent t
    >>>>>> function addLoadEvent(func) {
    >>>>>> var oldonload = window.onload;
    >>>>>> if (typeof window.onload !=
    'function') {
    >>>>>> window.onload = func;
    >>>>>> } else {
    >>>>>> window.onload = function() {
    >>>>>> if (oldonload) {
    >>>>>> oldonload();
    >>>>>> }
    >>>>>> func();
    >>>>>> }
    >>>>>> }
    >>>>>> }
    >>>>>>
    >>>>>> addLoadEvent(function() {
    >>>>>>
    >>>>>> var a = document.all ? document.all
    >>>>>> document.getElementsByTagName('*');
    >>>>>> for (var i = 0;i < a.length;i++)
    >>>>>> if (a
    .className == "shadow") {
    >>>>>> for (x = 0;x < depth;x++) {
    >>>>>> var newSd =
    document.createElement("DIV")
    >>>>>> newSd.className = "shadow2"
    >>>>>> newSd.style.background = a.id
    >>>>>> newSd.style.width = a
    .offsetWidth + "px"
    >>>>>> newSd.style.height =
    a.offsetHeight + "px"
    >>>>>> newSd.style.left = a
    .offsetLeft + x + "px"
    >>>>>> newSd.style.top = a.offsetTop +
    x + "px"
    >>>>>> document.body.appendChild(newSd)
    >>>>>> }
    >>>>>> }
    >>>>>> }
    >>>>>> }
    >>>>>> );
    >>>>>>
    >>>>>> </script>
    >>>>>> <style>
    >>>>>> .shadow {
    >>>>>> border: 1px solid silver;
    >>>>>> padding: 2px;
    >>>>>> font: 10pt arial;
    >>>>>> position: relative;
    >>>>>> display: inline;
    >>>>>> background: white;
    >>>>>> z-index: 100
    >>>>>> }
    >>>>>> .shadow2 {
    >>>>>> overflow: hidden;
    >>>>>> position: absolute;
    >>>>>> filter: alpha(Opacity=15); /* modify
    to change the shade
    >>>>>> solidity/opacity, same as below */
    >>>>>> opacity: 0.1; /* firefox 1.5 opacity
    >>>>>> -moz-opacity: 0.2; /* mozilla
    opacity */
    >>>>>> -khtml-opacity: 0.1; /* opacity */
    >>>>>> z-index: 10
    >>>>>> }
    >>>>>> </style>
    >>>>>>
    >>>>>> </head>
    >>>>>>
    >>>>>> <body>
    >>>>>> <table width="800" border="0"
    align="center" cellpadding="0"
    >>>>>> cellspacing="0" class="shadow"
    id="#000000">
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> </table>
    >>>>>> </body>
    >>>>>> </html>
    >>>>>>
    >>>>>>
    >>>>>>
    >>>>>> "Joe"
    <[email protected]> wrote in message
    >>>>>>
    news:[email protected]...
    >>>>>>>
    >>>>>>> This site was oriinally done in
    dreamweaver - but the shadow effect
    >>>>>>> was done outside of Dreamweaver.
    When I save to html and load into
    >>>>>>> Dreamweaver it makes no sense to
    me.
    >>>>>>>
    >>>>>>> Can anyone explain how to create
    this effect in Deamweaver and
    >>>>>>> Fireworks?
    >>>>>>>
    >>>>>>>
    http://www.fundflowsystems.com/test.php
    >>>>>>>
    >>>>>>> Thanks in advance,
    >>>>>>>
    >>>>>>> Joe
    >>>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • How to create a drop down box and text box in screen painter?

    Hi i am totally new to this concept of screen painter..please can any tell me
    how to create drop down box in screen painter?
    How to create or display default date and time values?
    How to create text box for giving comments?
    How to store the records that we are entering in a table?
    Please can any one send me the procedure for creating all these its very urgent useful information will be surely rewarded.

    Hi,
    Check all these.
    1.how to create drop down box in screen painter?
    To get Drop Drown Box on screen .
    Follow these steps.
    1.
    Go to T.Code SE51 and Select Laypout for the Screen.
    2.
    Double click on the field for which u want Dropdown box.
    3.
    Then U will see Name ,Text ,DROPDOWN.Click on that and select List Box or ListBox with key . Better to to select first one.
    4.
    Save and Activate ur screen .
    5.
    Enter the following piece of code in the PBO of the screen.(Change for ur requirement).
    6.
    The following code should be written under PROCESS BEFORE EVENT in the MODULE.
    TYPE-POOLS :vrm.
    DATA:
      i_natio TYPE vrm_values, "-->Table that is passed through FM vrm_set_values
      w_natio LIKE LINE OF i_natio.
    DATA:
    BEGIN OF i_t005t OCCURS 0,
        land1 TYPE t005t-land1,
        natio TYPE t005t-natio,
    END OF i_t005t.
    IF i_t005t[] IS INITIAL.
      SELECT land1 natio
         FROM t005t
           INTO TABLE i_t005t
       WHERE spras = sy-langu.
      IF sy-subrc = 0.
      LOOP AT i_t005t .
          w_natio-key = i_t005t-land1.
          w_natio-text = i_t005t-natio.
          APPEND w_natio TO i_natio.
          CLEAR w_natio.
      ENDLOOP.
      ENDIF.
    ENDIF.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
                          id = 'I_IT0002-NATIO' "-->Field for which dropdown is needed.
                    values = i_natio
    EXCEPTIONS
       id_illegal_name = 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.
    2.1.How to create or display default date and time values?
    1.
    create input field for DATE and TIME on screen.ex. DATE1 and TIME1 are screen field names .
    2.
    Just assign SY-DATUM to DATE1 and SY-UZEIT to TIME1 under PROCESS BEFORE EVENT.
    3.How to create text box for giving comments?
    1.
    Define one variable in the TOP include with type STRING means Global variable.
    2.
    Create one input field by giving screen field name which u have defined in the above step.
    4.How to store the records that we are entering in a table?
    For this case.. Create one table control. you can select one record and create record in the Z table by pressing button on Application toolbar..
    Check the following steps to handle Table control.
    1).
    U should take one variable in your internal table or in structure which
    is used for table control fields
    ex :
    data :
    begin of itab occurs 0 ,
        mark type c , "This is to select the record.
        matnr like mara-matnr ,
        matkl like mara-matkl,
        maktx like makt-maktx,
    end of itab .
    Controls: TABC types TABLEVIEW using screen 100.
    2).
    This mark variable should be given in Table control properties.
    follow the path
    double click on the table control-->attributes .->select
    w/SelColumn and in that itab-mark. Check in the figure.
    [Table control properties screen|http://bp2.blogger.com/_O5f8iAlgdNQ/R99gOUH8CXI/AAAAAAAAA9I/d3gOum1fJ6s/s1600-h/pic28145-796618.jpg]
    3).
    After that. Take this example.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    LOOP AT ITAB WITH CONTROL tabc
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    LOOP AT ITAB.
       Module read_table_control.
    ENDLOOP.
    module user_command_0100.
    In this Module read_table_control, You should write the following code
    MODULE read_table_control INPUT.
    MODIFY itab INDEX tabc-current_line."( This will update the
    "ITAB table MARK field with 'X ' whatever we have selected
    "on table control.)
    ENDMODULE.
    4)
    If you want to Delete some of the records from Table control
    follow this code …Create one pushbutton and give Fucnction code to that
    and write below code
    CASE OKCODE.
    WHEN 'CREATE'.
    LOOP AT itab WHERE mark = 'X'.
    "Use UPDATE statement to create new record.
    ENDLOOP.
    ENDCASE.
    I hope that you will get something.
    Regards,
    Venkat.O

  • How to create a barcode in scripts and smartforms

    hi
    how to create a barcode in scripts and smartforms

    Hi,
    For Script:
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool. 
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
    Not to fear though, there are two ways to get around this:
    - You can have your IT department do some research - 
    most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
    - Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes. 
    - Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
    Now you have a barcode printed - what next?
    Well there are two options, depending on your business requirements:
    - You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
    - Another solution is to use SAPConsole transactions
    or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor. 
    These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
    For SmartForm:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Regards,
    Bhaskar

  • How to create Implicit Fact column ?and how to use it ?

    Hi all,
    How to create Implicit Fact column ?
    and how to use it ?
    Thanks in advance

    When you create a request with only dimension columns, the Oracle BI engine has to choose a fact table to join the dimensions to each other. If you have multiple fact tables in your BMM layer, the Oracle BI engine will use the most economical fact table, depending on the number of dimensions of the fact table.
    In some cases you do not want to use this fact table, but you want to force the Oracle BI engine to use the fact table you want.
    In that case you should create a fact (or select an existing fact) of the fact table you want to use for the dimension only query. In the presentation catalog of the subject area you should select this fact as the implicit fact. This fact will always be used in the query, but it won't be visible in your report. An example of an implicit fact is the count of the primary key (id) of the fact table.

  • How to create a VI that detects and records responses from user

    Does anyone has experience in creating a VI that allows the user to e.g., watch a video or series of images, pause or rewind video etc. and the VI records the duration of all pauses or user responses.

    avenue wrote:
    How to create a VI that detects and records responses from user
    You definitely need to check what 'EVENT STRUCTURE' is and how to use it... because thats needed to write such code.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • How to create custom infotype for training and event management

    hai freinds can any one tell me how to create custom infotype for training and event managment with following fields
    PS No – PA0000-> PERNR
    Name   - PA0001 -> ENAME
    IS PS.No. – PA0001-> PS no. of Immediate Superior
    IS name PA0001 -> ENAME
    thanx in advance
    afzal

    Hi,
    Your question is not clear for me. Since it is a TEM infotype, it could be a PD infotype.
    If you wish to create a PD infotype, use transaction PPCI to create the infotype.
    But before that you need to create a structure HRInnnn (where nnnn is the infotype number) with all the fields relevant for the infotype.
    If you wish to create a PA infotype, use transaction PM01 to create the infotype.
    But before that you may be required to create a strcuture PSnnnn  (where nnnn is the infotype number) with all the fields relevant for the infotype.
    Regards,
    Srini

Maybe you are looking for

  • Printing problem with Epson Workforce 840 & iPhoto 6

    My iPhoto 6 works fine with our other printer - HP Officejet. However, when I try to print a 4x6 photo with the Epson Workforce 840, the "iPhoto" tab in the print settings doesn't offer the usual set of paper options.  It only offers a limited set in

  • Feature request: Scale to fit (Smart Scale)

    Hello, When I either drag a layer from one doc to another, when I drop it, or even via copy and paste, it would be nice to have a SCALE TO FIT option. Often when working with different resolution images, you still need to make them fit. Either scalin

  • Location of iweb file

    I purchased a new mac pro tower.  I removed the drive from my previous mac pro tower and installed it in the new tower.  I started the new mac pro tower and at the appropriate locaiton asked to have my previous files and settings transferred to the n

  • Can not use Front-End Editor (New) mode in ABAP Editor

    Dear, If i change to Front-End Editor (New) mode, SAP Guide will be pending (cannot do anything on this section). What is happenning? Pls help. Thanks, Quanglv

  • Dim Adapter

    HI all I would like to know if Dim Adapter version 9.3.1 can work with planning version 9.3.1.1 Thanks Renan