ICSS:Accessing the XCM transaction param values
Hello Experts,
How do I get the Component Configuration details of xcm in java code in ICSS B2B?
say the value of create_trans_type.
I got the below method from ISA guide..but not understanding much.
getParamConfig("default").getProperty("myParam");
Can anybody explain how to achieve this?
Inputs will be appreciated.
Thanks & Regards,
Senthil.
Hi there,
Try http://service.sap.com/crm-inst the guide should also be available in solution manager.
Regards
Mark
Similar Messages
-
How can I access the art item dictionary value by the javascript
hi all,
Actully i am writing some plugin in c++ what it will do. this will store my custom property in art item dictinory .
and now i want to access that dictinory value by the javascript is it possible.
Regards
Ashish.we need to see the actual code to be able to tell
here's a sample from the documentation
//Setting tag values
// Adds tags to all RasterItems and PlacedItems in the current document
if ( app.documents.length > 0 ) {
doc = app.activeDocument;
if ( doc.placedItems.length + doc.rasterItems.length > 0 ) {
for ( i = 0; i < doc.pageItems.length; i++ ) {
imageArt = doc.pageItems[i];
if ( imageArt.typename == "PlacedItem"
|| imageArt.typename == "RasterItem") {
// Create a new Tag with the name AdobeURL and the
// value of the www link
urlTAG = imageArt.tags.add();
urlTAG.name = "AdobeWebSite";
urlTAG.value = "http://www.adobe.com/";
else {
alert( "No placed or raster items in the document" ); -
Problem in accessing the standard transaction from Portal through RFC
Below is the error we are getting when we run RFC (which has P60) from the portal(JAVA webdynpro) which inturn uses BDC to get the spool id from the standard p60(RPCEOYG0)..
Msgid "00"
Msgno "359"
Msgtx "The transaction was terminated by the user".
But if i keep the debugger inside the RFC after the call_transaction and if I press F8 then I am getting the correct output. Could some one tell me the reason behind this ?
thanks,
Prashanth J RHi,
It sounds to me like the BDC or some other component being called from your Z function module requires some sort of dialog interface (maybe an "Are you sure?" type message).
When calling RFC from Web Dynpro, you should ensure that at no point in the call stack does it try to perform any dialog functions (messages, pop-up box, display screens).
You mention that you BDC does a CALL TRANSACTION at some point, you should ensure that this isn't executed when you are calling by RFC from a Web Dynpro.
Your Z function module should be able to execute from start to finish, returning the results without any dialog interaction.
I might be wrong, but it sounds similar to a problem we had a few years ago where someone had coded an "Are you sure?" message into a function module that was called from a stadard R/3 dialog screen as well as Web Dynpro in the Portal, and it broke the portal based stuff.
Cheers,
Chris -
Hi Folks,
Users getting the frequent dumps in production systems. actaully we observed that dumps are coming when the users accessing the MFBF transaction manually when the batch job was running for backflush and NRIV (number ranges) table is getting locked.
The dump details is:
ABAP/4 runtime error DBIF_RSQL_SQL_ERROR
Occurred on 16.04.2007 at 15:57:10
>> Short dump has not been completely stored. It is too big.
SQL error 60 occurred when accessing table "NRIV ".
What happened?
The database system detected a deadlock and avoided it by rolling back
your transaction.
Information on where termination occurred
The termination occurred in the ABAP/4 program "SAPLSNR3" in
"READ_NRIV".
The main program was "SAPLBARM".
The termination occurred in line 231
of the source code of program "LSNR3F01" (when calling the editor 2310).
The error occurred during batch input processing
Source code extract
002010 NRIV-TOYEAR = BNRIV-TOYEAR.
002020 G_FOUND = YES.
002030 WHEN 4.
002040 WHEN OTHERS.
002050 G_ERROR_IN_BUFFER = YES.
002060 ENDCASE.
002070 ENDIF.
002080
002090 IF BUFFER_ACTIVE = NO OR G_ERROR_IN_BUFFER = YES.
002100 * Die Pufferversion ist nicht aktiv oder es wurde bereits
002110 * ein Fehler im Puffer oder NrKreisServer festgestellt.
002120 * Gⁿltiges NrKreisIntervall mit Bis-GeschΣftsjahr aus der
002130 * DB ermitteln
002140 *
002150 SELECT * FROM NRIV WHERE OBJECT = P_OBJECT
002160 AND SUBOBJECT = P_SUBOBJECT
002170 AND NRRANGENR = P_NR_RANGE_NR
002180 AND TOYEAR >= P_TOYEAR
002190 ORDER BY PRIMARY KEY.
002200 G_FOUND = YES.
002210 EXIT.
002220 ENDSELECT.
002230 ENDIF.
002240
002250 IF G_FOUND = YES.
002260 * Intervall lesen, um zu sperren
002270 SELECT SINGLE FOR UPDATE * FROM NRIV WHERE
002280 OBJECT = NRIV-OBJECT
002290 AND SUBOBJECT = NRIV-SUBOBJECT
002300 AND NRRANGENR = NRIV-NRRANGENR
> AND TOYEAR = NRIV-TOYEAR.
002320 IF SY-SUBRC <> 0.
002330 MESSAGE E751 RAISING INTERVAL_NOT_FOUND WITH P_OBJECT
002340 P_NR_RANGE_NR.
002350 ENDIF.
002360 ELSE.
002370 MESSAGE E751 RAISING INTERVAL_NOT_FOUND WITH P_OBJECT
002380 P_NR_RANGE_NR.
002390 ENDIF.
002400 ENDIF.
002410
002420 IF NRIV-EXTERNIND <> SPACE.
002430 MESSAGE E752 RAISING NUMBER_RANGE_NOT_INTERN.
002440 ENDIF.
002450
002460 * LΣnge (maximale Anzahl Stellen) der Nummern berechnen
002470 G_NR_LENGTH = STRLEN( NRIV-FROMNUMBER ).
002480
002490 * Nummern in numerische Felder fⁿr spΣtere Berechnungen ⁿbernehmen
002500 ASSIGN NRIV-FROMNUMBER(G_NR_LENGTH) TO <G_F>.
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0 SY-INDEX 1
SY-TABIX 1 SY-DBCNT 1
SY-FDPOS 32 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1
Chosen variables
Any help will get full points.
Regards
TAJUDDINDear All,
Notes are available for 4.6c version. This problem is in 3.1i and for this there is no note. Can we modify this 4.6c note and use in 3.1?
Regards
TAJUDDIN -
How do I access the item Schedule line date in VA01?
Hi,
I am using userexit_check_vbep to carry out some checks. I need to access the Schedule line date value (RV45A-ETDAT) but it is not available at that point. How can I read that value from the exit?
Thanks,
KrocThanks Advait,
ahhh, I asked the wrong question. Yes, xvbep is available in the userexit but my code is being called earlier in the process. This is the call sequence
VBAP_FUELLEN
VBAP-VSTEL_ERMITTELN
VBAP-ROUTE_ERMITTELN
SD_ROUTE_DETERMINATION
EXIT_SAPL0VRF_001............This is where I need to access the schedule line data
Z_CUT_OFF_TIME_CALCULATE............This is where I need to access the schedule line data
Z_CUT_OFF_DETERMINE_DATA............This is where I need to access the schedule line data
Do you know if it is available at that stage?
Thanks,
Aidan. -
How to check whether entity has been persisted in the current transaction
Hello,
I am porting functionality which relay heavily on lifecycle of the entity.
For example methods like these:
* returns true if the instance has been modified, deleted or newly made
* persistent in the current transaction
public boolean isModified(final EntityObject entity)
public boolean isDeleted(final EntityObject entity)
For some of these callsI have found how to port them to toplink und just want to validate that this is the right way:
protected static UnitOfWork getUnitOfWork(EntityManager entityManager) {
return ((JpaEntityManager) (entityManager.getDelegate())).getUnitOfWork();
public static boolean isModified(EntityManager entityManager, Object entity) {
UnitOfWorkChangeSet set = getUnitOfWork(entityManager).getCurrentChanges();
ObjectChangeSet oset = set.getObjectChangeSetForClone(entity);
return !oset.getChanges().isEmpty() || oset.isNew();
public static boolean isDeleted(EntityManager entityManager, Object entity) {
UnitOfWorkChangeSet set = getUnitOfWork(entityManager).getCurrentChanges();
return set.getDeletedObjects().keySet().contains(entity);
but I did not find how to do following with the eclipselink:
* returns true, if the given entity object has been persistet during the
* current transaction
* @param entity
* @return true, if the given entity object has been persistet during the
* current transaction
public boolean isPersistent(final EntityObject entity)
Questions:
- how can I check whether the entity is persistent in the sense already stored in the DB ?
- how can I check whether the entity has been persisted in the current transaction ?
Thanks in advance.
Andre TeshlerHi Andre,
In Eclipse link there are Entity listeners which will define the life cycle events like preInsert(),postInsert() etc.On successful insertion of an object its postInsert() life cycle method gets called.If you have to validate whether object inserted successfully then best place is to override the postInsert() and check for the existence of the record.All the event life cycle methods take a DescriptorEvent as parameter which will give handle to API as given below.In the same method you can check if this insert operation succeeded in the same transaction.
package model;
import java.util.Vector;
import org.eclipse.persistence.descriptors.DescriptorEvent;
import org.eclipse.persistence.descriptors.DescriptorEventAdapter;
import org.eclipse.persistence.descriptors.DescriptorEventListener;
import org.eclipse.persistence.internal.sessions.ObjectChangeSet;
public class SampleEntityLIstener extends DescriptorEventAdapter {
public SampleEntityLIstener() {
super();
public void postInsert(DescriptorEvent event) {
event.getRecord().containsKey("pass the object");
event.getChangeSet().getUOWChangeSet();
public void preInsert(DescriptorEvent event) {
Once you implement the DescriptorEventListener,need to register with the Entity so that life cycle methods gets called and respective business logic gets executed.
Hope this helps,
Regards,
P.Vinay Kumar -
Accessing param values using RichFaces Drag n Drop
Hello everyone,
I'm using RichFaces drag and drop support and I want to pass an additional parameter so that I can access it's value when processing the dragged/dropped object.
My JSP has:
<rich:dragSupport dragIndicator=":indicator" dragType="measure" dragValue="#{measure}">
<a4j:actionparam name="operator" value="#{aggOp}" assignTo="#{SessionBean.tempAggOp}"/>
<rich:dndParam name="label" value="#{measure.name} (#{aggOp})"/>
</rich:dragSupport>
<h:outputText value="#{aggOp}" style="font:11px arial;"/>On my backing bean method that processes the event, I can access the object's properties fine, but the param has a strange behaviour:
The first time I drag an object, the param value is null on the bean. The second time, it has the value it should have for the first dragged object, and so on.
Apparently the param value is being updated after the drop event method is called. Any ideas on how to change this please?
Thanks in advance,
~RubenTo solve this problem I used <f:param> instead of actionParam:
On the drag support component:
<rich:dragSupport dragIndicator=":indicator" dragType="measure" dragValue="#{measure}">
<f:param name="operator" value="#{aggOp}" />
<rich:dndParam name="label" value="#{measure.name} (#{aggOp})"/>
</rich:dragSupport> On the backing bean:
//dropped item processors
public void processDropSupportTable(DropEvent dropEvent) {
if (dropEvent.getDragType().compareTo("measure") == 0) {
SOLAPMeasure dragged = (SOLAPMeasure)dropEvent.getDragValue();
FacesContext context = FacesContext.getCurrentInstance();
Map requestMap = context.getExternalContext().getRequestParameterMap();
String tempAggOp = (String)requestMap.get("operator");
System.out.println("dropped: " + dragged.getId() + " named: " + dragged.getName() + " whose operator is: " + tempAggOp);
} -
Accessing the Value of Standard Hours in PPOME
Hi All,
I need to access the value of Standard Hours against a Position as displayed in transaction 'PPOME'.
What I have seen so far is that this value may or may not be present in HRP1011 depending on the type of assignment of Employee groups/sub groups etc.
I have come across a Fn. Mod. RH_POSITION_INFO which gives the correct values but it has a 'call screen routine' as such it displays the values on screen, I need the values to be used in a report/module program.
I can obviously clone this Fn.Mod and delete the call screen bit but I want to know if there is another way to get the standard hours? Any Fn. Module/Sub routine etc.
Many Thanks in Advance
SanjayHi Sanjay,
Use this FM <b>'RH_WORKTIME_GET'</b> to get the work schedule data from HRP1011.
Hope this will solve your problem.
Thanks,
Sarika. -
Accessing the weblogic-ejb-jar.xml transaction-descriptor
Is there a way to programmatically access the transaction-descriptor (in the weblogic-ejb-jar.xml file) for a given application?
We would like to get the transaction-timeout-seconds for AquaLogic DataServicesPlatform. We have a user timeout function in XQuery that can switch to another path after a user prescribed number of seconds. We set a timer and recognize the timeout, but we may have started a JDBC connection already and issued a query that may run and run and run .... We would like to limit the query to run a maximum length of time.
If I can get the EJB Session timeout (actually the transaction-timeout-seconds or so I'm told) I can set the JDBC connection timeout value before issuing our query.
[email protected] -
Hello,
I am having some trouble trying to programmatically write the contents of a container into my HTML report header. The container contains a series of strings and numbers. These are saved into StaionGlobals.
Note that I am performing all of these operations in a statment step inside the sequence editor of TestStand
I used the following method to access the correct property, which sits inside a for loop. Now this seems to work fine as Locals.PropertyObj contains the element which I wish to access. In the following Locals.PropertyObj is an object. TestSetup is the name of my setup information container
Locals.PropertyObj = StationGlobals.GetNthSubProperty("TestSetup", StationGlobals.ForIterator, 0)
I can access the Name of the parameter simply by using the following code (where Locals.Name is a string):
Locals.Name = StationGlobals.GetNthSubPropertyName("TestSetup", StationGlobals.ForIterator, 0)
However when I try to access the actual value of the parameter I get an error or the wrong information. The following line gives me back the value "PropertyObject, IID = {8D87....}" which is not the value I am trying to get to.
Locals.Val = StationGlobals.GetNthSubProperty("TestSetup", StationGlobals.ForIterator, 0)
I must be doing something wrong, and have tried various methods to do this but cannot get my head around the problem. I tried to use the following also, but it resulted in an error:
Locals.PropertyObj.AsPropertyObject.GetFormattedValue((Locals.PropertyObj.AsPropertyObject).Name, 0, "", False, "")
Note that the following line works fine:
(Locals.PropertyObj.AsPropertyObject).Name
Also can you tell me why the lookup string needs to be defined in Locals.PropertyObj.AsPropertyObject.GetValueString(), is there a way to not require the lookup string as you are already have the correct property, and just the value is needed to be gotten.
One last thing, in Evaluate() how do I make it work with dots, for example the following line (another attempt to get the value) did not work due to the presence of the . character
Evaluate("StationGlobals.TestSetup." + (Locals.PropertyObj.AsPropertyObject).Name)
Many thanks in advance of your response,
Ben Lawler
ps. hope that I am not being stupid and missed something very obviousBen,
Just a few comments;
[Locals.PropertyObj = StationGlobals.GetNthSubProperty("TestSetup", StationGlobals.ForIterator, 0)]
This should give you a PropertyObject for the 1st subproperty of StationGlobals.TestSetup if StationGlobals.ForIterator = 0
[Locals.Name = StationGlobals.GetNthSubPropertyName("TestSetup", StationGlobals.ForIterator, 0)]
This should give you the name of the 1st subProperty of StationGlobals.TestSetup if StationGlobals.ForIterator = 0
[Locals.Val = StationGlobals.GetNthSubProperty("TestSetup", StationGlobals.ForIterator, 0)]
This is going to return the 1st subproperty of StationGlobals.TestSetup if StationGlobals.ForIterator = 0 as a PropertyObject reference
and Locals.Val should be an ActiveX Reference type which I am guessing it isn't.
[Locals.PropertyObj.AsPropertyObject.GetFormattedValue((Locals.PropertyObj.AsPropertyObject).Name, 0, "", False, "")]
I think this should be Locals.PropertyObj.GetFormattedValue("", 0, "", False, ""), you dont need to specify the lookup string because you have obtained a reference to the actual sub-PropertyObject.
and therefore
Locals.Val = Locals.PropertyObj.GetFormattedValue("", 0, "", False, "")
should give you the value of the 1st subproperty of StationGlobals.TestSetup if Locals.PropertyObj was obtained as above.
I will try to check out your sequencefile later when I have access to TestStand 4.x.
Regards
Ray Farmer
Regards
Ray Farmer -
How can I access the Attribute Values from the Search Region
Hi all,
I have a table which contains Company id, department id, and PositonId. For a particular Company and Department there may be multiple records.
I have to pupulate a table which contains the position and other details that comes under a particular Department and Position based on the selection in the Three comboBoxes.
Also I have to populate a select many Shuttle to add new postions and records under a particular Department.
I created a query panel *(Search Region)* for the serch and a table to display the data. That is working fine.
Now the issue is I am using a view criteria to populate the shuttle with two bind variables ie, DepartmentId and CompanyId.
If the serach will return a resuktant set in the table it will also pupulate the correct records, otherwise ie, if the if the serch result is empty the corresponding iterator and the attribute is setting as null.
SO I want to access the attribute values from the Search Region itsef to populate the shuttle.
I don't know how can I access the data from the Search Region.
Please Help.
Regards,
Ranjithyou could access the parameters entered in search region by the user as follows:
You can get handle to the value entered by the user using queryListener method in af:query.
You can intercept the values entered as described
public void onQueryList(QueryEvent queryEvent) {
// The generated QueryListener replaced by this method
//#{bindings.ImplicitViewCriteriaQuery.processQuery}
QueryDescriptor qdes = queryEvent.getDescriptor();
//get the name of the QueryCriteria
System.out.println("NAME "+qdes.getName());
List<Criterion> searchList = qdes.getConjunctionCriterion().getCriterionList();
for ( Criterion c : searchList) {
if (c instanceof AttributeCriterion ) {
AttributeCriterion a = (AttributeCriterion) c;
a.getValues();
for ( Object o : a.getValues()){
System.out.println(o.toString());
//call default Query Event
invokeQueryEventMethodExpression("#{bindings.ImplicitViewCriteriaQuery.processQuery}",queryEvent);
public void onQueryTable(QueryEvent queryEvent) {
// The generated QueryListener replaced by this method
//#{bindings.ImplicitViewCriteriaQuery.processQuery}
QueryDescriptor qdes = queryEvent.getDescriptor();
//get the name of the QueryCriteria
System.out.println("NAME "+qdes.getName());
invokeQueryEventMethodExpression("#{bindings.ImplicitViewCriteriaQuery.processQuery}",queryEvent);
private void invokeQueryEventMethodExpression(String expression, QueryEvent queryEvent){
FacesContext fctx = FacesContext.getCurrentInstance();
ELContext elctx = fctx.getELContext();
ExpressionFactory efactory = fctx.getApplication().getExpressionFactory();
MethodExpression me = efactory.createMethodExpression(elctx,expression, Object.class, new Class[]{QueryEvent.class});
me.invoke(elctx, new Object[]{queryEvent});
Thanks,
Navaneeth -
To get the count of records and able to access the column value in a single
Hi
Is there any way to get the number of records in the query and access the column values
e.g
select count(*)
from
(SELECT department, COUNT(*) as "Number of employees"
FROM employees
WHERE salary > 25000
GROUP BY department ) a
This wil only get the Count, if i want to access each row from the inline view how can i do that.Your question is not clear.
Are you looking for total record count as well as count by department ?
Something like this?
SQL>
SQL> with temp as
2 (
3 select 1 dept ,10000 sal from dual union
4 select 1 dept ,25100 sal from dual union
5 select 1 dept ,30000 sal from dual union
6 select 1 dept ,40000 sal from dual union
7 select 2 dept ,10000 sal from dual union
8 select 2 dept ,25100 sal from dual union
9 select 2 dept ,30000 sal from dual union
10 select 2 dept ,40000 sal from dual )
11 select count(*) over( partition by 1 ) total_count,dept,
12 count(*) over(partition by dept) dept_cnt from temp
13 where sal>25000;
TOTAL_COUNT DEPT DEPT_CNT
6 1 3
6 1 3
6 1 3
6 2 3
6 2 3
6 2 3
6 rows selected
SQL> -
How can I access the values in ProfileArray of a CWIMAQProfileReport?
Hi all,
I'm not sure if this is the right board, but I didn't find one related to VB and NI Vision.
I'm using LineProfile2 from CWIMAQVision1 which gives me a ProfileArray which is a variant. I'd like to access the
values in the array. Normally I would do it like
Report(1).ProfileArray(i)
but that does not work. I can get the bounds of the array with LBound and UBound. I can observe the array in
debug modus and it contains reasonable values.
How can I get access to the contents of the ProfileArray?
Thanks in advance
AxelHi Elmar,
thanks for paying attention to my problems.
I use Vision 8.5. My email adress is [email protected]
I don't need the hole intensity of the image/2D array. I only need the
intensity values of a given line which should be a 1D array of bytes.
I use the following command
CWIMAQVision1.LineProfile2 Image, Line, Report
When I understood the command correctly the intensity values are
in the Report. I would get them with
Report(1).ProfileArray(i)
But that does not work. I get a runtime error #450.
Other stuff with the report works and gives reasonable values e.g.
Report(1).PixelCount
LBound(Report(1).ProfileArray)
UBound(Report(1).ProfileArray)
Or passing the hole array to plot the values also works
frmLineProfile.CWGraph1.PlotY Report(1).ProfileArray
Best regards,
Axel -
After installing the DR Driver on my Audigy 2 Value, I can no longer access the Equali
Installed the latest driver via the web update for my Audigy 2 value. When I reboot my machine and try to access the equalizer, it gives me a message saying "The audio device supported by this device is not detected etc". It worked fine before I installed this driver.
Any help appreciated.
GyreCan you try rolling back to the previous driver (if you have a restore point), or reinstalling this update? Does that have any effect?
If you have any onboard audio make sure that's fully disabled in the BIOS aswell.
Cat -
Accessing the value of a text box input
how do i access the value of a text box on a jsp page..
eg:if the page name is Test.jsp and it has a text box named text.....You're mixing JSP and JavaScript. If you're staying within the same page, e.g. no get/post to another JSP, and you need to update values of a text field within a form, use pure JavaScript, such as:
<form name="fred">
<input type="text" name="USERID" size="15" onBlur="document.fred.PASS.value=document.fred.USERID.value;"><br>
<input type="text" name="PASS" size="15"><br>
</form>
This will change the value of the PASS field to the same as the USERID field, which is what I think you were trying to do.
Not to be rude, but in the interest of keeping the Java forum pure, I would look towards a JavaScipt forum if you wish to use pure JavaScript (http://freewarejava.com/cgi-bin/forumdisplay.cgi?action=topics&number=1&SUBMIT=Go)
bRi
Maybe you are looking for
-
Dear Gurus.... This is a bit tricky situation. 1. We are making an IMPORT PO with all the relevent duty, cess cond types etc. 2. We are doing Bill of Entry in MIRO (planned delivery costs) for duty payment to CUSTOMS DEPT 3. We are doing the GRN, whe
-
Help getting from 10.5.8 to 10.6.8
I am running 10.5.8 on a Mac Pro. Last year I purchased 10.6.3 Snow Leopard. Still havent installed it.. Now need to get to 10.6.8 to be compatable with software. What is my most efficient route going from 10.5.8 to 10.6.8 or higher? * Do I install 1
-
Hi, I need to change the vendor email address, i found the table adr6 and i can join the table LFA1 with the Address number, but i don´t think that this the way to do it. Can someone have a function module to change the email address in massive way
-
Php mySQL filtering problem...really desperate
Hi I have a live site that is currently causing me some issues It is a fashion site that sends the product information that is pulled in from sevaral table to the checkout.. the issue i am having is the incorrect stock id is being sent to the checkou
-
Enhancements in ASN Search Query - additional selection parameter
Hi, I am working on adding an additional search parameter in ASN Overview screen in supplier view. The search is POWL based and in the "Maintain Search Criteria" screen I have been able to add a custom field named "ZTEST_DATE" of type DATS. To get th