‎2010 Apr 06 8:59 AM
Hi,
Upon some condition i need to change the values fo the standard table.
How can i achive this without using BAPI.
Records will be in Final table with VBELN.
Can i achive this with modify statement. Please explain.
loop at i_final to wa_final.
if COLA/Economic change date = u2018spaceu2018
Change VBKD-PRSDT = = Date of first adjustment
Else
Change VBKD-PRSDT = = COLA/Economic change date.
Endif
endloop.
Any suggestions will be aprreciated!
Regards,
Kittu
‎2010 Apr 06 9:02 AM
Hi,
Avoid updating the standard tables using MODIFY or UPDATE statements .It causes data inconsistency.
I suggest you to use BAPI's for updating standard tables.
Regards,
Lakshman.
‎2010 Apr 06 9:02 AM
Hi,
Avoid updating the standard tables using MODIFY or UPDATE statements .It causes data inconsistency.
I suggest you to use BAPI's for updating standard tables.
Regards,
Lakshman.
‎2010 Apr 06 9:13 AM
Dont update standard tables directly. Use BAPI to update standard tables.
Regards
Vinod
‎2010 Apr 06 9:15 AM
Hi,
Modifying standard table through prgram( Modify) is strict No, untill you are completely aware of the consiquence. there are dependencies of record on other records, so modification may lead to incosistancy.
through modify statement you Can modify datbase table, but never do it inside loop. Populate all date in one internal table and then modify using this intenal table.
check f1 help for modify.
‎2010 Apr 06 9:50 AM