Skip to Content

problem in update rules


I have created update rules for Master Data Objects. If one of the attributes value is null it should not overwrite the previous value in the Master data attribues. I have written code for one filed:





  • if the returncode is not equal zero, the result will not be updated



But its giving error. Even I tried without ELSE code. but it is overwriting the previous values with blanks.

Any ideas how to do this.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 13, 2004 at 05:43 PM

    Hello Ram,

    in the start routine, read the complete master data table into memory (using RSAU_READ_MASTER_DATA for example) and merge it with the data package using your logic. Then you don't need the routine for the attribute any more.


    Marc Bernard

    SAP NetWeaver RIG, US BI

    Add a comment
    10|10000 characters needed characters exceeded

    • Marc Bernard Ramkotireddy Kunreddy

      Don't delete the complete record in the start routine, just set the one attribute to blank and leave the others as they are.

      Performance should not be an issue if you read the master data table only once (select * into table) and then use the internal table (read table...).



      SAP NetWeaver RIG, US BI

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.