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

modify

Is there any FM for modifying data base table from a report program

with out useing MODIFY ststement

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 29, 2007 at 01:02 PM

    Hi N Naresh,

    I'm afraid I don't understand your question very much. Do you mean update the contents of a table? Or changing the structure?

    In the first case, you should use UPDATE statements. In the second case, some ALTER TABLE encapsulated into an EXEC SQL statement.

    Please answer back with further info. Best regards,

    Alvaro

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 29, 2007 at 01:18 PM

    Hi,

    Its very important to state whether you mean standard SAP delivered tables or custom tables created by yourself. If it is a standard SAP table then yuo should be trying to find a BAPI or normal function module to update the data and failing that a BDC - you should not be directly updating the table in ABAP.

    If it is a custom table you have created then it is just as good to use a direct update. Of course, you could create your own BAPI that updates the table and performs any updates to other linked tables as necessary - this will depend on your business requirements.

    Gareth.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      You really shouldn't be updating a standard SAP table - this is something you should never do unless you are updating custom fields in an appended structure on a standard table. And even then it should only be done carefully!

      What table is it, as someone may be able to recommend a function module that you can use?

      Gareth.

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.