NewGL: Calculation of amount of totals records
Hallo zusammen,
ich würde in mySAP ERP2005 gerne das Neue Hauptbuch nutzen und möchte vorher gerne die Anzahl der zu erwartenden Summensätze berechnen, um zu wissen was da auf uns zukommt. Im Moment wird nämlich noch ein "externes" GL-System genutzt.
Dazu habe ich den OSS-Hinweis 1045430 gefunden und implementiert. Dieser stellt den Report RGUIST01 zur Verfügung, der es ermöglichen soll die Anzahl der Summensätze unter anderem anhand von Fremddaten zu bestimmen.
Dieser generiert zur Laufzeit den Report SAPFGSIS, basierend auf den Eingaben in RGUIST01. In RGUIST01 kann ich die Tabelle wählen, auf welcher die Liste der Felder basiert - welche wiederum mit der zu lesenden Tabelle korrespondieren sollte. Entsprechende Tabellen (die mit der zu lesenden Tabelle korrespondieren) habe ich in SAP angelegt.
"Füttere" ich aber den Report jetzt mit den Fremddaten beträgt die ermittelte Anzahl an Summensätzen immer gleich der Anzahl an Zeilen der Tabelle mit den Fremddaten, was aber nicht stimmt/stimmen kann.
Hat schon jemand Erfahrung mit dem Report RGUIST01 gemacht? Oder weiß jemand wie man den Report "richtig" benutzt?
Danke und Gruß
Jochen
Dear all,
I would like to use the newGL in mySAP ERP2005. Before I would like to calculate the amount of totals records. Therefore I implemented OSS note 1045430, which provides the RGUIST01 report that may calculate the amount of totals records based on the input of external systems also.
Background: At the moment an external GL system is in use and is planned to displace by SAP.
I have created an Z_structure within SAP that corresponds the external file and tried to run the report. But the results I got are always amount of totals records = amount of lines of excel file from external system.
Does anyone already have experience running this report for calculating the amount of totals records?
Thanks and regards
Jochen
Similar Messages
-
Need code for calculation of amount field(DMBTR)of BSEG table conditionally
Hi all,
I am selecting data for fields belnr(A/c doc.), dmbtr(Amount), hkont(G/L acc) from bseg cluster table giving the particular value for hkont in the selection screen.now there are some records fetched out of which there are few records in which same A/c no.(belnr) .So my requirement is to collect those same belnr records and do following calculation:
1. suppose for some record of same belnr , if all the value for field SHKZG is 'H' then summing up the values of field DMBTR.
2. suppose for some record of same belnr , if few value for the field SHKZG is 'H' and few are 'S' then the (summation the values of field DMBTR for all 'H' in field SHKZG -summation the values of field DMBTR for all 'S') and both the case the single record will fetched with belnr, sum(DMBTR) according to the condition, and hkont. Please provide me the reqd. code for the above problem.Thanks in advance.
regards
Anand.Hi Anand,
We can do like this.
This will take into account 'S', 'H' (debit/credit indicator) and BELNR wise sum.
1. Create new internal table, STAB with only two fields. (with header line)
BELNR "<------- refer below statement
HKONT "<------ Whatever unique combination of field(s) you want, you can put here 1,2,
DMBTR "<----
Numeric field
If you want only HKONT wise SUM, then remove BELNR
2. Now write this code.
Loop at Itab.
Clear STAB.
IF ITAB-SHKZG = 'H'.
STAB-DMBTR = ITAB-DMBTR.
else.
STAB-DMBTR = - ITAB-DMBTR. "<----- Negative Sign
endif.
STAB-BELNR = ITAB-BELNR.
STAB-HKONT = ITAB-HKONT.
COLLECT STAB. "<------ Important.
Endloop
Note:
Based upon the alphanumeric fields combination (BELNR and HKONT), the sum will be done.
Similar to group by in a select query
regards,
amit m.
Edited by: Amit Mittal on Jan 22, 2010 2:14 PM -
Total records in database equals -1?
I have some code, accessing an Access database. As part of development I need to see how many total records there are, so I have the code I took off of bindings in CS 5:
<p align="center">/<%=(Recordset1_first)%>/<%=(Recordset1_last)%>/<%=(Recordset1_total)%></p >
Why would _total always equal -1? The code is otherwise functional but the -1 does not change regardless if I add a record or delete a record?
Curiouser and curiouser…
RossI try changing the cursor type and it had no effect whatsoever I also tried looking for a simple "attach" for this posting and could not find one. I therefore attached the full ASP so you could see what kind of stuff I'm talking about. Could you forward this as appropriate?
Thanks.
Ross
=============================code=========================
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include virtual="/Connections/nextdns.asp" -->
<%
dim MM_nextdns_STRING
MM_nextdns_STRING ="PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & Server.MapPath("Database\ids2.mdb")
Dim MM_editAction
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
If (Request.QueryString <> "") Then
MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString)
End I
' boolean to abort record edit
Dim MM_abortEdit
MM_abortEdit = false
%>
<%
' *** Redirect if username exists
MM_flag = "MM_insert"
If (CStr(Request(MM_flag)) <> "") Then
Dim MM_rsKey
Dim MM_rsKey_cmd
MM_dupKeyRedirect = "/already.asp"
MM_dupKeyUsernameValue = CStr(Request.Form("11"))
Set MM_rsKey_cmd = Server.CreateObject ("ADODB.Command")
MM_rsKey_cmd.ActiveConnection = MM_nextdns_STRING
MM_rsKey_cmd.CommandText = "SELECT id2 FROM login2 WHERE id2 = ?"
MM_rsKey_cmd.Prepared = true
MM_rsKey_cmd.Parameters.Append MM_rsKey_cmd.CreateParameter("param1", 200, 1, 255, MM_dupKeyUsernameValue) ' adVarChar
Set MM_rsKey = MM_rsKey_cmd.Execute
If Not MM_rsKey.EOF Or Not MM_rsKey.BOF Then
' the username was found - can not add the requested username
MM_qsChar = "?"
If (InStr(1, MM_dupKeyRedirect, "?") >= 1) Then MM_qsChar = "&"
MM_dupKeyRedirect = MM_dupKeyRedirect & MM_qsChar & "requsername=" & MM_dupKeyUsernameValue
Response.Redirect(MM_dupKeyRedirect)
End If
MM_rsKey.Close
End If
%>
<%
' IIf implementation
Function MM_IIf(condition, ifTrue, ifFalse)
If condition = "" Then
MM_IIf = ifFalse
Else
MM_IIf = ifTrue
End If
End Function
%>
<%
If (CStr(Request("MM_insert")) = "form3") Then
If (Not MM_abortEdit) Then
' execute the insert
Dim MM_editCmd
Set MM_editCmd = Server.CreateObject ("ADODB.Command")
MM_editCmd.ActiveConnection = MM_nextdns_STRING
MM_editCmd.CommandText = "INSERT INTO login2 (id2, password2, AccessLev) VALUES (?, ?, ?)"
MM_editCmd.Prepared = true
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 1, 255, Request.Form("11")) ' adVarWChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202, 1, 255, Request.Form("22")) ' adVarWChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param3", 5, 1, -1, MM_IIF(Request.Form("accesslev"), Request.Form("accesslev"), null)) ' adDouble
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
End If
End If
%>
<%
' *** Delete Record: construct a sql delete statement and execute it
If (CStr(Request("MM_delete")) = "form2" And CStr(Request("MM_recordId")) <> "") Then
If (Not MM_abortEdit) Then
' execute the delete
mm_nextdns_string = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & Server.MapPath("Database\ids2.mdb")
Set MM_editCmd = Server.CreateObject ("ADODB.Command")
MM_editCmd.ActiveConnection = MM_nextdns_STRING
MM_editCmd.CommandText = "DELETE FROM login2 WHERE id2 = ?"
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 200, 1, 255, Request.Form("MM_recordId")) ' adVarChar
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
End If
End If
%>
<%
If (CStr(Request("MM_insert")) = "form3") Then
If (Not MM_abortEdit) Then
' execute the insert
Set MM_editCmd = Server.CreateObject ("ADODB.Command")
MM_nextdns_string = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & Server.MapPath("Database\ids2.mdb")
MM_editCmd.ActiveConnection = MM_nextdns_STRING
MM_editCmd.CommandText = "INSERT INTO login2 (id2, password2) VALUES (?, ?)"
MM_editCmd.Prepared = true
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 1, 255, Request.Form("121212")) ' adVarWChar
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202, 1, 255, Request.Form("343434")) ' adVarWChar
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
' append the query string to the redirect URL
Dim MM_editRedirectUrl0
MM_editRedirectUrl = "inserted.asp"
If (Request.QueryString <> "") Then
If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0) Then
MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
Else
MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString
End If
End If
Response.Redirect(MM_editRedirectUrl)
End If
End If
%>
<%
' *** Recordset Stats, Move To Record, and Go To Record: declare stats variables
Dim delit_total
Dim delit_first
Dim delit_last
' set the record count
' set the number of rows displayed on this page
If (delit_numRows < 0) Then
delit_numRows = delit_total
Elseif (delit_numRows = 0) Then
delit_numRows = 1
End If
' set the first and last displayed record
delit_first = 1
delit_last = delit_first + delit_numRows - 1
' if we have the correct record count, check the other stats
If (delit_total <> -1) Then
If (delit_first > delit_total) Then
delit_first = delit_total
End If
If (delit_last > delit_total) Then
delit_last = delit_total
End If
If (delit_numRows > delit_total) Then
delit_numRows = delit_total
End If
End If
%>
<%
' *** Recordset Stats: if we don't know the record count, manually count them
response.write("precount")
If (Recordset1_total = -1) Then
' count the total records by iterating through the recordset
Recordset1_total=0
response.write("incount")
While (Not Recordset1.EOF)
Recordset1_total = Recordset1_total + 1
Recordset1.MoveNext
Wend
' reset the cursor to the beginning
If (Recordset1.CursorType > 0) Then
Recordset1.MoveFirst
Else
Recordset1.Requery
End If
' set the number of rows displayed on this page
If (Recordset1_numRows < 0 Or Recordset1_numRows > Recordset1_total) Then
Recordset1_numRows = Recordset1_total
End If
' set the first and last displayed record
Recordset1_first = 1
Recordset1_last = Recordset1_first + Recordset1_numRows - 1
If (Recordset1_first > Recordset1_total) Then
Recordset1_first = Recordset1_total
End If
If (Recordset1_last > Recordset1_total) Then
Recordset1_last = Recordset1_total
End If
End If
%>
<%
' *** Validate request to log in to this site.
MM_LoginAction = Request.ServerVariables("URL")
If Request.QueryString <> "" Then MM_LoginAction = MM_LoginAction + "?" + Server.HTMLEncode(Request.QueryString)
MM_valUsername = CStr(Request.Form("idid2"))
If MM_valUsername <> "" Then
Dim MM_fldUserAuthorization
Dim MM_redirectLoginSuccess
Dim MM_redirectLoginFailed
Dim MM_loginSQL
Dim MM_rsUser
Dim MM_rsUser_cmd
MM_fldUserAuthorization = ""
MM_redirectLoginSuccess = "file:///C|/Users/Admin/AppData/Local/Temp/{C0C804DA-3712-4265-839B-02EB4947FC25}/g.asp"
MM_redirectLoginFailed = "file:///C|/Users/Admin/AppData/Local/Temp/{C0C804DA-3712-4265-839B-02EB4947FC25}/b.asp"
MM_loginSQL = "SELECT id2, password2"
If MM_fldUserAuthorization <> "" Then MM_loginSQL = MM_loginSQL & "," & MM_fldUserAuthorization
MM_loginSQL = MM_loginSQL & " FROM login2 WHERE id2 = ? AND password2 = ?"
Set MM_rsUser_cmd = Server.CreateObject ("ADODB.Command")
MM_rsUser_cmd.ActiveConnection = MM_nextdns_STRING
MM_rsUser_cmd.CommandText = MM_loginSQL
MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param1", 200, 1, 255, MM_valUsername) ' adVarChar
MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param2", 200, 1, 255, Request.Form("pwd2")) ' adVarChar
MM_rsUser_cmd.Prepared = true
Set MM_rsUser = MM_rsUser_cmd.Execute
If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
' username and password match - this is a valid user
Session("MM_Username") = MM_valUsername
If (MM_fldUserAuthorization <> "") Then
Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
Else
Session("MM_UserAuthorization") = ""
End If
if CStr(Request.QueryString("accessdenied")) <> "" And false Then
MM_redirectLoginSuccess = Request.QueryString("accessdenied")
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginSuccess)
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginFailed)
End If
%>
<%
' *** Validate request to log in to this site.
MM_LoginAction = Request.ServerVariables("URL")
If Request.QueryString <> "" Then MM_LoginAction = MM_LoginAction + "?" + Server.HTMLEncode(Request.QueryString)
MM_valUsername = CStr(Request.Form("asd1"))
If MM_valUsername <> "" Then
MM_fldUserAuthorization = ""
MM_redirectLoginSuccess = "file:///C|/Users/Admin/AppData/Local/Temp/{C0C804DA-3712-4265-839B-02EB4947FC25}/g.asp"
MM_redirectLoginFailed = "file:///C|/Users/Admin/AppData/Local/Temp/{C0C804DA-3712-4265-839B-02EB4947FC25}/b.asp"
MM_loginSQL = "SELECT id2, password2"
If MM_fldUserAuthorization <> "" Then MM_loginSQL = MM_loginSQL & "," & MM_fldUserAuthorization
MM_loginSQL = MM_loginSQL & " FROM login2 WHERE id2 = ? AND password2 = ?"
Set MM_rsUser_cmd = Server.CreateObject ("ADODB.Command")
MM_rsUser_cmd.ActiveConnection = MM_nextdns_STRING
MM_rsUser_cmd.CommandText = MM_loginSQL
MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param1", 200, 1, 255, MM_valUsername) ' adVarChar
MM_rsUser_cmd.Parameters.Append MM_rsUser_cmd.CreateParameter("param2", 200, 1, 255, Request.Form("asd2")) ' adVarChar
MM_rsUser_cmd.Prepared = true
Set MM_rsUser = MM_rsUser_cmd.Execute
If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
' username and password match - this is a valid user
Session("MM_Username") = MM_valUsername
If (MM_fldUserAuthorization <> "") Then
Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
Else
Session("MM_UserAuthorization") = ""
End If
if CStr(Request.QueryString("accessdenied")) <> "" And false Then
MM_redirectLoginSuccess = Request.QueryString("accessdenied")
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginSuccess)
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginFailed)
End If
%>
<%
Dim Recordset1
Dim Recordset1_cmd
Dim Recordset1_numRows
Set Recordset1_cmd = Server.CreateObject ("ADODB.Command")
Recordset1_cmd.ActiveConnection = MM_nextdns_STRING
Recordset1_cmd.CommandText = "SELECT * FROM login2"
Recordset1_cmd.Prepared = true
Set Recordset1 = Recordset1_cmd.Execute
Recordset1_numRows = 0
%>
<!--#include virtual="/includes/adovbs.inc" -->
<%
Repeat1__numRows = 20
Repeat1__index = 0
Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
%>
<%
' *** Recordset Stats, Move To Record, and Go To Record: declare stats variables
Dim Recordset1_total
Dim Recordset1_first
Dim Recordset1_last
' set the record count
Recordset1_total = Recordset1.RecordCount
' set the number of rows displayed on this page
If (Recordset1_numRows < 0) Then
Recordset1_numRows = Recordset1_total
Elseif (Recordset1_numRows = 0) Then
Recordset1_numRows = 1
End If
' set the first and last displayed record
Recordset1_first = 1
Recordset1_last = Recordset1_first + Recordset1_numRows - 1
' if we have the correct record count, check the other stats
If (Recordset1_total <> -1) Then
If (Recordset1_first > Recordset1_total) Then
Recordset1_first = Recordset1_total
End If
If (Recordset1_last > Recordset1_total) Then
Recordset1_last = Recordset1_total
End If
If (Recordset1_numRows > Recordset1_total) Then
Recordset1_numRows = Recordset1_total
End If
End If
%>
<%
' *** Validate request to log in to this site.
MM_LoginAction = Request.ServerVariables("URL")
If Request.QueryString<>"" Then MM_LoginAction = MM_LoginAction + "?" + Request.QueryString
MM_valUsername=CStr(Request.Form("idid2"))
If MM_valUsername <> "" Then
MM_fldDynamicRedirect=""
MM_fldUserAuthorization="AccessLev"
MM_redirectLoginSuccessDynamic="file:///C|/Users/Admin/AppData/Local/Temp/{C0C804DA-3712- 4265-839B-02EB4947FC25}/g.asp"
MM_redirectLoginFailed="file:///C|/Users/Admin/AppData/Local/Temp/{C0C804DA-3712-4265-839 B-02EB4947FC25}/b.asp"
MM_flag="ADODB.Recordset"
set MM_rsUser = Server.CreateObject(MM_flag)
MM_rsUser.ActiveConnection = MM_nextdns_STRING
MM_rsUser.Source = "SELECT id2, password2"
If MM_fldDynamicRedirect <> "" Then MM_rsUser.Source = MM_rsUser.Source & "," & MM_fldDynamicRedirect
If MM_fldUserAuthorization <> "" Then MM_rsUser.Source = MM_rsUser.Source & "," & MM_fldUserAuthorization
MM_rsUser.Source = MM_rsUser.Source & " FROM login2 WHERE id2='" & Replace(MM_valUsername,"'","''") &"' AND password2='" & Replace(Request.Form("pwd2"),"'","''") & "'"
MM_rsUser.CursorType = 0
MM_rsUser.CursorLocation = 2
MM_rsUser.LockType = 3
MM_rsUser.Open
If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
' username and password match - this is a valid user
Session("MM_Username") = MM_valUsername
If (MM_fldUserAuthorization <> "") Then
Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
ElseIf (MM_fldDynamicRedirect <> "") Then
MM_redirectLoginSuccessDynamic = CStr(MM_rsUser.Fields.Item(MM_fldDynamicRedirect).Value)
Else
Session("MM_UserAuthorization") = ""
End If
if CStr(Request.QueryString("accessdenied")) <> "" And false Then
MM_redirectLoginSuccessDynamic = Request.QueryString("accessdenied")
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginSuccessDynamic)
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginFailed)
End If
%>
<!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=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
body {
background-image: url(/graphics/spackle.gif);
.ctable {
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
</style>
<script src="/SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="/SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="160" border="1">
<tr>
<td width="106"><p><img src="/graphics/coed1.jpg" width="42" height="53" alt="coed1" /></p>
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="add" value="1" />
<input type="hidden" name="bn" value="webassist.dreamweaver.4_5_0" />
<input type="hidden" name="business" value="[email protected]" />
<input type="hidden" name="item_name" value="aaaa" />
<input type="hidden" name="item_number" value="aaaa" />
<input type="hidden" name="amount" value=".12" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="cancel_return" value="http://heritage.site88.net/badorder.asp" />
<input type="hidden" name="receiver_email" value="[email protected]" />
<input type="hidden" name="mrb" value="R-3WH47588B4505740X" />
<input type="hidden" name="pal" value="ANNSXSLJLYR2A" />
<input type="hidden" name="no_shipping" value="0" />
<input type="hidden" name="no_note" value="0" />
<input type="image" name="submit" src="http://images.paypal.com/images/sc-but-03.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!" />
</form></td>
<td width="16"> </td>
<td width="16"> </td>
</tr>
<tr>
<td> </td>
<td><img src="/graphics/coed1.jpg" width="14" height="18" alt="coed1" /></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><img src="/graphics/coed1.jpg" width="20" height="31" alt="coed1" /></td>
</tr>
</table>
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div align="center">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="display" value="1" />
<input type="hidden" name="bn" value="webassist.dreamweaver.4_5_0" />
<input type="hidden" name="business" value="[email protected]" />
<input type="hidden" name="receiver_email" value="[email protected]" />
<input type="hidden" name="mrb" value="R-3WH47588B4505740X" />
<input type="hidden" name="pal" value="ANNSXSLJLYR2A" />
<input type="image" name="submit" src="http://images.paypal.com/images/view_cart_02.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!" />
</div>
</form>
<p> </p>
<table width="492" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="63"><label for="recnum6">Recnum</label></td>
<td width="101"> ID</td>
<td width="154">Password </td>
<td width="164">AccessLev</td>
</tr>
</table>
<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<td><input name="recnum" type="text" id="recnum" value="<%=(Recordset1.Fields.Item("recnum").Value)%>" size="10" /></td>
<td><input name="idid" type="text" id="idid" value="<%=(Recordset1.Fields.Item("id2").Value)%>" size="10" /></td>
<td><input name="pwd" type="text" id="pwd" value="<%=(Recordset1.Fields.Item("password2").Value)%>" /></td>
<td><input name="accesslev" type="text" id="accesslev" value="<%=(Recordset1.Fields.Item("AccessLev").Value)%>" /></td>
<label for="accesslev"></label>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
response.write("<br>")
Wend
%>
<p align="center">/<%=(Recordset1_first)%>/<%=(Recordset1_last)%>/<%=(Recordset1_total)%>/</ p>
<p align="center"> </p>
<form id="form4" name="form4" method="post" action="file:///C|/Users/Admin/AppData/Local/Temp/{C0C804DA-3712-4265-839B-02EB4947FC25}/ inscust.asp">
<div align="center">
<input type="submit" name="register" id="register" value="Register as New User" />
</div>
</form>
<p align="center">-or- </p>
<form id="form1" name="form1" method="POST" action="<%=MM_LoginAction%>">
<label for="idid2"> ID:</label>
<input type="text" name="idid2" id="idid2" />
<label for="pwd2">Pwd:</label>
<input type="password" name="pwd2" id="pwd2" />
<input type="submit" name="login" id="login" value="Login" />
<a href="file:///C|/Users/Admin/AppData/Local/Temp/{C0C804DA-3712-4265-839B-02EB4947FC25}/re gister.asp">
</a>
</form>
<form action="<%=MM_editAction%>" method="POST" id="form3" name="form3">
<label for="11">IdId:</label>
<input type="text" name="11" id="11" />
<label for="22">Password2:</label>
<input type="password" name="22" id="22" />
<label for="accesslev">AL:</label>
<input name="accesslev" type="text" id="accesslev" value="2" size="1" maxlength="1" />
<input type="submit" name="insins" id="insins" value="Insert" />
<input type="hidden" name="MM_insert" value="form3" />
</p>
</form>
<p></p>
<p></p>
<form ACTION="file:///C|/Users/Admin/AppData/Local/Temp/{C0C804DA-3712-4265-839B-02EB4947FC25}/ dodel.asp" METHOD="POST" id="form2" name="form2">
<label for="delrec">Recnum:</label>
<input type="text" name="delrec" id="delrec" />
<input type="submit" name="deleir" id="deleir" value="Delete" />
</form>
<p></p>
<p>
<script type="text/javascript">
function zappaypalcookies()
alert("called");
alert(document.cookie.length);
alert(document.cookie);
document.cookie="fred=sam";
alert(document.cookie);
</script></p>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%> -
Additional offset tax line after manual change of calculated tax amount
Dear all,
I have the following problem:
if I manually change the calculated tax amount of a domestic AP invoice in r12 the system generates a second tax line as an offset tax so that the total tax is zero. The system does this even so the respective flag is not set for this supplier. I can only stop this by erasing the link between standard tax and offset tax which is not a permanent option.
Kind regards
CarstenYou can uncheck the Auto Tax Calculation check box in E Business tax module which will ensure that automatic tax calculation will not be done.
Once the above checkbox is unchecked, you keyed an invoice by entering all the required details click on the Calculate tax button which will perform the tax calculation for your invoice.
Hope this helps.
Thanks and Regards
Manish Jain. -
Chart: amount (count) of records per month (and year). How?
I need to create a chart eventually. Can't get what formula to use. The data is:
1 | 15 Jan
2 | 20 Jan
25 | 14 Mar
26 | 16 Mar
28 | 20 Mar
The chart should show amount(count) of records per month(and year). So in this example:
Jan: 2
Mar: 3
Hm... totally lost. Any tips?To do this it would be best to add a column in which you isolate the month from the rest of the date information. Here's an example:
You may hide the Month-Isolated column if it impacts your presentation.
The Month-Isolated formula is: =IF(ISBLANK(B), "", (MONTH(B)))
The formula for the count in the Summary table is: =COUNTIF(Data Table :: $C, COLUMN())
Hope this gets you on your way.
Regards,
Jerry -
How to get a total record count before grouping?
I need to group a report on a formula that does roughly the following:
[record count] / ( [total record count] / 20 )
What this acheives is to label each record with a number of 1 - 20 which I want to group on. Getting this figure is the easy part, what is not working is the fact that I cannot group from a formula that is calculated after grouping. I overcame a portion of this by using "Whilereadingrecords" (rather than "count", running totals, or while printing records) to acheive a record count.
I can't figure out how to get a total record count done before grouping. Is there a way to do this with "WhileReadingRecords"?? Is this even possible?
Thanks
JohnHi John,
The order of how Crystal does things dictates the order of which features you can use. Crystal has a two pass method. In the first pass it does things like passing the query, grouping, summarizing. In the second pass it does formulas, formatting, etc.
Unfortunately Crystal does the Grouping before summarizing so what you want to do can't be done in Crystal. The best way to get around this to either create a SQL Command or view/stored procedure that will do the summarizing for you. Then in the report you can use it.
Hope this helps,
Brian -
Profit center accounting totals records report 2KEE:
Hi,
When I am executing Profit center accounting totals records report 2KEE for a specific selection as below,
Record type: 0
Version: 0
Controlling area:
Company code:
Posting period :1
Fiscal year:2007
Profit center: 1000dummy
Account:
After report is generated and if drill down further, line items total is not matching with the report page, breakup gives different values but not the report value.
I tried report even after implementing OSS 892779 and 952263 but the result is same. I am using 4.7
Request your help in this.
Regards,
Lakshmana RaoDear Eugene,
What do you mean? What is the report? -
Record count per page , total record count per report in BI Publisher
hi,
In Oracle BI Publisher tool , can you please tell me how to display total record count of a report ? as well as how to display record count per page ?
Thanks for your help
Regards
Gayathricheck inbox. forwarded the updated template
-
Calculation of Amount in LC value at the time of MIGO (Movement 101 )
Dear Gurus,
Kindly give me the logic for calculation of 'Amount of LC' value at GRN against Purchase Order using t-code MIGO.
Also let me know how this value gets chnaged with below mentioned parameters:-
1. Assesable base Value- Excise Tab MIGO
2. Exicse Value
3. tax code in PO
Regards
Soumen Dasclosed
-
System automatically clears the service of half amount of total amt in po.
I whenever comes in ml81n to create the entry sheet against purchase order,and after selecting all the services to be entered there,the system automatically clear the service of half amount of total amount in po.
can some one tell me to get rid of this problem.
Regards:Vijay KumarIn the net value field the system is bringing the half of the amount of total value in ml81n.And that is not changeable.However the value at the purchase order in net and total is the same.
Regards:VIJAY -
F-48 - Withholding tax amount exceeds total bank line item amounts.
Dear all
In F-48 i am getting following error msg,
Withholding tax amount exceeds total bank line item amounts.
Message no. 7Q320
All Config settings or ok.
Kindly suggest with suitable solution.
With thanks
JaiDear,
Select Relevant to cash flow field for Bank GL you are using for making down payment.
Regards,
Chintan Joshi
Edited by: Chintan Joshi on Jan 21, 2010 10:21 AM -
Withholding tax amount exceeds total bank line item amounts
Dear Sir,
While I am trying to make down payment to the WHT vendor I have found the above error. Can anybody help. I am not giving any base amount in WHT information while down payment. It is picking automatically tax code P9. I am trying to post the down payment 10000/- and P9 tax code amount is 2.266%.
BSRHI,
If the Error is 7Q 320 'Withholding tax amount exceeds total bank line item amounts'
then follow
Kindly check in the relevant bank GL account master whether you have
activated the field "relevant to cash flow" in the create/bank/interest
tab in the GL account master FS02. Also refer the SAP Note 198368.
Reg
Madhu M -
How to get the total record count for the report
Hi,
How can I get count of the total records shown in the report. When we set the report attributes, we have an option "Set Pagination from X to Y of Z"
Does anyone know how can I get the Z value from APEX variables.
I know we can use that query and get the count but I just want to know how we can use APEX Variables effectively.
Thanks in advance.You write a loop, something like this:
Go_block('B1');
If not form_success then
Raise Form_Trigger_failure;
End if;
First_Record;
If not form_success then
Raise Form_Trigger_failure;
End if;
Loop
If :system.record_status in('CHANGED','INSERT') then
-- modify the record here--
End if;
Exit when :System.Last_Record = 'TRUE';
Next_Record;
End Loop;
First_Record;But be very careful-- If your block can fetch a large number of rows, (over 100), this loop can take a long time, and you should not use this method. The loop will continue fetching more rows from the database until all rows satisfying the query are retrieved. -
1. Retainage of certain amount of Total payment to be made to vendor
Hi gurus
can someone help me to configure the below scenario please
1. Retainage of certain amount of Total payment to be made to vendor
ThanksDear Lakshmi,
Retention money is that part of the invoice of a vendor, which is not paid to the vendor until some pre agreed conditions are satisfied.
For example, a vendor may suppy a machinery and as per the terms, 90% of the amount would be paid and the remaining 10% would be paid say after 6 months after satisfactory commissioning of the machinery.
The retention money concept is used in Accounts Payable and can be configured with the help of "terms of payment"
You can use the Terms of payment to acheive this requirement.
Go to Transaction code OBB8. Create a new terms of payment say Z001, which has the "Installment Payment" ticked.
Now create two more terms of payment Z002 and Z003. Here mark the "Payment Block" (A or B) for the terms of payment Z003.
Now go to OBB9, fill as below
Z001----- 170-----Z002
Z001--230-----Z003.
Now at the PO stage, make sure that the terms of payment is Z001.
At the stage of the invoice verification, the entry would be
Expense A/c Dr 1000
To Vendor A/c 700
To Vendor A/c 300 ( This would be with a payment block)
At the time of automatic payment, this Rs.300/- will not be selected unless we remove the payment block.
Regards
Venkatesh
PS: Assign points if useful -
Retainage of certain amount of Total payment to be made to vendor
Hi MM gurus
I need to configure with the below requirement, can someone through light on it please
1. Retainage of certain amount of Total payment to be made to vendor
2. Separate Tax ID for VendorDear Lakshmi,
Retention money is that part of the invoice of a vendor, which is not paid to the vendor until some pre agreed conditions are satisfied.
For example, a vendor may suppy a machinery and as per the terms, 90% of the amount would be paid and the remaining 10% would be paid say after 6 months after satisfactory commissioning of the machinery.
The retention money concept is used in Accounts Payable and can be configured with the help of "terms of payment"
You can use the Terms of payment to acheive this requirement.
Go to Transaction code OBB8. Create a new terms of payment say Z001, which has the "Installment Payment" ticked.
Now create two more terms of payment Z002 and Z003. Here mark the "Payment Block" (A or B) for the terms of payment Z003.
Now go to OBB9, fill as below
Z001----- 170-----Z002
Z001--230-----Z003.
Now at the PO stage, make sure that the terms of payment is Z001.
At the stage of the invoice verification, the entry would be
Expense A/c Dr 1000
To Vendor A/c 700
To Vendor A/c 300 ( This would be with a payment block)
At the time of automatic payment, this Rs.300/- will not be selected unless we remove the payment block.
Regards
Venkatesh
PS: Assign points if useful
Maybe you are looking for
-
I need to scan ports in my PC and have a list of processes listening on them. I could understand that Portman can be a good choice, but it does not work on Windows 8.1 because it does not support 64 bit OSs. How come it is not possible to use it on 6
-
Due to having to switch computers I am now using A Windows NT4 Workstation Edition OS. I previously managed to install Oracle 8i Personal Edition (says for Windows 98) onto my older PC that had Windows "ME" as the OS. That installation did come with
-
I can not install the creative cloud. It stopped by the installation
Can you please help me?
-
I have the WVC54GCA. Was working fine and then one day its not. Can not access through the Monitor, or via the TZo Web page. When I access through monitor, the camera isnt even listed in the camera status box. I tried unplugging the camera, that
-
HT4623 IF I DON'T LIKE IOS 7 UPDATE CAN I GO BACK TO WHAT I HAD BEFORE?
I updated my daughters ipad by mistake. She doesn't like ios 7. Can i un-update her ipad?