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.
Kunal
Hi 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.
Similar Messages
-
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 -
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 -
In VL10C,Unselected Line items are copied for delivery creation in VL01N
Hello,
I am trying to create outbound deliveries for an sales order using t.code VL10C. when I execute VL10C,it takes me to next screen with all sales order line items where i am selecting some line items & select Dialog button for delivery creation. In this case all line items of the sales order get copied into VL01N screen instead of copying only the selected line items.
What may be the issue? Is this standard functionality of VL10C transaction? my requirement is to create delivery for selected line items using VL10C transaction.
Regards
Gouthamhi All,
It's a standard SAP process... See OSS note 453947...
For me it's a bug, not for SAP....
But create deliveries for only selected item work in backgroung process ! According to user role parameter "selected items"
Source code :
SET PARAMETER ID 'VST' FIELD <cs_postab>-vstel.
SET PARAMETER ID 'AUF' FIELD <cs_postab>-vbelv. -
> only order number (not item)
SET PARAMETER ID 'ALT' FIELD SPACE. "n_810897
EXPORT lv50c-datbi FROM lf_datbi TO MEMORY ID 'LEDAT'.
EXPORT d_tcode FROM sy-tcode
enque FROM cx_list_profil-enque "n_602290
TO MEMORY ID 'CALLING_TCODE'.
CALL TRANSACTION 'VL01N' AND SKIP FIRST SCREEN.
regards. -
User exit for delivery creation in VL10B/VL10G-
Hi,
Is there any exits available for restricting the document type while the deliveries are selected/processed using VL10B/VL10G - delivery creation in background.
Scenario is when deliveries are created for STO's,the delivery is to be created for a selected document types(EKKO - BSART).Other types of document types have to be ignored when the delivery is created in background.
Regards
DeepakHello Deepak
You handle this through configuration while setting up Stock Transport Orders in MM.
Path: IMG/Materials Management/Purchasing/Purchase Order/Set up Stock Transport Order/Assign Delivery Type and Checking Rule
Here you a Delivery type for a combination of Plant and PO type. So those PO types which you don't want to be included for delivery creation will not figure in this assignment. I don't think you should go down the user exit route.
If you still need to explore user exits, look at OSS note 198137 for a list and purpose of VL10X based exits.
Hope this helps. -
BAPI for ARTICLE creation in IS-Retail
I am creating an Article using BAPI_MATERIAL_MAINTAINDATA_RT by passing below parameters for Basic view.
1.material type
2.merchandise category
3.material category
4.description
5.uom
6.transportation grp
7.loading grp.
8.valuation class
9.tax class
Also marked X in respective places in structures clientdatax,plantdatax,headdatax etc.
Anyhow still it showing errors like "key field of table MARA missing"
I am able to create article from MM41 using above 9 fields.
What fields shd be passed to this BAPI to create an ARTICLE?
OR ANY OTHER BAPI/RFC FM EXIST TO CREATE ARTICLE?
Please help me in this regard.
Regards,
KiranHi Bjorn,
I have to call BAPI for Article creation from Portal front end.
so I cant use BAPI_RETAILMATERIAL_CREATE as it goes to MM41 when we execute.
So I am using BAPI_MATERIAL_MAINTAINDATA_RT to create article.
I passed all mandatory data which is required to create a article with basic view.
Using MM41, I am able to create but with this BAPI iam unable to create article.
Could you please tell me what are the required parameters to be passed in addition to my fields which I specified below:
I passed
HEADDATA--material type,merch.category, material category,basic view marked x.
MATERIAL DESC--material description
CLIENT DATA--uom,transportation grp, tax class
CLIENTDATAX---marked X in above fields
PLANTDATA-loading grp
PLANTDATAX-marked x for above field
ADDL CLIENTDATA--valuation class
ADDLCLIENTDATAX--marked X for v class
Please help me in this regard.
Regards,
Kiran. -
Is there any BAPI FOR TASKLIST CREATION OF ANY EQUIPMENT ?
Dear Sir,
Is there any BAPI FOR TASKLIST CREATION OF ANY EQUIPMENT .
Thanks.
Regards,
Pooja Joshi.Hello Pooja
Perhaps the following link may be useful:
<a href="http://www.sapfans.com/forums/viewtopic.php?p=906052">FAQ: Plant Maintenance and Customer Service BAPIs</a>
Regards
Uwe -
User Exit for Delivery Creation
Hi,
I am looking for an User Exit for Delivery Creation, which should provide a Sales Order Number. This is required before Batch determination. Can any one help.Hi,
I think you can try with MV50AFZ1 user exit.
In move fields to LIKP and LIPS routine you can get the sales order.
LIPS-VGBEL gives the sales order.
Thanks,
Rohan -
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 -
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. -
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 -
Restrict Sales Order for Delivery Creation
Dear Experts,
We are supplying material to our customer (He is our subsidiary company). All the material codes within the two companies (i.e., our customer and us) are same. My customer is creating Purchase Order on us and through BDC program auto sales order is getting generated at our company. Pricing conditions are also copied from the PO to SO. We are not maintaining any pricing conditions for this customer.
My customer wants to supply the materials only against the sales orders created during the month only. Example: If auto sales orders are created during August'09 till 31st Aug, delivery should be created before 31st August only. From 1st Sept'09 onwards delivery should not create against the open sales orders created till 31st aug'09. When we try to do the delivery, system should not allow for creation of delivery from 1st Sept'09 onwards.
Can u please guide me whether we have any standard process for this to control the delivery creation? or we need to go for any development?
Your early reply in this regard is highly appreciated.
Thanks
Murthy SDhi you can use scheduling aggrement concept for the same.
Alternatively , you can write logic in the exits .
program:
MV50AFZ1
code:
loop at xlips.
select single vbegdat venddat from VEDA into (VEDA-VBEGDAT,VEDA-VENDDAT)
where vbeln = xlips-vgbel
and vposn = xlips-vgpos.
if sy-subrc = 0.
if VEDA-VBEGDAT is initial and VEDA-VENDDAT is initial.
else.
if sy-datum ge VEDA-VBEGDAT and sy-datum le VEDA-VENDDAT.
else.
MESSAGE 'sales order referred is outside validity range' type 'E'.
endif.
endif.
endif.
endloop.
the code is to be writeen in exit of delivery i.e whenever delivery is being created wr to order it checks the dates in order
Rwd points if helpful
regards
chandresh -
User exit/BADI for delivery creation in VL10B
Hi,
Is there any exits available for restricting the document type while the deliveries are selected/processed using VL10B/VL10G - delivery creation in background.
Scenario is when deliveries are created for STO's,thedelivery is to be created for a selected document types(EKKO - BSART).Other types of document types have to be ignored when the delivery is created in background.
Regards
DeepakCheck this exit.
BADI LE_SHP_DELIVERY_PROC
Method IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_FINAL_CHECK -
BAPI for SO creation and change
hi
which BAPI can used for sales order creation and what are the mandatory fields required.
I would like to provide easy SO creation in portal so give me the essential input for SO creation.Dear basheer,
You can use
BAPI_SALESORDER_CREATEFROMDAT2
mandatory fields are ,
clear iohead.
iohead-doc_type
iohead-sales_org
iohead-distr_chan
iohead-division
iohead-req_date_h
iohead-ship_cond
iohead-incoterms1
iohead-pmnttrms
iohead-accnt_asgn
iohead-pymt_meth
clear ipartner. refresh ipartner.
ipartner-partn_role = 'AG'.
ipartner-partn_numb = Sold to party.
append ipartner.
clear ipartner.
ipartner-partn_role = 'WE'.
ipartner-partn_numb = Ship to party.
append ipartner.
refresh : iitem, ibapischdl, ibapicond.
clear : iitem, ibapischdl, ibapicond.
iitem-itm_number = '10'.
iitem-material = material.
iitem-plant = Plant.
iitem-val_type
append iitem.
ibapischdl-itm_number = '10'.
ibapischdl-req_date = sy-datum.
ibapischdl-req_qty = Qty.
append ibapischdl.
saravanan
Edited by: k saravanan on Sep 22, 2008 4:21 PM -
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
Maybe you are looking for
-
I bought a new DVI to HDMI cord for my Mac, which is the older mac before changing all the outputs and keyboard and all. It is probably about 3 years old. My problem is the TV is picking up the signal from the computer, but it will only display the b
-
At the same time I stopped getting any thumbnails in Iphoto, when I open a picture in Photoshop, the image quality is now very poor. I get a 3X5 photo at 72 dpi, when it used to be 22X17 at 72 dpi. File size is now point 1 MB, when it used to 3.5 MB.
-
Problem with default printer for archivelink
Hi All, I have configured a new output device for print list archiving as ARCH in SPAD.I have checked the table TSP03 for the printer names.The printer name ARCH exists in the table.Still this is resulting in an error 'Printer name "ARCH" not defined
-
How to Import .txt files in ORACLE having 300 thousand records
How to Import .txt files in ORACLE having 300 thousand records. Kindly help me in that context
-
Can't open downloaded rental movies on ipad
I downloaded two movies. I see the picture of the movie in movies but when I click play it says movie won't download. What do I do.