Create delivery automatically when sales order is created but not invoice??
Hi,
I have a requirement where in, it should create delivery (also issue) automatically when i create sales order, but it should not create the invoice automatically. I am going to do the invoice manually from the delivery document. Can you suggest me how to do this??
Thanks
Ghanesh
Hi,
If the sales document type is not relavant for Cash sale and the document type is used globally in the business then if for some specific conditions like distribution channel or plant or for division if u want to carry out the immediate delivery creation and PGI, use the below user exits and Bapi's
The below user exit is used to export the sales order details to capture the required checking cond such as sal org,dist ch,div,plant,etc
Include MV45AFZZ
FORM USEREXIT_SAVE_DOCUMENT.
Include MV45AFZA
FORM -USEREXIT_REFRESH_DOCUMENT.
BAPI_ISAORDER_GETDETAILEDLIST
BAPI_OUTB_DELIVERY_CREATE_SLS
SD_DELIVERY_UPDATE_PICKING
BAPI_OUB_DELIVERY_CONFIRM_DEC
Regards,
Gopal.
Similar Messages
-
When sales order is created ,costing of a material cann't be created automa
dear suppporter:
when sales order is created ,costing of a material cann't be created automatically.if i cost the material in va02 ,the cost can be generated.please help me analyse it .
best regards.There is Tick in Delivery block 01 Deliveries: Blocking Reasons/Criteria
I have observed in testing Before you save a sales order, you look at the schedule line overview, you can see what the system would Proposed confirm date and confirmed qty, if the block were not set. However, as soon as you save the sales order,(warring message Oldest open items over due will appear) the confirmed quantities are automatically reset to zero because sales order is Blocked. Here the goods remain available for other customers.
Note : When you release the sales order the automatically in sales order confirmed qty and proposed date will come.
Here the problem is when they do MRP run after sales order saved with block Planned order is creating. -
How to create PR automatically by sales order?
Dear experts,
I want to create PR automatically with sales order, and then create delivery from this sales order, and goods issue. I know third party order, however it can't create delivery.
thanks
LanceHi,
Go to VOV7 T code,
You will find one check box Create PO automatic. Check that.
It will create automatically PO.
Hope this will help.
Reward Point if helpful.
Thanks,
Raja -
Want to get a popup when sales order is created or saved
hi all ,
I want to get a popup when sales order is created or saved .Is there any user exit for the same?
thanks in advance ,
Naval bhattHi,
try this.
Go to the include MV45AFZZ of Sales Order Main program SAPMV45A
and find the correct exit in that and write the User exit code after saving the document FORM USEREXIT_SAVE_DOCUMENT_PREPARE or
FORM USEREXIT_SAVE_DOCUMENT by calling/writing the
fun module POP_UP_TO_CONFIRM.
Regards,
Anji
Message was edited by:
Anji Reddy Vangala -
Trigger custom idoc through ALV when sales order is created in VA01 & VA02
Dear Experts,
I am new to the concept of ALV_idoc. Please give me the procedure in detail.
How to send custom fields to non SAP system when sales order is created or modified in VA01 &VA02?
Can i use existing Logical Systems and Ports and partner profiles?
Thanks & Regards
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Jan 17, 2012hi,
the first option is the right one. the FM invoked makes a direct input, so all the functionalities in S.O. are the standard one in the same way as if you are making it manually.
Also you can have some exits in the Idoc FM, so you can manipulate data there before loading the sales order.
pls. reward if helpful
regards
Roberto -
Auto-create delivery for multiple sales orders
I would like to ask how to create auto-create 'single' delivery
for multiple sales order during release sales order in R11i.
It is found in my example during release sales order, multiple
sales orders fulfill release sales order criteria, a single pick
slip is generated but it is found that each sales order have
individual delivery with it. It will casue multiple pack slips
for a singles pick slip. Is it normal feature for auto-create
delivery, or any setup to solve it?
Thanks in advance.Am not able to do Single Delivery for Muktiple sales orders
Have you searched the forum for this question as to why you were not able to generate ?? It could be due to multiple reasons. Please search the forum and update here what steps you have taken after taking the inputs from here, if the problem is still not resolved.
thanks
G. Lakshmipathi -
How to create delivery from a sales order?
Hi friends,
Can you tell me how to crete a delivery from a sales order?
First, I would like to know which transaction we use to create and how?
Appreciate your input.
Thanks,
Krishen
P.S. Points assured for helpful answers and thanks in advance for your time.VL01 is the transaction for the creation of Delivery
VL01 SAPMV50A Create Delivery
VL01N SAPMV50A Create Outbound Dlv. with Order Ref
VL01NO SAPMV50A Create Outbound Dlv. w/o Order Ref.
Message was edited by: Gopi Narendra -
Block For billing when sales order is created
Hi experts,
I have a requirement in which i want to block the sales documrnt for billing when the sales order is created with particular discount value.
for this i have checked the condition of discount first it works fine no i want to block it for billing.
My SD consultant told open the sales doc in change mode(VA02) and then go to Billing Block field (FAKSK) and then give 02 Compl confirm missing and save the doc
So for this i have writen a method.
SET Parameter ID 'VBELN' Field OBJECT-KEY.
Call Transaction 'VA02' and SKIP FIRST SCREEN.
SET Parameter ID 'FAKSK' Field '02'.
in this it is calling the VA02 screen but i am not able to pass the billing block value and save.
Please give me a solution how to do this.
for blocking i have also used the standard method in BUS2032 SetDefaultBillingBlock
it is not blocking the billing.
Or should i use some bapi for this.
Regards,
HariHi Hari,
SET parameter ID only sets the value to an input field. It wont saves to the database. More over i don't find any parameter ID for billing block in VA02.(May be because it is a drop down).
Use BAPI BAPI_SALESORDER_CHANGE Pass the sales order number, ORDER_HEADER_IN-BILL_BLOCK = ur blocking code, ORDER_HEADER_INX-BILL_BLOCK = X.
After calling the BAPI call BAPI_TRANSACTION_COMMIT.
Above procedure is to programativally.
If u want to do it manually then directly open VA02 and change the billing block and save.
I dont think we can set parameter ID for billing block
Thanks,
Vinod. -
Over write ship to party address when sales order is created
Hi
I am creating sales order using BAPI_SALESORDER_CREATEFROMDAT2 but would like to change the shipto party address.
I want to change the following address fields of shipto party
Name1
Name2
Street
STR_SUPPL1 (Street2)
C_O_NAME (c/o name)
POSTL_COD1 (City postal code)
CITY
COUNTRY
REGION
TRANSPZONE
Following is the piece of code i wrote for partner structure and partner address structure of the BAPI.
I_ORDER_PARTNERS-PARTN_ROLE = 'WE'.
I_ORDER_PARTNERS-PARTN_NUMB = '0000241269'.
I_ORDER_PARTNERS-country = 'US'.
I_ORDER_PARTNERS-TRANSPZONE = 'US'.
I_ORDER_PARTNERS-ADDR_LINK = ''0000201328'.
APPEND I_ORDER_PARTNERS.
I_PARTNERADDRESSES-ADDR_NO = ''0000201328'..
I_PARTNERADDRESSES-NAME = WA_CUSTOMER-NAME.
I_PARTNERADDRESSES-NAME_2 = WA_CUSTOMER-NAME2.
I_PARTNERADDRESSES-STREET = WA_CUSTOMER-STREET.
I_PARTNERADDRESSES-STR_SUPPL1 = WA_CUSTOMER-STREET2.
I_PARTNERADDRESSES-C_O_NAME = wa_customer-c_o_name.
I_PARTNERADDRESSES-POSTL_COD1 = WA_CUSTOMER-ZIPCODE.
I_PARTNERADDRESSES-CITY = WA_CUSTOMER-CITY.
I_PARTNERADDRESSES-COUNTRY = WA_CUSTOMER-COUNTRY.
I_PARTNERADDRESSES-REGION = WA_CUSTOMER-REGION..
I_PARTNERADDRESSES-TRANSPZONE = WA_CUSTOMER-TRANSPZONE..
In the above code address number 0000201328 is address number for customer 0000241269. Now the sales order is getting created but ship to party address is not overwritten with the values passed above. Ship to party address is just defaulted from customer master.
What should i have to pass to the address number field.
Any piece of code which is working would be more helpful.
Thanks in advance
Rajesh.I haven't tried for this, but from the documentation of FM I got this note:
<i>Notes
If the table is used to enter document addresses for a sales and distribution document, the address data is then not necessary in the document partner table BAPIPARNR / BAPIPARTNR ).</i>
So, I am not sure wheather it is possible or not.
Regards,
Naimesh Patel -
Wrong VL-367 error while creating delivery from multiple sales orders
Hi,
We have a Z program* that runs BAPI_OUTB_DELIVERY_CREATE_SLS with multiple sales order items to create one delivery.
The program runs as a job. The problem is sometimes Bupi turns "VL367 - an item with no delivery quantity..." error for some of the items. But actually we have no availability problem, after a minute in the next job the delivery is being created for those items.
We couldnt find the the state that causes this wrong error. Have any ideas, is there any problem with the bapi ?Hi,
You should check if you got other Sales Order that might be have items with quantities confirmed. Quantities confirmed in a sales order will be appear as unrestricted stock, although is reserved, and therefore for example:
Sales Order A: item 10, quantity 10
Unrestricted stock: 10
Sales Order B: item 10 (Same material as Sales Order A), quantity 2
Creating outbound delivery for Sales Order B will generate the message, because that stock is being taken for the Sales Order A already.
Hope it helps. -
How to create delivery for return sales order?
Hello
I'd like to create a delivery for a return sales order, I used transaction VL01N to do that, but error message said no delivery-relevant item in this order. Can transaction VL01N be used for this step?
NicoleHi,
We can create the delivery in Return process with the transaction code VL01N as in the normal process. The following are some imp points we need to remember before performing returns order process.
1. We must make sure that a RE document type must be created and assigned .
2. Subsequent delivery document LR must be created and assigned to order type RE.
3. We must make sure whether the item for which we are creating a return delivery is it relevant for return process.Means that in the control data of item category REN 'Return item' indicator need to be activated.
Once all these settings are fulfilled then only we can perform the return delivery successfully.
If you are using any other documents rather than standard documents please check for those configuration settings that are applicable for return process.
Regards,
Revan -
Create Delivery from a Sales Order adding a new position
Hi experts!
I need to create a delivery from an existing Sales Order (with just 1 position), and add a new position to this Delivery so it creates with two positions, the one from the SO and the added one.
I'm using FM RV_DELIVERY_CREATE. Is it possible to do this?
Thanks!!
CarlesHi Carles,
I would prefer BAPI_OUTB_DELIVERY_CREATE_SLS. At least the delivery creation will be fine, your second position might be more complicated. But there are exits in the Bapi and you might go for an exit of the delivery creation itself -> then also manual triggered creation of a delivery will be correct.
BR, Christian -
Create a new entry for zfield in the CDHDR table when sales order is create
Hi,
We have some custom field added to table VBAP and that field need is updated thorugh transaction VA01 or VA02.
The Function poeple is asking to Update the CDHDR table for the ztable when ever the field is updated ,and they want
the changes to appear in the sales order changes Log.
PrabhudasProblem solved.
By using the ..
Used this FM "VERKBELEG_WRITE_DOCUMENT" in MV45AFZZ in exit...DOCUMENT_SAVE.
by passign the only VBAK and VBAP table structure of XVBAP and YVABP and field name as ZZFIELD.
Prabhudas. -
Over delivery of a sales order-status still shows "not delivered"
Hi Friends
I have a problem with sales order . Total quantity in order is 10, even then system allows me to make 2 or more deliveries of total with more than 10 quantity .
Following option I have tested but all in vain.
1. In copy control at item level ( item category is TAN) document flow box is checked and Pos./neg. quantity column has value "0". If I take here "" then system don't allow me to make partial deliveries i.e 2 deliveries of 5 quantity each. It says " there is no quantity available for delivery or the item is not relevant for delivery. I can make only one delivery with 10 or less quantity with "" sign
If I take "O" in Pos./neg. quantity field then it allows me make as many partial delvery with more than 10 quantity, which is wrong
Order status always shows " No delivery" even if deliveries made and PGI done
2. In item category checked complition rule field with "A", "B" and "c" option still no effect and document flow shows "being processed "
Pls let me know whts the problem
ThanksMaintain value + (plus) in the field Pos/Neg quantity at item level in the copy control settings (t.code VTLA). After making the settings, create a new sales order and test.
Regards, -
How to create a report for open sales orde documents which are not invoiced
Hi Experts this is urgent,
+pls give the Logic for document flow+
My requirement is create a report for sales orders which are not invoiced using the following table.
VBAK : sales order header
VBAP : sales order item
VBFA : sales document flow
VBUK for processing status
KOMV for duties value and sales order value
LIKP : delivery not header
LIPS :delivery note item
For information : In the header level the processing Status is indicated in the table VBUK field LFSTK for one sales order number. A,B , C are the possible entries.
Case A : When a sales order is invoiced we can display information on the header status :
Overall status : Completed and display a invoice number in the document flow. When the items of the sales orders are invoiced the process status is the following : Overall status Completed
Delivery status Fully delivered
Case B : An open sales order not delivered and not invoiced will have overall status : Open on the header and item level and will not have subsequent documents.
Case C :
When the items for the sales order are delivered but not invoiced the status will be u201Cfully deliveredu201D
And the subsequent documents will be delivery notes and good issue if the delivery note is issued.
With regards
ravi
Edited by: ravik ravik on Jun 25, 2008 3:29 PMHello Ravi,
U neednot develop any report..
there is std report with txn V.02
or copy this and make necessary changes.
Reward, if helpful.
Rgds,
Raghu.
Maybe you are looking for
-
All Non-Apple Apps Keep Crashing
I updated the firmware on my friend's iPhone 3Gs from 4.1 to 4.3.3 using my computer. This is not the computer that my friend used to sync the iPhone and it was the first time when the iPhone was synced to my computer. I noticed now that all non-Appl
-
What gives with this message. Any Apple reps want to tackle this. BTW I am uploading from Windows 7 Ultimate and meet all the mininum requirements as prescribed by Apple.
-
hi i got below error please help
-
Unable to post on instagram w/my iMac,how can I fix this?
How to fix problem on instagram,unaple to post anything?
-
Signature.Verify()
Can someone explain this please? thnaks verify public abstract boolean verify(byte[] inBuff,-->Is this a Message Digest? short inOffset, short inLength, byte[] sigBuff, short sigOffset, short sigLength) throws CryptoExceptionVerifies the signature of