Delivery Document creation for STO using BAPI_OUTB_DELIVERY_CREATE_STO
Hi Experts,
Am Cretaing Delivery DOC for the STO (PO) as the reference document using the bapi BAPI_OUTB_DELIVERY_CREATE_STO.
my problem is, the bapi is not picking the stogare location(LGORT) from the STO doc storage location. Please help me to find way, if its possible to pass the storage location to Bapi or any Badi exists for the bapi to pass the storage location based on some condition.
Have found below BADI's for the BAPI in my initial investigation, but not sure to use which one, pls suggest
LE_SHP_PRICING
BADI_HU_MAIN
BADI_HU_PACKING_ALWD
BADI_HU_PACKING_QTY
BADI_HU_SAVE
BADI_HU_AUTOPACK
DELIVERY_PUBLISH
Pls find below code for reference.
WA_STOCK_TRANS_ITEMS-REF_DOC = STO no
WA_STOCK_TRANS_ITEMS-REF_ITEM = Item.
WA_STOCK_TRANS_ITEMS-DLV_QTY = quantity.
WA_STOCK_TRANS_ITEMS-SALES_UNIT = 'EA'.
APPEND WA_STOCK_TRANS_ITEMS TO STOCK_TRANS_ITEMS.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CREATE_STO'
IMPORTING
DELIVERY = DELIVERY
NUM_DELIVERIES = NUM_DELIVERIES
TABLES
STOCK_TRANS_ITEMS = STOCK_TRANS_ITEMS
DELIVERIES = DELIVERIES
RETURN = RETURN3.
thanks in advance.
Hi Venkat,
If you check the Function Module Documentation, there is a note which mentions:
Order (SALES_ORDER_ITEMS-REF_DOC)
Unless specified otherwise, the entire order is delivered. This means that it is not necessary to list all the order items. It is sufficient to specify the order number.
Please try this.
Regards,
Pranav.
Similar Messages
-
There's an error while delivery note creation for STO order
There's an error while delivery note creation for STO order even stock available in unrestricted stock
Edited by: sharma aman on Nov 8, 2011 9:00 AMDear Sharma Aman,
Check whether the following link helps you.
Mesaage : while creation of delivery : An item with no delivery quantity .)
Please search in google with the error message and definitely you will get some older posts in SDN which is solved.
In that case , you need not wait for the solution as it is already available.
If the solution provided do not suit you, then post it in SDN so that it will be a learning for others.
Try to search in the forum or in google before posting further queries
Thanks & Regards,
Hegal K Charles -
Hi Expertise,
I need to create a mass upload program for appraisal document creation for manager and his multiple employee
at a time using tcode appcreate.
Please help me out.
Best regards,
PriyaranjanHi,
I have done appraisal document creation for bulk using txt file.
this fm used for single for creation in standard tcode (phap_prepare): 'WZ_HRHAP_0DOC_WZ01_START'.
So create ztcode usinh this fm for single form then record BDC for this tcode and called this tcode in that bdc for bulk creation .
While recording for single I have used manual option instead of automatic . -
Delivery Document creation using buffered data?
We're using BAPIs to create an STO with estimated volumes/dates.
But, when the Actual information comes in, we first update the STO with actual volume, then create a delivery document. The problem is that the delivery document is using the estimated volume even though we've committed the volume change and can pull up the STO to see it prior to Delivery create.
For STO, we're using:
BAPI_PO_CREATE1 and
BAPI_PO_CHANGE
For Delivery creation, we're using:
BAPI_OUTB_DELIVERY_CREATE_STO
It seems that the Delivery is reading buffered information rather than what's actually been committed to the DB. Is there a way to bypass the buffer when calling this BAPI?
thanks,
RobertFound a note that has addressed the issue
2008537 - Short dump while changing a replenishment delivery multiple times in one transaction -
Missing document flow for STO proc. delivery
Hi Experts,
I have problem with missing document flow for STO proc. delivery. I debugged VL10 and BADI (IF_EX_LE_SHP_DELIVERY_PROC~SAVE_DOCUMENT_PREPARE), I found that document flow parameters (CT_XVBFA) for this BADI interface is empty.
Any comments or solution.
Thanks,
SASD functional are satisfied with configuration.
Please advise.
Thanks,
SA -
Need to create a mass upload program for appraisal document creation for multiple employee
Hi Expertise,
I need to create a mass upload program for appraisal document creation for manager and his multiple employee
at a time using tcode appcreate.
Please help me out.
Best regards,
PriyaranjanHi Priyaranjan,
I think you can take the abap'ers help in creating the program. But u need to provide them the exact functionality and the required specifications in creating the appraisal document.
Even tcode also u can get it prepared by Abap'ers.
Thanks and Regards
Balaji -
Delivery document no for a Billing doc
Hi ,
How to find a Delivery document no for a Billing document no. Is there any table, that has relation b/w Billing & Delivery docu no.
Thankssee.. its a simple thing..
sales --- delivery -- billing..
so for delivery, reference document is sales order,
for billing, reference document is delivery...
hope this clears the entire thing... always go for item level linkage.. its accurate.. -
Delivery document creation using vl01n
Hi,
I want to create a delivery document using VL01n.i need to create the doc for a particular selected item if there are many items for the order.i want to delete the remaining documents.
how to handle this in BDC.just mention along with order ...
from item
as well as
to item fields .... -
Outound delivery creation for STO.
Hi All,
I have configured all setting regarding STO and created STO. Outound delivery is not getting created using Tcode VL10* . Can u pls tell me how to create outound delivery.
JaganHi Jagan
first you check shipping data in item details in STO. If all the details captured like Delivery type (NL for Intra company and NLCC - Inter company) and Shiiping point and Customer number and Sales area.
If anything is missed out, you need to check the configuration of set up stock transport order. also check whether material is extended to Sales View.
If everything is ok, try VL10B for STO. Still if you are not able to create Delivery, please check the log.
if any problem, let us know.
regards
Srinivas -
FIFO in delivery creation for STO
Dear Gurus,
Please consider the example on the issue we are facing.
An STO 123456 had created, with 3 line items having same material (XYZ)
STO : 123456
Line 1 : XYZ Quantity : 36 Delivery date : 29.02.2008
Line 2 : XYZ Quantity :30 Delivery date : 10.03.2008
Line 3 : XYZ Quantity : 36 Delivery date : 31.03.2008
and the available stock is 66 then we are creating delivery with reference to
STO through VL10D (T. Code) system is considering line items 20 and 30 as
the system should consider line items 10 and 20.
We want the system should create deliveries for line items basis on the FIFO.
Kindly help in resolving this issue as this an urgent.
Many thanks for your cooperation.Dear Krishna kumar,
Thanks alot for your reply.
My question is, while creating delivery for an STO with same material number, with several items and different delivery dates(eg: 01.03.2008, 05.03.2008, 10.03.2008) then system is picking wrong items( item with delivery dates 05.03.2008, 10.03.2008) for delivery. For clear understanding please go through the problem description once again.
Please let me know in case you need clarifications.
I really thank for your quick reply.
Warm Regards,
Sridhar -
Delivery doc creation for a selected line item of the Sales order
Hi folks,
Can any one help me in how to create a delivery order for a selected line item of the Sales order.My requirement is the request comes from the web browser where a sales document and details of the items are shown the user select one line item and request for delivery create of that particular SO doc.I have used couple of FM to create delivery but the delivery create is depend on the schedule line dates so iam unable to figure out where exactly i can distinguish between the line items.
Example:
SO:- 11193645
Line item -1 has 2 schedule line 06/11
06/13
Line iteam-2 has 1 schedule line 06/12
so if i try to create Delivery doc for date 06/12
it creates partially for line 1 and line 2.
but my requirement is i wanted to create SO for only line item 1 as i wanted to process Del Doc for only line item 1.
If you have any idea please help me.hi ,
You can develop a customised FM to process the Idoc data .
1. Read the Idoc data into internal table for the line items which need to be delivered .
2. Run BDC for transaction 'VL01N' ( delivery creation ) through which eliminate the line items which are not in internal table and save the delivery document
Note : Because in VL01N , you specify the sales document with respect to which you want to perform delivery hence automatically all items are copied to the delivery document .
During BDC recording , select items by " MOVING TO TOP"
and then deleting the selected item
If you face problem in BDC recording , i can help u that too . -
Delivery completed indicator for STO cannot be set!
Dear colleagues,
There are number of STO’s those goods issue quantity > quantity of goods received. Because of this delivery completed indicator cannot be set due to message “06 848 - Delivery completed indicator cannot be set for item XXXXX”.
There is an OSS note (167795) that allows to set delivery completed indicator for such purchase orders. Even though our SAP release is 6.04, report RM06EV70 does not exist (yet BADI ME_ARCHIVE_ACTIVE is active) in the system and OSS note cannot be implemented.
Any help would be appreciated.
Regards,
Melih
PS. Please do not provide answers like “the goods receipt must be first posted via the entire goods issue quantity; then you can post a scrapping via the shortfall quantity” since there are backdated STO’s.Hi,
Find STO created for which plant in t.code:ME23N and check MRP parameter maintained for that plant in t.code:OPPQ( also check entry of that plant in t.code: OMCD).
Also cross check which Field Selection Key assigned to your STO PO document type and check “Delivery completed" indicator” available as Optional entry in GR/IR control segment in your Field Selection Key.
SPRO - > MM - > Purchasing -> Define Screen Layout at Document Level
Regards,
Biju K -
Error in creating delivery with VL10B for STO
Hi Gurus,
I have created an Stock Transport Order with material A. I have inputted all the header data, supplying plant, receiving plant and location.
But, when i process this STO in VL10B to create delivery document, system is givign an error message that there is no stock available to dispatch.
When we check through MB52, MMBE stock is avaialble but, system is reading zero stock.
We have also checked in MD04, material qty is assigned to the order which we have created. And there is no other order or delivery for this material.
We have also raised an OSS message, suggested to go for rescheduling or Back order processing through CO06 or V_V2 respectively.
Since there is no other order been assigned to this material, there is no question of going for either rescheduling or Back order processing.
This error is coming in Production client and this is the first time we are getting this error.
Request you to please suggest any process to rectify this issue.
Regards,
Praveen.Hi
for ths forst you can check the purchase order and then you can find the avaliabillity check in releted to that po and then chek it will trigger or not other wise check in
VL10F THEN you can find the exact error for this
regards
s.pavan -
Delivery document creation after Posting of Goods through Purchase Order
Dear All,
Could you please help me out by letting me know how to create a delivery document flow i.e. entry in VBFA table after Posting of Goods through PO, I have Inbound delivery document that I know & also a succssfull Material document that is created and can be viewed through Purchase order history BY USING ME23N transaction code.
so please let me know is there any way to create a delivery by inputing delivery no., Material Doc & Material Doc year
Thanks,
SanjayAdditonally:
At the time of GR the inbound delivery ican be updated in MIGO also if you set the suitable indicator in:
SPRO > LE > Shipping > Basic Shipping Functions > Configure Global Shipping Data (V_TVSHP-SPE_INB_VL_MM)
(see OSS note 1050944)
Even though you implement this change or w/o this change post the GR in VL32N, you won't get the document flow in table VBFA.
You can use table EKBE to get the necessary information.
Regards,
Csaba -
Delivery Qty Zero for STO with 2 line item
Hi Guys,
I have a problem when create delivery for STO with 2 line item which contain material with BOM. I have create delivery with tcode VL10G refer to Purchase Order and Delivery successfully created, but delivery qty was zero or empty. I try to fill the dlv qty same with STO Qty but popup message "Only 0 PC for the material available", I have check the stock and there is a stock exist for the material.
I need help for this problem.
Regards
GunawanHi,
Please check if inbound delivery is already created for that Qty
Thanks
Diwakar
Maybe you are looking for
-
ODI 11g and Weblogic Server Link
Hi All, I am beginner to work on ODI. Currently installing ODI 11g. I wan to install ODI on my pc and my database is installed on another server. Can we Install ODI without weblogic server to work with database using connection string? Weblogic serve
-
How to re-install a provisioned package?
Hi, I have installed an app using the command Add-AppXProvisionedPackage -Online -PackagePath C:\Temp\ABC\XYZ\***.appxbundle -SkipLicense Due to some reason I uninstalled the app by using the method - On the Start screen, swipe down on or right-cl
-
Cannot open file exported from CS5 as .idml into CC2014.
I'm trying to open a file created in InDesign CS5 in the newest CC version of InDesign. It is a large (2GB) file comprised entirely of placed images. I found a thread that suggested exporting as idml. I did export from CS5 as idml which made the file
-
Portal Drive not working with external load balancer
Hi, We have a portal cluster and we are using external Load balancer from Juniper for load balancing the portal cluster. When given the direct portal URL (Central instance URL or Dialog instance URL), Portal Drive is able to connect to portal and sho
-
I can't connect to bbc website in firefox. Each time I get the same message: "the connection was reset". Can anyone help?