I created table maintainace generator but while executing this in SM30.

I created table maintainace generator but while executing this in SM30 it's giving following error. Error message " Conversion error"
The program has been interrupted and cannot resume. Program "SAPLZ_DEV_AC_DAT_MOE" attempted to display fields on screen 0001.
An error occurred during the conversion of this data.
Table has following fields:
MANDT          MANDT     CLNT     3     0     Client
YEAR1          CHAR     4     0     Year
SOLD_TO_PARTY     KUNRG     CHAR     10     0     Payer
MATNR          MATNR     CHAR     18     0     Material Number
JANACP          CURR     15     2     Jan Accural Plus.
and reference field for JANACP is VBRK-WAERK.
Can anyone help me on this.

Hi,
you have a field of type amount and need a referring currency field. You have chosen a VBRK field, but in SM30 you have no connection to a special VBRK entry because of a missing connection on key field VBELN.
Either you create a currency field in your table, or (if possible) you have to add a foreign key relation to VBRK with a fixed VBELN (existing on all systems) to get the VBRK currency. But the second way is no good idea!
You need a currency to get the right decimal point for your amiount.
Regards
Klaus

Similar Messages

  • Table Maintainance Generated but getting error when running SM30

    Hi Experts,
    I am modifying existing ZTable with around 31 fields and Maintainance was not allowed before also no Table maintainance was there. Now i have changed the attributes to allow maintainance and tried creating Table Maintainance generator.
    The TMG get created sucessfully but get error message when running SM30 for the Ztable with Run time error saying Coversion Error .
    Error Analysis says :
    Program SAPLZNMSLG attempted to display the fields of screen 0005 and error occured during the coversion of this data.
    Can any one let me know what happened? Expecting replies at the earliest.
    Thanks
    Smita

    Hi,
    In Text I/O Template Tab each field name will be there with Column- Name, Type  and Text Or I/O Field
    Go to Text OR I/O Field (Fields Wherever u have negative value).
    Name                     Type         Text Or I/O Field
    vbak-menge         I/O                _.___.___.___,____V
    Just add existing blank field ending with V.
    Regards,
    Nandha

  • Can we create table maintence generator with out key field

    Hi,
    I have created a ztable in that client is the primary key as I don't want any other field as primary key.
    For this  i have created table maintenace generator but when i open it in sm30 blnak screen is coming.
    Here my question is can we create a table maintenace generator with out key field other than MANDT.
    If it's possible please let me know.
    Regards
    hari

    >
    Mathews Joseph wrote:
    > I agree to the above points , but you can try one thing.
    >
    > When you create the table maintenance screen , from SE11 you assign a function group.
    >
    > Double click on the function group and you can go to the main program and open that in SE80, take screen generated and try manually adjusting the screen and putting the non key field details...
    >
    > Not sure this will work , but may be you can give it a try.
    >
    > Mathews
    But the table could hold at most a single record (per client). The design is lacking.
    Rob

  • Error while creating table maintenance generator

    Hi,
    I am getting below error while creating table maintenance generator.
    Screen SAPLZtest   0002 could not be generated.   In DYNPFIELD_ATTR field LENGTH has the invalid value 241.
    Reason for that error might be:
    In the table I have a field with a dataelement(customized) of type Char and length 241.
    But in the other table Iam using the standard data element(standard) of same type(241 char).In this table Iam able to create table maintenance generator without any errors.
    And the domain Iam using is same for both the tables.
    Please help me to solve this.
    Thanks in advance,
    Sravanthi

    Hi,
    you can go to transaction se51 and go your screen. active it.. you can find thesolution.
    refer these links..
    Error in table control
    Error while creating table maintainence generator !
    Thanks and Regards,
    Ahamed.

  • Table Maintainace generator not showing all the fields in table

    Hello,
    I generate table maintainace genrator for Z-Table and also create Tranaction code for that.
    I have 27 fields in my Z-table but when I run tranaction code for table maintanance generator it shows only 8 fields.
    I want to show all 27 fields in my tranaction code of table maintainace generator.
    How I can Achieve this?
    Please Suggest.
    Thanks,
    Amit

    Hello Ram,
    Thanks for your answer.
    I increases lenght of screen and table control and activate function group.
    But still in program PBO of screen it showing 8 fields as follows:
    CHAIN.
        FIELD ZPROJ_FIN_STATS-PSPID .
        FIELD ZPROJ_FIN_STATS-GJAHR .
        FIELD ZPROJ_FIN_STATS-MONAT .
        FIELD ZPROJ_FIN_STATS-POSID .
        FIELD ZPROJ_FIN_STATS-IS_REL .
        FIELD ZPROJ_FIN_STATS-IS_TECO .
        FIELD ZPROJ_FIN_STATS-IS_CLSD .
        FIELD ZPROJ_FIN_STATS-LEG_STATUS .
        MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
       ENDCHAIN.
    but Iwant total 27 field to show.
    How I can achieve this?
    Thanks,
    Amit

  • Table Maintainace generator

    Hi Experts,
    I have created a tcode which is assinged to table maintaince generator of a table.in that table maintainace generator screen
    when i click on new entries and when i enter data in the first field and press enter the cursor should automatically go to the second field and so on and when i enter the value in the last field and press enter the entry should automatically get saved. is there any possibility to implement this requirement because the code is generated automatically when i created the TMG.
    Thanks in Advance,
    Nishitha Reddy

    Hi,
    Go to your function assign to the TMG and you can use module LISTE_SHOW_LISTE to jump to the next column
    using get cursor and set cursor.
    and you can use module LISTE_UPDATE_LISTE to update or save your data on enter.
    Thanks,
    Anmol.

  • Regarding Table maintainace generator

    Frnds,
               Hope all are doing good.
               I am recently working on ECC 6.0 and i want to create table maintainance generator for a ztable. Actually i hav created function grp and passed in sm30 transaction and used single screen. Problem is when i double clicking the screen number its going to se 51 and going to a standard progam named with function grp
    SAPLZNEWFUNCTION. From i m confused but in that already some standard code is maintained. But there i hav created screen comprising our ztable fields..
    From there i m confused .. how to link with ztable and how to create standard transaction for entering data into that screen and updating the ztable.
    Frnds i hav seen so many documents .. i dont need documents ..plzz guide me with proper steps for achieveing target.
    thanking u all for reading my doubt and acting on it.
    regards,
    karan

    Here is the steps for  making table  maintaince generator ...
    Creating Maintenance Views  
    Procedure
    1.Enter an explanatory short text in the field Short text.
    You can for example find the view at a later time using this short text.
    2.Enter the primary table of the view under Tables in the Tables/Join conditions tab page.
    Only those tables that are linked with the primary table (indirectly) with a foreign key can be included in the maintenance view.
    3.If required, include more tables in the view. In a maintenance view you can only insert tables that are linked to one another with foreign keys.
    Place the cursor on the primary table and choose Relationships. All existing foreign key relationships of the primary table are displayed. Select the required foreign key and choose Copy. The secondary table used in such a foreign key is included in the view. The join conditions derived from the foreign keys (see Foreign Key Relationship and Join Condition) are displayed.
    You can also insert tables that are linked by foreign key with one of the secondary tables that was already inserted. To do this, place the cursor on the secondary table and choose Relationships. Then proceed as described above.
    For maintenance and help views, there are certain restrictions on the foreign keys with which the tables can be included in the view (see Restrictions for Maintenance and Help Views). The foreign keys violating these conditions are displayed at the end of the list under the header Relationships with unsuitable cardinality.
    4.On the View fields tab page, select the fields that you want to copy to the view.
    Choose Table fields. All the tables contained in the view are displayed in a dialog box. Select a table. The fields of the table are now displayed in a dialog box. You can copy fields by selecting them in the first column and choosing Copy.
    All key fields of the primary table must be included in a maintenance view. In addition, all key fields of secondary tables that are not involved in the foreign key (that is, which are not linked via a join condition to a key field already included in the view) must be included in the view.
    This ensures that the records inserted with a maintenance view can be written correctly in the tables contained in the view.
    5.On the Selection conditions tab page, you can (optionally) formulate restrictions for the data records that can be displayed with the view (see Maintaining Selection Conditions for Views).
    The selection conditions define the data records that can be selected with the view.
    6.In the Maintenance status tab page, define the maintenance status of the view.
    The maintenance status defines how you can access the view data with the standard maintenance transaction (SM30).
    7.Choose   activate
    8.Go to Transaction SE54 with Environment ® Tab.maint.generator.
    From the view definition you can generate maintenance modules and maintenance interfaces that distribute the data entered with the view to the base tables of the view. You can find more information in Creating a Maintenance Dialog.
    here is the link for creating Tcode  .
    http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
    Girish

  • How to create table maintenance generator?

    Dear Sir/Madam,
        when i am creating table maintenance generator , it asks for function group
      i give 0MB8 , it says u r going to change function group which does not belongs to u,
    then i created a function group yfg9 and given , it then says yfg9 cannot be processed.
    please telll me how to create the table maintenance generator for maintenance view yv_mmim_rep_cust.
    Thanks in advance,
    Dastagiri

    Hi ,
    Table Maintenance generator is used to maintain data in table , instead of giving access to se11 , we create a tcode for this table maintenance generator and we will give this tcode to end-user to maintain data
    To generate table Maintenance generator :
    click on UTILITIES   in menu bar
    -> table maintenance generator
    -> enter Authorization Group as : &NC&
    -> Enter Function Group : name of your table ( so it will create a function group , to check this function group go to tcode se80 : then select function and enter your Table name )
    -> Then click on find screen numbers in Application tool bar.
    -> Then click on create button in Application tool bar
    if it is created successfully , then you will get a status message like table maintained generator is created successfully.

  • 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

  • Trying to insert a table and getting a "While executing objectTag in Table.htm, a JavaScript error o

    trying to insert a table and getting a "While executing objectTag in Table.htm, a JavaScript error occurred." message appears.  how do I fix this?

    Try this Technote
    http://kb2.adobe.com/cps/405/kb405604.html
    Try step 4 here
    http://kb2.adobe.com/cps/405/kb405604.html#main_dat

  • HT204053 I have created a apple id but while signing in the setting it showing 403 error

    I have created a apple id but while signing in the setting it showing 403 error

    Purchase and Redeem an iTunes Gift Card.
    How to Redeem a Code  >  http://support.apple.com/kb/ht1574

  • DirectToXMLTypeMapping "create-tables" not generating XMLTYPE column type

    Can someone tell me how to code an XMLTYPE field such that "create-tables" will generate the XMLTYPE column and such that the IntegrityChecker will not throw an error.
    I am forced to run these alters after "create-tables" is run.
    ALTER TABLE XML_SYS_MSG drop column message;
    ALTER TABLE XML_SYS_MSG add (message XMLType);
    Snippets:
    <persistence...
    <property name="eclipselink.ddl-generation" value="create-tables" />
    </persistence>
    public class XmlMessageCustomizer implements DescriptorCustomizer {
    @Override
    public void customize(final ClassDescriptor descriptor) throws Exception {
    final DirectToXMLTypeMapping mapping = new DirectToXMLTypeMapping();
    descriptor.removeMappingForAttributeName("message");
    // name of the attribute
    mapping.setAttributeName("message");
    // IntegrityChecker requires uppercase for oracle
    // name of the column
    mapping.setFieldName("MESSAGE");
    descriptor.addMapping(mapping);
    @Entity(name = "XmlMessage")
    @Table(name = "XML_MSG")
    @Customizer(XmlMessageCustomizer.class)
    public class XmlMessage {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "ID")
    private long id;
    // @Column(columnDefinition = "XMLTYPE")
    // private String message;
    // ALTER TABLE XML_SYS_MSG drop column message;
    // ALTER TABLE XML_SYS_MSG add (message XMLType);
    private Document message;
    public XmlMessage() {
    public long getId() {
    return id;
    public void setId(final long id) {
    this.id = id;
    public Document getMessage() {
    return message;
    public void setMessage(final Document message) {
    this.message = message;
    Secondly if I turn on the IntegrityChecker it will fail
    public class EnableIntegrityChecker implements SessionCustomizer {
    @Override
    public void customize(final Session session) throws Exception {
    session.getIntegrityChecker().checkDatabase();
    session.getIntegrityChecker().setShouldCatchExceptions(false);
    }

    Adding:
         mapping.getField().setColumnDefinition("XMLTYPE");to the customizer should solve the problem.
    --Shaun                                                                                                                                                                                                                                                                                       

  • How to create table maintainenece Generator

    hi all
           I dont know how to create table maintainence generator after creating the table.
    I have created the table.
    After that how to maintain the table.
    What is the use of table maintainence generator.
    Thanks

    Hi Muthu,
    Through table maintenance you can direct add new entries in your table. For that u need to follow some steps.
    Step1 : Click Delivery and Maintenance tab in your table and select "Display/Maintenance Allowed"
    Step2 : Utilities--->Table maint generator
    Step3 : Give Authorization Group  -  &NC&
    Step4 : Function group -  Any ( You can give ur table name also ) This Function Group will genrate automatically.
    Step5 : Maintenance type  -  Select first radio button "One Step"
    Step6 : Maint. Screen No.  -  Overview screen as 1
                                                  Single screen       as  0
    Step7 : Click on Create button on application tool bar
    Step8 : just save in your package.
    Step8 : Create transaction code for the same . Environment----->transaction code
    Step9 : Give any t.code name and click on create button. You will get a popup where you have to choose last radio button "Transaction with parameter"
    Step10 : Give the transaction name - SM30 and check Inherit GUI Attribute"
    Step11 : GUI Support - check all the check boxes.
    Step12 : Name of screen field           Values
                    VIEWNAME  -                   Table name  and
                    UPDATE      -                      X
    Finally u can this t.code and add new entries in ur table directly.
    Regards,
    Amit Nanda
    SAP Consultant

  • ....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.

  • Objects created when creating table maintenance generator

    Hi guru's,
      I heard that when we creating a table maintenance generator for a table, it will create view,search help and some else.Is it true?
      Please tell me what objects will be created when we create table maintenance generator for a table and why? what is the exact use of creating table maintenance generator for a
    table other than reduces the time for entering large volume of data.
    Regards,
    Rakesh.

    Hello Rakesh,
    TMG is a tool meant and designed to maintain Customizing table/views. Customizing essentially means, that the data should be transportable across clients/systems.
    All this, and the facility to maintain data (display, edit, create, delete, translate) is provided by the TMG. When you make the changes like above, the TMG also provides you features to automatically also enter the changes into transport requests.
    Coming to what objects are created when you generate a maintenance dialogue -
    1) A Customizing Object (merely a class C/G table or view does not become a   
                                        customizing object)
    2) A function group (as entered in SE54 details, if the function group does not already
                                  exist)
    3) Lot of coding within the function group (Func modules, subroutines, includes)
    4) Screen(s)  (1 or 2, depending on a setting in the TMG)
    5) An automatic recording of all these objects into a transport request, for you to conveniently ship them to other systems in your landscape (this, if automatic recording is
    switched ON in your system)
    Authorization group - It is not created automatically (unlike function group). You need to specify an existing Auth group, or use a different functionality to create on of your requirements.
    Does this answer most of your questions? Please revert if you need more clarifications.
    Regards
    Rekha
    PS: Actually, why dont you try generating a maintenance dialogue for a sample z-table and see what all gets generated?

Maybe you are looking for

  • How to resolve Conversion Error in Program saplswcd(swi1 tran) in ECC 6.0?

    Hi, I am working as an ABAP technical person.I am currently working on an upgrade project wherein the system is upgraded from R/3 4.6 C to ECC 6.0. Error Description Actually when I am trying to execute transaction SWI1 in ECC 6.0 , it shows certain

  • Error in KM Property Structure

    Hello, When I see System Configuration\Knowledge Management\Global Services I get the warning "Invalid areas: Property Structures" and in Property Structure I get the error "The following configuration objects have some invalid or problematic propert

  • Load Balancing in Portal

    Hi, We have IIS as our intermediate web server.We have implemented Clustering.However load balancing is not done and all the requests are going to one server only. I am not clear about where and how to implement Load balancing. Please let me know how

  • What is #R2,#R3 in abap code

    Hi, Can any one explain what is #R2,#R3 in abap code. You can see the code snippet below. #R2  DATE = DEPER = I2001-BEGDA.                          "WGYS11K127228 #R3  DEPER     = I2001-BEGDA.                             " #R3  DATE+4(4) = I2001-BEGD

  • IDOC to map Dunning Letter Info to Flat File

    Hi, Can anyone tell me IDOC or BAPI used for the Dunning Letter? Regards, Akshay