BAPI For Delivery n Batch Splits
Hi,
I need to do the Batch Splits on the delivery using a BAPI.
Can someone send me the name of the relevant BAPI?
Thanks,
Shashi Devi.
thanks for the help
Similar Messages
-
BAPI for delivery doc creation required
Hi All,
I need to develop a program wherein I need to create a sales order, delivery order, PGI(post goods issue) and invoice.......I have identified the bapi for sales order creation as bapi_sales_order_create..
I request u to kindly help with the others....lemme know the relevant bapis for the others...Hi,
Chk the FM's given below..Hope this will help you...
BAPI For Delivery Order
BAPI_DELIVERYPROCESSING_EXEC
BAPI to post a Goods issue
BAPI_OUTB_DELIVERY_CONFIRM_DEC "inbound Delivery
Filling HEADEWR_DATA-DELIV_NUMB, HEADER_CONTROL-DELIV_NUMB, DELIVERY with the delivery number and HEADER_CONTROL-POST_GI_FLG with 'X' does the job.
BAPI_OUTB_DELIVERY_CONFIRM_DEC " outboung Delivery
Reward Points if helpful.
Regards,
Harini.S -
Bapi for Delivery Creation from Sales Order
Hi
I have multiple sales order and i want to create 1 outbound delivery from it just like what Vl10A is doing.
Can i have BAPI or fumctiona module for same.
Best Regards
SubhamCheck this thread:BAPI for Delivery Creation
Also search the forums..there are many threads addressing the same issue.
Regards,
Kiran -
Hi Experts!
Can anyone tell me the BAPI to Display the Delivery Status
for a particuler sales order no or document no.
Thank U...hi,
BAPI_DELIVERYFREE_PROXY_CREATE Proxy BAPI für Upload einer kostenlosen Nachlieferug SFA-Kontext: Anle
LE_SHP_DB_DELIVERY_BUFFER Object Buffer Delivery w/Database Access
BAPI_DELIVERY_GETLIST BAPI for Reading Delivery Data
OIU_DELIVERY_NETWORK Object Buffer Delivery w/Database Access
BAPI_DELIVERY_NETWORK_CHANGE Delivery Network BAPI for Changes
BAPI_DELIVERY_NETWORK_CREATE BAPI for creating a delivery network
BAPI_DELIVERY_NETWORK_READ Display delivery network details
BAPI_INB_DELIVERY_CHANGE
BAPI_INB_DELIVERY_CONFIRM_DEC BAPI for Inbound Delivery Verification from a Decentralized System
BAPI_INB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Inbound Deliveries
BAPI_OUTB_DELIVERY_CHANGE
BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Confirmation from a Decentralized System
BAPI_OUTB_DELIVERY_CREATENOREF Generates Delivery Without Reference
BAPI_OUTB_DELIVERY_CREATE_SLS Generates Delivery for Customer Order
BAPI_OUTB_DELIVERY_CREATE_STO Generates Delivery for Stock Transport Order
BAPI_OUTB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Outbound Deliveries
BAPI_OUTB_DELIVERY_SPLIT_DEC BAPI for Subsequent Outbound-Delivery Split from a Decentralized Syste
and for "Shipment
BAPI_SHIPMENT_CHANGE Change Shipment
BAPI_SHIPMENT_COST_ESTIMATE Calculate Shipment Costs of Different Forwarding Agents for Shipment
BAPI_SHIPMENT_CREATE Create Shipment -
Production date in inbound delivery in batch split
Hi,
I have a issue with production date update in inbound delivery.
I have created a inbound delivery for 10 PC. The inbound delivery has only one line item and there are no batch details on it. As soon as the inbound delivery is created a message is sent to the 3PL . Once the 3PL receives the goods from vendor he send us a message with the batch details. Say the 3PL has received multiple batches from the vendor. So he send us back an SHPCON message with multiple batch details. That is batch A with QTY 6 and batch B with QTY 4. He also send us the production date for each batch via the shpcon idoc. say batch A has production date as 10.02.2011 and batch B has production date as 21.03.2011.
The IDOC is created successfully in our system and the inbound delivery is also updated correctly with the batch split details with correct QTY. That is line item 10 has batch split line items 900001 with batch as A and QTY as 6 and line item 900002 with batch as B and QTY as 4. The issue is only with updation of date of production for each of the above batch. Both batch A & B are updated with date of production as 21.03.2011. Instead of batch A being updated with date of production as 10.02.2011 it is updated with the batch B date of production. I checked in the idoc. In the idoc each batch has correct production date. only when updating the inbound delivery it has updated wrongly.. Has any one come across similar kind of situation. ? How did u manage it?
RamI found out the issue and the approriate changes has been made in the message handling
-
Hi all,
I am using a smartform to print the Delivery order in VL03n. it is printing fine if there is no batch split.
The quantity, amount for the delivery items is appearing as zero in the print if BATCH SPLIT is there.
I have 2 items in delivery order like 10 & 20. After batch split, i find one new item 90010 is created under 10 &
another item 90020 is created under 20.
i checked LIPS table where i find all 4 items. But i want to print only 2 main like 10 & 20 . but the quantity, amount is present
in batch split items.
Please suggest how i need to handle batch split in my smartform printing .
Thanks
pabiPabhi,
In LIPS table, you'll find a field UECHA . For batch split item, it will point to parent item and for parent item it will be initial.
e.g. For item 90010 it will be 10 & for item 90020 it will be 20.
You can loop around the lips table using this relationship and sum the batch split quantities and then transfer that value to parent item. After loop processing you can delete the entries,which have UECHA not initial . -
hi,
1.can i create delivery for particular customer using bapis?
2.can i create invoice using bapis?
if it is possilble pls tell me the bapi names??????????????
regards
GuruHi Guruvulu,
Take a look at the following ones :
BAPI_INB_DELIVERY_CHANGE Change inbound delivery
BAPI_INB_DELIVERY_CONFIRM_DEC BAPI for inbound delivery verification from a decentralized system
BAPI_INB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Inbound Deliveries
BAPI_OUTB_DELIVERY_CHANGE BAPI for Change to Outbound Delivery
BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Verification from a Decentralized System
BAPI_OUTB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Outbound Deliveries
BAPI_OUTB_DELIVERY_SPLIT_DEC BAPI for Subsequent Outbound-Delivery Split from a Decentralized Sys
<b>BAPI_OUTB_DELIVERY_SAVEREPLICA / BAPI_INB_DELIVERY_SAVEREPLICA should be ok for you for the delivery creation.
and BAPI_INCOMINGINVOICE_CREATE for invoice.</b>
Hope this helps,
Erwan -
BAPI for delivery VL01N transaction
Hi All,
I am working on SAP ECC 5.0 version. My requirements are to create a delivery note against a purchase order. The purchase order is basically for Stock transfer between intra company (UB) and Inter Company (NB) . So am looking for BAPI that can create outbound delivery for Goods movement types 641 and 643.
I tired searching some of the already asked questions on this forum, but nothing was substantial.
If any of you know the BAPI/ worked on similar requirements, Please let me know the details with an example snippet if possible.
Thanks,
KiranHI,
check this link BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N
Thanks
Mahesh -
FM/BAPI for delivery creation
Hi,
I need to create a delivery w/o order reference though VL01N0 ,but i am unable to find any BAPI / FM which could let me do so through the code w/o BDC.
Can any one suggest a FM/BAPI for the same.
KunalHi kunal,
You can use BAPI BAPI_DELIVERYPROCESSING_EXEC to deliver preceding documents like a sales order.
If this doesn't solve ur recquirement then write an BDC Program .
I have done some BDC programs On VL01n before...u will not face any problem .
ravinder. -
BAPI for creation of batch MCHB
HIi
There is a FM BAPI_BATCH_CREATE for creation of batch i though it was updating the batch in table MCHB but it was updatin MCHA table.
Please advise if anyone know of a BAPI which update the MCHB tableHi,
Try doing BAPIBATCH* in SE37 instead of posting here. Please search on SCN before posting.
Regards
Abhii
Edited by: Abhii on Dec 11, 2009 2:49 PM -
Hi ,
Please suggest me any BAPI for updating the delivery document header.
Thanks.
Regards
DVHi
This is a BAPI code, go thru this, hope it wil help you.
reward if help.
Check this sample program for creating delivery from a sales order.
Give the sales order as input..
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: / 'Delivery - ', t_created-document_numb. -
FM or BAPI for production order component split batch
Hi,
I'm trying to split a production order component quantity into batchs with FM or BAPI.
Using BAPI_ALM_ORDER_MAINTAIN i can create or modify components but i can't set field split batch flag SPLKZ and reference SPLVR.
Can you help me?In standard product order process in CO02 when i split material with standard function I obtain several lines. These new lines refer to the originale one by fields SPLVR and SPLKZ.
Eg. In operation 0010 i've 10 PC of MATERIAL1
Item
Material
Qty
Batch
Batch Key (SPLKZ)
Itm no stock (SPLVR)
0010
MATERIAL1
10 PC
In CO02 i take MATERIAL1 from BATCH1 and BATCH2 the final result is
Item
Material
Qty
Batch
Batch Key (SPLKZ)
Itm no stock (SPLVR)
0010
MATERIAL1
1
1
0010
MATERIAL1
7 PC
BATCH1
2
1
0010
MATERIAL1
3 PC
BATCH2
2
1
So I'm trying to reproduce this standard behavior with BAPI or FM.
Thaks -
STO- How to control Over delivery with batch split?
Dear All,
In STO Scenario, how to control the over delivery?
I created a PO for the Intra Company stock transfer & Delivery created in the Background with the T Code VL10B. When I am doing picking using T code VL02N, the system is allowing to add more than PO Quantity in batches and system displaying the warning message (Specified quantity is greater than the open quantity/Message no. VL287) & allowing to save the deliver document..
Hence plz suggest how to restrict the same.
Hope it is clear.
Thanks & Regards
varunI am also in the same boat.
I searched the forum and got the link STO - How to control Over delivery ?
I checked OSS notes 548914, 386340,215488 but to no avail.
I suggested user exit USEREXIT_SAVE_DOCUMENT_PREPARE in include MV50AFZ1 to my technical team for finding the resolution. So far it is still on hold.
If you come across any other solution, you can update the forum so that it would be helpful for many others.
Regards, -
Hi,
Can someone tell the BAPI which can be used to create the Delivry in reference to Shipping Point,Sales Order,Item Number?
Please its urgent,
Thanks,
Shashi Devi.Hi
Devi,
* Include YCL_CREATE_DELIVERY_DOCU
* Form delivery_creation *
* This Subroutine is used to Create Delivery
FORM delivery_creation .
CONSTANTS:
LC_DOCU_TYPE type
LESHP_DOCUMENT_TYPE value 'A'. " Document Type.
DATA:
BEGIN OF LFS_vbap,
vbeln TYPE vbap-vbeln, " Sales Document
posnr TYPE vbap-posnr, " Sales Document Item
kwmeng TYPE vbap-kwmeng, " Order quantity in sales units
matnr TYPE vbap-matnr, " Material Number
werks TYPE vbap-werks, " Plant
END OF lfs_vbap.
DATA: lw_delnum type VBELN. " To store delivery number.
* LOCAL TABLES DECLARATION *
DATA:
Lt_VBAP LIKE TABLE OF Lfs_VBAP, " To Store datata from vbeln..
lt_request TYPE STANDARD TABLE
OF bapideliciousrequest, " Data for Creating Deliveries
lt_created TYPE STANDARD TABLE OF bapideliciouscreateditems,
" To Store Delivery Item..
lt_return TYPE STANDARD TABLE OF bapiret2.
" Table for Return Parameters
* LOCAL FIELD STRINGS DECLARATION *
DATA:
lfs_request type bapideliciousrequest,
" Work area for lt_request
lfs_created like line of lt_created,
" Work area for lt_created
lfs_return like line of lt_return.
* To get required values from VBAP
SELECT vbeln
posnr
kwmeng
matnr
werks
INTO TABLE Lt_vbap
FROM vbap
WHERE vbeln = W_vbeln.
if sy-subrc ne 0.
write / text-002.
exit.
endif. " if sy-subrc ne 0
LOOP AT Lt_vbap INTO LFS_VBAP .
lfs_request-document_numb = lfs_vbap-vbeln.
lfs_request-document_item = lfs_vbap-posnr.
lfs_request-quantity_sales_uom = lfs_vbap-kwmeng.
lfs_request-id = 1.
lfs_request-document_type = LC_DOCU_TYPE.
lfs_request-delivery_date = sy-datum.
lfs_request-material = lfs_vbap-matnr.
lfs_request-plant = lfs_vbap-werks.
lfs_request-date = sy-datum.
lfs_request-goods_issue_date = sy-datum.
lfs_request-goods_issue_time = sy-uzeit.
APPEND lfs_request to lt_request.
ENDLOOP. " Loop at lt_vbap
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = lt_request
createditems = lt_created
return = lt_return.
Read table lt_created into lfs_created index 1.
if lfs_created-DOCUMENT_NUMB is initial.
loop at lt_return into lfs_return .
write / lfs_return-message.
write : / text-004.
endloop. " Loop at lt_return
ELSE.
perform commit_work. " To Call External Commit
lw_delnum = lfs_created-document_numb.
FS_DISP-TEXT = TEXT-001.
FS_DISP-NUMBER = LW_DELNUM.
APPEND FS_DISP TO IT_DISP.
if p_torder eq c_x or p_pgi eq c_x or p_bill eq c_x.
perform transfer_order using lw_delnum.
" TRANSFER ORDER CREATION
endif. " If p_torder eq 'X'
ENDIF. " If sy-subrc eq 0
ENDFORM. " Delivery_creation
This is the code that using BAPI to create delivery document
<REMOVED BY MODERATOR>
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Jan 11, 2008 5:21 PM -
FM or BAPI for Delivery Order Picking and PGI
Good day,
I would like to check with you all on any function module or BAPI which can perform delivery order picking and PGI ?
I did some research and found that a lot of people is introducing this FM "WS_DELIVERY_UPDATE_2"
but i'm not sure how this FM works. Can anyone provide some information for me on this function like what data to propagate into this FM and etc... ?hi,please check this link.
Need to update picking,packing and PGI using FM "WS_delivery_update"
also,
for picking: WS_DELIVERY_UPDATE_2
pgi : BAPI_GOODSMVT_CREATE
thanks.
Maybe you are looking for
-
Tried opening iTunes but keep getting Error 7 (Windows error 1114)
Tried to open iTunes and cannot ~ error 7 (Windows error 1114) not installed properly. Do I uninstall and re-install? Will I lose my library?
-
Withholding tax master data report changes in SAP FI
Hi All, In our client according to new audit requirements improvements have to be done for the withholding tax report. According to the the requirements changes only functionality has to be added to the main selection screen of the withholding tax ma
-
Report for maintenance order equipment wise
hi expert, is there any t-code fr displaying maintenance reprt equipment wise in that report i could see painding maintenance, service order & completed maintenance order & service order. regards, santosh
-
How to know if for a given material / plant / Pur org / vendor a COntract or Schdulign agrremnt exists. (we dont maintain source list some times). Rgds, Mano Sri
-
Can not import .mov files
i've been trying to import a QT movie created in After Effects. Will not import. FCX keeps crashing.