Delivery Urgent
Dear Gurus,
By clicking PGI in the delivery screen. I get the error message as "delivery note has not yet put away/picked completely "
and "delivery note has not yet completely processed by WM" but before that i went to LT03 to transfer the order to delivery. i got the message as "No items that are to be picked were found" although the settings i think are OK meaning the assignment of Warehouse number to Plant and Storage Location and also in the creation of the Material with view WM in MM.
Please help Urgent
Hi
Please check the following.....
1. Delivery date in schedule lines
2. Confirmed quantity in that schedule line
3. Stock availability in that plant
4. try to create TO from menu (of delivery document) - subsequent activities
Thanks,
Ravi
Similar Messages
-
Business area is not picking into delivery.URGENT
Hi Guru,
I created order with 3 material one material belongs to different plant. So I created two delivery for one delivery business area is picking and for other business area is not picking in delivery document so I am unable to do PGI it's giving error message that Business area is requred for G/L acct.hi,
not to confuse yourself. see these steps to determine the business area.
1. define the business area - ( link that with your division.)
IMG=ENTERPRISE STURCTURE = FINANCIAL ACCOUNTING= DEFINE BUSINESS AREA.
2. assign that your salea area. thru the same menu path but in assignment under sales and distribution.
3. maintain the rules by sales area as 2 for your sales area.
after all this, u try it , it will be determine your requirement.
reward points if it is useful.
regards
KR -
Reg : PGI delivery using ws_delivery_update
Hi All,
I want to PGI delivery using function module ws_delivery_update .
What are the mandatory fields to be supplied and in what way to PGI delivery successfully using the above FM
Or is there any other function module specifically suited to PGI delivery
urgent help needed.
if any sample code is there , most welcome.
Thanks in advance.
Regards
JawaharJawahar,
it is very easy to go with this code i think rather than going with fm.
DATA: I_VBELN LIKE LIKP-VBELN,
I_VBKOK LIKE VBKOK,
I_PROTT LIKE PROTT OCCURS 0 WITH HEADER LINE.
L_VBKOK-VBELN_VL = L_VBELN. <- Delivery number
L_VBKOK-WABUC = 'X'. <- Automatic PGI * Perform Pick and PGICALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
VBKOK_WA = I_VBKOK
SYNCHRON = 'X'
NO_MESSAGES_UPDATE = ' '
UPDATE_PICKING = 'X'
COMMIT = ' '
DELIVERY = I_VBELN
NICHT_SPERREN = 'X'
IF_ERROR_MESSAGES_SEND_0 = 'X' TABLES
PROT = I_PROTT
EXCEPTIONS
ERROR_MESSAGE = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
Or I_PROTT has type E errors in it
ROLLBACK WORK.
ELSE.
COMMIT WORK AND WAIT.
ENDIF.
othere wise
For PGI you can use SD_DELIVERY_UPDATE_PICKING_1
Regards,
Naveen -
How to read data in correct format from EXCEL file into an internal table??
Hi Experts,
My requirement is to upload data from an excel file on presentation server into an internal table on <b>SRM</b> server.
I used 'GUI_UPLOAD' function module to achieve the same but all the the data is getting uploaded in # only.I had set in the 'HAS_FIELD_SEPARATOR' to 'X' to overcome this problem.
But all the efforts are in vain. The function module 'ALSM_EXCEL_TO_INTERNAL_TABLE' doesn't exist on SRM Server and I am not getting any other function module having similar functionality available on SRM server.
I have written the following code:-
TYPES: BEGIN OF ty_addr_loc,
userid TYPE xubname, "User Id
addr_code TYPE char4, "3 Digit Site Location Code/4 Digit
"Alternate Address
loc_id TYPE bbp_location, "Indicator: Address is standard address
END OF ty_addr_loc.
*Retrieving file name
parameters: p_file type rlgrap-filename.
DATA:
Local variable holding file name
l_file TYPE string,
Local Variable holding the file type,
l_type TYPE filetype VALUE 'ASC',
Local Variable holding the field separator
l_sep TYPE char01,
i_tab type standard table of ty_addr_loc.
Clearing local variables
CLEAR:
l_file,
l_sep.
Initializing the local variables
MOVE p_file TO l_file.
l_sep = 'X'.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_file
filetype = l_type
has_field_separator = l_sep
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
data_tab = i_tab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17
IF sy-subrc <> 0.
Throwing an information message
MESSAGE i003. "Data Upload Failed
LEAVE LIST-PROCESSING.
ENDIF.
Please tell me a way out. I have to make a delivery urgently.
Thanks in advance,
Swati GuptaHi
Try the FM <b>KCD_EXCEL_OLE_TO_INT_CONVERT</b>
Sample:
call function 'KCD_EXCEL_OLE_TO_INT_CONVERT'
exporting
filename = i_filename
i_begin_col = l_begin_col
i_begin_row = l_begin_row
i_end_col = l_end_col
i_end_row = l_end_row
tables
intern = xt_intern
exceptions
INCONSISTENT_PARAMETERS = 201
UPLOAD_OLE = 201.
if sy-subrc <> 0.
e_subrc = sy-subrc.
exit.
endif.
<b>reward if Helpful.</b> -
Hello experts ,
Pl suggest , How to split Sales Order.
When Customer needs delivery urgently ( Partial qty urgently by Air ) and rest by normal mode.
They want to Split this Sales Order into two line levels and indicate Air Freight charges in one.
Regards
Richard
Edited by: SB1fan on May 7, 2010 4:24 AMHi There ,
I must say you that you can not Split the sale order .
If your Client wants partial delivery with different shipments and freight associated .
Then just try to do partial delivery wuth reference to the Same SO according to different shipments
and freight associated .
Hope it helps
Thanks
Ashish -
Delivery deleted but schedule line status shows as fully delivered - Urgent
Hi,
I deleted the delivery related to the order but teh schedule line status says its fully delivered....
Is thr a way to refresh the schedule line so it shows the correct status? Urgent PLs.,
Thanks
KeshiThanks fro the reply.. But i tried this but the inconsistency is still there? any other report i cn try
Thanks
Keshi -
Urgent help needed-Updating an outbound delivery.
Hi,
I have created an outbound delivery for a stock transport order in using VL10D.
The otbound delivery then goes to a different system wherein it is updated with picking,packing and shipping info.Then it comes back to SAP in the form of idoc(DELVRY05).Now what I need is to write a code in an exit(I know where to write the code) from where the data in the idoc will update the outbouned delivery with picked and delivered quantity.
I tried using FM's SD_DELIVERY_UPDATE_PICKING and WS_DELIVERY_UPDATE_2 but it is not working.Also where will I get to see the update if it happens.
Please help me.Its required urgently.
Thanks,
Sandeep.Sandeep,
I m trying to understand this requirement. Your IDOC comes in with updated information for a delivery thats already available in the system.
In this case, the IDOC would lock the delivery object for its ude, so writing FM's directly might not help.
Please let me know your process code or your inbound FM. If it is IDOC_INPUT_DELVRY, then it already uses a WS_DELIVERY_UPDATE_2 , so there is little reason why you should be calling the FM again.
Please note that when this comes in it creates an inbound delivery rather an outbound. So, is your third party system sending you back an outbound IDOC?
Do you want to update the delivery that u sent out ( SD) to the third party system from that information.
In that case, please use BAPI_OUTB_DELIVERY_CONFIRM_DEC. This is for delivery conformation from a third party system. The documentation is very clear and there are toms of examples on SDN.
Please reward if useful.
Thanks
Ganesh.S -
Customer Exits for Delivery & Goods Receipt - Very Urgent
Hi Everyone,
We have got a requirement where we have to trigger a screen exit/badi at the time of posting the material document in transaction MIGO or delivery document in VL01N, can any one tell me the right exit as this is very urgent.
Rgds,Hi,
Will you elaborate on this, I cant use call screen statement as this gives syntax errors, I have to necessarily use 'leave to' or 'call transaction', however using this above mentioned I wont have any scope for the variables which were there in the method of the BADI????,
Any help would be very much rewarded.
Rgds, -
Urgent help!! how to get schedule aggrement number from in bound delivery??
hello friends,
I have an urgent requirement for report. in which i have to diaply schedule aggrement number , in-bound delivery number , GR number and accounting document.
my input is inbound delivery date .
i found inbound delivery from likp-lips with type 'el' but not able to trace the schedule line number ,gr and ir , kidnly help me
thanks in advace
jaseright the query using table LIPS, EKKO, EKPO and EKBE
If you need than only use LIKP othre wise you will get the date from LIPS
make join from LIPS to EKKO than EKPO then EKBE
LIPS-VGBEL field can join to PO document of EKKO -
Delivery Address Change in Contract (Urgent)
Hi
we created contract on that the delivery address is coming wrong not our company address it comes some vendor address how to remove that
please guide me urgent
Regards
Chidu
Thanks Guys
it has been solved
Edited by: Chidambaram Muthukumarasamy on Feb 13, 2008 11:57 AMFrom Store loc it take the address while remove the store loc in po it comes correct
Thanks -
Can anybody help me in this code.
I would like to print out delivery order,but when i printed,it just printed out the whole delivery order in the bottom of A4 paper.Can anybody modify the source code and give me proper one?
I would it to fit on A4 paper.
These are the soource code,Pls help,it's very urgent.Thanks for any help.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.table.*;
import java.sql.*;
import java.net.*;
import java.io.*;
import java.util.*;
import java.awt.print.*;
import java.awt.geom.*;
public class ConfirmDeliveryOrderDialog extends JDialog implements ActionListener,Printable
private ResultSetTableModel retrieveDOInfoModel;
private JTable newDOTable;
private JScrollPane newDOSp;
private JLabel comT1,comT2,comT3,doT,doID,doIDNo,receivedDate,actualReceivedDate,deliveryTo,deliveryToCustomerInfo,
companyAddress,companyAddressInfo,tel,telNo,dispatchDate,actualDispatchDate,total,totalQuantity,
inputTotalQuantity,totalKg,inputTotalKg,remark,inputRemark;
private Line2D line,line1;
private Graphics2D g;
private Container cp;
private JButton printBtn,exitBtn;
private Connection con;
private Statement retrieveDOInfoStmt;
private ResultSet retrieveDOInfoRs;
int quan,Kg;
boolean centered = true;
public ConfirmDeliveryOrderDialog(JDialog parent)
super(parent,"New Delivery Order",true);
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = Laundry.getConnection();
retrieveDOInfoStmt = con.createStatement();
String retrieveDOInfo = "SELECT ItemName,ItemTypeName,WashingType,CleaningType,ItemCategory,QuantityOrKg AS [Quantity/Kg] " +
"FROM DoDetail,DOInfo " +
"WHERE DODetail.DOID = DOInfo.DOID " +
"AND DOInfo.CompanyID = " + Laundry.companyDetails.get(0) +
"AND DODetail.DOID = " + EnterDeliveryOrderNumberDialog.DOInfo.get(0);
retrieveDOInfoRs = retrieveDOInfoStmt.executeQuery(retrieveDOInfo);
if(Laundry.SCROLLABLE)
retrieveDOInfoModel = new ScrollingResultSetTableModel(retrieveDOInfoRs);
else
retrieveDOInfoModel = new CachingResultSetTableModel(retrieveDOInfoRs);
newDOTable = new JTable(retrieveDOInfoModel);
newDOSp = new JScrollPane(newDOTable);
newDOTable.getTableHeader().setReorderingAllowed(false);
newDOTable.setPreferredScrollableViewportSize(new Dimension(550,350));
retrieveDOInfoStmt.close();
con.close();
cp = getContentPane();
cp.add(newDOSp, BorderLayout.CENTER);
catch(SQLException ext)
JOptionPane.showMessageDialog(null,"SQL Exception:","ERROR",JOptionPane.ERROR_MESSAGE);
while (ext != null)
JOptionPane.showMessageDialog(null,"SQL State:" + ext.getSQLState() + "\nMessage:" + ext.getMessage() + "\nVendor:" + ext.getErrorCode(),"ERROR",JOptionPane.ERROR_MESSAGE);
ext = ext.getNextException();
catch(ClassNotFoundException ex)
JOptionPane.showMessageDialog(null,"Exception:" + ex,"ERROR",JOptionPane.ERROR_MESSAGE);
ex.printStackTrace();
catch(Exception e)
JOptionPane.showMessageDialog(null,"Exception:" + e,"ERROR",JOptionPane.ERROR_MESSAGE);
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = Laundry.getConnection();
retrieveDOInfoStmt = con.createStatement();
String retrieveDOInfo = "SELECT SUM(QuantityOrKg) AS [Total Quantity] " +
"FROM DOInfo,DODetail " +
"WHERE DOInfo.DOID = DODetail.DOID " +
"AND DOInfo.CompanyID = " + Laundry.companyDetails.get(0) +
"AND DODetail.DOID = " + EnterDeliveryOrderNumberDialog.DOInfo.get(0) +
"AND ItemCategory = 'Piece' " +
"GROUP BY DODetail.DOID ";
retrieveDOInfoRs = retrieveDOInfoStmt.executeQuery(retrieveDOInfo);
while(retrieveDOInfoRs.next())
quan = retrieveDOInfoRs.getInt("Total Quantity");
retrieveDOInfoStmt.close();
con.close();
catch(SQLException ext)
JOptionPane.showMessageDialog(null,"SQL Exception:","ERROR",JOptionPane.ERROR_MESSAGE);
while (ext != null)
JOptionPane.showMessageDialog(null,"SQL State:" + ext.getSQLState() + "\nMessage:" + ext.getMessage() + "\nVendor:" + ext.getErrorCode(),"ERROR",JOptionPane.ERROR_MESSAGE);
ext = ext.getNextException();
catch(ClassNotFoundException ex)
JOptionPane.showMessageDialog(null,"Exception:" + ex,"ERROR",JOptionPane.ERROR_MESSAGE);
ex.printStackTrace();
catch(Exception e)
JOptionPane.showMessageDialog(null,"Exception:" + e,"ERROR",JOptionPane.ERROR_MESSAGE);
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = Laundry.getConnection();
retrieveDOInfoStmt = con.createStatement();
String retrieveDOInfo = "SELECT SUM(QuantityOrKg) AS [Total Kg] " +
"FROM DOInfo, DODetail " +
"WHERE DOInfo.DOID = DODetail.DOID " +
"AND DODetail.DOID = " + EnterDeliveryOrderNumberDialog.DOInfo.get(0) +
"AND DOInfo.CompanyID = " + Laundry.companyDetails.get(0) +
"AND ItemCategory = 'Kg' " +
"GROUP BY DODetail.DOID ";
retrieveDOInfoRs = retrieveDOInfoStmt.executeQuery(retrieveDOInfo);
while(retrieveDOInfoRs.next())
Kg = retrieveDOInfoRs.getInt("Total Kg");
retrieveDOInfoStmt.close();
con.close();
catch(SQLException ext)
JOptionPane.showMessageDialog(null,"SQL Exception:","ERROR",JOptionPane.ERROR_MESSAGE);
while (ext != null)
JOptionPane.showMessageDialog(null,"SQL State:" + ext.getSQLState() + "\nMessage:" + ext.getMessage() + "\nVendor:" + ext.getErrorCode(),"ERROR",JOptionPane.ERROR_MESSAGE);
ext = ext.getNextException();
catch(ClassNotFoundException ex)
JOptionPane.showMessageDialog(null,"Exception:" + ex,"ERROR",JOptionPane.ERROR_MESSAGE);
ex.printStackTrace();
catch(Exception e)
JOptionPane.showMessageDialog(null,"Exception:" + e,"ERROR",JOptionPane.ERROR_MESSAGE);
comT1 = new JLabel("Deluxe Laundry Sdn Bhd");
comT1.setFont(new Font("Sanserif",Font.BOLD,12));
comT2 = new JLabel("Lot 1641, Jln Sungai Tua, Batu Caves, 68100 Selangor Darul Ehsan");
comT2.setFont(new Font("Sanserif",Font.PLAIN,10));
comT3 = new JLabel("Tel : 03-61863093 03-61863091 Fax : 03-61863096");
comT3.setFont(new Font("Sanserif",Font.PLAIN,10));
Box comBox = Box.createVerticalBox();
comBox.add(Box.createVerticalStrut(5));
comBox.add(comT1);
comBox.add(Box.createVerticalStrut(2));
comBox.add(comT2);
comBox.add(Box.createVerticalStrut(2));
comBox.add(comT3);
comBox.add(Box.createVerticalStrut(2));
Box comNBox = Box.createHorizontalBox();
comNBox.add(Box.createHorizontalStrut(10));
comNBox.add(comBox);
comNBox.add(Box.createHorizontalStrut(300));
//line = new Line2D.Float();
//line.setLine(10,50,600,50);
//Graphics2D dfl = (Graphics2D)g;
//dfl.drawLine(10,50,600,50);
doT = new JLabel("Delivery Order");
doT.setFont(new Font("Sanserif",Font.BOLD,17));
doID = new JLabel("DO ID : ");
doID.setFont(new Font("Sanserif",Font.BOLD,12));
doIDNo = new JLabel("");
doIDNo.setText("" + EnterDeliveryOrderNumberDialog.DOInfo.get(0));
doIDNo.setFont(new Font("Sanserif",Font.PLAIN,12));
receivedDate = new JLabel("Received Date : ");
receivedDate.setFont(new Font("Sanserif",Font.BOLD,12));
actualReceivedDate = new JLabel("");
actualReceivedDate.setText("" + EnterDeliveryOrderNumberDialog.DOInfo.get(1));
actualReceivedDate.setFont(new Font("Sanserif",Font.PLAIN,12));
JPanel jp = new JPanel();
jp.setLayout(new GridLayout(2,3));
jp.add(doID);
jp.add(doIDNo);
jp.add(receivedDate);
jp.add(actualReceivedDate);
Box doBox = Box.createHorizontalBox();
doBox.add(Box.createHorizontalStrut(200));
doBox.add(doT);
doBox.add(Box.createHorizontalStrut(50));
doBox.add(jp);
doBox.add(Box.createHorizontalStrut(100));
//line1 = new Line2D.Float();
//line1.setLine(10,0,600,0);
//Graphics2D df2 = (Graphics2D)g;
//df2.drawLine(10,100,600,100);
deliveryTo = new JLabel("Delivery To :");
deliveryTo.setFont(new Font("Sanserif",Font.BOLD,12));
deliveryToCustomerInfo = new JLabel("");
deliveryToCustomerInfo.setText("" + Laundry.companyDetails.get(1));
deliveryToCustomerInfo.setFont(new Font("Sanserif",Font.PLAIN,12));
Box deliveryToBox = Box.createHorizontalBox();
deliveryToBox.add(Box.createHorizontalStrut(10));
deliveryToBox.add(deliveryTo);
deliveryToBox.add(Box.createHorizontalStrut(10));
deliveryToBox.add(deliveryToCustomerInfo);
deliveryToBox.add(Box.createHorizontalStrut(500));
companyAddress = new JLabel("");
companyAddress.setFont(new Font("Sanserif",Font.BOLD,12));
companyAddressInfo = new JLabel("");
companyAddressInfo.setText("" + Laundry.companyDetails.get(2));
companyAddressInfo.setFont(new Font("Sanserif",Font.PLAIN,12));
Box companyAddressBox = Box.createHorizontalBox();
companyAddressBox.add(Box.createHorizontalStrut(98));
companyAddressBox.add(companyAddress);
companyAddressBox.add(Box.createHorizontalStrut(10));
companyAddressBox.add(companyAddressInfo);
companyAddressBox.add(Box.createHorizontalStrut(500));
tel = new JLabel("Tel :");
tel.setFont(new Font("Sanserif",Font.BOLD,12));
telNo = new JLabel("");
telNo.setText("" + '0'+Laundry.companyDetails.get(3));
telNo.setFont(new Font("Sanserif",Font.PLAIN,12));
Box telBox = Box.createHorizontalBox();
telBox.add(Box.createHorizontalStrut(10));
telBox.add(tel);
telBox.add(Box.createHorizontalStrut(10));
telBox.add(telNo);
telBox.add(Box.createHorizontalStrut(500));
dispatchDate = new JLabel("Dispatch Date :");
dispatchDate.setFont(new Font("Sanserif",Font.BOLD,12));
actualDispatchDate = new JLabel("");
actualDispatchDate.setText("" + EnterDeliveryOrderNumberDialog.DOInfo.get(2));
actualDispatchDate.setFont(new Font("Sanserif",Font.PLAIN,12));
Box dispatchBox = Box.createHorizontalBox();
dispatchBox.add(Box.createHorizontalStrut(10));
dispatchBox.add(dispatchDate);
dispatchBox.add(Box.createHorizontalStrut(10));
dispatchBox.add(actualDispatchDate);
dispatchBox.add(Box.createHorizontalStrut(500));
remark = new JLabel("Remark :");
remark.setFont(new Font("Sanserif",Font.BOLD,12));
inputRemark = new JLabel("");
inputRemark.setText("" + EnterDeliveryOrderNumberDialog.DOInfo.get(3));
inputRemark.setFont(new Font("Sanserif",Font.PLAIN,12));
Box remarkBox = Box.createHorizontalBox();
remarkBox.add(Box.createHorizontalStrut(10));
remarkBox.add(remark);
remarkBox.add(Box.createHorizontalStrut(10));
remarkBox.add(inputRemark);
remarkBox.add(Box.createHorizontalStrut(500));
Box infoBox = Box.createVerticalBox();
infoBox.add(Box.createVerticalStrut(5));
infoBox.add(deliveryToBox);
infoBox.add(Box.createVerticalStrut(5));
infoBox.add(companyAddressBox);
infoBox.add(Box.createVerticalStrut(5));
infoBox.add(telBox);
infoBox.add(Box.createVerticalStrut(5));
infoBox.add(dispatchBox);
infoBox.add(Box.createVerticalStrut(5));
infoBox.add(remarkBox);
infoBox.add(Box.createVerticalStrut(5));
Box northBox = Box.createVerticalBox();
northBox.add(Box.createVerticalStrut(5));
northBox.add(comNBox);
northBox.add(Box.createVerticalStrut(5));
northBox.add(doBox);
northBox.add(Box.createVerticalStrut(5));
northBox.add(infoBox);
northBox.add(Box.createVerticalStrut(5));
Shape firstShape = new Rectangle(350,100,10,5);
//Font font = new Font("Sanserif",Font.PLAIN,5);
String text = "Checked By";
//g.drawString(text,365,105);
//g.setFont(new Font("Sanserif",Font.PLAIN,5));
//g.fill(firstShape);
//g.draw(firstShape);
//Box joinBox = Box.createHorizontalBox();
//joinBox.add(northBox);
//joinBox.add(Box.createHorizontalStrut(10));
//joinBox.add(g);
printBtn = new JButton("Print");
printBtn.addActionListener(this);
exitBtn = new JButton("Exit");
exitBtn.addActionListener(this);
JPanel jp3 = new JPanel();
jp3.add(printBtn);
jp3.add(exitBtn);
total = new JLabel("Total");
totalQuantity = new JLabel("Quantity");
totalQuantity.setFont(new Font("Sanserif",Font.PLAIN,12));
inputTotalQuantity = new JLabel("");
inputTotalQuantity.setFont(new Font("Sanserif",Font.PLAIN,12));
inputTotalQuantity.setText("" + quan);
totalKg = new JLabel("Kg");
totalKg.setFont(new Font("Sanserif",Font.PLAIN,12));
inputTotalKg = new JLabel("");
inputTotalKg.setFont(new Font("Sanserif",Font.PLAIN,12));
inputTotalKg.setText("" + Kg);
Box totalBox = Box.createHorizontalBox();
totalBox.add(Box.createHorizontalStrut(270));
totalBox.add(total);
totalBox.add(Box.createHorizontalStrut(50));
totalBox.add(totalQuantity);
totalBox.add(Box.createHorizontalStrut(50));
totalBox.add(inputTotalQuantity);
totalBox.add(Box.createHorizontalStrut(30));
totalBox.add(totalKg);
totalBox.add(Box.createHorizontalStrut(50));
totalBox.add(inputTotalKg);
totalBox.add(Box.createHorizontalStrut(30));
Box southBox = Box.createVerticalBox();
southBox.add(Box.createVerticalStrut(10));
southBox.add(totalBox);
southBox.add(Box.createVerticalStrut(5));
southBox.add(jp3);
cp = getContentPane();
cp.add(northBox, BorderLayout.NORTH);
cp.add(southBox, BorderLayout.SOUTH);
setSize(600,400);
setLocation(100,100);
public void actionPerformed(ActionEvent ae)
if(ae.getSource() == printBtn)
PageFormat page = new PageFormat();
Paper paper = new Paper();
paper.setSize(595.275590551181,841.8897637795276);
paper.setImageableArea(70.8661417322835,70.8661417322835,453.5433070866141,700.1574803149607);
page.setPaper(paper);
page.setOrientation(PageFormat.PORTRAIT);
PrinterJob printJob = PrinterJob.getPrinterJob();
if(page == null)
page = printJob.defaultPage();
printJob.setPrintable(this,page);
if(printJob.printDialog())
try
printJob.print();
setVisible(false);
JOptionPane.showMessageDialog(null,"Please Generate Normal Or Express JobList","JobList",JOptionPane.INFORMATION_MESSAGE);
catch(PrinterException e)
JOptionPane.showMessageDialog(this,e);
else if(ae.getSource() == exitBtn)
EnterDeliveryOrderNumberDialog.removeDOInfo();
setVisible(false);
public int print(Graphics g, PageFormat pf, int page) throws PrinterException
if(page >= 1)
return Printable.NO_SUCH_PAGE;
Graphics2D g2 = (Graphics2D)g;
g2.translate(pf.getImageableX(), pf.getImageableY());
if(centered)
g2.translate(pf.getImageableWidth(), pf.getImageableHeight());
Dimension d = getSize();
double scale = Math.min(pf.getImageableWidth() / d.width, pf.getImageableHeight() / d.height);
if (scale < 1.0)
g2.scale(scale, scale);
if (centered)
g2.translate(-d.width, -d.height);
paint(g2);
return Printable.PAGE_EXISTS;Hi Thanx, your code helped. I have got another question. How do i implement a method from another method class into the applet. say, i want to implemen set frequency from the below code into my applet you wrote above?
class Histogram
int frequency[];
String alphabet;
Histogram(String alphabet)
this.alphabet=alphabet;
frequency=new int[alphabet.length()];
void scan(String message)
for(int i=0;i<message.length;i++)
frequncy[alphabet.IndexOf(message.charAt(i))]++;
void setfrequency(int frequency[])
for(int i=0;i<alphabet.length;i++)
this.frequency=frequency[i];
double entropy()
int total=0;
double probablity;
log2=Math.log(2.0);
for(int i=0;i<alphabet.length;i++)
total+=freguency[i]; -
Urgent: BADI for Auto packing a delivery at time of creating delivery
Hi Gurus,
I have an urgent requirement to tweak the user exit at time of autopack to sort the parts numbers by Storage Bins and pack the parts. When we create the delivery using VL10E or VL04 system checks if the delivery its going to create has packing instructions, If yes it considers volume and weights and packs accordingly based on the configuration and master data setup. When the pick list prints it prints by Handling units and the parts which needs to packed inside the handling units. To minimize pick times when creating handling units for the delivery through autopack functionality we need to sort bins from descending to ascending order and submit the list to autopack function module to make sure it packs in the same order.
Standard SAP has given user exits BADI (BADI_HU_AUTOPACK) after 4.6C which is available in our system and also Packmodi (enhancement) to tweak the system.
The storage bin we maintain in material master (MARD- LGPBE) field
Please Help me and suggest me how to proceed with this development..
Best points will surely be rewarded....
Reagrds
NikkiHi,
I tried to implement the customer function for this enhancement - XVHUPO01, but the function - EXIT_SAPLVHUPRT_001 does not exist. I checked on OSS, but could not find anything.
Could you please help.
Thanks.
JP -
User-exit for delivery while assigning serial numbers(urgent)
hi all,
can u plz tell me the specific user exit for delivery (VL01n) while assigning serial numbers?
i am getting the serial numbers for material in database table OBJK .i am also getting these serial no.s in IQ01.
while doing delivery,i am going for extra-->serial number.at this time one screen for serial number is comming.those serial numbers which are stored in objk will transfer to this screen of delivery automatically.
for this , i want a specific user-exit for delivery so that i can transfer the serial nos from objk to that screen of delivery.plz suggest .(urgent )
any idea is highly appreaciated
Regards
pabitraYou can find from below list of user exists
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound) -
USER-EXIT for DELIVERY--very very urgent
Hi all,
can u plz tell me the user-exit for delivery i.e this exit should be called after the delivery order is created.
plz suggest some specific exit.it is very very urgent.
Regards
pabitraRout ,
u cannt find out user exits after the Creation.
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
* FORM-Routinen für Userexits
include mv50afzz.
include mv50afz1.
include mv50afz2.
include mv50afz3. "Userexit neu zu Release 3.0A
include mv50afzk. "Userexit 4.6A (KOMKG/KOMPG)
include mv50afzl. "Userexit 4.6A Liefergruppen
"n_693000
include mv50afzp. "Userexit for pricing screen input
Regards
Prabhu -
Urgent *** Is No. of Planned delivery days depends on FACTORY CALENDER DAY
Hi ,
I question for all . Is No. of Planned delivery days calculated on <b>FACTORY CALENDER DAY or normal difference between PO delivery and GR date .</b>
Please let me know ,its urgent.
Regards ,
Amarnath Reddy.<b></b>Hi,
Planned delivery period is CALENDAR days NOT Work days.
It does not use the factory calendar and you should not even TRY to make it do so.
Steve B
Maybe you are looking for
-
Service Notification forwarded via Services for Object
Dear Experts, Appreciate your contribution to the below requirement: When forwarding a service notification via "Send Object with Note" function, the recipient when retrieving the message in SAP Inbox could only access the attachment in Display mode.
-
[java] notificationManagementAgent is now shutting down. [java] http://xxx.xxx.xxx.xxx:8978 Thu Jun 05 15:21:15 CST 2003 F: ServerNotificationManagement@zyc:8880/JADE java.net.ConnectException: Connection timed out: connect
-
Premiere Pro CS6 crash everytime I close a project
Hello, I got 32 different projects with lots of AE links in the timeline (more than 80% is AE links). The problem occurs when I start the queue process for rendering in media enconder. Everytime I send a project to enconder, when I want to close prem
-
Organization DESCRIPTIVE FLEXFIELD
Dear, I created one Organization DESCRIPTIVE FLEXFIELD record for Business Group, compilation is done but newly created record is not appearing when Other button is pressed on BG form. Am I missing any thing or some security or registration etc is re
-
TS1363 ipad 3 software update fails?
ios 5.1.1 update failed to install in my ipad 3. ipad is locked on the usb plug screen.