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: 

How to pass values to the transaction

Former Member
0 Kudos

Hi,

from my module pool program i need to call another transaction's second screen. But unfortunately no parameter id is available for first screen fields of that transaction.

In this case how can i pass the values. My flow is like this ...

1) coming to XX transaction - first screen 1

2) going to screen 2 from screen 1 in XX transaction

3) from 2nd screen of XX transaction going to YY transaction screen 1.

4) going to screen 2 from screen 1 in YY transaction.

5) from 2nd screen of the YY transaction i need to com back to screen 2 of XX transaction.

Can you please suggest me different approaches how i can do that.

Thanks

jaya

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please try this.


export field1 to memory ID 'ABC'.

import field1 from memory ID 'ABC'.

Regards,

Ferry Lianto

4 REPLIES 4

ferry_lianto
Active Contributor
0 Kudos

Hi,

Perhaps you can use EXPORT to MEMORY and IMPORT from MEMORY statement.

Regards,

Ferry Lianto

0 Kudos

Hi,

Even i do export and import, the value is not importing from the memory. Can you please tell me whay might be the error.

export field1 to memory ID 'ABC'.

import field2 from memory ID 'ABC'.

regards,

jaya

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please try this.


export field1 to memory ID 'ABC'.

import field1 from memory ID 'ABC'.

Regards,

Ferry Lianto

Former Member
0 Kudos

Hi,

Wy dont u try to create a partial BDC for the different transaction i.e. create a BDC till the 2nd screen of that transaction and populate YY transactions first screen values only. This partial BDC should be called from the first transaction XX at the point where you want to call 2nd transaction.

Cheers,

Vikram