cancel
Showing results for 
Search instead for 
Did you mean: 

Changing document type of PO backend

Former Member
0 Kudos

Hi all,

We are implementing SRM 4.0. I am creating a PO from bid by changing the transaction type for purchase order to ECPO in SRM. The document type of the backend PO should be the smae as the one which is entered in the field 'Transaction type for purchase order'. Is there any way to access the field 'Transaction type for purchase order' in the badi 'BBP_CREATE_PO_BACK' so that i can change the document type of the backend PO to the one entered in the transaction type for purchase order.

Regards,

Asha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Asha

Not sure if I understand your requirement correctly... but anyway, here it goes:

You can define the document type of the backend PO to be created (e.g. NB) via PPOMA_BBP. Somewhere in your org.structure you can set attribute BSA (e.g. DISCLNT200\NB).

Make sure that in the backend system this document type really exists and has an external number range assigned to it that corresponds to the internal number range of transaction type ECPO in your SRM system.

HTH

Renaud

Former Member
0 Kudos

Hi Renaud,

I have to change the document type of only some POs. Not all the POs. If I change it in the settings of 'PPOMA_BBP' then it will be applicable for all POs in the backend.

Regards,

Asha

Former Member
0 Kudos

Hi Asha

In that case you probably want to use BAdI BBP_CREATE_PO_BACK. There's a table PO_HEADER with field DOC_TYPE.

HTH

Renaud