Application Development 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: 

Passing of value from BADI to Function module in Update task mode

Former Member
0 Kudos

Hi,

We are currently using the Method <b>AT_SAVE</b> in the BADI <b>WORKBREAKDOWN_UPDATE</b>.

We are calling a FM in Update task mode where we need to send the values of a structure say 'struct1' from BADI to the FM.

We have tried Exporting 'struct1' to memory and importing it inside the FM but we cant get any values inside the FM.

Can anyone suggest us the solution?

3 REPLIES 3

laxmanakumar_appana
Active Contributor
0 Kudos

Hi,

Check the structure format in IMPORT and EXPORT statements.both are same or not.

Laxman

Former Member
0 Kudos

Yes the structures are correct.

0 Kudos

hi,

i think u cannot import values using the export/import to memory inside a update FM.

the update task FM gets triggered on COMMIT and is executed in a separate work process.so the values/tables u pass through the interface are the only visble data to that FM.

this is my thinking.i have to test this.

thanks