Updating sales order pricing after partial delivery
I have a requirement where due to an enhancement being implemented I need to be able to update the item pricing on the sales order after the item has been partially-delivered. Currently the standard system
controls do not allow access to the Update Pricing button in the item conditions tab after a partial delivery for the item. Is there any way around this using the standard functionality?
Regards
BK GAIKWAD
Dear,
For update in sales pricing after delivery you require to reverse and delete delivery.
Without delivery deletion it is not possible to update sales order's price.
One more option is you can update your price in billing if you can not accounting of invoice.
Regards,
Sandip
Similar Messages
-
Combining 2 Sales Orders - 'Complete' with 'Partial' Delivery into 1 Delv
Hi folks,
I have a typical requirement from my client and it is as follows:
My client want to combine 'Sales Orders' marked with 'Complete Delivery' indicator(VBAK-AUTLF check-box is checked) at the Header -> Shipping, with Sales Orders marked for 'Partial Delivery' (VBAK-AUTLF is not checked) in the Header-> Shipping.
Although all the other business conditions/fields values at the Header levels,like Ship-To_party, Shipping Conditions, Incoterms, etc. are same across both these Sales Orders; SAP as a standard Business Process Flow, doesnot allow <u>COMBINING</u> of 2 such orders into a <u>SINGLE Delivery</u>, since their 'Headers' seem to differ for that ONE field value.
I have searched through all user-exits, SAP Help forums as well as OSS notes to get a solution to this problem but could not find any (bad luck).
Will anyone of you who has come across this particular scenario or know a way to get around this problem, be able to contribute with his/her ideas? I would be
grateful, thanks in advance.
Regards,
ShripadHi iim nava,
Thanks for your reply.
However in our case, the system does throw that error, when i try to combine the second order (partial) into the delivery created for the first order (complete).Here is the log for your reference, when I try to add the second(partial so items) into the delivery created for the first (complete delivery SO):
Diagnosis
Item 000010 cannot be shipped in the same delivery with the
other items in the document because the header data (AUTLF)
is different. The field AUTLF for the item has the value &4,
yet in the delivery it has X.
System Response
The system issues this message if a delivery split is
necessary.
This message either appears in the collective processing log
or during creation of outbound deliveries from projects or
for subcontracting. It informs you that the item specified
will be shipped in a delivery other than the delivery that
includes the other items from the same document. If there was
a general problem with shipment of the delivery, a different
message appears.
If this message appears when you are creating an outbound
delivery with reference to a sales order in the foreground,
it indicates that the order item cannot be shipped with the
current outbound delivery.
By any chance, did you actually try simulating my scenario in your system. If you have and the same works fine in your system, then pls help me by sending your 'copy control' settings, to help me compare. We run SAP 4.6 and my settings for copy control are as follows:
<u>LF <-> OR (Header)</u>:
Data Transfer (VBAK) = 001 [HEADER]
Data Transfer HU = 000 [blank]
Order Requirements (VBAK) = 001 [HEADER]
Combination Requirements = 651 [051 w/o Comp dlv]
<u>LF <-> OR <-> TAN (Item)</u>:
Item Data = 101 [ITEM]
Order Requirements (VBAK) = 101 [ITEM]
Business Data = 2 [BUSINESS DATA]
Buss Data Reqmt = 151 [COMBINATION]
Hope the feedback can you will help me solve my problem. Thanks once again.
Regards,
Shripad -
Rejected sales order item after partial invoice
Dear All,
We have a partially invoiced (and paid) sales order. Now the customer (and we) wants to cancel a sales order item. So we set reason for rejection at item level. In VA05 it still displays the SOI as open and status is being processed. How to proceed, it should not be displayed as open when it is rejected in VA05.
Can I change the billing plan so that the invoice does not mind the items I want to reject should I ste a billing block? Delivery Block?
Best regards,
Michaël
Edited by: spimic on Oct 5, 2010 6:21 PMHi,
Take the help of ABAP'er, and explain him that as soon as sales order is invoiced(partially), set the rejection reason to sales order.
And also define the rejection reason and assign these rejection reasons to billing types.
Regards
Ashutosh -
Control Sales order Pricing Date with Delivery GI Date
Is it possible to have a control that ensures the Actual GI date in a delivery is not more than a number of days from the sales order pricing date?
Hi,
To have restriction in actual GI date in transaction VL01N . Please find the user exit for VL01N , you can use one which are marked as bold . Kindly take the help of abaper to put the validation or logic as required.
V02V0001 - Sales area determination for stock transport order
V02V0002 - User exit for storage location determination
V02V0003 - User exit for gate + matl staging area determination
V02V0004 - User Exit for Staging Area Determination (Item)
V50PSTAT - Delivery: Item Status Calculation
V50Q0001 - Delivery Monitor: User Exits for Filling Display Fields
V50R0001 - Collective processing for delivery creation
V50R0002 - Collective processing for delivery creation
V50R0004 - Calculation of Stock for POs for Shipping Due Date List
V50S0001 - User Exits for Delivery Processing
V53C0001 - Rough workload calculation in time per item
V53C0002 - W&S: RWE enhancement - shipping material type/time slot
V53W0001 - User exits for creating picking waves
VMDE0001 - Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 - Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 - Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 - Shipping Interface: Message SDPACK (Packing, Inbound)
Hope this will help you to resolve your issue!!!!
Regards,
Krishna O -
New pricing on sales order item after partial delivered and billed
Hi
I want to change price of sales order item that already delivered partially and
billed, but I can't search standard function.
Can any one help me out in changing the price of sales order item (VA02).....
Thanks,
Wizard.Hi DongWoo,
Under what scenario would you want to re-price after billing? If you change the price how will your customer know? You will need to contact your customer and let them know not to pay the last invoice, then delete that billing document in SAP and re-issue it. When you create the billing document in SAP from a delivery or order you can specify how to re-price in copy control. Whether or not you want to reprice all conditions, taxes or whatever is in the re-pricing type.
You need to make sure what we send the customer matches what is in SAP, which is why we generally can't re-price after billing. Make sense?
If you want to change the price on the still open items you can reject what is open and enter a new line item. That will pick up whatever new pricing conditions exist, but you may lose your ATP position & allocation status. -
Update sales orders status after changing item completion rule
Hello!
I've just changed the item completion rule of a given sales document item (from 'B' to blank). But we have several old orders, which have deliveries created with reference, with some fields still open (due to the 'no reference' status at the item level). The orders created after the new condiguration are ok.
So, is there any way I can update the status of those old orders? Already tried the report SDVBUK00, but did not work out.
Any ideas are welcome.
Thanks.
Adriano CardosoHi,
check if oss note 1472007 helps.
Regards,
JM -
Sales order item level partial delivery field table and field?
Will anyone share your expertise, In SD sales order level, at item what is the table and field name in which the partial delivery status is stored. I want the table and field name?. will anyone share pl.
Hi,
Try with table VBUP - and field LFSTA.
Regards -
User Exit to update Sales order text (Terms of delivery) on saving it
Hi Experts ,
I have a requirement where I want to update the sales order header text (terms of delivery) on saving of PO with Partners details such as first name , and last name etc,
Please suggest an user exit or any other enhancement where I can update the header text automatically w/o going into the texts.
Thanks .Hi,
Any texts have to be maintained making use of FM SAVE_TEXT.
For eg if i want to update the Order Confirmation text, i will use the FM as follows:-
data : header type THEAD.
data : lines type standard table of TLINE .
data : wa_line type tline.
header-TDOBJECT = 'VBBK'.
header-TDNAME = '0000003561'. "sales order number or text name
header-TDID = 'Z007'. " Confirmation text - text id
header-TDSPRAS = sy-langu.
wa_line-TDFORMAT = '*'. "paragraph format
wa_line-TDLINE = 'This is 1st line of text'.
append wa_line to lines.
wa_line-TDFORMAT = '*'.
wa_line-TDLINE = 'This is 2nd line of text'.
append wa_line to lines.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
header = header
tables
lines = lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Here the details of
TDOBJECT, TDNAME, TDID and TDSPRAS can be obtained by double clicking on the particular text in the sales order. It will open the text editor and then from menu go to Header.
In this way you can save any text.
Similarly if you want to read any text then make use of FM READ_TEXT.
I hope you understand.
Regards,
Ankur Parab -
User exit to change sales order status once a delivery is created
Hello Experts,
I want to update the Overall status(VBSTT-GBSTA_BEZ) of a sales order to completed once a delivery is created for that order.Please guide me how can i do this and also the user exit or badi where i can write the code for this.
Thanks in advance.
Regards,
KoustubhGot the complet guidance in new thread.
User Exit to update Sales order text (Terms of delivery) on saving it
Thanks -
Unable to update purchase order after partial delivery
bold Issue:
After upgrading from v2005 > v2007:
1) We created a PO with two different purchase items :
row 1: 10 pcs Item x
row 2: 15 pcs item Y
2) create a Goods Receipt PO based on the PO row 2 (15 pcs Item Y) so this row will be closed in the PO.
3) after saving the GRPO item Y is set as a non purchase item (deselected the tick box "Purchase Item" on the Item master), because the supplier will not be able to deliver this item again.
4) After changing item Y, we want to update the amount of Item X to for example 11 (instead of 10). This item is still a purchase item > while updating the PO the following error appears:
[Purchase Order - Rows - Item No.][line: 2] , 'The item is not a purchase item (2)' [Message 131-10]
In v2005 it was possible to follow the above procedure, however since the upgrade of v2007 the error appears.
The problem is that that it happens very often that the suppliers change the items, so they cannot be delivered anymore.
bold Below the response of SAP Support:
Line: -
Yes, I understand what you mean that the item you want to deliver is the other item PQ which is still a purchase item. However, the system does the checking based on document level, and not filtering only per Open rows. Hence, even if the item for B8 is fully closed, the system still detects that there is a non-purchase item in an open document (B8).
In order to update the other item PQ, please set the item B8 back to Purchase Item. Once the Sales Order is updated, you may update B8 again to Non Purchase.
If the possibility of using the 'Active/Inactive' button is not possible, another workaround is to use a User Define Field to flag the item. For example, you can set it as 'Y', when the supplier stopp ed selling the item. Then, in the Item Search window, you can filter the records to group those items that are set as 'Y' and the rest as 'N'. Only those 'N' items can be used when placing orders.
As an added procedure, you can generate an approval procedure that will be triggered when an item that is set as 'Y' in the User Defined field is added in the Purchase Order. When the approval is trig gered, the user can then re-verify the items added and make the necessary changes before saving the purchase document.
I hope the above workaround is suitable. I agree with the expected logic, but per Note937297, the stock status of an item is not meant to be changed after documents are added in the system. It seems a limitation in the current system.
Line: -
bold Solution:
The system should check if the open row can be delivered, since it still is a purchase item.
The provided workarounds are not an option for our customer, so we are looking forward to a positive reaction!
Kind regards,
CharlotteUnable to update purchase order after partial delivery
Issue:
After upgrading from v2005 > v2007:
1) We created a PO with two different purchase items :
row 1: 10 pcs Item x
row 2: 15 pcs item Y
2) create a Goods Receipt PO based on the PO row 2 (15 pcs Item Y) so this row will be closed in the PO.
3) after saving the GRPO item Y is set as a non purchase item (deselected the tick box "Purchase Item" on the Item master), because the supplier will not be able to deliver this item again.
4) After changing item Y, we want to update the amount of Item X to for example 11 (instead of 10). This item is still a purchase item > while updating the PO the following error appears:
[Purchase Order - Rows - Item No.][line: 2] , 'The item is not a purchase item (2)' [Message 131-10]
In v2005 it was possible to follow the above procedure, however since the upgrade of v2007 the error appears.
The problem is that that it happens very often that the suppliers change the items, so they cannot be delivered anymore.
Below the response of SAP Support:
Yes, I understand what you mean that the item you want to deliver is the other item PQ which is still a purchase item. However, the system does the checking based on document level, and not filtering only per Open rows. Hence, even if the item for B8 is fully closed, the system still detects that there is a non-purchase item in an open document (B8).
In order to update the other item PQ, please set the item B8 back to Purchase Item. Once the Sales Order is updated, you may update B8 again to Non Purchase.
If the possibility of using the 'Active/Inactive' button is not possible, another workaround is to use a User Define Field to flag the item. For example, you can set it as 'Y', when the supplier stopp ed selling the item. Then, in the Item Search window, you can filter the records to group those items that are set as 'Y' and the rest as 'N'. Only those 'N' items can be used when placing orders.
As an added procedure, you can generate an approval procedure that will be triggered when an item that is set as 'Y' in the User Defined field is added in the Purchase Order. When the approval is trig gered, the user can then re-verify the items added and make the necessary changes before saving the purchase document.
I hope the above workaround is suitable. I agree with the expected logic, but per Note937297, the stock status of an item is not meant to be changed after documents are added in the system. It seems a limitation in the current system.
Solution:
The system should check if the open row can be delivered, since it still is a purchase item.
The provided workarounds are not an option for our customer, so we are looking forward to a positive reaction!
Kind regards,
Charlotte -
How to update Sales Order Delivery Block while saving Delivery ?
Hi,
I have a requirement wherein i need to update sales order delivery block field(VBAK-LIFSK) while saving the delivery for the order.
Also I need to remove this block while execution of Backorder Rescheduling program SDV03V02 (Tcode : V_V2),
Can anybody help me out in this?
regards,
NitinHI,
try using BAPI_SALESORDER_CHANGE
pass ur vbeln in SALESDOCUMENT
pass an 'X' to BAPISDH1-DLV_BLOCK
and 'X' to BAPISDH1X-DLV_BLOCK
Also add the UPDATE task clause, you will want to set the flag only when delivery is being saved, not before that. -
Excise CIN amounts not updated in TAX field in Sales Order Pricing
Hi,
I am not getting the Excise Amount [CIN] i.e BED + ECS + SHE Cess in Tax field of Sales Order Pricing Procedure. only Sales Tax amount is showing.
Plz let me know, where did I go wrong in the Configuration.
Thanx in advance.
with best regards
JabbarAbdul,
What you have said is correct with regards to condition record creation, excise rate picking and its calculation.
On clicking the "analysis" button in pricing screen (Sales item details --> condition -->) try to analyse for each condition type
we can resolve it
Check within the condition type whether you have entered condition category = D, it must be like this
Cond. class = D Taxes
Calculat.type = A Percentage
Cond.category = D Tax
In Pricing Procedure Activate "Statistical" Indicator, it will definitely appear in the tax field.
Regards
Sathya -
Sales Order Pricing User Exit Problem
Hi,
I am facing a problem related to coding in Sales Order pricing user exits. Scenario is as mentioned below:
Based on Material Entered and Sold To in Sales Order, auto determination of a manual pricing condition happens. For doing this, coding has been done in USEREXIT_PRICING_PREPARE_TKOMP by changing XKOMV table. Auto determination of the manual price is happening properly.
From Sales Overview Screen when user goes to the Conditions tab, Net Value is not getting calculated. When we navigate away to Schedule line tab and then come back to COnditions tab, Net Value is automatically getting calculated.
AM i missing something in the coding part? As the data is getting populated automatically I guess some piece of code needs to be triggered. Can anyone shed some light into this.
Thanks in advance,
thunderans.Prabhu: After filling in XKOMV structure, I am calling FM PRICING. On doing this, the Sales Pricing is getting calculated but even then net value of order at header i.e VBAK-NETWR is not getting populated when we are in Sales Overview screen. When, I am getting into Conditions tab and coming back to Sales Overview screen, Net value is getting populated correctly. This portion of everything not getting populated at the same time is bothering me. The pricing conditon that I am filling is a manual pricing condition.
I put a breakpoint after FM PRICING which correctly populates XKOMV structure. How do I properly update Order Net Value in Sales Overview screen wihtout having to navigate to any other tab?
Nicklas: I am looping at Order line within the user exit USEREXIT_PRICING_PREPARE_TKOMP and determining price. Once all line items are processed, I am using the FM PRICING for calculating Sales Prices.
J@Y: Request to send me a bit more details into your approach. -
Problem updating sales order partner addresses
Hi all,
iam trying to update addresses on sales order if there is any update on on the delivery.
I update the VBPA-ADRNR and create the same ADRC-ADRNR.
but when iam updating VBAP-VBELN for order using BAPI_SALESORDER_CHANGE there is a new ADRNR being created in VBPA as opposed to using the ADRNR i pass to the BAPI which is the delivery ADRNR.
Can someone help me resove this...
and one more small question..
what do i pass to the paramter addr_handle in the fm ADDR_NUMBER_GET..i need to insert/update a record in adrc as soon as an address is updated in VBPA-VBELN of delivery.
for this want to use ADDR_NUMBER_GET , ADDR_UPDATE/ADDR_INSERT.
and after this process i am updating sales orders.
but iam filling the tables u mentioned...the problem is teh new adrnr the bapi is generating instead of the one iam passing it in ADDRNUMBER(new ADRNR) in PARTNERCHANGES table and also iam passing ADDRLINK(old adrnr) field in PARTNERADDRESSES table. -
Error while updating Sales Order : Another user Modified Table (RDR1 )
Hi All,
I am getting an error message while running the following steps.
Steps
1) Pull an entry from sales order.
2) Add new data to line.
3) Update the sales order.
a) Sap updated the data.
b) Through code using DI API we updated some UDF.
4) With out closing / Pressing OK button
5) We added new data to line.
6) Then Press update.
An Error will through by B1 as Another user modified the table(RDR1 ). Before going to the code where we are handling the update of UDF.
But after the 3rd step above when we do
4) Close the window or pressed ok
5) take the sales order window again pull the data
6) Add new Data to line.
7) Update sales order then it will go smoothly.(Updating by B1 and from code )
Can anybody tell me why this happens?And any workarounds to solve this?
Deepeshare u adding a matrix row thru the code? I get this error when I am adding rows and I get the rownumber out of sync.
if so get the max (lineid) from rdr1 and then check against the matrix.rowcount before adding a row. if lineid is greater that matrix.rowcount take lineid + 1 and assign it to the matrix.row, else take the rowcount + 1
if not, and as a workaround, then you can try using the SBO_SP_transactionnotification stored procedure.
Maybe you are looking for
-
Anyone using a Laserjet All-In-One on an Intel Mac?
I just got an HP Laserjet 2820 all in one unit (scanner, printer, copier) for use with my MacBook Pro. My main reason for going with this model was the automatic document feeder (ADF) that allows me to put a stack of documents in and automatically cr
-
OCCI VS2005 InstantClient 11_1_0_7 - really close, help appreciated
OK, I have an OCCI app written in VC++8 (DevStudio 2005). I have downloaded InstantClient 11_1_0_7 Basic plus the SDK. The program compiles and links, and I am linking against the oraocci11.lib in instantclient_11_1/sdk/lib/msvc/vc8 Note that with th
-
Double click event to source code
hi all What im trying to do is when someone clicks one of the keywords in the tree browser file that it takes them to the source code window and to that method or variable the clicked. For exaple lets say have 2 windows, on the left side is just a li
-
I have a problem with a pending session (Oracle 8.1.7, Windows 2000). The active process is waiting for a BFILE to close (BFILE closure). It has been waiting > 7000 secs. The file to read is a simple csv-file with 10 lines. I'm using the widely sprea
-
Lately, my Mac Pro (12-core 2.4gHz -- from mid 2010 I believe) is going to a black screen when running Windows after a period of time. I think it's effectively a Windows BSOD but without the information on screen. I have to do a hard reboot to get