Update amount when quantity has changed in MIRO
For INVOICE in MIRO tansaction, i supply PO number in PO reference..
When i change the quantity in item level for PO , Amount corrresponding should get updated before saving .
Amount = quantity * Price.
I have gone through uer exits and BADIS
Kindly suggest proper user exit or BADI implementation or Method.
Hi,
I checked further this is what I found :
According to SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment:
Definition name: INVOICE_UPDATE
Usage
The BAdI 'INVOICE_UPDATE' was only designed to execute checks during
document entry or document posting in transaction MIRO.
According to SAP Note 392342 - MIRO: No data change through Bussiness Add In
Symptom
In the logistics invoice verification MIRO, you cannot change data using
Business Add In 'INVOICE_UPDATE'.
Additional key words
BAdI, SE18, MRM_BADI_INVOICE_CHECK,
Cause and prerequisites
This system behavior is correct.
BAdI 'INVOICE_UPDATE' was only designed to execute checks during the
document entry or document posting in Transaction MIRO. Therefore, it has
only import parameters. There are no export parameters. This means that the
data changed in the BAdI is not processed further in standard program MIRO.
So When you are using transaction MIRO 'SIMULATE' it goes the break-point .The badi is called in FM 'MRM_BADI_INVOICE_CHECK'
THanks and Regards,
P.Bharadwaj
Similar Messages
-
MIRO, automatic update Amount when quantity was changed
Deal all,
How to make automatic update in line item MIRO, when i change the Quantity then the Amount must update by automaticly, in current system i always change by manualy
thanks
imronDear Krishna
I know that the price may change and hence the amount field is kept open for changes, but i want the amount can update automaticlly when i change qty because when we create invoice (MIRO) the quantity not always same with total PO qty (partial invoice), maybe you can look this my illustration :
1 . PO number = 4500000001
Qty = 5
Price = 10
Net Price = 50
2. GR number = 5000000001
Qty = 2
Amount in local currency = 20
3. GR number = 5000000002
Qty = 3
Amount in local currency = 30
4. create Invoice (MIRO)
Qty =5 -->this default by system, (now we want to change to 2, for invoicing PO number one)
Amount = 50 --> this default by system (we want this amount automatclly to become 20)
5. create second invoice
Regrads
imron
Edited by: Muhammad Nur Imron on Jan 24, 2008 3:17 AM -
How do I update iCloud when I have changed my Apple id?
How do I update iCloud when I have changed my Apple id with a new e-mail address?
Fatinc97 wrote:
Bt I Cnt Get His Password
We are sorry for your loss. You will need to repurchase the app under your Apple ID. There is no way around it.
Umm I Cant Change This Habbit Of Typing
Yes, you can. Habits are made. They can be broken. Unless, of course, you're too lazy to try? -
DefaultCellEditor in JTable can not update itself when the value changes
Hi,
I have a JTable which has 4 columns. The 3rd column has a comboBox. whenever I select an item from the first row, the cell at (currentrow, 4thcolumn) will be updated according to the item selected.
Now the problem is, after selecting the item in any cell with 3rd column, the row is updated correctly, but then all comboBox in column 3 are gone! I cannot figure out what causes this. Please help! Any suggestion will be greatly appreciated!
JingThanks! Could you give more details on how to use the second approach?
I have a table with two columns, one called ID and the other called Value. I'm using JComboBox for the Value column. Whenever I select an item from the comboBox, I want the value in the cell under the ID column to change value to the value selected in the comboBox.
The problem I'm having now is although I can change the value in the comboBox and which triggers the event to change the value under the ID column, when I click the comboBox of another row, the cell under ID of the previous row changed also, before the value under ID of the current selected row.
I think the problem is there is no distinct comboBox for each row of the table. Seems like when one box change and trigger an event, that event performed in every other rows in the table.
Following is the code:
public class Test extends JPanel{
DefaultTableModel tm;
JTable table;
JScrollPane nscrollPane;
public int total=4;
public Vector datavec, thvec;
public Test(Vector datavec, Vector thvec){
this.datavec=datavec;
this.thvec=thvec;
tm = new DefaultTableModel(datavec,thvec);
table = new JTable(tm);
table.addMouseListener(new PopupListener(table));
// table.addMouseListener(new PopupListener(table));
//tm.setTableHeader(table.getTableHeader()); //ADDED THIS
int height = table.getRowHeight()*table.getRowCount();
table.setPreferredScrollableViewportSize(new Dimension(500, height));
//Create the scroll pane and add the table to it.
nscrollPane = new JScrollPane(table);
setUpNNColumn(table, table.getColumnModel().getColumn(1));
//Add the scroll pane to this panel.
add(nscrollPane);
public void updateLabel(Integer size)
int r=table.getSelectedRow();
if(r!=-1)
((Vector)datavec.elementAt(r)).setElementAt(size, 0);
repaint();
public void setUpNNColumn(JTable table, TableColumn nnColumn) {
//Set up the editor for the sport cells
JComboBox comboBox = new JComboBox();
comboBox.addActionListener(new ComboBoxListener());
int num=total/2;
for(int i=0; i<2; i++){
comboBox.addItem(new Integer(num*(i+1)));
comboBox.setSelectedIndex(1);
nnColumn.setCellEditor(new DefaultCellEditor(comboBox));
private class ComboBoxListener implements ActionListener{
public void actionPerformed(ActionEvent e)
JComboBox cb = (JComboBox)e.getSource();
Integer size = (Integer)cb.getSelectedItem();
updateLabel(size);
private static void createAndShowGUI(Vector a, Vector b) {
\ JFrame.setDefaultLookAndFeelDecorated(true);
//Create and set up the window.
JFrame frame = new JFrame("Nearest Neighbor Fact Table");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Create and set up the content pane.
Test newContentPane = new Test(a, b);
newContentPane.setOpaque(true); //content panes must be opaque
frame.setContentPane(newContentPane);
//Display the window.
frame.pack();
frame.setVisible(true);
public static void main(String[] args) {
int patidx, hitnum=2;
Vector a=new Vector();
Vector a1=new Vector();
Vector a2=new Vector();
a1.add(new Integer(1));
a1.add(new Integer(4));
a.add(a1);
a2.add(new Integer(2));
a2.add(new Integer(4));
a.add(a2);
Vector b=new Vector();
b.add("ID");
b.add("Value");
//StatTableGUI.createAndShowGUI(gd);
Test.createAndShowGUI(a,b);
Any suggestions? Thanks!
Jing -
Updating view when the model changes
We have a requirement that when we receive a message and write to database we should update all the concerned User's(intersted in that data) view(implemented as JSP's). We don't want to put a time based refresh mechanism as it would be entirely inefficient and annoying for the users whose view of interest has not changed. Can we implement a MDB which when it gets a messages calles controller( servlet) which in turns calles the JSP's? If the approach is fine then the issue is that message need to be written to database and then only the view need to be refreshed, Any thoughts on the implementation strategy?
I tried to serach for already posted topics on the issue but could not find much..so Sorry if the issue is repeated.Sorry, HTTP is a pull only medium and wasn't design for real time updates like you're asking for.
You may be able to write JavaScript that polls for updates and only reloads the change when there is an update but that is beyond my JavaScript skills. Or you could write a Java Applet that polled the server often.
No matter what you do it's gonna be an ugly hack. I suggest you reconider what is more important, real time updates or a web interface. -
I wish to insert data into a table only when the value of the inserted data has changed. Thus, in a time series, if the value of the data at time, t-1, is 206 then if the data to be inserted at time t is 206, then it is skipped (not entered).
If the value of the data at time t+1 is 206, it is skipped also; until the value changes, so if the value at t+1 was 205, then that would be inserted, and if at time t+2 the data is 206, it would be inserted too.
What is the best way to do it without increasing overheads?This view works:
SELECT
i.IDNO,i.[Date],i.[Level]
FROM
mytable i
INNER
JOIN mytable
d
ON
d.IDNO
= i.IDNO-1
WHERE
i.[Level]
<> d.[Level]
on this mytable below. A trigger could be quite useful here although I am cautious using them. However I wish to avoid the overhead by not having a temp table (which could be sizable). mytable below
should give 3 lines. The IDNO is an identity column.
IDNO
Item
Date
Level
1
X24
12/23/13 10:41
22996
2
X24
12/23/13 10:41
22996
3
X24
12/23/13 9:21
23256
4
X24
12/23/13 9:21
23256
5
X24
12/23/13 9:22
23256
6
X24
12/23/13 9:22
23256
7
X24
12/23/13 9:22
22916 -
Download helper add-on no longer works after update of firefox, what has changed?
After I updated Firefox to 18.0.02 the download helper stopped working on 98% of the websites I watch TV programs on. What has changed and will it be returned to its previous condition?
The website I go to is: http://www.free-tv-video-online.me/internet/Are you using an add-on as a download helper?
-
Material Document List MB51 - Residual Amount when Quantity equals to Zero
Dear all,
I've this weird situation in the production system involving one material master as follows:
Material Description Plant Mvt Posting Date Quantity BUn Loc.curr.amount
10015661 SCREW 61MM 561 30.04.2006 45 PC 2,660.40
10015661 SCREW 61MM 101 09.03.2007 96 PC 5,177.43
10015661 SCREW 61MM 101 24.03.2008 50 PC 3,124.75
10015661 SCREW 61MM 101 27.02.2009 84 PC 4,483.46
10015661 SCREW 61MM 101 28.02.2009 84 PC 4,433.87
10015661 SCREW 61MM 101 28.02.2009 84 PC 4,312.56
10015661 SCREW 61MM 309 07.04.2009 45- PC 2,660.40-
10015661 SCREW 61MM 309 07.04.2009 96- PC 3,823.63-
10015661 SCREW 61MM 309 07.04.2009 50- PC 3,142.69-
10015661 SCREW 61MM 309 07.04.2009 84- PC 4,695.03-
10015661 SCREW 61MM 309 07.04.2009 168- PC 9,261.59-
Sum: 0 PC 609.13
P/S: Sorry if the data gets messy after saving this message because I'm unable to format the columns correctly.
If look closely, there's a residual amount when the quantity is already "ZERO". I tried to simulate in the Quality system but was unable to recreate the same results. By right, the sum amount should be "ZERO" as well.
Would be most grateful for any explanation or advise.
Thank you.
Edited by: Steven Khoo on Apr 6, 2011 12:21 PMHi all,
I'm attempting to interpret the report generated by MR51 as below. I noticed there are line items with "RE" accounting document type which is stands for "Invoice - Gross". I can understand WA = Goods Issue and WE = Goods Receipt but why RE? For instance, there's a WE (Goods Receipt) of 50 PCs on 24.03.2008 and followed by a series of RE (Invoice - Gross) between 26.03.2008 and 23.04.2008. I'm confused over here. Thanks.
Material Material Description CoCd ValA
10015661 SCREW 1125 6110
Type DocumentNo Itm Postg Date Quantity BUn Amt.in loc.cur. Crcy
WA 4900011305 1 07.04.2009 -168 PC -9,261.59 RM
WA 4900011304 1 07.04.2009 -84 PC -4,695.03 RM
WA 4900011303 1 07.04.2009 -50 PC -3,142.69 RM
WA 4900011302 1 07.04.2009 -96 PC -3,823.63 RM
WA 4900011301 1 07.04.2009 -45 PC -2,660.40 RM
RE 5100002095 796 31.03.2009 84 PC 254 RM
RE 5100002093 280 31.03.2009 84 PC 211.57 RM
RE 5100002089 276 31.03.2009 84 PC 261.16 RM
WE 5000002412 789 28.02.2009 84 PC 4,312.56 RM
WE 5000002408 271 28.02.2009 84 PC 4,433.87 RM
WE 5000002406 275 27.02.2009 84 PC 4,483.46 RM
RE 5100001398 2 29.04.2008 -96 PC -1,353.80 RM
RE 5100001385 2 23.04.2008 50 PC 0.68 RM
RE 5100001384 2 23.04.2008 50 PC 0.68 RM
RE 5100001383 2 23.04.2008 50 PC 2.97 RM
RE 5100001382 2 23.04.2008 50 PC 2.31 RM
RE 5100001341 2 26.03.2008 50 PC 11.3 RM
WE 5000001702 1 24.03.2008 50 PC 3,124.75 RM
WE 5000000779 1 09.03.2007 96 PC 5,177.43 RM
WA 4900005345 1 30.04.2006 45 PC 2,660.40 RM
P/S: Sorry, the data gets messy after saving the post.
Edited by: Steven Khoo on Apr 25, 2011 10:11 AM -
OS X NTP Security Update my Mail Application has changed
Since the most recent OS X NTP Security Update my Mail Application has been acting differently. I no longer see the Tool Bar at the top or the Dock at the bottom unless I hover over those areas. Is there a setting is need to change?
Glad to help.
For further information on full screen mode, Search Full Screen in Help -
Updating cache when file is changed.
Hi all,
I am working on a "Resource Manager" module in java. What it does is :
1. Read the configuration file from a location(proerty name/value pair).
2. Loads the file properties in a cache which holds the in a CachedHashMap as Key-Value pair
The same config file which it reads looks like this:
<config>
<client>
<id>1</id>
<application>
<id>213</id>
<name> MyApp </name>
<property>
<name> key1 </name>
<value> value1 </value>
</property>
<property>
<name> key2 </name>
<value> value2 </value>
</property>
</application?
</client>
</config>This reading from config file and storing in cache I have already implemented ..
But now I have a special requirement.. If after deploying the application, I modify the file then Resource Manager should be smart enuf to detect the change and the reloads the file , cleans the cache and updates the cache..
Can you guys please through an idea on how to achieve the same??? It has to be Server Independent... I mean no JMX..
a small small code will b more useful..
Thanks in advance
PankajWhen you load the file, keep its timestamp. Every time you return an element from the cache check the file timestamp again. If it has changed, reload.
-
How to updates file when template is changed
Hello fellow dw users..
Is there somebody whocan help me. My problem is that I
created my website by using a template,
now I need to chagne the color and some background images on
my template after updating the template
how would I let all my web pages be affected and follow and
use the updated the template instead of the old one? hope you can
help me . thanks a lot!!When you save the changed template, all changes to
NON-editable regions are
automatically propagated to all local child pages of that
template. Is that
not happening for you?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"teamse1" <[email protected]> wrote in
message
news:eb7ljd$12b$[email protected]..
> Hello fellow dw users..
>
> Is there somebody whocan help me. My problem is that I
created my website
> by
> using a template,
> now I need to chagne the color and some background
images on my template
> after
> updating the template
> how would I let all my web pages be affected and follow
and use the
> updated
> the template instead of the old one? hope you can help
me . thanks a lot!!
> -
How can I get my InDesign app to update now that it has changed to 'canceling'?
I am new to Creative Cloud. This is just another example of why I feel so much discontent. I just touched the app to get it to stop. Well, it DID! The second app just changed to 'update'. This old lady needs someone to help me. Please. This is just so frustrating.
Hi M Joan Sprieck
Which Operating system are you using? Also are you trying to update the Creative Cloud updates thru the application manager that looks like the image below? Were you able to update your software?
Let us know if you are still having problems or need further assistance
If you find that this resolves your issue or was helpful, could you please take a moment to come back to this discussion and mark the post as helpful. Doing so greatly benefits your fellow users
Thanks
Scott -
Preventing prompt to save when nothing has changed
I have a form that if you just open it then close, it will prompt to save. I figure it has to do with some code in either an initialize of Form Ready event. Any advice on figuring out which one? Preferably other than process of elimination.
The JavaScript scripting reference lists a dirty flag that can be set to false. Wherever I do app.alert(this.dirty), I get undefined.The this in Acrobat refers to the current doc object. You cannot use it like that in XFA forms. You can use event.target to get at the same object through XFA. If you click on the root node in the hierarchy and choose the Initialize event, then click on the + icon beside the events dropdown. This will show you all of the code on all child events. You can at least see if any initialization routines are changing data.
-
Automatically change linked images path in AI files when server has changed?
A customer of ours have replaced their server and now all AI files containing linked to images are broken as they point to the old server. I have opened an AI file and there I can see the paths to the old server, but of course I cannot just edit the path and then save the file because then it won't open in Illustrator CS3 anymore. Is there any way other than to manually go through all AI files and manually replacing the links with the new links to the old server, or to use embedded images?
Jasion,
Maybe a bit beside the question, but it is always recommended here to open/save from/to own hard disk, and to copy from/to networks and removable media. You may be lucky, at least for a while, but it is better to be safe than sorry.
In addition to the (far greater) risk of file corruption, some issues are mentioned here:
http://helpx.adobe.com/illustrator/kb/illustrator-support-networks-removable-media.html -
Update manager in IdM automatically when the manager changes in SAP HR
Hi Experts
I have been given a requirement where the manager of a user in IdM should be updated automatically when the manager changes in SAP HR.
The HR extraction job is currently in place and runs every 30mins.
Please could you give me some ideas on how to implement this.
IDM 7.2 SP 6
Thanks
RanHi Deepak
I have been discussing this a bit more in detail with the client. So, the issue is as follows
When a new/replacement manager is hired
When people are moved from one org unit to another
The scheduled extraction job (RPLDAP_EXTRACT_IDM with a variant with the delta tick on) does not update the new manager info in IDM for the relevant users who report to that manager. The client has to run the program (RPLDAP_EXTRACT_IDM with a variant with the delta tick off) manually each time for the affected users which updates the manager info successfully in idm.
I investigated the query LDAP_IDM_QUERY from user group /SAPQUERY/L1 and want to know if the below should be ticked as well. Your thoughts please?
Please advise.
Thanks
Ranjit
Maybe you are looking for
-
How to use C# WPF component dll in Delphi Project
Hi, I have created a WPF component library. It's an autocomplete component. Now I want to use this library in Delphi 7 . I have found some information like - http://www.codeproject.com/Articles/373973/Native-Delphi-callbacks-in-NET-Csharp-COM-assemb
-
Wwv_flow_file_objects$
Recently I blogged on a particular problem we encountered with flows_files.wwv_flow_file_objects$ (see http://iadvise.blogspot.com/2007/01/apex-flowsfiles.html) Bottom line, the problem was that the tablespace of that table could not create extra ext
-
Itunes not showing the right photo count when I synch to iPhone
When I go to synch my iPhone 4S and my iPad the photo count on my photo albums are not showing that all of my pictures are there to synch. Also, it does not synch all of my photos. Any ideas? THanks in advance for the help!
-
Which is better - 1 HTML page with multiple applet panels or 1 applet with
Hi friends, This is a critical doubt which decides the future of my project. I have implemented a graph in which an html shows 3 panels on the screen via calling that applet 3 times. Would it be good if we call that applet only once and modify the ap
-
Help! Missing "YTD Channels Model.sdk.InDesign Plug In"
Some existing InDesign files have this message showing up. What should I do? Can I delete this somehow? Or, does anyone know where I could get this missing Plug In? I'm not familiar with what this does, or where it came from. Thanks for your help. De