Showing posts with label User's Query. Show all posts
Showing posts with label User's Query. Show all posts

Friday, December 12, 2008

Duplicate Purchase Order Number (VBAK-BSTNK) in Sales Order

Same Purchase Order number (VBAK-BSTNK) in Sales Order

The Sales order type xxx "Check purchase order number" is set to "A" (TVAK-PRBST) (Check whether the purchase order number already exists).

Screen: SPRO Sales order type

SCENARIO:
. Open two sessions
. Create sales Order 1 and sales order 2 with the same Purchase Order number at the same time.
. Do not save both orders until both are completed.
. Save order 1 and than save order 2.
. No message "Purchase order number in document & already exists"


SOLUTION:
As long as the document is not saved in database, the R/3 system does not know that the purchase order number already exists.

In SD, there is no buffer table where the temporary purchase order number is stored, in order to check if one already exist. This would impact system performance. As a result, the scenario above is R/3`s standard system behavior.


NOTE:
The standard SAP system behaviour in checking purchase order number:

Case 1:
Create two orders with the same order type, the same sold-to and the same purchase order number.
-> Message V4 115 "Purchase order number in document & already exists" appears

Screen: Sales order message V4 115

Case 2:
Create two orders with different sold-to parties, same order type and same purchase order number.
-> No message V4 115.

Case 3:
Create two orders with different order types, same sold-to and same purchase order number.
-> No message V4 115.


The check purchase order number is validated via the following selection criteria:
. Customer Number
. Sales Order Type

Reference Program Code:
. SAPFV45K
. FV45KF0V_VBKD-BSTKD_PRUEFEN

Forwarding Agent not displayed in General Delivery List, transaction code VL06O

Forwarding Agent not displayed in General Delivery List, in transaction code VL06O (General Delivery List).

Note that for performance reasons mainly, the forwarding agent information is not usually read from the database when launching transaction VL06O.

SOLUTION:
In order to have the information read and displayed in the subsequent list, from the initial screen, check the "Display forwarding agent flag" that appears within the "Display options" section of the selection screen.

Screen: Transaction VL06O