Deliver Complete and Delivery Groups
Hello All
I am an ABAPer, not an SD consultant, so please forgive me if my question is trivial. I am working an issue in which I'm not sure if there is a config problem or an SAP problem.
The scenario is that I have a sales BOM in a sales order that is marked "deliver complete". The sales BOM items are in a delivery group (1). Since one or more of the component items do not have enough available inventory I would expect VL01N to issue an error message and fail to create the delivery.
Instead, it creates the delivery but simply leaves out any items that do not have available material. Since the delivery groups are present and the sales order was marked "deliver complete" I am not sure why this is happening as I expect the delivery to not even be created.
I found user exit MV50AFZL and commented the first line and un-commented the last line (to return a 2) which indicates our preference to not delivery ANY material from an incomplete delivery group but the delivery gets created anyway.
I'm not sure if additional config or data needs to be corrected, if there is an OSS note I am missing, or if I simply misunderstand how the system should work in this scenario.
I did a search for delivery group here in the forums and looked for notes but couldn't find anything matching our scenario. Any advice is greatly appreciated.
Thanks in advance...
First of all,
Welcome to SDN SD forum.
We should appreciate, that you have done search before posting the thread in the forum.
Coming to your issue:-
Since one or more of the component items do not have enough available inventory I would expect VL01N to issue an error message and fail to create the delivery.
you may be aware, that Sales BOM can be dispatched in two ways, i.e. delivery can be at main item level directly OR delivery can be @ component level & pricing will be carried out accordingly. This will be controlled through item category inturn determined based on Item category group assigned in Material Master - Sales Org 2 tab.
Eg:
If BOM delivery @ Main item level- then item category group for maint item :ERLA
If BOM delivery @ sub item level - then item category group for main item:LUMF
As per your post, it seems you are issuing goods @ component level & in std , Item category will control this material: TAN
if you dont want the system to create delivery,if there is not enough stock available in the inventory, you can fine tune Item Category in such a way in Tcode:0VLP
select Item Cat:TAN & choose "magnifying glass" icon in blue
Mark "Material no 0 allowed" & in Check quantity "zero" - B=situation rejected with an error message.
through which, we allow the system to allow the "Zero" quantity & maintaining "B" in Check quantity zero, we reject the transaction.
This will help especially, when there is no stock in the inventory, then delivery will not be created / saved.
Try & revert
Similar Messages
-
Issue with Delivery Grouping in Sales Order
Hello Gurus,
I have a problem in Sales Order (VA01 & VA02). The issue is as follows.
We have created a material called FREIGHT to calculate the Shipping & Handling cost in a Sales Order. This material has no ATP CHECK, so the Material Av. Date (MAD) is determined as immediate or the current date.
But the business process we want to implement is, the FREIGHT material should not be delivered separately, but should be grouped with one the line items in the sales order which has the earliest material available date and copy the corresponding dates to FREIGHT line item and delivery grouping should be done.
1. Say 1st line item is a BOM Material, next item is a standalone material (Non-BOM), and 3rd item is FREIGHT material.
POSNR Matnr Qty DlvGrp DlvDt MAD LoadingDt
10 BOM (Parent) 1 1 x-date 09/11/2006 x-date
11 SKU1 (Child) x x-date 09/11/2006 x-date
12 SKU2 (Child) x x-date 09/11/2006 x-date
20 Non BOM 1 2 x-date 09/06/2006 x-date
30 FREIGHT 1 2 x-date 09/06/2006 x-date
I know the above example may not be that clear, but this is the space available when you post your topic.
Based on the above example, the earliest material available date is for Line item 20 i.e. 09/06/2006 and assume FREIGHT is also tied to the above line item (20) i.e. line item 20 & 30 are delivery grouped.
Say if I delete line item 20, now FREIGHT should be tied to line item 10 and delivery grouping should also take place get changed to 1 for FREIGHT item.
I need to achieve this using user-exits, but HOW?
Appreciate your views and the solution for the scenario.
Thanks.
Regards,
Suresh GantiHi Suresh,
I guess you can accomplish this using SAVE_DOCUMENT_PREPARE in MV45AFZZ. In table xvbap you will find all order items with an update indicator. If an item has indicator 'D' (deleted) and field GRKOR (delivery group) filled you should find the corresponding FREIGHT line having the same value for GRKOR. Then find the remaining non-FREIGHT item with the earliest material availability date and set the value of GRKOR for this item to the same value as the FREIGHT item.
Regards,
John. -
Delivery group 001 is not complete
Hi Gurus
I created an order with multiple items having different shipping points and transportation groups.
When I am creating delivery, I am able to do split the delivery and process it manually because of different shipping points and transportation groups.
I created another order with the same items, If I am trying to run delivery in background with TCode VL10G or VL10BATCH, it is not allowing me to do so and it is showing an error:
"Delivery group 001 is not complete
Message no. VL089
Diagnosis
Delivery group 001 copied from the sales order on which the delivery is
based, is not complete. Not all items of the delivery group exist in
this delivery."
Can anyone provide some info on how to run deliveries background with help of a batch?
Points will be awarded. Please guide me.Yes. You are absolutely correct. It is about sales BOM.
As this turned into another problem, I started new thread, but I will post the content here as well, coz this is my show stopper. Please help me.
I have sales BOMs.
BOM 1- Header -ABC, with components 1212, & 2323.
BOM 2 - Header DEF, with components 4545, 5656
Transportation group (from Material Master)
Z01 - Restricted
Z02 - Unrestricted
Loading Group (from Material Master)
Z01 - Restricted
Z02 - Unrestricted
I have few BOMs where the transportation group of header item and components BOTH do not differ and ALSO differ to one another.
eg:
ABC Z02 DEF Z01
1212 Z01 4545 Z01
2323 Z02 5656 Z01
Ship.cond ; Trans.Grp ; Route
A1 Z01 OVNT
A1 Z02 4DAY
Ship.Cond ; Loading Grp Plant Ship.Point
A1 Z01 1000 ZS1
A1 Z02 1000 ZNS1
I created an order with a Sales BOM that has both restricted and unrestricted transportation group components.
But for the whole BOM (including components), it is pulling up the data of Header item (route & shipping point) and it is not bringing in appropriate info (route & shipping point) of components.
EG: IDEALLY IT SHOULD BE LIKE THIS:
ROUTE SHIP.POINT
10 ABC 4DAY ZNS1
11 1212 OVNT ZS1
12 2323 4DAY ZNS1
BUT IT IS SHOWING UP IN ORDER LIKE BELOW:
ROUTE SHIP.POINT
10 ABC 4DAY ZNS1
11 1212 4DAY ZNS1
12 2323 4DAY ZNS1
Hope I am clear. I want to see the route and shipping point of components as they are determined from route determination and shipping point determination, unlike what I see now.
2) Where I can find the configuration of Delivery group and other than in Item Category? Can you please suggest me the path? I would like to see separate delivery groups if the route and shipping points differ to the items in order for the appropriate delivery split.
Please guide me how to fix this.
Edited by: Vamsi Sai Srinivas on Dec 8, 2008 5:21 AM -
Unchecked final invoice and delivery completed indicator via BAPI_PO_CHANGE
Hi All,
Is it possible to reset the final invoice and delivery completed indicators of PO in ME23N using BAPI_PO_CHANGE? I need to unchecked the final invoice and delivery completed indicators for all POs in our system that were accidentally updated to delivery completed and final invoice by the user.
Points will be rewared.what i did now is to create a prototype program like the one below:
CONSTANTS c_po TYPE bapimepoheader-po_number VALUE '0040001816'.
DATA: t_poitem-po TYPE bapimepoheader-po_number,
t_return TYPE STANDARD TABLE OF bapiret2,
t_poitem TYPE STANDARD TABLE OF bapimepoitem,
t_poitemx TYPE STANDARD TABLE OF bapimepoitemx,
x_return TYPE bapiret2,
x_poitem TYPE bapimepoitem,
x_poitemx TYPE bapimepoitemx.
t_poitem-po = c_po.
x_poitem-no_more_gr = 'X'.
x_poitemx-no_more_gr = 'X'.
x_poitem-final_inv = 'X'.
x_poitemx-final_inv = 'X'.
x_poitem-po_item = c_po.
x_poitemx-po_item = c_po.
APPEND x_poitem TO t_poitem.
APPEND x_poitemx TO t_poitemx.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = t_poitem-po
no_messaging = 'X'
no_message_req = 'X'
TABLES
return = t_return
poitem = t_poitem
poitemx = t_poitemx.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDIF.
The program is working if you will mark the PO as delivery completed and final invoice with suppressed output. The problem is i need to do the reverse which is to unmark. I replaced the value of no_more_gr and final_inv from 'X' to space but it is not working. -
Delivery grouping and the delivery date for group in SD
Hi
Using a userexit I am grouping certain materials together. However the delivery date for group field is not picking up the expected date.
Assume the following example:
Material X Delivery Date 20.12.2006
Material Y Delivery Date 27.12.2006
If I group them together I expect the delivery date for the group to become 27.12.2006 however it is picking up 20.12.2006.
If anyone has some thoughts regarding this they would be most appreciated.Yeah got ur point i was mapping the table configuaration for ur reference.
This grouping is supposed to make sure that all materials are delievered at the same Date (VBEP-EDATU) and must use the last date in the delivery group.
say materials X -- DELIVERY DATE 20 12 2006
Y -- DELIVERY DATE 27 12 2006
so the matnrs are avalaible in VBAP along with for the VBELN and POSNR values now pick the delivery date for this material from VBEP ,,
Now once the itab is sorted by delivery group and EDATU descending .
so X and Y are present in for delivery group 001 say .
X -- DELIVERY DATE 20 12 2006
Y-- DELIVERY DATE 27 12 2006
after sort by date it will be
Y-- DELIVERY DATE 27 12 2006
X -- DELIVERY DATE 20 12 2006
which will pick up the latest date (or max date)
Tis was what i meant to say.
what is the incude you r using ?
regards,
vijay -
Delivery status B and TO status C , Deliver qty and Pick qty are equal
Hi
OBD status is wrong and its coming as Partialy picked for a item however the delivered qty and pick qty are equal. also TO is created and confirmed for delivered qty.
I have checked TO is not pending for confrimation please advise.Hi Rahul,
Please check the OSS note
1475784 - Delivery header status is not consistent with item status
Try to run report RVDELSTA in simulation to check whether system propose any change. if at all you are not getting any positive result from above steps raise an OSS note with SAP -
'Delivery Completed' and 'Final Delivery' indicators in me23n
Hi Guys,
What's the difference between the 'Delivery Completed' and 'Final Delivery' indicators in me23n?
Best Regards,
Alper MyumyunHi,
EKPO-ELIKZ ("Delivery Completed" Indicator)
SAP help (pushing F1 on the field):
Indicates that the item is to be regarded as closed.
(SAP F1 in MIGO)
Indicates whether the delivery completed indicator is set for this item in the corresponding purchase order.
Use
This indicates the current status of the purchase order item.
EKPO-EGLKZ ("Outward Delivery Completed" Indicator)
SAP help (pushing F1 on the field):
If this indicator is set, no further outbound deliveries can be generated for the item.
The indicator is used in conjunction with a partial delivery arrangement. If the partial delivery arrangement provides for just one delivery attempt, for example, the system automatically sets the "outward delivery completed" indicator when the outbound delivery is created.
You can also set the indicator manually.
Regards,
Csaba -
Sales order as complete and change the delivery status.
Hello All,
We produces an order but then the customer calls and does not want the material so we in turn will scrap the material against the production order using transaction MB1A mvmt type 951 E.
Since the material were scrapped and no material were shipped against the sales order, the sales order u201Coverall statusu201D remains open and the delivery status is u201Cnot deliveredu201D.
To close the order we u201CRejected line itemu201D and moved on.
I would like to know if there is another way we can set the sales order as complete and change the delivery status.
Regards
AmitHello,
you can use the status profile for the same. but a better way would still be to use the rejection reasons . the rejectionr reasons are very well integrated with the document flow as well as transfer of requreiemnts to Production
so a best practise would be to use rejection reason
hope this helps
Thanks
akasha -
BADI to get GR done flag , Final Invoice flag and Delivery completed flag
Hi all,
An Idoc needs to be triggered for PO line items to indicate different flags. As soon as MIGO or MIRO is done for PO line item, I have to check three flags namely GR done flag , Final Invoice flag and Delivery completed flag and send information of these flags as set.
I want to know which BADI or User exit will give information to indicate that either of one or all above flags are set for PO line item as soon as MIGO or MIRO is used.
Thanks in advance,
MadhuraHI,
When Purchase order is created with reference to contract, system carry
out the check whether Document date of PO should be within contract
"validity start" and "vaidity end" date. If document date is outside
the "validity start" and "validity end" date of PO, message 06 040
"Validity period of contract does not start until &" or message
06 041 " Validity period of contract expired on &" is raised.
Same check is also carried out during any change in PO (txn ME22N).
Please use one of following option to close the PO.
1. Change the category of message 06041 as warning in customization.
Txn OLME.
Environment Data -> Define Attributes of System Messages ->System
Messages
2. Change the validity end date in contract and close the Purchase order. Validity end date can be reverted.
BR
Nadia Orlandi -
Exchange 2013 - Delivery Groups, Routable DAGs and Delivery Queues
Hey Team,
I am trying to better understand Exchange 2013 Delivery Groups and Boundaries. I think I have it almost figured out, I reviewed this article here which helped clear it up for me:
http://www.msexchange.org/articles-tutorials/exchange-server-2013/planning-architecture/exchange-2013-mail-flow-part2.html
I need to understand the difference between and exchange 2013 delivery and how a delivery is group is different from the way that Exchange 2010 routed mail.
For some reason I am just not getting the differences between 2013 and 2010 in terms of message delivery.
Thanks,
Robert
RobertHi,
In Exchange 2013 there are only two roles, while five roles in Exchange 2010. There is difference between Exchange 2010 and Exchange 2013 on mail delivery.
The following articles can help you to understand the difference of mail delivery between Exchange 2010 and Exchange 2013.
Mail routing (For Exchange 2013)
http://technet.microsoft.com/en-gb/library/aa998825(v=exchg.150).aspx
Understanding Message Routing (For Exchange 2010)
http://technet.microsoft.com/en-gb/library/aa998825(v=exchg.141).aspx
Hope this is helpful to you.
Best regards,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Belinda Ma
TechNet Community Support -
Change sales office and sales group after delivery and invoice is created
Dear All,
after we create invoices for 60 sales order we found that the sales office and sales groups are wrong, we need to change these orders,
is there any way rather than cancel the invoices ?Are they greyed out?? check with T.code MASS , obejct type BUS2032 and select sales header and input your sales order > execute
-
Hai,
1. One of the prerequisite for the delivery group to perform is {It can only contain items that can be atleast partially delivered?)
What is the meaning of this prerequisite? we are creating delivery group to ensure that all items should be deliverd together.
2.can we maintain partial delivery indicator at item level?
3. can we have items that more than one schedule lines?
Regards,
Keyur.phi,
atleast partially delivered, i understand as say a bom x is order 5 units containing a,b,c each say 1, 2,3 and that make up one unit of X.
now when we want to deliver this bom x, at one complete unit ie.
a-1
b-2
c-3 must be there. but however we delivering only one unit of x against an order 5 units.
we can check the <b>item status</b> if it is competely delivered or not.
we can have items with more than one schedule line. Assumig an order of 50 units is placed for product P, and we have only 20 units. The system automatically confirms that 20 today and for the rest 30 it will calculate the required time to get the stock based on availability check, and gives a second schedule line date.
Hope i answered your queries. Pl reward if helpful.
Thanks,
Sadhu Kishore -
Automatically creation of delivery group in the sales order
Hi Can u please tell me how do i create automatically delivery group in the sales order.
Hi,
You can maintain the complete delivery indicator in your Customer Master(Ship to Party ) record shipping tab(Partial deliveries).
As per SAP ,This indicator
Indicates whether a sales order must be delivered completely in a single delivery or whether the order can be partially delivered and completed over a number of deliveries.
There by it can form a Delivery group.
Have a Nice Day.
Regards,
Ravi -
Delivery group 000 consists of only one item
Hi All,
I've the following issue(s):
Customer Master is set with "Complete delivery required by law" flag.
Partial Delivery per item = B.
Max. Partial deliveries = 1.
However, when I create an SO for this customer: then in the SO, the complete delivery flag is not set.
Also, i get the msg: "Delivery group 000 consists of only one item".
I checked the item category in VOV7, no delivery grp flag set.
Please help me with both issues.
Regards,
Raghu.Dear,
For complete deliver select - C (Only complete delivery allowed),in customer master,
Then in sales order it will appear with tick mark, and when you creating delivery & if you change delivery quantity then system will popup dialog box, saying complete delivery required.
Delivery group (items are delivered together)
A combination of items that should be delivered together.
Use
The system uses delivery groups to check the availability of items that should be delivered together. The delivery date of the latest schedule line in the delivery group is taken as the general date for the whole group.
Procedure
During sales order processing, you can enter a number (up to three digits) that identifies a delivery group. The number is freely definable.
Regards,
kapil
Edited by: Kapildev Farakte on Nov 18, 2009 11:33 AM -
Hi Gurus
Where do I find the configuration option for setting up Delivery Groups
We are using SAP CRM 2007 in a standalone environment
Many Thanks
PandurangaDear Rahul,
Delivery group
The manual or automatic grouping of one or more items (main items and/or sub-items) in a sales order so that they can be delivered on the same date.
An item that is confirmed for several delivery dates can be confirmed for a single delivery date if it is assigned to a delivery group. This is the latest delivery date of all the confirmation schedule lines of this item.
All items that are assigned to the same delivery group are confirmed for a single delivery date. This is the latest delivery date of all these items.
If the sales order is marked in the header for complete delivery, then all items will be assigned to the same delivery group.
Regarding Configuration
You can do the Delivery group settings in the itemcategory detail screen.
Go to VOV7 transaction select the item category to which you want to activate delivery group then go in to the detail screen here you can find the field Create Delivery Group under Bill Of Material/Configuration tab maintain related settings in that field.
I hope this will help you,
Regards,
Murali.
Maybe you are looking for
-
Hi I do not have the pass word for my Macbook 13" as i got it second hand and can not open email account from the bar as it ask for a pass word i can't get please help
-
SRM MDM 3.0 Catalog in MDM 7.1 - Portal Integration - Failed Connection
Hi All, We are in the process of building up SRM MDM Catalog 3.0 in MDM 7.1 environment, we are able to login/Configure using http://Server:port/SRM-MDM/SRM_MDM , but when we try to connect to the same URL using portal workset - Emplyee Self service
-
Dear experts, when i m goin for hiring-new employee thr PA40, the personel number is generating even I not saved it. The personel no. is getting generated in sequence everytime even I not saved it. Pls help jigs
-
Field Level Help on Tabular forms
Hi, Is there any easy way I can add field level help to tabular forms? If I create a form on a table I can add help for each field, however if I create a tabular form there seems to be no way I can associate field level help with a column. I know tha
-
Reverse geotagging in lightroom 5 with street name and number
i would also like to have the street name and number on the metadata field in lightroom 5. how can i get that? thanks