Unable to save the sales order in varient configuration
Hi Gurus,
In varient configuration i have done all the settings and it works fine, and i am getting one error
while saving the sale order(incomplete long) showing configuration.
while click the error shwoing like this :
Item 000011 can only be changed by configuring material XXXX(item 000010)
Error Message NO. V1456
(Item &1 can only changed by configurable material &2 (item &3))
Please help in in this regards.
Where i am missing the settings.
Thanksa and reagards
E.Rambabu
Dear Rambabu,
While saving the sales order Configuration showing in the incompletion log means it is related to configurable material only so you look in these areas,
1.Check the BOM settings whether BOM is exploding properly or not.
2.Item category is getting determined or not.
3.Have you able to select the sub item items through configuration selection screen or not.
4.Go to transaction VOV7 check the item category settings related to the configuration.
5. Have you maintained all the data in the KMAT (Configurable) material master data like class assignment etc.
I hope this will help you,
Regards,
Murali.
Similar Messages
-
Sytem should not allow to save the sales order based on risk category
Hi,
My user want to control the creation of sales orders based on risk category in credit control area.
We created a new risk category - 30 Not authorized.
And we made necessary configs also , like assignment of risk category and company code in OVFL.
We assigned 30 risk category in FD32 for customers also.
But while creation of sales order system is allowing to save the order.
My user requirement system shoud not allow to save the sales orders for those are customers belongs to 30 risk category.
How can we config. this
thanks
Sateeshhi,
dont want to save the sales order if the credit limit exist ?
then maintain block in OVA8
choose
your credit control area risk categories credit group
1000 30 Not authorized 01
checks tab
choose static and maintain B
this will give you error message and it will not allow you to save the sales order
regards
senya
Edited by: senya_1111 on Oct 1, 2009 2:26 PM -
To save the sales order number in custom table while creation of the order.
Hi Experts,
Does there exist any exit to save the sales order number in a custom table while the sales order is created in VA01. The requirement is to capture the sales order number in a Z table when a field (payment terms ) is changed during the sales order creation.
Regards,
SunithaHi Sunita,
You can store your data in the User exit MV45AFZZ in the form 'userexit_save_document'.
You can navigate to MV45AFZZ from SE38 wherein an access key needs to be generated for that program, if you know to implement enhancement points then you can create an implicit enhancement point in this form without generating an access Key.
Regards,
Ravi Kiran -
When a new sales order created at that time based on perticular order type (ZRE) i need to check the vale of
Screen field: KNVV-KZAZU (combine delivery) needs to deactivated.
Program Name: SAPMF02D
Please suggest the active user exit or routine that will trigger at the time save the sales order.
Thanks & regards,
Vinayak More.If you want to deactivate the field then you need to check this form..
FORM USEREXIT_FIELD_MODIFICATION.
* CASE SCREEN-NAME.
* WHEN 'VBAK-VBELN'.
* SCREEN-ACTIVE = 0.
* ENDCASE.
ENDFORM. -
Exit or routine or BADI for save the sales order
Exit or routine or BADI for save the sales order.
Please give your input Asap.
Thanks & regards,
Vinayak More.Hi Vinayak,
please go through the steps and u will be able to find BADI of any transaction.
&*************Reward point if helpful**************&
BADI Info:
Method 1:
Go to Tranaction: SE24.
open class CL_EXITHANDLER
Open the method " GetInstance"
Put Break point in the statement
call method cl_exithandler=>get_class_name_by_interface
Now execute the Transaction which you need teh BDC it will automatically stops at the the method. In debugging mode double click on the variable: " exit_name" It will return the BADI Name.
Method 2:
find the Package name and go to the tranaction SE84.
Enter the package name
inside the left navaigaiton panel there is one option " Enhancements" click on this enhancement and then enter the package name and execute it. you will get hte number of enhancement. -
Regd : Error during saving the sales order for Variant configuration
Hi -
When the item( config material) is saved in the sales order , system scheduled the production order and getting an error as " Posting Rule for Assembly order for item 000010 could not be generated".
Any solutions regarding the error.Hi,
This is the process of Assembly to order with variant configuration. In material master, you can maintain gen item category 0002 (configurable material) in basic data view, sales 2 view item category grp 0002 and strategy group 82 in MRP 3 view. After creating of material master, BOM & Routing, You can create sales order in VA01 transaction.
In this VA01, When you create sales order, system will check material availability, capacity checking and system will show variants for each items. And also when you will save the sales order, system will create production order no immdiately.
So you can maintain the above settings compulsory.
please let me know any clarification.
Regards,
Mohan -
VA01, message when save a sales order
Hi,
I need to validate each one of the amounts of each position of an order of sales, this validation must allow that when finding an error shows the message and leaves to the user the possibility of modifying the amount with error, this validation only must become at the time of saving the order.
I have proven several alternatives with userexit_save_document and badi_sd_sales_item in the method item_check, but it does not use it because the amounts are valued always and I only need that it is validated when is going to save it. Please if somebody can give some idea.
Thanks,
ClaudiaHi,
I use the user exit save_document_prepare and already shows the message but me it leaves disabled the positions and I cannot modify them, when changing the message class it shows the message but at the same time save the sales order, i need that when find an error show the message and i can modify this position before save the sales order.
Thanks,
Claudia -
In the sales order text is not redetermined
Hello
while creating the sales order user enters the sold to party and ship to party after executing the text the user changed the ship to party but the text is not redetermined in the order according to the ship to party it is same as previous ship to party text only. how this text will be redetermined in the order.
Regards,
KishoreHi
The sales order might be incomplete.
Go to Transaction VA02, Edit->Incomplete Log.
Complete the details and then try to create the delivery.
Also, check the Delivery block option in the Sales Tab.
If it has entries, remove the entries.
Save the Sales order and then try to create the delivery.
kindly reward points if it helps!
best regards,
Thangesh -
Incompletion log Profitability Segment at item level in the Sales Order
Hello Sapians,
We recently activated the "Sales Order value flow to COPA". When we create the Sales Orders the Profitability segment for the item is getting picked up automatically and have no issue in saving the Sales Order.
But when we edit the Sales Order and then try to save it, Sales Order has incompletion log which is leading to Profitability segment in the item level.
When I click the little box in Sales Order Item > Account Assignment tab> Profitability Segment forward arrow--> "continue" or "derivation" in the populated screen, then the Forward arrow in the profitability segment is deriving the characteristics, then system lets us to save the Sales order with out any incompletion log.
I checked the OSS notes 114520, in this OSS note, my sitiuation is exactly first point but could not get any clue how to resolve automatically.
Why it is happening only when we edit the Sales Order? How to update bulk of Sales Order automatically?
Any inputs?
Thank you.Hi
Since you have activated the Sales order flow to COPA, any change in the sales order triggers a Prof Segment redetermination.... Thats why you are able to save it once you redetermine the Prof Segment....
Ideally, if no Chars like Plant/Org Elements/etc are changed - It need not trigger the Prof Segment redetermination...
Refer Note 729381 - When is a profitability segment supposed to be determined?.... With ref to this note, raise an OSS msg to SAP and check if it is possible to avoid the redetermination of PSG as long as none of the relevant chars are changed in the sales order....
There is a similar issue in MTO where by, even if you change the Header text of sales order, it triggers the Sales order cost estimate.... SAP provided a note to stop this... Note 1548608 & 1260868.... Your case is similar to this.... Raise an OSS to SAP and ask them if they can provide such a note for your case.... I feel, it should be possible for SAP to give this!
br, Ajay M -
Change the sales order reason for rejection for line item
Hi,
i want to change the sales order reason for rejection for line item.
iam using bapi_salesorder_change.but i unable to change the sales order.
if possible please provide me what are the fields necessary for changing
sales order reason for rejection for line item.
Regards,
SureshThis is the standard config to supress printing on the rejected item. Are you using standard programs or customised ?
-
Sales order item details configuration
Hello All,
I have a requirement to get the Sales order item details configuration programmatically in user exit in sales order create and change.
In sales order change i am using function module "VC_I_GET_CONFIGURATION".
Input for this function module is instance (VBAP-CUOBJ).
I am getting the configuration here. But i am not able to get it in create mode (VA01).
Can any one help me please.
Thank You,Hi Harish,
INOB table key is CUOBJ, At run time the VBAP-CUOBJ is not generated yet. Its value is now "999999999999990001".
I guess once the order is created we will get an entry in INOB.
Do you have any other way with which INOB entry can be selected ?
Thank You. -
Unable to change the order quantity value during save of sales order
Hi Experts,
There is a need to change the order quantity value, based on some conditions, when pressed 'ENTER' or during 'SAVE' of the sales order (VA01, VA02).
We are trying to change the order quantity value (KWMENG) in table XVBAP in the subroutines userexit_field_modification, userexit_save_document and userexit_save_document_prepare of the user exit 'MV45AFZZ'. But the change is not replicated to field on GUI.
The order quantity value can be changed in subroutine 'userexit_move_field_to_vbap', but the subroutine is not getting triggered when user changes only the order quantity on screen.
Please help us in resolving this issue.
Regards,
SantoshThanks for your time guys. The issue is resolved.
SAP is not triggering the vbap user exit as the order quantity on screen is in structure RV45A.
There are two ways of resolving the issue.
1. Implement the SAP note #513342 - Quantity change and USEREXIT_MOVE_FIELD_TO_VBAP. But, it is SAP modification note.
2. Write the code in VBEP exit of MV45AFZZ. This user exit is called whenever the order quantity is changed. But, it is called multiple times in some cases. Hence, need to write code to limit our code execution only once e.g. maintain a global table with our quantity & uom. Check when the quantity and uom in our table is same as quantity on screen. If not, exit from user-exit.
Edited by: Santosh Kacham on Nov 11, 2011 6:37 AM -
System resets the sales order item price changes after save in VA02.
Hi All,
We have implemented automatic credit control at sales order level.
System is blocking the sales order once saved in VA01.
But if I do any changes in prices at item level in VA02 and save before credit releasing the sales order then system agian reset to the original prices from pricing condition records.
Can any body tell me why this is happening? I should able to change the sales order prices manually before releasing the sales order credit block. Is it possible?
Regards,
Kartheek.Like Lakshmipathi said, you should be able to change the prices in the order even if the order is under credit limit block.
Please check the condition types which are being changed . In the condition type definition( T Code V/06) for the field Manual Changes - the value should be either "Manual entry has priority" or "....should allow to change manually...".
Also in your pricing procedure ( T Code V/08) , against your pricing procedure , please select the value for pricing type as ..."copy manual conditions and redetermine others".
Hope this helps
Regards
Sai -
Get the sales order text from ITS and save it in SAP.
Hi,
I have created an application to create sales order from ITS. In this app i'm having a text field to fet the header text for the order. & after that I'm calling an RFC which has a BAPI to create the sales order.
Now, when i enter the text for header texts in frontend (separated by ENTER), then it saves only the first line of the text.
I've tried using :
SPLIT ordernotes AT cl_abap_char_utilities=>cr_lf INTO TABLE t_ordnotes.
and using FM: CREATE_TEXT,
but still, it is saving only the first line.
Can anyone please help me with this ?????
Its urgent.
Thanks in advance,
Hemant.Hi
See the sample BDC program that is used to upload the Material LONG Texts into SAP using MM01 Tcode
check this may be helpful
REPORT zmm_longtext
NO STANDARD PAGE HEADING
LINE-SIZE 255.
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab1 OCCURS 0,
matnr LIKE mara-matnr, " Material
text LIKE tline-tdline, " Long Text
END OF itab1.
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr, " Material
text LIKE tline-tdline, " Long Text
END OF itab.
To create Long Text lines for CREATE_TEXT function module
DATA:BEGIN OF dt_lines OCCURS 0.
INCLUDE STRUCTURE tline. " Long Text
DATA:END OF dt_lines.
Variable declarations for CREATE_TEXT function module
DATA : dl_name TYPE thead-tdname, " Object Name
dl_lan TYPE thead-tdspras, " Language
gv_matnr TYPE matnr.
Constants
CONSTANTS:
Object ID for Long Text of Material Basic Data 1
c_best TYPE thead-tdid VALUE 'GRUN',
c_material TYPE thead-tdobject VALUE 'MATERIAL'. " Object
Parameters
PARAMETERS p_file LIKE rlgrap-filename.
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start Of Selection
START-OF-SELECTION.
*To Upload Flat file
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = itab1
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
SORT itab1 BY matnr.
LOOP AT itab1.
CLEAR gv_matnr.
SELECT SINGLE matnr INTO gv_matnr
FROM mara WHERE bismt = itab1-matnr.
IF itab1-text NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text.
APPEND itab.
ENDIF.
CLEAR itab.
ENDLOOP.
DELETE itab WHERE matnr EQ ' '.
Upload the Texts
SORT itab BY matnr.
LOOP AT itab.
dt_lines-tdformat = 'ST'.
dt_lines-tdline = itab-text.
APPEND dt_lines.
dl_lan = sy-langu.
dl_name = itab-matnr.
Call the Function Module to Create Text
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = c_best
flanguage = dl_lan
fname = dl_name
fobject = c_material
save_direct = 'X'
fformat = '*'
TABLES
flines = dt_lines
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE:/ 'Long Text Creation failed for Material'(001),
itab-matnr.
ELSE.
WRITE:/ 'Long Text Created Successfully for Material'(002),
itab-matnr.
ENDIF.
AT END OF matnr.
REFRESH dt_lines.
ENDAT.
ENDLOOP.
<b>Reward points for useful Answers</b>
Regards
Anji -
How do I get the line number of the sales order and how do I save info?
I am trying to create a form that is able to be called from a right click on the sales order matrix and will display some of the user defined fields associated with the line.
I've managed to create a form and add a menu option to the right click but I'm now stuck because of the following:
1. How to I know which line the user selected? I need the REAL Line Number from the RDR1 table because I need to use it on the data filter of the form.
2. I hard coded a line to just to see if I can load a form and it appears to load and bind the data to the controls, but how do I save changes made? There are several text fields, combo boxes, and a picture control.Hi Coleman,
1. The pVal returned form a menu event does no provide the LineId, but a pVal from a Item Event does. I suggest you use a DoubleClick or Control + Click on the Line to trigger an event that you can catch and use to launch your form.
2. Please note that if the Sales Order line is closed you'll not be able to update the values. If it's not, then you need to instantiate a Sales Order document, get the correct document with the GetByKey method and update whatever fields you need.
Dim oSalesOrder As SAPbobsCOM.Documents = oCompany.GetBusinessObject(BoObjectTypes.oOrders)
If oSalesOrder.GetByKey(docentry) = True Then
oSalesOrder.Lines.SetCurrentLine(pVal.Row - 1)
oSalesOrder.Lines.UserFields.Fields.Item("U_MyUDF").Value = ""
oSalesOrder.Update()
End If
Regards,
Vítor Vieira
Maybe you are looking for
-
Questions on getting BT Infinity in apartment
Hello, I am considering moving into a new build apartment in Manchester, and have some questions regarding the possibility of getting fibre optic broadband there. Using the online checker, the post code brings up a positive result for the availabilit
-
How do I remove the hidden file icons from the Finder folder?
I recently had problems with Final Cut Pro and had to remove QuicktimeX and use Pacifist to re-install QuicktimeX back into the Applications folder. I now have "hidden icons" that are lightly grayed out in the Finder folder. I was told by the Apple G
-
Simple one for everyone who has kids... I run a wrt54gs, v1.50.9 wireless network in my house. I have 2 teenage kids both with laptops... I'd like to be able to see what sites they're browsing (ie firewall logs) - but without installing something lik
-
How yo leave a copy of my mails on the server
How can I have my mails downloaded ti the phone without erasing them from the server so I can seré them also in the computer
-
Hi.. I notice that there is a new elements app which only includes the Editor. but the languages show German, French and Japanese... does that mean English is not included ??? If this is so , is it because north americans are not permitted to buy a c