Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Modify table

Former Member
0 Likes
780

Hi,

I have statement :

MODIFY skb1 FROM TABLE itab

in my program. Which is the safest way to modify database table?

Anybody know standard function module or any other otpion to modify skb1?

Thanks,

Yogita

1 REPLY 1
Read only

Former Member
0 Likes
599

Hi,

It is not recommended to update/insert records in the standard tables through program lines.

There are many BAPI to update TCODE FS00 (SKB1).

It is upto your Requirement you will be using particular BAPI.

Plz check tcode BAPI for your BAPI.

The following BAPI's are avialable with this regard..

BAPI_GL_GETGLACCBALANCE - closing balance of G/L account for a chosen year.

BAPI_GL_GETGLACCCURRENTBALANCE - closing balance of G/L account for the current year

BAPI_GL_GETGLACCPERIODBALANCES - Posting period balances for each G/L account.

BAPI_AP_ACC_GETKEYDATEBALANCE: Opening Vendor balance

BAPI_AR_ACC_GETKEYDATEBALANCE: Opening Customer Balance

Thanks & Regrads,

ShreeMohan

Edited by: ShreeMohan Pugalia on Jul 16, 2009 7:26 PM