Partial DEL to single sales order with diff storage loc. in single DEL
Hi SAP gurus,
I have created a sales order with single line item of 100 Qty,
Now i want to create single delivery with two different line item with different STORAGE LOCATION as per the availabiliy criteri with those different storage location of the same or different palnt.
i had tried to create single delivery by manually putting second line item with different storage location,but i want this to be automatic by the system.
In case of any clarification kindy revert back to me.
Regards,
Ujjawal
Hi Ujjawal,
Yes its possible only if the plant is the same.
But storage location needs to be enter in the order manually. if you have different storage locations for the items in the order and system will allow you to create a single delivery.
I hope it will help you.
Regards,
SK
Edited by: Mastan Shaik on Jul 22, 2010 7:41 AM
Similar Messages
-
Sales Order with diff. divisions.
Hi Gurus,
I have sales order with header division as 10
i am entering 3 material codes which belongs to divisions- 10,20,30.
it doesn't allow to enter 20& 30 to enter.
What Config. changes required ???
Reg,
AmolHi,
Please go to tcode VOV8 and enter your sales order type (For ex., ZOR) and under general control tab, there is an option "check division" Make it 0 or 1 as per your business requirement and try again.
Regards,
P Gomatheeswaran -
Prod order with multiple storage loc
R/all
Can any one guide me? is it possible to create production order with multiple storage location?
plz help..
thx
SumitDear Guruji
I have same problem But i want to create PR & PO for multiple storage location.
Thanks
pankaj -
VA01 SALES ORDER WITH PLANT &STORAGE LOCATION....??
Hi Experts,
when i create a sales order....
Depends on sales order ( order Type) in the sales order system has to trigger some perticular PLANT and STORAGE LOCATION in the itemlevel
and also it should be abule to change if we wants .
for this is there any customising ,or bapi, or userexit ???
Thanks in advance,
Anthyodaya.Hi yadav. thanks for the reply ..
but i did t find that USER EXIT whis is u sent m..
i have a following list of user exit only .. is there any another way to search that...use exit
Exit Name Description
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Thanks,
Anthyodaya -
Sale Order change BAPI - Storage loc not updated
Hi Everybody,
Iam using "BAPI_SALESORDER_CHANGE", to change the sale order items.
First iam calling above bapi with switch B, for new pricing & then second time for material change.
When i change any material number, it is getting updated correctly.
But the storage location, even though iam passing in the bapi it is not updated, & is blank - updation flag is also passed.
When i execute sale order change again it is updated - ie, for any material change for first bapi call, storage loc is not updated - for 2nd bapi call storage loc is updation - for same input in both the cases.
Is there any way to update the storage loc is first call of sales order change bapi.
Below is the parameters iam passing in bapi :
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = LS_SALESDOCUMENT
ORDER_HEADER_IN = LT_HEADER_IN
ORDER_HEADER_INX = LT_HEADER_X
TABLES
RETURN = LT_RETURN
ORDER_ITEM_IN = LT_ITEMS
ORDER_ITEM_INX = LT_ITEM_X
ORDER_CFGS_REF = LT_CFGS_REF
ORDER_CFGS_INST = LT_PARTS
ORDER_CFGS_VALUE = LT_VALUES
ORDER_CFGS_BLOB = LT_CUBLOB
ORDER_CFGS_VK = LT_CUVK
ORDER_CFGS_REFINST = LT_CUREF
SCHEDULE_LINES = LT_SCHEDULE_L
SCHEDULE_LINESX = LT_SCHEDULE_X
ORDER_TEXT = LT_TEXT
CONDITIONS_IN = LT_CONDITION_L
CONDITIONS_INX = LT_CONDITION_X.
Any help is appreciated.
Regards,
Nagarajan.JHi,
Storage location is updated only when same sale order bapi is called another time with required details.
rgs,
Nagarajan J -
Dear All,
I need to create sales order with discount (30%) , based on the volume, if total sales is over $5million per annum.
I like your help , if you could kindly indicate complete Prerequisites and Process flow, for this sales order.
Thanks.
NazHi
i want to clear u about the difference between discount & rebate.
Discount is always calculated in the sales order where as rebate is at Billing document.
If u want to give a discount then u have to give it in sales order level.....
u said that u want to give discount of 30% if the annual sale will reach $ 5 millon.
u will not process all the sales order for a year at a single point of time.
in that case u will not give any discount....since u r processing the sales order through out the year.
u can make a rebate agreement for that, in which u can maintain 30% rebate.. rebate amount will accrued and when ur customer reached $5million mark u can go for partial settlement or in the end of the year u can go for final settlement through credit memo.
so instead of discount u have to maintain rebate agreement.
I hope it will help u.
Regards
Dibya -
One sales order with reference to 2 sales orders
Hi Gurus,
can v create one sales order with reference to 2 sales orders?
i think it is not possible, but if there is any chance let me know?
Cheers,
SumithFirst u need to ensure whether copy controls are maintained between the documents (say Ex ZOR ---> ZOR) here i am assuming that ur source and target document are of same type)
Maintain the controls.
Then u need to create the source documents and save.
Then, u need to create the target document by using the create with reference button, enter the first reference order no and proceed further. ater entering into the order, again u need to press the create with reference button for the second time to enter the second reference order.
Now both the order items will come to a single order. now u can proceed further
Hope it is useful...
reward points if u found useful.. -
Sales order with reference to sales order
Hi,
I need to create a sales order with reference another sales order using bapi CreateFromDat2. Please note, Sales Ord. Dist. channel, Div, sold-to to of the new order are different from original order. I gave reference order in field order_header_in-REFDOCTYPE . I am getting following error when I perform single test " FB Call: insufficient parameters. Can any of you tell me how to overcome this issue. And is it possible to create an order refering to another Saler order with different Sales Ord, Dist. channel, Division, sold-to ?
<b><REMOVED BY MODERATOR></b>
Cheers
Sudhaker
Message was edited by:
Alvaro Tejada GalindoThere is an OSS note <a href="https://service.sap.com/sap/support/notes/370988">Note 370988 - BAPIs in SD: Creation with reference</a>
<i><b>Symptom</b>
This note describes the problems of the 'Create with reference' function when using BAPIs to create sales documents.
If you are working online, you can use this function module to create a sales document with reference to an existing sales document or a billing document (for example, a debit or credit memo request) according to fixed rules. The rules for transferring information from the source document to the target document are defined in the copying control on header and item level. The creation with reference permits an item selection.
When you use BAPIs in SD, a function of this type is not fully available. A reference is only possible for a quantity contract, so that the target quantity of the contract can be reduced by the order quantity of the sales document. Furthermore, the document flow is also updated.
As an alternative to 'Create with reference' in Transaction VA01, two variants are provided for solving the 'Create with reference' problem in the BAPI.
1. Create a '1:1 ' - that is, a document copy of a sales document (customer quotation, order) with 'BAPI_SALESDOCUMENT_COPY'. At this point, you cannot create the 1:1 copy of either a billing document or a delivery.
2. Create a sales document that refers to an existing document with 'BAPISDORDER_GETDETAILEDLIST' and 'BAPI_SALESORDER_CREATEFROMDAT2'.
<b>Other terms</b>
BAPI_SALESDOCUMENT_COPY, BAPI_SALESORDER_CHANGE, BAPI_CUSTOMERINQUIRY_CHANGE, BAPI_CUSTOMERQUOTATION_CHANGE, BAPI_SALESORDER_CREATEFROMDAT1, BAPI_SALESORDER_CREATEFROMDAT2, BAPI_SALESORDER_CREATEFROMDATA, BAPISDORDER_GETDETAILEDLIST
<b>Reason and Prerequisites</b>
As of yet, no method exists for creating a sales document that refers to an existing document.
Solution
For solution No. 1
1. Create the documents using the BAPI_SALESDOCUMENT_COPY function module. However, this only permits a 1:1 copy without factoring out individual items.
2. After you have created the document copy, you can use a change BAPI to edit this copy.
For solution No. 2
1. Collect the data for the reference document (for example a customer quotation) with the 'BAPISDORDER_GETDETAILEDLIST' function module. In the example code, focus exclusively on the partners, items, schedule lines and conditions.
2. Prepare the Data. Execute the 'copying control' manually. This way, you decide which values are to be transferred.
3. Create the sales document using the 'BAPI_SALESORDER_CREATEFROMDAT2' function module by transferring the prepared data.
4. Finally, you must remove a COMMIT WORK so that the sales document can be written into the database.
An example of solution 2 is attached as a text file. You are allowed to select items and quantities for example, if you use input parameters. If there are no entries, then transfer 1:1 from the reference document. When you enter the 'condition type' parameter, you can determine whether conditions are copied or recalculated ('G' for transferring from the preceding document; 'B' or ' ' for re-determining, and 'C' for re-determining with transfer of the manual elements).</i>
Sample : <a href="https://websmp108.sap-ag.de/~sapidb/012003146900000486112004E/BAPI_COPY_WITH_REF.txt">ZZ_MS_BAPI_COPY</a>
Regards -
Sales order with reference to purchase order
Hi
I have a scenario where i need to create a sales order from PO raised in another company code
My client has 4 company codes
1000 company code
2000 company code
3000 company code
4000 company code
Now
2000 company will raise a PO on company code 1000
So in company code 2000 i need to create a sales order with reference to PO from compcode 1000
where all the data has to copied from PO with schedules
so when i create a order in VA31 i have to create scheduling agreements with refernce to PO all the schedule line items should be copied?
Is there any standard process or do i need to go for development?
RegardsHi,
As per my Understanding,
I guess, you can do this same as creating Purchase Order-NB ( In ordering Company code)-ME21N,
Vendor- Plant of Supplying Comp code ( Create this Plant as Vendor in ORdering Comp code)
Purchase org/Group-
Comp Code - Ordering Comp Code
Material-
Plant - Receiving Plant.
Try n Revert-
No Need to go for Userexit,
My Query is: -
Why you want to create Scheduling agreement wrt "PO" of Diff Comp Code.
We can use the PO from Ordering Comp Code is a ref for any dispatches ( To Pass the PO requirements to Production in Supp.Comp code, while creating PO by maintaining Checking rule ) -
BAPI: Create Sales order with reference to Quotation
Hi ...
I am using bapi BAPI_SALESOREDER_CREATEFROMDATA2 and
i want to create sales order with reference Quotation... All quotation data like Materials prices and conditions must be copied from reference quotaion which is allready created .....
..Thanks..
..AshishHello,
nice to see that this has already been solved.
But it actually doesnt work in my scenario. Do you have an example coding which will explain your solution.
Mine looks like this:
* Update Flag
ls_header_inx-updateflag = 'I'.
* Angebotskopf einlesen
SELECT SINGLE * FROM vbak INTO ls_vbak
WHERE vbeln = iv_vbeln
AND vbtyp = lc_vbtyp.
IF sy-subrc <> 0.
EXIT.
ENDIF.
* Auftragskopf setzen
ls_header_in-doc_type = ls_vbak-auart.
ls_header_in-sales_org = ls_vbak-vkorg.
ls_header_in-distr_chan = ls_vbak-vtweg.
ls_header_in-division = ls_vbak-spart.
ls_header_in-req_date_h = ls_vbak-VDATU.
ls_header_in-ref_doc = ls_vbak-vbeln.
ls_header_in-refdoc_cat = 'B'.
* Angebots-Partner einlesen (Nur AG und WE)
* Auftrag anlegen
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
* SALESDOCUMENTIN =
order_header_in = ls_header_in
* order_header_inx = ls_header_inx
* SENDER =
* BINARY_RELATIONSHIPTYPE =
* INT_NUMBER_ASSIGNMENT =
* BEHAVE_WHEN_ERROR =
* LOGIC_SWITCH =
* testrun = 'X'
* CONVERT = ' '
IMPORTING
salesdocument = ev_vbeln
TABLES
return = et_return
* order_items_in = lt_items_in
* order_items_inx = lt_items_inx
order_partners = lt_partners
* ORDER_SCHEDULES_IN =
* ORDER_SCHEDULES_INX =
* ORDER_CONDITIONS_IN =
* ORDER_CONDITIONS_INX =
* ORDER_CFGS_REF =
* ORDER_CFGS_INST =
* ORDER_CFGS_PART_OF =
* ORDER_CFGS_VALUE =
* ORDER_CFGS_BLOB =
* ORDER_CFGS_VK =
* ORDER_CFGS_REFINST =
* ORDER_CCARD =
* ORDER_TEXT =
* ORDER_KEYS =
* EXTENSIONIN =
* PARTNERADDRESSES = .
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
Unfortunatly this just makes the reference to the quotation but does not takeover ALL data from header and pos level.
Thanks and regards
Markus Armbruster -
LSMW program to upload the sales order with multiple line items.
Dear SD and PP Gurus,
I am new to creating LSMW Program.
I want to create a LSMW program to upload the sales order with multiple line items. I have read on SDN that it can be done on two phases. First Create Header Data than line items. IS IT TRUE??, Or
Is there any procedure by which we can load the sales orders with multiple line items in a single run (part).
I want to use Batch process, not a BAPI or IDOC procedure.
I have created a program with
object 0090
Method 0000
Program Name RVINVB10
Program Type D
Source Structure 1 - For Header and Source Structure 2 for Line Items.
Mapped Field INDET (With Fix Value 1), ORDERTYPE, SALESORG, DISTCHANNEL, DIVISION, CUSTOMER, PONUMBER , DELVDATE, PRCGDATE, PMTTERM
INCOT1 INCOT2 with Source Structure - 1 and
Field INDENT (With Fix Value 2), ITEMNO, MATCODE, MATQTY, SUOM, PLANT, BATCH, AMOUNT with Structure-2
than maintained Structure relation ship, field Mapping, Specified Files, Assigned files, Read Data and other process,
At final stage (Start Direct Input program RVINVB10) it is giving a message - Table name not allowed.
Please tell me where I am wrong.
Thanks in advance.
DSCDear SD Gurus n Experts,
I have solved the above problem. But there is another problem appearing regarding the date format. Now system generating a message: Date . . is not valid.
While I am using Date: YYYYMMDD format in flat file, which is SAP's Standard Format.
In SDN Link: LSMW upload Sales Order using VA01/VA02 I have found that there are some date fields which are mandatory to filled. Here I have mapped
VDATU - Requested delivery date, BSTDK - Customer purchase order date, PRSDT - Date for pricing and exchange rate, BSTDK_E - Ship-to party's PO date, FKDAT - Billing Date, KORDT - Delivery Date,
and PRGRS - Date type is Constant = D
Can any one tell me, where is the priblem.
With thanks,
DSC -
1 sales order with 2 sales districts will spilt invoice into 2
Hi,
We have one issue here. We would like to create one Invoice based on two different sales districts.
After we key in one sales order with two differennt sales districts, the system generated only one sales order and only one Delivery Order, but unfortunately the system split the Invoice into two invoices. Instead of spliting into two, can I combine the invoices into one. Meaning, One Sales Order, generate One Delivery Order and One Invoice?
Kindly please advise. Thank you.Hi Sim,
Invoices can be combined if your bill to party and the billing date of all the invoices are same.
This can be done througuh transaction VF06.
You can also check the transaction VTFL for your corresponding delivery and billling type and for your item category field VBRK/VBRP should have the value single invoice(routine -03).
Reward points if it helps.
Regards
Karan -
Sales Order with billing parcial
Dear friends,
We are having the need to build a scenario where we have a sale of a material is not storable. The sales document must be left open, and the billing should be partial.
I set up the following scenario:
I created a sales order, with schedule line with different dates.
Example:
31/08/2011 - 2 parts
01/09/2011 - 2 parts
02/09/2011 - 2 parts
03/09/2011 - 2 parts
04/09/2011 - 2 parts
When I billed the sales order, the amount that appears on the billing document is the total number of divisions 10 parts.
I need:
1) or the amount of billing respect the value and date of schedule line;
2) or the field of quantity amount in the billing document need to be opeen for change manually.
Anyone could help me to solve this scenario?
Thank you in advanced for your attention.
Mary Nuvoloni
SD ConsultantDear Consultor SD ,
There is no setting to create the invoice based on schedule line.
What you can possibly do is create multiple deliveries based on the schedule line and
then invoice the individual deliveries.
If you want system to split the deliveries based on schedule line, then you will have to include Schedule line also
in the COMBINATION REQUIREMENT in VTLA.
Thanks & Regards,
Hegal K Charles -
ATP check partial Quantity allocation to Sales Orders
Hi,
Our client has three different sales order types for processing sales differently for the same materials.
While doing ATP check they have a order of priority i.e ZOR1 -> ZOR2 -> ZOR3 with ZOR1 highest priority.
For sales order type ZOR2 currently they donot have partial quantity allocation to sales orders.i.e if two orders, Order 1 created with 100 Qty and other Order 2 with 50 Qty and if ATP is 50 Qty.
System is allocating material to Order 2 which has order quantity 50 ( Which equals ATP Qty )
Now the client requirement is to configure system such that it does partial allocation to Order 1 ( order qty 100, where as ATP Qty is 50 ) i.e system should allocate even partial quantity to sales orders, that too in FIFO ( system should allocate ATP qty to order created first then next and so on )
Please let me know what changes i need to do to achieve the above functionality in SAP system.
Thanks
Venkata Rama Reddy.KDear Venkat,
Please check the customer master for the customer which you have maintained in the 1st order. If the customer allows partial delivery, them the system will allocate the stock to the order which is created at first.
At the time of ATP check(In Availability Screen), you do need to choose, One-time or System proposal, which will allocate the stocks partially to the 1st order as you don't have enough stock.
Check out the settings in the customer master (for the customer in the 1st sale order) under Shipping Tab.
Partial delivery per item D/A/B
Max. partial deliveries >0
(And more thing, you mentioned that sales document type is having priority. As of I know - there won't be any setting which will set particular sales document type with high priority. If you are really doing that kind of setting - update the same in this forum - it may help others..)
Hope it may help you.
(Venkat: Has your issue solved? Kindly update in the forum - if your question is answered)
Thanks,
Venkatesh.S.P. -
HOW TO CONTROL ON CREATION OF SALES ORDER WITH REFERENCE TO EARLIER SO?
Dear All,
I want to contol on creation of Sales order with reference to earlier SO? While creation of sales order our enduser are creating sales order with reference to earlier month SO which I want to restrict. Recently I made changes in sales order like payment terms is grayed, system will atomatically pick pay terms from customer master.Now I am getting correct data also but enduser is using old SO no while creating new SO and old payment data is reflecting in fbl5n.
I want to restrict enduser while creating new SO with ref. to old SO. Only for returns they should be able to use Billing refrence. Pl. suggest how to control the with reference to ealier SO.
NikhilNikhil Deshpande,
If you dont want allow create a sales order in referent to other one, just delete the copy control between these sales order type, so when the user tries to create a SO in reference to other one a message is displayed that is not possible.
Thanks,
Mariano.
Maybe you are looking for
-
Generation of Invoice based on a Business Condition
Hi Folks I am facing a scenario where a F2 invoice is generated however when there is a specific " Ship to Party " used in the Sales Order , system should also generate a Pro Forma Invoice Automatically along with a F2 invoice. How can we generate tw
-
How do I install LR on second computer without disk or serial number
I need to install LR onto a new computer. I cannot find the LR 3 dish but I do have the Adobe order number for my purchase of LR3, but I do not have a serial no. or codes for installing LR 3. I do have the LR 5 upgrade disk. I have tried to chat
-
Reboot problems with iMac dual intel 1.83 OS 10.4.6
Needing help. Mac user since 1999 but I'm feeling like a novice with this. Wife was playing Sims 2 when it locked up and wouldn't allow the game to be turned off. Did a forced restart, disk went to the grey screen with the spinning gear for an extend
-
We are driving a van towing a trailer across the Mohave Desert it is 108 outside. My MAC desktop is in the trailer. what is the hotest ambiant temperature a desktop computer can withstand before it gets damaged?
-
Retrieve one key software for G550
I have Lenovo G550 and I did partition my hdd (C drive). And one key recovery is not working. Lenovo tech support told me that I will have to send it to its depot at Texas. Is there anyway to retrieve the software by myself ? If I make a disk out of