on 11-22-2007 12:04 PM
Hi,
I want to return a single column internal table of type string through a RFC Function Module. I want to know how can i specify the type, when defining in the 'Tables' parameter ??
I have used 'STRING_TABLE' as the associated type in defining 'Tables' export parameters. Though the syntax check goes fine, it gives me an err saying 'In RFC only structured line categories are allowed' at the time of activation.
Any help ??
just move your declaration to export parameter
mytab type string_table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
Thanks for your replies. Basically, the problem was that whatever structure type is declared should have flat types i.e. basic data types of ABAP. So, i had to declare a new 'Z' structure which had a component of type 'char'. It seems that type 'string' is not identified as flat type.
Try type 'STANDARD TABLE'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram,
have you tried using the BAPI Browser? While editing your BSP page select <i>Goto->BAPI Browser</i>. You can then either browse for the RFC-enabled function module or just type it in directly by clicking the "<i>Direct entry</i>" button.
This will generate ABAP code for both the data typing and a sample call of the function module that you can copy and paste into your BSP application.
Cheers
G
Hi,
In FM ..while defining table try to leave associated type as blank..
then activate..
but I'm not sure...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.