cancel
Showing results for 
Search instead for 
Did you mean: 

PO Change

Former Member
0 Kudos

Hi,

SRM 7.0 / ECC 6.0. In Classinc scenario where PR is created in ECC upon approval of SC.

I have a unique requirement.

Requirement : Requisitioners will raise a SC for amending the Purchase orders in ECC.

Option 1: Once the SC is approved then the respective line item  has to be updated in the existing PO in backend instead of creating a PR. 2 custom fields has to be updated in SC one for check flag and the other one is the existing PO number in ECC where the details has to be updated.

Option2 : SC  creation & approval in SRM (with the custom fields to update the PO number) and a PR will be created in ECC. Develop a custom program in ECC to update the PO amendment automcatically.

Background of the requirement : Very purpose of doing this is to automate the PO amendment process which is what is the business requirement as they don't want their procurement team to waste time in PO amendment process.

Iam preferring to use the Option 1 and request your input on technical solution of how to go about it which will be helpful.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi J Sudhakar

Could you provide the details  & kindly advise how did you implement using option 1 above,thanks in advance

Regards,Ankur

Former Member
0 Kudos

Hello,

Interesting requirement :-).

Your both options are good to provide solution but i would rather recommend using option 2 instead option 1. The reason is it will be less complicated.

For Option 2, You can have custom field defined in Shopping cart line item for requester to enter the existing PO number. There are various scn discussion, blogs available on how to do that. Few of them for your reference;

http://scn.sap.com/thread/1599348

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3092688e-dee4-2d10-1195-aec16594e...

You can also set up validation if PO number enter is within range or not through DOC_CHECK BADI in SRM shopping cart.

Once SC get approve and convert PR, You have to pass this custom field through BBP_CREATE_BE_RQ_NEW into PR to any custom field or text where ever you prefer.

From that you can write a custom program with BDC on ME22N to add the line item based on the PO number.  You can either use BAPI_PO_CHANGE to update the PO through custom program.

Thank you

Ritesh

Former Member
0 Kudos

Hi,

Thanks for your reply.

Instead of enhancing both SRM & ECC , i have gone with the option 1 of updating the existing PO from new SC by passing the parameter to BAPI_PO_CHANGE instead of BAPI_PO_CREATE.

Regards

Former Member
0 Kudos

any updates please