Create outbound delivery / incoming IDOC
Hi,
I working on a interface. Whenever an IDOC come inside to SAP from a non sap system it has to create a outbound delivery for the existing sales order.
The incoming IDOC will carry the sales order number,.
Please let me know which Basic type I need to use. Currently I am trying with SHP_OBDLV_SAVE_REPLICA02. Please let me know I am right. Also, let me know what is the message type we need to use for this. What Function module should be attached in BD67 for this message type and what process code should be used.
Thanks in advance for your help.
Regards
Spawntae
Hi Gopal,
I think you can use Inbound Process code DELV , FM IDOC_INPUT_DELVRY with msg type SHPCON and Idoc type Delvry03.
Please check.
Regards,
Savitha
Similar Messages
-
Create outbound delivery from IDOC
i want to create outboud delivery from incomming idoc..is DELVRY02 idoc type and shpcom message type will do this ..after crating the delivery i aslo need to do PGI..
please tell me this idopc type and message type will do this or not?
Thanks,Hi,
I also have the same issue - I would like to be able to create an outbound delivery via IDOC/BAPI although cannot find the means to accomplish this. Is there a standard process available to generate an outbound delivery without reference (VL01NO)? I would like to avoid writing custom code if possible.
Thanks! -
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 Outbound Delivery Using IDOC
Hi,
Does anybody know of an IDOC that I can use to Create Outbound deliveries in SAP?
I know that I can use BAPI_DELIVERYPROCESSING_EXEC to create the delivery, but I am hoping to do so directly using a standard (or slightly customized) IDOC.
I will have multiple SAP Sales Order numbers to reference in creating the Delivery Note. Note that I will not already have a delivery number as this is a create, so I can't use DELVRY*.
Kind Regards,
RobinCreate your own and assign as processing the BAPI or a wrapper for it.
Enjoy -
CREATE OUTBOUND DELIVERY WITH ORDER REFERENCE
Hi All,
I am working on VL01N Tcode for "CREATE OUTBOUND DELIVERY WITH ORDER REFERENCE", where Return Check serial number of incoming material in case of sales return and compare against serial number in outgoing delivery. If the serial number doesnu2019t match then it should throw an error.
For the same when serial number is entered after selecting, EXTRAS-> Serial Number. If it does not match with Return Check serial number of incoming material in case of sales return and compare against serial number in outgoing delivery, for the same i am using a BADI LE_SHP_DELIVERY_PROC and method DELIVERY_FINAL_CHECK, i am not able to find where this value entered is stored.
Please help.
Regards,
NageshHi Venkat,
Thanx for the reply, but ANZSN field only mentions Number of serial numbers, but my query is to check Serial Number GERNR entered when selecting item number and selecting EXTRAS->SERIAL NUMBER and entered serial number with Check serial number of incoming material in case of sales return and compare against serial number in outgoing delivery.
Please let me know.
Nagesh -
Issue while creating Outbound Delivery using Standard BAPI
Hi all,
I am trying to create an outbound delivery for a Sales order using the Standard BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
After giving the valid inputs for Sales order no and doc no, am getting an error as "No instance of object type OutboundDelivery has been created. External reference:" But when trying to create manually there is no problem. Please suggest what may be the issue and how to correct it?
Regards,
Vimala PHi Vimala,
I am trying to create outbound delivery using BAPI_OUTB_DELIVERY_CREATE_SLS & BAPI_DELIVERYPROCESSING_EXEC. But no success. Getting "No instance of object type outbound delivery has been created" in return.
1) Delivery Type
2) Delivery selection date
Needs to be passed in import parameters.
Could you please tell me what are all the parameters to be passed under tables tab in RV_DELIVERY_CREATE?
Thanks in Advance..
Regards,
Rajasekar .M -
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 -
Can we create outbound delivery with reference of purchase order
Hi All,
can we create outbound delivery with reference of purchase order?dear friend,
as far as i know you can create it with the following references:
-to sales order;
-to STO;
-to subcontract order;
-to project;
-without any ref
are you talking about stock transport order ?
regards, -
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 -
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)? -
Create Outbound Delivery without Stocks
Hello.
Anybody with AFS experience?
When creating outbound delivery with reference to an STO, the system allows me to allocate the full quantity (60pcs), even if the available stocks is only 40pcs.
How is this possible? My understanding, we will only be able to create the delivery for the available stocks.
Help.Hi Gemma,
If there are no stock at all, then you will not be able to create delivery agianst STO. If there is partail qty available, then delivery can be created. eg. if stock is 20 kg and in the STO if the qty is 40 kg, you will still be able to create delivery, but when stock is 0 kg, you will not be able to create delivery..........it will give an error message" An item with no delivery quantity is not permitted. Item will be deleted."
hope this helps............
Rgds,
Anitha J -
Create outbound delivery with reference to purchase order
Hi,
I've created new plant and when i make purchase order i cant see the PO in VL10B, and there for i cant create outbound delivery.
In the PO in Item Detail there is no shipping category.
What i need to do ?
Thank you.Step1: In SPRO - Materials Management - Purchasing - Purchase Order - Set up Stock Transport Order - Define Shipping Data for Plants.
Define the Customer number, Sales Org, Distribution channel and Division for the Plant.
The Customer you are assigning for the Plant has to be created in the System to create the outbound delivery.
Step2: In SPRO - Materials Management - Purchasing - Purchase Order - Set up Stock Transport Order - Assign Delivery Type and Checking Rule.
Then Assign the PO type and the supplying plant to the Delivery Type which is NL (for inter company) and Checking Rule. -
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?
-
FM for create outbound delivery with order reference
Hi,
Can u pls tell me the function module name for create outbound delivery with order reference.
regards,
Mahi.Hi,
You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC
Check this sample code..
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr kwmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = p_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-kwmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
READ TABLE t_created INDEX 1.
Write: / t_created-document_numb.
Thanks
Naren
Maybe you are looking for
-
What can i do when i purchase an app then after purchase the app fails to work. I deleted the app rebooted ipa then reinstated app. It still fails to work. I went to vendor support but when i go to send the info to them it comes up with unable to sen
-
My apple tv seems to have hung up during the latest software update - what should I do now?
my apple tv seems to have hung up during the latest software update - what should I do now? I have not turned it off but it has been stuck in the same spot for 30 minutes now and I'm not sure what to do next since the screen says to NOT turn it off u
-
ExportPDF document conversion no longer works for me...why?
I am currently subscribed to ExportPDF and have been since around March of last year or earlier. However, since last April, I have not been able to convert any exported PDF files. I've tried numerous times to upload PDF documents for conversion, but
-
Acrobat 5 shows 'damaged' but Reader opens the file
Hi! I have searched the forums for this, but not been able find someone describing the same problem. I am using Acrobat 5.0.5. I frequently get the message 'There was an error opening this document. The file is damaged and could not be repaired' when
-
Character information at the candidate window in the pinyin input system.
While learning writing chinese characters with the pinyin input system at an apple store, I found that at the candidate window, already selected a character, the window showed the pinyin with the tone number, the code, the radical and the components