UoM based on the given country?
Hello
I need to find the link between COUNTRY(LAND1) and its associated all UoMs (Unit of measures), is there any table having these 2 fields or any FM or BAPI to get this info?
Thank you
I don't think UoM is tied to country you can go look at country specific setting in the table V_005_B through SM30
This function module determines the language-dependent business measurement unit
CONVERSION_EXIT_CUNIT_OUTPUT
If you they're using a unit of measurement system (which you can find int T006E* tables) you may want to use the following FM
UNIT_SYSTEM_CONVERSION
Similar Messages
-
Couldn't add you to the Family plan as your account needs to be based in the same country
I sent a Family plan invite to my wife's email address. After resting her password (perhaps she's not the one who made the account?) she tried to accept the invite by entering the token. She was told: We couldn't add you to the Family plan as your account needs to be based in the same country as the Family plan owner. We checked and both profiles show USA as the country. What's the hang up?
Hi guys welcome!
Can you check if the country of both accounts match? You can check this by going to the Account Overview page.
If one of the accounts doesn't match, then change it to the right country. -
Issue with fetching data based on the given criteria.....
Dear All,
I am a bit new to oracle, Please can some help me.
I need to design a report out of the below data:
1. bprf_no will be my primary field
2. report parameters will be the bill_month & no_of_months
Based on above 2 parameters I need to scan through the data for BILL_MONTH <= '30-Jun-2012' and NO_OF_MONTHS >= 3 the other criteria being the AVG_IND in (1,2).
In brief the criteria will be to pick all BPRF_NO having AVG_ID in (1, 2) consecutively till a break (AVG_IND not in (1, 2) starting from the given BILL_MONTH and going below this period, that is BILL_MONTH <= '30-Jun-2012'.
For the below data, if my parameters are: BILL_MONTH <= '30-Jun-2012' and NO_OF_MONTHS >= 3, only the underlined data should be picked (as they fulfill the criteria) and the report output will be like the one posted below the sample data:
Here the NO_OF_TIMES is the count, that is no of times the BPRF_NO falls into the above mentioned criteria consecutively starting from the provided BILL_MONTH.
BPRF_NO BILL_MONTH VOID_STATUS AVG_IND
BP01 30-Jun-12 0 0
BP02 30-Jun-12 0 0
BP03 30-Jun-12 0 1
BP04 30-Jun-12 0 1
BP05 30-Jun-12 0 1
BP06 30-Jun-12 0 2
BP07 30-Jun-12 0 2
BP08 30-Jun-12 0 2
BP09 30-Jun-12 0 0
BP10 30-Jun-12 0 0
BP10 30-Jun-12 0 0
BP01 31-May-12 0 0
BP02 31-May-12 0 0
BP03 31-May-12 0 1
BP04 31-May-12 0 1
BP05 31-May-12 0 1
BP06 31-May-12 0 2
BP07 31-May-12 0 2
BP08 31-May-12 0 2
BP09 31-May-12 0 0
BP10 31-May-12 0 0
BP01 30-Apr-12 0 0
BP02 30-Apr-12 0 0
BP03 30-Apr-12 0 0
BP04 30-Apr-12 0 0
BP05 30-Apr-12 0 1
BP06 30-Apr-12 0 2
BP07 30-Apr-12 0 2
BP08 30-Apr-12 0 2
BP09 30-Apr-12 0 0
BP10 30-Apr-12 0 0
BP01 31-Mar-12 0 0
BP02 31-Mar-12 0 0
BP03 31-Mar-12 0 1
BP04 31-Mar-12 0 1
BP05 31-Mar-12 0 1
BP06 31-Mar-12 0 2
BP07 31-Mar-12 0 2
BP08 31-Mar-12 0 2
BP09 31-Mar-12 0 0
BP10 31-Mar-12 0 0
BP01 29-Feb-12 0 0
BP02 29-Feb-12 0 0
BP03 29-Feb-12 0 1
BP04 29-Feb-12 0 1
BP05 29-Feb-12 0 1
BP06 29-Feb-12 0 2
BP07 29-Feb-12 0 2
BP08 29-Feb-12 0 2
BP09 29-Feb-12 0 0
BP10 29-Feb-12 0 0
BP01 31-Jan-12 0 0
BP02 31-Jan-12 0 0
BP03 31-Jan-12 0 0
BP04 31-Jan-12 0 0
BP05 31-Jan-12 0 1
BP06 31-Jan-12 0 2
BP07 31-Jan-12 0 2
BP08 31-Jan-12 0 2
BP09 31-Jan-12 0 0
BP10 31-Jan-12 0 0
Below is the correct output that I am supposed to get.
BPRF_NO BILL_MONTH NO_OF_TIMES
BP05 30-Jun-2012 6
BP06 30-Jun-2012 6
BP07 30-Jun-2012 6
BP08 30-Jun-2012 6
My below query is fetching me wrong data:
Here BP03 & BP04 should not come into the listing itself.
select bprf_no, last_avg_bill_month, no_of_month
from
( select a.bprf_no, max(a.bill_month) last_avg_bill_month, count(*) no_of_month
from
( select
bill_month, avg_ind, bprf_no
from ibsoifc.vw_ibs_bill
where bill_month <= '30-Jun-2012'
and void_status = 0
and avg_ind in (1, 2)
order by bprf_no desc, bill_month desc ) a, ibsoifc.vw_ibs_bill b
where a.bprf_no = b.bpref_no
and a.bill_month = b.bill_month
group by a.bprf_no
having count(a.bprf_no) >= '&no_of_month' )
group by bprf_no,last_avg_bill_month, no_of_month
BPRF_NO LAST_AVG_BILL_MONTH NO_OF_TIMES
BP03 30-Jun-2012 4
BP04 30-Jun-2012 4
BP05 30-Jun-2012 6
BP06 30-Jun-2012 6
BP07 30-Jun-2012 6
BP08 30-Jun-2012 6Based on my understanding..
select *
from t
order by bill_month desc,bprf_no;
BPRF_NO BILL_MONTH VOID_STATUS AVG_IND
BP01 30-JUN-12 0 0
BP02 30-JUN-12 0 0
BP03 30-JUN-12 0 1
BP04 30-JUN-12 0 1
BP05 30-JUN-12 0 1
BP06 30-JUN-12 0 2
BP07 30-JUN-12 0 2
BP08 30-JUN-12 0 2
BP09 30-JUN-12 0 0
BP10 30-JUN-12 0 0
BP10 30-JUN-12 0 0
BP01 31-MAY-12 0 0
BP02 31-MAY-12 0 0
BP03 31-MAY-12 0 1
BP04 31-MAY-12 0 1
BP05 31-MAY-12 0 1
BP06 31-MAY-12 0 2
BP07 31-MAY-12 0 2
BP08 31-MAY-12 0 2
BP09 31-MAY-12 0 0
BP10 31-MAY-12 0 0
BP01 30-APR-12 0 0
BP02 30-APR-12 0 0
BP03 30-APR-12 0 0
BP04 30-APR-12 0 0
BP05 30-APR-12 0 1
BP06 30-APR-12 0 2
BP07 30-APR-12 0 2
BP08 30-APR-12 0 2
BP09 30-APR-12 0 0
BP10 30-APR-12 0 0
BP01 31-MAR-12 0 0
BP02 31-MAR-12 0 0
BP03 31-MAR-12 0 1
BP04 31-MAR-12 0 1
BP05 31-MAR-12 0 1
BP06 31-MAR-12 0 2
BP07 31-MAR-12 0 2
BP08 31-MAR-12 0 2
BP09 31-MAR-12 0 0
BP10 31-MAR-12 0 0
BP01 29-FEB-12 0 0
BP02 29-FEB-12 0 0
BP03 29-FEB-12 0 1
BP04 29-FEB-12 0 1
BP05 29-FEB-12 0 1
BP06 29-FEB-12 0 2
BP07 29-FEB-12 0 2
BP08 29-FEB-12 0 2
BP09 29-FEB-12 0 0
BP10 29-FEB-12 0 0
BP01 31-JAN-12 0 0
BP02 31-JAN-12 0 0
BP03 31-JAN-12 0 0
BP04 31-JAN-12 0 0
BP05 31-JAN-12 0 1
BP06 31-JAN-12 0 2
BP07 31-JAN-12 0 2
BP08 31-JAN-12 0 2
BP09 31-JAN-12 0 0
BP10 31-JAN-12 0 0
61 rows selected
with t1 as
(select BPRF_NO,BILL_MONTH,VOID_STATUS,AVG_IND,sm,
case when sm >= 3 then
nvl(sm - lag(sm) over(partition by bill_month order by bprf_no),sm)
else 0 end d
from(
select BPRF_NO,BILL_MONTH,VOID_STATUS,AVG_IND,
sum(decode(avg_ind,1,1,2,1,0)) over(partition by bill_month order by bprf_no) sm
from t
where bill_month = to_date('30-Jun-12','dd-Mon-yy')
order by bill_month desc,bprf_no)
select t1.bprf_no,count(t.bprf_no)+1 no_of_times -- "The '1' stands for the count in t"
from t1, t
where t1.bprf_no = t.bprf_no -- "This can be an outer join based on your requirement and data.."
and t1.d = 1
and t.bill_month < to_date('30-Jun-12','dd-Mon-yy')
group by t1.bprf_no
order by 1;
BPRF_NO NO_OF_TIMES
BP05 6
BP06 6
BP07 6
BP08 6 -
How to search xml file data based on the given keyword from html form
hi,
i'm new to XML. I have this problem regarding searching within a XML file.
the
idea is that my search will be based on the keyword entered
in
by the user from a HTML form. the keyword is then used to search all
the
question nodes and the choice nodes within a XML file. once the match
is
found, i will have to display the results.
But i don't know how to do so - especially the part of searching xml file.
Can
anyone help me in this? Your help is much appreciated.
Edited by: Moti_Lal.D on Apr 4, 2008 7:28 AMyeah.. what i was trying to do is
i have one xml fine. then i have to read all the tag values say
<book>
<title>Java</title>
<author>agarwal</author>
<price>200</price>
</book>
<book>
<title>Xml</title>
<author>saxmann</author>
<price>300</price>
</book>
i can read the tag values like this
File file = new File("dom.xml");
try {
DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
Document doc = builder.parse(file);
NodeList nodes = doc.getElementsByTagName"book");
for (int i = 0; i < nodes.getLength(); i++) {
Element element = (Element) nodes.item(i);
NodeList title = element.getElementsByTagName("title");
Element line = (Element) title.item(0);
what i want is i may give any xml file
like File file = new File("xxx.xml");
(it may be one level/two level/3level tagged one)
then the i should read all the tag values and store them in some array. Then when i enter some character from keyboard (say "a") then it has to show all the tag values starts with "a" and display them.
i guess u understand my problem. -
Hello every one,
In My requirement i am having some regions with longitude and latitude in one SharePoint list. in another SharePoint list i am having the country values with longitude and latitude and region as look up field. I want to display all the region
markers in Google maps. on click of any region marker i want to zoom in the map to region level and i need to display all the country markers in Google maps under the region. can any body help me on this requirement.
Thanks in advance,
Venu.Not sure about Google Maps but this is fairly easy to do with Bing Maps. I've used Bing Maps with SharePoint lists fairly regularly. Here are some blog posts:
http://blogs.bing.com/maps/2013/03/26/connecting-a-sharepoint-list-to-bing-maps/
http://blogs.bing.com/maps/2013/03/07/geocoding-a-sharepoint-list-item/
Once you have your sharepoint list connected to Bing Maps you can easily filter the list data based on the selected country if you have a country column in your list. If you want to take things a bit further an create a much cooler user experience you can
also use the Bing Maps GeoData API to get the country boundaries and show them on the map as polygons. These could be color coded based on some metric, or set up as the clickable area on the map rather than a pushpin. Here is a blog post on how to use the
GeoData API with the JavaScript Bing Maps control:
http://blogs.bing.com/maps/2013/06/25/retrieving-boundaries-from-the-bing-spatial-data-services-preview/
http://rbrundritt.wordpress.com -
Is the Decimal Notation Setting based on the country of the vendor?
I would like to ask help with regards to an error which i encountered when I Print Preview a Purchase Order Document via Transaction ME23N.
Within the Print Program, the Decimal Point setting is normal ( for example 2.90, 192.97, 1,903.00 , etc.), but when the value is passed on to the SAPscript Form the Decimal Point setting is incorrect ( for example 2,90 , 192,97 , 1.903,00). This error is only observed on a single Vendor being used in the creation of the PO.
I would like to confirm if indeed the settings for Decimal Notation is based on the settings being used in the specific country of the vendor.
I hope anyone can help me out with this one. Reward points up for grabs.Hi
In my case in sapscript while printing total for JPY is for three decimals but after calculating it used to take two decimals & leave one decimal to left ex as below.
FOB : 100.000
Freight: 10.00
Total : 1000.00 (In figures One Hundered & Ten Only).
here in sapscript program this decimal notation was given for two hence it was going to left side we correct it to three decimal notation.
kindly check with script & you can fix it there.
Regards
Rang -
Sales order item level deliveryblock based on the material's destin country
Hi Experts
I have a requirement to set delivery block to an order at the item level based on of country of destination and material.
-Requirement is to block automatically order line when a material is not authorized (Regulatory affair) to be shipped to the country.
-We need to allow only authorized person to have ability to remove the block-How can this be set up?
- Delivery block like these are usually set up for sales org & material (and not country level), the issue here is different countries in same sales org.
Awaiting for earliest comments
Thanks
BanuHi,
In standard SAP you can not have delivery block at the item level based on the country of destination. Because contry of destination comes from Ship to party master data and material master is not based on the country.
You need to have development or Exit and Z table. You need to maintain the list of materials allowed to various countries in the Ztable. Exit/development needs to check the table at the time of saving the sales order, 'If there is no table entry, delevery block needs to be maintained on the particular item shipping tab.
Further you can discuss with your technical consultant about the logic and the possibilities.
Regards,
Ravi Duggirala -
How can I sum the values in a given column on sheet 1 i.e. A1:A50 based on the adjacent columns specific value i.e. B1:B50 = “Dinning Room” on sheet 2
For Example:
SHEET 1
A
B
$50
Dinning Room
$800
Dinning Room
$300
Kitchen
$1,000
Master Bedroom
$100
Dinning Room
SHEET 2
Display the total SUM amount of each Project based on Sheet 1
Project Name
Total Cost
Dinning Room
$950
Kitchen
$300Would be a good idea to open iWork Formulas and Functions User Guide and search for the description of the function named SUMIF
The Guide is available for every user thru the Help menu.
Yvan KOENIG (VALLAURIS, France) jeudi 19 mai 2011 17:32:42
Please :
Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
Calculate Avg for the given months based on the no. of days in months
Dear Experts
I have a report in which there is a characterictic claenderyr/month.The Input paramter is claenderyr/month which is restricted by a variable of type interval. i mean user will enter calenderyr/month as interval say 012010 to 06.2010. Now I have to calculate Avg sale Qty for the given months based on the no. of days for the given range of months. How I can achieve this in BW Query. Pl. advice
Dinesh SharmaHi,
Create formula for the sales qty.
maintain the exception aggregation as average based on calday
Best Regards,
M.H.REDDY -
[HELP] Error: "JDBC theme based FOI support is disabled for the given data"
Hi all,
I have already set up MapViewer version 10.1.3.3 on BISE1 10g OC4J server. I am current using JDK 1.6. I create a mvdemo/mvdemo user for demo data.
The MapViewer demo is running fine with some demo without CHART. But give this error with some maps that have CHART like: "Dynamic theme, BI data and Pie chart style", "Dynamic theme and dynamic Bar chart style". The error is:
----------ERROR------------
Cannot process the FOI response from MapViewer server. Server message is: <?xml version=\"1.0\" encoding=\"UTF-8\" ?> <oms_error> MAPVIEWER-06009: Error processing an FOI request.\nRoot cause:FOIServlet:MAPVIEWER-06016: JDBC theme based FOI support is disabled for the given data source. [mvdemo]</oms_error>.
----------END ERROR------
I searched many threads on this forum, some point me to have this allow_jdbc_theme_based_foi="true" in mapViewerConfig.xml and restart MapViewer.
<map_data_source name="mvdemo"
jdbc_host="localhost"
jdbc_sid="bise1db"
jdbc_port="1521"
jdbc_user="mvdemo"
jdbc_password="mvdemo"
jdbc_mode="thin"
number_of_mappers="3"
allow_jdbc_theme_based_foi="true"
/>
Error Images: [http://i264.photobucket.com/albums/ii176/necrombi/misc/jdbcerror.png|http://i264.photobucket.com/albums/ii176/necrombi/misc/jdbcerror.png]
I have this configuration, but no luck. Could anyone show me how to resolve this problem?
Rgds,
Dung NguyenOop, i managed to have this prob resolved!
My prob may come from this I use both scott and mvdemo schema for keeping demo data (import demo data).
Steps i made to resolve my prob are:
1) Undeploy MapViewer from Application Server Control (http://localhost:9704/em in my case)
2) Drop user mvdemo
3) Download mapviewer kit from Oracle Fusion Middleware MapViewer & Map Builder Version 11.1.1.2
4) Deploy MapViewer again
5) Recreate mvdemo and import demo data
6) Run mcsdefinition.sql, mvdemo.sql with mvdemo user (granted dba already)
7) Edit mapViewerConfig.xml
<map_data_source name="mvdemo"
jdbc_host="dungnguyen-pc"
jdbc_sid="bise1db"
jdbc_port="1521"
jdbc_user="mvdemo"
jdbc_password="!mvdemo"
jdbc_mode="thin"
number_of_mappers="3"
allow_jdbc_theme_based_foi="true"
/>
Save & Restart MapViewer
And now, all demos run fine. Hope this helpful for who meet prob like my case. -
How to select State based on the country
Hi All,
I have a requirement,i have to dynamically populate the value in State based on the Country chosen in the drop down.
Can you please tell me how to achieve this functionality.
Thanks & Regards,
Malkit SinghHi, Malkit
There is already a cotext mapping for Sate.
Take a look at this.
http://scn.sap.com/message/13816883#13816883
In your case, use these data types.
element Country :CountryCode;
element State :RegionCode;
Regards,
Fred. -
Fetch the operating unit name based on the country name
Hi all,
I want to fetch the operating unit name based on the country name, there is no link between fnd_territories(_tl) and hr_all_organization_unis(_tl) tables.
Can any one know how to get this thing.
any help or idea is appreciable.
Thanks,
GiriGiri,
I don't think you will find such a link. One country can be used by multiple operating units.
Hope this helps,
Sandeep Gandhi -
Hello PP GURUS I am new to this and i have one issues. I.e., While creating the Production Order, want the unit in the production order should be based on the sales order unit instead of what has been defined in the material master. Since, having 3-4 alternate unit of a material & can create a Sales Order in any one of them.
Also pls let me how to go through
either with the help of ABAP or configuration.
If it is with the configuration pls let me know the solution to arrive.
Eg: Base UOM is KGS
Alt UOMs: SQM, MTR, NOS
Sale order is Prepared with SQM and the same shall be in production order too to produce qty.
Pls help me.
rgds,
Kumar VHi
First you have to maintain alternate units in mateial master for that first go in additional data & maintain the alternate units as below..
For example
1200 M2=1 KG For SQM
12 M=1 KG For MTR
3 PC=1 KG For NOS
And then you can get Sales unit field in sales data 1 view enter your sales unit in that field & you will get production unit in work scheduling views as per your desire production units and according to that units your sale order & production order will pick that units & you can proceed accordingly but remember that first maintian the conversion factor as above other wise it will not accept hope that it will help you have a nice day...
Regards,
Reena -
Can I extract VBAP-EAN11 based on the country Field ?
Hello,
Is there a way I can extract VBAP-EAN11 from a different field dependent on the country KNA1-LAND1 or any other table where I should be able to extract EAN11 based on the country.
Please suggest, if i can extract the data with this condition or any possible conditions with which i can extract VABP-EAN11 dependent on the country field....
Any suggestions would be appreciated!
Thank youHello Venkat,
Thank you for your response...
I did not understand...Can you please tell me in more detail...
And I tried with this field below and written a sample code...Plz let me know if I can go ahead and use this field.
Types : Begin of TY_SAMPLE,
VBELN TYPE VBELN_VA,
EAN11 type vbap-EAN11,
LLAND type VKDFS-LLAND,
END OF TY_SAMPLE.
DATA : T_SAMPLE TYPE STANDARD TABLE OF TY_SAMPLE WITH HEADER LINE.
SELECT A~VBELN
A~EAN11
B~LLAND
INTO TABLE T_SAMPLE
FROM VBAP AS A INNER JOIN
VKDFS AS B
ON AVBELN = BVBELN
WHERE EAN11 =
LOOP AT T_SAMPLE.
WRITE : / T_SAMPLE-VBELN, T_SAMPLE-ean11, T_SAMPLE-LLAND.
ENDLOOP.
Regards,
Developer -
Want to create a new dynamic DL based on the country location of the 365 license..
We're presently in hybrid mode, but we'll soon be moving entirely to 365. In preparation i'd like to start creating new dynamic distribution groups. We have offices in Korea, China, EU, and the US. My idea is to create the dynamic DL's
based on the country where the license was applied. In the example below, the users license was assigned in Korea. So ideally my new dynamic DL would filter on that property (i.e. anyone's mailbox where the users license was assigned to Korea)
to create an "All Korea" distribution group.
Does anyone know what the powershell syntax might be? Any help is greatly appreciated!Interesting. The command ran without error, but then when i checked the group through the portal it didn't display the recipient filter. Seemed like it just created a generic dynamic DL and it was prompting me for things like mailbox type.
Maybe you are looking for
-
Problem with Russian characters in Firefox on Mac OS X 10.5
Hi everybody, I installed the latest version of Firefox (2.0.0.9) on Mac OS X 10.5(Leopard) on my iMac (Core 2 Duo, 2.16GHz). Now when I change the language option to Russian (in Mac OSX) and type in Firefox search box (in the top right corner) I see
-
I ordered family base when buying my daughter a phone. The dashboard shows my daughter's line as the parent and doesn't let me change it. I don't think I can even get started using the service until I can tell it I am the parent, and she is the child
-
Alc-on found.... compiler error 1063
i run the config, i set the paths...... here is what they look like--- .bashrc source /cygdrive/c/Alchemy/alchemy-setup PATH=/cygdrive/c/Alchemy/achacks:/cygdrive/c/Flex3.2.0/3.2.0/bin:$PATH export PATH alchemy-setup #!/bin/bash # This file was gener
-
Need audio drivers for hp media center pc m7780n that works on windows 7 ultimate 64 bit
need drivers that works on windows 7 ultimate 64 bit.
-
3D Acceleration in VMware Player 5
Hello, I wanted to install Archlinux into a VMware virtual machine but I have trouble making 3D acceleration working with Gnome. When I activate the option under VMware, GDM will get stuck on the background screen. This only happens when the accelera