on 08-09-2008 9:37 AM
Hi,
I have the following szenario: RFC(R/3) => XI => File
At the moment I implemented the following:
1. Z-Report in R/3 calls a function module:
CALL FUNCTION 'Z_RFC_TO_XML'
IN BACKGROUND TASK
DESTINATION xi_dest
EXPORTING
it_table = it_table.
COMMIT WORK.
2. The RFC Sender Adapter on XI takes the RFC data and convert it to RFC-XML
3. There is a message mapping from RFC-XML to XML-Structure
4. The File Receiver Adapter write the XML document to the file system
The scenario is working without error and the file is created. But on R/3 side the it_table is filled with 20 rows before the function module Z_RFC_TO_XML is called. But on xi side I only receive one row (the header line).
Is it possible to transmit the whole table content to xi and not only one row? And if yes, how can I do this?
Thanks,
manuku
> CALL FUNCTION 'Z_RFC_TO_XML'
> IN BACKGROUND TASK
> DESTINATION xi_dest
> EXPORTING
> it_table = it_table.
> COMMIT WORK.
> Is it possible to transmit the whole table content to xi and not only one row? And if yes, how can I do this?
Absolutely, it is possible
First try to pass the body of the table to FM like:
it_table = it_table[].
and make sure that type of import parameter it_table is table type.
Regards,
Jakub
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tobias,
Currently am doing this scenarioa RFC to file
CALL FUNCTION 'Z_RFC_TO_XML'
> IN BACKGROUND TASK
> DESTINATION xi_dest
> EXPORTING
p_werks = 'Plant no'
TABLES
> it_table = it_table.
> COMMIT WORK.
But here am using Exporting and Tables parameter.. When i debug this FM, the debugger is not going to the FM.
Can you help me in solving this issue....
Thanks and Regards,
Vijay vikram
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 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.