Skip to Content
0
May 03, 2009 at 01:24 PM

Specific Document Flow

65 Views

Hello CRM Experts,

I have for a client a complicated scenario.

Indeed, in order to manage multiple backend in multiple version ( 1 4.6C, 2 ECC 5, 1 ECC6, 1 4.7), we're are trying to replace the middleware by PI using CRM IDocs as CRMXIF_ORDER_SAVE_M and CRMXIF_INVOICE....

PI allows us to do the orders replication, change and confirmation. The Delivry and the post good issue is also done via PI.

Our problem is that we manage the doc flow by ourself.

For the ORDERS and the DELIVRY, everything works fine, we can see a good document flow in the order as :

Delivery -> outbound delivery -> outbound delivery number

Replicated -> sales order -> 'backend Sales Order number'

But the problem is when we send the post good issue, it crash down..I have an error which says :

"

You attempted to create a document flow record without a corresponding header interlinkage. This is note possible due to technical reasons."

In my doc flow HEADER, i've got :

ORDERS :

relation type = REPL

role type = CRM_REORD

objkey = R/3 orders numbers

objtype = BUS2032

object_id = CRM service order number

DELIVERY :

relation type = VONA

role type = NACHFOLGER

objkey = R/3 delivery number

objtype = LIKP

object_id = CRM service order number

POST GOOD ISSUE :

relation type = VONA

role type = NACHFOLGER

objkey = R/3 post good issue number

objtype = BUS2017

object_id = CRM service order number

In my doc flow ITEM, i've got :

ORDERS :

relation type = REPL

role type = CRM_REORD

objkey = Item number

objtype = VBAP

POST GOOD ISSUE :

relation type = VONA

role type = NACHFOLGER

objkey = Item number

objtype = LIPS

DELIVRY :

relation type = VONA

role type = NACHFOLGER

objkey = post Item number

objtype = MKPF

I think it doesn't like the fact that i am using 'VONA' 2 times... What is strange, is when i delete the item line for the post good issue, it works fine, it create the post good issue in the header but not in the item flow unfortunately...

I hope someone knows where i am wrong !!!

Thanks by advance,

JP