Fright condtion problem?
Hi all
My Requirement in pricing procedure is Feight will charges including Eduty Ecess. VAT will apply in Tax code after addition freight to Eduty and Ecess. Detailed requirement is as follows.
Gross Price = 100
Eduty 16% = 16
Ecess 3% = 0.48
Freight 4Rs/kg = 4
Subtotal = 120.48
VAT 4% = 4.8192
Total = 125.2992
Tax procedure TAXINJ. Any one suggest what are the setting I have to make in Pricing procedure and Tax procedure.
Hi Ragul,
In SAP B1 is having only AR Invoice screen there is no
proforma invoice & commercial invoice screen.
You are using SAP B1 or other.
Regards
Jambulingam.P
Similar Messages
-
Also what is statistical conditions ?
Why we define the Account keys and accruel keys for certain condition types in pricing procedure, what is the significance of the same from the perspective of the accounting?
When i defined the account key for one condition in pricing do i have to define seperate G/L account for that condition type?
Where to define account key and GL account for that condition ?Hi Bhaskar,
I am giving you an idea suppose you are making a PO of amount rs 120 and 20 rs as frieght in that.
Now your requirement is that you want to capture those fright amount to different GL code for that you need to define account key and mention a GL code and make it as statistical.
Now what means for statistical as in above example your you are also paying excise duty which is say 16% and this percentage shoulbe applicable on top of rs 100 (Which is net value)not on 120 as 20 rs are also there so if you define this fright condtion as statistical then system will not add 20 to your net value.
Where to define account key and GL account for that condition ?
Account key are defined in following path
Go in IMG--> Material Management --> Purchasing --> condition -> Price determination process --> Define transaction/Event key
And GL codes are assigned in OBYC to account keys
I hope now you would have a clear idea of your query
Regards
Vivek Sharma
Reward if helpful -
Problem in update statment when using where condtion
Hi ,
Iam using update statment to update field in Z-Table .My statment is not working fine as per my requirement.The statment is as below,
UPDATE ZFINAL_DATA SET ZDATE_FLAG = SPACE where ZGLOBAL_CODE ( SELECT LIFNR FROM LFA1 WHERE KTOKK = 'ZLIE' ).
But this statment is doing my purpose .
My requirement is , I need to update ZDATE_FLAG = SPACE in ZFINAL_DATA table when LFA1 -LIFNR = ZFINAL_DATA-ZGLOBAL_CODE and LFA1-KTOKK = 'ZLIE'.
Can any correct the update statment which will be helpfull to proceed further .
Regards,
SriramHi Sriram,
Have a look into the logic of the below query. Maybe this will fulfil the requirement.
TYPES: BEGIN OF lt_lifnr,
lifnr TYPE lifnr,
END OF lt_lifnr.
DATA: la_lifnr TYPE TABLE OF lt_lifnr,
wa_zfinal_data TYPE zfinal_data,
la_zfinal_data TYPE TABLE OF zfinal_data.
TABLES: zfinal_data.
SELECT lifnr
FROM lfa1
INTO TABLE la_lifnr
WHERE ktokk = 'ZLIE'.
SORT la_lifnr BY lifnr.
SELECT *
FROM zfinal_data
INTO TABLE la_zfinal_data.
LOOP AT la_zfinal_data INTO wa_zfinal_data.
READ TABLE la_lifnr WITH KEY lifnr = wa_zfinal_data-zglobal_code
BINARY SEARCH TRANSPORTING NO FIELDS.
IF sy-subrc = 0.
wa_zfinal_data-zdate_flag = space.
MODIFY la_zfinal_data
FROM wa_zfinal_data
INDEX sy-tabix
TRANSPORTING zdate_flag.
ENDIF.
ENDLOOP.
MODIFY zfinal_data FROM TABLE la_zfinal_data.
COMMIT WORK. -
Oracle Forms Designer has encountered a problem and needs to close
Dear All,
I got the following error when I compile the form,
Oracle Forms Designer has encountered a problem and needs to close
I am using Oracle 10g Developer suite(Forms 32 Bit Version 10.1.2.0.2)
and Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
and Window Xp Professional 32 Bit Operating system
Now I can't do any changes in the form.
I searched lot of oracle forums .but i can't solve it.
Please give me one solution
I am strugling this issue.
Please help me........
a lot of thanks in advance.
Thanks and Regards,
FazilHi,
I am doing the bug fixing in the existing form.Its size is 4.07 MB.when i will get the mentioned error.then i will take previos fmb.then again doing the changes after some time agin will come the mention error.I added some if else condtion code.Its a small code.I think its not a reason for the mentioned error.I think something is happended.I don't know what happened?
Please help me..
Thanks and Regards,
Fazil -
Problems creating a sticky footer
Hi,
I'm trying to create a website in Dreamweaver using a template that I purchased but I am having problems fixing a footer to the bottom of the page,
At the moment the content footer that I have created (which is a table) changes positon from page to page depending on the content.
The template comes with 2 x CSS style sheets and 1 x JS coded page which I know I need to amend in order for the footer to remain fixed to the bottom of each page.
The trouble is my CSS and JS are not up to much. I have inserted the code from the HTML, CSS & JS below.
If anyone can help me out it would be fantastic as I'm really at a loss!
The HTML of my main webpage is as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0023)http://www.contoso.com/ -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<script src="maxheight.js" type="text/javascript"></script>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
</script>
</head>
<body id="page1" onload="new ElementMaxHeight(); ;MM_preloadImages('images/facebook2.gif','images/linkedin2.gif','images/twitter2.gif')">
<div id="header">
<div class="main">
<div class="flash">
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="980" height="137">
<param name="movie" value="flash/menu_v8.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="8.0.35.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash/menu_v8.swf" width="980" height="137">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="8.0.35.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" id="Image2" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<div class="flash1">
<object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="587" height="389">
<param name="movie" value="flash/header_v8.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="8.0.35.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash/header_v8.swf" width="587" height="389">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="8.0.35.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" id="Image3" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<div class="indent1">
<div class="container1">
<p>Welcome to ACL International.<br />
Through our offices in the UK and Portugal we supply the<br />
very latest in energy saving technologies with our main<br />
focus being on lighting. ACL have been active in the lighting<br />
industry for over 10 years and have built up strong relationships with some of the world's leading lighting manufacturers.</p>
<p> </p>
<p>Welcome to ACL International.<br />
Through our offices in the UK and Portugal we supply the<br />
very latest in energy saving technologies with our main<br />
focus being on lighting. ACL have been active in the lighting<br />
industry for over 10 years and have built up strong relationships with some of the world's leading lighting manufacturers.</p>
</div>
</div>
</div>
</div>
<div id="content">
<div class="main">
<div class="indent-main">
<div class="container bg">
<div class="container bg1">
<div class="container bg2">
<div class="col-1 bg-1">
<div class="indent-col">
<img alt="" src="images/1page_title1.gif" class="title" /><br />
<p>An easy and affordable<br />
way to change existing<br />
lighting to an energy<br />
saving alternative...</p>
<div class="container"><a href="#" class="link-1"><em><b>read more</b></em></a></div>
</div>
</div>
<div class="col-1 bg-2">
<div class="indent-col">
<img alt="" src="images/1page_title2.gif" class="title" /><br />
<p>A more natural,<br />
environmentally<br />
friendly light<br />
source... </p>
<div class="container"><a href="#" class="link-1"><em><b>read more</b></em></a></div>
</div>
</div>
<div class="col-1 bg-3">
<div class="indent-col">
<img alt="" src="images/1page_title3.gif" class="title" /><br />
<p>Up to 80% energy <br />
saving with an<br />
extremely long<br />
lifetime... </p>
<div class="container"><a href="#" class="link-1"><em><b>read more</b></em></a></div>
</div>
</div>
<div class="col-1 bg-4">
<div class="indent-col">
<img alt="" src="images/1page_title4.gif" class="title" /><br />
<p>Low glare,<br />
creating a more<br />
comfortable<br />
environment... </p>
<div class="container"><a href="#" class="link-1"><em><b>read more</b></em></a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<div class="main">
<div class="indent-footer">
<table width="929" border="0">
<tr>
<td width="869">ACLI © 2012 <a href="index-5.html">Privacy Policy</a></td>
<td><img src="images/followus.gif" alt="" width="73" height="20" /></td>
<td width="20"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('facebook','','images/facebook2.gif',1)"><img src="images/facebook.gif" width="20" height="20" border="0" id="facebook" /></a></td>
<td width="20"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('linkedin','','images/linkedin2.gif',1)"><img src="images/linkedin.gif" width="25" height="20" border="0" id="linkedin" /></a></td>
<td width="20"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('twitter','','images/twitter2.gif',1)"><img src="images/twitter.gif" width="27" height="20" border="0" id="twitter" /></a></td>
</tr>
</table>
</div>
</div>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID");
swfobject.registerObject("FlashID2");
</script>
</body>
</html>
The CSS of the layout is as follows:
.col-1, .col-2, .col-3, .col-4, .col-5{ float:left}
/*======= width =======*/
.main{margin:0 auto; text-align:left; width:929px; }
/*======= header =======*/
#header {height:339px; background:url(images/bg.jpg) }
#page1 #header {height:526px;}
/*======= index.html =======*/
#page1 #content .col-1{ width:231px; margin-right:1px}
#page1 #content .bg{ background:url(images/tail.gif) repeat-y 231px top }
#page1 #content .bg1{ background:url(images/tail.gif) repeat-y 463px top }
#page1 #content .bg2{ background:url(images/tail.gif) repeat-y 695px top }
/*======= index-1.html =======*/
#page2 #content .col-1{ width:339px; margin-right:0}
#page2 #content .col-2{ width:590px}
#page2 #content .col-3{ width:154px; margin-right:32px}
#page2 #content .col-4{ width:158px; margin-right:30px}
#page2 #content .col-5{ width:155px; margin-right:0}
/*======= index-2.html =======*/
#page3 #content .col-1{ width:590px; margin-right:0}
#page3 #content .col-2{ width:339px}
#page3 #content .col-3{ width:188px; margin-right:0}
#page3 #content .col-4{ width:155px; margin-right:0}
/*======= index-3.html =======*/
#page4 #content .col-1{ width:339px; margin-right:0}
#page4 #content .col-2{ width:590px}
#page4 #content .col-3{ width:95px; margin-right:2px; text-align:right; line-height:1em; padding-top:3px}
#page4 #content .col-4{ width:188px; margin-right:0}
/*======= index-4.html =======*/
#page5 #content .col-1{ width:590px; margin-right:0}
#page5 #content .col-2{ width:339px}
#page5 #content .col-3{ width:95px; margin-right:2px; text-align:right; line-height:1em; padding-top:3px}
#page5 #content .col-4{ width:188px; margin-right:0}
/*======= footer =======*/
#footer { height:110px; }
The CSS of the style is as follows:
/* CSS Document */
* { margin:0; padding:0;}
html, body { height:100%; }
body {font-size:100%; line-height:1.125em;}
html, input, textarea {
font-family: "Century Gothic";
color:#646464;
.alignMiddle{ vertical-align:middle}
.alignCenter{ text-align: center}
.container1{ width:100%}
object { vertical-align:top; outline:none}
.clear { clear:both;}
.fleft{ float:left}
.fright{ float:right}
div.container { overflow:hidden; width: 100%;}
a img{ border:0}
img{ vertical-align:top; }
a{color:#000000; text-decoration:underline; outline:none}
a:hover{text-decoration:none}
.link{color:#000000; background:url(images/marker.gif) top left no-repeat; padding-left:20px; background-position:0 5px; text-decoration:none; font-size:.916em }
.link:hover{text-decoration:underline }
.button{color:#fff; font-size:.916em; line-height:20px ; padding:2px 8px 8px 6px; text-decoration:none; }
.button:hover{color:#000; background:url(images/button.gif) top left no-repeat; padding:2px 8px 8px 6px; text-decoration:none; line-height:20px ; }
.current{color:#000; background:url(images/button.gif) top left no-repeat; padding:2px 8px 8px 6px; text-decoration:none; line-height:20px ; }
ul{margin:0; padding:0; list-style:none;}
ul li a{color:#646464; text-decoration: underline; line-height:1.66em}
ul li a:hover { text-decoration:none; }
.ul1 li{background:url(images/marker.gif) top left no-repeat; background-position:0 5px; margin:0; padding-left:10px; }
.ul1 li a{color:#646464; text-decoration:none ; line-height:1.5em}
.ul1 li a:hover { text-decoration:underline; }
.ul li{background:url(images/tail-1.gif) repeat-x bottom; margin:0; padding-left:0; }
.ul li span{color:#646464; float:right; background:url(images/tail-2.gif) repeat-x bottom;}
.ul li a{color:#646464; text-decoration: underline; line-height:1.66em; background:url(images/tail-2.gif) repeat-x bottom;}
.ul li a:hover { text-decoration:none; }
.link-1 { display:block; float:left; background:url(images/link_bg.gif) left top repeat-x; color:#ffffff; text-decoration:none; }
.link-1 em { display:block; background:url(images/link_left.gif) no-repeat left top;}
.link-1 b { display:block; background:url(images/link_right.gif) no-repeat right top; padding:0 5px 3px 7px; font-weight:normal; font-style:normal;}
.link-1:hover{ text-decoration:none; color:#627311}
.link-2 { display:block; float:left; background:url(images/link_bg.gif) left top repeat-x; color:#ffffff; text-decoration:none; }
.link-2 em { display:block; background:url(images/link_left.gif) no-repeat left top;}
.link-2 b { display:block; background:url(images/link_right.gif) no-repeat right top; padding:0 15px 3px 17px; font-weight:normal; font-style:normal;}
.link-2:hover{ text-decoration:none; color:#627311}
/*header*/
#header {font-size:0.75em; color:#646464 }
#header .logo{ margin:19px 0 9px 0 }
#header .indent{margin:30px 0 0 755px; position:absolute; width:175px; color:#625a49}
#page1 #header .indent1{padding:40px 0 0 565px}
#header .indent1{padding:22px 0 0 0px}
#header .indent2{padding:11px 0 0 397px}
#header .img-left{ float:left; margin:0 31px 0 0}
#header .img-indent{ margin:0 24px 0 0}
#header .img-indent1{ margin:0 23px 0 0;}
#header .title{ margin-bottom:11px}
#header a{ color:#625a49; text-decoration:none}
#header a:hover{text-decoration: underline}
.flash{ margin:0 -27px 0 -25px; position:relative}
.flash1{ margin:0 0 0 -25px; position: absolute}
#page1 .bg-1{
background-image: url(images/1page_img1.jpg);
background-repeat: no-repeat;
background-position: right bottom;
#page1 .bg-2{ background:url(images/1page_img2.jpg) no-repeat bottom right}
#page1 .bg-3{ background:url(images/1page_img3.jpg) no-repeat bottom right}
#page1 .bg-4{ background:url(images/1page_img4.jpg) no-repeat bottom right}
.bg-5{ background:url(images/bg-1.gif) repeat-x top #e5e5e5; width:100%}
.bg-6{ background:url(images/bg-2.gif) repeat-x top #fff; width:100%}
/*content*/
#content{ font-size:0.75em; width:100%; text-align:left; background:url(images/bg_cont.gif) repeat-x top #fff}
#content .indent-main{padding:11px 0 0 0}
#content .indent-main1{padding:3px 0 0 0}
#content .indent-col{padding:14px 0 28px 20px}
#content .indent-col1{padding:32px 14px 24px 15px}
#content .indent-col2{padding:32px 28px 0 28px}
#content .title{ margin-bottom:8px}
#content .img-left{ float:left; margin:0 20px 16px 0}
#content .img-right{ float:right; margin:0 0 0 10px}
#content .img-indent{ margin:0 0 16px 0}
#content p{ margin:0 0 17px 0}
#content .p{ margin:0}
#content .p1{ margin:0 0 17px 0}
#content h4{color:#8b870e; font-size:1em; margin-bottom:13px; }
#content .tail{ background:url(images/tail2.gif) repeat-x bottom; padding-bottom:26px; margin-bottom:21px}
.txt{ color:#8e9c2e; font-weight:normal}
.txt a{ color:#8e9c2e; }
#content .indent{padding:15px 0 0 0}
/*box*/
.box{ background:#fcfcfc; width:100%;}
.box .indent-box{ padding:11px 18px 11px 20px; }
.box .indent-box1{ padding:11px 10px 11px 10px; }
/*footer*/
#footer { color:#5a5a5a; text-transform:uppercase; font-size:0.6875em ; }
#footer .indent-footer{ padding:37px 0 0 0; background:url(images/bot.gif) repeat-x top;}
#footer a {color:#5a5a5a; text-decoration:underline}
#footer a:hover { text-decoration:none}
.jamp{ width:69px;}
.jamp1{ width:64px;}
.jamp2{ width:58px;}
.jamp3{ width:52px;}
select{font-size:12px; color:#646464; height:19px; font-family: Arial, Helvetica, sans-serif;}
.indent-2{ position:relative; padding-right:20px; float:left}
.h{ height:29px}
.block-contact span{ float:right; margin-right:50px}
input{
width:183px; height:17px;
font-size:1em;
color:#646464;
padding-left:5px;
textarea{
width:183px; height:57px;
font-size:1em;
color:#646464;
padding-left:5px;
margin-bottom:11px;
overflow:auto}
.textarea{
width:183px; height:142px;
font-size:1em;
color:#646464;
padding-left:5px;
margin-bottom:11px;
overflow:auto}
The JS page is as follows:
var ElementMaxHeight = function() {
this.initialize.apply(this, arguments);
ElementMaxHeight.prototype = {
initialize: function(className) {
this.elements = document.getElementsByClassName(className || 'maxheight');
this.textElement = document.createElement('span');
this.textElement.appendChild(document.createTextNode('A'));
this.textElement.style.display = 'block';
this.textElement.style.position = 'absolute';
this.textElement.style.fontSize = '1em';
this.textElement.style.top = '-1000px';
this.textElement.style.left = '-1000px';
document.body.appendChild(this.textElement);
this.textElementHeight = document.getDimensions(this.textElement).height;
var __object = this;
var __checkFontSize = this.checkFontSize;
this.checkFontSizeInterval = window.setInterval(function() {return __checkFontSize.apply(__object)}, 500);
this.expand();
// Refresh elements height onResize event
var __expand = this.expand;
if (window.addEventListener) {
window.addEventListener('resize', function(event) {return __expand.apply(__object, [( event || window.event)])}, false);
} else if (window.attachEvent) {
window.attachEvent('onresize', function(event) {return __expand.apply(__object, [( event || window.event)])});
expand: function() {
this.reset();
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].style.height = document.getDimensions(this.elements[i].parentNode).height + 'px';
reset: function() {
for (var i = 0; i < this.elements.length; i++) {
this.elements[i].style.height = 'auto';
checkFontSize: function() {
var height = document.getDimensions(this.textElement).height;
if(this.textElementHeight != height) {
this.textElementHeight = height;
this.expand();
if (!!document.evaluate) {
document._getElementsByXPath = function(expression, parentElement) {
var results = [];
var query = document.evaluate(expression, parentElement || document,
null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0, length = query.snapshotLength; i < length; i++)
results.push(query.snapshotItem(i));
return results;
document.getElementsByClassName = function(className, parentElement) {
if (!!document.evaluate) {
var q = ".//*[contains(concat(' ', @class, ' '), ' " + className + " ')]";
return document._getElementsByXPath(q, parentElement);
} else {
var children = (parentElement || document.body).getElementsByTagName('*');
var elements = [], child;
for (var i = 0, length = children.length; i < length; i++) {
child = children[i];
if (child.className.length != 0 &&
(child.className == className ||
child.className.match(new RegExp("(^|\\s)" + className + "(\\s|$)")))) {
elements.push(child);
return elements;
document.getDimensions = function (element) {
var display = element.style.display;
if (display != 'none' && display != null) { // Safari bug
return {width: element.offsetWidth, height: element.offsetHeight};
return {width: originalWidth, height: originalHeight};A sticky footer is position:fixed and therefor always visible in the bottom of browser viewports -- even when users scroll up or down the page.
Sticky Footer Demo:
http://alt-web.com/DEMOS/CSS2-Sticky-Footer.shtml
I believe what you're trying to achieve is 100% height on long & short pages. Try this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>100% height page layout</title>
<style type="text/css">
/**==========================
100% height layout
===========================*/
html,body {
margin:0;
padding:0;
height:100%; /* needed for container min-height */
background:gray;
font-family:arial,sans-serif;
font-size:small;
color:#666;
zoom: 1;
#container {
position:relative; /* needed for footer positioning*/
margin:0 auto; /* center, not in IE5 */
width:1000px;
background:#FF9999;
height:auto !important; /* real browsers */
height:100%; /* IE6: treated as min-height*/
min-height:100%; /* real browsers */
#header {
padding:1em;
background:#ddd;
min-height: 95px;
border-bottom:6px double gray;
#content {
padding:1em 1em 5em; /* bottom padding for footer */
#footer {
position:absolute;
width:100%;
bottom:0; /* stick to bottom */
background:#ddd;
min-height: 95px;
border-top:6px double gray;
#footer p {padding:1em}
</style>
</head>
<body>
<div id="container">
<div id="header">
<p>here is the header</p>
</div>
<div id="content">
<p>Here is the content</p>
</div>
<div id="footer">
<p>Here is the footer</p>
</div>
<!--end container --></div>
</body>
</html>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Problem in Sales Order with specific condition type.
Hello Experts,
I'm facing a problem in sales order creation for a specific condition type.
the actual scenario is as below,
We have created a new condition type for special discount.This condtion type is applicable only for specific sales channels.Also the discount percentage has to fetched from a custom table.
To achieve this I've written a user exit "RV64A999"
In the FM, i've calculated the subtotal and fetched the discount percentage and calculated the discount amount. After implementing this, the SO were been created properly. for all the line items the discount amount was getting calculated properly.
But then I added a condition at the top of code in exit that the calculation for the new condition type should happen only for selected sales channels.
But after adding this condition in code, i'm facing problem. Now when I create/ change any SO, the discount amounts are getting calculated incorrectly. I'm getting discount amount even if the line item subtotal amount is zero (0).
Any help or pointers reagrding this issue will be very helpful and highly appreciated.Hi ..
Check your config. again or debug the routine code with your ABAPer and find the problem area.
-Maharshi -
Update the price related to condtions in Sales Order
Hi all,
I want to update the price related to condtions in Sales Order from input file. I am using bapi 'BAPI_SALESORDER_CHANGE' to for this.
the code for this
wa_conditions-itm_number = wa_itab-itm_number.
wa_conditions-cond_value = wa_itab-kbetr.
wa_conditions-cond_type = 'ZPSV'.
wa_conditions-cond_count = wa_itab-kwmeng.
APPEND wa_conditions TO it_conditions.
wa_conditionsx-itm_number = wa_itab-itm_number.
wa_conditionsx-cond_count = wa_itab-kwmeng.
wa_conditionsx-cond_value = 'X'.
wa_conditionsx-cond_type = 'ZPSV'.
wa_conditionsx-updateflag = 'U'.
APPEND wa_conditionsx TO it_conditionsx.
But this is creating a new line in conditions instead of updating the existing line, I want to update the exsting line with new condition rate instead of creating a new line.
i have tried by lv_logic-pricing = 'B'.
But it works when values are maintained in vk11.
Please help me if you have any soultion for this.hi siya,
plz refer to the following threads
Re: problem using Bapi_Salesorder_Change
http://www.sapfans.com/forums/viewtopic.php?p=160339&sid=bf9e3219db318d89596f7e911462416f
i hope it helps.
arjun -
Problem in Assigning table to access sequence
Dear All,
i am facing problem in assigning table to access sequence for billing output type.
I have created 1 table B902 with the combination of Sales org,plant ,Division,Billing doc type.
but if i am going to assign with access sequence system is taking for Billing type & division & for other its showing red marks & errorr.Access sequence->Aceessess->Field.if i am clicking on field in I/O column for plant its displaying negative.
bcause of this i am not able to make condtion record.
Message is Select a document field for WERKS
Regards
ajit
Edited by: SAP SD AJIT on Mar 1, 2010 3:18 PMHi SAP SD AJIT ,
Go to IMG --> Sales and Distribution --> Basic Functions --> Output control --> Output Determination --> Output Determination using condition technique --> Mantain output Determination for billing document --> Mantain condition table, in the pop-up choose the option "Field catalog: Messages for billing documents", there you can add standard field into the catalog, so you can add WERKS and the other one "document structure" I don't know what field it is, but if it is and standard field you can add it. If you have a Z field you need ABAP help to add the Z field to the structure "KOMKBZ5" and then you can add it to the catalog.
Regards,
Mariano. -
Problem in pricing conditions are not updated in BAPI_SAG_CHANGE
Hallo Friends,
we have faced the one problem with the standard bapi *BAPI_SAG_CHANGE.
we have passed the 10 item level data to the BAPI_SAG_CHANGE , the bapi BAPI_SAG_CHANGE successfully updated the 10 item level data to the schedule agreement .
the problem is pircing condtions are not updated succesfully for the each items in the schedule agreement.
please suggest the good solution.
thanks
kumarHi jons,
Thanks for respoding my request, Please find my below code lines
CALL FUNCTION 'BAPI_SAG_CHANGE'
EXPORTING
purchasingdocument = st_header-number
header = st_header
headerx = st_headerx
VENDOR_ADDRESS =
HEAD_EXPORT_IMPORT =
HEAD_EXPORT_IMPORTX =
TESTRUN =
TECHNICAL_DATA =
IMPORTING
EXP_HEADER =
EXP_HEAD_EXPORT_IMPORT =
TABLES
return = st_return
Begin of modify by kirankumar 07/12/2009
item = st_item
item = st_item[]
End of modify by kirankumar 07/12/2009
itemx = st_itemx[]
account = st_account
accountprofitsegment = st_accountprofitsegment
accountx = st_accountx
schedule = st_schedule
schedulex = st_schedulex
sc_component = st_sc_component
sc_componentx = st_sc_componentx
shipping = st_shipping[]
shippingx = st_shippingx[]
shipping_exp = st_shipping_exp
delivery_address = st_delivery_address
item_cond_validity = st_item_cond_validity[]
item_cond_validityx = st_item_cond_validityx[]
item_condition = st_item_condition[]
item_conditionx = st_item_conditionx[]
item_cond_scale_value = st_item_cond_scale_value
item_cond_scale_quan = st_item_cond_scale_quan
export_import = st_export_import
export_importx = st_export_importx
item_text = st_item_text
header_text = st_header_text
head_cond_validity = st_head_cond_validity
head_cond_validityx = st_head_cond_validityx
head_condition = st_head_condition
head_conditionx = st_head_conditionx
head_cond_scale_val = st_head_cond_scale_val
head_cond_scale_quan = st_head_cond_scale_quan
partner = st_partner[]
partnerx = st_partnerx[]
extensionin = st_extensionin
extensionout = st_extensionout. -
BAPI_PO_CREATE1 Condition pricing problem
Hi Experts,
I created the PO through BAPI_PO_CREAE1 according to the below code. In that PO which i created default condition type "PBXX".But i want condition Type "PB00".so in my BAPI condtion table POCOND i gave "U" [ POCOND-change_id = 'U' (update) ].But the default "PBXX" is again coming.
when i give POCOND-change_id = 'I' (insert) two condition types are coming(PB00 & PBXX).
I referred our forum(sdn) throughly.I won't get solution.
data: del_date type sy-datum.
data: ORDER_HEADERS_OUT like BAPISDHD OCCURS 0 WITH HEADER LINE.
data: ORDER_ITEMS_OUT like BAPISDIT OCCURS 0 WITH HEADER LINE.
data: ORDER_SCHEDULES_OUT like BAPISDHEDU OCCURS 0 WITH HEADER LINE.
data: ORDER_PARTNERS_OUT like BAPISDPART OCCURS 0 WITH HEADER LINE.
data: ORDER_COND_HEAD like BAPICONDHD OCCURS 0 WITH HEADER LINE.
data: ORDER_COND_ITEM like BAPICONDIT OCCURS 0 WITH HEADER LINE.
data: ORDER_TEXTHEADERS_OUT like BAPISDTEHD OCCURS 0 WITH HEADER LINE.
datA: ORDER_TEXTLINES_OUT like BAPITEXTLI OCCURS 0 WITH HEADER LINE.
data: I_BAPI_VIEW like ORDER_VIEW OCCURS 0 WITH HEADER LINE.
data: pohead type bapimepoheader.
data: poheadx type bapimepoheaderx.
data: exp_head type bapimepoheader.
data: return type table of bapiret2 with header line.
data: poitem type table of bapimepoitem with header line.
data: poitemx type table of bapimepoitemx with header line.
data: posched type table of bapimeposchedule with header line.
data: poschedx type table of bapimeposchedulx with header line.
data : POTEXTHEADER type table of BAPIMEPOTEXTHEADER with header line .
data: POTEXTITEM type table of BAPIMEPOTEXT with header line.
*data: POTEXTITEMx type table of BAPIMEPOTEXTx with header line.
DATA: POCOND TYPE table of BAPIMEPOCOND with header line.
DATA: POCONDX TYPE TABLE OF BAPIMEPOCONDX WITH HEADER LINE.
data: ex_po_number type bapimepoheader-po_number.
data: itno type i.
i_bapi_view-HEADER = 'X'.
i_bapi_view-ITEM = 'X'.
i_bapi_view-SDSCHEDULE = 'X'.
i_bapi_view-PARTNER = 'X'.
i_bapi_view-SDCOND = 'X'.
i_bapi_view-SDCOND_ADD = 'X'.
i_bapi_view-TEXT = 'X'.
*i_bapi_view- = 'X'.
APPEND I_BAPI_VIEW.
DATA: SONO LIKE SALES_KEY OCCURS 0 WITH HEADER LINE..
SONO-VBELN = '0001014145'.
APPEND SONO.
CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
EXPORTING
i_bapi_view = I_BAPI_VIEW
I_MEMORY_READ =
tables
sales_documents = SONO
ORDER_HEADERS_OUT = ORDER_HEADERS_OUT
ORDER_ITEMS_OUT = ORDER_ITEMS_OUT
ORDER_SCHEDULES_OUT = ORDER_SCHEDULES_OUT
ORDER_BUSINESS_OUT =
ORDER_PARTNERS_OUT = ORDER_PARTNERS_OUT
ORDER_ADDRESS_OUT =
ORDER_STATUSHEADERS_OUT =
ORDER_STATUSITEMS_OUT =
ORDER_CONDITIONS_OUT =
ORDER_COND_HEAD = ORDER_COND_HEAD
ORDER_COND_ITEM = ORDER_COND_ITEM
ORDER_COND_QTY_SCALE =
ORDER_COND_VAL_SCALE =
ORDER_CONTRACTS_OUT =
ORDER_TEXTHEADERS_OUT = ORDER_TEXTHEADERS_OUT
ORDER_TEXTLINES_OUT = ORDER_TEXTLINES_OUT
BREAK-POINT.
pohead-comp_code = 'SG20'.
pohead-doc_type = 'NB' .
pohead-creat_date = sy-datum .
pohead-vendor = '0000100040'.
pohead-purch_org = 'SG20'.
pohead-pur_group = '001'.
pohead-langu = sy-langu .
pohead-doc_date = sy-datum.
poheadx-comp_code = c_x.
poheadx-doc_type = c_x.
poheadx-creat_date = c_x.
poheadx-vendor = c_x.
poheadx-langu = c_x.
poheadx-purch_org = c_x.
poheadx-pur_group = c_x.
poheadx-doc_date = c_x.
*POTEXTITEM-PO_ITEM = itno.
*POTEXTITEM-TEXT_ID =
*POTEXTITEM-TEXT_FORM
POTEXTHEADER-TEXT_LINE = SONO.
append POTEXTHEADER.
Item Level Data
itno = 10.
loop at ORDER_ITEMS_OUT.
poitem-po_item = itno.
poitem-material = ORDER_ITEMS_OUT-material.
poitem-plant = 'SG20'.
poitem-stge_loc = 'SA01'.
poitem-quantity = ORDER_ITEMS_OUT-REQ_QTY .
POITEM-NET_PRICE = ORDER_ITEMS_OUT-NET_PRICE.
append poitem.
poitemx-po_item = itno.
poitemx-po_itemx = c_x.
poitemx-material = c_x.
poitemx-plant = c_x .
poitemx-stge_loc = c_x .
poitemx-quantity = c_x .
poitemx-tax_code = c_x .
poitemx-item_cat = c_x .
poitemx-acctasscat = c_x .
POITEMX-NET_PRICE = C_X.
append poitemx.
POTEXTITEM-PO_NUMBER =
POTEXTITEM-PO_ITEM = itno.
POTEXTITEM-TEXT_ID = 'F01'.
*POTEXTITEM-TEXT_FORM
POTEXTITEM-TEXT_LINE = SONO.
append POTEXTITEM.
POCOND-itm_number = ITNO.
POCOND-cond_st_no = '001'.
POCOND-COND_COUNT = '01'.
POCOND-cond_type = 'PB00'.
POCOND-cond_value = ORDER_ITEMS_OUT-REQ_QTY.
POCOND-currency = ORDER_ITEMS_OUT-CURRENCY.
POCOND-CONDISACTI = ' '.
POCOND-COND_UPDAT = 'X'.
POCOND-change_id = 'U'.
APPEND pocond.
POCONDX-itm_number = ITNO.
POCONDX-cond_st_no = '001'.
POCONDX-cond_st_nox = 'X'.
POCONDX-itm_numberx = 'X'.
POCONDX-COND_COUNT = 'X'.
POCONDX-cond_type = 'X'.
POCONDX-cond_value = 'X'.
POCONDX-currency = 'X'.
POCONDX-CONDISACTI = 'X'.
POCONDX-change_id = 'X'.
POCONDX-COND_UPDAT = 'X'.
APPEND POCONDX.
itno = itno + 10.
endloop.
call function 'BAPI_PO_CREATE1'
EXPORTING
poheader = pohead
poheaderx = poheadx
testrun = ' '
IMPORTING
exppurchaseorder = ex_po_number
expheader = exp_head
TABLES
return = return
poitem = poitem
poitemx = poitemx
poschedule = posched
poschedulex = poschedx
POTEXTHEADER = POTEXTHEADER
POTEXTITEM = POTEXTITEM
POCOND = POCOND
POCONDX = POCONDX .
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
if not ex_po_number is initial.
call function 'DEQUEUE_ALL'.
else.
call function 'DEQUEUE_ALL'.
message i036.
endif.
WRITE: / EX_PO_NUMBER.Hi Vioth,
Did you got solution for thsi i am also facing the same problem.If you konw the solution kindly suggest the solution for this
Thanks in Adavce,
Regards...............Kishore -
This pop up: iTunes has encountered a problem and needs to close.
my itunes worked before but i downloaded it in the wrong user and that user got deleted, now when i install it and it installs and i go to run it and it says iTunes has encountered a problem and needs to close. so i uninstall i TUNES and iPOD and install it again but it still has the same error. HELP ME. so i goto more infomation and this comes up
AppName: itunes.exe AppVer: 6.0.5.20 ModName unknown
ModVer:0.0.0.0 Offset 10001040
Reporting details
This error report includes: information reguarign the condtion the condition of iTunes when the problem occurred; the operating system version and computer hardware in-use...ect ect
windows xp Windows XP ProHe's right. Make sure you follow ALL the instructions for uninstalling.
I think the problem is actually related to a Quicktime error, and not iTunes, but it relies on Quicktime.
One of these two things fixed this same problem for me:
-Deleting the Quicktime files in the System32 folder (mentioned in the uninstalling instructions).
-Installing Quicktime by itself FIRST, then installing iTunes
I think the Quicktime files in the System32 folder were the culprit, though. -
Problem while displaying Purchase order using me9f
Hi All,
I have copied ME9F as ZME9F, and SAPFM06P as ZSAPFM06P (print program of purchase order). Now when I display the PO using ME23n, there is no problem and PO is getting displayed absolutely fine. But When I display the same PO using ZME9F, the vendor address in the PO is getting printed at the item level instead of header level.
The vendor address should be displayed at the top and not at the item level.
When I analysed the code, I found in case of ZME9F AND ME23N, the values of NAST structure and ENT_SCREEN are different. These values are passed as input values to the Function Module ME_READ_PO_FOR_PRINTING.
Please let me know how do I fix this issue, such that vendor address is displayed at the header level instaed of item level.
Thanks !!!Hi,
First you creat a PO using BAPI_PO_CREATE , once PO is created then you use the FM BAPI_PO_CHANGE and update the condtions in PO. See the code below given.
Fm lt_cond-condition_no = lvc_knumv.
lt_cond-itm_number = gt_output-ebelp.
lt_cond-cond_type = 'FRB1'.
lt_cond-cond_st_no = '020'.
lt_condx-condition_no = lvc_knumv.
lt_condx-itm_number = gt_output-ebelp.
lt_condx-itm_numberx = 'X'.
lt_condx-cond_st_no = lt_cond-cond_st_no.
lt_condx-cond_st_nox = 'X'.
lt_condx-cond_type = 'X'.
lt_cond-cond_value = gt_output-frcst.
lt_condx-cond_value = 'X'.
lt_cond-currency = p_cndcur.
lt_condx-currency = 'X'.
lt_cond-vendor_no = gt_output-frvndr.
lt_condx-vendor_no = 'X'.
lt_cond-change_id = 'I'.
lt_condx-change_id = 'X'.
APPEND lt_cond.
APPEND lt_condx.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = gt_output-ebeln
TABLES
return = lt_return
* poitem = lt_poitem
* poitemx = lt_poitemx
pocond = lt_cond
pocondx = lt_condx.
Thanks. -
TABLE FIELD DETERMINATION PROBLEM
Hi Experts,
I have a problem described below by an example .
Suppose I enter in the Tcode 'MIRO' and give the value of the field 'Inv. recpt date' and 'Reference' and then press
'ENTER' . Now I just want to know that in which table the value of the field 'Reference' is gone and saved . I tried in a
method in which I click on the field and press 'F1' . But it is showing only the structure name 'INVFO' not th table name.
So please tell me the exact step through which I can identify the table name properly .
DEB
Edited by: DEB. ABAP on Dec 1, 2011 11:32 AM
Moderator message: FAQ, please search for previous discussions of this topic.
Edited by: Thomas Zloch on Dec 1, 2011 12:12 PMHi,
U cant find out the field using pressing F1 in this type of fields....
most of the MIRO details are in RBKP and RSEG.
Some times U can find multiple values for particular record
Suppose U got 3 entries in the field of the REFERENCE from the table. To find out which is the reference u have to make help of other field. This field is almost called CONDITION TYPE.
These things are depends on clients.... So we cant give a proper answer....
Eg: REFERENCE CONDTION
123 A
124 B
125 C
here 3 values are there in ref for one doc so we have to refer condition also.....
Values : 123,124,125
condition : A, B, C
Edited by: Riyas.a.rasak on Dec 1, 2011 12:02 PM
Edited by: Riyas.a.rasak on Dec 1, 2011 12:05 PM -
I am creating a view on 4 tables ANLZ,ANLA,ANLC,ANLB.
From ANAL i am taking AKTIV MEINS MENGE TXT50
and in ANLC GJAHR AFABE ZUJHR ZUCOD KANSW KNAFA ANSWL
NAFAV (KANSW and KNAFA ANSWL NAFAV are the two currency fields.
BUKRS ANLN1 ANLN2 BDATU KOSTL WERKS GSBER STORT and
KOSTLV from ANLZ AND AFASL NDJAR NAPRZ from ANLB tables.
when we create a datasource it is asking us to add a reference feild for currecy fields so i add
T093-WAERS(for crrency key).
my problem is when i create a view with these 4 tables ANLZ,ANLA,ANLC,ANLB i am fetching data correctly
for ex while selecting data i gave the following selection conditions company,asset number(1000001) ,businees area,year and Real depreciation area(AFABE) i am getting 1 record.
but if i create view with 4 tables ANLZ,ANLA,ANLC,ANLB along with check tables T093B as it is nesscary for creating a datasource i am getting more records 1.e for the same selection condtions ie(assest number = 1000001 is repeating times not only that other fields are same)where data for all the fields is same but only currency field .
How to over come this problem.any suggestionsHi Shailaja,
Go for Infoset(Tcode : sq02) insted of View. You have more options.
For view you have to specify reference to currency and quantity fields(Currency/Quantity tab in view).
Hope it Helps
Srini -
Hello All,
I have a specification to develop an infoset query in HR.The problem i am facing is i need particular PERNR's listed in output of query which satisfy few condtions like p000-massn = 31 and p0000-massg = Ub or Uc. this is an example of one condition. I tried to wirte my code in record processing and end of selection( before listing) . but there is no data coming at all.
Please suggest how to go about this .
Thanks in advance
Nidhi.Hi Nidhi,
Please write your code in Record Processing event of code section of Infoset . And instead of IF , use CHECK condition statement.
CHECK P0000-MASSN = '31' AND ( P0000-MASSG = 'UB' or P0000-MASSG = 'UC' )
OR P0000-MASSN = '91' AND P0000-MASSG = 'UE'
OR P0000-MASSN = '10' AND P0000-MASSG = 'U2'.
CHECK SY-SUBRC EQ 0.
Edited by: Dinesh Tiwari on Oct 1, 2009 1:42 PM
Maybe you are looking for
-
How do I fix a problem with .eps files not showing up properly in icon view
Actually my .eps files are not showing properly in any of the views but icon view is most important to me. I am using OSX.8.5 on a mac mini and mac book air. Almost all of my .eps files are conversions of .wmf files converted to .eps by WMF Convert
-
Need help on quality of resized image!!
I am required to resize images to max 1240pixel (longest dimension) as a submission of work, though when work is viewed it will be at 30"x40". Can not figure out a way to do this where images don't become quite pixelated when viewed at larger size.
-
Dear Friends, We are not able to cleared some of those documents in GRNI A/C. Pls help me. But we think that the 2 original exposed situations were not considered in the response that you sent us In few words -The main issue is that the system is n
-
How to stop the black screen when opening firefox
When I open a Firefox page it is just a black screen, no URL bar no Back, Forward or Home button nothing appears. After a couple minutes I can mouse over some stuff (mostly the blank spaces where you can enter text) and it will appear, but still can'
-
I am new to Flex, and I have (so far) only developed two other applications using Flex. I am having a really difficult time with this issue. I've tried everything (except for creating a class) that I can think of to resolve this issue, and I'm runnin