cancel
Showing results for 
Search instead for 
Did you mean: 

Error in BMP Execution

Former Member
0 Kudos

Hi All:

I have created simple File to File scenerio. But I am getting Error. When I entered

in SXMB_MINI> Select the message-> Click on the PE(Process Engine)

I am seeing an error = Transformation Error.

I check/test all the Mapping in the IR.

Scenerio--

File ---to ---File

DT_File

MT_File

Interfaces :

1 Inbound

2 Outbound

3 Abstract

Interface Mapping.

In this source = Asyn_Abstract_File

target = Aysn_Abstract_File.

Message Mapping.

I tested all the configuration in the ID (Test Configuration) and It has now Error. Also I am my sender channel is able to pick the file from the source.

Can any one tell me what will be solution so that I can fix this Error

Rgds,

Farooq.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

First of all , please mension the BPM , i hope not BMP..

Please see the below link , to monitor the BPM it is very usefull..

monitoring BPM https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb4...

Regards

Chilla..

Former Member
0 Kudos

Hi :

Yep I took the message from the SXMB_MONI and test the whole configuration from the ID and it working fine. But still I am looking to find out the what will be the

mistake in BPM.

Also I am getting the Written Code = 0 its mean no Error right.

Here is the summary of the BPM

START -- RECIEVETRANSFORMSEND--STOP

In the container I created 3 abstract variable.

1recieveMessage (Abstarct Interface)

2.input. (Abstract Interface)

3.output (Abstract Interface)

STEPS:

RECIEVE--> Message = recieveMessage

TRANSFORMATION -->

--Interface Mapping = IM_File_To_File_BPM.

--Source Message = input.

--Target Message = Output.

Regds,

Farooq.

bhavesh_kantilal
Active Contributor
0 Kudos

Farroq,

><i>In the container I created 3 abstract variable.

1recieveMessage (Abstarct Interface)

2.input. (Abstract Interface)

3.output (Abstract Interface)

STEPS:

RECIEVE--> Message = recieveMessage

TRANSFORMATION -->

--Interface Mapping = IM_File_To_File_BPM.

--Source Message = input.

--Target Message = Output.</i>

You need only 2 container variables,

1. Recive Message

2. Output Message

In the Interface Mapping / Transfromation Step,

Source Message --> 1. Receive Message

Target message --> 2 Output Message

Make these changes in the BPM and it will work .

Regards

Bhavesh

prabhu_s2
Active Contributor
0 Kudos

post the detailed error desc

Former Member
0 Kudos

Hi Bhavesh,

Really its start working:-)

Thanks for your time. Could you please tell me why it was not

working by previous container objects?

I am going to reward you maximum points:)

Regds,

Farooq.

Former Member
0 Kudos

Hi ,

You need only two container varibles.Because It will take input as "recivemessage"

in Transformation step ie from first container variable.

Regards,

bhavesh_kantilal
Active Contributor
0 Kudos

Reason that it did not work earlier was that you were using 2 different Container variables in the Receive Step and and the source of your Transformation.

So, the message you Received in the BPM was not used as the source of your mapping, instead a Empty Container Element was used as the source of your mapping.

Now, what you have done is the data you received in the Receive Step is being used as the source of your mapping and hence it executes fine.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

BPM start working, But I am not getting the File in the target directory. In the BPM

Monitoring, when I click on the <b>send Message Asynchronously</b>, there is no

entries in RECIVERS [No entries].

Could you please throw some light on this too.

Thanks in advace.

Regds,

Farooq.

bhavesh_kantilal
Active Contributor
0 Kudos

Faaroq,

1. Look into the Receiver FIle adapter in the RWB and see if there is any error in it.

2. Look into the BPM in PE and see if the Send Step has executed correct.

make sure that the Container Variable used in the Send Step is the same container element used as the Target messge in the transformation step.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

In Communication Channel Monitoring Reciever channel is with no Error(Green). Also as you said the <b>Send Step</b> is the same container element used as the Target messge in the transformation step.

In the container I have RecieveMessage and Output. as per your guideline

the SEND step message should be Output. right??

regds,

Farooq.

Former Member
0 Kudos

Hi ,

<i>the SEND step message should be Output. right??</i>

Yes....

Check Reciever determinations and your ID configuration once ....

Regards,

Former Member
0 Kudos

Hi

I am getting hundreds of messages in SXMB_MONI

I just put SEND step--> Message = target message.

Regds,

farooq.

henrique_pinto
Active Contributor
0 Kudos

Check the message monitoring for Adapter Engine and search for your receiver's interface. Check the audit log of these messages for errors.

Regards,

Henrique.

bhavesh_kantilal
Active Contributor
0 Kudos

In the send step properties, does the Receievr From field have the value <b>Send Context</b> ?

If no, make the receiver from as Send Context and check the same.

Regards

Bhavesh

Answers (4)

Answers (4)

prabhu_s2
Active Contributor
0 Kudos

to test the mapping check with

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

to debug bpm scenarios use this:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb4...

or

go for to SWUD -> Execute Test Environment for your Workflow and click on Switch on container monitor.trigger workflow and check the container values in the debugging...oppup. Check if you are getting any values for the required element

bhavesh_kantilal
Active Contributor
0 Kudos

And, in case you do not know how to get the payload from your BPM for testing the mapping , look into this blog,

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

Regards

Bhavesh

Former Member
0 Kudos

Hi Farooq,

particularly check your namespaces!!!

The is a often made fault.

Regards Mario

udo_martens
Active Contributor
0 Kudos

Hi Farooq,

copy the incoming message from SXMB_MONI and execute your mapping at test modus of IB Repository with that file. Switch the trace to "all" to get maximum information about the error. Dont hesitate to post the error message.

Regards,

Udo