on 07-22-2008 9:02 AM
I want to cancel a purchase order raised by user who has left the company, only had the PO order number.
When i am clicking on monitor shopping cart it is showing error message "The Internet Transaction Server could not start the transaction "BBPSC11" because of the following error: Attribute for user ISOBELHE contains errors. Inform system admin ".
Won't let me delete because Partner xxxxx is blocked
Current document status does not permit this action Further information "partner xxxx is blocked .
When i check in PPOMA_BBP user is not existing in the organizational structure.
Could you please let me now how to delete the purchase order.
Edited by: imam uddin on Jul 22, 2008 10:24 AM
Hi. When users are deleted the business partner is blocked.
Find the business partner for this user, and go to transaction BP.
Go to the status tab and remove the "Central Block" check box and try again.
Regards,
Dave.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dave,
In Tcode BBP_PD, it is showing an error message u201Cpartner xxxxx is blockedu201D.
When i am clicking on monitor shopping cart i am getting an error message "The Internet Transaction Server could not start the transaction "BBPSC11" because of the following error: Attribute for user XXXXX contains errors. Inform system admin ".
Hi. You can try function BBP_PD_PO_DB_DELETE, but I think that will fully delete the PO from the database, which you might not want to do.
You could also try function BBP_PD_PO_UPDATE and set the deletion indicator on the line item in structure I_ITEM.
I am not sure if these will work though, you might get errors about the user missing.
You could re-create the user, then go to PPOMA_BBP and find the users old position, and right click and assign the old central person, then right click that and assign the user.
That should allow you to delete it from other places.
I wish SAP would come up with a proper solution for this, loads of people have problems with users who have left.
For now the best thing you can do process wise is to stop deleting users.
If a user leaves, lock them and make their log on dates invalid, but do not delete the user for 3 or 6 months. That will give all the documents time to filter through the system.
Regards,
Dave.
Hi dave,
I am able to delete the PO.
I have done some minute changes after calling the function module.
Please see the below mentioned code .
REPORT ZTEST .
Parameters : iv_guid type BBP_GUID.
data : gt_messages type standard table of BBP_PDS_MESSAGES.
*Data : iv_GUID type BBP_GUID.
start-of-selection.
CALL FUNCTION 'BBP_PD_PO_DB_DELETE'
EXPORTING
IV_HEADER_GUID = iv_guid
IV_SAVE_ON_DB = 'X'
TABLES
ET_MESSAGES = gt_messages
.
if sy-subrc = 0.
commit work.
Endif.
Hi dave,
I am able to delete the PO.
I have done some minute changes after calling the function module.
Please see the below mentioned code .
REPORT ZTEST .
Parameters : iv_guid type BBP_GUID.
data : gt_messages type standard table of BBP_PDS_MESSAGES.
*Data : iv_GUID type BBP_GUID.
start-of-selection.
CALL FUNCTION 'BBP_PD_PO_DB_DELETE'
EXPORTING
IV_HEADER_GUID = iv_guid
IV_SAVE_ON_DB = 'X'
TABLES
ET_MESSAGES = gt_messages
.
if sy-subrc = 0.
commit work.
Endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.