on 05-18-2010 3:58 PM
Hi ,
We are implementing Bidding Functionality where PR from ECC is pushed to SRM as SC of subtype ER.
Then Bid invitation is created from the SC and published.
Once Bids come from Vendors, one or more are Accepted and awarded a PO.
This works fine when PR has Account Assignment in it.
When a PR comes with Account Assignment as Blank....we got Object ID error.
To Fix it we created Local Purchasing Org and Local Purch Grp.
Bidding functionality works great.
But now the PO generated is in SRM instead of ECC. (we want the PO to be always be in ECC)
Looking forward for your expert opinions.
Thank You
Nikhil
Hi Nikhil,
Are you using the BADI BBP_EXTLOCALPO_BADI which can help determine whether a PO is ECS or local?
Hope this helps,
Kind Regards,
Matthew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil,
I have seen some times where on transferring requisition from backedn to SRM, get error
"No account assignment exists".
bbp_doc_change_badi is active but not doing anything with account assignment
the problem was solved by METHOD
if_ex_bbp_doc_change_badi~bbp_sc_change.et_account[] = it_account[]
BBP_ACCCAT_MAP_EXP during export to R/3 Backend documents
BBP_ACCCAT_MAP_IMP during import of R/3 Backend documents
It is current design that the acc.ass.cat. of OLTP is not sent
to SRM but determined with the first found SRM customizing value,
because customizing is customer specific and no general
acc.ass.cat. mapping has been developed to convert acc.ass.cat. from
OLTP to SRM for the MM document import.
This "lack" can be resolved using the Badi. If you have a clear rule
how to determine the SRM internal acc.ass.cat. (e.g. depending on
product categories or products) this has to be developed using Badis.
If not, the first found acc.ass.cat. will be assigned internally
to the technical cart. This is current design of the External
Requirement Scenario.
You can use BBP_ACCCAT_MAP_IMP during import of R/3 Backend documents
and BP_ACCCAT_MAP_EXP during export to R/3 Backend documents.
I don't have any code I'm afraid but you should try the suggestion on the DOC_CHANGE_BADI. This BADI is used everywhere and might be better than BBP_ACCCAT_MAP_IMP (my opinion only )
Hope this helps,
Kind Regards,
Matthew
Try to test run the FM BBP_BID_TRANSFERED_PO_CREATE in debug mode with your quotation GUID as input. You should see the determination of local or ECC PO in class CL_BBP_SC_TRANSFER method SPLIT_LOCAL_AND_BACKEND_ITEMS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.