on 05-19-2008 10:31 AM
Hi all.
SRM 4.0, ECS.
I need to manipulate some of the values used when transfering the SC data to the purchase order, and without changing standard SAP code in BBP_REQREQ_TRANSFER I need to know if there is a BAdI that is called before this? By debugging BBP_REQREQ_TRANSFER I have not been able to find any BAdI's being called here, so I need something before this.
Any suggestions?
Thanks for any information.
Hi. BADI BBP_CREATE_PO_BACK should do the trick.
You can also use BBP_DOC_CHANGE_BADI to change data in the cart, a lot of which is sent to the backend.
Regards,
Dave.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I need to be able to control the currency of the local PO at its creation. The BAdI BBP_DOC_CHANGE gets overwritten although I there have the possibility of changing the currency. I need to be able to control that whichever currency a user has chosen in the SC, this is also the one that the local PO is created in.
Hi. You have changed the currency in structure ES_HEADER and it still get's overwritten?
If you look at this thread:
It seems someone else has the same issue, and SAP have told them it can not be done.
It does seem odd that they would have that field in a BADI and it does not work.
You could try asking SAP, see what they say.
Failing that, it is not a great solution, but you could have duplicate vendors, 1 for each currency required.
Regards,
Dave.
Hi Dave.
Actually, the link you posted was also my thread to begin with.
And I have tried making SAP understand that this seems like an error, but they keep saying that the system works as designed.
Therefore I need to change standard SAP code before I can get the currency to work my way unfortunately. I have been debugging for 2 days now and haven't found a useful BAdI, so I will make the changes directly in program LBBP_PDF0K - this is where the vendor's default currency for the selected purchasing organization is being taken, and this behaviour cannot be used for us. We need to make sure that whichever currency the user selects within their SC is also the currency being sent to the vendor and being used for the local PO creation. I have manipulated the BBP_ECS_PO_OUT_BADI to use the currency from the SC, so that the PO being sent out from the backend is now correct - I will then use standard SAP code change to do the same for the local PO.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.