PAPI Activity prepare
When I execute ProcessServiceSession.activityPrepare in some cases I need to rollback this action, but I don't know how to undo activityPrepare ¿can anyone help me?
You can always do a commit activity and then set action=CANCEL
Let me know if this is a good solution for you.
Similar Messages
-
Activity Id (numeric) using Papi
I'm trying to obtain a numeric id for an espepecific activity but I only found an Activity Id of type String inside Fuego Library.
I read in http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/papi_javadocs/fuego/papi/Activity.html#getId() that there's a method called getIn, which returns the activity identification numbrers and it's supposed located inside Fuego.Papi.Activity.
I found this library inside fuegopapi-client.jar in OraBPMStudioHome\client\papi\lib
Does anybody know how to built a Java PAPI Program which use fuegopapi-client.jar to obtain Activity' Id.
Thank you.InstanceInfo istinfo=psession.processGetInstance("/instance ID");
System.out.println("activityID="+istinfo.getActivityId()); -
Preparing to retrieve messages... forever
Sometimes I check my email connected with my mobilephone or a bad wireless connection. If I get disconnected when Mail is checking for new messages - in the middle of downloading a bigger email... it seems like the Mail app get serious problems. The account that was disconnected cannot check mail anymore, and hangs with the activity "Preparing to retrieve messages" forever. The only way I can get the specific account to work again is to check the pop-account and download the messages with an another email program. When the pop-server is empty it seems like the Mail app resets and it will allow me to check for new mail again.
It's very frustrating!
Please Apple! Is it something to do, other than having using my old Eudora program just to reset the account. And why is it possible to download messages with Eudora?
Someone with the same problem?nothing changed on both ends, not just my computer but also the server. Another kicker is a fellow employee has had the same issue for months before I ever had it. And another colleague doesnt have the issue at all. I tried re-installing mail, deleting all preferences, all accounts and installed the app from disc and that did not work either.
-
Update Instance Variables using PAPI
I have a need to update Instance Variables for a bunch of instances. Can this be done using PAPI? I am writing a global function that can search the instances and update. How can I update these variables...thank you
Hi,
I think that the best way of changing instance variables using papi is by adding a global activity (with instance access) and pass the new variable values as arguments. Pay attention that you have to define those arguments in the activity.
Then, you can assign those values to the instance using PBL.
http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/papi_javadocs/fuego/papi/ProcessServiceSession.html#activityExecute(fuego.papi.Activity,%20fuego.papi.InstanceInfo,%20fuego.papi.Arguments)
I do suggest avoiding sending interruptions to instances, because once the notification is sent (and the papi method returns successfully), the notifications will be processed in another transaction.
Hope this helps,
Ariel A. -
Why the picture cannot be showed? Is there any wrong with the servlet code? What's wrong with my code?
Thanks
package javaclass;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.*;
import javax.servlet.http.*;
import fuego.lang.ConnectionPassport;
import fuego.lang.DynamicObject;
import fuego.papi.Activity;
import fuego.papi.Arguments;
import fuego.papi.CommunicationException;
import fuego.papi.InstanceInfo;
import fuego.papi.OperationException;
import fuego.papi.Process;
import fuego.papi.ProcessService;
import fuego.papi.ProcessServiceSession;
import java.util.Properties;
import fuego.workspace.UrlActions;
import com.sun.image.codec.jpeg.*;
import javax.imageio.stream.*;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.OutputStream;
public class showWorkloadImgServlet extends HttpServlet {
private static final String CONTENT_TYPE = "text/html; charset=UTF-8";
public void init(ServletConfig config) throws ServletException {
super.init(config);
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {response.setContentType(CONTENT_TYPE);
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head><title>showWorkloadImgServlet</title></head>");
out.println("<body>");
out.println("<p>The servlet has received a GET. This is the reply.</p>");
out.println("</body><img src='http://192.168.125.125:8988/Application1-Project1-context-root/showworkloadimgservlet'></a></html>");
out.close();
Properties configuration = new Properties();
System.out.println("25");
configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
System.out.println("28");
configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "F:\\share\\192_168_1_16\\directory.xml");
System.out.println("30");
configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");
System.out.println("32");
ProcessService processService=null;
try {
processService = ProcessService.create(configuration);
} catch (CommunicationException e) {
// TODO
System.out.println("66===========");
System.out.println("34");
ConnectionPassport passport=null;
passport = processService.createPassport("jcooper");
passport.setPassword("welcome1");
passport.fillPassport();
System.out.println("38");
ProcessServiceSession session=null;
try {
session = processService.createSession(passport, "192.168.1.16");
} catch (OperationException e) {
// TODO
System.out.println("40");
Arguments arguments = Arguments.create();
DynamicObject argument = DynamicObject.create();
argument.setField("condition", 600);
argument.setField("orSplit", 400);
arguments.putArgument("beginArg",argument);
String processId2="/P1";
try {
session.processCreateInstance(processId2, arguments);
} catch (OperationException e) {
// TODO
System.out.println("50");
System.out.println("76");
UrlActions ua=new UrlActions();
String st="";
String instanceId="/P1#Default-1.0/9863/0";
String processId="/P1#Default-1.0";
st=ua.showWorkloadImage(request, response, processId /*, instanceId*/);
System.out.println("26="+st);
OutputStream output = response.getOutputStream();
String imagePath = getServletContext().getRealPath(st);
InputStream imageIn = new FileInputStream(new File(imagePath));
JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(imageIn);
BufferedImage image = decoder.decodeAsBufferedImage();
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(output);
encoder.encode(image);
imageIn.close();
session.close();
processService.close();
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
E:\Jdeveloper10131_20090318\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config>
D:\JDeveloper11g_20090318\jdk160_05\bin\javaw.exe -client -classpath E:\Jdeveloper10131_20090318\j2ee\home\oc4j.jar;E:\Jdeveloper10131_20090318\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config E:\Jdeveloper10131_20090318\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
Oct 5, 2009 3:19:39 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
Oct 5, 2009 3:19:41 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Oct 5, 2009 3:19:41 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 13718 ms.
Target URL -- http://192.168.1.16:8988/GDHZdemo-javaclass-context-root/showworkloadimgservlet
09/10/05 15:19:47 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
WARNING: Code-source D:\BPM_HOME_standalone\client\papi\lib\mail.jar (from manifest of /D:/BPM_HOME_standalone/client/papi/lib/fuegopapi-client.jar) has the same filename but is not identical to /E:/Jdeveloper10131_20090318/j2ee/home/lib/mail.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\Jdeveloper10131_20090318\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.GDHZdemo-javaclass-webapp:0.0.0.
WARNING: Code-source D:\BPM_HOME_standalone\client\papi\lib\jaxrpc-api.jar (from manifest of /D:/BPM_HOME_standalone/client/papi/lib/fuegopapi-client.jar) has the same filename but is not identical to /E:/Jdeveloper10131_20090318/webservices/lib/jaxrpc-api.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\Jdeveloper10131_20090318\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.GDHZdemo-javaclass-webapp:0.0.0.
WARNING: Code-source D:\BPM_HOME_standalone\client\papi\lib\saaj-api.jar (from manifest of /D:/BPM_HOME_standalone/client/papi/lib/fuegopapi-client.jar) has the same filename but is not identical to /E:/Jdeveloper10131_20090318/webservices/lib/saaj-api.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\Jdeveloper10131_20090318\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.GDHZdemo-javaclass-webapp:0.0.0.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\catalina-optional.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\catalina.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\commons-el.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\commons-logging.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\commons-modeler.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\jasper-compiler-jdt.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\jasper-compiler.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\jasper-runtime.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\jsp-api.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\naming-factory.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\naming-resources.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\servlet-api.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\servlets-default.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\tomcat-coyote.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\tomcat-http.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
Could not canonicalize 'D:\BPM_HOME_standalone\client\papi\lib\D:\fuego\trunk\local\thirdparty\tomcat-embed\dist\apache-tomcat-5.5.15-embed\lib\tomcat-util.jar' (????????????????). From manifest of /D:/BPM_HOME_standalone/client/papi/lib/catalina.jar.
09/10/05 15:19:50 25
09/10/05 15:19:50 28
09/10/05 15:19:50 30
09/10/05 15:19:50 32
09/10/05 15:19:51 java.io.IOException: ????????????????
09/10/05 15:19:51 at java.io.WinNTFileSystem.canonicalize0(Native Method)
09/10/05 15:19:51 at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
09/10/05 15:19:51 at java.io.File.getCanonicalPath(File.java:559)
09/10/05 15:19:51 at java.io.File.getCanonicalFile(File.java:583)
09/10/05 15:19:51 at fuego.boot.ClassPath.getBaseDir(ClassPath.java:402)
09/10/05 15:19:51 at fuego.boot.ClassPath.getBaseDir(ClassPath.java:290)
09/10/05 15:19:51 at fuego.boot.Loader.getInstallationDir(Loader.java:652)
09/10/05 15:19:51 at fuego.util.FuegoDirectories.installationDir(FuegoDirectories.java:97)
09/10/05 15:19:51 at fuego.util.FuegoDirectories.installationRelativeFile(FuegoDirectories.java:106)
09/10/05 15:19:51 at fuego.util.FuegoDirectories.configDir(FuegoDirectories.java:167)
09/10/05 15:19:51 at fuego.directory.DirectoryConfigurationManager.createDefaultRuntimeDirectoryConfigurationManager(DirectoryConfigurationManager.java:376)
09/10/05 15:19:51 at fuego.directory.DirectoryConfigurationManager.<clinit>(DirectoryConfigurationManager.java:410)
09/10/05 15:19:51 at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:55)
09/10/05 15:19:51 at fuego.papi.ProcessService.create(ProcessService.java:335)
09/10/05 15:19:51 at javaclass.showWorkloadImgServlet.doGet(showWorkloadImgServlet.java:70)
09/10/05 15:19:51 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
09/10/05 15:19:51 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
09/10/05 15:19:51 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
09/10/05 15:19:51 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
09/10/05 15:19:51 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
09/10/05 15:19:51 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
09/10/05 15:19:51 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
09/10/05 15:19:51 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
09/10/05 15:19:51 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
09/10/05 15:19:51 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
09/10/05 15:19:51 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
09/10/05 15:19:51 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
09/10/05 15:19:51 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
09/10/05 15:19:51 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
09/10/05 15:19:51 at java.lang.Thread.run(Thread.java:619)
09/10/05 15:20:40 25
09/10/05 15:20:40 28
09/10/05 15:20:40 30
09/10/05 15:20:40 32
Process exited.I guess the ImageServlet class of the StoreFront demo of JDeveloper 11g is a good start for you. Below is the code snippet:
package oracle.fodemo.storefront.servlet;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.sql.Blob;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.sql.DataSource;
public class ImageServlet extends HttpServlet {
private static final String CONTENT_TYPE =
"image/jpg; charset=utf-8";
* @param config
* @throws ServletException
public void init(ServletConfig config) throws ServletException {
super.init(config);
* @param request
* @param response
* @throws ServletException
* @throws IOException
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException {
response.setContentType(CONTENT_TYPE);
response.setContentType(CONTENT_TYPE);
String detailProductId = request.getParameter("detail");
String thumbnailProductId = request.getParameter("thumbnail");
boolean thumbnail = true;
String productId = null;
OutputStream os = response.getOutputStream();
Connection conn = null;
try {
Context ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/FODDS");
conn = ds.getConnection();
PreparedStatement statement = conn.prepareStatement(
"SELECT ProductImageEO.PRODUCT_IMAGE_ID, " +
" ProductImageEO.PRODUCT_ID, " +
" ProductImageEO.DEFAULT_VIEW_FLAG, " +
" ProductImageEO.DETAIL_IMAGE_ID, " +
" ProductImageEO.IMAGE " +
"FROM PRODUCT_IMAGES ProductImageEO " +
"WHERE ProductImageEO.DEFAULT_VIEW_FLAG = ?" +
" AND ProductImageEO.PRODUCT_ID = ?");
if (detailProductId != null) {
productId = detailProductId;
thumbnail = false;
} else {
productId = thumbnailProductId;
statement.setString(1,(thumbnail ? "Y" : "N"));
statement.setInt(2, new Integer(productId));
ResultSet rs = statement.executeQuery();
if (rs.next()) {
Blob blob = rs.getBlob("IMAGE");
BufferedInputStream in = new BufferedInputStream(blob.getBinaryStream());
int b; byte[] buffer = new byte[10240];
while ((b = in.read(buffer, 0, 10240)) != -1) { os.write(buffer, 0, b); }
os.close();
} catch (Exception e){
System.out.println(e);
} finally {
try{
if (conn != null){
conn.close();
} catch (SQLException sqle){
System.out.println("SQLException error");
regards,
pino -
Automatically clear the open items for a GL account cross company codes
Hi FICO experts,
Can anyone help me on the following issue urgently?
There are journal entries posted to same GL account with different company code. Is there any way to automatically clear the open items sitting in the GL account in company code A to against the open items for the same GL account in company code B.
The example is below:
Journal in company code A
Dr. 840410 $100
Cr. 111300 $100
Journal in company code B
Dr. 111301 $100
Cr. 840410 $100
Now I want to automatically clear account 840410 by using assignment or text in the journal entry.
It will be highly appreciated for any instructions.
AdeleHello Adele Wang,
You can enter cross-company code transactions in one step in the General Ledger, Accounts Receivable, and Accounts Payable application components. This function would be used, for example, for centralized procurement or payment.
Integration:For centralized payments, each individual company code enters its own invoices separately, while a central company code pays them. When you are clearing open items, the system makes clearing entries between the company codes participating in the clearing procedure. These clearing entries represent the receivables and payables that exist between the company codes in centralized payment.
Prerequisites:You have specified which company codes are to be processed via a single company code. In this specification, you can distinguish between clearing transactions. You can therefore have different combinations of company codes for incoming and outgoing payments.
You have specified the clearing accounts that record the receivables and payables between the individual company codes. The system posts to these accounts automatically when clearing the open items.
You need to make the required settings in the activity Prepare Cross-Company Code Manual Payments in Customizing for Financial Accounting (Accounts Receivable and Accounts Payable->Business Transactions->Outgoing Payments->Manual Outgoing Payments).
Features:For each company code, the system generates a separate clearing document. A joint transaction number marks these documents as belonging together.
Example:For a clearing transaction (incoming payment, outgoing payment), you have agreed in Customizing that if company code 0001 is specified, open items are also selected from other company codes (0002 and 0003).
Hope I had been able to help you. Please assign points.
Rgds
manish
Clearing can then also be carried out if the account to be cleared has not been created in company code 0001. As long as no items have to be posted to this account in company code 0001, it is not necessary to create a master record for the account in company code 0001.
See also: -
Your Feedback Desired: Integrating Developer Workspaces through SSO
Greetings,
I work a for junior college in the San Francisco Bay Area, and we are actively preparing to deploy Oracle APEX to complement our web application design activities, and hopefully empower our developers to create applications that move away from the aged batch and process model. We are interested in securing the development side of APEX using single sign-on if possible. We want developer accounts to be provisioned and password controlled through an external source of truth. I've reviewed the administration guide, and did some Googling to see if this is possible or has been done before. So far I'm coming up with nothing. Managing developer accounts apparently is done one way through APEX instance administration. Before I deliver my findings to the greater team, I want to make sure I have accurate information.
Please share your experiences with managing APEX developers and workspaces. How are you doing it in a production environment? Have you been able to automate the process? Successes or pitfalls?
Cheers,
MattHi,
Currently application builder is authenticated with Apex users
http://download.oracle.com/docs/cd/E17556_01/doc/admin.40/e15521/aadm_users.htm#sthref107
There is no way use LDAP or SSO to login to application builder currently.
You can create end user applications that are authenticated with LDAP, SSO ....
But developer users are maintained as Apex users by instance and/or workspace admin.
http://download.oracle.com/docs/cd/E17556_01/doc/appdev.40/e15516/intro_app.htm#CCHDDFBH
Regards,
Jari -
Interst calculation of Accounts receivable.
Hi,
Kindly provide the configuration stepsl for the Interst calculation of Accounts receivable.
Points will be assigned.Hello,
Interest calculation :-
Define Interest Calculation Types:-
In this step, you create your interest indicators and determine whether they are to be used for the item interest calculation or account balance interest calculation.
Activities:-
1. Create the required interest indicators.
2. Make sure an interest indicator is entered in the master records of the required accounts.
Interest Calculation Type:-
Decides whether the interest indicator participates in the calculation of interest on arrears (per item) or in the account balance interest calculation (interest scale).
Define Number Ranges for Interest Forms:-
In this activity you create number ranges for interest forms by:
u2022 Specifying an interval of numbers to assign to the interest forms.
u2022 Selecting the type of number assignment (internal).
The system assigns a unique number from the number range interval.
Once you post an interest document, the number of the form is stored in the "Reference" field.
Activities:-
Create a separate number range with internal number assignment for interest calculation.
Prepare Interest on Arrears Calculation:-
In this step you make general specifications for each interest indicator for the calculation of interest on arrears. To do this, you make specifications for the selection of items as well as for calculating interest. You can make further specifications as to the subsequent processing of interest, output control and for posting.
Activities:-
Make your specifications for each interest indicator and make the required specifications.
Calendar type
The calendar type determines how many interest days per month and year are used as a basis for calculating interest on financial investments. The number of days in the year is used as the divisor for the interest rate to calculate the daily interest rate from the annual interest rate.
u2022 B - 30/360
(1 year = 360 days, 1 month = 30 days)
u2022 F - 28,..,31/360
Prepare Item Interest Calculation
In this activity you make the general settings for the individual interest indicators for the item interest calculation (report RFINTITAR). These include settings for selecting the items and for calculating the interest. You can also enter specifications for interest post processing, output control, and for posting.
In this activity, you generally make the same settings as in the previous activity, Prepare Calculation of Interest on Arrears. Changes that you make there have an effect here, and vice versa.
An exception to this is the specification that in the item interest calculation, cleared items are not to be considered in the interest run. If you make this specification here, in Prepare Calculation of Interest on Arrears, you will see that interest is calculated on either all items cleared or only items cleared with payment; these conflicting specifications have no effect on the settings you make here.
Activities:-
Here you define all of the settings relevant for the require interest indicator.
Define Reference Interest Rates:-
You define your reference interest rates by entering a key and a mnemonic name. All other fields are purely informative.
Activities
1. Define your reference interest rates.
2. Specify the interest rates for the reference interest rates in the "Enter interest values" step.
Define Time-Based Terms
You specify how the system determines an interest rate for each interest indicator. You can make these settings based on the currency and a validity date. Each entry is assigned a term that determines the type of interest that is calculated (debit or credit interest).
You also specify the interest rates that you want to use. You can:
u2022 Specify a reference interest rate for which the interest rate is defined.
u2022 Specify the required interest rate directly in the Premium field without specifying a reference interest rate.
u2022 Specify a reference interest rate and an interest rate in the Premium field. The interest premium is added to the reference interest rate during interest calculation.
u2022 You can graduate interest rates by specifying an amount in the Amount from field.
Activities
1. Make the required specifications for each interest indicator.
2. After having specified a reference interest rate, ensure that it is defined in the following steps.
Sequential number
The sequential number is required to define staggered, amount-dependent interest rates. Keep in mind that the same "Valid from" date is used for staggered interest rates. In addition, an entry with an "Amount from" of 0 is required.
Examples
Int.ind. Currency Valid from Seq.no. ... Amount from
01 USD 01/01/1996 1 0
01 USD 01/01/1996 2 1000
01 USD 01/01/1996 3 50000
Enter Interest Values
You specify the required interest rates dependent on the date for the reference interest rates.
Activities
Specify the interest rates for your reference interest rates.
A/R: Calculation of Interest on Arrears
The account determination is carried out via the posting interface of application 0002 (interest on arrears). The following specifications are necessary:
u2022 Account determination keys and posting details:-
First you determine which account determination keys are used. For the business transaction account determination key, 1000 (interest earned) and 2000(interest paid) should be entered. The other account determination keys (company code, interest indicator, business area) are optional. You use them if you want to define interest posting in more detail.
For every combination of the account determination keys, you specify a debit posting key, a credit posting key and account symbols (posting details). You use the account symbol 1000 for the customer posting. It is not necessary to specify an account since the posting is made to the customer account. You do, however, have to specify the posting keys.
u2022 G/L accounts:-
For each G/L account symbol, you specify the account allocation for interest earned and interest paid in full. You can differentiate the account specifications according to currencies.
Activities:-
Make the necessary specifications for posting the interest.
Regards
Ravi -
Adding custom fields to XD01 transaction
Hi All,
I need to add custom fields to the Customer create transaction (XD01). Can anyone tell me the feasibility of having screen-exits or BADIs to acheive the same? I have searched for screen exits but could found none, and regarding BADI's i found these CUSTOMER_ADD_DATA, CUSTOMER_ADD_DATA_CS and CUSTOMER_ADD_DATA_BI. Unfortunately there is no default code assigned to these BADI's. Please tell me how we can acheive the requirement. we dont have any include too in the KNA1 table hence i feel going with APPEND structure.
Thank You
Yugandhar KHello Mahesh B
In short
The Number field determines the display order of the Tabs on your new screen. The i_taxi_fcode parameter is the text you entered, or will enter, in the Function Code field on the Label Tab Pages.
In long
In the IMG activity Prepare Modification-Free Enhancement in Customer Master Record, you add a Screen Grp code (e.g. Z1) and a description. Then you select Z1 and double-click the Label Tab Pages folder on the left.
Now, add one or more records in this Label Tab Pages screen. Each record you add will cause a Tab to be displayed on your new Z1 screen (once you implement the screen with a program as described in earlier posts).
The fields of the Label Tab Pages records are:
- NUMBER, which determines the order that the Tabs will be displayed;
- FUNCTION CODE, this is passed to the BAdI as i_taxi_fcode;
- DESCRIPTION, which becomes the Label displayed on the Tab; and
- ICON, which, if entered, will display beside the Label on the Tab.
Example records:
10, Z1_TR1, Tab1description, <blank icon field>
20, Z1_TR2, Tab2description, <Some Icon>
I prefixed my FUNTION CODEs with the screen group (e.g. Z1_TR1 and Z1_TR2).
More than one BAdI can be implemented in the system at the same time, so you should use the Screen Grp (e.g. Z1) and/or the Tab FUNCTION CODE (i_taxi_fcode - e.g. Z1_TR1) to determine when to execute your custom code.
Below is an example implementation of the get_taxi_screen method in the customer_add_data_cs BAdI.
If a user were to click on the second Tab of the Z1 screen group, the Z1_TR2 case would be executed and screen 200 would display on this Tab screen. If the user clicked back to the first tab, the Z1_TR1 case would be executed and screen 100 would display on this Tab.
method if_ex_customer_add_data_cs~get_taxi_screen .
case flt_val.
when 'Z1'.
case i_taxi_fcode.
when 'Z1_TR1'.
e_screen = '0100'.
e_program = 'Z_PROGRAM_NAME'.
e_headerscreen_layout = ' '.
when 'Z1_TR2'.
e_screen = '0200'.
e_program = Z_PROGRAM_NAME'.
e_headerscreen_layout = ' '.
endcase.
endcase.
endmethod.
Hope this helps.
Allan -
List of activities for setting up ERP 6.0 with Best Practices
Based on my understand if i were to plan for setting up an ERP 6.0 Landscape with Best Practices (Full Scope) i would consider the execution of following activities:
Prepare EHP4 Landscape
Install ERP 6.0 on DEV
Upgrade DEV to EHP4 SP06
Install SAP Best Practices v1.604
Activate Full Scope of Best Practices on DEV
Prepare QA (System Copy - DEV with BP Activated)
Prepare PRD (System Copy - DEV with BP Activated)
Register Landscape in Solution Manager
Customization on EHP4
Customize Best Practices Scenarios on DEV
Transport Changes to QA
Test Changes on QA
Transport Changes to PRD
Upgrade to EHP5
Upgrade DEV, QA and PRD to EHP5
Install HCM Localization on DEV, QA and PRD
Customization on EHP5
Customize HCM Best Practices Scenarios on DEV
Transport Changes to QA
Test Changes on QA
Transport Changes to PRD
Please advise if there is anything missing or incorrect.
Thanks.Hi,
I'm on a project with similar requirements. I follow this order in steps that you describe:
Install ERP 6.0 on DEV
Upgrade DEV to EHP4 SP06
Install SAP Best Practices v1.604 on DEV
Install QA
Install SAP Best Practices v1.604 on QUA
Install PRD
Install SAP Best Practices v1.604 on PRD
Activate Full Scope of Best Practices on DEV
Register Landscape in Solution Manager
Upgrade DEV, QA and PRD to EHP5
Install HCM Localization on DEV, QA and PRD
Customize Best Practices Scenarios on DEV
Transport Changes to QA
Test Changes on QA
Transport Changes to PRD
I hope that this will be useful for you
Best regards.
Alejandro Cepeda. -
Get items in all Outlook folders using EWS (PowerShell)
Hi All,
I'm trying to figure out how to search all items in Outlook mailbox using EWS. I have a script that currently search "Sent Items" only. See script below. I just need to modify it to search all folders instead. Any help is appreciated. Thank you
$Report = @()
#Provide text files for all users in the legal department
$Law = cat law.txt
#Set Date to 1 Year Ago
$Date = (Get-Date).AddYears(-1)
#Logon to Exchange Web Service with default credentials
Add-Type -Path "C:\Program Files\Microsoft\Exchange\Web Services\1.2\Microsoft.Exchange.WebServices.dll"
$sid = [System.Security.Principal.WindowsIdentity]::GetCurrent().User.Value
$user = [ADSI]"LDAP://<SID=$sid>"
$service = New-Object Microsoft.Exchange.WebServices.Data.ExchangeService -ArgumentList ([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2010_SP2)
$service.AutodiscoverUrl($user.Properties.mail)
Write-Progress -Activity "Preparing" -Status "Retrieving mailbox list" -PercentComplete 0
#Get Mailboxes for all users in the text file
$Mailboxes = $law | Get-User | Select WindowsEmailAddress, Company
$Count = $Mailboxes.Count
#Go through each users found and process accordingly
ForEach ($Mailbox in $Mailboxes){
$DisplayName = $Mailbox.DisplayName
$i = $i + 1
$pct = $i/$Count * 100
Write-Progress -Activity "Collecting mailbox details" -Status "Processing mailbox $i of $Count - $DisplayName" -PercentComplete $pct
Try {
$Ok = $true
$Mailbox = (Get-Mailbox $mailbox.WindowsEmailAddress -ErrorAction Stop ).PrimarySMTPAddress}
catch [System.Exception]{
$Ok = $false
if ($Ok){
#Set EWS up to impersonationate user
$ImpersonatedUserId = New-Object Microsoft.Exchange.WebServices.Data.ImpersonatedUserId -ArgumentList ([Microsoft.Exchange.WebServices.Data.ConnectingIdType]::SmtpAddress),$Mailbox
$service.ImpersonatedUserId = $ImpersonatedUserId
#Open user folder and bind SentItems folder to the EWS service.
$folderid = new-object Microsoft.Exchange.WebServices.Data.FolderId([Microsoft.Exchange.WebServices.Data.WellKnownFolderName]::SentItems,$Mailbox)
$SentFolder = [Microsoft.Exchange.WebServices.Data.Folder]::Bind($service,$folderid)
#Specify Search Filters: Specify Date and Message Class Type
$Sfir = new-object Microsoft.Exchange.WebServices.Data.SearchFilter+IsGreaterThanOrEqualTo([Microsoft.Exchange.WebServices.Data.EmailMessageSchema]::DateTimeSent, $Date)
$Sfir2 = new-object Microsoft.Exchange.WebServices.Data.SearchFilter+IsEqualTo([Microsoft.Exchange.WebServices.Data.EmailMessageSchema]::ItemClass, "IPM.Note")
#Add search filters together to form one search
$sfCollection = new-object Microsoft.Exchange.WebServices.Data.SearchFilter+SearchFilterCollection([Microsoft.Exchange.WebServices.Data.LogicalOperator]::AND);
$sfCollection.Add($Sfir)
$sfCollection.Add($Sfir2)
#Create PropertySet to make it possible to retreive all properties of email content
$psPropset = new-object Microsoft.Exchange.WebServices.Data.PropertySet([Microsoft.Exchange.WebServices.Data.BasePropertySet]::FirstClassProperties)
$SentItemsview = new-object Microsoft.Exchange.WebServices.Data.ItemView(1000)
$fiItems = $null
#Loop through all all items in 1000 page increment until all items are processed
Do {
#Find Items based on folder Id, search filter and page view
$fiItems = $Service.FindItems($SentFolder.Id,$sfCollection,$SentItemsView)
#Create PropertySet to make it possible to retreive all properties of email content
[Void]$service.LoadPropertiesForItems($fiItems,$psPropset)
#Loop through each email item and retrieve recipients info.
ForEach ($item in $fiItems)
$AllAttendees = $item.ToRecipients | Select -Expand Address
$AllAttendees += $item.CCRecipients | Select -Expand Address
$AllAttendees += $item.BCCRecipients | Select -Expand Address
$sender = $item.From.Address
$subject = $item.Subject
$TimeSent = $item.DateTimeSent
Write-Host "$Sender --- mailbox --- $TimeSent"
for ($index = 0; $index -lt $AllAttendees.count; $index++) {
Write-Progress -Activity "Looping" -Status "Going through all recipients list" -PercentComplete 0
$Attendees = $AllAttendees[$index]
#Filter invalid users, external users and users in Legal department
If ($Attendees -like "*domain.com"){
If ($Law -notcontains $Attendees){
$a = Get-User $Attendees -filter {Company -ne $null} -ErrorAction SilentlyContinue
if ($a){
$Obj = New-Object -TypeName PSObject
$Obj | Add-Member -MemberType NoteProperty -Name Subject -Value $subject
$Obj | Add-Member -MemberType NoteProperty -Name Sender -Value $sender
$Obj | Add-Member -MemberType NoteProperty -Name Sent -Value $TimeSent
$Obj | Add-Member -MemberType NoteProperty -Name Recipients -Value $Attendees
$Report += $Obj
$SentItemsView.Offset += $fiItems.Items.Count
While ($fiItems.MoreAvailable -eq $true)
#Export report to CSV
$Report | Export-Csv "C:\Users\user\Dropbox\Script\LawData.csv" -NoTypeInformation -Encoding UTF8
TundeIt seems the answer is here:
http://gsexdev.blogspot.com/2011/08/using-allitems-search-folder-from.html.
I'll go through it and let you if successfully.
Thanks
Tunde
Tunde -
External task and Multiple-join
In a process, the order of activities is: Begin->interactive activity A -> multiple -> interactive activity B -> Join -> interactive activity C
This process has 2 instance variable, var1 and var2.
var1's type is BPMObject
var2's type is String.
PBL code in Mulitple is as follow.
---------------------------Multiple------------------------------
participants as Participant[]
ts as String[]
ts=var1.selectParticipants;
v as Int
v=length(ts)-1
for i2 in 0..v
do
participants(i2)=Participant.find(name : ts(i2))
end
for each p in participants do
copy = clone(this)
copy.participant.next = p
copy.var1.voteResult="O"
end
The main task type of interactive activity B is set to external.
The PBL code in the interactive activity B is as follow
------------------------interactive activity Prepare--------------------------------------------------------
var1.voteResult=arg1
arg2=var1.voteResult
arg1 and arg2 in this interactive activity are fine.
Interactive activity B does not have a commit method .
The PBL code in the Join is below.
---------------------------------------------------Join-----------------------------------------------
var2=var2+"*"+copy.var1.voteResult
I also try: this.var2=this.var2+"*"+copy.var1.voteResult
However, it only outputs *
It only output *. The number of * equals the number of branch.
The main task of Interactive activity C is an external task.
This activity only has a very simple prepare method: arg1=var2
arg 1 is the argument. I just want to see the value of var2. However, the value of var2 is just *
I cannot get the value of each branch.
How to get the correct value of each branch?I change the value type to Int. Then, it works.
How to get the value of String type? -
Hi When i click on the Inbox link from the Workspace,i get the below mwntioned Error :
<May 3, 2010 12:29:27 PM EDT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=8169456,name=portal,context-path=/portal)] Root cause of ServletException.
weblogic.servlet.jsp.CompilationException: Compilation of /export/vol01/enterprise-docs/weblogic/8.1/user_projects/gcbcDomain/./gcbcNode1/.wlnotdelete/extract/gcbcNode1_portal_portal/jsp_servlet/_jsp/__instancesview.java failed.
/export/vol01/enterprise-docs/weblogic/8.1/user_projects/gcbcDomain/./gcbcNode1/.wlnotdelete/extract/gcbcNode1_portal_portal/jsp_servlet/_jsp/__instancesview.java:3511: cannot resolve symbol symbol : method globalWithInstanceAccessCanBeProcessed (fuego.papi.Activity,fuego.papi.InstanceInfo)
location: class fuego.papi.impl.ProcessServiceSessionImpl
if (!((ProcessServiceSessionImpl) processServiceSession).globalWithInstanceAccessCanBeProcessed(globalInstanceActivity, ii)) //[ /jsp/detailContent.jspf; Line: 339]
^
Note: /export/vol01/enterprise-docs/weblogic/8.1/user_projects/gcbcDomain/./gcbcNode1/.wlnotdelete/extract/gcbcNode1_portal_portal/jsp_servlet/_jsp/__instancesview.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
1 error
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:478)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:526)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:336)
at fuego.portal.servlet.WamServlet.requestForward(WamServlet.java:418)
at fuego.portal.servlet.WamServlet.forward(WamServlet.java:299)
at fuego.portal.servlet.Controller.doPost(Controller.java:275)
at fuego.portal.servlet.Controller.doGet(Controller.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at fuego.portal.servlet.AuthenticatedWamServlet.service(AuthenticatedWamServlet.java:1056)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at fuego.servlet.multipart.BaseMultipartFilter.doFilter(BaseMultipartFilter.java:57)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7053)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by: java.io.IOException: Compiler failed executable.exec
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:451)
... 26 more
>Hi
Are you getting this when you run load_cm_data.cmd from C:\beawlp103\wlportal_10.3\content-mgmt\bin. If so, first open the command prompt or shell window. In this run setDomainEnv.cmd (or .sh) file from any of your existing Portal Domains. Hopefully you should have some domain. If not samples portal domain will also do. Basically running setDomainEnv will set all the required JARs to the classpath. Then in the same window run the bulk loader script. If not open the script file and it should have some comments/notes in the top like what to set in classpath or run some commands in the beginning.
Thanks
Ravi Jegga -
Hi can anybody explain me these transaction codes in detail
1. FBB1
2. FAGL_FC_TRANS
3. FAGL_FC_VAL
BR..AJFBB1
This is teh TCode the system uses when posts through the below transactions which you also can use for posting manual adjustment.
FAGL_FC_TRANSLATION
This program allows you to valuate the balances of an additional currency (2nd or 3rd local currency) on the basis of US GAAP or ISRS (IAS).
Prerequisites
Open items and balances of the first local currency need to have been valuated with the program Foreign Currency Valuation (FAGL_FC_VALUATION) for the postings generated with the program to be considered.
Account determination for the currency translation must be defined in Customizing for Financial Accounting (New).
For this, use the IMG activity Define Account Determination for Currency Translation
On the basis of the financial statement version, you can define different exchange rate types for each financial statement item and thereby different exchange rates for the valuation.
FAGL_FC_VALUATION
Foreign Currency Valuation
You use this program to perform foreign currency valuation for the creation of your financial statements.
Prerequisites
Before you can perform foreign currency valuation, the following settings need to have been made in Customizing for Financial Accounting (New).
A valuation method must be defined.
For this, use the IMG activity Define Valuation Methods.
A valuation area must be defined and the valuation method must be assigned.
For this, use the IMG activity Define Valuation Areas.
The settings for automatic postings need to have been made.
For this, use the IMG activity Prepare Automatic Postings for Foreign Currency Valuation.
Revenue and expense accounts need to have been defined for any exchange rate differences that occur in the valuation of foreign currency balances.
During the valuation of open items, the system makes postings to a balance sheet adjustment account and to an account for exchange rate differences from the valuation. The account numbers must be defined.
If you want to use different account determination for the valuation area, this account determination must be defined at the level of the valuation area.
If you use different accounting principles (such as ISRS (IFRS) or the German HGB), the accounting principles must be defined and assigned to the ledger groups and the valuation area.
For this, use the following IMG activities:
Define Accounting Principles
Assign Accounting Principle to Ledger Groups
Assign Valuation Areas and Accounting Principles
Features
The following items or accounts are valuated:
Open items
Foreign currency balance sheet accounts (G/L accounts managed in foreign currency)
In foreign currency valuation, you have the following options:
You can perform valuation in the local currency or in a parallel local currency (such as the group currency).
You can apply different valuation methods (based on US GAAP or German HGB).
The result of the valuations can be stored for each valuated document and posted to adjustment accounts and P&L accounts.
Activities
Selection
Depending on the selection criteria specified, the program reads the items for the customers, vendors and G/L accounts that are open on the key date and adds the items together to create totals by account or group and currency.
Reconciliation accounts and accounts managed on an open item basis are not considered during balance valuation; where required, you can valuate P&L accounts.
Groupings
The documents or balances are grouped together according to currency and account (or by corporate group or valuation group). The exchange rate type for the valuation is taken from the balance obtained for each grouping.
Valuation
The items to be translated on the key date are summarized for each invoice reference or account/group and translated on the key date.
If the result does not correspond to the chosen method (for example, a profit is obtained when the lowest value principle is used), no valuation difference is displayed.
During balance valuation, the balance is translated for each currency and account/group, and the key date exchange rate is applied. The valuation difference determined is compared against the selected valuation method (such as the lowest value principle).
You can only perform the valuation once per valuation area or key date. If the valuation is incorrect, you have to reset the valuation. Only then may you repeat valuation of the item or the account balance.
Posting
The program posts the valuation differences in summarized form. The accounts and, where applicable, the ledger group are determined on the basis of the valuation area selected.
During valuation of the open items, the valuation posting and the reversal posting are performed automatically; If required, you can reverse balance valuation.
If you have not entered a date for the posting date or reversal posting date, this data is derived as follows from the key date of the valuation:
The posting date is derived from the key date
The reversal date is derived from the day following the key date
If no period has been specified for the data, the system determines the period on the basis of the date specified.
When the selection cover sheet is printed, the values determined (period, posting date) are not displayed because the selection parameters are always output as they have been entered by the user.
Account Determination
The postings for accounts managed on an open item basis are made to an adjustment account and to a P&L account in the subledger and the general ledger. Account determination is determined using the valuation area.
Postings to accounts not managed on an open item basis are made to adjustment accounts if any are defined as described under "Prerequisites". If none are defined, the exchange rate difference key from the G/L account master is used for account determination.
Cleared items are also valuated if they are still open on the key date.
Output
The program generates three lists:
List of valuated line items or G/L account balances
List of postings or posting proposals
List of messages (own spool file)
Example
Example of Valuation Postings
An invoice for 100 USD is posted in local currency as 110 EUR.
On the key date, the item is valuated using an exchange rate of 1:1. A valuation expense of 10 EUR (100 EUR - 110 EUR) occurs. This expense is posted as follows:
Expense Account To B/S Adjustment Accounts Per Key Date
230010 140099 10 EUR
All postings are reversed on the reversal date. You can also enter a special period as the reversal period.
Expense Account To B/S Adjustment Accounts Per Key Date
140099 230010 10 EUR
Performing the Translation as per FASB 52 / ISRS (IAS 21)
Valuation in local currency:
When you valuate the first local currency (currency type 10), the determined valuation is automatically translated into all additional currencies and posted. The prerequisite for this is that the additional currency or currencies are determined from the first local currency according to the settings in the IMG activity Define Additional Local Currencies.
The local currency is translated into the group currency at the balance level and using the program Currency Translation (FAGL_FC_TRANSLATION).
reward if useful.
sarma -
Hi All,
We have a situation where in we would like to valuate all documents on an account irrespective of document currency.
We have 3 currencies maintained in the system -- doc currency, company code currency and global currency.
Company code currency is CAD and global currency is USD.
The line items on the GL account receives postings both in CAD and USD as the document currency.
Say, the account has just 2 postings as given below:
Posting 1: 100 CAD (doc curr), 100 CAD (comp curr) and 95 USD (global curr)
Posting 2: 200 USD (doc curr), 210 CAD (comp curr) and 200 USD (global curr)
We want the F.05 run to valuate 310 CAD (total of comp curr) and 295 USD (total of global curr)
Is this possible?
Thanks,
VenkatHello Venkat,
It is possible to do foreign currency valution as you expected if you are using ECC 5 or 6.
The year-end closing operations can be implemented for different legislative accounting standards, such as US GAAP or the German Commercial Code, which are based on different valuation approaches.
The different valuation approach is calculated and posted in the following programs:
Foreign currency valuation (SAPF100, RFSBEW00)
The programs can be run using an alternative valuation area. When the valuation of open items is made which affects the balance sheet, the differences are stored in a table (BSBW).
The additional valuation area must be created in Customizing for Financial Accounting. To do so, select the activity Define valuation areas in the Implementation Guide (IMG) for General Ledger Accounting.
You must then define the account determination for the alternative valuation areas in Customizing. To do so, define the account numbers for the expense or income from the valuation in the system. You do this under the activity Prepare automatic postings for foreign currency valuation in the IMG for General Ledger Accounting.
Hope this will help you.
Regards
Ravi
Maybe you are looking for
-
Are there any Blender 3D users out there.... Node editor glitch
I work on a MacBook Pro (Santa Rosa 2.2) with OS X 10.4.11 and have noticed that the "previews" in the node editor have weird lines and visual glitches. See http://entplex.org/node_preview.png and http://entplex.org/node_preview2.png. Note the static
-
Hi, I've done some looking around recently and I'd like to make a proxy for myself. All of the Mac-Oriented websites I've looked at are confusing at best. I would like to know if it's possible to set up my own proxy server. If browser type has anythi
-
TopLink IAS\SessionBean Example exception
I am deploying the SessionBean Example which comes with TopLink installable in the examples folder on OC4J 9.0.4 standalone server. I have changed the datasource references for Db url and db driver in the DataSource.xml. Also added TopLink.jar and Xe
-
Some more guideance on whether to use Applescript/JS?
This is, in rough outline, what I want to do: 1. From within InDesign, extract the effective ppi of an image in the 'x' and 'y' directions. 2. In Photoshop, apply those numbers in a certain way to the image so that the effective ppi becomes 300 in In
-
Dear nokia i purchased nokia lumia 525 some days back but i found no file manager in the device ...i had an urgent mail to do n i was unable to find the file. Is there any possibility that nokia will provide file manager for lumia 525 Deep_