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

Change internal table data in another program

Former Member
0 Kudos
832

Hi Gurus,

Is there a way to change internal table data from BADI of a method in main program using (SAPLV13A)db_xkondat[] internal table? Here SAPLV13A is main program name and db_xkondat[] is an internal table in the BADi call function.

Thanks.

Edited by: K V Subbarao on May 15, 2010 10:55 AM

2 REPLIES 2
Read only

mvoros
Active Contributor
0 Kudos
644

Hi,

yes, you can use the trick with field symbols ( ASSIGN ('(PROGRAM)TABLE[]') TO <table> ). You just need to define field symbol with table type. Just be careful. Let say that this trick is not the proper way and you need to be extra careful.

Cheers

Read only

0 Kudos
537

Hi, 

Can u please provide a sample abap code how we can achieve this to change the internal table data in another program with field symbols.

Ex:- (SAPLEBNE) BSN[]  this internal table holds the data that I need to modify this tables data in another program .