2008 Jan 24 1:43 PM
Hi experts
I want pass a table by function module export parameters,How can I do that?I can't use tables pass the table because the tables parameter can not be used in Webservice.
BR
Chris
2008 Jan 24 1:50 PM
Hi Chris,
You can pass only a single record through EXPORT parameter of any FM.
Instead , TABLES should be used. But since you have some restrictions, you can export the TABLE TO MEMORY & Import wherever required.
EXPORT I_OUTPUT TO MEMORY ID 'ZID'.
Best regards,
Prashant
Hi Chris huang.
If the table you need to pass incudes only few lines you can pass every line separated by entering it in export parameters like a structure.
It is not the best solution...
2008 Jan 24 1:49 PM
Hi Chris,
U can pass the table in CHANGING parameter.
Regards,
Sonal
2008 Jan 24 1:50 PM
Hi Chris,
You can pass only a single record through EXPORT parameter of any FM.
Instead , TABLES should be used. But since you have some restrictions, you can export the TABLE TO MEMORY & Import wherever required.
EXPORT I_OUTPUT TO MEMORY ID 'ZID'.
Best regards,
Prashant
2008 Jan 24 1:59 PM
Hi Prashant
I want convert my function module to webservice,If I pass a table by tables parameter I can't get data from the table,Import and Export parameter is ok.I don't know is the webservice can support internal table,If It's not,I think i will convert the internal table data to string,and passed by Export.Do you have any suggest?
thanks
BR
Chris
2008 Jan 24 1:57 PM
Hi Chris huang.
If the table you need to pass incudes only few lines you can pass every line separated by entering it in export parameters like a structure.
It is not the best solution...
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |