on 09-16-2009 3:54 PM
Hi there,
We are currently doing an upgrade from SRM 3.0 to SRM 5.0. We initially had one backend system configured and PO's are happily replicated across to it.
We have now added a SECOND backend and now we have the following strange error scenario:
The SC is created (with a user linked to the 2nd backend) but when trying to determine the BE Purchasing Org (function BBP_PDH_PO_DET_BE_PUR_ORGS) for the PO replication etc it gets a short dump saying:
A RAISE statement in the program "SAPLBBP_ATTR_PDORG" raised the exception
condition "OBJECT_ID_NOT_FOUND".
The actual error occurs in program SAPLBBP_ATTR_PDORG and form MAP_OBJECT
So the error is occuring because it tries to run function module BBP_CENTRALPERSON_GET with user the background user WF-BATCH (for some reason).
NOTE: I have examined the short dump and it is definetly occuring AFTER mapping the SC to the PO (MAP_SHOPPING_BASKET_PO
in program SAPLBBP_PD_SC)
Why on earth would the WF-BATCH user be used at this point? We have compared the backend systems in config and cannot see anything wrong from our understanding.
So this is the call that is causing the error:
CALL FUNCTION 'BBP_CENTRALPERSON_GET'
EXPORTING
iv_username = iv_user
IMPORTING
ev_bu_partner_guid = lv_person_guid
EXCEPTIONS
OTHERS = 1.
And the value of variable "iv_user" at this point is "WF-BATCH".
Does anyone have any idea why this could be happening with the second R/3 backend?
Any help in this regard would be great appreciated.
Thanks
Lynton
Well I managed to get the problem to go away but de-activating the BBP_PGRP_FIND badi implementation.
And after further tests all seems to be fine anyway.
Lynton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.