Way to send records added to Z table to Transport ?

Hi
The functional personnel add records to Z table with SE16 using 'Create Entries' button; then they consult the records, select the records, go to 'Table Entry' menu and 'Transport Entries' option and put the records in a Transport Number for send it to other client.
But they are afraid to forget select some added record when selecting them to put in transport; so my task is investigate if is there a way to put added records automatically in transport without need to select them.
That is: Is there any way to make SE16 automatically ask for a transport number when we are creating records using 'Create Entries' button ??
For example, when we select 'Save' after create some record(s), is it possible make to SE16 ask for a transport number ??
I don't know if there is any attribute that we can set to Z table to make SE16 behaves in this way.
Regards
Frank

Hi Sharad
Thanks for your response, but i have some doubts: 
What does that FM makes ??  does it calls to SE16 ??
And value table name goes in 'View Name' parameter; then i leave others empty ?  And the tables parameters ?
Tha is because i called this FM directly with SE37 to see its behavior but ti sends an error 'Transport is nos possible for the specified data'.
(I´m going to award points)
Thanks a lot
Frank

Similar Messages

  • Blank Records added while using Table maintenance generator - SM30

    Hi all,
    I have created a ztable and view,
    For the view table maintenance generator created using sm30,
    First time when i add reords, a blank record is added automatically ,how to prevent it,
    Also when i try to add invalid data, system throws error , field becomes display only.
    How to solve.
    Regards
    Senthil

    Hi Tarun,
    Go to the layout and increase the size of the Screen. or at the screen attributes change the length and width values.
    You know that initially the screen occupies default size only.
    Hope this would serve your purpose.
    Cheerz
    Ram

  • Fast way to determine record index in large tables

    Hello,
    We're currently struggling with a bit of a problem. We have a table with about 150k records containing (amongst other things) the "score" of a user. Now we want to determine the index of said user sorted by the score (i.e. "this user is ranked 92471th").
    We need to do this quite often and simple solutions like counting the number of users with a higher score than said user is way too slow for our purpose. Are there any fast ways to do this? (preferably on SQL level, but some caching schemes that doesnt involve a big memory hit is acceptable too)

    If the score field is indexed (and is numeric) this shouldnn't take too long.
    If it is taking too long and since there won't be a better way I think your best idea is to script something that runs the queries once per x (day maybe) and caches that result in the table somewhere. So essentially the list is only updated once every so often.

  • Record not shown in table control

    Hi experts,
    I am working on the module pool program with a screen 0100. There is a table control called TABL_MATR in screen 0100.
    There is no error while compiling the program. But no record shown when a record added into the table control.
    I do not want to use the headerline in the program, because I intented to do it in OO way.
    Record shown if I do like this:
    DATA: ITAB_TRAY  TYPE STANDARD TABLE OF LS_TRAY WITH HEADER LINE.
    In PBO
    loop at itab_tray  " record show in the table control
    whereas record not shown if do like this:
    DATA: ITAB_TRAY  TYPE STANDARD TABLE OF LS_TRAY.
    In PBO
    loop at itab_tray into wa_tray  " no record show in the table control
    Can someone guide me how to do it in the right way?
    Please help.
    Thanks in advance.

    Hi all,
    I have added the below images.
    1) http://i566.photobucket.com/albums/ss106/wkw510/pic6.jpg
    2) http://i566.photobucket.com/albums/ss106/wkw510/pic7.jpg
    3) http://i566.photobucket.com/albums/ss106/wkw510/pic8.jpg
    I have also followed what Devendra's suggested, however the same error message I get:
    "ITAB_TRAY" is not a structure or internal table with header line.
    As such I have changed the statement
    module fill_table_control output.
      MOVE-CORRESPONDING wa_tray TO itab_tray.
    endmodule.
    to
    module fill_table_control output.
      APPEND wa_tray TO itab_tray.
    endmodule.
    After changed, compiled no error.
    But, when I started to use the program I got another error which closed the whole SAP screen.
    Therefore I tried to change the TABLE CONTROL setting to
    4) http://i566.photobucket.com/albums/ss106/wkw510/pic10.jpg
    Now, everything is okay but I only get the latest record shows in the TABLE CONTROL. The record I inserted display more than one time, and filled all the table control.
    5) http://i566.photobucket.com/albums/ss106/wkw510/pic11.jpg
    I am wondering should we include
    MOVE-CORRESPONDING wa_tray TO itab_tray.
    or
    APPEND wa_tray TO itab_tray.
    According from Devendra, the PBO should only has this code
      loop at itab_tray into wa_tray
        with control tabl_matr
        cursor tabl_matr-current_line.
    *    module fill_table_control.   "shoule we exclude this?
      endloop.
    If I exclude the above code, the table control only show one record, regardless how many records are inserted.
    Something is not right here, but just cant find it out.
    Please help.

  • Best Way to send data from InfoProvider to DBTable

    Hi all,
    I need some advices on this subject :
    I want to send some data, stocked in several InfoCubes, to a table.
    This cubes are linked by a multicube (for queries).
    I don't know the best way to send the data in a table :
    - Use Open hub on each cube to send data
    - Use ABAP code for extract data directly from MultiCube (possible?)
    - Use open hub on multiprovider (I think it's not possible to plug a open hub to the Multiprovider...)
    What is the best practice on that?
    Can you help me please?
    Thanks in advance,
    Adrien.

    Oh yes, my mistake.
    I didn't think abuot the APD solution.
    I think it should be a good one...
    With the ABAP, it seems very difficult indeed.
    I'm gonna check this way ! Thanks for your help Daniel !
    And except the licence cost, the Open hub should be a good solution??
    Edited by: Adrien Loire on Oct 1, 2010 10:34 AM

  • Error while  adding records in user defined table

    Dear all,
                    I am adding a record in user defined table using   .add() method. the code is given below. while adding it raises the following error
    "-1[Microsoft]  [SQL Native Client] [SQL Server] Conversion failed when converting the nvarchar value '-3 @BG_MAILSETTINGS'  to data type int. (CINF).  "
    All the fields are varchar date type.  
                Dim oUDT As SAPbobsCOM.UserTable
                oUDT = oCompany.UserTables.Item("BG_MAILSETTINGS")
                With oForm.DataSources.UserDataSources           
                        oUDT.Code = "1"
                        oUDT.Name = "SMTPSERVER"
                        oUDT.UserFields.Fields.Item("U_SERVER").Value = .Item("EDTSMTPSVR").ValueEx
                        oUDT.UserFields.Fields.Item("U_EMAIL").Value = .Item("EDTFEMAIL").ValueEx
                        oUDT.UserFields.Fields.Item("U_PORT").Value = .Item("EDTSMTPPRT").ValueEx
                        oUDT.UserFields.Fields.Item("U_USERNAME").Value = .Item("EDTSMTPUSR").ValueEx
                        oUDT.UserFields.Fields.Item("U_PASSWORD").Value = .Item("EDTSMTPPWD").ValueEx
                        oUDT.UserFields.Fields.Item("U_AUTHENT").Value = .Item("CMBSMTPAUT").ValueEx
                        K = oUDT.Add
                        If K <> 0 Then
                            oCompany.GetLastError(iErrCode, sErrMsg)
                            MsgBox(CStr(iErrCode) & "-" & sErrMsg, vbCritical, "Error")
                            Exit Sub
                        End If
                 End with
    Could any one please say the solution for this.
    Many thanks,
    Manikandan.
    Edited by: Rui Pereira on Dec 23, 2008 3:49 PM

    Dear Manikandan P,
    Is there any change and check in stored procedure SBO_SP_TransactionNotification?
    Best Regards
    Jane Jing
    SAP Business One Forums team
    Edited by: Rui Pereira on Dec 23, 2008 3:56 PM

  • How to create a batch by adding a record to any Z Table

    Hi Experts,
    I am doing online billing info system. I need to quey the NAST table for unprocessed entries. One of the  requirement is to create a  batch  What is meant by creating a batch by adding a record to a Z Table?
    If anyone is aware, please tell me how to do it.
    Thanks
    Dan

    I think this is a question you should ask the person that gave you the specs.
    Rob

  • Efficient Way of Inserting records into multiple tables

    Hello everyone,
    Im creating an employee application using struts framework. One of the functions of the application is to create new employees. This will involve using one web form. Upon submitting this form, a record will be inserted into two separate tables. Im using a JavaBean (Not given here) between the JSP page and the Java file (Which is partly given below). Now this Java file does work (i.e. it does insert a record into two seperate tables).
    My question is, is there a more efficient way of doing the insert into multiple tables (in terms of performance) rather than the way I've done it as shown below? Please note, I am using database pooling and MySQL db. I thought about Batch processing but was having problems writing the code for it below.
    Any help would be appreciated.
    Assad
    package com.erp.ems.db;
    import com.erp.ems.entity.Employee;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.Collection;
    import java.util.ArrayList;
    public class EmployeeDAO {
         private Connection con;
         public EmployeeDAO(Connection con) {
              this.con = con;
         // METHOD FOR CREATING (INSERTING) A NEW EMPLOYEE
         public void create(Employee employee) throws CreateException {
              PreparedStatement psemployee = null;
              PreparedStatement psscheduleresource = null;
              String sqlemployee = "INSERT INTO employee (FIRSTNAME,SURNAME,GENDER) VALUES (?,?,?)";
              String sqlscheduleresource = "INSERT INTO scheduleresource (ITBCRATE,SKILLS) VALUES (?,?)";
              try {
                   if (con.isClosed()) {
                        throw new IllegalStateException("error.unexpected");
                            // Insert into employee table
                   psemployee = con.prepareStatement(sqlemployee);
                   psemployee.setString(1,employee.getFirstName());
                   psemployee.setString(2,employee.getSurname());
                   psemployee.setString(3,employee.getGender());
                            // Insert into scheduleresource table
                   psscheduleresource = con.prepareStatement(sqlscheduleresource);
                   psscheduleresource.setDouble(1,employee.getItbcRate());
                   psscheduleresource.setString(2,employee.getSkills());
                   if (psemployee.executeUpdate() != 1 && psscheduleresource.executeUpdate() != 1) {
                        throw new CreateException("error.create.employee");
              } catch (SQLException e) {
                   e.printStackTrace();
                   throw new RuntimeException("error.unexpected");
              } finally {
                   try {
                        if (psemployee != null && psscheduleresource != null)
                             psemployee.close();
                             psscheduleresource.close();
                   } catch (SQLException e) {
                        e.printStackTrace();
                        throw new RuntimeException("error.unexpected");
         }

    Hi ,
    U can use
    set Auto Commit function here ..
    let it be false first
    and when u do with u r all queries ..
    make it true
    this function take boolean values
    i e helful when u want record to be inserted in all or not at all..
    Hope it helps

  • Best ways to view data, total records of an application table ie VBAK

    Hi all,
    What is the best way to view data of an application table in the source system?
    I know about SE16....but are there other ways to know details ie the total no of records and different field information about a
    application table ie VBAK in source R3?
    Also, using SE16 when i checked for VBAK and clicked on the "number of enteries" then it showed 0...however
    when i directly checked from the sqlplus then i found about 5000 records in there in VBAK. I am not sure why
    via SE16 it showed 0. Does anybody have any idea what i missed here?
    Thanks...will give points for ur input.
    ak

    I tried "number of enteried" on se16 and it shows 0 enteries without any selection criterion...i cheked by putting relevant time range as well but it shows 0...
    As i told that when i checked VBAK separately via logging to database directly then i did find 5678 rows there.
    Please note that this is a new demo version....so i thought that i first need to activate the table which i did using tcode SE11. Now the VBAK table is active but still via SE16 shows 0 nuber of enteris....
    Can anybody please advise here..
    Thx
    ak

  • Table associated with ODS that gives number of records added

    Hi Friends,
    I am looking for a db table that has information similar to that in the 'Request' tab of ODS Manage. Most importantly I am looking for the number of records added for a given request.
    Thank you for your inputs
    Deepthi

    Hi Deepthi,
    Refer the RSMONFACT table with the ODS's technical name. The field REQ_INSERT_SUM would give the no. of records added. The field IC_ID would take both cube and ODS name.
    Bye
    Dinesh

  • Is there a way to send a pdf form with a place for a picture. The picture could be added from the photo gallery or tablet camera?

    Is there a way to send a form to a field force that allows a picture to be added. The field person could add the picture from the tablet's photo gallery or take a photo with the camera?

    We have encountered the same problem at our company, and the following thread help us to resolve our problem:
    Thanks to KevinCur.
    Error while saving a .PDF File to a mapped drive
    "It has to do with Protected Mode being turned on.  I don't know if it was off by default & now it is on with the update but turning it off changes Adobe Reader's behavior back to what the users expect - a prompt warning you if you want to overwrite the existing file & then selecting Yes to overwrite.
    To disable Protected Mode:
    Start Adobe Reader
    Edit - Preferences - Security (Enhanced)
    Uncheck Enable Protected Mode at Startup
    Close Preferences & Close Reader"
    We unchecked the "Enable Protected Mode at startup" box --> Yes --> OK.  Our users are happy now.  ^_^

  • Error adding new records in an user table

    Hi
    I'm trying to add a new record in an user table, and after calling the add method I get the next error message:
    "Generating this document requieres numbering to be determined for the document".
    I've defined my user table as Master Data, and the source code is as follows:
    dim m_UserTable as SAPbobsCOM.UserTable
    m_UserTable = SboCompany.UserTables.Item(UserTable)
    m_usertable.Code = NewValue
    m_usertable.UserFields.Fields.Item("U_FIELD1").Value = NewValue
    if m_userTable.add() <> 0 then
      SboCompany.GetLastError(lngError, strerror)
      SboApplication.MessageBox(strerror)
    end if
    Thanks and Best Regards
    Dani

    Hi Dani,
    when you create a user Table as "Master Data", this table becomes a part of a UDO (User Data Object) that you have to create too.
    In the version 2004A, you don't have the possibility to enter information in these kind of table using the DI. You can only do it thru the application.
    You can look at a post called "Access to UDO via DI" posted 16th December 2004
    Sebastien

  • Best way to Insert Records into a DB

    hi
    i have around 400000(4 lakh ) records to insert into a db , whats the optimal way to do it ,
    i tried it doin g using threads i could gain only 2 seconds for 4 lakh records ,suggest me a better way

    Very hard thread, poor informations u give us can not help me too much to understand really the problem.
    Where do u have to 40.000K (input) records?
    Those records must be only added to output table?
    How many rows, and how many indexes output table has?
    The cost oh each insert depends also on how many indexes dbms has
    to manage on oupy table.
    In general to take about 2 seconds to add to a table a large amount of rows depends on many variables (hardware performances, dbms performances and so on)
    If u ahve only to insert and your input secord statys on another table,
    I think that a performance way to do it is insert select, so
    insert into output select * from input
    If your input records statys on a text file, the best way is to use
    native dbms importer
    Let me know something more....
    Regards

  • Calculating a record length of a table

    Hi All,
    In SAP 4.6C Oracle 9g I need to find a record length of a table.For that I am using :
    Table name is ABC.
    Tablespace in KBytes of ABC    X
    Total no records in ABC  Y
    Single record length in Kbytes (Z) =  Tablespace (X) / Total no of records(Y)
    I would like to know weather is this the correct way to calculate in approximation.I would also like to know any other methods of knowing it.
    Any inputs are appreciated.
    Thanks,
    Priya.

    Hello,
    >> I know that after major deletion frm db its necessary to do reorganization to enhance the db utilization.
    Not mandatory ... it depends on many factors...
    >> Pls help me to understand your statement that freed space isnt used by next entries.
    It maybe not used for the next inserts... that depends on your tablespace (if it uses the ASMM feature) and essentially on the following parameters
    - PCTUSED
    - PCTFREE
    Oracle Link: http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/logical.htm
    => The PCTFREE parameter sets the minimum percentage of a data block to be reserved as free space for possible updates to rows that already exist in that block
    => The PCTUSED parameter sets the minimum percentage of a block that can be used for row data plus overhead before new rows are added to the block. After a data block is filled to the limit determined by PCTFREE, Oracle Database considers the block unavailable for the insertion of new rows until the percentage of that block falls beneath the parameter PCTUSED. Until this value is achieved, Oracle Database uses the free space of the data block only for updates to rows already contained in the data block.
    Both parameters are used in a NON-ASSM tablespace and with an ASSM tablespace only PCTFREE is used.
    Regards
    Stefan

  • Appending a record in an internal table while debugging

    Hi gurus,
              i am trying to add one record in a internal table at run time in debugging mode. i am adding the same record which is already exist in that internal table to test for some scenarios.after adding adn once if i click save, all the data i have entered is going and only the document number staying there. cant we add a record in debugging. if so where did i do mistake. thanks in advance,
                        santosh.

    hi
    yes u can add records in internal table in debugging mode.
    switch to the classical debugger . double click on the internal table and press append button.
    then add the first field value and then press enter ...then double click on the parallel line  below the next field which will take u to input the next field enter value and press on the pencil. u need not press save.
    to append next line press append button again and append in similar way.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 21, 2008 5:37 PM

Maybe you are looking for