2014 May 21 10:52 AM
Hi All,
I've a requirement to delete SRM PO from ECC. I've tried using function ' BBP_PO_DELETE' but it dumps saying:
"Function module "BBP_PO_DELETE" not found."
I'm not sure if it is possible to delete PO in SRM using function in ECC. If yes, any suggestions on how to go about this.
Hi All,
I've a requirement to delete SRM PO from ECC. I've tried using function ' BBP_PO_DELETE' but it dumps saying:
"Function module "BBP_PO_DELETE" not found."
I'm not sure if it is possible to delete PO in SRM using function in ECC. If yes, any suggestions on how to go about this.
2014 May 21 11:07 AM
Hi,
The Functions in SRM are different than ECC.
Please use BBP_PD_PO_DB_DELETE but this is not a RFC enabled FM.
You would need to create a wrapper RFC FM in SRM for this and then call this from ECC to delete the SRM POs.
Thanks,
Zuber
2014 Jun 11 12:16 PM
Hi Zuber,
I'm passing GUID to BBP_PD_PO_DB_DELETE, but it is not deleting PO.
2014 Jun 11 12:32 PM
Hi Leena,
If you are using this FM in SRM system then use a BAPI_TRANSACTION_COMMIT after this.
And if you are calling this FM from ECC system then you would need to create a Z Function in SRM which will internally call BBP_PD_PO_DB_DELETE with IV_SAVE_ON_DB as 'X' and a Commit after this FM.
Let me know if you are successful in this.
Thanks,
Zuber
2014 Jun 11 12:41 PM
Called BAPI_TRANSACTIon_COMMIT. I'm not sure why it is not working
2014 Jun 12 10:01 AM
Please let me know the code how you have called these FMs.
For just testing goto SE37 -> Menu Bar -> Function Module -> Execute -> Test Sequence
Give the BBP_PD_PO_DB_DELETE and BAPI_TRANSACTION_COMMIT
and execute.
Get the GUID for any PO from BBP_PD and pass to FM BBP_PD_PO_DB_DELETE.
After executing the PO is deleted from data base.
Else please give the code here that you are using to delete.
- Zuber
2014 Jun 12 10:20 AM
I'm using Test Sequence only for testing... I'm checking in tcode BBP_PD, line item is not marked for deletion. I hope I'm checking at the right place
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |