cancel
Showing results for 
Search instead for 
Did you mean: 

Pull a field from Sales order into automatically created purchase requisition

Lbasadien26
Participant
0 Kudos

Good Day,

I'd like to bring in the PO number field into my purchase requisition tracking field as below. This is for a third party sales order tat automatically creates a purchase requisition

.

Accepted Solutions (1)

Accepted Solutions (1)

former_member233510
Active Contributor
0 Kudos

Hi Lindsay,

Go for an enhancement, write a logic to get VBAK-BSTNK (PO number) and fill EBAN - BEDNR (tracking number). You've to include this logic in the requirement 102 (Transaction OVB5) which create purchase requisition automatically from the third-party sales order upon saving. 

BR, Rosh.

Lbasadien26
Participant
0 Kudos

Should this field then pull automatically into my PO?

I manually entered the tracking number in my PR for now, after converting the PR to a PO in ME59N the tracking number is not copied into the PO. Do I need an enhancement here as well?

former_member233510
Active Contributor
0 Kudos

Once you updated the tracking number with sale order PO number in the background, then when you convert the PR to PO the tracking number will be copied to PO and you can find the same under the field  "Requirement number".

ankurch
Active Contributor
0 Kudos

Hi Lindsay,
There is no additional configuration required to update the requirement number field from Purchase requisition to purchase order!

You just need to create purchase order with the reference of the same purchase requisition!!

Thanks & regards,

AC

Lbasadien26
Participant
0 Kudos

Yes I see that it does pull through:

Answers (2)

Answers (2)

BijayKumarBarik
Active Contributor
0 Kudos

Hi,

As PR created from Sales order automatically - you can use standard BADI: MD_PURREQ_CHANGE to meet your requirement. Discuss with ABAPer to have own coding logic to bring  Customer PO number from sale order to tracking number field  in PR.

Regards,

Biju K

former_member197616
Active Contributor
0 Kudos

Hi If it is that case you have to go for an enhancement .That is not a standard functionality. Regards