cancel
Showing results for 
Search instead for 
Did you mean: 

Copy PO Number from contract to sales order

Former Member
0 Kudos

Hi,

My clients requirement is that when i create sales order with reference to contract the PO Number should be copied from contract to sales order other wise we have to enter PO Number every time while creating the sales order.

Please guide me.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Small change in the program will copy the PO number from Contract to sales order.In case need take help of ABAPer

Data which is not copied

LOCAL: VBKD-FKDAT.

LOCAL: VBKD-FPLNR.

LOCAL: VBKD-WKWAE.

LOCAL: VBKD-WKKUR.

LOCAL: VBKD-DELCO.

LOCAL: VBKD-BSTKD.

LOCAL: VBKD-ABSSC.

LOCAL: VBKD-BSTDK.

In your data declaration, you have

LOCAL: VBKD-BSTDK

Please comment out this line and your purchase order should be copied over. You might also have to comment out some of the other fields which are declared locally if you wish to copy them as well.

Ramesh