In Table Maintaince G/L Text should come by default with G/L Acc.--Ple

Hi Guruu2019s
                   I created Ztable with 3 fields G/L Acc, G/L Acc text and another Zfield.
I created a TABLE MAINTAINCE for this. Here we need, after entering the G/L A/C in table maintaince-- G/L Text should come by default. Please suggest a way do these.

Hi,
You need to write the code in the EVENTS. these are avilable in the table maintanence. you can use event 05(create), here give the Perform name and click on the code button there you can write the logic to bring the short text and move that text to your Ztable field.
look at the link to create the events --> /people/sudheer.junnuthula2/blog/2007/07/31/events-in-table-maintenance-generator
Thanks
Sudheer

Similar Messages

  • Entries Should come by default in XD01

    Hi Gurus...
    Can we do the setting like when we will create the Customer in XD01 some entries should come by default for the Fields in XD01 like Reconcillation A/c # 6458321, Payment term field- Check, Sort Key # 006 & Cash management Group # Z9.
    Please give me the solution....
    Thanks in Advance
    I will really Appreciate....
    Thanks
    Amol Gawai

    Thanks Sai....
    This requirement is for only specific sales area & for other sales area there is no default entries.
    The situation is we have more than one company codes & sales org. , Distrubtion channel & Division
    I want the default entries only for one Sales Area.and for other Areas & Company codes it should be normal means no default Entries.
    Will it be possible with this Tcode-SHDO ?
    Again Thanks
    For Correct Solution , I Will definately rewards the points
    Thanks
    Amol Gawai

  • Doesn't gcc come by default with Solaris 10?

    I am newly exposed to Solaris 10 in connection to my office assignment. To my utter surprise, I couldn't find any gcc installed. Presently I have got around the situation by installing a pre-compiled binary from [http://sunfreeware.com] The system I am working on is disconnected from Internet due to security reason. Is there any workaround to install the official version from Solaris repository?
    Edited by: 974622 on Dec 3, 2012 7:56 PM

    Yes, it comes by default, ur env variable might have not set.
    look around.

  • Housebank field should come as default in invoice by substitution

    Dear Gurus,
    I want to make the house bank field to be defaulted at Invoice. I am trying with substitution.  But I am not able to get the housebank field as the substitutable field.
    Anybody can help me out in this issue. I am able to get the account ID as substitutable field where I select the call point as 2 (Line item). But I am not able to get the house bank field.
    Thanks in advance.
    Regards,
    venkata Reddy.Mudda

    Hey Yoav,
    I thought that was not your question
    Anyway, how things are going in Edge?
    Regards,
    Eli

  • Please advice -PS /PP Module comes by default with ECC6 or addon  ?

    Hi Gurus,
    Could you please let me know whether PS /PP modules comes along with ECC6 or seperate addon installation to ECC6.Like EHP
    Where can i find the technical documentation.
    Thanks in advance....
    Moderator message: not directly related to ABAP development, please search for available information/documentation.
    Edited by: Thomas Zloch on Oct 7, 2011 10:58 AM

    Hi,
    By defaults all modules will be there.You need to configure that in system according to your business requirement .There is no need of any special installation for ps.
    Regards,
    Madhu.

  • Oracle 12c, what comes as default with Enterprise License

    Hi All
    I would like to know if One CDB and One PDB (Plugable Database) architecture is covered under default license for Enterprise Edition OR do we need a separate License if we want to use this feature?
    Thanks

    I would like to know if One CDB and One PDB (Plugable Database) architecture is covered under default license for Enterprise Edition OR do we need a separate License if we want to use this feature?
    As already stated only Oracle can give an up-to-date, definitive answer.
    This Oracle web-site/article says YES
    https://blogs.oracle.com/Multitenant/entry/single_tenant_configuration
    So, in summary, with Oracle Database 12c you have three choices:
    Non-CDB (the old architecture).
    Multitenant architecture in single tenant configuration (one PDB per CDB). No license required.
    Multitenant architecture with multiple PDBs per CDB. Requires licensed option but of course you can manage many as one and get all the other benefits.
    See item #2 above?

  • Updated record should come in txt file

    Hi Friends,
    My requirements like this way, any changes make in mara, mard, mbew, makt, vbak, vbap, vbrk and abrp table. that newly created data should come in .txt file of application server.
    I have already developed a program for that. it is downloading data in every 3 hours slots. it is running in background. whatever changes made during these hours it will download.
    now, my requirement has been changed, instance data should come in .txt file of app server. e.g. when newly created record save in database table, same time that record should come in .txt file with proper format.
    is it possible? please let me know.
    Thanks in advance,
    Parag

    Hi Parag,
    To obtain changes you know you can get the details from the tables CDHDR and CDPOS.
    Also you have questions about performance and so. SO here are some details.
    - When you flag a data element for change document (is checked) it is ONLY a marker that allows for registration of this field's changes into CDHDR and CDPOS. The actual control is done on datafile level in its technical settings (Transaction SE11 with datafile name and then push button "Technical Settings" or CtrlShiftF9). Herein you will find a flag "Log data changes".
    Within the CDHDR file and CDPOS file a field OBJECTCLAS is used. Only for existing OBJECTCLAS values the changes are logged.
    - Now obvious this is the trick for standard SAP (as Subramanian has already pointed out you can find "OBJECTCLAS" values with transaction SCDO). If you want to know on how to create your own "OBJECTCLAS" values with working logging on your own designed fields follow Subramanian suggestion and read the documentation.
    Now to your questions:
    You gave some tables you need to track changes (and now also for initial creation) like MARA, MARD, MAKT and others.
    To get changes for these tables use the following "OBJECTCLAS" values:
    - MATERIAL (Tables MARA, MARC, MARD, MBEW, MFHM, MLGN, MLGT, MPGD, MPOP and MVKE). By-the-way, this object will be replaced by MATERIAL_N  (available from release 4.6x).
    - VERKBELEG (Tables VBAK, VBAP, VBEP, VBKD, VBLB, VBPA, VBPA2 and VBUK).
    To collect changes (suggested by Andreas) you could use function module CHANGEDOCUMENT_READ. This is very usefull if also archiving is active for the objects you need to track changes for and your changes are scattered through time, but for your problem it is better to approach the log data directly.
    1. First select the main change documents from CDHDR table for a given "OBJECTCLAS" and "OBJECTID". Here you can use additional filtering on DATE (field UDATE) and TIME (field (UTIME). Even filtering on a specific transaction is possible (field TCODE).
    This gives you a number of change documents (field CHANGENR).
    2a. Secondly select the specific field changes from table CDPOS by using the found fields from CDHDR and additionally fill TABNAME with the specific table and if required FNAME with the specific field name. 2b. Since in your case the values will not be known, you need to track changes, you have to be very carefull in your selections. If you track the object MATERIAL or MATERIAL_N, you best loop over the MARA table and for each MATNR fill the OBJECTID field of CDHDR with this MATNR value.
    3. In order to find NEWLY created items you need to check the CHANGE_IND flag. When 'I' it is an new insert, when 'U' it is an update. Now this rule applies ONLY to key fields, since SAP first creates the key record (CHANGE_IND = 'I') and then the other fields (CHANGE_IND = 'U').
    Finally the warning given by Andreas (runtime increases - you MUST select with OBJECTCLAS and OBJECTID) is very important. Not supplying OBJECTID will have a very heavy impact on the runtime.
    Hope this gives you some clues on how to approach your problem.
    Regards,
    Rob.

  • After ain window the PO Text hould come

    Hi all.
    I am doing one smart form for Purchase Order.In first page after the maindow only one line item PO text should
    come then some constant texts should come and the main window is flowing to next page.Now where ever the main window ends there total should be displayed .after the main window ends the remaining line item PO Texts should come.is there any necessity to take 2 main windows for my requirement.
    plz suggest me.

    hi,
    It is not necessary to use 2 main window (you can only make 1)
    In your main window you can first loop about the items and print what must be printed followed by the totals.
    After that (in same MAIN) you do another loop over the items and print what should be printed like the rest of the PO text.
    Gr., Frank

  • Billing type should pickup by default while doing the Stock transfer invoic

    Dear Guru's,
    For stock transfer Process when I am creating billing with reference to delivery Billing type ZF2 do not come by default. where I need to do the setting for this.
    System through the error saying that: 100000245 000000 Delivery type ZNL cannot be invoiced with billing type F2 if i have select the invoice type ZF@ manually it is coming. i want the ZF2 invoice type should come by default.
    Regards,
    Pratap

    In your delivery type config ZNL, check which Order type is mentioned in the field 'Default Order type'. If you copied from standard, it should be DL.
    But whatever order type it is, then goto VOV8 for that order type and make the Delivery related Billing type and Intercompany Billing type as ZF2. Then it will come as default.
    Hope this helps

  • ELINKS should be shipped default instead plain LINKS.

    Hi, a little suggestion to devs:
    being a Arch newcomer as I am I found elinks an invaluable help for installing and configuring Arch following the Beginner's Guide until the full graphic environment was set. Arch ships default Links which well... em... it have a lot of history and is eLinks parent, sure, but it's rather unusable in today's modern web environment, like programming anything complex in plain assembler.
    On the other side, eLinks prove to be an incredible flexible tool for browsing the web, accessing my email, reading the guide and posting in forum, without it I've never do it, at least not without another computer conected to the net to follow instructions.
    So my humble suggestion is Arch should be packed default with eLinks, it makes noobs like me life easier at install/post-install configuration time.
    Best

    hi guys and thank you very much for your attention.
    Well, actually, as I tell you, elinks was a corner stone for me for installing Arch because it's a much better version than link (@Anikom15): you can browse web sites with full color, cookie and javascript support, have multiple tabs feature and a wonderful download manager, great!. Links, while providing basic text-based web experience is very primitive when compared to elinks and simple tasks are quite painful while with elinks it's a pleasure.
    And I can even check the forum while installing for tips with my videocard driver, that only adds a lot!
    Of course you can have a hard -printed- copy of the *excellent* Beginner's Guide but having DHCP connection and elinks that's just a waste of both money and resources.
    I don't know almost nothing about core internal functioning of the OS itself neither zlib (@Pierre) so if you say elinks could not be shipped at the moment so it is, but, if you think so people, please consider adding a mention to elinks in the Beginner's Guide just in case anyone could need it - and instructions to download it for noobs =)
    Last edited by martin77 (2010-03-28 22:02:08)

  • Difference between Two Date Should come into Text Item

    Dear All,
    i want to get difference between two date into text Item :P36_C in On Change java script.
    i have two Date Item :P36_A and :P36_B .i have extract these date value from table then difference comes into Text Field :P36_C.
    Now i want if i change Date into Item :P36_A or Item :P36_B then Defference between two date Should Come into Item :P36_C .
    So i have use Java Script Code to do this
    <script>
      function diffdat(){
        function getVal(item){
       if($x(item).value != "")
         return parseFloat($x(item).value);
       else
         return 0;
        $x('P36_C').value =
    getval((TO_DATE('P36_B', 'DD-MON-YYYY'))-
    getval(TO_DATE('P36_A', 'DD-MON-YYYY')))+1;
    </script>
    i have put this into Item HTML Form Element Attributes 
    onChange="javascript:diffdat();"it's not woring .
    How to work that Code with dates.
    Thanks

    You can always create your own difference function based on your own criteria. You can modify this to suit your needs.
    CREATE OR REPLACE FUNCTION CALC_OFFICE_DAYS(date1 DATE, date2 DATE)
    RETURN NUMBER
    IS
    v_begin_date DATE := date1;
    v_end_date DATE := date2;
    v_office_start_time VARCHAR2(10) := '09:30 AM';
    v_office_end_time VARCHAR2(10) := '06:30 PM';
    v_comp_begin_time DATE;
    v_comp_end_time DATE;
    v_days PLS_INTEGER := 0;
    v_hrs NUMBER := 0;
    v_ttltm NUMBER;
    BEGIN
    select trunc(v_end_date) - trunc(v_begin_date)
    into v_days
    from dual;
    select to_date(to_char(sysdate,'DD-MM-YYYY')||' '||to_char(v_begin_date,'HH24:MI'),'DD-MM-YYYY HH24:MI')
    into v_comp_begin_time
    from dual;
    select to_date(to_char(sysdate,'DD-MM-YYYY')||' '||to_char(v_end_date,'HH24:MI'),'DD-MM-YYYY HH24:MI')
    into v_comp_end_time
    from dual;
    select (v_comp_end_time - v_comp_begin_time)/24 into v_hrs from dual;
    IF v_hrs > 4 then
    v_ttltm := v_days + .5;
    ELSE
    v_ttltm := v_days;
    END IF;
    return v_ttltm;
    END;
    As has been noted, this question is best posted on the PL/SQL forum.

  • The app for texting that comes with the phone keeps crashing what should i do?

    the app for texting that comes with the Iphone keeps crashing what should i do?

    Have you tried any of the Basic Troubleshooting Steps...
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If so... What were the Results...?

  • Tables for service PO   text

    Hi all.
    What are the tables for the Service PO text for the line items.
    one text is comming for each line item.
    can any body help me to solve this issue.
    Thanks in advance,
    regards,
    Eswar.

    Hi
    First tell me is it a LOng Text or Not? because I don't find any other texts for the PO's at item level? where exactly you see this terxt in PO? can you elaborate more?
    If it is a LONG text then have to use the READ_TEXT fun module
    for this you have to pass the 4 fields
    OBJECT  = EKPO
    ID = see the text after double clicking
    OBJECTNAME  = concatenation of PO number + Item Number
    LANG = EN
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How does one add tables to an existing universe using COM designer SDK.

    Morning All
    How does one add tables to an existing universe using COM designer SDK. I have tried:
    objUniverse.Tables.Add (strTable_Name)
    but get "Cannot create Table" error.
    Any ideas?
    Thanks in advance.
    Anita

    Hi Anita,
    -Use the Add method to add classes and objects to an existing universe using a VB 6 application.
    Adding a Class
    Definition: Function Add(Name As String) As Class
    Syntax: NameOfClassesVariable.Add
    Adding an Object Instance
    Definition:  Function Add(Name As String, [ClassName As String]) As Object
    Syntax: NameOfObjectsVariable.Add(name, [class])
    - name is the name of the object.
    - class is the name of the class containing the object. This parameter should be used in cases where more than one objects exist with the same name.
    Sample Visual Basic 6 Code
    Dim DesApp As Designer.Application
    'MODIFY AND EXPORT CLASSES AND OBJECTS OF AN EXISTING UNIVERSE
    Sub modify_and_export_universe()
    Dim DesUnv As Designer.Universe
    Dim DesCls As Designer.Class
    Dim DesObj As Designer.Object
    Dim DesDBCol As Designer.DBColumn
    Dim DBColName As String
    Set DesApp = New Designer.Application
    'Login to designer
    Call DesApp.LogonDialog
    'Make sure to log on with your administrator profile
    'e.g : "hostname","username", "password","Enterprise"
    'Make Designer application visible
    DesApp.Visible = True
    'This line disable warning messages from Designer
    DesApp.Interactive = False
    'to Open  locally  the universe you want to modify
    'Set DesUnv = DesApp.Universes.Open("club_uni")
    'Use OpenFromEnterprise method (Universes Class) to import a universe from the repository and opens it
    Set DesUnv = DesApp.Universes.OpenFromEnterprise("Universes", "club_uni", False)
    'Add a valid connection which already exists
    DesUnv.Connection = "club"
    'open the universe
    'Call DesApp.Universes.Open("club_universe")
    'Add the table Account and refresh the view in the main window
    Set DesTab = DesUnv.DBTables.Item("Customer").Insert
    DesUnv.ArrangeTables
    'Add a class
    Set DesCls = DesUnv.Classes.Add("Class MyCustomer")
    'Looping through all the fields of the DB Table Account
    For Each DesDBCol In DesUnv.DBTables.Item("Customer").DBColumns
    'Store name of the column
        DBColName = DesDBCol.Name 
         'Add an object to the class
        Set DesObj = DesCls.Objects.Add("Obj " & DBColName)
         'Affect a field to the object
        DesObj.Select = "Customer" & "." & DBColName
    Next
    'Save the existing universe with the same name club_uni or you can change
    DesUnv.SaveAs "club_uni"
    MsgBox "Universe created and saved Class MyCustomer has been added!!"
    'Close the universe
    UnvFullName = DesUnv.FullName
    MsgBox "The UniverseFilePath is " & UnvFullName
    'Close the universe
    DesUnv.Close
    'This line disable warning messages from Designer
    DesApp.Interactive = False
    'Export the universe to the CMS DB (to the last universe folder)
    'Make sure you save the universe before exporting it
    Call DesApp.Universes.Export("Universes", UnvFullName)
    MsgBox "This document has been exported successfully !!"
    'Close designer
    DesApp.Quit
    Set DesApp = Nothing
    End Sub
    Hope this helps.
    Regards,
    Deepti Bajpai

  • Table maintaince genrator

    in table mintaince generaton when we give values why we click 2 times in local objects?plzz tell

    Go to SE11, give the table name and click on change. Then Go to utilities--> Table
    maintenance generator.
    In the table maintenance generator screen, we should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually we will create with one
    step. we should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, we find display, Maintain options.
    We can view the table contents by choosing Display and we can create table
    entries by choosing Maintain.
    Why we have to go for Table maintenance generator, when we can edit the table
    by SE16 or SE11, utilities->create entries?
    Answer.
    In the production system, end-users will not be having access to transaction
    codes like SE11 and SE16. Developers will not be having access to many
    transaction codes including the above two.
    To view the contents of the database table, we will use SE16n in Production
    system. Please find out the difference between SE16 and SE16n.
    All these authorizations will be maintained by BASIS team, by creating access
    profiles.
    So in order to edit or create the contents of a database table, we should go for
    table maintenance generator. In real time, authorizations will be maintained in
    production system. (even in development and Test systems to some extent).
    There is an audit like Sarbanes-Oxley Act for American clients, where every thing
    will be audited by government agency. To know more about SOX, use the links on
    the right hand side of this page.
    The second reason is, we can edit or create multiple entries at a time, using table
    maintenance generator.
    Apart from that we have options like 'Enter conditions' in table maintenance
    screen SM30. Please try to find out the use of those, by creating an example.
    Table Maintenance generator: Difference between one step and two steps.
    While creating table maintenance generator, we find below options:
    1. When we choose one step, we have to give the screen number in Overview Screen field.
    2. When we choose two step, we have to give both overview screen number and single screen number.
    You can give any number for screen. Don’t give 1000 screen number. As this
    number is reserved for selection screen.
    When we choose two step, two screens will be created for table maintenance. For
    single step only one screen will be created.
    When we choose two step, table maintenance will work as follows
    Go to SM30, give the table name for which you have created table maintenance-
    Overview screen will be displayed. To create entries, when you click on ‘new
    entries’. Another screen will be displayed, where you give input and save. You can
    enter one record at a time.
    When we choose single step, table maintenance will work as follows:
    Go to SM30; give table name for which you have created table maintenance-
    Overview screen will be displayed; To create entries click on ‘new entries’, you can
    enter the records on the same screen. You can enter multiple records at a time.
    We use single step generally, as it is user friendly.
    To completely understand the difference and above points please do exercise by
    creating table maintenance generator in both ways (using single step and two
    step).
    check below link
    http://help.sap.com/saphelp_nw04s/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm
    Regards,

Maybe you are looking for