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

passing data

Former Member
0 Likes
630

hi,

how to pass data between two independent programs?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
591

There is a facility given by the SAP as SAP memory...thats the global memory(Unlike the ABAP memory) and is used to pass the data between two independent programs!!

Now, how does it works??

1)Set parameter ID 'XYZ' field <your field name>

it sets the global memory with ID 'XYZ'(The nomenclature is user's choice)!!The memory gets populated with the data in the field you have mentioned.

2)Extract the data in another program by using

Set parameter ID 'XYZ' field <your field name>

It will populate the field with the value in memory ID 'XYZ'

Regards,

Amiya Shrivastava

4 REPLIES 4
Read only

Former Member
0 Likes
591

Hi Kiran,

You could use EXPORT and IMPORT. Check on F1 for more info

Rgds,

ET

Read only

Former Member
0 Likes
592

There is a facility given by the SAP as SAP memory...thats the global memory(Unlike the ABAP memory) and is used to pass the data between two independent programs!!

Now, how does it works??

1)Set parameter ID 'XYZ' field <your field name>

it sets the global memory with ID 'XYZ'(The nomenclature is user's choice)!!The memory gets populated with the data in the field you have mentioned.

2)Extract the data in another program by using

Set parameter ID 'XYZ' field <your field name>

It will populate the field with the value in memory ID 'XYZ'

Regards,

Amiya Shrivastava

Read only

Former Member
0 Likes
591

If it is independent program if have to use the option of SET parameter id field <fname> and GET parameter id field<fname>. Here its using the SAP memory.

If it is a dependent program then you can use EXPORT/IMPORT. here you are using ABAP memory.

Cheers,

Thomas

Read only

Former Member
0 Likes
591

Hi,

here is sample code check it.

Regards

vijay

Message was edited by: Vijay Babu Dudla