Some fields of SD Tables

Hi friends,
Can anybody help in specifying me in which SD table I will get the fields Sales Document Number, Planned Delivery Date & Actual Delivery Date.
Thanx in advance
Nishant

Hi Nishu,
Your question is a bit vague... Sales Document number can be anything from sales order number (table VBAK), delivery number (table LIKP) to billing number (table VBRK).
Planned delivery date is field FKDAT in table LIKP.
Regards,
John.

Similar Messages

  • How can i transfer some fields from one table to another using a trigger

    hi,
    i have two tables;sales and accounts.i want in my accounts form to enter salesid which is then validated and if it exists in the sales table, some fields are copied to the accounts table automatically.how do i go about this.thanx

    hi,
    the code u gave me is not running.let me explain in
    detail.i have two tables;sales and accounts in my
    database (oracle 9i).each have a corresponding form
    in the developer window.these tables are linked using
    saleid.this id is entered and saved in the
    database.when the person is paying in the cash
    office,the saleid on an invoice form is entered on
    the accounts form.it is supposed to search the sales
    table and if the ids match,some records are extracted
    from the sales table to the accounts form instead of
    the accounts clerk entering the details all over
    again.these details will be used to generate a
    receipt an then the record on the accounts form is
    saved to the database.the contents of the two tables
    are:
    sales(saleid(pk),startno,endno,quantity,amount,saledat
    e)
    accounts(receiptno(pk),saleid,startno,endno,quantity,a
    mount).
    please advice and thanks very muchWhat does it mean "not running" ?
    Sure, it is running.
    Did you tested my example ?
    And it does exactly what you need.
    You didn't provided table structures and insert statements,
    that's why i showed you the method on 2 emp- tables.
    But it is exactly, what do you need.
    Change my emp_1 on your sales,
    and my emp_2 on your accounts,
    and compare the results.
    If you cannot directly copy and paste
    and say to your teacher / chief "My homework / task is ready"
    it doesn't mean, that the solution didn't provided ...

  • How  to set some fields of a table, not fields form ..

    Hi,
    I have a form based on a table with a few fields and others fields on the same table whose don't appear in the form.
    I want to set the others fields of this table and i use the following code (ex) :
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => '_REMARQUSER',
    p_value => PORTAL.WWCTX_API.GET_USER );
    I had put this code in the advanced plsql section but it DOES NOT WORK.
    after form :
    Erreur interne (WWC-00006)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    (WWV-00000)
    ORA-01007: la variable n'est pas dans la liste SELECT (WWV-11230)
    Le chemin de la préférence n'existe pas : ORACLE.WEBVIEW.PARAMETERS.3137_LRCWEB_REMARQUES_571188203 (WWC-51000)
    before processing :
    Erreur interne (WWC-00006)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    (WWV-00000)
    after processing :
    Erreur interne (WWC-00006)
    Une erreur inattendue s'est produite : ORA-06502: PL/SQL : erreur numérique ou erreur sur une valeur (WWV-16016)
    (WWV-00000)
    I would appreciate any help on the problem.
    Thanks, Pat

    Did you try modifying the package body?
    I tried this code in my package body and it worked fine

  • How to add some field in an table result layout

    Hai All,
    I have an reporting issue in CRM ( without SAP BW), for example i would like to show a field which not found in column set layout ( SAP standard default).
    I already use change layout from SAP standart, but the field which i need is not there (column set) and the information which i would like to show is very important for us. Please let me know if you have an idea.
    Regards,
    Rhesa

    Hi Please refer notes 373859 and see if this helps.
    regards,
    Muralidhar Prasad chatna

  • Some fields in table FAGLPOSX is specified twice.

    hi all,
    i have a problem
      Field AWSYS in table FAGLPOSX is specified twice. Please check
      Field AWTYP in table FAGLPOSX is specified twice. Please check
    some fields...
    how to delete those repeated fields in that structure..
    Regards,
    subhash

    Hi,
    I hope is the upgrade mistake while doing the SPDD.
    we got the same with repeating fields so , that it was index issue.
    Thanks,
    Santhosh  Kumar

  • How to Alter any table to make some fields Composite Primary Key

    I need to Alter Table to make some fields Composite Primary Key.
    Is it possible to do this ?
    Please give any example.
    Regards,
    AgrawalV

    Agrawal
    If you are looking for an example to create a composite primary key, here you are.
    sql> Alter Table myTable add constraint pk_myTable primary key(col1, col2, ...coln) ;
    where
    pk_myTable is the name of the primary key constraint,
    myTable is the name of the table that you want to create a constraint on and
    col1...coln are the column names in the table <myTable)

  • A field of the table in sql server db can't be updated with the db adapter

    Hi all,
    I am using db adapter to update data in bpel. The database is sql server.
    But on the running time, i find a field which named 'JDBCT1' can't be updated. all the other fields of this table can be updated properly.
    For the operation type, i have tried the update only and execute pure sql. None of them works.
    The version of SOA is 11.1.1.6.
    Can any one give some solutions?
    It's urgent, thank you!

    Hi,
    Pls check the data type in your mapping file and data type in table. It might be mismatched.
    thanks

  • Transformation : some fields are not visble in Source DSO

    Hi
    i have done mapping in transformation by connecting one Write Optimized DSO with a Standard DSo.
    Both DSO have same fields. But i am seeing some of the fields are not visible in Write optimized DSO in Transformation
    so those fields can not be mapped with corresponding Standard DSO fields.
    let me know how those fields can be make visible in Transformation.
    Regards
    Atul

    Hi ,
    "Attribute Only" will not be visible , only method to to do this maybe something like below .
    1) Look at the keys of the standard DSO , pick up the same combination and the attribute only fields from the source in the start routine of the TFM .
    2) in the field level routine of the TFM (for the atrribute only fields ) , read the tables with keys and populate .
    --Neha

  • Field NAme and Table Name

    Hi All,
    I got some output values from the legacy system with me but need to know whats the actual field name and table name to which i need to transfer these values. How can i do it, since which theres is not field name or despcription given for the data.
    Is there any way i can do it.
    Points will be rewarded for all useful answers.
    Regards
    AB

    if you know the transaction code you use to post the uploaded data in SAP, you just need to do BDC recording in using transation SM35. Record the whole process and create a program from the recording... and you wont even need to know the tables and field names-- almost everything will be done for you....
    All you need to do is replace record data with upload data.
    You can also try to look for a standard Function Module / BAPI which can do the processing for you and provide it with a table containing the upload data ...
    Reward points if useful

  • Fields in MCHB table for cycle counting

    Hi Experts,
    There is a requirement in my program that if the values of the follwoing stocks are there in MCHB table then change the date of creation when cycle counting is performed at the end of the year:
    Blocked
    In qual. insp.
    Restricted-use
    Returns
    Stock in tfr
    Unrestricted
    Can anyone tell me that which field are there in MCHB table coressponding stock  types.I can see some fields starting with CV* and some with KZ* for BLocked, restricted..etc

    Blocked  - CSPEM
    In qual. insp. - CINSM
    Restricted-use - CEINM
    Returns - CRETM
    Stock in tfr - CUMLM
    Unrestricted  - CLABS
    These are the fields

  • How to deactivate the fields in a table control of a standard screen

    Hi,
       I have an requirement to deactivate the fields in a table control of a standard screen in ME22n transaction.I am using a BADI "ME_PROCESS_PO" and in item mathod i am looping at screen for the screen field name in the table control.But it is not working. Can anyone give me the possible solution . Thanx in advance.
    With Regards,
    Ajit.

    >
    Vivek Joshi wrote:
    > Hello Router ,
    >                      I do not want to set the focus , I want to get focus . User can click on any cell in the table and then press a button in the toolbar . Now in the event handler of the button i want to under which column User has set the focus .
    > I hope , I am clear now .
    > Thanks for your help
    > Regards
    > Vivek
    An yet you keep getting suggestions of how to set the focus.   I looked through the API documentation and I don't see anything that would suggest you can request to see where the current focus is.  Perhaps someone might still come along with a solution, but my hopes wouldn't be too high at this point.  I can pass the requirement onto Product Definition, as the use case does seem interesting.  Perhaps it is something we have even considered in the past. 
    But for now, there might be a better way to solve your problem.  It will probably mean redesign the interaction.  What exactly are your requirements?  Do you need to be able to get the data in a particular cell of table when a button is clicked?  Just throwing out some ideas here, but maybe just use the lead selection to select the row, but then have a button choice to choose the action associated with the column you want. A hack for sure - but it might work.  Also it doesn't help you right now, but in the near future update to NetWeaver 7.0, WDA does have a onColSelect event for the table.

  • Changing the length of a key field in a table

    Hi,
    I want to increase the length of the field from 2 to 4 in a standard SAP table and deliver it to the customers. This field is a key field in table. This field from this table is also used in view and view clusters.
    What is the implication of changing the length to the customers. The customers would have already data in this field and they should not loose any data. Will the existing data for customers remain at length 2 or do they have to do some conversion?
    Regards,
    Srini.
    Edited by: Srinivasa Raghavachar on Feb 7, 2008 12:45 PM

    hi,
    The database table can be adjusted to the changed definition in the ABAP Dictionary in three different
    ways:
    By deleting the database table and creating it again. The table on the database is deleted, the inactive
    table is activated in the ABAP Dictionary, and the table is created again on the database. Data
    existing in the table is lost.
    By changing the database catalog (ALTER TABLE). The definition of the table on the database is
    simply changed. Existing data is retained. However, indexes on the table might have to be built again.
    By converting the table. This is the most time-consuming way to adjust a structure.
    If the table does not contain any data, it is deleted in the database and created again with its new
    structure. If data exists in the table, there is an attempt to adjust the structure with ALTER TABLE. If the
    database system used is not able to do so, the structure is adjusted by converting the table.
    Field 1     Field 2,    Field 3
    NUMC,6  CHAR 8    CHAR, 60
    Field 1    Field 2       Field 3
    NUMC,6 CHAR, 8     CHAR,30
    The following example shows the steps necessary during conversion.
    Starting situation: Table TAB was changed in the ABAP Dictionary. The length of field 3 was reduced
    from 60 to 30 places.
    The ABAP Dictionary therefore has an active (field 3 has a length of 60 places) and an inactive (field 3
    still has 30 places) version of the table.
    The active version of the table was created in the database, which means that field 3 currently has 60
    places in the database. A secondary index with the ID A11, which was also created in the database, is
    defined for the table in the ABAP Dictionary.
    The table already contains data.
    Step 1: The table is locked against further structure changes. If the conversion terminates due to an
    error, the table remains locked. This lock mechanism prevents further structure changes from being
    made before the conversion has been completed correctly. Data could be lost in such a case.
    Step 2: The table in the database is renamed. All the indexes on the table are deleted. The name of the
    new (temporary) table is defined by the prefix QCM and the table name. The name of the temporary
    Step 3: The inactive version of the table is activated in the ABAP Dictionary. The table is created on the
    database with its new structure and with the primary index. The structure of the database table is the
    same as the structure in the ABAP Dictinary after this step. The database table, however, does not
    contain any data.
    The system also tries to set a database lock for the table being converted. If the lock is set, application
    programs cannot write to the table during the conversion.
    The conversion is continued, however, even if the database lock cannot be set. In such a case
    application programs can write to the table. Since in such a case not all of the data might have been
    loaded back into the table, the table data might be inconsistent.
    You should therefore always make sure that no applications access the table being converted
    during the conversion process.
    Step 4: The data is loaded back from the temporary table (QCM table) to the new table (with MOVECORRESPONDING).
    The data exists in the database table and in the temporary table after this step.
    When you reduce the size of fields, for example, the extra places are truncated when you reload the
    data.
    Since the data exists in both the original table and temporary table during the conversion, the storage
    requirements increase during the process. You should therefore verify that sufficient space is available in
    the corresponding tablespace before converting large tables.
    There is a database commit after 16 MB when you copy the data from the QCM table to the original
    table. A conversion process therefore needs 16 MB resources in the rollback segment. The existing
    database lock is released with the Commit and then requested again before the next data area to be
    converted is edited.
    When you reduce the size of keys, only one record can be reloaded if there are several records whose
    key cannot be distinguished. It is not possible to say which record this will be. In such a case you should
    clean up the data of the table before converting.
    Step 5: The secondary indexes defined in the ABAP Dictionary for the table are created again.
    Step 6: The temporary table (QCM table) is deleted.
    Step 7: The lock set at the beginning of the conversion is deleted.
    If the conversion terminates, the table remains locked and a restart log is written.
    Caution: The data of a table is not consistent during conversion. Programs therefore should not access
    the table during conversion. Otherwise a program could for example use incorrect data when reading the
    table since not all the records were copied back from the temporary table. Conversions therefore
    should not run during production! You must at least deactivate all the applications that use tables to
    be converted.
    You must clean up terminated conversions. Programs that access the table might otherwise run
    incorrectly. In this case you must find out why the conversion terminated (for example overflow of the
    corresponding tablespace) and correct it. Then continue the terminated conversion.
    Since the data exists in both the original table and temporary table during conversion, the storage
    requirements increase during conversion. If the tablespace overflows when you reload the data from the
    temporary table, the conversion will terminate. In this case you must extend the tablespace and start the
    conversion in the database utility again.
    If you shorten the key of a table (for example when you remove or shorten the field length of key fields),
    you cannot distinguish between the new keys of existing records of the table. When you reload the data
    from the temporary table, only one of these records can be loaded back into the table. It is not possible
    to say which record this will be. If you want to copy certain records, you have to clean up the table
    before the conversion.
    During a conversion, the data is copied back to the database table from the temporary table with the
    ABAP statement MOVE-CORRESPONDING. Therefore only those type changes that can be executed
    with MOVE-CORRESPONDING are allowed. All other type changes cause the conversion to be
    terminated when the data is loaded back into the original table. In this case you have to recreate the old
    state prior to conversion. Using database tools, you have to delete the table, rename the QCM table to
    its old name, reconstruct the runtime object (in the database utility), set the table structure in the
    Dictionary back to its old state and then activate the table.
    If a conversion terminates, the lock entry for the table set in the first step is retained. The table can no
    longer be edited with the maintenance tools of the ABAP Dictionary (Transaction SE11).
    A terminated conversion can be analyzed with the database utility (Transaction SE14) and then
    resumed. The database utility provides an analysis tool with which you can find the cause of the error
    and the current state of all the tables involved in the conversion.
    You can usually find the precise reason for termination in the object log. If the object log does not
    provide any information about the cause of the error, you have to analyze the syslog or the short dumps.
    If there is a terminated conversion, two options are displayed as pushbuttons in the database utility:
    After correcting the error, you can resume the conversion where it terminated with the Continue
    adjustment option.
    There is also the Unlock table option. This option only deletes the existing lock entry for the table .
    You should never choose Unlock table for a terminated conversion if the data only exists in the
    temporary table, i.e. if the conversion terminated in steps 3 or 4. table for table TAB is therefore QCMTAB.
    Hope this is helpful,Do reward.

  • Addition of fields in a table/view

    Hi,
    We have a scenario where in there is a mismatch of the fields in development and production server.
    some  fields were added in production server which were not affected in development.
    we checked for the person who has changed that in production but in attributes we saw in  LAST CHANGED BY field as SAP.
    Kindly let me know the possibilities  of adding fields in table.
    With regards,
    kiran kumar

    Ok all the three tables ETP_TASKS, QISRSCENARIOXMPO ,BWOMA_USER are delivered in our system ( R/3 Enterprse ) in two requests by SAP -
    SAPKIND77G           Fulltask PI 2002_1_470                                       SAP          11/10/2003 Delivery Transport
    SAPKIND87A           R/3 Plug-In 2002.2 for R/3 Enterprise                        PIUSER       05/14/2004 Delivery Transport
    SO it seems your basis may have applied some plugin to production on 26/05/2005 ( as is clear from your  earlier message ) and this plugin is not applied on DEV system . Check with your basis .
    You can also check the transport number and see if there are other objects as well in those transports. Those objects may also not be in sync with your DEV system .
    DO you have a TST system . Try comparing the versions with TST system.

  • How to read the field value from Table Control

    Hello Experts,
    I am creating my first Table Control Screen. Basically I have to create a screen (102) with a table control which has 2 fields: A_QTY, B_QTY and 2 Buttons: SAVE, EXIT.
    When Clicked on 'SAVE' the data (MATNR) from a previous screen (101)  and the data (A_QTY, B_QTY) from the new screen (102) should be saved into a Z-table.
    Internal table t_data has 3 fields.
    MATNR
    A_QTY
    B_QTY.
    Table Control TC_RACK was declared like this:
    controls tc_rack type tableview using screen 0102.
    I/0 Fields:
    A_QTY type ZQTY.
    B_QTY type ZQTY.
    The screen Flow Logic:
    process before output.
    module status_0102.
      loop at t_data into w_data with control tc_rack.
      endloop.
    process after input.
      module exit_0102 at exit-command.
      loop at tc_rack.
      endloop.
    module user_command_0102.
    module status_0102output.
      set pf-status 'STATUS_102'.
      set titlebar 'TITLE_102'.
      describe table t_rack lines tc_rack-lines.
    endmodule.                 "status_0102 output
    process after input.
    module user_command_0615 input.
    case ok_code.
       when 'SAVE_RK'.
       when others.
    endcase.
    endmodule.                 "user_command_0102 input
    Now for eg, when the users enter values for A_QTY and B_QTY like this:
    A_QTY     B_QTY
    1000         2000
    3000         4000
    How can I read these values and pass them to T_DATA so that I can save it into Z-table?
    I greatly appreciate your help.
    I've gone through some previously posted threads and could not understand because my knowledge in this area is preliminary.
    Thanks a lot.
    Could you please let me know
    Edited by: dev a on Jan 13, 2010 2:46 PM

    Hi dev a
    You should use
      DATA: lv_name(30) TYPE c.
      FIELD-SYMBOLS: <QTY> type ZQTY.
    GET CURSOR FIELD lv_name.   "Get the field name in table control
    check sy-subrc = 0.
    assign  (lv_name) to <QTY>.  "Here you get the value in <QTY>
    check sy-subrc = 0.
    Also use <your table control>-current_line to get the table index uo're currently on.
    Hint: Do not use GET CURSOR LINE if you want to get table index since this gives you the line relative to dialog screen
    Good luck
    Dean Q.
    Edited by: Dean Q on Jan 13, 2010 11:11 PM

  • Dialog progg....(matching Field values from Table)

    Dear All,
                     I have one screen 0100.
    At any stage, a field value entered in the screen field by user, should be matched from say EKBE table value with tolerance of  10-15%.
    If it doesn't matches, Error message should display in  a dialog box.
    Any suggestions, pls.
    Thanks in Advance

    Hi,
    In PAI we can do this validation.
    example :
    In screen flow logic add CHAIN ..... ENDCHAIN and a module to validate the field
    PROCESS AFTER INPUT.
      CHAIN.
        FIELD g_banfn.
        FIELD g_bnfpo MODULE validate_g_banfpo.
      ENDCHAIN.
    And in Module validate according to your codition.
    MODULE validate_g_banfpo INPUT.
    * Validation.
    Select ....
    from ekbe
    where some field = entered field on screen (e.g p_number)
      IF sy-subrc <> 0.
    * if entered value is not present in table give an error message.
        MESSAGE e133.
      ENDIF.
    ENDMODULE.                 " VALIDATE_G_BANFPO  INPUT
    thanks.
    Edited by: Dhanashri Pawar on Dec 2, 2008 12:48 PM

