Conversion of boxes into units
Dear all,
We buy products in boxes. When I create a new product, if I put order unit 100 ( a box of 100 units) the system ask me: Enter the factor for converting the alternative unit to the base unit. I enter 1 100 <=> 100 ST.
I wonder if it is possible to enter this converting factor just once.
Thanks a lot in advance
hi,
you can make use of conversions in the material master data also...
where when you define the base unit and then alternative unit, then system will auto ask for the conversions...
Regards
Priyanka.P
Similar Messages
-
ME22N Show Numerator for Conversion of Order Price Unit into Order Unit
I hide Price in Me22n, when we do this, system hide the "Numerator for Conversion of Order Price Unit into Order Unit", but i want show this field on screen.
This field is : in Me22n -> view "Quantites/Weights "->"Order Unit <-> Ord. Price Unit".
How do i for this?Hi Paul,
The field for Denominator for Conv. of Order Price Unit into Order Unit is MEPO1311-BPUMN and for Numerator it is MEPO1311-BPUMZ. Try hiding only the Denominator field using Loop at Screen. <CODE> ENDLOOP and see.
Hope that it helps. Reward if useful.
Thanks and Regards,
Maddineni Bharath. -
Unexpected implict conversion from unitless to unit
If I drop a constant unitless double value on a diagram and a doube indicator in the front panel, with some kind of units, and connect both, I get a broken wire, i.e. no implicit conversion from unitless to units.
If I drop a constant unitless double value on a diagram and connect it to both input choices of the buit in select, connect some value to the selector, and connect the output of the selector to a double indicator with some kind of units, I get a broken wire, i.e. no implicit conversion from unitless to units.
If I drop two constant double values on a diagram, one unitless and the other with units, and connect each to the two inputs of the selector, connect to the selector a constant that selects the unitless constant, and connect the output of the selector to a double indicator with the same units as the input with units, I get all valid connections and an implicit conversion from unitless to the base unit of the input. This is a bit unexpected, shouldn't I get a broken wire in there somewhere?Okay, it's a slow Friday so here is what I found.
1. If we connect one unitless input and one input with units to a select function we receive a broken run arrow only when the the true input has units.
2. If both inputs have units but do not match, we receive a broken run arrow regardless of input placement.
3. In Range and Coerce will actually coerce units, it is the only simple primitive I found that does this.
4. Stuff gets really, really wierd with units. Follow these steps:
a. Create four double constants, two unitless and two "m"
b. Drop a select function and an "In range and coerce" function
c. Wire one "m" to the true input on select and one into the upper limit of the in range function
d. Wire one unitless numeric constant to the false input of select and one to the lower limit of the in range function.
e. Delete the Select function
f. Undo
In conclusion: LabVIEW units, how do they work? If I have time next week I'll try to ask around.
Matt J
Professional Googler and Kudo Addict
National Instruments -
Is there any way to insert a pop up calender and tick boxes into pages on the ipad? And if not if I do it on a mac will the document work on pages on the ipad? I'm trying to set up a document with quick check boxes to tick and a date to choose rather than type? I know it possible to do it on pages on a mac but i haven't been able to find anything on the ipad to create such a thing, and I don't know if it will work on the ipad if I create it on the mac
RGA,
Unfortunately, I do not believe that it is possible for a DAQ board to generate an AI Start Trigger from an analog trigger, but not be triggered itself until it receives a digital trigger.
Spencer S. -
How to save contents of two different rich edit box into single rtf file in windows 8.1 app
Developer, I have requirement to save registration data into rtf file.. These can only be done by if I put rich edit box to fill the data.. Now if I am going to write the code for saving the data of different rich edit box into one particular file, it
only saves the data of last rich edit box.. So plzz suggest that how can I save the contents of different rich edit box together into one rtf file.Ok Nishant, just did some quick research, since rtf file is unlike txt file, we cannot simply directly write some content to the rtf.
You can try to find some third party code that can help you insert text into rtf file or you would like to load the content from rtf out to the richeditbox and merge them to one richeditbox and then save back to the file.
You could like to see how to read/save rtf file sample from:
RichEditBox class
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I am trying to import standard midi file that I created in Band in a Box into Logic Pro 9. I can not get all the track to play with internal instrument sounds... only the piano track. how can I get the others to play... drums, bass etc???? Help
Don't drag the midi into an open Logic project. The tracks won't set up correctly.
'Open' the midi file with Logic as if it were a Logic project. Then all the tracks will be set up so you can start editing them and applying better saved sounds and instruments, but you'll be at a starting place where you can hear what's going on. -
How to add one item into Unit of meas.when create an operand?
I am creating an operand, I want to select KGAL in Unit of meas., but it is not in the lists, How can I add KGAL to the list?Thanks.
Hi tiff512:
The way is:
SAP NetWeaver > General Settings > Check Units of Measurement.
The help documentation says the following in relation to the creation of new units of measure:
"If required, define new units of measurement according to the international system of units (SI) with the menu function Unit of meaurement -> Create.
Here you have to make make specifications for:
Display (including a descriptive Units of measurement text)
Conversion (not applicable to units of measurement without dimensions)
Data exchange (EDI) (optional)
Application parameters"
I hope it is helpful to you.
Regards,
David -
Add combo box into table pagination
I want to add combo box into JavaFX table with pagination. Something like that:
import javafx.application.Application;
import javafx.beans.property.SimpleStringProperty;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Pagination;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.cell.PropertyValueFactory;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
import javafx.util.Callback;
public class MainApp extends Application
final ObservableList<Person> data = FXCollections.observableArrayList(
new Person("1", "Joe", "Pesci"),
new Person("2", "Audrey", "Hepburn"),
new Person("3", "Gregory", "Peck")
private Pagination pagination;
public static void main(String[] args) throws Exception
launch(args);
public int itemsPerPage()
return 1;
public int rowsPerPage()
return 5;
public VBox createPage(int pageIndex)
int lastIndex = 0;
int displace = data.size() % rowsPerPage();
if (displace > 0)
lastIndex = data.size() / rowsPerPage();
else
lastIndex = data.size() / rowsPerPage() - 1;
VBox box = new VBox(5);
int page = pageIndex * itemsPerPage();
for (int i = page; i < page + itemsPerPage(); i++)
TableView<Person> table = new TableView<>();
TableColumn numCol = new TableColumn("ID");
numCol.setCellValueFactory(
new PropertyValueFactory<Person, String>("num"));
numCol.setMinWidth(20);
TableColumn firstNameCol = new TableColumn("First Name");
firstNameCol.setCellValueFactory(
new PropertyValueFactory<Person, String>("firstName"));
firstNameCol.setMinWidth(160);
TableColumn lastNameCol = new TableColumn("Last Name");
lastNameCol.setCellValueFactory(
new PropertyValueFactory<Person, String>("lastName"));
lastNameCol.setMinWidth(160);
table.getColumns().addAll(numCol, firstNameCol, lastNameCol);
if (lastIndex == pageIndex)
table.setItems(FXCollections.observableArrayList(data.subList(pageIndex * rowsPerPage(), pageIndex * rowsPerPage() + displace)));
else
table.setItems(FXCollections.observableArrayList(data.subList(pageIndex * rowsPerPage(), pageIndex * rowsPerPage() + rowsPerPage())));
box.getChildren().add(table);
return box;
@Override
public void start(final Stage stage) throws Exception
pagination = new Pagination((data.size() / rowsPerPage() + 1), 0);
// pagination = new Pagination(20 , 0);
//pagination.setStyle("-fx-border-color:red;");
pagination.setPageFactory(new Callback<Integer, Node>()
@Override
public Node call(Integer pageIndex)
if (pageIndex > data.size() / rowsPerPage() + 1)
return null;
else
return createPage(pageIndex);
public static class Person
private final SimpleStringProperty num;
private final SimpleStringProperty firstName;
private final SimpleStringProperty lastName;
private Person(String id, String fName, String lName)
this.firstName = new SimpleStringProperty(fName);
this.lastName = new SimpleStringProperty(lName);
this.num = new SimpleStringProperty(id);
public String getFirstName()
return firstName.get();
public void setFirstName(String fName)
firstName.set(fName);
public String getLastName()
return lastName.get();
public void setLastName(String fName)
lastName.set(fName);
public String getNum()
return num.get();
public void setNum(String id)
num.set(id);
I suppose that this can be done with StackPane but I need some other more universal way to do this because I want to expand the table size. I need to place there the combo box always in a fix position.
Ref http://stackoverflow.com/questions/21147261/add-combo-box-into-table-paginationHi. You can do it using an AnchorPane:
AnchorPane.setBottomAnchor(comboBox, 40.0);
AnchorPane.setLeftAnchor(comboBox, 12.0);
The complete example :
import java.util.List;
import javafx.application.Application;
import javafx.beans.property.SimpleStringProperty;
import javafx.collections.FXCollections;
import javafx.collections.ListChangeListener;
import javafx.collections.ListChangeListener.Change;
import javafx.collections.ObservableList;
import javafx.scene.Scene;
import javafx.scene.control.Pagination;
import javafx.scene.Node;
import javafx.scene.control.ComboBox;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.TextArea;
import javafx.scene.control.cell.PropertyValueFactory;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
import javafx.util.Callback;
public class TablePager extends Application {
final ObservableList<Person> data = FXCollections.observableArrayList(
new Person("1", "Joe", "Pesci"),
new Person("2", "Audrey", "Hepburn"),
new Person("3", "Gregory", "Peck"),
new Person("4", "Cary", "Grant"),
new Person("5", "De", "Niro"),
new Person("6", "Katharine", "Hepburn"),
new Person("7", "Jack", "Nicholson"),
new Person("8", "Morgan", "Freeman"),
new Person("9", "Elizabeth", "Taylor"),
new Person("10", "Marcello", "Mastroianni"),
new Person("11", "Innokenty", "Smoktunovsky"),
new Person("12", "Sophia", "Loren"),
new Person("13", "Alexander", "Kalyagin"),
new Person("14", "Peter", "OToole"),
new Person("15", "Gene", "Wilder"),
new Person("16", "Evgeny", "Evstegneev"),
new Person("17", "Michael", "Caine"),
new Person("18", "Jean-Paul", "Belmondo"),
new Person("19", " Julia", "Roberts"),
new Person("20", "James", "Stewart"),
new Person("21", "Sandra", "Bullock"),
new Person("22", "Paul", "Newman"),
new Person("23", "Oleg", "Tabakov"),
new Person("24", "Mary", "Steenburgen"),
new Person("25", "Jackie", "Chan"),
new Person("26", "Rodney", "Dangerfield"),
new Person("27", "Betty", "White"),
new Person("28", "Eddie", "Murphy"),
new Person("29", "Amitabh", "Bachchan"),
new Person("30", "Nicole", "Kidman"),
new Person("31", "Adriano", "Celentano"),
new Person("32", "Rhonda", " Fleming's"),
new Person("32", "Humphrey", "Bogart"));
private Pagination pagination;
public static void main(String[] args) throws Exception {
launch(args);
public int itemsPerPage() {
return 1;
public int rowsPerPage() {
return 5;
public VBox createPage(int pageIndex) {
int lastIndex = 0;
int displace = data.size() % rowsPerPage();
if (displace > 0) {
lastIndex = data.size() / rowsPerPage();
} else {
lastIndex = data.size() / rowsPerPage() - 1;
VBox box = new VBox();
int page = pageIndex * itemsPerPage();
for (int i = page; i < page + itemsPerPage(); i++) {
TableView<Person> table = new TableView<Person>();
TableColumn numCol = new TableColumn("ID");
numCol.setCellValueFactory(
new PropertyValueFactory<Person, String>("num"));
numCol.setMinWidth(20);
TableColumn firstNameCol = new TableColumn("First Name");
firstNameCol.setCellValueFactory(
new PropertyValueFactory<Person, String>("firstName"));
firstNameCol.setMinWidth(160);
TableColumn lastNameCol = new TableColumn("Last Name");
lastNameCol.setCellValueFactory(
new PropertyValueFactory<Person, String>("lastName"));
lastNameCol.setMinWidth(160);
table.getColumns().addAll(numCol, firstNameCol, lastNameCol);
if (lastIndex == pageIndex) {
table.setItems(FXCollections.observableArrayList(data.subList(pageIndex * rowsPerPage(), pageIndex * rowsPerPage() + displace)));
} else {
table.setItems(FXCollections.observableArrayList(data.subList(pageIndex * rowsPerPage(), pageIndex * rowsPerPage() + rowsPerPage())));
box.getChildren().addAll(table);
return box;
@Override
public void start(final Stage stage) throws Exception {
ObservableList<String> options =
FXCollections.observableArrayList(
"Opt1",
"Opt2",
"Opt3");
final ComboBox comboBox = new ComboBox(options);
pagination = new Pagination((data.size() / rowsPerPage() + 1), 0);
// pagination = new Pagination(20 , 0);
pagination.setStyle("-fx-border-color:red;");
pagination.setPageFactory(new Callback<Integer, Node>() {
@Override
public Node call(Integer pageIndex) {
if (pageIndex > data.size() / rowsPerPage() + 1) {
return null;
} else {
return createPage(pageIndex);
AnchorPane anchor = new AnchorPane();
AnchorPane.setTopAnchor(pagination, 10.0);
AnchorPane.setRightAnchor(pagination, 10.0);
AnchorPane.setBottomAnchor(pagination, 10.0);
AnchorPane.setLeftAnchor(pagination, 10.0);
Scene scene = new Scene(anchor, 400, 250);
AnchorPane.setBottomAnchor(comboBox, 40.0);
AnchorPane.setLeftAnchor(comboBox, 12.0);
anchor.getChildren().addAll(pagination, comboBox);
stage.setScene(scene);
stage.setTitle("Table pager");
stage.show();
public static class Person {
private final SimpleStringProperty num;
private final SimpleStringProperty firstName;
private final SimpleStringProperty lastName;
private Person(String id, String fName, String lName) {
this.firstName = new SimpleStringProperty(fName);
this.lastName = new SimpleStringProperty(lName);
this.num = new SimpleStringProperty(id);
public String getFirstName() {
return firstName.get();
public void setFirstName(String fName) {
firstName.set(fName);
public String getLastName() {
return lastName.get();
public void setLastName(String fName) {
lastName.set(fName);
public String getNum() {
return num.get();
public void setNum(String id) {
num.set(id); -
PO error in Process-Order Unit PU not convertible into unit lot of req
Hi ALL,
SRM 5.0 SP13 ECS
Service based req with order unit LOT was pushed to SRM . SC got approved in SRM with order unit LOT, PO got approved with order unit LOT and now the PO is in error in process state. I looked up RZ20 to find the message "Order unit PU not covertible into unit Lot of req. We are using material groups and not material masters.
Any idea what is causing this error? order unit seems to be the same, right though the scenario, It was never tried to change at any point of time in the cycle
Krishnakrishna
update here your findings.it helps others too when they are in trouble.
Muthu -
When setting up Firefox Sync, I get all the way to the "Please Confirm You're Not a Robot" screen in the wizard, and enter the captcha values. I then receive in a small scrollable text area the message "Your answer was correct. Please copy and paste the text in this text box into the box below."
I copy and paste the code, in this case "03AHJ_Vuv1gStVScBWSYWw6M4_KKQ4wzhCDSzKqiCfv57XXGyvHtOk4ixehysQhOTIf-lsL41lc5n-piztjYJSKu6urCeRvETVfpzRDh7OmHCDZiIBZv9Qg4oyrmWDMu6JA7Eh-4C8aZn4" into the only other visible text box, and click the next button, only to receive the message "Incorrect words, try again."
My only option is to cancel at that point. I have tried this three times, once even starting the entire process over from the start, and it ends up with the same outcome each time.When setting up Firefox Sync, I get all the way to the "Please Confirm You're Not a Robot" screen in the wizard, and enter the captcha values. I then receive in a small scrollable text area the message "Your answer was correct. Please copy and paste the text in this text box into the box below."
I copy and paste the code, in this case "03AHJ_Vuv1gStVScBWSYWw6M4_KKQ4wzhCDSzKqiCfv57XXGyvHtOk4ixehysQhOTIf-lsL41lc5n-piztjYJSKu6urCeRvETVfpzRDh7OmHCDZiIBZv9Qg4oyrmWDMu6JA7Eh-4C8aZn4" into the only other visible text box, and click the next button, only to receive the message "Incorrect words, try again."
My only option is to cancel at that point. I have tried this three times, once even starting the entire process over from the start, and it ends up with the same outcome each time. -
Direct Conversion of smartform into PDF system has to take spool request ?
does anybody know:
Direct Conversion of smartform into PDF, system has to take spool request dynamically..
i don't mean to use the SE38 calling PRG RSTXPDFT4 to transfer SAP sript into PDF.
thanks
SRIDHAR--strike Yes this is what I understood.
In the structure job_output_info of your function you'll find your OTF data :
st_ssfcrescl-otfdata --
CALL FUNCTION smartform_fonction_name
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
control_parameters = st_ssfctrlop
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
output_options = st_ssfcompop
user_settings = ' '
IMPORTING
document_output_info = st_ssfcrespd
job_output_info = st_ssfcrescl " This is the one which contains OTF data
job_output_options = st_ssfcresop
TABLES
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
-- Then you just have to convert, using something like that : --
* Convert OTF to PDF
LOOP AT otf_data INTO w_otf.
CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
INTO w_pdf.
APPEND w_pdf TO i_content_txt.
ENDLOOP.
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = 'OTF'
format_dst = 'PDF'
CHANGING
transfer_bin = w_transfer_bin
content_txt = i_content_txt
content_bin = i_content_bin
objhead = i_objhead
len = v_len_in
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
v_size = v_len_in.
pdf_itab_size = v_size.
it_pdfout[] = it_pdf[].
* Create the PDF File
CLEAR it_pdfdata.
REFRESH it_pdfdata.
* it_pdfdata[] = it_pdfout[].
LOOP AT it_pdfout.
MOVE it_pdfout-tline TO it_pdfdata-line.
APPEND it_pdfdata.
CLEAR it_pdfdata.
ENDLOOP.
-- The smartform creation and the PDF creation are done in the same time...--
OK, So what do'nt you want to use the RSTXPDFT4 program ?
Hope this helps,
Erwan
Edited by: Erwan LE BRUN on Aug 28, 2008 12:02 PM
Edited by: Erwan LE BRUN on Aug 28, 2008 12:03 PM -
How do you add a combo box into a Jfilechooser?
how do you add a combo box into a Jfilechooser?
thanksSee the API For JFileChooser
public void setAccessory(JComponent newAccessory)Extend a JPanel or Such like, put your Combo Box on it, fiddle around with event handling code for the ComboBox..
Set an Instance of that as The Accessory for the JFileChooser.
Look In Your Docs:-
<JAVA_HOME>/Demo/jfc/SwingSet2/src , unpack SwingSet2.jar if neccessary
In there is a demo of using A JFileChooser with an accessory Panel, and Source code that is adaptable... -
Dear All,
Conversion of FG into Scrap.
one step process (mvt. type 309)
Accounting entry
scrap inventory a/c dr
gain /loss on scrapping a/c dr.
To, FG inventory a/c cr.
two step process
scrapping through 551 movt type -
gain/loss on scrapping a/c dr.
To, FG inventory a/c cr.
generating scrap 902 movt. type (customized) -
scrap inventory a/c dr
to gain/loss on scrapping cr.
my question is our client is following two step proces is it correct. moreover gl getting hit is price difference instead of loss on scrapping. what is the correct scenario and which movement type should be involved.
Regards,
DivrajHi Divraj,
We follow the first step and i personally feel that this is the best method of scrapping of Finish Good.
As the difference between the cost of FG and Scrap is going in Gain and Loss Account. IT IS NOT A PRICE DIFFERENCE.
Regards,
Shayam -
Is there a way to put the find box into the Add-on bar? It is pretty ridiculous that the Find Bar takes up so much valuable space. Why not use up some un used space on the Add-on Bar?
I think you are missing the point entirely, or maybe I am not explaining it right. My find bar is in view 24/7. I like in view as I use it all the time. But it it ridiculous to have it take up a whole row. It doesn't make sense that you can't drag it to the Add-on bar. Look at images below.
-
How to get System status Check Boxes into Query selection screen
Dear experts,
Pleas help in knowing how to get System status Check Boxes into quick view query (SQVI), selectionscreen.
Regards
Jogeswara Rao
Edited by: K Jogeswara Rao on Jul 6, 2010 7:26 PMProblem solved through other Forum
(Checkboxes not possible, some alternative solution to my requirement found)
Maybe you are looking for
-
Windows 8 takes time to open explorer.
Windows 8 takes time to open explorer (My Computer), found that if the network drive group policy is removed it opens fast. Please help to diagnose the issue.
-
How to get a running balance on a report
How do I get a running balance for one customer. Please look at the data set as a example and advise. Customer A Apples 1.00 Paid Customer A Pears 2.00 Paid Customer A Oranges 2.50 Open Balance 2.50 What expression am I to use in report builder T
-
I am having weird problem intermittently with adding calls or merging them or swapping them. The issue happens 8 out of 10 times whenever I try to do a conference call. This issue came up after I upgraded to 8,1.2. Never experienced this in 8.1.1 or
-
SEEKING IDEAS FOR A SMALL PROJECT
I am planning to do a small project in JAVA programming this winter to hone my JAVA skills but I can't seem to set my eyes on anything. please recommend a few good projects along with their descriptions. It should also have some practical aspect.
-
How do I Kick Start a 940 on a Diamond?
This setup works. MSI K9N2 Diamond AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ Corsair 1000wtt PSU Patriot PC2-6400 800mzh Nvidia 8800GTX x 2 WDC WD5000AACS-00G8B1 WDC WD3200AAJB-00TYA0 TSSTcorpCD/DVDW SH-S182D No hassle no problems I just plugge