cancel
Showing results for 
Search instead for 
Did you mean: 

Can file out put display array of messaged

Former Member
0 Kudos

Hi Folks ,

I am displaying the msg of RFC on a file .

So far so good

it is getting displayed propely

like

ID Msg

1 Faliure .

i am able to capture this msg and show in a file

but in some cases the RFC

returns more than one row

like

ID Msg

1 Created log

2 Sucess

3 Trying to update

4 Update

Is there a way were i can display the msg in the same way in o/p file

cureently my file only shows

ID Msg

1 Created Log

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In SXMB_MONI, is the source payload something like this?

<ID Msg>

<..>Created log<..>

</ID Msg>

<ID Msg>

<..>Sucess<..>

</ID Msg>

....

If so,you will have to change the occurence of the <ID Msg> header in the the target to 0 to unbounded, so that for every <ID Msg> created in the source a corresponding header is created in the target.

Regards,

Smitha.

Former Member
0 Kudos

no

it is not coming like that

if it comes like that then we can chnage the oocurance as u said

in the source paylaod we see message just once

but o/p from rfc shows it multiple times

any idea how can it be solved

Former Member
0 Kudos

any updates folks

still not abled to figure out

how would i display multiple messages which are coming from the rfc

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Amit,

Somewhere , you have set the occurence as 1 .. 1 and that is why it is not being displayed. Just check the occurence of your RFC response, and the file datatype.

Regards,

Bhavesh

Former Member
0 Kudos

doesnt work even when i changed the occurance in file data type

made 1..unbounded

still one row is geting displayed

bhavesh_kantilal
Active Contributor
0 Kudos

Amit,

What is the ouput showing in SXMB_moni of your RFC response. Does it show the multiple rows in SXMB_MONI.

Have you performed content conversion on your File Adapter?? If yes, then make sure the occurrence there is also *

Regards,

Bhavesh

Former Member
0 Kudos

Hi Amit,

Have you mapped the high level element on the file side (1..unbounded) to any source element? Sometimes not doing so gives this type of error.

Regards,

Puloma.

Former Member
0 Kudos

chnaged the occurance of the high level element to 1.. unbounded from 1.1 still didnt work

Former Member
0 Kudos

Multiple rows are displayed when the RFC is executed using /nSe37

but in the XML that is returned to XI it has just the first row

Is it possible to capture multiple rows from RFC

bhavesh_kantilal
Active Contributor
0 Kudos

Hi amit,

check this, Give the input that you to give to the RFC in Se37 as the input from XI and check if it is returning multiple rows. Also, if you have created your own Message Tyope for the RFC, I would recommened that you check the occurence of the same.

Regards,

Bhavesh