cancel
Showing results for 
Search instead for 
Did you mean: 

Send multiple lines to a function in SAP

Former Member
0 Kudos

Hi all,

I am working with FTP to RFC scenario.

My incoming file has multiple lines as:

<i>

Line1

line2

line3

...</i>

I have imported the RFC structure from SAP and this structure looks like:

<i>

ZINTPRUEBA1

STRCSIMPLE

item type: ZSTRCSIMPLE

CAMPO1 type: xsd:string

</i>

where STRCSIMPLE is a table of type:ZSTRCSIMPLE that contains only one field. That is, a table of one column.

What i want to do is to send multiple lines and fill this table. If i execute the interface, i can see in the MONI that XI mapping is OK and there is no error in the IE and AE. BUT in SAP, there is only ONE EMPTY field after that.

Do you have any idea about what may be happening here?

Thanks in adavance and kind regards,

david

Message was edited by:

David De Miguel

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

David,

I fear you may have a content conversion problem. Can you send the structure of the input message type?

Regards,

Arvind R

Former Member
0 Kudos

Hi there,

Hope this helps:

MT_TEST Element ZINTPRUEBA1

STRCSIMPLE Element 1

item Element ZSTRCSIMPLE 0.....1

CAMPO1 Element xsd:string 0....unbounded

Kind regards,

David

Former Member
0 Kudos

You said XI mapping is OK..you mean mapping output is OK or mapping executed without error.

If mapping output is as you are expecting then you should be getting correct data in R/3..If mapping output is good and not coming to R/3 correctly, try to reimport that RFC and see.