Standard procedure to transfer Inventory Items from one Warehouse to other
Dear All,
Please let me know what is the standard procedure to be followed while transferring Inventory Items from one warehouse to other warehouse through SDK. Right now I am using sql statements to deduct and add the items to and from warehouse. Its not working properly. Please let me if any business object is provided by SAP to achieve this functionality.
Regards,
Noor Hussain
Hello Noor,
You can use stocktransfer object:
Private Sub PostStockTransfer()
Dim oDoc As SAPbobsCOM.StockTransfer = oCompany.GetBusinessObject(BoObjectTypes.oStockTransfer)
oDoc.DocDate = Date.Today()
oDoc.FromWarehouse = "01"
oDoc.Lines.ItemCode = "A0001"
oDoc.Lines.WarehouseCode = "02"
oDoc.Lines.Quantity = 10
If oDoc.Add = 0 Then
sbo_application.MessageBox("Stock transfer Issued")
Else
sbo_application.MessageBox(oCompany.GetLastErrorDescription)
End If
End Sub
Regards
János
Similar Messages
-
Standard program to transfer open items from one vendor to another
Hello to you all,
Does anyone know of a standard program to transfer open items from one vendor to another,
Thanks
YoavHi,
i dont know whether there is any program but there is one t.code which is meant for one of this purpose.
We can do the same through F-51 also. First specify the document header information. for the first line item specify the customer debit or credit posting key, vendor number, and special gl if you want (Here you have to give vendor number to whom you want to transfer) press enter
in this screen specify the amount. and go to Choose open items new screen will come
Specify the vendor number and in additional selections choose document number and then click enter. the one line item only appear here then go for simulate. if required specify the narration by double clicking on the line item.
hope this is clear,
Regards,
Sankar -
Transfer Items from one warehouse to another
hi,
i have to transfer Items from one warehouse to another warehouse.
i have a item which has 3 quantity in warehouse1 now i find that this item belongs to warehouse2 ,i want to shift all it's quantity in 2nd warehouse as well as sets warehouse2 as default warehouse for that item.
RegardsHi,
Check this, it will help your query :
http://help.sap.com/saphelp_sbo2005asp1/helpdata/en/0c/87353e7a069028e10000000a114084/content.htm
Regards,
Jitin -
Standard report which importe personnel number from one server to other
Dear Hcm Gurus.
Is any standard report exist in SAP Which imports Personnel number from one server to other server which are maintained in Source server ,imported all contents maintained in source server.
e.g An employee is hired in u201C Server Au201D and personnel number is generated internally while we want to imports same employee data with same personnel number in Server u201CBu201D
IS it possible ? if is kindly do help and clarify any standard report which import complete data from one server to other server with all its infotypes.
barketHi,
a standard way should be setting up an ALE scenario between the two systems to transfer employee data and keep them updated. This needs a bit more set up than a single report to be run but it is a common way to create HR landscapes where different local HR systems consolidate data to a centralized system.
The other options are valid, too. But I know them more for transfering data for test or validation reasons.
If you could add some more information to the business background of your requirement we could add give a better suggestion which solution to head for.
Kind Regards
Roman -
How to move items from one JList to other
Can u pls help me out to implement this(I m using Netbeans 5.5):
I want to move items from one JList to other thru a ADD button placed between JLists, I am able to add element on Right side JList but as soon as compiler encounter removeElementAt() it throws Array Index Out of Bound Exception
and if I use
removeElement() it removes all items from left side JList and returns value false.
Pls have a look at this code:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
Object selItem = jList1.getSelectedValue();
int selIndex = jList1.getSelectedIndex();
DefaultListModel model = new DefaultListModel();
jList2.setModel(model);
model.addElement(selItem);
DefaultListModel modelr = new DefaultListModel();
jList1.setModel(modelr);
flag = modelr.removeElement(selItem);
//modelr.removeElementAt(selIndex);
System.out.println(flag);
}hi Rodney_McKay,
Thanks for valuable time but my problem is as it is, pls have a look what I have done and what more can b done in this direction.
Here is the code:
import javax.swing.DefaultListModel;
import javax.swing.JList;
public class twoList extends javax.swing.JFrame {
/** Creates new form twoList */
public twoList() {
initComponents();
//The code shown below is automatically generated and we can�t edit this code
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">
private void initComponents() {
jScrollPane1 = new javax.swing.JScrollPane();
jList1 = new javax.swing.JList();
jButton1 = new javax.swing.JButton();
jScrollPane2 = new javax.swing.JScrollPane();
jList2 = new javax.swing.JList();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jList1.setModel(new javax.swing.AbstractListModel() {
String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
public int getSize() { return strings.length; }
public Object getElementAt(int i) { return strings[i]; }
jList1.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
jList1ValueChanged(evt);
jScrollPane1.setViewportView(jList1);
jButton1.setText("ADD>>");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
jScrollPane2.setViewportView(jList2);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(31, 31, 31)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(78, Short.MAX_VALUE))
layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jScrollPane1, jScrollPane2});
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(62, 62, 62)
.addComponent(jButton1))
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
.addContainerGap(159, Short.MAX_VALUE))
layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {jScrollPane1, jScrollPane2});
pack();
}// </editor-fold>
//automatic code ends here
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
jList1 = new JList(new DefaultListModel());
jList2 = new JList(new DefaultListModel());
Object selItem = jList1.getSelectedValue();
System.out.println(selItem);
((DefaultListModel) jList1.getModel()).removeElement(selItem);
((DefaultListModel) jList2.getModel()).addElement(selItem);
//Now trying with this code it is neither adding or removing and the value �null� is coming in �selItem� .It may be bcoz JList and Jlist are already instantiated in automatic code. So, I tried this:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
Object selItem = jList1.getSelectedValue();
System.out.println(selItem);
((DefaultListModel) jList1.getModel()).removeElement(selItem);
((DefaultListModel) jList2.getModel()).addElement(selItem);
//Now with this as soon as I click on �jButton1�, it is throwing this error:
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: twoList$1 cannot be cast to javax.swing.DefaultListModel
at twoList.jButton1ActionPerformed(twoList.java:105)
at twoList.access$100(twoList.java:13)
at twoList$3.actionPerformed(twoList.java:50)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) -
How to move items from one list to other
hi all,
in jsp page i have twolist boxes. i want to move item from one list to other list on click of add or move button. can u plz suggest me an answer for the above. thank u
Regards sangeetThis link should help. Remove from one list and add to the other using Javascript.
http://www.mredkj.com/tutorials/tutorial006.html -
How to transfer all materials from one plant to other plants?
How to transfer all materials from one plant to other plants?
Hi
To transfer stock in one step between plants belonging to same company code use movement type "301" and using transaction code "MIGO". IF you like in two step it helps to monitor stock in transit use movement type "303" and "305".
303 Transfer posting plant to plant in two steps - removal from storage
305 Transfer posting plant to plant in two steps - placement in storage
to transfer stock between plants of diffrent company code go for stock transpor order using tcode "me21n"
hope it helps -
How to transfer my iBooks from one ipad to other?
How to transfer my iBooks from one ipad to other?
Purchased iBooks can be redownloaded on all devices. If they are not from the iBookstore, connect your iPad to computer and 'transfer purchases'. They should now be transferred to iTunes (or iBooks if you are using Mavericks). You can then sync using the other iPad.
-
A/R transfer open items from one payer to another
Hello,
has someone transferred open customer invoice items from one payer to another after the new payer was associated with the customer as a partner? which transaction to best use?
thanks a lot
PatrickHi Andreas,
unfortunately I didn't succeed in posting the transfer. somehow I seem not to be able to pick up the items for clearing in order to transfer them to a new invoice, although I can see them in the open item list. Would you have any hints on how to pull the old invoice into the posting and then create the new one in the same posting?
thanks a lot
Patrick -
How to transfer work items from one user's inbox to other user,s inbox(UWL)
Hello All
We need to transfer existing but open work items from one user's inbox to other user,s inbox(UWL)
How to go about it?
These are the items from backend R3.
Thanking you
RajendraHi Rajendra,
Usually in R/3 if you want to transfer the workitems to other user , you can just select the workitem and then click on "Forward" button. This will pop-up a box to enter the "User" ID of the other user to whome you want to transfer the Workitem. A Similar button is available in UWL as well.
So, in UWL when you click on the Workitem, it will should give you a button "Forward" and by clicking on that you should be able to transfer the workitem you the other user.
I hope this helps you. Let me know if you need any more help.
Regards,
Gopal. -
Transferring items from one warehouse to another
I have been trying to transfer items from one of our warehouses to another using oStockTransfer and I keep getting the error [OWTR.filler], No Matching Records found (ODBC 2028). The template is looking for a Business Partner Code. When I keep the BP (CardCode) column in the .csv file and tell DTW to update and add new object, I receive the error BP does not exist.
Please help.Hi!
Try to add the same document, manually. wheather any error is coming ? -
Transfer finished material from one unit to other with excise
Hello to all
we are manufacturing Crane and we want to transfer a finished product from one unit to other unit with taken 50% credit on Excise
.we are use that crane for Home comsuption .
we are waiting for your reply.
please give us step by step procerdure
thanks
regard, riten
Edited by: riten patel on May 26, 2009 12:23 PMhello
i have already do it using j1id
but still i do not get 50% credit on this material
first i make po of this materia
then declare this material as Asset using j1id t code
then make grv of this material
then I made invoice using j1iex
but still do not get 50% credit on excise
when i simulate that invoice i got one erroa as
"NO CENVAT AMOUNT TO BE POSTED"
"NO CENVAT AMOUNT TO BE REVERSED"
so tell me what is its solution
i am waiting your responce
thanks
regard,
riten -
Transfer of values from one recon to other recon account
Guru's,
I wanted to change the recon account of a vendor from 8050001 to 8050002.
Few entries are already posted in the vendor with the recon 8050001. I know that FAGL101 can be used to transfer the values from 8050001 to 8050002.
In the OBBW I did the configuration like this
Reconciliation account : 8050001
Adjustment Account : 9000014(Clearing account)
Please advise me if I need to do any other settings in Config and also tell me the procedure to run that in FAGL101.
Thanks in advance and points will defnitely be assigned.
DeepakHi,
I dont think you can update members. However, you can definitely send transactional data from one application to another using the DESTINATION_APP statement.
You have a good example available in BPC 320 on beforerange and afterrange.
Lets say that there are 5 columns in the report after the EVDRE expansion is done. Then in the beforerange or afterrange, you can use EVRNG function with a range of 5 cells. Lets say that you define EVRNG(J1:N1). In these cells, you can use formulas like EVSUM etc, and these formulas will be taken by the rows in your EVDRE report. If you define afterrange, then you will have additional row at the bottom. If you define beforerange, then you will have additional row at the top.
Hope this helps. -
How to move items from one account to other account - posting program
Hello,
I have FI documents that are posted on clearing account and on other side to costs. But now I need to move open items from clearing account to new clearing account(s) - something like "rename account". Is there any standard program or do you have any idea for programing a customer program?
Thanks zd.Hi,
use report <b>rfbibl00</b> with tcode FB05
(look 1st to the documentation of this report with se38/sa38)
A. -
Transfer of values from one application to other
hi,
Can i update second plng application members from first application's default.lgf file.
Can i anyone give simple example on before range & after range options?
thanks,Hi,
I dont think you can update members. However, you can definitely send transactional data from one application to another using the DESTINATION_APP statement.
You have a good example available in BPC 320 on beforerange and afterrange.
Lets say that there are 5 columns in the report after the EVDRE expansion is done. Then in the beforerange or afterrange, you can use EVRNG function with a range of 5 cells. Lets say that you define EVRNG(J1:N1). In these cells, you can use formulas like EVSUM etc, and these formulas will be taken by the rows in your EVDRE report. If you define afterrange, then you will have additional row at the bottom. If you define beforerange, then you will have additional row at the top.
Hope this helps.
Maybe you are looking for
-
Macbook Pro screen blinks - Possible solution
I have a MacBook Pro and the display screen blinks randomly. I changed Energy Saver in System Preferences from "Better battery life" to "High performance" and it seems to have solved the problem -- the screen no longer blinks. Just wanted to share th
-
GR no & GR date in stock transfer report
Hi, Team we have developed report for stock transfer (from plant to Depot) in that up to Dec-12 all the relevant information showing correctly but if i run the report for the period 01.01.2013 to 30.01.13 all the Excise details i.e. Excise invoice no
-
TS1538 my iphone wont show up in my itunes
This is the first time ive hooked up my iphone to my computer and nothing shows up, i even upgraded itunes,help!!
-
Acrobat 9 adding odd spaces in words when creating PDF
In the process of creating a PDF from a document using Acrobat 9 Standard AND Pro, extra spaces are being inserted into the text. I have searched everywhere for a solution. Anything I found indicated fonts should be embedded. That's not a solution as
-
Hi all, I am doing 1099 coniguration for an US Company. I have the following doubts. Pl help me with your inputs. 1. What is to be taken as reporting base for 1099 - Invoice or payment (withholding tax type for invoice posting or payment posting) 2.