cancel
Showing results for 
Search instead for 
Did you mean: 

Ship to PO number from header level to item level

former_member184509
Participant
0 Kudos

Hello OTC Friends

Ship to PO number from header level to item level is not being copied when an item is created with reference to a quotation in VA02. Header level ship to PO filed VBKD-BSTKD_E, Item Level ship to field VBKD- BSTKD_E.

After creating a sales order in VA01, we are adding a new line item referencing to a quotation in VA02, item created like this is not copying sales order header ship to PO number.

It’s correctly copying sold to PO number VBKD-BSTKD correctly into item level always.

Also if we enter new line item in VA02 without reference to quotation, it is correctly copying ship to PO number correctly into item level.

Any thoughts how to resolve this issue.

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

tao_sun2
Employee
Employee

Hi, I tested in our internal system, but I noticed BSTKD from newly added item which is created with reference from quotation is also copied from header level of sales order.

in standard quotation ->sales order copy control setting, routine 102 is used. In this routine, PO data related information are deleted:

*********************************************************

* PO data should not be copied CLEAR:

vbkd-bstkd, << here

vbkd-bstdk,

vbkd-bsark,

vbkd-ihrez,

vbkd-bstkd_e, << here

*********************************************************

Then bstkd and bstkd_e will use value from header(posnr = 000000).

Could you please check in your copy control via VTAA and check whether similar coding existing.

If this is not the case, please let me know what do you mean by "item created like this is not copying sales order header ship to PO number" Do you mean it is blank or it is the value from quotation.

Best regards

former_member184509
Participant
0 Kudos

Tao ,

1.Thanks for your reply, Yes, we 102 as data transfer routine, and currently assigned it to item level in VTAA .

You can see this in my attached screen, but still it's not working why ? system defect ?.

2. To answer your question in your reply , yes, ship to PO number field is blank, when we add new line item with reference to quotation.

Just let me know if you have any question on this

* PO data should not be copied
CLEAR: vbkd-bstkd,
vbkd-bstdk,
vbkd-bsark,
vbkd-ihrez,
vbkd-bstkd_e,
vbkd-bstdk_e,
vbkd-bsark_e,
vbkd-ihrez_e,
vbkd-posex_e.

copy-control.png

tao_sun2
Employee
Employee

You may consider setting a break point in this routine and watch field vbkd-bstkd. In my internal system, after routine 102 is executed, vbkd-bstkd will be set value from header vbkd table. Then you can watch where this field is removed.

0 Kudos

PO number is usually not copied to target document as quotation may not have a real PO number from customer. Most of the routines do not support PO number copying. If required, use a custom routine, may be a copy of 101 (FV45C102) and remove BSTKD, BSTKD_E from clearing list. Hope this helps.