cancel
Showing results for 
Search instead for 
Did you mean: 

Different PO Document Type determination in SRM

Former Member
0 Kudos

SRM 5.0

Extended Scenario.

Hello,

Could pls tell me where can I determine which PO document type should be created when SC is approved in SRM? This is extended classic so leading PO is in SRM. The standard PO type is EC, but I would like to add new ones and, during creation of PO from SC, choode the correct one depending on values in SC.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

<b>Use the BADIs. This is easily possible by using any of the follwing Business Add-Ins.</b>

BBP_CREATE_BE_PO_NEW

BBP_CREATE_PO_BACK

BBP_ECS_PO_OUT_BADI

BBP_TARGET_OBJECTS

BBP_TARGET_OBJECT_TYPE

BBP_DOC_CHANGE_BADI

Hope this will definitely help.

Do let me know.

Regards

- Atul

Former Member
0 Kudos

Hi

I'm sorry I didn't realize of your scenary, totally agree with the use of the BADI for this issue

Regards

Former Member
0 Kudos

Thanks, I wil try to use mentioned BAdi's. The problem is that for example in BADI DOC_CHANGE for shopping cards I can only overwrite the parameter related to PO Type in Backend. I couldn't find out the parameter responsible for indicating PO type that will be created automatically from SC in SRM (extended classic). I hope that it will be possible in other mentioned Badi's

greeting

Former Member
0 Kudos

Hi

Yes sure.. Please go ahead.. )

Incase you face any issue, please let me know.

Regards

- Atul

Former Member
0 Kudos

Hi Rafa,

We have a similar requirement in extended classic scenario.

Through standard system config we can only create SRM PO's of one document type/transaction type.

We want to create PO's with multiple document types. We also propose to use the BBP_DOC_CHANGE_BADI.

I have 2 specififc questions:

1. How do we maintain the BSA attribute in ECS - We need to maintain the document type and source system-->What is the source system which should be mentioned for ECS scenario? Should it be backend R/3 system or the SRM system (since PO will be created in SRM)?

2. in BBP_DOC_CHANGE_BADI we propose to change the transaction type/document type for the PO based in certain criteria. What is the field which should be changed in ECS? Should it be ET_ITEM - BE_DOC_TYPE?

Regards,

Srivatsan

Answers (2)

Answers (2)

yann_bouillut
Active Contributor
0 Kudos

Hi,

You can overwrite the document type in bbp_doc_change badi

Kind regards,

Yann

Former Member
0 Kudos

Hi

Have you tried changing attribute BSA in Tx PPOMA_BBP.

Regards

Jorge

Former Member
0 Kudos

Isn't this parameter for determining PO type in r/3? But in extended classic I would like to determine the local PO document type....