Skip to Content
author's profile photo Former Member
Former Member

Including new fields to the standard table

Hi all ,

I have enhanced the standard table /AFS/MARM ( using .INCLUDE ) by adding 3 fields ( have also done the appropriate coding required ) . But because of this there is an error occuring in one of the standard programs , so I am getting a dump while creating a sales order. If I remove the newly added fields , everything works properly again !!

Can you please help me out in this ? .APPEND and .INCLUDE should not give dump anywhere right ?

Regards,

Deepthi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 10:25 AM

    hI

    In contrast to append structures, Customizing includes can be inserted into more than one table.

    As an example the customizing include that we created (CI_DEMO) could be a part of multiple tables in the database whereas the append structure (ZDEMO_APPEND) can only be assigned to one table. (here MARA).

    This provides for data consistency throughout the tables and structures affected whenever the include is altered.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2007 at 12:04 PM

    Hi Deepthi..

    1. Use APPEND Structure for enhancing a Table .

    2. After activating the Table Check the Status whether it is "Partially Active" . In that case it will give dump if you try to access this table.

    3. To avoid this (means to Activate the Table) you have to goto SE14(DATABASE UTILITY) and select the Button "Activate and adjust the table".

    Then the table is adjusted and activated.

    Now it will work.

    <b>reward if Helpful.</b>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 12:04 PM

    Hi,

    It is better to use APPEND in case enhancing the standard table because INCLUDE will leads to conversion of structure in database whereas appending an append structure does not lead to the conversion of the table as it just added without changing the existing structure.

    Thanks,

    Muthu.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 12:15 PM

    Hi ,

    I tried with both .APPEND and .INCLUDE . But it is not working 😔

    Regards,

    Deepthi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 12:37 PM

    Hi Muthu ,

    The table is activated completely . There is no problem with that .

    However because this table is used elsewhere , there is a dump while creating a sales order. ( In program /AFS/SAPLMG01 , there is an assignment happening of the table to which I added fields - /AFS/MARM and /AFS/MEINH. Since the number of fields are unequal , I get a dump .) I have to add fields to /AFS/MARM for some other application ! Please suggest how do I go about doing this.

    Regards,

    Deepthi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Deepthi,

      You have to search the other table which is assigning the value to it and enhance that if needed. Goto SE80, select the function group give MG01 search for the table.

      Thanks,

      Muthu.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.