Error in change sales order.
Hi ,
my process is : First create SO than Billing than Delivery. i need to change the sales order Batch when
delivery saved.
When i change Sales order Batch withouting creating billing it is changing Fine through BAPI FM .
But when i create So --Billing --- delivery than in this case Sales order batch not changing.
it is giving error like below.
Field CHARGE Can not be changed VBAPKOM 000010 is ready for input'
Message is comming from message class V1 and Message no 739.
PLease Reply .
If any clue Have.
Thanks.
Hi,
When you create a Billing Document for the Sales Order it is no longer possible to change a lot of fields (as these fields have been copied to the Billing Document). Field Batch is one of those fields.
So if you have to include the batch in the Sales order you must update this field prior to creating the Billing Document.
Regards,
John.
Similar Messages
-
Getting error in while changing sales order which is created using BAPI
Hi All,
I have created the sales order using BAPI ( BAPI_SALESORDER_CREATEFROMDAT1 ) and i am successfully creating sales order using this BAPI. But while i want to change sales order iam changing Shipping Conditions in Header Data of sales order .its giving an error .can any know any thing about this.
Error mesage : No status object is available for SDI 300082407/10 (Order Number/Item Number)
In Header i am passing these values ...
wa_order_header_in-doc_type = vbak-auart.
wa_order_header_in-sales_org = vbak-vkorg.
wa_order_header_in-distr_chan = vbak-vtweg.
wa_order_header_in-division = vbak-spart.
Do i required to pass the below values ? in Header structure ( BAPISDHEAD1 ).
REFOBJECTTYPE
REFOBJECTKEY
REFDOCTYPE
Regards,
Sudhakar Reddy Arectified
-
Error received while changing sales order.
Hi All,
while changing sales order we have received error message "An internal program error has occured.See note 44283".
So could you plesae explain me what needs to be done.
Thanks in advance.To avoid to store inconsistent data in the future, activate the following method of the BADI BADI_SD_SALES:
> 1 - Transaction SE18
> 2 - Definition name: BADI_SD_SALES Menu: Implementation -> Overview double-click on implementation: IM_CORE_CHECK
> 3 - Now you will get an overview on the methods and you see also that the implementation IM_CORE_CHECK is inactive
> 4 - Press the change button and activate
This check works in the following way:
> 1 - if the number of items is less than 10 and there is an inconsistency the system will not store the data and an A-message will occur.
> 2 - If the number of items is greater than 10 and less than 50 and there is an inconsistency the data will be stored and an I-message will occur.
> 3 - if the number of items is greater than 50 there is no check because performance.
Edited by: Gerard Magorrian on Aug 6, 2010 4:01 PM -
Customer error message in sales order on save
Hi Friends,
as per requirement i have to raise the error message and system should enable the field to change values. This should happen when condition is not met on Saving of Sales order.
For this, i have used the user exit USEREXIT_SAVE_DOCUMENT_PREPARE. But the problem is system throwing error message and all r in display mode only. as per my requirement system should allow to change the error value field.
i have verified many posting in this SDN, but nothing is working out.
Please guide me, how to raise the error message and system should enable that filed.
My doubt is where should i raise the error message in sales order (MV45AFZZ)??? if any badi to raise the error message also fine for me. I tried many ways like... message with display like..... and set / get parameters and badis.... but not able to find the correct solution.
Thanks in Advance.
BalaHi
You need to use check for enahcement spot, which will be help to you.
Bcz you are throwing custom error message in the standard transaction, once the error is display, you could not able to change the values. your prob can be solved by using the enhancement sport.
This is include name (Include:MV45AF0B_BELEG_SICHERN).
In the above include, you need to create a enhancement spot after this spot (ENHANCEMENT 16 OI0_COMMON_SAPMV45A.)
write your custom code and while displaying an error message. set flag = 'x', then use below code. It will display error message once you press ENTER, you will get the sale order in change mode, you change the values.
IF flag = 'X'.
fcode = fcode_gleiche_seite.
perform fcode_bearbeiten.
ch_subrc = 4.
exit.
ENDIF. -
How to change pricing Conditions in Sales order in change sales order bapi
Hi Experts,
How to change pricing Conditions in Sales order in change sales order bapi.
I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
Thanks in Advance .
NLNHI NLN
I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
<b>Import Paramters:</b>
SALESDOCUMENT - Sales Document Number
ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
<b>Tables:</b>
CONDITIONS_IN - ITM_NUMBER,
COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
COND_TYPE,
COND_VALUE,
CURRENCY.
CONDITIONS_INX - ITM_NUMBER,
COND_COUNT,
COND_TYPE,
UPDATEFLAG as <b>'U'</b>,
CURRENCY.
Hope i have clarified your query.
Kind Regards
Eswar -
End User Transaction for Mass Change Sales Orders
Hello,
Transaction MASS can be used to change sales orders using object type BUS2032, however, end users are not allowed access to MASS.
In most other cases, the object types can be accessed by individual transactions, for example, MEMASSPO for BUS2012 and XD99 for KNA1.
But I cannot seem to find a similar transaction for object type BUS2032, does anyone know whether one exists or how to create such a shortcut.
Thanks,
Jake.Hi
See SAP Note 483303 - BUS2032: Only sales orders of category VBAK-VBTYP = 'C'
Regards
Eduardo -
Error while processing sales order as factory calendar missing.
"factory calendar missing or error in factory calendar".iam getting this error while processing sales order even though i have assigned it to shipping point and plant and sales org.
Hi Malik, How are you? I'm sorry to trouble you,
Let me introduce, I'm Daniel, and I saw your fantastic asnwer in
the topic "How to update Factory Calendar in SRM", and might I have the same
problem. It's with the "factory calendar".
In transaction va02 when I choose a Delivery Date, and I sent it to process, as
a result in the "shipping tab" it calculated to the first item one date, and to
the rest one date different. I don't know What it happen?
I debugged the program and I saw that to the first item use to calculate the
date is the function 'APO_SCHEDULING', and to the rest item use
'SD_SCHEDULING', and until here I come.
How can I do to what the dates calculated are the same? or What would be the
problem?
I need the dates calculated are equal.
I looked at it's using two "factory calendar" which are "J4" and "C2". Is this
correct?
Thanks In Advance,
My best regards, -
Error while create sales order
Hi,
Please help.
I am facing error while create sales order.
No item category available (Table T184 OR VERP )
Message no. V1320
Diagnosis
No item category could be determined for the combination OR VERP .
System Response
The system does not allow further processing of this item.
Procedure
Check the entries in table T184 by means of which item category determination is controlled.
If you do not have the authorization to do this yourself, contact your system administrator.Hi,
Check in spro whether Item categorygroup VERP is assigned to sales document type.if not assign.
Path
SPRO-SD-sales-sales douments-sales document item-assign item categories. -
Commit error while transferring Sales order Document to GTS
Hello,
We faced a transfer error while transferring sales order document to GTS.
When I debugged the code function /SAPSLL/API_6800_SYNCH is called. In this function, /SAPSLL/CUHD_MAINTAIN_SINGLE is called with parameter lv_no_commit = 'X'. When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.) In debug mode I set the value of lv_no_commit to space, and then it works. It creates the GTS document.
We are also transferring billing documents and it works fine. When I checked what is the difference between transferring sales order document and transferring Billing document, I saw that in the transferring billing document there is another function is called /SAPSLL/API_6800_CSD_SYNCH, and it's calling parameters(in background, as seperate unit) are different from calling parameters of /SAPSLL/API_6800_SYNCH. You can see the difference below.
For sales document transfer :
CALL FUNCTION '/SAPSLL/API_6800_SYNCH'
DESTINATION cs_transfer-rfc_dest
For billing document transfer :
CALL FUNCTION '/SAPSLL/API_6800_CSD_SYNCH'
IN BACKGROUND TASK
DESTINATION cs_transfer-rfc_dest
AS SEPARATE UNIT
So my question is, do you think is it a sap standard program error, or is there any suitable settings in the customizing or SM59 to fix this error?
Thanks in advance
Serhat
Edited by: Serhat Dirihan on Jan 22, 2009 11:46 AMDear Serhat,
I don't think this is an RFC problem or an error. But you wrote:
When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.)
It is impossible to have GTS and R/3 on the same system and same client. At least the client should be different. So try to check why the call is performed like that.
Balazs -
Changing Sales Order PARTNER from 'MASS' transaction
Hi,
I have a requirement to change partner details (e.g. SHIP TO party from SH1 to SH2) for sales order. I need to use tcode 'MASS' (Mass maintainance) for BUS2032. But it does not have the option to change partner details.
Can anybody let me any approach to achieve this. If we can do it through a config or may be creating a custom business object etc...
I could found out the thread below talking about the same issue, but there is no solution to that. I want to build the solution around SAP standard and not interested for BDC/LSMW/CATT etc.
Mass changes Sales order partners
Thanks,
Madhu
Edited by: Madhu K on Nov 1, 2011 11:58 PMAlan
I am ok to create a custom tcode for MASS. Do I need to copy the BUS2032 or the whole TCODE?
My major concern is, how to get the VBPA structure to the selection screen so that it ll show me the I/P fields to enter Old Ship to and New ship to..
Can You please give me some idea on this.
Thanks
Madhu -
New sales order and Change sales order in item level or delete at item leve
I got one requirement. Daily i have to display one report on new sales orders created on that day and any sales order item is modified or any item is deleted or any item is added.
How to get the sales order numbers and position numbers which will follow above creteria. I found one function module but it is not giving position numbers and new sales order details.
Is there any BAPI for this requirement.I am using "CHANGEDOCUMENT_READ" function module to get the new sales orders created and changed sales order items on a particular time. This function module is getting data from CDHDR and CDPOS tables. But only change sales orders is coming. New sales orders which is created on that time is not getting.
One of my friend is telling like we have to activate one change pointer to retrive new sales orders also. Which is like there will be one check box.
Is any body having idea on this. Please reply me on briefly with the code to retrive new sales orders and changed sales orders -
BAPI / FM to change Sales order item data
Hi,
I need a BAPI or FM to update the following fields of VBAP (Sales Document Item Data)
KZWI2 - Subtotal 2 from pricing procedure for condition
KZWI3 - Subtotal 3 from pricing procedure for condition
KZWI4 - Subtotal 4 from pricing procedure for condition
KZWI5 - Subtotal 5 from pricing procedure for condition
I found FM: ISM_SALES_ITEM_CHANGE for this, but when I use it, it gives me dump for some data object 'XJKNBK'.
Does any one have idea on how to use this FM or if any other FM is there please let me know?
Thanks & Regards,
Sunanda.hi Sunanda..
I think you can try the Bapi 'BAPI_SALESORDER_CHANGE'. You can make use of its Tables Parameter CONDITIONS_IN and CONDITIONS_INX.
example:
How to change pricing Conditions in Sales order in change sales order bapi
thanks,
Padma -
Change Sales Order, Delivery, Billings Reports
Hi Gurus,
Can any body please tell me is there any Report for change logs of Change Sales Order, Delivery,
Billings & Change report of Customer & Material,
Regards,
SaiHi,
There are no standard reports to display the changes made in the Sales orders and the details you had asked.
But for the latest changes you can check in the Table :Header details for change CDHDR and for Item details CDPOS
Or Based on your requirement you can go for a Customized Report
rgds
psk -
Getting runtime error while doing sales order
Hi,
I am getting a runtime error while doing sales order.
Error : SAPSQL_INVALID_FIELDNAME
Kindly suggets....stuck up badly.
cant do any transaction.
Regards
KishanHello,
Check OSS Note#209847 and 310304
Regards,
Gauravjit.
Reward points if the notes are helpful -
Change Sales Order material characteristics
Dear Pals,
I have a question for changing Sales Order material characteristics by item.
If i want to change the sales order's item conditions, I can modify the internal table "XKOMV" in user exit "USEREXIT_SAVE_DOCUMENT_PREPARE"
Is there any internal table for Sales Order's characteristics can i use in user exit "USEREXIT_SAVE_DOCUMENT_PREPARE" ?
Or any FM or BAPIs can get the internal table for characteristics and characteristics value for Sales Order item?
Thank you!You can use BAPI_SALESORDER_CHANGE.
1. Get the SO detail using BAPISDORDER_GETDETAILEDLIST.
2. MODIFY the ORDER_CFGS_* internal tables and update.
CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
TABLES
order_cfgs_value = gt_char
order_cfgs_ref = gt_char_ref
order_cfgs_inst = gt_char_ins.
MODIFY gt_cfgs_*.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
TABLES
order_cfgs_value = gt_char
order_cfgs_ref = gt_char_ref
order_cfgs_inst = gt_char_ins.
Refer SAP note 549563.
Maybe you are looking for
-
Its an 802.11n (4th Gen) model I looked at the diagnostics screen (next to the blinking orange icon on the Airport Utility and it says there are four issues: the software (currently V 7.6.1) has an update available. If I click update I get the error
-
Hi all, One of my client was using Autonomous Wireless setup in 2 of their offices, and user authentication was done through Certificate based authentication using AD. In one of their office, saying Office-1, they deployed WLC 5508 and all the autono
-
Bash scripting, check filetype with file command
Hi community, I've got as homework to write a script which uses the command file to check if a file is really a text file, and if yes echo its name. I wrote the following #!/bin/bash for filetype in * do a= file $filetype | cut -f2 -d' ' b="ASCII" if
-
I installed W 7 and everything is working except the sound. No audio output installed!
-
Toshiba NB205 Error message F3-FF00-0006, Please Help!
I need help. My toshiba NB205 is not working. When I turn it on it goes to a black screen that give me two options Launch start up repair or start normally. If I choose the startup normally it brings me back to the the same screen. If I choose Launch