Data Entry into customized table

Hi All,
I have created a z-table and selection screen with four fields. Whenever I enter the data into these four fields, the data should go to the z-table through my report.
Will you please send me how to do this?
Thanks in Advance,
Ramana

Hi KCR,
   You can do this by program or by generating a table maintanence generator using SM30.
IF you want to do this through program declare internal table with the same structure as that of your table and populate it with details as per the selection screen data and use "INSERT INTO <table name> FROM TABLE ITAB".
OR
Goto se11 give your table name change, in the attributes tab select display and maintanence allowed and then select menu path UTILITIES > Table maintanence generator  . IN the next screen displayed
give Authorization groups as &NC& (if you dont want any auth check) Function group as your table name( you can give any name starting with Z), select maintanence type one step and give single screen as 100 ( you can give any number you want) and then select create button(located left top corner). this will generate a table maintanence for you.
After doing above steps go to sm30 and give your table name and select maintain which will display a nice table control with the table fields where you can maintain as many records as you want and click on save.
Thats it.
Reward if helpful.
Regards,
Kalyan.

Similar Messages

  • How to store the flat file data into custom table?

    Hi,
    Iam working on inbound interface.Can any one tell me how to store the flat file data into custom table?what is the procedure?
    Regards,
    Sujan

    Hie
    u can use function
    F4_FILENAME
    to pick the file from front-end or location.
    then use function
    WS_UPLOAD
    to upload into
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'   "Function to pick file
        EXPORTING
          field_name = 'p_file'     "file
        IMPORTING
          file_name  = p_file.     "file
      CALL FUNCTION 'WS_UPLOAD'
       EXPORTING
         filename                       = p_file1
        TABLES
          data_tab                      = it_line
    *then loop at it_line splitting it into the fields of your custom table.
    loop at it_line.
              split itline at ',' into
              itab-name
              itab-surname.
    endloop.
    then u can insert the values into yo table from the itab work area.
    regards
    Isaac Prince

  • Insert delete or update entry in Custom table from KONV entry changed

    Hi All,
    I have custom table ZKONV with only few required columns and should have same number of records as KONV has at any point in time.
    KONV is a cluster table so its not readable from ORACLE level. So ZKONV is created. But I dont know how to keep these both tables in sync.
    I need to perform insert delete or update entry in Custom table if insert delete or update happens on cluster table KONV from any transactions.
    As KONV is a cluster table and does not have changed time stamp I am not able to know the number of records changed in perticulat time period.
    Thanks,

    Thanks for reply,
    There is a Outside SAP system which needs to read KONV data to feed into their system, but as KONV is cluster table they are not able to read it from ORACLE level.
    To solve this we are thinking to create a transparent Z-table and will fill it with KONV and catch Update, delete or Insert statement and do same on ZKONv.
    Is this possible some how? by some database event or something....

  • R12 - Approach to Insert into custom table after payment is done

    Hi,
    I have a requirement to insert into a custom table after invoice payment in R12. Code units are already in place to load data from ap tables to custom one.
    I have identified 2 ways in which this can be done:
    1. Call from the business event oracle.apps.ap.payment
    2. Call after the program 'Send separate remittance advice' completes, again as a business event after the concurrent program completes i.e. to use 'Request Completed' business event.
    My questions are as below:
    1. Is there any other way in which I can write to a custom table after payment is done
    2. How else can after report trigger be fired for SRA in R12 (without customizing the standard SRA java conc pgm)
    3. When exactly business event 'oracle.apps.ap.payment' will be fired? Will it be fired for all payments irrespective of the way payment is done like thru PPR, payment workbench, etc?
    Please share your thoughts on this.
    Thanks,
    Kavipriya

    in our case, we have created a database trigger on IBY_PAY_INSTRUCTIONS_ALL, to insert the requisite data into custom tables whenever the payment status is "Ready for Printing"

  • Data extraction into sap table  from legacy oracle database

    Hello All,
        I have a scenario where I have two different software systems (SAP and xyz systems), where a intermediate table will be created in between the two systems that is shared. Data will be updated by the xyz systems into this shared table. Now, my questions regarding this shared table.
       1) Can we write some program or something to get the data from shared table to update the SAP?
       2) If possible send me the suggestions
       3) Please also send me the sample code to get the data from the shared table
    Thanks in advance,
      SDN powered

    this shared table should be compatiable to sap fields...write code to fetch data from this table and assign data to appropriate fields in SAP and insert the data into sap.
    1. Push mechanism
    Write a RFC on SAP side to insert entries into the table.
    Call the RFC from xyz application passing the data you want to insert.
    2. Pull mechanism
    Write a ABAP Program, where you can somehow read the data of the xyz application and insert data into the table.
    3. Flat file
    Dump the data from xyz application into the file.
    Write a ABAP program to read the file and update the table.

  • Problem while saving date field in custom table

    Hi,
    Iam facing the following problem while saving a date field in custome table
    i have a date field zdate in which the value is 02082010.
    now when i try to insert this value in the custom table it is getting updated as 20/10/0208 , but it should be 08/02/2010
    How can i correct it..
    Regards
    Kumar

    just before saving u might have to use a string reverse FM and then save it..
    CALL FUNCTION 'STRING_REVERSE'
      EXPORTING
        STRING          = p_string
        LANG            = sy-langu
    IMPORTING
       RSTRING          = r_string
    EXCEPTIONS
       TOO_SMALL        = 1
       OTHERS           = 2

  • Inserting logon date & time into a table

    hi,
    i want to insert the logon date&time into a table which have a field
    called log_track and data type as date. i want to insert the
    information as 'dd/mm/yyyy hh24:mi:ss' . I tried to insert with
    the follwoing
    insert into log_chek values ( to_date(sysdate,'dd/mm/yyyy hh24:mi:ss))
    but it is not taking the time...how to include the time also..? I am using oracle 8i
    thanks in adv
    kris

    Dates are stored as dates. You cannot select to store a date in date format like dd/mm/yyyy hh24:mi:ss. That is not your decision to make. It is stored as a date format as a binary value.
    How you want to view that date, is your decision. How must this binary date format value much be displayed as a text string?
    So, when inserting a date you insert it as a date. That simple.
    insert into log_chek values ( sysdate )
    When you want to view that date, you decide how you would like it to be displayed in human readable format:
    select TO_CHAR( log_date, 'dd/mm/yyyy hh24:mi:ss') as log_date from log_chek

  • Transport data entries along with table

    How can we transport data entries along with table?
    Do I need to declare of specific type??
    Thank you,
    AP

    Hi,
    If you have created a table maintenance..
    You can use SM30..
    Press maintain button..
    In the menu..Table view -> transport...Then select the entries include them in the CR.
    If the transport menu is not enabled..
    Go to SE11..
    In the table maintenance generator...Choose the radio button which says "Standard recording routine" and then save..
    Now the transport menu option will be enabled..
    Thanks,
    Naren

  • How is the data inserted into CST_INV_QTY_TEMP table?

    Hi All,
    How is the data inserted into CST_INV_QTY_TEMP table ?
    Thanks in advance,
    Mayur
    Edited by: 928178 on 17-Apr-2012 04:29

    How is the data inserted into CST_INV_QTY_TEMP table ?TABLE: BOM.CST_INV_QTY_TEMP
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=CST_INV_QTY_TEMP&c_owner=BOM&c_type=TABLE
    Thanks,
    Hussein

  • How to paste tabbed data directly into FM7 table cells?

    <<<<on edit.... changed FM8 to FM7... I have FM7, not FM8>>>
    Hello
    I'm working on a documentation job that requires a pasting external data into existing table cells in FM7.
    I have tried several things but I can't find a way to paste the data directly into the table cells.  The source data can be delimited text, or spreadsheet cells. Neither can be pasted into an existing table.   The only way I can make this work is to first paste it into FM as text, then convert it to another table, and then copy/paste from that table into the existing one.  This is a lot of extra work and it seems there should be a way to paste external data directly across table cells.   I also tried "paste special" but that is not an option when I have table cells selected.
    Any ideas???
    It would be much appreciated!
    Thanks
    Gary Beckwith

    Gary, just had a thought -- I've worked on several projects where I used variables in tables that might work better for you.
    Basically the idea is to pre-populate the tables in your chapter with variables in the cells, and then import a minimalist MIF file that only contains the variable definitions for the pre-existing variables.  The minimalist MIF file can be made quite easily from a database or from an Excel CSV or TSV export by using various scripting utilities to convert comma-delimited text into the MIF syntax.
    I've created chapters that had hundreds of thousands of cells with variables in them, and updating the variables is incredibly quick.
    The best way to approach the variable naming is to come up with a convention that is easy to apply, I found .r1c1 etc to be a good starting point (the period so that the variables all sort in the same place in FM, the lower-case letters to make the variable's name as horizontally short as possible.

  • Using an MS Excel like template for data entry into an Oracle table

    Does anybody know of a way, or development tool, that has the look and feel of MS Excel but can be used for data entry and be saved to an Oracle table and be embedded into a JSP page? I am currently using iSupport and have a need to allow users to enter data into an MS Excel like template, once the user saves the service request I need for the values to be saved in the attribute fields of the service request. I need the ability to map the cells of the template to the fields in the Oracle table. Any help would be greatly appreciated. Thanks in advance.

    An Excel spreadsheet may be stored in database table .
    http://www.oracle.com/technology/pub/articles/saternos_tables.html

  • Mass upload of data into Custom table

    Hello all,
                I made search in SDN and could not find the best solution to my problem and hence posting .
               What is the best way for Mass upload of data into Custom database table ?
               I think LSMW would not be a viable option as it would take longer time .
               Locking of the table also needs to be taken care.
               PLease let me know if you have a alternative to this and the best way to do this .
    Comradely,
    K.Sibi

    Hi Sibi,
    See Lock objects are required when we enter the data through screen level, or multiple users should not enter the data at same time.
    Create one Lock object in SE11, It automatically creates FM.
    DEQUEUE_EYTEST2                Release lock on object EYTEST2
    ENQUEUE_EYTEST2                Request lock for object EYTEST2
    Call these FM in your program.
    EX: Refer this links
    1 http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4c8a79e11d1950f0000e82de14a/content.htm
    2 http://wiki.sdn.sap.com/wiki/display/Snippets/lockingandunlockingofthe+tables
    Rgds
    Aeda

  • For all entries on custom tables

    i have created 2 custom tables::zhospital_info n zpatient_info..
    zhospitalinfo tab fields:::_
    doc_name::prim key
    patient_name:::prim key
    place::prim key
    zpatientinfo tab fields::_
             ZDATE ::prim key
             JOINING
             MEDICINE
             PRICE
             QUANTITY
             DOC_NAME ::for key
             PATIENT_NAME::for key
             PLACE ::for key
    and inserted some values to the table contents..
    this is my logic:::
    TYPES: BEGIN OF ZHOSPITAL_INFO,
            DOC_NAME TYPE ZDOC_NAME,
            PATIENT_NAME TYPE ZPATIENT_NAME,
            PLACE TYPE ZPLACE,
           END OF ZHOSPITAL_INFO.
    DATA: W_HI TYPE ZHOSPITAL_INFO.
    DATA:T_HI TYPE STANDARD TABLE OF ZHOSPITAL_INFO.
    TYPES: BEGIN OF ZPATIENTL_INFO,
             ZDATE TYPE ZDATE,
             JOINING TYPE ZJOINING,
             MEDICINE TYPE ZMEDICINE,
             PRICE TYPE ZPRICE,
             QUANTITY TYPE ZQUANTITY,
             DOC_NAME TYPE ZDOC_NAME,
             PATIENT_NAME TYPE ZPATIENT_NAME,
             PLACE TYPE ZPLACE,
           END OF ZPATIENTL_INFO.
    DATA: W_PI TYPE ZPATIENTL_INFO.
    DATA:T_PI TYPE STANDARD TABLE OF ZPATIENTL_INFO.
    TYPES: BEGIN OF FTAB,
            DOC_NAME TYPE ZDOC_NAME,
            PATIENT_NAME TYPE ZPATIENT_NAME,
            PLACE TYPE ZPLACE,
            DATE TYPE ZDATE,
            JOINING TYPE ZJOINING,
            MEDICINE TYPE ZMEDICINE,
            PRICE TYPE ZPRICE,
            QUANTITY TYPE ZQUANTITY,
           END OF FTAB.
    DATA: W_FTAB TYPE FTAB,
          T_FTAB TYPE STANDARD TABLE OF FTAB.
    SELECT DOC_NAME
           PATIENT_NAME
           PLACE
           INTO TABLE t_hi
           FROM ZHOSPITAL_INFO .
    IF NOT t_hi IS NOT INITIAL.
    SELECT DOC_NAME
           PATIENT_NAME
           PLACE
           ZDATE
          MEDICINE*
           PRICE
           QUANTITY FROM ZPATIENTL_INFO INTO TABLE t_pi FOR ALL ENTRIES IN
    t_hi
           WHERE DOC_NAME = t_hi-doc_name.
    ENDIF.
    LOOP AT t_pi INTO w_pi.
    MOVE-CORRESPONDING: w_pi TO W_FTAB.
    READ TABLE t_hi INTO w_hi WITH KEY DOC_NAME = W_FTAB-DOC_NAME.
    MOVE: w_hi-patient_name TO W_FTAB-PATIENT_NAME,
          w_hi-place TO W_FTAB-PLACE.
          APPEND W_FTAB TO T_FTAB.
    ENDLOOP.
    LOOP AT T_FTAB INTO W_FTAB.
       WRITE:/ W_FTAB-DOC_NAME,
               W_FTAB-PATIENT_NAME,
               W_FTAB-PLACE,
               W_FTAB-DATE,
               W_FTAB-JOINING,
               W_FTAB-MEDICINE,
               W_FTAB-PRICE,
               W_FTAB-QUANTITY.
    ENDLOOP.
    req output:::when i enter doc_name the related info accr to doc_name from the both tables should be display..
    m getting no errors but i cant execute my prog..
    please check out my code...
    thanx in adv..

    Hi,
    The problem is in the select statement:
    SELECT DOC_NAME
    PATIENT_NAME
    PLACE
    ZDATE
    MEDICINE
    PRICE
    QUANTITY FROM ZPATIENTL_INFO INTO TABLE t_pi FOR ALL ENTRIES IN
    t_hi
    WHERE DOC_NAME = t_hi-doc_name.
    Change this to SELECT DOC_NAME PATIENT_NAME PLACE ZDATE MEDICINE PRICE QUANTITY FROM ZPATIENTL_INFO INTO CORRESPONDING FIELDS OF TABLE t-pi FOR ALL ENTRIES IN t_hi WHERE DOC_NAME = t_hi-doc_name.
    I hope the above code will help you...
    Also i hope to tell the following for performance issues and also a good programming practice:
    LOOP AT t_pi INTO w_pi.
    MOVE-CORRESPONDING: w_pi TO W_FTAB.
    READ TABLE t_hi INTO w_hi WITH KEY DOC_NAME = W_FTAB-DOC_NAME.
    MOVE: w_hi-patient_name TO W_FTAB-PATIENT_NAME,
    w_hi-place TO W_FTAB-PLACE.
    APPEND W_FTAB TO T_FTAB.
    ENDLOOP.
    Please do a sy-subrc check after READ statement always...
    LOOP AT t_pi INTO w_pi.
    MOVE-CORRESPONDING: w_pi TO W_FTAB.
    READ TABLE t_hi INTO w_hi WITH KEY DOC_NAME = W_FTAB-DOC_NAME.
    If sy-subrc = 0.
    MOVE: w_hi-patient_name TO W_FTAB-PATIENT_NAME,
    w_hi-place TO W_FTAB-PLACE.
    clear w_hi.
    Endif.APPEND W_FTAB TO T_FTAB.
    ENDLOOP.
    Please revert back for clarifications.
    Best Regards,
    Suresh

  • Deleting entries from custom tables....

    Hello,
    I have a custom table ZCUST (client dependent) from where I want to delete all entries. How do I achieve this ? There are two key fields in this table key1 and key2.
    Regards,
    Rajesh.

    Hi Rajesh,
    try this one...
    DATA: lt_add TYPE zadd OCCURS 0 WITH HEADER LINE.
    SELECT *
    FROM zadd
    INTO TABLE lt_add.
    DELETE zadd FROM TABLE lt_add.
    IF sy-subrc = 0.
      ULINE.
    ENDIF.
    Best regards,
    raam

  • How to upload data in a custom table in quality server

    Hi All,
    I want to upload data in custom table in quality server.
    I forgot to tranfer TMG into QA. I also don't send any upload program to QA.
    Is there any way to upload data directly to table in quality server i.e. by use of debugging.
    Regards,
    Narendra

    Hi Narendra,
    As suggested by Jorge you can create data through T-code SM30 (for this you need to have table maintainence generator in development) and get it tranported to Quality and production and maintain the data through it or else to can create a request for data creation through SM30 in development and get it transported to quality and production.
    Thanks,
    Chinmay

Maybe you are looking for

  • Error while importing xml file

    Hi, I am importing the xml file using the executefile function or dbms_aw_xml package and getting following error. SQL> execute dbms_output.put_line(dbms_aw_xml.executefile('XML_IMPORT_DIR','mod_OPER_DATA_BW.XML')); BEGIN dbms_output.put_line(dbms_aw

  • SOAP sender and IDOC receiver

    hi Could u please help me, how to do this interface. I am transferring the PO from legacy system(webServices Request) to SAP system when ever PO_IDOC is created in SAP I need to send PO number and Acknowledge back to the legacy system.This is synchro

  • RFC adapter does not work

    I create a RFC Receiver CC, I got the following trace error in XSMB_MONI in receiver call adapter phase: - <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP">   <Trace level="2" type="T">old values in cache (no lock found) - start r

  • Production Order GR accounitng entries

    Hi Friends, Can you tell me, during the goods receipt against production order, accounting entries with mvmt type 101 are hitting with which prices of production order material. i.e. I was checking one production order and found the prices were neith

  • Transparent color in an Image.

    I have an image that has white as it transparent color. How can I draw everything thing but white? Any help would be great. Thanks.