on 05-07-2010 5:22 PM
Dear All,
Is there a way to force partial delivery in BAPI_SALESORDER_CREATEFROMDAT2 ?
By default "complete delivery" is chosen.
I read somewhere that people fixed the issue using transaction OVZJ but in my case, this solution is not satisfactory because if I change this customizing, it changes the working order of the transaction VA01 (sales order creation).
If found a dedicated flag (PART_DLV) in ITEMS_IN table but I was not able to make it work...
Follow my example:
- 27 items in stock
- I want to make an order for 30 items
- VA01 creates the sales order and a delivery with confirmed quantity 27
- BAPI_SALESORDER_CREATEFROMDAT2 creates the sales order and u201Cno delivery createdu201D.
Thanks for your help.
Best regards.
In order to give the solution to all reader in the future. I finally find a solution.
I wrote an OSS message to SAP and they aswer me in this way:
"Dear Customer,
In a BAPI, the ATP check is performed in the background.
Since the system is performing the availability check
in background, the availability screen cannot be performed.
So it is not able to make decisions regarding full
delivery, delivery proposal...In this case,the system uses
the configuration found in OVZJ. If your availability checking
rule in OVZJ is blank, the system will choose full delivery.
Sorry, but I can not give you a better solution to customizing in
OVZJ, if you whish a partial delivery."
In that transaction in customizing I insert the value "E" and the partial delivery is created from VA01 and from bapi too.
Edited by: Fabrizio Di Bitonto on May 20, 2010 10:07 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is the COMPL_DLV flag on the sales order header data ORDER_HEADER_IN.
If this is not set, I think this should allow the order to create partial deliveries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.