cancel
Showing results for 
Search instead for 
Did you mean: 

Change PO process type in creation

RicardoRomero_1
Active Contributor
0 Kudos

Hi all,

This is the scenario:

When a SC is approbed a PO is created automatically with some process type.

I want to change this process type depending on some conditions when the PO is being created.

In BBP_DOC_CHANGE_BADI I can't change it, in the structure ES_HEADER (TYPE BBP_PO_HEADER_BADI) I haven't this field.

Do you want how can i change it? Any other badi?

Or I need to create an enhancement point in somewhere in standard code for do it?

Thanks in advance.

Regards,

Ricardo.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you can do it. its not at header level.

it stays at item level.. check ET_ITEM. there you have BE_DOC_TYPE, set this.

RicardoRomero_1
Active Contributor
0 Kudos

Hi, thanks for your answer.

In the structure ET_ITEM of PO (BBPS_SC_ITEM_BADI) I haven't this field.

In the structure of SC. yes. I have that field, but i need to change it in PO not in SC.

RicardoRomero_1
Active Contributor
0 Kudos

Hi Mishra,

You are right,

If we fill this field in the SC when we create a PO from that SC the PO is created with this process type.

Thank you !

Answers (0)