Sales Order - BAPI_SALESORDER_CHANGE Error.
Hi,
I would want to compare the system price and the expected price for a sales order and in case of any discrepancy, set a 'reason for rejection' code. I'm using the bapi 'BAPI_SALESORDER_CHANGE' to make changes to the sales order (setting the rejection code). This is working fine in cases where there is some value for both the prices but is throwing an error while the system price is null.
Is there any way to overcome this error and still set the rejection code?
I pass all the required information to the BAPI,
- Sales Order Number
- Update Flag in HEADER_INX (U)
- Item Number and Reason for Rejection in ITEM_IN
- Item Number, Update Flag, Reason for Rejection (X) in ITEM_INX
However I'm able to manually set RFR even if system price is null but not through BAPI. Is there any additional details that needs to be passed.
Error Details:
Error Message:
No Sales Price (YYYY) for material XXXXX line IIII. Order will be incomplete.
Message no. ZZ054
Diagnosis
The system could not determine a Sales Price (YYYY) for material 1. line 2..
System Response
The entire order will become incomplete when you save it.
Thank you.
Rob,
I have checked the custom coding and the condition under which the message is popping up. I'm curious to understand why this is bypassed while setting RFR using VA02 while not in BAPI. It does not stop here while debugging.
Also, once the RFR is set using VA02 and if I try to modify anything in the sales order or revoke the RFR, I get to this custom code.
Thank you for your valuable time.
Similar Messages
-
Hallo friends,
I am getting sales order costing error and it does not allow us to delivery through VL01n. Error shows :
Object was not costed
Message no. CK060
Diagnosis
The system could not find any entries that are relevant to costing.
System Response
The system did not cost the object.
Procedure
Check whether the following objects should be flagged as relevant to costing:
Items in the BOM
Display BOM
Operations in the routing
Control key in the routing
1. Look at the message log.
2. Check whether a quantity was specified in the confirmation.
Kindly give me urgent solution.
Thanks & regards,
SamratHi
You can just mark your thread as answered
regards -
Sales order costing error found in quotation 2 order line items created in
Sales order costing error found in quotation 2 order line items created in quotation 5000562
1st line item with third party
2nd line item with PTO
Purchase price was entered in the configuration screen
1st item : 2,000 EUR
2nd item: 1,200 EUR
Purchasing info record was created with variant condition for EUR
Error in sales order costing:-
System does not take the purchase price in the configuration screen to
calculate sales order costing. It incorrectly took 1 EUR from variant
condition in sales order costing for both items.
By right, it should take purchase price from configuration screen.
Pls advise
Thanksno replies and my thread was dead.
-
When i save sales order, Getting error.......
Hi expert,
I have created my own standard order (from company code to master data maintenance and Pricing Procedure).
1. Here the problem is that when i save the sales order, getting message/error is that Financial document: No financial document assigned.
2. If click "Header Output Preview Icon (ctrlshftF1)" in the sales order,getting error/message is that No Output has been Selected for Printing.
Please help me out from this problem.
Looking forward to hearing from Expert soon.
Thanks in advanceDear Kaviya
1) Probably you are trying to create an export order for which the field "Financial Doc" is made mandatory.
As you may be aware, few export orders are to be executed against Letter of Credit which should be created through VX11N. Once all the required datas are given in vx11n while saving, a document reference will be generated. This reference you should assign in sale order. To do the same, after giving the datas in sale order, select "Goto --> Header --> Billing Document". Here at the bottom screen, there is a field "Financial doc no". Assign the reference you got in vx11n. Now try to save the order.
2) I dont know why you are trying to print the sale order. Is it necessary.??
thanks
G. Lakshmipathi -
Create sales order with error "Item has no open quantity"
Dear all,
When I create sales order, an error pop up says: Item has no open quantity.
The F1 help says:
"Procedure
If you want the item to receive a confirmed quantity after all which can be delivered later, you should de-activate the fix quantity indicator."
But where can I find the indicator? I do not know how to open the item quantity.
ThanksHi,
Please check in IMG>SD>Basic Function-->Avaliability check and TOR >Avaliability check>Avaliability check with ATP Logic-->Default settings.
remove the check mark before particular sales area for Fixed date and quatity.
Hope this would help you.
Please reward points if helpful.
Regards, -
Sale Order, workflow error
Hello,
when i try to book sale order a message raised (Order is not eligible for booking. Check workflow status for this order.)
I checked the workflow status (Order Flow - Generic) i found it 'Error',
the error (OM Standard Error Process with Retry), i could not find why this error and how to solve it.
Note: the used workflow (Line Flow - Generic, Bill Only with Inventory Interface).
Thanks for you help,
Tarik.It is seeded functionality. The retry will be raised if line is added without booking the order for this line type. You can check if any note is available in MOS ( Metalink). I'll forward, if I get one.
If you want to avoid the error for this line type then you can think about adding processing constaint to prevent line creation/ addition unless the order is booked for this transaction type. Validation template can help you in identifying the specific transaction type. -
Material Mandatory not showing at sales order level error
Hi Every one,
According to my client Requirement at the time of sale order creation material is mandatory , but i tried through Incompletion log
its showing material mandatory but the problem is after entered the material in one line item when i try to save the sales order
system is asking enter the material again ie one more line item
so i have avoid the that error and how to map into SAP system suppose to ask onetime material is mandatory
Can any one guide me how to solve the issueHi Prasanna,
As Amit Suggested, in user exit USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ, you need to add a small 2 liner code telling the system that if VBAP-MATRN is blank then give an error message.
I had the same requirement and I have used it and it works perfectly fine for me. Let me know if you have any further questions.
Regards,
Rohan Gudavalli -
Hello Everyone,
I am getting this error while creating a sales order : Please analyse and let me know the solution:
Material 302309 is not defined for sales org.5000, distr.chan.06, language
EN
Message no. V1 382
Diagnosis
Material 302309 is not defined for the following combination of
requirements:
o Sales organization 5000
o Distribution channel 06
o Language EN
System Response
The system allows no further processing.
System Response
The system allows no further processing.
Procedure
You can check whether
o the material number that you entered is correct
o the material has been created for the sales organization and
distribution channel
<i><b>
o a short text with the appropriate language exists in the material
master record (a short text must be available in the language of
either the customer or the sales organization) </b></i>
I guess the error lies here in this particular point...there is some text maintained in customer master record which i am not able 2 remove ...
The material must meet all three of the above requirements before you
can process it further.
Thanks in advanceHi Sachin,
Have you checked whether the material 302309 is created in the Sales org 5000 and dist. channel 06
If it is maintained in the same sales org, then goto Material Master of 302309, using T.code MM02.
Now goto Administrative Data and give there Language as EN and your material no. and save it.
Now create the order once agin, there wont be any prob.
Hope this is clear.
REWARD IF HELPFUL.
Regards,
Praveen -
While creating sales order got error version "0" is not defined for company
Hi,
i got a error while creating a sales order(va01) ,i got an error
saying that "version 0(zero) is not defined for company code
if there is any solution please provide....
Thanks®ards
kishore kumarGo to TCODE:OKEQ
1)select version 0 here and ext select settings for each fiscal year under controlling area settings
2)give your controlling area XXXX and version 0 then enter
3)select new entries maintain data for new year 2008.
Hope this will give u
Sri -
Hi
I am trying to create a delivery note form a sales order in B1 V9 PL8 and I am getting the following error -
Internal error (-2010) occurred
The code has been working but we seem to be getting problems now
Can anyone suggest anything please ?
Copy of the code attached
Thanks
AndyHi Andrew,
Try replacing this line:
odel.Lines.BaseLine = lineno - 1
with this:
odel.Lines.BaseLine = oorder.Lines.LineNum
Beni. -
Hi all,
I getting an error when i created a sales order, while saving the system through an error : settlemet profile zz1 does not exits"
the same i simulated in the Quality system it is working fine.
when i have done the analysis, the settlement profile ZZ1 is not there in both the system.
can any on please give light on this.
thanks
KuntlaDear GopalKrishna,
Check with:
T. Code: VA88
> Environment> Customize Settlement.
For more, read:
Sales order settlemet-VA88
Hope, this information may help you.
Best Regards,
Amit -
Hi All,
I am facing problems while updating a sales order. I have some custom actions in the middle. I am loading another custom window when tabbing out of Quantity field in Salesorder matrix. In that window I am updating batch quantity for the Sales order line from which I tabbed out using DI API to zero quantity. After that action,I am trying to update the Sales Order. Then I am receiving the error "There is a difference between the document total and its components. [Sales Order - Document Total (FC)] [Message 439-138]". Please help me on this issue.
Thanks
JishaHi John,
Thank you for the updation. Yes. I am working with an addon.
Let me explain my current environment and requirments.
I have 2 cases which I am mentioning below. In the given 2 cases , first case(adding Sales Order works well for me). Problem occurs while updation.
Adding Sales Order
When I am adding a new Sales Order, I am updating the batch allocation for the line items using DI API in the FORM_DATA_ADD_Event - Action success true section. (This section work successfully)
Updating the Sales Order
In the update mode, If I am changing the quantity for the Sales Order lines(I am mentioning here only the case when I am reducing quantiy) , the custom window opens for me to reallocate the batches for the new quantity. In this window, I am not updating the new batch allocation. Just I am clearing the existing batch allocation using DI API so that I can give the new batch allocation in the Sales Order window - FORM_DATA_UPDATE_Event - Action success true section.
After this step, when I am trying to update the Sales Order , I am getting the error"There is a difference between the document total and its components. [Sales Order - Document Total (FC)] [Message 439-138]".
Can you please give me a solution for this?
One more thing to note, If the unit price field for the line item is zero, the Sales Order is getting updated successfully. If the price is greater than zero, then only the problem occur.
Please let me know, if you need further details.
Thanks
Jisha -
BOS problem in Sales Order (Pricing error)
Hello every one,
In my project i am getting scenerio of BOS- Bill of services. Now in that when i am creating sales order i m puting material and everything. Now at item level in am selecting "SERVICE" tab. When i am putting service there i am getting one pricing error that is "Conditions for service price determination incomplete". This is scenerio of bill of services. Kindly help me in this.
Regards
AbhishekHi,
Have you maintained the item level pricing?
regards,
raja -
Sales Order costing error to prevent Plan Order generation in MRP run
Dear PP Experts,
We are into sales order costing due to Variant Config implementation.
Problem Statement: After sales order entry /Characterisitc value selection, while saving sales order , SO costing is auto triggered. Many a times one of the new Raw material price is not maintained( Purchase info record), hence SO costing occurs. SO costing is still saved, SO incompletion is not configured , so it is detected when Production order has 'No Target Cost'. This creates inconsistancy in FI postings.
My questions
- Can we set SO imcompletion for SO costing error( Standard Config?)
- Is there a enhancement to prevent MRP from processing Sales order with incompletion log i.e. Prevent MRP from generating Plan Order.
Best Regards,
JatinHello Jatin
You can use BAdI MD_CHANGE_MRP_DATA to make the sales order not relevant to MRP.
Check the following document for an overview of the BAdIs available on MRP:
BAdIs for MRP
BR
Caetano -
Sales order stock error in Process order confirmation
Hello SAP Gurus,
In Make To order scnario while I do COR6 order confirmation it gives me Error that Sales order stock does not exist.
Can anyone suggest me which way I can remove the error?
What is the Transaction and movement to transfer stock to SALES ORDER?
Please reply...
Thanks & Regards,
Bhavik Dangi.Hi,
As per your mail, you can move the stock from normal stock to sales order stock through transaction MB1B with movement type 412 E. This route is generally follow if want to assign stocks manually to sales order stock otherwise if follow the PP route then system generates the stock against the sales order line item at the time of produciton confirmation and requirement type use in this are KSL, KE.
Rewards if it helps.
Regards
Goutham
Maybe you are looking for
-
PIX Firewall 525 can not start
Hi, Today my colleague add 2 lines of access-list to our PIX 525. After 10 minutes, my firewall was rebooted and until now can't start. The booting process as listed below. The questions are : 1. What is my OS version? Flash? 2. How to remove those
-
Separate documents are printed as continuous documents.
I am printing via USB to a Samsung ML02151N laser printer. To save paper, I print either double-sided or two pages per side. My problem arises if printing different documents, one after the other. If I send the subsequent document to the printer befo
-
Online backup for eMac? And what about Skype?
I recently had a bad crash. Had to do a clean install of OS X 10.4.11. For some reason Carbonite won't serve the Mac community. . Anyone know of a good Mac alternative? Also I lost Skype. Same question. What version of Skype will work with this old
-
Table executes query on page load
I have a popup in my page and a table in my popup... I use this popup for searching among records. When I render my popup, table comes with the sql suery results (invokes in popup load)... But I don't want the table come with the query results on loa
-
Retouching large 16-bit tiff images causes endless processing.
I have a few high-resolution 16-bit greyscale tiff scans of antique family photos in my Aperture library. The largest file size is 420MB. Since upgrading my library to AP3, editing these images causes Aperture to process endlessly. Aperture doesn't h