cancel
Showing results for 
Search instead for 
Did you mean: 

Create a purchase order from a sales order in S4/HANA

jzarco1993
Explorer
0 Kudos
1,414

Hello everyone,

I am trying to create a purchase order from a sales order using TAB item in S4/HANA. In SAP ERP I have been able to create purchase orders using the TAB item without any problem.

I have configured the same parameters in S4/HANA as in SAP ERP:

- Automatic order checkbox activated in the TAB item.

- Automatic purchase checkbox activated in the material master

- Automatic order checkbox activated in the supplier master

- Source list mantained

- ALE data informed in sales organisation

I have not succeeded after all activations to create an automatic purchase order from a sales order.

Do any functions have to be activated in S4/Hana for this to work?

View Entire Topic
RamReddyPBV
Participant
0 Kudos

Hello jzarco1993,

Can you confirm what is the schedule line category determined into the sales order, and is that relevant for IPO or Third-party?

You can find schedule line category from item level schedule lines view and check config at VOV6.

Thanks,

RamReddy

jzarco1993
Explorer
0 Kudos

Hi RamReddy,

The put the schedule line category TAB in the sales order manually and a PR is genererated but not the PO. Can a schedule line category be activated to be relevant for IPO? I haven't seen any checkbox that allows me to do so, only in the item category. In the item level, I have active 0-Standard, I still have it in SAP ERP and it creates the PO automatically.

RamReddyPBV
Participant
0 Kudos

Yes Juan,

Account assignment category should be "E" (E - Customer individual requirement) in the schedule line category.

As you are saying PR has generated. Can you check whether the source of supply has been assigned or not for the PR. If yes do ME59N, then the PR will be converted to PO.

Thanks,

RamReddy

jzarco1993
Explorer
0 Kudos

Hi RamReddy,

I tried with "E" (E - Customer individual requirement) instead of "M", and still, it does not generate the PO automatically.

Regarding the source of supply, it is indeed asigned in the PR, but the idea is not to use ME59N to convert it to PO, but to create the PO automatically when saving the sales order.

RamReddyPBV
Participant
0 Kudos

To generate PO automatically, you will need a scheduled a background job which converts PR into PO.

Thanks,

RamReddy

jzarco1993
Explorer
0 Kudos

Hi RamReddy,

You are completely right. In our SAP ERP, the PR is converted to PO by means of workflow. It is also possible to convert it to PO by means of a batch job.

Thanks for your help!!