on 10-30-2008 12:46 PM
Hi!
I'am using simple scheme: RFC -> XI -> File.
Used RFC Function Z_TEST_BPM_5 has importing parameters:
*" IMPORTING
*" VALUE(IM_ROWCOLVAL) TYPE ZSROWCOLVAL
*" VALUE(IM_PAR1) TYPE CHAR10
*" VALUE(IM_PAR2) TYPE INT4
*" VALUE(IM_PAR3) TYPE CHAR100
Structure ZSROWCOLVAL:
ZROW CHAR 4
ZCOLUMN CHAR 4
ZVALUE CHAR 256
I'm running this code:
ls_rcv-zrow = 'abcd'.
ls_rcv-zcolumn = 'efgh'.
ls_rcv-zvalue = 'ijklmnopqrstuvwxyz'.
CALL FUNCTION 'Z_TEST_BPM_5'
DESTINATION 'D70_RFC_SENDER_D70'
EXPORTING
IM_PAR1 = 'Text 1'
IM_PAR2 = 3
IM_PAR3 = 'Text for parameter 2'
IM_ROWCOLVAL = ls_rcv
EXCEPTIONS
system_failure = 2 MESSAGE msg_text
communication_failure = 1 MESSAGE msg_text
other = 4.
Content of generated file:
<?xml version="1.0" encoding="UTF-8" ?>
<rfc:Z_TEST_BPM_5 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<IM_PAR1>Text 1</IM_PAR1>
<IM_PAR2>3</IM_PAR2>
<IM_PAR3>Text for parameter 2</IM_PAR3>
<IM_ROWCOLVAL>
<ZROW>abcd</ZROW>
<ZCOLUMN>ijkl</ZCOLUMN>
<ZVALUE>qrstuvwxyz</ZVALUE>
</IM_ROWCOLVAL>
</rfc:Z_TEST_BPM_5>
PAR1, PAR2, PAR3 - correct ...
IM_ROWCOLVAL - incorrect ...
I think, RFC-adapter parsed my RFC-data to XML incorrect .... But, why?
I activated all objects.
Sorry of my English!
check ur maping with test tab using same xml... i think there shd be problem with the mapping for that element.(IM_ROWCOLVAL)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
IM_ROWCOLVAL - incorrect ...
how do you want this structure to be fillled in xml message...
whats ur requirement.
Regards,
Sreeni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.