cancel
Showing results for 
Search instead for 
Did you mean: 

BPM file to ABAP proxy

Former Member
0 Kudos

HI all

I´m developing a BPM, this has the following steps:

Reciver Step

: this is to read a file , comunication channel type file.

transformation Step

: maps the MT of the file to a new MT

Send step

: send syncronously the result of the the map.Using an ABAP proxy. XI adapter.

Switch step

: compares de the value of the result of the syncronous call, with a constant.

First branch Send Step to write a file

Second branch nothing.

My question is? Do i have to insert something before the switch. Because i cannot activate the BPM, In the SXI_CACHE i can see and error that says that the value that i´m using to compare the value it is not an object of the payload.

Any idea?

Many thanks

Noelia

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi all many thanks for your effort in yours answers. It was solved by the note 890760.

this note is implemented in SP 16.But I´m on SP15.

Regards

Noelia

Former Member
0 Kudos

Hi,

The constant that you are comparing the response value with, must be a string.

Make sure you have specified a String as the data type for the constant in the condition editor.

Regards,

Smitha.

former_member189558
Contributor
0 Kudos

This has something to do in your condition editor...

For the other branch also specify a confition .. which will be reverese of the first condition..

Former Member
0 Kudos

hi thanks for your help.

I will do it, but this is going to be an alert And the alerts category are not defined yet. I want to test before it.

You think it is not working because of this?

regards

Noelia

Former Member
0 Kudos

Hi ,

<i>You think it is not working because of this?</i>

No.

You are selecting the wrong interface varible in the condition editor of BPM.Just check your container elements.

former_member189558
Contributor
0 Kudos

May be..

You don't need to populate anything inside the branch .. just leave it empty or put an exception handler...just Populate the condition for the other branch as well

Former Member
0 Kudos

Hi all

many thanks for your help.

I have checked everithing and there is not result

Do you think that the error can cames from configuracion of the configuration scenario?

again many thanks for all your help!!!

Best regards

Noelia

Former Member
0 Kudos

Hi,

the value that i´m using to compare the value it is not an object of the payload.

The response interface that you are using is wrong.

Make sure that the response interface specified in the container is correct.

Please post the exact error that you see, so that we can get a better picture of the issue.

Have you activated this bpm before this error? You should not be able to view your bpm data in sxi_cache else.

Regards,

Smitha.

Former Member
0 Kudos

thanks for your answer

I cannot post the error becasue my lenguage is Spanish but i have translate it.

the response is correct.

I´m comparing in a switch condition the container of the response to a constant.

DO I have to create a container for the constant?

I don´t Know if i have activated it before, I didn´t execute the sxi_cache until my BPM wasn´t not executing.

Do you think thin error could came from the directory instead of the repositpy? I didn´t check my configuration scenario.

Thanks

Noelia

Former Member
0 Kudos

Hi,

You need to compare a field of the response to a constant and not the container.

Hence the error.

You need to specify the XPATH to the field at the left had side, a condition (such as =, != etc) and a constant (which is a string) on the right hand side.

Ex: Header/Child1/Field1 = '1'

Regards,

Smitha.

Former Member
0 Kudos

hi thanks for your help

This is what i´m doing:

this is my condition

salida_proxy./p1:MT_salidaproxy/row/valor = 0

This is driving me crazy. I have checked everithing 100 times.

Many thanks for your help

Regards

Noelia

Former Member
0 Kudos

Hi all

i have found a sap note wich i think can solve the problem.

note 890760

I will let you now if it works.

many thanks for all your help.

Regards noelia

Former Member
0 Kudos

Hi,

Last try...

salida_proxy./p1:MT_salidaproxy/row/valor = 0

In the condition editor:

When you do a f4 for the left operanfd text box:

The expression editor opens:

You need to click on the "Interface Variable" radio button and select your container salida_proxy and prove the correct xpath.

Make sure that the Type specified next to the xpath in the expression editor is String.

A f4 in the right operand text box opens a expression ediote, where:

You need to click on the constant radio button, and provide the constant 0.

Again make sure that the xsd trype is String.

In case all this has been done perfectly, then try deleting the switch and recreating it again. You never know, this might do the trick!

Regards,

Smitha.

Message was edited by:

Smitha Rao

Former Member
0 Kudos

Hi,

Have you done 'check' in Integration Process window?

Wat is the value u r giving in the left hand side in the condition? Is it a element in the response from proxy?

Regards,

P.Venkat

Former Member
0 Kudos

Have you done 'check' in Integration Process window?</i>I did an it says:

information container element "Back of proxy" in "Send" (send sync) step is initialized but not used

+Wat is the value u r giving in the left hand side in

the condition? Is it a element in the response from

proxy?+

Yes i´m giving left value of the response of the proxy and right a constant.

Many thanks for your help!!!

Regards

Noelia

Former Member
0 Kudos

Hi,

I dont think that's going to be a problem. We can leave the otherwise branch empty.

Check if the 'Back of Proxy' and the message type that proxy sends are similar.

I think its the properties in the 'sync send' step that is missing.

Check the synchronous interface mapping that u have chosen in send(sync) is correct.

Regards,

P.Venkat