Custom DBTransaction Implementation in different modules
Hi,
I am trying to implement custom DBTransactionImpl class by followig the below link -
http://www.oracle.com/technology/products/jdev/tips/muench/dbtransimpl/index.html
I achieved the required functionality while working with single Application module.
But now my issue is -
I have two modules, two jsp's in both i have commit functionalities. I want to have different implementation for these commits.
so i created two dbtransactionimpl classes and two transaction factory classes, also mapped configurations to respective impl classes in bc4j.xcfg file.
following is my configuration ::
<?xml version = '1.0' encoding = 'UTF-8'?>
<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">
<AppModuleConfigBag ApplicationName="com.softsol.forms2adf.model.modules.AppModule">
<AppModuleConfig name="AppModuleLocal" ApplicationName="com.softsol.forms2adf.model.modules.AppModule" DeployPlatform="LOCAL" JDBCName="ORCADB" jbo.project="model.Model" java.naming.factory.initial="oracle.jbo.common.JboInitialContextFactory">
<Security AppModuleJndiName="com.softsol.forms2adf.model.modules.AppModule"/>
</AppModuleConfig>
<AppModuleConfig name="AppModuleShared" ApplicationName="com.softsol.forms2adf.model.modules.AppModule" DeployPlatform="LOCAL" JDBCName="ORCADB" jbo.project="model.Model" java.naming.factory.initial="oracle.jbo.common.JboInitialContextFactory">
<AM-Pooling jbo.ampool.isuseexclusive="false" jbo.ampool.maxpoolsize="1"/>
<Security AppModuleJndiName="com.softsol.forms2adf.model.modules.AppModule"/>
</AppModuleConfig>
<AppModuleConfig DeployPlatform="LOCAL" JDBCName="ORCADB" jbo.project="model.Model" name="deptModuleLocal" TransactionFactory="com.softsol.forms2adf.model.modules.deptModuleDatabaseTransactionFactory" ApplicationName="com.softsol.forms2adf.model.modules.deptModule">
<Security AppModuleJndiName="com.softsol.forms2adf.model.modules.deptModule"/>
</AppModuleConfig>
<AppModuleConfig name="deptModuleShared" ApplicationName="com.softsol.forms2adf.model.modules.deptModule" DeployPlatform="LOCAL" JDBCName="ORCADB" jbo.project="model.Model" java.naming.factory.initial="oracle.jbo.common.JboInitialContextFactory">
<AM-Pooling jbo.ampool.isuseexclusive="false" jbo.ampool.maxpoolsize="1"/>
<Security AppModuleJndiName="com.softsol.forms2adf.model.modules.deptModule"/>
</AppModuleConfig>
<AppModuleConfig DeployPlatform="LOCAL" JDBCName="ORCADB" jbo.project="model.Model" name="empModuleLocal" TransactionFactory="com.softsol.forms2adf.model.modules.empModuleDatabaseTransactionFactory" ApplicationName="com.softsol.forms2adf.model.modules.empModule">
<Security AppModuleJndiName="com.softsol.forms2adf.model.modules.empModule"/>
</AppModuleConfig>
<AppModuleConfig name="empModuleShared" ApplicationName="com.softsol.forms2adf.model.modules.empModule" DeployPlatform="LOCAL" JDBCName="ORCADB" jbo.project="model.Model" java.naming.factory.initial="oracle.jbo.common.JboInitialContextFactory">
<AM-Pooling jbo.ampool.isuseexclusive="false" jbo.ampool.maxpoolsize="1"/>
<Security AppModuleJndiName="com.softsol.forms2adf.model.modules.empModule"/>
</AppModuleConfig>
</AppModuleConfigBag>
</BC4JConfig>
But when i am trying to commit, in both pages its using the same transactionimpl class.
Hope someone helps..
Thanks
srikanth
Thanks to Didier Laurent. I got the solution.
ref Link : http://blogs.oracle.com/Didier/bc4j/
Similar Messages
-
To implement SAP HCM module in existing SAP ECC 6.0
Hi,
I have SAP ECC 6.0 system already implemented 2 years back.
I am planning to implement SAP HCM with OM, PA, SAP Time management, SAP PAYROLL in existing SAP ECC 6.0 system.
I have currently 3 system landscape for SAP ECC.
I would like to know what change/addition is required in above landscape to implement SAP HCM module in existing SAP ECC 6.0
Do share your view.
Regards.Hi.
As per you, Already designed Landscape. Why dont you follow you existing Landscape which is alredy proved for other modules.
Normally Dev/Quality/Production clients will there..
If more that depends upon flexibility in Each client and defining different business for testing and production interfaces purpose.
Better use Existing only remaining modules already sucessfully running in Production Right???? -
Can Wcf-Custom Adapter implement Wcf-WebHttp Functionality?
Can the Wcf-Custom adapter implement the same functionality as the Wcf-WebHttp adapter in BizTalk 2013? In particular, can it provide the same functionality as the operation map and the variable map? If not, is there any other way to provide Wcf-WebHttp
functionality without hosting an adapter in IIS with an isolated host?
Thanks!Yes, but...
You can set the mappings on outgoing messages with some new Context Properties. This describes how to do it on a Dynamic Port, but it should work the same on a static port.
http://masteringbiztalkserver.wordpress.com/2013/11/11/calling-restful-service-using-dynamic-send-ports-biztalk-2013/
The receive side is a bit different since I'm 97% sure all the mapping happens in the BizTalk Adapter (WS-WebHttp) not any of the binding elements.
However, you can essentially replicate that functionality with a Custom Pipeline Component. In that case you would use the WCF-Custom Adapter with the webHttpBinding. -
Can I implement SAP MM without implementing SAP FICO module?
Hello all,
Can I implement SAP MM without implementing SAP FICO module?Hi Abhijeet,
The answer is Yes and No. Yes, if you have a corporate wide Financial System for taking balance sheet and other reporting needs and you need SAP MM for your purchasing and inventory management functions. Even in this case, you will need a FICO Consultant to setup the minimum FI settings. And to build interface to push the relevant data between SAP and the core financial system. No, if you dont have any other system to track the business financials.
Most implementations will have FI and MM implemented and in few cases, where the corporate wide Financial system is different from SAP, we will have a lean FI implemented in SAP to allow necessary postings.
Best Regards
Sathees Gopalan -
Default Code Generation for a Custom Class for an Application Module
hi all
Oracle® Fusion Middleware
Fusion Developer’s Guide for Oracle Application Development
Framework
11g Release 1 (11.1.1)
with Jdeveloper TP3 ,
By default, the application module Java class will look similar to what you see in
Example below when you've first enabled it. Of interest, it contains:
■ Getter methods for each view object instance in the data model
■ A main() method allowing you to debug the application module using the
Business Components Browser
[package devguide.model;
import devguide.model.common.StoreServiceAM;
import oracle.jbo.server.ApplicationModuleImpl;
import oracle.jbo.server.ViewLinkImpl;
import oracle.jbo.server.ViewObjectImpl;
// --- File generated by Oracle ADF Business Components Design Time.
// --- Custom code may be added to this class.
// --- Warning: Do not modify method signatures of generated methods.
public class StoreServiceAMImpl extends ApplicationModuleImpl {
/** This is the default constructor (do not remove) */
public SRServiceImpl() { }
/** Sample main for debugging Business Components code using the tester */
public static void main(String[] args) {
launchTester("devguide.model", /* package name */
"SRServiceLocal" /* Configuration Name */);
/** Container's getter for YourViewObjectInstance1 */
public ViewObjectImpl getYourViewObjectInstance1() {
return (ViewObjectImpl)findViewObject("YourViewObjectInstance1");
// ... Additional ViewObjectImpl getters for each view object instance
// ... ViewLink getters for view link instances here
when i try this i didn't find the default generation for main method
have i do something before enable custom java file for Application module
hope to hear from you soonhi nonStop
Since you are using Jdeveloper TP3, this might be a better place to ask your question:
"JDeveloper and OC4J 11g Technology Preview"
JDeveloper and OC4J 11g Technology Preview
success
Jan Vervecken -
9.7.3 Default Code Generation for a Custom Class for an Application Module
hi all
Oracle® Fusion Middleware
Fusion Developer’s Guide for Oracle Application Development
Framework
11g Release 1 (11.1.1)
with Jdeveloper TP3 ,
By default, the application module Java class will look similar to what you see in
Example below when you've first enabled it. Of interest, it contains:
■ Getter methods for each view object instance in the data model
■ A main() method allowing you to debug the application module using the
Business Components Browser
[package devguide.model;
import devguide.model.common.StoreServiceAM;
import oracle.jbo.server.ApplicationModuleImpl;
import oracle.jbo.server.ViewLinkImpl;
import oracle.jbo.server.ViewObjectImpl;
// --- File generated by Oracle ADF Business Components Design Time.
// --- Custom code may be added to this class.
// --- Warning: Do not modify method signatures of generated methods.
public class StoreServiceAMImpl extends ApplicationModuleImpl {
/** This is the default constructor (do not remove) */
public SRServiceImpl() { }
/** Sample main for debugging Business Components code using the tester */
public static void main(String[] args) {
launchTester("devguide.model", /* package name */
"SRServiceLocal" /* Configuration Name */);
/** Container's getter for YourViewObjectInstance1 */
public ViewObjectImpl getYourViewObjectInstance1() {
return (ViewObjectImpl)findViewObject("YourViewObjectInstance1");
// ... Additional ViewObjectImpl getters for each view object instance
// ... ViewLink getters for view link instances here
when i try this i didn't find the default generation for main method
have i do something before enable custom java file for Application module
hope to hear from you soonhi nonStop
Since you are using Jdeveloper TP3, this might be a better place to ask your question:
"JDeveloper and OC4J 11g Technology Preview"
JDeveloper and OC4J 11g Technology Preview
success
Jan Vervecken -
Customer balance display shows different balance than Profit center balance
Dear All
Customer balance display shows different balance than
Customer balance with profit center.
Adivse us for the same.
ViralHi
Please run 1KEK and then check the balances.
payables and receivables cannot be transferred to Profit Center Accounting online. You must always transfer them periodically.
The purpose of this activity(1KEK) is to:
1. create the opening balances for payables and receivables
2. transfer the balance changes for payables and receivables periodically
Thanks
Prasad -
Different Modules from BW point of View
Hi Experts,
I am new learner please let me know the important information and concepts of different modules like SD,MM,FI Etc from the perspective of BW.
What should I learn from these modules which is releated to BW.
If some one asks me about these modules keeping in the view of BW what do I need to ans the please give me the weblink or Points that would really greatful.
Thank you in advance.Hi,
As a BW consultant it would be imperative to know if a few mandatory things that are related to all the modules. These mandatory topics cover
- knowledge of business processes.
- how each business process impacts a table in SAP R/3 - ECC.
- how are the tables integrated with each other for eg. Header - item - schedule line tables integration in SD /MM, Info records and Condition tables in MM etrc.
- how are these tables linked to the standard data sources through the extractors.
Knowing the above information to start with should give you a good start. It is important to have a constand dialogue with the functional consultants who will be able to help you out with the above information.
You can also follow the links given below :
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=33768
http://wiki.sdn.sap.com/wiki/display/ERPLO/FrequentlyUsedTables
Cheers
Umesh -
Share Global structure for different module and include
Hi,
How can shared the data declaration for different module and include??
Regards,
KitDeclare your variables in TOP include of the function group.
a® -
How to prevent re-login when switching in the application between different module in 6.1.1.1.11?
Please help me to figure out this or resolve this issue?Be sure to check that your Remoting Container service is running. If it is not, restart the service, and if it goes down again, check the event logs.
Make sure that the AuthenticationBridgeService is enabled in your EnvironmentSettings.config, and the remoting container user is configured using the SetupAssistant.
<RemotingContainer>
<ConfigInfo configChildKey="key">
<add key="UserID" value="@@VAR:Prodika.RemotingContainer.SysUser@@" />
</ConfigInfo>
<!-- Set the following services isActive flag to 'true' or 'false' -->
<RemoteServices configChildKey="name">
<Service
name="AuthenticationBridgeService"
port="@@VAR:Prodika.AuthenticationBridge.Port@@"
isActive="true" />
If the Remoting Container Service fails, please contact Support with details from the event logs. -
Customer : Exception 7 in function module VIEW_KUxxV
Hi,
While Billing facing this problem
00 Customer : Exception 7 in function module VIEW_KUxxV
10 The bill-to party could not be determined
10 The payer could not be determined
tx in advance
Bhushan KolteHello Colleague;
Please check the account group assignment to the partner functions in
transaction VOPA click on partner function button then environment
then Account group assignment. Please ensure that this is all configured
correctly for the partners.
Please also review the note
-> 80233 Debit-side settlement: Customizing, error messages
In particular the section:
VF083: 'Customer &: Exception & in function module VIEW_KUAGV'
The error message is generated because of a program error that
has since been corrected. The correct error message is VP304,
'Customer belongs to customer group & and thus cannot be the
sold-to party'.
The partner roles in the customer master are incorrectly set, see
below.
Recommendation: Assign the customer an account group which
already fulfills these criteria. (In the standard system, this is
Account group '0001).
I hope this helps resolve the error.
Regards
Ruy Castro -
ML Activation after two years of implementation of other modules..
Hi,
After two years of implementation of all modules, we are planning to activate the ML. Can you suggest what sort of problems we can face during ML Activation..
RegardsConnection timed out to what? Everything? If so, then before wiping your disk, reinstalling, further deleting your keychain entries or other related activities, please check with your ISP and see if there's a network outage, or if you've exceeded some download quota.
-
Initial Steps in Implementing SAP FICO Module
Hi Peers
I'm a team member in a fresh Implementation for a manufacturing company for FICO. I want to know what are the action steps to be taken before going to implement. Plz help me in how to go about the implementation of FICO module.
Regards
RajaramHi,
First you need to know the organizational structure of that company because this will be your guide in determining the org units to configure in the system. Second, you should do mapping of business transactions/scenarios. What they want to do and what SAP can do so that you can determine any gaps and find solution to meet the gap. =). -
Books related with different modules
hi everybody,
can u plz tell me which are the best books to know basic functional knowledge in different module MM SD FI...and also for smartforms bapi.Links for sd:
http://www.sapgenie.com/abap/tables_sd.htm
Please check this SD online documents.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCSD/CAARCSD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_SD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSD/BCBMTWFMSD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOLISPLN/LOLISPLN.pdf
Also please check this SD links as well.
http://help.sap.com/saphelp_47x200/helpdata/en/92/df293581dc1f79e10000009b38f889/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/dd/55f33e545a11d1a7020000e829fd11/frameset.htm
http://www.sap-basis-abap.com/sapsd.htm
http://www.sap-img.com/sap-sd.htm
http://www.sapgenie.com/abap/tables_sd.htm
http://searchsap.techtarget.com/featuredTopic/0,290042,sid21_gci961718,00.html
http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/SD_tutorial.html
All help ebooks are in PDF format here
http://www.easymarketplace.de/online-pdfs.php
Regards. -
HI,
to all experts.
i am facing a problem..plzzz help
we have several different modules which are .ear file..
now we have to combine those modules into one a big application,and we want to add new modules also..this is one task..
the other one is,we 've already delivered some modules to client.now the client want to update his application by adding the new modules .he doesn't want to change his entire application.
those modules r in ear format.
we have to develope an executable which detects already existing modules and it should add the new modules..
the technologies what we used is Jsp,servlets...ant
what we r going to use is ejb3.0,ant,other tech like xml also..
Any ideas how to do,
ThanksHi,
As a BW consultant it would be imperative to know if a few mandatory things that are related to all the modules. These mandatory topics cover
- knowledge of business processes.
- how each business process impacts a table in SAP R/3 - ECC.
- how are the tables integrated with each other for eg. Header - item - schedule line tables integration in SD /MM, Info records and Condition tables in MM etrc.
- how are these tables linked to the standard data sources through the extractors.
Knowing the above information to start with should give you a good start. It is important to have a constand dialogue with the functional consultants who will be able to help you out with the above information.
You can also follow the links given below :
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=33768
http://wiki.sdn.sap.com/wiki/display/ERPLO/FrequentlyUsedTables
Cheers
Umesh
Maybe you are looking for
-
Creation of tables in SAP R/3
Hi all, I am new to SAP. i would like to know how to create tables in SAP R/3. what is T-code fot that. regards, santosh
-
X1600 in the 15-Inch Vs. 17-Inch
I've heard rumors that the video card in the 15-Inch MacBook Pro maybe slower than the one in the 17-Inch MacBook Pro. My question is: is that true? And if so, is it worth getting the 17-Inch for that reason? See, I personally want a fully loaded 15-
-
I Continue to get the message my Apple ID is inactive. I have reset my passcode and this doesn't seem to help.
-
Working jmeter javaserver faces jsf - how create an XPath to keep the ViewS
Hi all, I've searching and I found this http://forums.sun.com/thread.jspa?threadID=664673&messageID=4418665#4418665 ... I manage to test JSF 1.2 using JMeter but there is a trick, even if you are using the HTTP Proxy: 1) The first HTTP request get a
-
I can't download iOS 6 on my iPad 2 it always says error ! Why?
Plz help mere