on ‎2010 Aug 02 11:06 AM
Hi Sap gurus,
We have implemented extended classic scenario in SRM 5.5. The issue is one of the local EBP order is deleted from our SRM system. As a general rule the backend order is also to be deleted from the system. But to our strange the backend order is not deleted in the R/3 system. Now we want to get back the local EBP order in to our system. Is there a way we get this again in our EBP system?
In BBP_PD tcode we have one entry as below. By using the GUID of this order can we get the order back in to EBP?
HEADER I1040 DELETED X
Thanks & Regards
Satish
Request clarification before answering.
Hi
http://wiki.sdn.sap.com/wiki/display/SRM/HowtodeleteaPOinbackendfromSRM
from Aline Marchetti ,
i think you are looking for the same
Muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Note 1402592 - Deleted items in PO cannot be transferred
A purchase order was created with all items referring to a contract. This initial version is correctly ordered and transferred to the backend. When one or more items are deleted in SRM the status of the purchase order remains "awaiting approval" and if extended Classic Scenario, the deletion is not transferred to the backend.
Other terms
Update termination, BBP_PD_OBJ_REL_UPDATE_VB, Abort
Reason and Prerequisites
CHECK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Govindsamy,
Actually the scenario is that the EBP order is deleted at the header level not at the item level. When we enquire the Process Purchase orders we get that order does not exist. However in the back end R/3 we have the order still existing.
Now we want to reload the EBP order back in to EBP. Is there a way that we can reload by using the GUID of the order?
Thanks & Regards
psamp
Hello psamp,
If your PO has status 'Deleted' in SRM, at header level, field DOC_CLOSED from BBP_PDHGP table should be set.
For PO status change, you can use CRM_STATUS_UPDATE function module with two rows in table JEST_UPD:
- one to inactive deleted status :
MANDT = your client,
OBJNR = PO Guid,
STAT = 'I1040',
INACT = 'X',
CHGNR = existing value + 1
- one to active ordered status:
MANDT = your client,
OBJNR = PO Guid,
STAT = 'I1043',
INACT = ' ',
CHGNR = existing value + 1
For header level, see BBP_HDRPROC_SET_STATUS_FLAGS function module.
Regards.
Laurent.
Hi Laurent,
Thanks a lot for your expert comments.
We have tried the same in our test environment, FM CRM_STATUS_UPDATE is working and updating the table CRM_JEST, however the table BBP_PDHGP never getting changed. The value DOC_CLOSED in table BBP_PDHGP not getting changed. We also tried the FM BBP_HDRPROC_SET_STATUS_FLAGS with all the possible values (I_DOC_CLOSED = 'X' , ' ', 'R' ) but the database table BBP_PDHGP not getting changed. We have checked the code of FM BBP_HDRPROC_SET_STATUS_FLAGS and noted that code is there only to modify the internal table and not the database table.
Could you please advise us how to change value in table BBP_PDHGP.
Regards.
psamp1.
Hi
give some more clues for others.
1.what type of PO it was ? like LIMIT PO
2. is PO created form SC or Process PO or catalog PO
3. In your environment if you delete PO at header level and the same was not replicated to ECC.
4.is it for all POs or one POs.
5. Can you recreate the same in your environment?
Hi Govind,
This is extended classic scenario
1. Not a limit a PO.
2. PO created from catalog. PO has only one item.
3.This PO is also replicated to backend.
Issue is : EBP order is deleted from the system. However the R/3 back end order is available without any items deleted.
(Normally when you delete the EBP PO at header level, in the back end order will get replicated by deleting the all items in the order).
4. Now we want to get the EBP order which is deleted.
5. This was happened only with one order.
We appreciate your expert suggestion.
Regds
psamp1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.