Have to provide a popup when there is a Sales order change(VA02)
Hello,
I would like to know how to capture Sales order changes(VA02) through an enhancement. Based upon users changes which can be either a addition or deletion in sales order then I have to provide a popup. I am unable to find out whether Sales order has undergone a change or not. Field r185d-dataloss is alway having 'X' whether data has changed or not. System field SY-DATAR is not capturing any deletion is sales order.
I am using USEREXIT_SAVE_DOCUMENT_PREPARE but unable to check sales order is changed or not.
I need to provide popup after user clicks on Save. Tables CDPOS & CDHDR won't have current sales order change.
Thanks for your replies.
Edited by: harryibm on Dec 11, 2011 8:07 PM
I am using USEREXIT_SAVE_DOCUMENT_PREPARE but unable to check sales order is changed or not.
Donot do any changes and hit save. check if this routine is triggered if you are not changing anything.
In program MV45AF0B_BELEG_SICHERN there is a condition
IF R185D-DATALOSS = SPACE FORCE_UPDATE = SPACE AND
UPD_VBUK IS INITIAL AND
UPD_VBUP IS INITIAL.
The else part will only tirgger if its changed. The routine USEREXIT_SAVE_DOCUMENT_PREPARE is called in the else part.
Similar Messages
-
Mail has become very, very slow. Do I have a provider problem or is there something I can do with my Mac?
Couple of steps. One is general housekeeping and the other is performance related.
If you have an extremely large number of messages in your inbox(es) or sent categories, consider the ones that remain relevant and purge those that are not. Do this regularly. Choose the Mailbox > Erase Deleted Items > In All Accounts...
Afterwards, you can start by rebuilding your Mailbox indexes within your individual mail accounts. For each Account in the left panel of Mail under Inbox, select it, and then from Mailbox menu, choose Rebuild (bottom of menu). When you are done, exit and restart Mail.
Still slow? -
Revision: 10085
Author: [email protected]
Date: 2009-09-09 07:39:54 -0700 (Wed, 09 Sep 2009)
Log Message:
Fixing video width and height getting reset when there's no true dimensional change reported by 'onMetaData'.
Modified Paths:
osmf/trunk/framework/MediaFramework/org/openvideoplayer/video/VideoElement.ashi their i have tried your last code but their is a problem with it on my pc that when i click the send video button it gives the error related to vector,
Vector deviceList = CaptureDeviceManager.getDeviceList()
di = (CaptureDeviceInfo)deviceList.firstElement();
returns zero.
please help my email address is [email protected]
kindly send me an email regarding the solution of my problem. i am using 'creative web cam' over XP windows. -
I used to have a apple id but when i got my macbook i changed it. Then i downloaded OS X and updates in my app store will not let me change my apple id back to my new one it just still uses my old one. What do i do?
Content and Apple IDs -
Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple Id to another. Apple does not merge Apple IDs. You will never be able to access your content bought with another Apple ID with a new ID. -
How to update Purchase Request automatically when update qty in sales order
When we create a sales order, the PR will be automatically generated.
Now we have a requirement to change the order qty for the sales order. also the PR should be automatically changed.
With VA02, the process is perfect.
But by using BAPI_SALESORDER_CHANGE the SO is partly changed ( order qty is changed but the confirmed qty is not changed) and the PR is not changed.
So can you advise me how to update the PR by using the BAPI_SALESORDER_CHANGE, which indicator should be defined?
I've read the BAPI document but no such information.
Regards,Hi Yang,
Workflow is the best approach for any issue related to business objects.
Since you want call FM BAPI_SALESORDER_CHANGE, it will change SO. It means everytime any SO is changed there will an event being triggered.
object type: BUS2032
event: Changed
simple solution:
1. Please create object type (SWO1) and its super type should be BUS2032.
2. Add your own method and attach your custom FM which actually updates the qty & PR)
3. Create Task (PFTC_INS)
in basic data:
- provide object type which you have created
- provide method which you have added
goto triggering events tab
- Choose Object Category as BOR object type
- provide object type (better give BUS2032)
- provide event as CHANGED
Please have look into very nice video blog which helps you to create your workflow.
blog: [Creating your first SAP Business Workflow]
Regards,
Sukhbold Altanbat. -
Rounding when any discount in sales order
hi Gurus,
Please help me for pricing condition when create sales order.
when creating sales order there are some sales order the condition should be:
if there is discount(condition type : ZD23) should be rounding if there is no discount rounding should be off.
in which exit or routine i have to be modified?
Currently i try to add routine by VOFM code.
FORM KOBED_600.
*{ INSERT TZRK908033 1
sy-subrc = 4.
check: XWORKF NE '0.00' OR XWORKF NE SPACE.
check: t001r-reinh ne 0.
sy-subrc = 0.
*} INSERT
ENDFORM.
but it's not work because above code just work for no discount condition. or any suggestion for my requirement?
anyone can help me please?hi Archana Kumari thanks for reply.
I think my problem is different from the link that you have post.
my problem is
1.sales order 000001
10. item 001 -> no discount
20. Item 002 -> no discount.
1.sales order 000002
10. item 001 -> has discount
20. Item 002 -> has no discount
the rounding should be happen in sales order 000002 and will not happen in sales order 000001.
in which routine should i define code for activate the rounding.
please help me. -
Condition value getting changed when open the Sales order in VA02
Hi Experts,
i have creating Sales order manually in VA01, and for first line item of sale order, i have assigned value in custom field of additional tab B, to populate Condition value for condition type ZK01 and checked in VA02, VA03 same Condition value is there for condition type ZK01.
And created delivery document and billing document for newly created Salesorder.
When i have open the Sales order in VA02, then i am getting changed Condition value for conidition type ZK01 in bothe header and first line item and in VA03 there is no change in value.
Kindly let me know the user exit or any related programs to this issue.Thanks in Advance.Hi Rajani,
this sound like VOFM -> conditions. Do you know which conditions are active during the determination?
Cheers,
Stefan. -
Error when i reject the sales order
Hi:
I´m in Upgrade to 6.0, and when I reject a sales order in SD, the system show me this message "Subsequent function 'Production order/plan order from sales document' not possible: Item 000010 was rejected Message no. V1579".
In the implementation the products was delivered for the company, but today they work with service orders but the integration SD with PP is until running but they user the order for documentation and to saw the costs.
I wrote a SAP message and read this notes 964813 and Note 1028464 but both are already aplicated. SAP responce to me but I don´t konw to much of the SD and PP integration. Please, can any one help me?
SAP responce:
Info to SAP
12.03.2008 - 12:49:44 CET - Reply by SAP Attachments
SAP Note 97272 - Rejections of individual order items possible
SAP Note 356895 - Rejection of third-party items and individual PO items
SAP Note 549972 - FAQ: rejecting third-party or individual PO items
SAP Note 1054121 - The SAP Ecosystem in a Nutshell
Dear Gina,
I was analyzing the problme in your system.
If I understand you rigt you are expecting that the link between the
sales order and the production order is not deleted when you set the
reason for rejection. When you set the reason for rejection again then anew production order is created.
The standard behaviour is that the link between sales order and
production/assembly/service order is deleted. As field vbep-aufnr is
deleted also no later restructuring is possible.
In the header table of the order aufk-kdauf there is still the relation
to the sales order number but there is a deletion flag set for it and
the link can't be reactivated.
I am sorry that I could not give you a more positive reply.Hi:
In the table AFKO I don´t have any order document. I searched this, before reject the sales order, and then, when I try to reject the sales order, and in both cases I don´t have the relation about the order and the sales order in this table.
I looked at the table AUFK and in the field KDAUF I saw the sales order and the relation with the PM order, and this is my problem, I don´t no why the message error tell me something about PP order, I didn´t understand.
I saw the customizing and I Know they works with the "Strategy group" in materials and it was customizing in "Demand Management" and the order was customizing in "Plant Maintenance and Customer Service", (PM) customizing the Order Types. I think when finally they decided that the material was only for services, they changed something, and the customizing is not complete in PP.
In the old version 4.6C the rejection of sales order works, but in this version 6.0 and with MRP implementacion I don´t know in what step this was change. If you Know where can i find if something of MRP affect the previous integration please let me know, because I think is a PP customizing problem.
Thanks
Best Regards
Gina -
This field cannot be updated as there are open sales order lines
When trying to enable Item Attributes then I am getting a message "This field cannot be updated as there are open sales order lines". I cancelled the Sales Order ( which was having only 1 sales order line and that is also cancelled) but still I am getting the same message.
How to overcome this problem.
KhanThanks Karthik & Sandeep........
Issue got fixed. There was an open Sales order Line because of that line the issue was coming. After cancelling that SO Line, Users were able to update the Item field.
Regards,
Khan.
http://moreapps4u.blogspot.com/ -
We are using EBS 12.1.3. When we input a sales order from a customer we input the sales order and specify the date the customer wants it. This isn't always the date that we intend on manufacturing it though. I need to put a customer due date in, but be able to put a date in another field that MRP can read in the event we choose to manufacture based on another date. For example, early.
Any help would be appreciated.What you are experiencing is 100% related to Malware.
Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
You can try these free programs to scan for malware, which work with your existing antivirus software:
* [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
* [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
* [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
* [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
* [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
[http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
Did this fix your problems? Please report back to us! -
Run Time Error when go to sales order change tcode :va02
Hi All,
I am functional guy and i am facing the following situation
1.System is allowing to create the sales order through VA01 and also saved it
2.When i want to see the same sales order throug Va02 i am getting runtime errorAttach at least a download of the dump (ST22) or post to your post, as you clearly didn't give enough information to get correct answers. (Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers and similar documents.)
Regards,
Raymond -
When I create Return Sales Order through BDC sales order doesnu2019t create.
Deal Guru,
When I create Return Sales Order through BDC sales order doesnu2019t create.
It shows created sales document number but when I display this document I am getting message Document is not in database.
After executing my BDC, message received in SAP in box : SAPSQL_ARRAY_INSERT_DUPREC
I am receiving following message in SAP inbox for following issue.
But when I create Return Sales Order through VA01, it is working. Please give me some idea.
Detail Message
Update was terminated
System ID.... PRO
Client....... 900
User..... DEVELOPER2
Transaction.. VA01
Update key... 4961DBF46A6B09D2E10080020A02281C
Generated.... 05.01.2009, 16:03:40
Completed.... 05.01.2009, 16:03:40
Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
Regards
MakarandHi Rory
Try this link:
BAPI can't to create SO,But used bapi data with manual can?
Regards
Neha -
What happens in the back ground when you schedule a Sales Order?
Gurus,
What happens in the back ground when you schedule a Sales Order?
Assemble to Order scenario.
Edited by: 792050 on May 17, 2011 3:24 AM
Edited by: 792050 on May 17, 2011 3:24 AMIf I merge libraries and then back the merged libraries up onto an external drive or DVD, do I just back up the libraries themselves, or do I also back up the original files?
If you're running a Managed Library, then backing up the Library also backs up the original files.
I ask because my HDD is getting pretty full. I want to reduce the amount of stuff on it, and the iPhoto libraries are the biggest single consumer of space at the moment (Nearly 100GB).
1. Quit iPhoto
2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
Regards
TD
P.s. If you're running a Managed library, then it's the default setting, and iPhoto copies files into the iPhoto Library when Importing
If you're running a Referenced Library, then you made a change at iPhoto -> Preferences -> Advanced and iPhoto is NOT copying the files into the iPhoto Library when importing. -
Message :when i raise the Sales order
Hai Guru,s
"Date 4004 cannot be coverted (please correct)"
The abvoe message is coming when i raise the sales order.why it is coming
thank u in advanceDear Sree,
Check link:
the date 2168 is not convertible (Please correct).
Hope, this may help you, some extent.
Best Regards,
Amit -
Able to Remove Bill of Material when there is existing Production Order
Hi All,
Is this logical?
A bill of material (AAA) is created with a couple of components attached. Then production orders are raised against this Bill of Matierial (AAA). SAP B1 still allows user to delete the Bill of Material (AAA).
According to the usual standard in SAP B1, the master cannot be deleted when there is document attached to it.
How is this so?
My version is SAP B1 8.8 SP 0 PL21
Regards
JessieHi Jessie,
Yes, it is very logical, since SAP treat BoM not as a master data in usual way master data as you know. Keep in mind that even in BoM table, OITT and ITT1, SAP use the item master data code as a BoM code. If your finished goods is AAA, then the Code field in OITT and Father in ITT1 also same with AAA.
Which means, it is the Item master data - Item code is the actual reference to Production Order. Try it by yourself, if you already assign AAA in Production Order, you can't delete it from Item master data. When you assign the item master data in production order as the finished goods, system actually only copy respective raw materials from BoM and copy it into the production order. Consider it as a template, not a transaction - master data relation.
Best Regards,
Hendry Wijaya
Maybe you are looking for
-
PO e-mail sending in 4.0B
Hi experts, help needed: I configured the automatic e-mail sending for PO in two diferent environments: ECC and 4.0B. The only diference between the configurations is the medim, in ECC I used the medium 5 and Comunication Strategy CS01, and in 4.0B t
-
Up until now, I have had the 'back up to iCloud' setting enabled in iTunes for my iOS devices. However, when I recently had to restore my devices 'as new', I discovered through the process that the only 'iBooks' app data that is stored in the cloud a
-
Compensation in Oracle BPEL not according to spec
Hello, while playing around with the oracle BPEL engine and compensation I figured out, that the Oracle BPEL engine doesn't behave according to the BPEL standard as far as compensations are concerned: The spec (http://www.ibm.com/developerworks/libra
-
Installing Web Premium CS4 Student Edition on Laptop After Windows 7 Upgrade Question
I hope that this hasn't been asked before but my question is the following: I want to upgrade my laptop computer from Windows XP to Windows 7. But I hear that all programs get uninstalled after installing Windows 7 on a Windows XP machine. I would
-
I use quickbooks online and now that I have firefox 5 pdf doesnt work
I have updated to Firefox 5 and now my Adobe PDF's don't print and has caused all my invoices to be out of line using another print source. Very frustrating, what is you alternative solution, I see many people are having this issue???This is the mess