cancel
Showing results for 
Search instead for 
Did you mean: 

BPM : Files are not appended in the container operation step

Former Member
0 Kudos

Hi Guys,

I am using the BPM pattern, "BpmPatternCollectTime" provided by the SAP under SAP BASIS 6.4 for the N:1 transformation.

In the the Message mapping and Interface mapping source structure has "0 to unbounded" occurance and Target has 1 coourances.. I have given the Time as 5 Minutes to collect the messages...

I dont know why the files are not being appened? Each time am getting the only one file's content as output other files contents(records) are not being merged.

Is there anything wrong in the given BPM pattern? or i need to do any changes in the container operation step ?

can anybody explain why the messages are not appending into a single file. any help would be really appreciated...

Can anybody guide me , how can i debug the BPM?

Thanks and Regards

Venkatesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Venkatesh:

What Raj mentioned is really on the point:

your target structure should be like:

Message (1:1)

Message1 (1:1)

BpmPatternCollectToBeCollected (1:1:)

Row (0:Unbounded)

ID (1:1)

OverallNumber (1:1)

Each tag representing your source message map to your Row on the target.

I believe this is the defect for the pattern presented to the user. I am not sure if there is OSS note mentioning it.

Regards !

Liang

Former Member
0 Kudos

HI Raj and Liang,

Thanks for your valuable feedback...I am trying out the options...I will update you once am done with it...

Thanks once again...

Regards

Venkatesh

justin_santhanam
Active Contributor
0 Kudos

Venkatesh,

How u defined your mapping.

For example,

Messages 0..unbounded

Row

Field1

Field2

Target

Row 0..Unbounded.

Field1

Field2

Did u mapped Messages to Row tag?

raj.

Former Member
0 Kudos

Hi Raj,

The structure of the Source is

Node -BpmPatternCollectMessageToBeCollected ( 0 to Unbounded occurance)

SourceField1:ID

SourceField2:OverallNumber

The structure of the Target is

Node -BpmPatternCollectMessageToBeCollected ( 1 Occurance)

TargetField1:ID

TargetField2:OverallNumber

I have mapped to SourceField1 to TargetField1 and

SourceField2 to TargetField2 and...I have not mapped from Source Node element to Target Node element...Is it required?

Regards

Venkatesh

justin_santhanam
Active Contributor
0 Kudos

Venkatesh,

Just now I saw the SAP Basis component. The mapping defined in the Basis component will not map all the messages to single message.

If you see the source -BpmPatternCollectMessageToBeCollected ( 0 to Unbounded occurance)

The occurrence is 0..Unbounded.

If you see the target there is no 0..Unbounded at all. Hence change the target structure with 0..unbounded.

See the above example.

raj.

Former Member
0 Kudos

Hi Raj,

Thanks for the quick response...

Even if i change the target occurances to 0 to unbounded...

The normal testing in Message mapping is not producing the output for single occurance itself...

Is there anything else wrong ?

Regards

Venkatesh

justin_santhanam
Active Contributor
0 Kudos

Venkatesh,

I've seen ur source structure, can u reply ur target Structure?

raj.

Former Member
0 Kudos

Hi Raj,

The Source and target structure are the same ie, BpmPatternCollectMessageToBeCollected..

Structure is

BpmPatternCollectToBeCollected

ID

OverallNumber

In SAP BASIS 6.4 , In the message maaping you can find the

"BpmPatternCollectMerge". I am using the same mapping..

The mapping contains the Source field mappings for field element ID and OverallNumber to the same field in the Target.

After selecting Source's occurance for 0 to unbounded , In the mapping the tool itself is adding two extra nodes as below...

Messages

Message1

BpmPatternCollectToBeCollected

ID

OverallNumber

Mapping is

Source Structure -


>Target Structure

Messages (1) Messages (1)

Message1 (1) Message1 (1)

BpmPatternCollectToBeCollected (0-unbound) BpmPatternCollectToBeCollected (1)

ID (1)-------> ID (1)

OverallNumber (1)-------> OverallNumber

The line indicates above the mapped fields...ID and OverallNumber is only mapped above.

Regards

Venkatesh

justin_santhanam
Active Contributor
0 Kudos

Venkatesh.

As I said earlier. the structure and mapping given in SAP Basis will doesn't work out for our scenario. Plz change the target structure.

raj.