Changed Sales Order and it left Order Balance (OrdersBal) negative
2007 SP1 PL9 - Entered and saved a sales order, printed it, then made some changes. The net change amount was left in the BP OrdersBal field (Orders) as a negative.
Do the experts have any idea why changing a Sales Order on occasion can cause the BP Orders Balance to go negative? I have no open orders for this customer now, yet BP Order Balance is showing -17.92 (net of change made to SO when open)
Thanks for any input you may have.
Mike
Mike,
Whenever you get negative Order Balance (OrdersBal), you need to log message to SAP support to run the restore function. Hope it is not a new bug.
Thanks,
Gordon
Similar Messages
-
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 -
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 -
Open Sales Order Balance incorret
Dear All,
When you copy a Sales Order to an AR-Invoice and then increase the line quantity on the AR Invoice, the Open Sales Order Balance on the Business Partner Master Data shows a negative amount.
E.G.
Sales Order 10 Chairs @ R1000 = 10000 (Open Sales Order balance in bp master = 10000)
Copy to AR Invoice
AR Invoice 12 chairs @ R1000 = 12000 (Open Sales Order balance in BP maser = -2000)
When subsequent sales orders are added their is a - 2000 diff between the Sales order balance and actual open sales orders.
Can you please tel me how to correct this.
Best regards
ErikaHi,
Please run the Query from the Note no. : 999124 and check whether the item in the sales order appears in the results obtained.
If yes then you need to log a support ticket to get your issue investigated.
Kind Regards,
Jitin
SAP Business One Forum Team -
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 -
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
-
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 -
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 -
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 -
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 -
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. -
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. -
Problem in updating Billing plan while changing Sales order
Hi All,
I am using the BAPI 'BAPI_SALESORDER_CHANGE' to change a Prepaid Sale order.After calling this BAPI ,I am calling the function module <b>'BILLING_SCHEDULE_SAVE'</b> to update the Billing plan of the changed Sale order(Billing plan dates for Billing type ZF1 are changed).
The updated date values are getting reflected in the screen when I view through the transaction VA02 and the values are also updated in FPLT table but the values are not getting reflected in the table VKDFS.
Since the values are not getting reflectedin the table VKDFS the billing date is not correct while we view in the transaction VF04.
Please provide your valuable suggestions for updating the Billing date in VKDFS table.
Thanks in advance for your help.
Thanks and regards,
SivaHi,
I had the same problem. Here is an example code to resolve it:
REPORT ytestfg.
DATA: i_bsid LIKE bsid OCCURS 0,
i_bsid2 LIKE bsid OCCURS 0.
TABLES: bsid.
DATA: doc LIKE vbak-vbeln,
pos(6) TYPE n.
DATA e_fpla LIKE fpla.
DATA e_fplt LIKE fpltvb OCCURS 0 .
DATA: zfpla LIKE fplavb OCCURS 0,
zfplt LIKE fpltvb OCCURS 0.
DATA zfplt2 LIKE fpltvb OCCURS 0 WITH HEADER LINE.
doc = 'G03060619'.
pos = '000010'.
CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
EXPORTING
document_number = doc.
CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
EXPORTING
i_vbeln = doc
i_posnr = pos
IMPORTING
e_fpla = e_fpla
TABLES
e_fplt = e_fplt
EXCEPTIONS
no_billingplan_allowed = 1
no_billingplan_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Read the billing plan
CALL FUNCTION 'BILLING_SCHEDULE_READ'
EXPORTING
fplnr = e_fpla-fplnr
I_VFKDAT =
I_BFKDAT =
TABLES
zfpla = zfpla
zfplt = zfplt
Upddate the ZFPLT2 table with the new values
MOVE zfplt[] TO zfplt2[].
READ TABLE zfplt2 INDEX 1.
zfplt2-afdat = '20080927'.
Very important to set field updkz = 'U' ***
zfplt2-updkz = 'U'. "--> UPDATE!!
MODIFY zfplt2 INDEX 1.
CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
TABLES
fpla_new = zfpla
fpla_old = zfpla
fplt_new = zfplt2 " --> NEW
fplt_old = zfplt.
CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Regards,
Edited by: PHO_BA on Mar 9, 2009 5:28 PM -
Delivery & Sales order balance in Business partner master data
Hi Experts,
Why there is negligible balance showing under delivery & sales order balance in business partner data.
How can we remove this balance from master?
Regards,
Datta KharatHi,
You need to check the detect query under the Note No. : 999124.
There are many similar threads discussing the same issue.
Kind Regards,
Jitin
SAP Business One Forum Team -
Change Sales Order Contract Data FM
Hi Friends
Kindly let me know if there is any function module or BAPI to change Sales order Contract Data of each line item. 'BAPI_SALESORDER_CHANGE' dosent have that.
ThanksHi Ram,
Check will this helps you ...
call function 'BAPI_CUSTOMERCONTRACT_CHANGE'
exporting
SALESDOCUMENT = vbeln
CONTRACT_HEADER_IN = w_header
CONTRACT_HEADER_INX = w_headerin
INT_NUMBER_ASSIGNMENT = 'X'
ORDER_HEADER_INX
BEHAVE_WHEN_ERROR = 'P'
LOGIC_SWITCH
TESTRUN = 'X'
convert = 'X'
importing
salesdocument = v_order
salesdocument = vbeln
tables
return = t_return
CONTRACT_items_in = t_items
CONTRACT_ITEMS_INX = r_items
CONTRACT_partners = t_partners
CONTRACT_schedules_in = t_sched
CONTRACT_conditions_in = t_conds
CONTRACT_text = t_texts .
Regards,
Poornima
Maybe you are looking for
-
Scrolling and zoom in and out does not respond with touch pad gestures
I have Just installed Firefox today not even an hour ago and already I've closed it at least 15 times reset it started it in safe mode and checked all my settings that have been tinkered with. I have: Windows 7 (64-bit) Dell XPS Laptop and No mouse,
-
Hi, I'm have created a .war file that contains an html page and a JApplet. When I deploy the .war file and connect to the server, the html page is found. but, I get an exception that the applet class can not be found. when I use the assembly tool tha
-
Can't select text in iWeb published pages
I need to rebuild pages from existing ones on the web that were made with iWeb 09. Text boxes that also include inserted images appear to have lost the ability to have their text highlighted and copied off the web (existing) pages. Boxes that contain
-
How can i get back a film i purchesed
i purchest a film for my ipod touch and it is no longer there how can i get it back
-
How can I change the Video Display Mode when the Monitor displays UNSUPPORTED MODE?
While setting up my new monitor, I changed the computer Video Display mode to 120 Hz by accident. Now I can't see a thing on the monitor other than the words UNSUPPORTED MODE. My system is a newer HP Pavilion p7-1423W running Windows 8.1 with Intel