2008 Jun 13 10:17 AM
Hello All,
I have two function groups and I want to have the value of an internal table in function group 1 in Function group 2. I found that Field symbols can be used for this. Could anyone please help me out with information about how tom do this.
Regards
Sudha
2008 Jun 13 10:20 AM
Hi,
cross assigns work like this example
FIELD-SYMBOLS:
<gt_int_edidc> TYPE STANDARD TABLE.
ASSIGN ('(RSEIDOC2)INT_EDIDC[]') TO <gt_int_edidc>.
RSEIDOC2 is the program and INT_EDIDC is the internal table.
Program names of function groups usually starts with SAPLS. You can find the program name of the function goup on attributes tab of one appropriate function module.
Regards Rudi
Hi,
cross assigns work like this example
FIELD-SYMBOLS:
<gt_int_edidc> TYPE STANDARD TABLE.
ASSIGN ('(RSEIDOC2)INT_EDIDC[]') TO <gt_int_edidc>.
RSEIDOC2 is the program and INT_EDIDC is the internal table.
Program names of function groups usually starts with SAPLS. You can find the program name of the function goup on attributes tab of one appropriate function module.
Regards Rudi
2008 Jun 13 10:20 AM
Hi,
cross assigns work like this example
FIELD-SYMBOLS:
<gt_int_edidc> TYPE STANDARD TABLE.
ASSIGN ('(RSEIDOC2)INT_EDIDC[]') TO <gt_int_edidc>.
RSEIDOC2 is the program and INT_EDIDC is the internal table.
Program names of function groups usually starts with SAPLS. You can find the program name of the function goup on attributes tab of one appropriate function module.
Regards Rudi
2008 Jun 13 10:24 AM
Thanks a lot, Rudi ..
We put the code like this ..
FIELD-SYMBOLS method".
2008 Jun 13 10:27 AM
Hi,
guess you need a table type of MCHB.
FIELD-SYMBOLS <gfs_mchb> TYPE TABLE OF MCHB.
Regards Rudi
2008 Jun 13 10:30 AM
Hi.. if you are transfering data from internal table use [] after the table name.
Edited by: Cynthia Somnath on Jun 13, 2008 11:31 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |