Help needed - Transaction Level Comments
Need your help on solution for the following requirement :
Transaction level comments:
A) Need to add comments at customer line item display. User id, Date and Timestamp should be auto captured once note/comment is entered/saved.Comments once entered should not be editable/modifiable
B) Users should be able to see the running logs of comments earlier entered with more recent ones at the top (descending order).
C) Each AR line item need to have a follow-up date for each AR-line item, which will drive their work.
Please help
Need your help on solution for the following requirement :
Transaction level comments:
A) Need to add comments at customer line item display. User id, Date and Timestamp should be auto captured once note/comment is entered/saved.Comments once entered should not be editable/modifiable
B) Users should be able to see the running logs of comments earlier entered with more recent ones at the top (descending order).
C) Each AR line item need to have a follow-up date for each AR-line item, which will drive their work.
Please help
Similar Messages
-
Help needed - transaction atomicity did not happen
Hi -
We recently encountered a strange problem. Due to a bad search query in another
application, our Oracle RDBMS was running our of SGA and causing transactions
to fail.
What makes us worry more is that we had transactions spanning 2 entity beans part
committed and part rollbacked! The following scenario describes:
In a single method XX within a Session Bean facade, we have
call entity bean A to create (CMP, transaction REQUIRED)
call entity bean B to create (CMP, transaction REQUIRED)
.some logging info here at point 1
From our debug log, the program cleary runs to point 1. And the data written
by entity bean B was committed and found in database. But the one written by
entity Bean A is NOT! There is an exception for rollback in the log.
Q1. How does container commit work? Can an execution continue till the return
of method XX before the container tries to commit and get an error?
Q2. Also, why isn't the whole transaction rollbacked? What are we missing?
We are using TxDataSource, and db driver is weblogic.jdbc.oci.Driver.
Any help and pointer appreciated. Thanks!
ph
Sounds as if your session facade method XX does not open a transaction.
Then you have two transactions, A and B, which can be rolled back or
committed independent of each other.
Try setting transaction required for the method XX.
Also, in the entity beans, you can use
weblogic.transaction.TxHelper.getTransaction().getName() or getXid() to
find out if A and B use the same transaction or different ones.
Philip
Pow-hwee Tan wrote:
> Hi -
>
> We recently encountered a strange problem. Due to a bad search query in another
> application, our Oracle RDBMS was running our of SGA and causing transactions
> to fail.
>
> What makes us worry more is that we had transactions spanning 2 entity beans part
> committed and part rollbacked! The following scenario describes:
>
> In a single method XX within a Session Bean facade, we have
>
> call entity bean A to create (CMP, transaction REQUIRED)
> call entity bean B to create (CMP, transaction REQUIRED)
> .some logging info here at point 1
>
> From our debug log, the program cleary runs to point 1. And the data written
> by entity bean B was committed and found in database. But the one written by
> entity Bean A is NOT! There is an exception for rollback in the log.
>
> Q1. How does container commit work? Can an execution continue till the return
> of method XX before the container tries to commit and get an error?
>
>
> Q2. Also, why isn't the whole transaction rollbacked? What are we missing?
>
> We are using TxDataSource, and db driver is weblogic.jdbc.oci.Driver.
>
> Any help and pointer appreciated. Thanks!
>
> ph
>
-
I am creating a level based hierarchy for the Date Dimension
year --> quarter --> month --> date (one path)
year .--> month --> date (the second path).
I create the pivot table using these dim hierarchies. But the problem is,
when I click on, say "Month" under year 2012, it expands everything above 2012 (such as 2010, 2011 etc).
I don't want to expand all the years, but only the one I clicked. Anyone knows what is the solution for that.
I am sorry that I cannot attach any screen shots to explain better.
I would really appreciate your help on this.
Thanks
JDI am using OBIEE 11.1.1.7.0.
ok, I tried one hierarchy per dim table but didn't work too. When I created a logical column as Month + Year (e.g Jan 2014) and added to the hierarchy, its working fine. But that creates other issues on the
client side.
I guess, since the month is common to all the years its expanding when clicked. I also added month and year as "chronological key", but that didn't work either.
Please advice any solution if you know it. -
Need help on Multi level menu implementation
Hi All,
Need help on Multi level menu implementation
Thanks,
AnuHi Anu,
Please go through this link Implement Multilevelmenu navigation
Thanks, -
EDI IDOC generation for interface with Vendor software help needed.
EDI IDOC help needed.
We are NOT an EDI shop, but have a project to output data to Sales Force.com
Sales Force requests IDOC output - eg. 810 Outbound Invoice.
We will need to do a historical load of Orders/Quotes/Invoices from the past 2 years.
Is there a function module or series of FM's that are used to generate the E2EDKxxxxx type segments?
I have been testing using the IDOC_OUTPUT_INVOIC and IDOC_OUTPUT_ORDRSP FM's, but they generate segments begining with E1EDKxxxxx.
Basicall we have a report program that the user enteres in the date range of Order/Quotes/Invoices they wish to extract, the the program needs to output a flat file (.txt) on the server which is then picked up by Sales Force.com.
Also, is there a way to have in the Partner Profile a generic Partner under the "Type KU" that can be used for all orders/invoices so I don't have to create a KU Partner Type for each and every Sold-To customer we have?
I am very new to EDI so any help would be greatly appreciated.
Thanks.
Scott.Hi Scott,
We will need to do a historical load of Orders/Quotes/Invoices from the past 2 years.
I know it's very tempting to use an interface for such loads if you anyhow have to create one. However, often the volume alone speaks against interface usage for such scenarios.
Is there a function module or series of FM's that are used to generate the E2EDKxxxxx type segments? I have been testing using the IDOC_OUTPUT_INVOIC and IDOC_OUTPUT_ORDRSP FM's, but they generate segments begining with E1EDKxxxxx.
Well, the E2* segments basically reflect the external name of the IDoc segment, whereas the function modules you're referring to basically just create an internal version of the IDoc. Once the IDoc framework then passes the IDocs to the partner, the segment names usually (depends on how the IDocs are passed on) get converted to their external name. If there are multiple versions of a segment, then the version number will be appended to the segment name.
Note that IDoc segment definitions are only partially stored in the data dictionary. If you want to see all versions you should always use transaction WE31 to look at segments. There you can also see for example for E1EDK01 the several versions and when you then use in SE37 function module SEGMENT_EXTERNAL_NAME_GET you will see what SAP produces as the external name for segment E1EDK01. This function module is basically the one that handles the segment name translations.
Ignore the comments for subsystem, this is basically an option in SAP to possibly trigger further external tools (e.g. mapping etc.) for handling the outbound IDocs.
Again, the funny thing is that via the WE30 transaction, if i put in INVOIC02 as the Obj. name and see the segments, i can see that E2EDK01 there is a version 005, but if i go to SE11 and put in E2EDK01005 structure line and i get a "not found". We just have up to E2EDK01002.
In the old days SAP used to generate E1, E2 and E3* structures in the data dictionary (SE11). The E1* structure reflected the character type representation of an IDoc segment, whereas the other two (definition and documentation) contained actual references to data elements (e.g. if you used a quantity field). However, in newer releases those dictionary structures (E2* & E3*) are no longer generated, because they're superfluous (meta data defined via WE31 is sufficient).
Cheers, harald -
BC4J - Transaction level Validations
I need to introduce in my software some Transaction Level Validations (like an order mus have at least 1 detail, or a company must have 1 and only 1 president).
Where can I put this kind of "validations" in the BC4J Framework ?
TIA
TullioAs far As I know, you can put this kind of validation:
1) directly in the database, using constraints and/or triggers.
2) In the Associations objects between the entity objects, by specifying the cardinality of the relationships, in the last tab of the association wizard. I have never tested it though, therefore I'm not sure it works this way.
3) In the Entity object wizard validation tab, you can specify a custom validation method for the whole entity.
What you have to do is implement a method in the YourEntityImpl class, perform as many checks as you wish in this method (you can use all the association accessors etc...) and then select it as the validation method for the entity in the entity object wizard.
Hope this helps.
Remi -
Transaction level response time goal
Hi
We have a test suite consisting of coded web tests for load and performance testing. We want to define response time goals at a transaction level and not at a web request level. Our application under test makes multiple web service calls per single user
interaction and our scripts group these web service calls in a transaction.
We have seen that it is possible to add a response time goal to an individual request but we need to know the performance of the sum of these requests i.e. the transaction. As a very basic example:
this.BeginTransaction("Transaction1");
WebTestRequest request1 = new WebTestRequest("Some URL1");
yield return request1;
request1 = null;
WebTestRequest request2 = new WebTestRequest("Some URL2");
yield return request2;
request2 = null;
this.EndTransaction("Transaction1");
We need to know if Transaction1 completes in 5 seconds irrespective of how the underlying requests perform. Is a Transaction-level goal possible?
Thanks,
MirenHi Miren,
As far as I know, the Transaction doesn't have the response time goal property. It is used for every request by design.
Reference:
https://msdn.microsoft.com/en-us/library/ms404691(v=vs.110).aspx
You could submit this feature request:
http://visualstudio.uservoice.com/forums/121579-visual-studio.
The Visual Studio product team is listening to user voice there. You can send your idea there and people can vote.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Help needed! Raid degraded again!
Hi!
Help needed! I hava made bootable RAID with two S-ATAII 250Gb HDD and its not working! Every now and then at bootup I get a message RAID -> DEGRADED... Must be seventh time! Rebuild takes its own time!
What am I doing wrong!
T: Ekku
K8N Neo4 Ultra
AMD 64 4200+
2 Gb RAM
2 x 250 Gb HDD (Maxtor)
nVidia RAID (in mb)
P.S. I wery SORRY with my poor language!I'm going to blame the nVRAID because I've seen issues with it in the past. If your motherboard has another non-nVidia RAID solution, use that instead. Using the nVidia SATA ports as BASE or JBOD is fine and dandy but RAIDing always had issues. It's not even a driver issue I think it's just instability. Latest drivers and even boxed drivers never helped. Granted, some will report success with their rig. But on a professional level I've seen nForce issues on different motherboards and different hard drives that had RAID disaster stories.
Good luck and if you don't have another RAID solution, my suggestion would be to buy a dedicated RAID controller card.
LPB -
Help needed : Extension manager cs6 not listing products
Help needed to Adobe extension manager cs6 to show all my cs6 products
I downloaded Extension manager from here Adobe - Exchange : Download the Adobe Extension Manager
My Computer windows xp 32bit
My Photosop version cs6
My Dreamweaver version cs6
I installed photoshop here : C:\Program Files\Adobe\Adobe Dreamweaver CS6
and my XManConfigfile
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<VariableForExMan>
<Data key="$sharedextensionfolder">$shareddatafolder/Adobe/Dreamweaver CS6/$LOCALE/Configuration/Extensions</Data>
<Data key="$dreamweaver">$installfolder</Data>
<Data key="$dreamweaver/Configuration">$userdatafolder/Adobe/Dreamweaver CS6/$LOCALE/Configuration</Data>
<Data key="$UserBinfolder">$userdatafolder/Adobe/Dreamweaver CS6/$LOCALE</Data>
<Data key="NeedOperationNotification">true</Data>
<Data key="QuitScript">dw.quitApplication()</Data>
<Data key="SupportedInSuite">CS6</Data>
<Data key="HostNameForCSXS">DRWV</Data>
<Data key="ProductVersion">12.0</Data>
<Data key="Bit">32</Data>
<Data key="DefaultLocale">en_US</Data>
</VariableForExMan>
</Configuration>
Extension manager installed here : C:\Program Files\Adobe\Adobe Extension Manager CS6
Photoshop Installed here: C:\Program Files\Adobe\Adobe Photoshop CS6
and my XManConfigfile
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<VariableForExMan>
<Data key="EmStorePath">$SharedRibsDataFolder/Adobe/Extension Manager</Data>
<Data key="$photoshopappfolder">$installfolder</Data>
<Data key="$pluginsfolder">$photoshopappfolder/Plug-Ins</Data>
<Data key="$presetsfolder">$photoshopappfolder/Presets</Data>
<Data key="$platform">Win</Data>
<Data key="$actions">$presetsfolder/Actions</Data>
<Data key="$blackandwhite">$presetsfolder/Black and White</Data>
<Data key="$brushes">$presetsfolder/Brushes</Data>
<Data key="$channelmixer">$presetsfolder/Channel Mixer</Data>
<Data key="$colorbooks">$presetsfolder/Color Books</Data>
<Data key="$colorrange">$presetsfolder/Color Range</Data>
<Data key="$colorswatches">$presetsfolder/Color Swatches</Data>
<Data key="$contours">$presetsfolder/Contours</Data>
<Data key="$curves">$presetsfolder/Curves</Data>
<Data key="$customshapes">$presetsfolder/Custom Shapes</Data>
<Data key="$duotones">$presetsfolder/Duotones</Data>
<Data key="$exposure">$presetsfolder/Exposure</Data>
<Data key="$gradients">$presetsfolder/Gradients</Data>
<Data key="$huesat">$presetsfolder/Hue Sat</Data>
<Data key="$imagestatistics">$presetsfolder/Image Statistics</Data>
<Data key="$keyboardshortcuts">$presetsfolder/Keyboard Shortcuts</Data>
<Data key="$layouts">$presetsfolder/Layouts</Data>
<Data key="$lenscorrection">$presetsfolder/Lens Correction</Data>
<Data key="$levels">$presetsfolder/Levels</Data>
<Data key="$liquifymeshes">$presetsfolder/Liquify Meshes</Data>
<Data key="$menucustomization">$presetsfolder/Menu Customization</Data>
<Data key="$optimizedcolors">$presetsfolder/Optimized Colors</Data>
<Data key="$optimizedoutputSettings">$presetsfolder/Optimized Output Settings</Data>
<Data key="$optimizedsettings">$presetsfolder/Optimized Settings</Data>
<Data key="$patterns">$presetsfolder/Patterns</Data>
<Data key="$reducenoise">$presetsfolder/Reduce Noise</Data>
<Data key="$replacecolor">$presetsfolder/Replace Color</Data>
<Data key="$scripts">$presetsfolder/Scripts</Data>
<Data key="$selectivecolor">$presetsfolder/Selective Color</Data>
<Data key="$shadowhighlight">$presetsfolder/Shadow Highlight</Data>
<Data key="$smartsharpen">$presetsfolder/Smart Sharpen</Data>
<Data key="$styles">$presetsfolder/Styles</Data>
<Data key="$textures">$presetsfolder/Textures</Data>
<Data key="$tools">$presetsfolder/Tools</Data>
<Data key="$variations">$presetsfolder/Variations</Data>
<Data key="$webphotogallery">$presetsfolder/Web Photo Gallery</Data>
<Data key="$workspaces">$presetsfolder/Workspaces</Data>
<Data key="$zoomify">$presetsfolder/Zoomify</Data>
<Data key="$hueandsaturation">$presetsfolder/Hue and Saturation</Data>
<Data key="$lights">$presetsfolder/Lights</Data>
<Data key="$materials">$presetsfolder/Materials</Data>
<Data key="$meshes">$presetsfolder/Meshes</Data>
<Data key="$rendersettings">$presetsfolder/Render Settings</Data>
<Data key="$volumes">$presetsfolder/Volumes</Data>
<Data key="$widgets">$presetsfolder/Widgets</Data>
<Data key="$localesfolder">$photoshopappfolder/Locales</Data>
<Data key="$additionalplugins">$localesfolder/$LOCALE/Additional Plug-ins</Data>
<Data key="$additionalpresets">$localesfolder/$LOCALE/Additional Presets</Data>
<Data key="$localeskeyboardshortcuts">$localesfolder/$LOCALE/Additional Presets/$platform/Keyboard Shortcuts</Data>
<Data key="$localesmenucustomization">$localesfolder/$LOCALE/Additional Presets/$platform/Menu Customization</Data>
<Data key="$localesworkspaces">$localesfolder/$LOCALE/Additional Presets/$platform/Workspaces</Data>
<Data key="$automate">$pluginsfolder/Automate</Data>
<Data key="$digimarc">$pluginsfolder/Digimarc</Data>
<Data key="$displacementmaps">$pluginsfolder/Displacement Maps</Data>
<Data key="$effects">$pluginsfolder/Effects</Data>
<Data key="$extensions">$pluginsfolder/Extensions</Data>
<Data key="$fileformats">$pluginsfolder/File Formats</Data>
<Data key="$filters">$pluginsfolder/Filters</Data>
<Data key="$imagestacks">$pluginsfolder/Image Stacks</Data>
<Data key="$importexport">$pluginsfolder/Import-Export</Data>
<Data key="$measurements">$pluginsfolder/Measurements</Data>
<Data key="$panels">$pluginsfolder/Panels</Data>
<Data key="$parser">$pluginsfolder/Parser</Data>
<Data key="$3dengines">$pluginsfolder/3D Engines</Data>
<Data key="$lightingstyles">$pluginsfolder/Filters/Lighting Styles</Data>
<Data key="$matlab">$photoshopappfolder/MATLAB</Data>
<Data key="UserExtensionFolder">$photoshopappfolder</Data>
<Data key="$photoshop">$UserDataFolder/Adobe/Adobe Photoshop CS6/Configuration</Data>
<Data key="DisplayName">Photoshop CS6 32</Data>
<Data key="ProductName">Photoshop32</Data>
<Data key="FamilyName">Photoshop</Data>
<Data key="ProductVersion">13.0</Data>
<Data key="IconPath">Configuration/PS_exman_24px.png</Data>
<Data key="SupportedInSuite">CS6</Data>
<Data key="HostNameForCSXS">PHSP</Data>
<Data key="Bit">32</Data>
</VariableForExMan>
</Configuration>
Please someone help me i cant install any photoshop extension because of this issue,,,Waiting for your reply ...thanks
Here is the results
I installed photoshopcs6 illustrator cs6 dreamweaver cs6 illustrator cs6 in the system , But nothing seems
Result: BridgeTalk Diagnostics
Info:
Name = estoolkit-3.8
Status = PUMPING
Path
Version = 2.0
Build = ES 4.2.12
Next serial number = 40
Logging: = OFF
Now = 15:55:49
Messages:
Message Version = 2.05
Authentication = ON
Digest = ON
Thread: estoolkit-3.8#thread
Avg. pump interval = 55ms
Last pump = 62ms ago
Ping: 7
ECHO_REQUEST: ECHO_RESPONSE
Timeout = undefined
Handler = undefined
STATUS: PUMPING
Timeout = undefined
Handler = undefined
MAIN: MAIN
Timeout = undefined
Handler = installed
LAUNCHED: LAUNCHED
Timeout = undefined
Handler = installed
DIAGNOSTICS: DIAGNOSTICS
Timeout = undefined
Handler = installed
INFO: INFO
Timeout = undefined
Handler = installed
SETUPTIME: thread=0ms, left=16ms
Timeout = undefined
Handler = undefined
Instances: 3
estoolkit-3.8#dbg:
msg[15:55:49]: 00000035
@BT>Version = 2.05
Target = estoolkit-3.8#dbg
Sender = estoolkit-3.8#dbg
Sender-ID = localhost:win3788
Timeout = 15:55:50
Type = Ignore
Response-Request = Timeout
Headers = (no headers)
Timestamp = 15:55:49
Serial-Number = 35
Received = undefined
Result = undefined
Error = undefined
Body = (empty)
Incoming: 1
Outgoing: 0
Handler: 9
ExtendScript = for all messages
Error = for only msg #25
Error = for only msg #27
Error = for only msg #31
Result = for only msg #35
Error = for only msg #35
Timeout = for only msg #35
Result = for only msg #37
Error = for only msg #37
estoolkit-3.8#estk:
msg[15:55:49]: 00000037
@BT>Version = 2.05
Target = estoolkit-3.8#estk
Sender = estoolkit-3.8#dbg
Sender-ID = localhost:win3788
Timeout = 16:05:49
Type = Debug
Response-Request = Result Error
Headers = (no headers)
Timestamp = 15:55:49
Serial-Number = 37
Received = undefined
Result = undefined
Error = undefined
Body: 107 bytes
Text = <get-properties engine="main" object="$.global" exclude="undefined,builtin,prototype" all="true" max="20"/>
Incoming: 1
Outgoing: 0
Handler: 1
ExtendScript = for all messages
estoolkit-3.8: (main)
Incoming: 0
Outgoing: 0
Handler: 1
ExtendScript = for all messages
Targets: 1
Connector = PCD
Installed: 0
Running: 0
exman-6.0:
Path = C:\Program Files\Adobe\Adobe Extension Manager CS6\Adobe Extension Manager CS6.exe
Display Name = Adobe Extension Manager CS6
MsgAuthentication = ON
MsgDigest = ON
ESTK = OFF
BundleID = com.adobe.exman
Status = (not running)
ExeName = Adobe Extension Manager CS6.exe
Installed: 1
Running: 0
Groups = (no groups defined) -
Help needed in PS module on CJ9ECP/CJ20N for revaluating CCR??
help needed in PS module on CJ9ECP/CJ20N for revaluating CCR??
How to handle method on_costing_component_to_outtab which belongs to badi gui_itemization_ck. This is to revaluate CCR in CJ20N.
From sale transaction(va01/va02) i need to call cj20n/cj9ecp for revaluating cost estimates. Can anyone say how to proceed with this thing.
Can any one say how to handle pop up window in CJ20N/CJ9ECP when clicked edit ecp button. Later how to revaluate cost estimates. For this should i need to go for call transaction or is there any method available. If so how to handle method for revaluating cost estimates for ECP of WBS elementsThanks Amol for the advice.
My friend doesn't belong to an engineering background and had not worked in a manufacturing environment.
He holds an MBA degree specialised in systems and has worked in software companies supporting software projects and the functions(like HR,Procurement in the same setup) as a software quality guy.
Moreover the modules mentioned by you requires engineering background with manufacturing exposure.
He had enquired for the course at siemens and they said that he may not be suitable for any of the modules offered by them as per the above reasons.They also mentioned that they have to check with SAP Labs for expert opinion.
Please provide your inputs.
regards,
Zubair. -
Help needed to loadjava apache poi jars into oracle database.
Help needed to loadjava apache poi jars into oracle database. Many classes left unresolved. (Poi 3.7, database 11.1.0.7). Please share your experience!
Hi,
The first 3 steps are just perfect.
But with
loadjava.bat -user=user/pw@connstr -force -resolve geronimo-stax-api_1.0_spec-1.0.jar
the results are rather unexpected. Here is a part of the log file:
arguments: '-user' 'ccc/***@bisera7-db.dev.srv' '-fileout' 'c:\temp\load4.log' '-force' '-resolve' '-jarsasdbobjects' '-v' 'geronimo-stax-api_1.0_spec-1.0.jar'
The following operations failed
resource META-INF/MANIFEST.MF: creation (createFailed)
class javax/xml/stream/EventFilter: resolution
class javax/xml/stream/events/Attribute: resolution
class javax/xml/stream/events/Characters: resolution
class javax/xml/stream/events/Comment: resolution
class javax/xml/stream/events/DTD: resolution
class javax/xml/stream/events/EndDocument: resolution
class javax/xml/stream/events/EndElement: resolution
class javax/xml/stream/events/EntityDeclaration: resolution
class javax/xml/stream/events/EntityReference: resolution
class javax/xml/stream/events/Namespace: resolution
class javax/xml/stream/events/NotationDeclaration: resolution
class javax/xml/stream/events/ProcessingInstruction: resolution
class javax/xml/stream/events/StartDocument: resolution
class javax/xml/stream/events/StartElement: resolution
class javax/xml/stream/events/XMLEvent: resolution
class javax/xml/stream/StreamFilter: resolution
class javax/xml/stream/util/EventReaderDelegate: resolution
class javax/xml/stream/util/StreamReaderDelegate: resolution
class javax/xml/stream/util/XMLEventAllocator: resolution
class javax/xml/stream/util/XMLEventConsumer: resolution
class javax/xml/stream/XMLEventFactory: resolution
class javax/xml/stream/XMLEventReader: resolution
class javax/xml/stream/XMLEventWriter: resolution
class javax/xml/stream/XMLInputFactory: resolution
class javax/xml/stream/XMLOutputFactory: resolution
class javax/xml/stream/XMLStreamReader: resolution
resource META-INF/LICENSE.txt: creation (createFailed)
resource META-INF/NOTICE.txt: creation (createFailed)
It seems to me that the root of the problem is the error:
ORA-29521: referenced name javax/xml/namespace/QName could not be found
This class exists in the SYS schema though and is valid. If SYS should be included as a resolver? How to solve this problem? -
Help needed for using BASIC authentication through JDBCRealm
Help needed.
Hello,
I am doing a degree project, so far it works fine in my local machine, I need to try it on my virtual hosting (as it is a live server).
My project requires JDBCRealm, that is BASIC authentication loading access data from mysql database. Normally this setup can be done in Server.xml file, because my Tomcat hosting is a virtual one, I only have permission to access the web.xml file.
My question is: is it possible to get it done in an alternative way? In web.xml? Some properties file maybe?
Thank you very much.You can set this up for your context using META-INF/context.xml instead of working with server.xml.
Make a directory called META-INF under your webapp ( it'll be at the same level as WEB-INF ). Under this, add a context.xml with all your context specific configuration including the realm. A sample is below
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/myApp" reloadable="true">
<Realm
className="org.apache.catalina.realm.JDBCRealm"
driverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
connectionURL="jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=myDB;SelectMethod=Cursor;"
connectionName="username" connectionPassword="password"
digest="MD5" userTable="users" userNameCol="userid" userCredCol="userpassword"
userRoleTable="user_roles" roleNameCol="rolename"
/>
</Context>Hope this helps.
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
---------------------------------------------------------------- -
Help needed Displaying ALV Secondary list without using oops concept
Hi Experts
Help needed Displaying ALV Secondary list without using oops concept.
its urgent
regds
rajasekharhi chk this code
******************TABLES DECLARATION*****************
TABLES : VBAP,MARA.
*****************TYPE POOLS**************************
TYPE-POOLS : SLIS.
****************INTERNAL TABLES**********************
DATA : BEGIN OF IT_VBAP OCCURS 0,
VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
END OF IT_VBAP.
****************TEMPORARY VARIABLES******************
DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
*****************FIELD CATALOG***********************
DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
****************LAYOUT*******************************
DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
***************VARIANT*******************************
DATA : G_VARIANT LIKE DISVARIANT.
****************SAVE*********************************
DATA : G_SAVE(1) TYPE C.
*****************EVENTS******************************
DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
G_EVENTS TYPE SLIS_T_EVENT.
******************PF STATUS**************************
DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
******************USER COMMAND************************
DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
R_UCOMM LIKE SY-UCOMM.
****************SELECTION SCREEN************************
SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
***************AT SELECTION SCREEN*********************
AT SELECTION-SCREEN.
PERFORM VALIDATE.
**************START-OF-SELECTION**************************
START-OF-SELECTION.
PERFORM GET_DETAILS.
PERFORM FIELDCAT.
PERFORM LAYOUT.
PERFORM VARIANT.
PERFORM SAVE.
PERFORM EVENTS.
PERFORM ALV_DISPLAY.
*********************FORMS*******************************************
*& Form validate
text
--> p1 text
<-- p2 text
FORM VALIDATE .
SELECT SINGLE VBELN
FROM VBAP
INTO V_VBELN
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'enter valid vbeln'.
ENDIF.
ENDFORM. " validate
*& Form get_details
text
--> p1 text
<-- p2 text
FORM GET_DETAILS .
SELECT VBELN
POSNR
MATNR
FROM VBAP
INTO TABLE IT_VBAP
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'no details found'.
ENDIF.
ENDFORM. " get_details
*& Form fieldcat
text
--> p1 text
<-- p2 text
FORM FIELDCAT .
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'VBELN'.
WA_FIELDCAT-OUTPUTLEN = 10.
WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'POSNR'.
WA_FIELDCAT-OUTPUTLEN = 6.
WA_FIELDCAT-SELTEXT_L = 'ITEM'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-OUTPUTLEN = 18.
WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. " fieldcat
*& Form LAYOUT
text
--> p1 text
<-- p2 text
FORM LAYOUT .
WA_LAYOUT-ZEBRA = 'X'.
ENDFORM. " LAYOUT
*& Form VARIANT
text
--> p1 text
<-- p2 text
FORM VARIANT .
CLEAR G_VARIANT.
G_VARIANT-REPORT = SY-REPID.
ENDFORM. " VARIANT
*& Form SAVE
text
--> p1 text
<-- p2 text
FORM SAVE .
CLEAR G_SAVE.
G_SAVE = 'A'.
ENDFORM. " SAVE
*& Form EVENTS
text
--> p1 text
<-- p2 text
FORM EVENTS .
CLEAR XS_EVENTS.
XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
XS_EVENTS-FORM = 'TOP_OF_PAGE'.
APPEND XS_EVENTS TO G_EVENTS.
ENDFORM. " EVENTS
*& Form TOP_OF_PAGE
text
FORM TOP_OF_PAGE.
WRITE :/ ' INTELLI GROUP'.
ENDFORM. "TOP_OF_PAGE
*& Form ALV_DISPLAY
text
--> p1 text
<-- p2 text
FORM ALV_DISPLAY .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = PF_STATUS
I_CALLBACK_USER_COMMAND = USER_COMMAND
I_STRUCTURE_NAME =
IS_LAYOUT = WA_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = G_SAVE
IS_VARIANT = G_VARIANT
IT_EVENTS = G_EVENTS
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_VBAP
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " ALV_DISPLAY
*& Form SET_PF_STATUS
text
FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'Z50651_PFSTATUS' EXCLUDING EXTAB.
ENDFORM. "SET_PF_STATUS
*& Form SET_USER_COMMAND
text
FORM SET_USER_COMMAND USING R_UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN 'DC'.
READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
IF SY-SUBRC = 0.
SELECT SINGLE MTART
FROM MARA
INTO V_MTART
WHERE MATNR = IT_VBAP-MATNR.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
ELSE.
WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
WRITE :/ 'MATERIAL TYPE :' , V_MTART.
ENDIF.
ENDIF.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
WHEN 'CLOSE'.
CALL TRANSACTION 'SE38'.
ENDCASE.
REPORT Z_ALV_INTERACTIVE MESSAGE-ID ZMSG_50651
LINE-SIZE 100
LINE-COUNT 60
NO STANDARD PAGE HEADING.
******************TABLES DECLARATION*****************
TABLES : VBAP,MARA.
*****************TYPE POOLS**************************
TYPE-POOLS : SLIS.
****************INTERNAL TABLES**********************
DATA : BEGIN OF IT_VBAP OCCURS 0,
VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
END OF IT_VBAP.
****************TEMPORARY VARIABLES******************
DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
*****************FIELD CATALOG***********************
DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
****************LAYOUT*******************************
DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
***************VARIANT*******************************
DATA : G_VARIANT LIKE DISVARIANT.
****************SAVE*********************************
DATA : G_SAVE(1) TYPE C.
*****************EVENTS******************************
DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
G_EVENTS TYPE SLIS_T_EVENT.
******************PF STATUS**************************
DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
******************USER COMMAND************************
DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
R_UCOMM LIKE SY-UCOMM.
****************SELECTION SCREEN************************
SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
***************AT SELECTION SCREEN*********************
AT SELECTION-SCREEN.
PERFORM VALIDATE.
**************START-OF-SELECTION**************************
START-OF-SELECTION.
PERFORM GET_DETAILS.
PERFORM FIELDCAT.
PERFORM LAYOUT.
PERFORM VARIANT.
PERFORM SAVE.
PERFORM EVENTS.
PERFORM ALV_DISPLAY.
*********************FORMS*******************************************
*& Form validate
text
--> p1 text
<-- p2 text
FORM VALIDATE .
SELECT SINGLE VBELN
FROM VBAP
INTO V_VBELN
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'enter valid vbeln'.
ENDIF.
ENDFORM. " validate
*& Form get_details
text
--> p1 text
<-- p2 text
FORM GET_DETAILS .
SELECT VBELN
POSNR
MATNR
FROM VBAP
INTO TABLE IT_VBAP
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'no details found'.
ENDIF.
ENDFORM. " get_details
*& Form fieldcat
text
--> p1 text
<-- p2 text
FORM FIELDCAT .
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'VBELN'.
WA_FIELDCAT-OUTPUTLEN = 10.
WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'POSNR'.
WA_FIELDCAT-OUTPUTLEN = 6.
WA_FIELDCAT-SELTEXT_L = 'ITEM'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-TABNAME = 'IT_VBAP'.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-OUTPUTLEN = 18.
WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. " fieldcat
*& Form LAYOUT
text
--> p1 text
<-- p2 text
FORM LAYOUT .
WA_LAYOUT-ZEBRA = 'X'.
ENDFORM. " LAYOUT
*& Form VARIANT
text
--> p1 text
<-- p2 text
FORM VARIANT .
CLEAR G_VARIANT.
G_VARIANT-REPORT = SY-REPID.
ENDFORM. " VARIANT
*& Form SAVE
text
--> p1 text
<-- p2 text
FORM SAVE .
CLEAR G_SAVE.
G_SAVE = 'A'.
ENDFORM. " SAVE
*& Form EVENTS
text
--> p1 text
<-- p2 text
FORM EVENTS .
CLEAR XS_EVENTS.
XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
XS_EVENTS-FORM = 'TOP_OF_PAGE'.
APPEND XS_EVENTS TO G_EVENTS.
ENDFORM. " EVENTS
*& Form TOP_OF_PAGE
text
FORM TOP_OF_PAGE.
WRITE :/ ' INTELLI GROUP'.
ENDFORM. "TOP_OF_PAGE
*& Form ALV_DISPLAY
text
--> p1 text
<-- p2 text
FORM ALV_DISPLAY .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = PF_STATUS
I_CALLBACK_USER_COMMAND = USER_COMMAND
I_STRUCTURE_NAME =
IS_LAYOUT = WA_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = G_SAVE
IS_VARIANT = G_VARIANT
IT_EVENTS = G_EVENTS
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_VBAP
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " ALV_DISPLAY
*& Form SET_PF_STATUS
text
FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'STANDARD' EXCLUDING EXTAB.
ENDFORM. "SET_PF_STATUS
*& Form SET_USER_COMMAND
text
FORM SET_USER_COMMAND USING R_UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN 'DC'.
READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
IF SY-SUBRC = 0.
SELECT SINGLE MTART
FROM MARA
INTO V_MTART
WHERE MATNR = IT_VBAP-MATNR.
IF SY-SUBRC <> 0.
MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
ELSE.
WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
WRITE :/ 'MATERIAL TYPE :' , V_MTART.
SUBMIT SLIS_DUMMY WITH P_MATNR EQ IT_VBAP-MATNR
WITH P_MTART EQ V_MTART.
ENDIF.
ENDIF.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
WHEN 'CLOSE'.
CALL TRANSACTION 'SE38'.
ENDCASE.
plz reward if useful -
Help Needed REP-1800 Formatter error VGS-1701 Not enough memory
Hi. Gents
Help needed
I’m working on a Report, it gets some 2 million records and the report pages are approximately 52,000
It works fine if the pages are lesser then 48,000 or the data is less let say one and half a million, the problem occurs only after 48000 + pages formatted.
Report is generated successfully when trying to go to the last page it throw an error.
REP-1800 Formatter error
VGS-1701 Not enough memory
I have already gone through the metalink DOC Id 95505.1 as well as OTN
But all in vain,
Any comments or help much appreciated.
Details are:
Reports 6i (Clients/Server) on Windows platform
(Windows XP Professional with SP 2)
Database: Oracle9i Enterprise Edition Release 9.2.0.5.0
Computer:
Pentium(R) 4, CPU 3.00GHz, 1 GB of RAM
Still 20 GB free space
Thanks & RegardsI don't see the point in making a report with more than 48,000 pages, I think Al Gore will not be happy when you start printing it...
The problem might be caused by the fact that Reports needs to format all output at once, and then even 1GB of memory will probably be not enough. Formatting all pages at once is needed if you use pagination with displaying total number of pages. If you have this, try to get that out of the report definition and try again. -
Field Status at Transaction Level
I want to change the field status for Business Place/ Section Code from Supress to Optional in transaction F-02.
How can I change Field status at Transaction Level ?Hi ,
FIelds Status can be changed by 2 ways
1, Posting Keys - any change in the Field status will Effect all the clients
2.Field Status Group Variant,which we assign in GL Master- Changes to FSG, Will Effect only Perticular Lilne Items of tht GL Account.
As Per your requirment, I do not think you can change the Field Status as Per Transcation i.e for F-02 or FB50 instead you can change the Field Status of perticular GL Account which you are posting the Transcation. which will b specific to the GL Account.
if you want the Changes across clients , you can change the Field Status By posting Keys.
Hope the Above Helps you .
Thanks
Goutam
Maybe you are looking for
-
Hi All, In my report ,I am using alv Grid display. In some columns data is not displaying. empty columns are displaying. But data is available in internal table, which i sent to the FM. i set "no_out = space". Plz help me. Reg
-
Problem Thin Driver with browser
I have an applet that used Oracle JDBC Driver (Thin) to connect my applet to Oracle DBMS. But i have two problem with this driver : 1. If on the client side doesnt have file of Oracle JDBC Driver(classes111.zip) or if environment variable CLASSPATH o
-
MacBook pro time problem (asking second time)
I have MacBook Pro mid 2012 with OS X Mavericks. The time on menu bar appears correct but the am/pm symbol keeps disappearing every now and again. Once it disappears it leaves a blank space. To fix it I click on time and chose analog clock and change
-
Creating a loop for this working script
I am successfully using this script I found to extract hyperlinks from RTF text: however I need to copy each file to the desktop and change the file name to do so. How can I add to the script the ability to 1 - choose a folder 2 - choose a destinatio
-
S.M.A.R.T error when trying to install Lion
Help please! I have purchased and downloaded Lion and when attempting to install it, I end up with a S.M.A.R.T error telling me my hard disk is screwed and needs to be replaced. I have looked at other threads about this problem and it seems there hav