Auto Create Outbound Delivery and Shipment from IDoc
Hi Ppl,
Currently, we have a transport company which handles all our transportation of goods to our customer.
We develop a project, phase 1 which we automatically sends sales order in form of IDocs to our transport company and they in turn we send us an excel file on how they have group those sales order into shipment using their own criteria of weight, destination, customer etc.
Now, on our phase 2 of the project, we want the transport company to send us this file in form or IDoc or acceptable file format and which will automatically create outbound deliveries and shipment on how they grouped it.
This should also be able to change deliveries or shipment if the sales order changes.
Please how do we go about this?
Thanks all for your help.
Hello,
As far as I know, you need to have a custom IDoc scenario for this. Here is what you can do.
1. Create a custom IDoc Type to receive Orders.
2. Create a Custom message Type & Custom Process code along with the Custom Posting Program (FM) for this requirement.
3. Perform the validations & process the IDocs by using the WS_DELIVERY_UPDATE & WS_DELIVERY_UPDATE_2 for creating Deliveries & BAPI_SHIPMENT_CREATE FM to create the Shipments.
This being a custom scenario, you'd be required to do some custom development as well in order to meet up with your business needs.
Hiope this was helpful.
Regards,
Venkata Phani Prasad K
Similar Messages
-
Create Outbound delivery with QCI from Sale order
Dear experts!
Now, I'm getting some issues about searching function to create outbound delivery with QCI from Sale order.
Note: My sale order have two item (10, 20) and when i create outbound delivery I also want to create QCI for them.
Help me, Please
Best regards, Huy.What is QCI?
-
Create Outbound Delivery and Billing documents
Hi Experts.!
Please I need your helps... I need create an Outbound Delivery Without Order Reference (similar to the tx vl01no) and a Billing Document (similar to tx vf01).. But I can't found the function or a bapi for it..
Thanks,
GustavoI'm trying create a bachinput for my requirement, while I found the correct BAPI or FM.
-
Automatic Goods Issue after Outbound delivery and shipment.
Hi,
I am working on LES part.
Could you please explain me how to do Automatic post goods issue for shipments.
(in our scenario where after outbound delivery, picking, packing shipment takes place.)
Can we use VL23 for automatic goods issue for shipments? (or igoods issue is only for outbound deliveries?)
If so what is the selection criteria for background scheduling-Variants?
Please explain me in detail
Thanks a lot.Anil,
Not sure if I understand your question, Goods Issue is posted for the delivery and not the shipment. In a shipment you can update the actual values for Planned, Check-In, Load Start, Load End etc values. A shipment can have single/multiple deliveries, you can use VL23 for scheduling a background job to do the PGI automatically, use either the standard variants or define your own variant and use that variant to schedule the job.
hith
Sunil Achyut -
Delivery and Shipments for idocs posting
Hi
- warehouse shipment advice (EDI 945) related (to update qties, packing info, and post G/I)
can i use DELVRY01 or DELVRY02. . which one for what.
- customer ASN (EDI 856) related - SHPMNT01 to SHPMNT03
will it update delivery
& also the shipment documentHi there,
as its quite a bit of work to find out which fields to fill when posting idocs, here is an example idoc that updates LE shipments and does a shipment completion:
Message Type SHPMNT Basic Type: SHPMNT05
Segment Field Description Sample
E1EDT20 TKNUM Shipment Number 1101933359
E1EDT20 EXTI1 Shipment External reference 1101933359
E1EDT18 QUALF Qualifier CHA3%
E1EDT18 PARAM 3% (Means that all fields that are filled in the idoc shall be changed. others unchanged.
E1EDT10 QUALF To indicate that the sap must do a shipment completion 004
Repeat segment if you need to do other things
E1EDT10 IEDD Shipment completion end date 20110926
E1EDT10 IEDZ Shipment completion end time 101344
E1EDT20 VBELN Delivery number (with leading zeroes 10 digits) 0083127938
E1EDL24 POSNR Item Number (with leading zeroes 6 digits) 000001
E1EDL24 MATNR Material Number (with leading zeroes 18 digits) 000000000000450931
E1EDL24 WERKS Plant 74A7
E1EDL24 LGORT Storage location POLC
E1EDL24 CHARG Batch number LOLO -
Function Module for Creating Outbound Delivery
Hi All,
Please provide me the FM Name which will create the outbound delivery same as VL01N transaction and I needs to update Serial Numbers also. Please help me to find the FM which will create outbound delivery and behave same as VL01N transaction.
Thanks in advance.hi
check FM 1:
CLEAR: ls_request.
ls_request-document_type = 'A'.
ls_request-document_numb = tvbap-vbeln.
ls_request-document_item = tvbap-posnr.
ls_request-quantity_sales_uom = tvbap-KWMENG.
ls_request-PLANT = tvbap-werks.
ls_request-STGE_LOC = tvbap-lgort.
ls_request-MATERIAL = tvbap-matnr.
ls_request-batch = tvbap-charg.
ls_request-date_usage = p_datvw.
ls_request-date = p_date.
ls_request-time = p_time.
APPEND ls_request TO lt_request.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
* EXPORTING
* DELIVERY_EXTEND =
* TECHN_CONTROL =
TABLES
REQUEST = lt_request
* PARTNER =
* PARTNER_ADDR =
* TEXT_HEADER =
* TEXT_LINES =
CREATEDITEMS = CREATEDITEMS
RETURN = RETURN
* EXTENSION1 =
* EXTENSION2 =
* CO_CHAR_VALUES =
* BATCH_ATTRIBUTES =
* BATCH_VALUES_CHAR =
* BATCH_VALUES_CURR =
* BATCH_VALUES_NUM =
* TOKENREFERENCE =
or FM2:
CALL FUNCTION 'W_FRM_DELIVERY_CREATE_GENERAL'
EXPORTING
I_INTERNAL_COMMIT = 'X'
I_NO_LOCK_DOCS = 'X'
I_INIT_UNIT_CONV = 'X'
TABLES
T_DOCUMENTS = ITAB_DOCUMENTS
T_MESSAGELOG = ITAB_MESSAGELOG
T_VBLS = T_VBLS
EXCEPTIONS
NOTHING_TO_DO = 1
MESSAGE_ACCORDING_LOGS = 2
OTHERS = 3.
regards,darek -
Create outbound delivery thru Idoc
I am working on a sales return scenario in SAP as below :--
01. Creating Return sales Order in SAP thru inbound Idoc ( ORDERS01)
02. Triggering outbound Idoc ( ORDRSP/ORDERS05) from return sales order to our return plant.
03. Customer will send returned goods to our return plant. Plant will send us an Idoc to create delivery in SAP.
04. Once delivery is created thru Idoc , our batch job will do PGR.
05. Billing batch job will generate credit memo for return.
I am looking for advise on following points :--
01. Can we create outbound delivery thru DESADV Idoc ?We are also planning to update delivery Item text thru this Idoc.
02. SAP standard provides ( SHP_OBDLV_CREATE_SLS) this Idoc to create delivery with reference to Sales Order but not able to update delivery text thru this ?
03.Any other way-out to create delivery and update delivery text thru inbound Idoc?
Thanks in advance!!
Best Regards/RajeshCreate your own and assign as processing the BAPI or a wrapper for it.
Enjoy -
Create STO,Delivery and PGI delivery from an interface
Hi,
We are using a third party WMS system to manifest and ship orders froma distribution center to a store. The only data that is going to come into SAP is the Bill of Lading as to how much has shipped for a material to the store from the DC. This has to drive a Stock transport order cycle of creating an STO, create and PGI delivery. As we are building the interface, I am a bit confused as to how we can make all this happen from one data feed. Since there is only one feed and it has to trigger mutliple processes should we trigger multiple idocs (different types) to trigger the STO creation, create the delivery and PGI it (Delivery 03 idoc)?
Will it be too cumbersome to build all this logic in the interface?
Another option would be to create the STO using the feed, then run VL10B in a given time interval (Background) to create the delivery.
However, I am not 100% sure how you can spawn off a PGI job? Even if I were to run the VL02n program in the background how can I populate the pick quantity?
Any insight would be very useful.
Thanks..My assumption is just you need to adopt delivery qty as pick qty.You are not doing any TR ,TO as your ware house is third party managed.
you need to define the picking form EKOO to your shipping point type and then the quontity will copy
You can do it in the difintion of the shipping point, you have to difine send time = 4
I will explain how need to set up this automatic picking, and then you can
work backwards from there. The automatic picking you are experiencing
is actually related to the output type EK00 assigned to your shipping
point.
Consider the following two setup steps which will result is automatic
picking:
Set the output type to EKOO, in the print picking list of the shipping
point in customizing.
Make sure the parameters below are set:
Message Language
Number of Messages
Send Time <<<<<<<<<<< this must be set to 4 (send immed)!!
Transmission Medium
1) you have to set the parameters for EK00 in the shipping-point-
maintenance in customizing:
-> Enterprise Structure
-> Definition
-> Logistics Execution
-> Define, copy, delete, check shipping point
2) as second step you define the shipping-print-parameters in
customizing:
-> Logistics Execution
-> Shipping
-> Basic Shipping Functions
-> Output Control
-> Define print parameters shipping
-> Shipping (Spec.case)
Therein there should be an entry for every shipping-point, where
you like to use the picking-list EK00!
If you have 1 & 2 setup for a particular shipping point you will
experience the "automatic" picking of deliveries.
and finally picking storage location determined as per storage conditions maintained in material master. -
Configuration for creat auto background job to create outbound delivery
Dear Experts,
Kindly let me know where and how can I configure auto background job for creating outbound delivery, TO and Print picking list
Thanks in advance
Shetty< Job for delivery creation:>
1. you can run tcode vl10batch to schedule a job with your own variant.
2. alternatively, you can directly schedule a job in SM36 -> program RVV50R10C, variant
When define variant for background delivery creation, please make sure:
- "Select rule" must be set to '2'.
- "F code profile" should be '5001' (Fcodes GET, PREPARE, SAMD should be included.)
<Job for TO creation>
1. Run tcode VL06p with your own varinat -> click button "create TO in background"
2. Alternatively, you can directly define a job in SM36. -> program name WS_MONITOR_OUTB_DEL_PICK.
<Job for printing pick list>
1. run tcode VL70 with your own variant -> goto menu bar / program / execute in background -> then a job is created.
2. Alternatively, you can schedule a job in SM36 -> program SD70AV4A. -
Exit to set the automatic PGI and picking while creating outbound delivery
Hi experts,
Could anybody suggest how to set the automatic PGI and Picking while creating outbound delivery.
Currently we are settting VBUK-WBSTK field with value C. But PGI is not happening.
kindly help me.
Regards,
RaviHello Parihar,
thanks for reply.
yes we know that "This process of picking and GI involves reducing the stock and allocating the goods to the delivery"
if you go for Custom program and Use FM WS_DELIVERY_UPDATE, we can do Picking and PGI.
our requirement is to do pickong and PGI while creating Delivery it self, based on this output types will be processed. -
VA02 - transfer packing propsal from order to delivery and shipment
hey ,
how can i transfer the packing propsal in VA02 to delivery and shipment ?
is there any copy control for this ?
Regards
ASAHi Asa,
You have to use some ABAP code (copy routine) to achieve this...
SAP online help:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/65/79f328a70111d2b44e006094b9b9dd/frameset.htm
Packing proposals in sales orders and scheduling agreements
It is possible to enter packing proposals in sales orders and scheduling agreements. These specifications automatically lead to a packing proposal in the delivery if a special data transfer routine is maintained in Customizing for copying control between the sales documents and the delivery. The packing proposal can be changed in the delivery. It is also possible to pack the delivery according to the packing proposal in the preceding document by using the Use proposal function in delivery processing.
Define the data transfer routine:
SPRO > LE > Shipping > Copy Control > Define FORM Routines for Data Transfers (menu > Data Transfer > Handling Units)
Set the routine in copy control
SPRO > LE > Shipping > Copy Control > Specify Copy Control For Deliveries (see field: V_TVCPLAK-GRUVS)
Reagrds,
Csaba -
Automatic Batch determination while creating outbound delivery
Hi,
I have already performed following steps, but still i am facing problem for Automatic Batch determination while creating outbound delivery :
1.CT01- Creation of Characteristics. ( Define Selection Class )
2.CL01- change. ( Define Selection Class )
Add Characteristics in u2018CHARu2019 tab And save .
3.CU70 u2013 create u2018Sorting Sequenceu2019 and assign characteristics
4.Batch Search Procedure & Strategy type
V/C3 u2013 Batch Search Procedure and assign the strategy types
a.To create condition type T. code V/C1
b.To create access sequance T. code V/C2
5.V/C5 - Allocate SD Search Procedure/Activate Check u2013 assign sales organization , order type into Batch search procedure.
6.V/CL - Activate Automatic Batch Determination in SD - Activate automatic batch det. for delivery item categories u2013 select item category and activate auto batch determination
7. VCH1 u2013 Create batch search strategy against strategy type as per the access sequence needed.
Please let me know is there any other step, apart from it.
Tx
UtsDear saravanan,
Re :Check from ur material master view ' Sales: General/Plant Data' that availability check should be 02 and batch management should get activated .
Done!
Re: check CT01 - addnl data table name and field name maintained ( which field to be taken for batch determination )
Done!
Re:check CL01 - char - is maintained with CT01 char
Done!
Re: check from v/c1 'Sort sequence' and Qty proposal 1 are maintained correctly.
Done!
Still i am not able to get batch automatically...
Is there any LIFO or FIFO settings i have to maintain in Material master.
Pl guide.
Tx
Uts -
Does item category TAS allow to create Outbound delivery doc?
Hi experts,
I have a problem with the delivery creation. The scenario is:
Our vendor missed to deliver a part to us. Say for example he missed to delivery the screw (used to adjust the time) in the wrist watch. This part is supposed to be assembled together with the wrist watch & delivered to our customer.
Now we need to deliver this missed part to our customer. The initial watch has been shipped to the customer without the screw. But the cost of the screw is already included in the total cost of the watch.
Now the vendor is going to send us this screw. So my requirement is to create a subsequent free of charge kind of sales order that triggers a PR to the vendor & once this PR is converted to PO, on the PO
the Free Item will be ticked as the Vendor charged us for the whole wrist watch. This is also a kind of subsequent free of charge delivery by the vendor.
When I use item category TAS it does generates the PR & I converted this to a PO to this vendor. I also did the GR for this PO. But when I create outbound delivery for this subsequent free of charge sales order,
it says the item is not relevant for delivery.
Could you tell me how to handle this situation & what item category to use which will allow me to create
Outbound delivery so that I can proceed to post goods issue & create 0 dollar invoice?
Thanks for your help.
Regards,
PriCheck the item category configuration for TAS. It does not have the tick for 'Item relevance for delivery'.
This can be seen in the following path:
IMG > Sales and distribution > Sales > Sales documents > Sales document item > Maintain item categories.
The idea of having a 3rd party sale (with item category TAS) is that the item is directly delivered from your vendor to customer. When you perform goods receipt of the PO, it will not ask for a storage location, since the product does not enter the plant premises.
This is a one step method to dispatch goods directly. Hence the outbound delivery is not required once GR is done. The next step is to enter a vendor invoice followed by customer billing document.
If you check the accounting part of the GR material document it will be
Cost of goods sold DR
GR/IR clearing account CR
However, in your case, since the material is a FOC, there should not be an accounting document, and hence no vendor invoice verification / customer billing.
In standard, the item category TAS is relevant for billing. Hence if you do not require billing (being FOC), I suggest you use another item category (a copy of TAS) without billing relevance. I guess everything else should fall in place.
Regards,
Aroop -
Creating outbound delivery with reference to inbound delivery
Dear all,
My requirement is as follows:
I get an inbound delivery from my vendor for the our sales orders. (For n number of sales orders having same shipping point, shipto party ad sold to party, we get one inbound delivery) As of now we are using that inbound delivery and read data from LIPK and LIPS and using 'BAPI_DELIVERYPROCESSING_EXEC' to create outbound delivery.
But, it is creating one delivery each for every sales order. What we require is to create only one outbound delivery.
I have searched in forums and tried to use VL10A, VL10C but since the delivery dates of each order are different I cant use those transactions.
Now I have two options:
1) Take inbound delivery as reference and create outbound delivery. Are there any FM's or BAPI's for this which will create 1 outbound for each inbound?
2) Can we combine multiple sales orders into a single delivery when the delivery dates are different.
Could you please help me.
Thanks in advance,
AravindHi Aravind,
I am facing some issues while creating Outbound delivery using the BAPI 'BAPI_DELIVERYPROCESSING_EXEC'. I am getting the error message in return parameter as "No instance of object type OutboundDelivery has been created. External reference:"
If you are successful in creating Outbound delivery, please suggest what may be the issue for this message. Iam passing the exact sales order no and item no., quantty and unit of quantity. Also manual creation of Delivery using VL01N is successful but using the BAPI it is unsuccessful. Please suggest with your valuable points on this.
Regards,
Vimala P -
Dear Team,
Can you please help me by providing the BAPI name for creating the outbound delivery for Scheduling Agreement in SAP SD .
I faile to create outbound delivery with reference to scheduling agreement by using BAPI_OUTB_DELIVERY_CREATE_SLS.
The system says "missing data in the BAPI interface: VBAK VBTYP E". It seems another FM should be used for scheduling agreement only.
Thank you for your help in this regard .Hi Raghu.
As much as I don't want to do this but just to resolve this error I created an enhancement implementation in include LV50R_CREACSV form routine dcs_check_so_vs_interface and modified VBTYP to blank to avoid that error message.
Got the tip from this thread http://scn.sap.com/thread/1972059
Unless... anybody has a brighter idea (without modifying the standards)?
Maybe you are looking for
-
Charges on ny account for purchases not made. I recently bought twi games and now I'm b we ing charged fir others I did not make!?
-
When attempting a reinstall of iTunes, I cant delete the file C\Program Files\Common Files\Apple\Internet Services\Shellstream.resources due to same error message as described above for iPod file; however i can't find it anywhere in the Task Manager
-
I have downloaded Server 2012 R2 (not the trial version) and the size of the ISO is 5.2Gb. I get 'disc image file is too large' error when trying to create image on DVD. How do I install 2012 R2 on a new physical server?
-
Where is the Remote App option (to pair devices) in iTunes on Windows 8?
I know it used to be in the sidebar, and view options. Now with the sidebar removed, and it being gone from my options list, I'm at a loss of where to look. I just need to find the options page where you input the code to pair my App with my Computer
-
Anyone know any status for opus codec support in the native end users flash player? Been very curious,impressed with test results of my own, and excited about this: http://www.opus-codec.org