Maybe you are looking for

  • Service Tax payable on road transportation at Goods receipt lavel

    Hi Experts, Scenario-- Materials receipt from vendors through road transportation thus service tax is applicable and we have to accrue liability and pay to the authorities on behalf of transportor, the cost of transportation has to be booked in separ

  • PC to MAC and back on my Ipod, now my PC is not recognizing my Ipod anymore

    I hope someone can help me. I never gave it much thought when I wanted to play my Ipod on my MAC at work, I have a PC at home that houses my Itunes library. Al went well when I first hooked up my Ipod. The I renamed my Ipod and it was all down hill f

  • Data Mismatch in SXMB_MONI & ABAP Program.

    Hi All, I've a RFC to JDBC scenario. When I'm executing the program in the R3 server it showing me the correct value of a field retrieved from a FM but when I'm checking the entries for the same program in MONI, I'm finding that the data is wrong i.e

  • Waiting time for Apple Care...

    Hello! I'm an italian guy with the "usuals" MBP problems... the Moo Sound it isn't for me a big problem, the whine disturb me a lot.... but, I hate the space bar that doesn't works... VeryoftenIwritelikethisline... So I think to call Apple to send MB

  • Windows 7 auf MacBook Pro 13 Unibody OHNE SOUND!

    Tag, ich habe gerade per BootCamp Windows7 auf meinem MBP13 Unibody installiert. Klappt auch alles ganz fein, bis auf den Sound... Der is nämlich garnet da... Aus dem Soundanschluss leuchtet es rot (unter OS X läuft der Sound...). Ich habe die Treibe