Problems with transaction launcher
Hi all,
I need to launch a BOR object, using Transaction Launcher, from a custom button into account activities view on the CRM UI. These are the steps that I have done:
- create a new Transaction Launcher object
- associate this obiect to a Logical Link in transaction CRMC_UI_NBLINKS
- add a new button, with EH code:
op_todisporders( ).
- add a new OP into the view, with code:
CALL METHOD cl_crm_ui_descriptor_obj_srv=>create_bor_based
EXPORTING
iv_bor_object_type = 'BUS2032'
iv_bor_object_key = '440000000003'
iv_logical_system = 'TECCLNT500'
iv_ui_object_type = 'ZWRAPPED_BUS2032'
iv_ui_object_action = 'B'
RECEIVING
rr_result = lv_descriptor_object.
CREATE OBJECT lv_data_collection TYPE cl_crm_bol_bo_col.
lv_data_collection->add( lv_descriptor_object ).
lr_window ?= me->view_manager->get_window_controller( ).
lr_window->call_outbound_plug(
iv_outbound_plug = 'TODISPORDERS'
iv_data_collection = lv_data_collection ).
- add the outbound plug to the window, with code:
fire_outbound_plug(
iv_outbound_plug = 'TODISPORDERS'
iv_data_collection = iv_data_collection ).
- add the OP into the window runtime repository, and into the view component interface
- add OP mapping into CRMC_UI_NBLINKS, calling the previously created logical link
- add my component BP_BPBT into transaction CRMS_UI_TLINK (my new outbound plug does not appear, so I added it manually)
When I click on the button, the following exception appear:
CX_BSP_WD_INCORRECT_IMPLEMENT - Define NavigationalLink TODISPORDERS for source view BP_BPBT.AccountActivities
For what I know, I don't have to define any logical link....
Can you help me to solve this issue?
Points will be awarded.
Thanks, regards
Fabio
In the window's outbound plug, I called FIRE_OUTBOUND_PLUG instead of NAVIGATE. Then I got an exception, asking me to create a navigation link in BP_CONT_MAIN. I created. Now it is working.
Similar Messages
-
Problem with Collaboration Launch Pad
Hi all,
We have a problem with collaboration launch pad, when one user access it, always appear offline.
Status is automatic for all portal users.
We have configured RTC following documentation in help.sap
Can somebody help us?
Best regards.
Gabriel Garcia.Hi Robert,
We are using Netweaver 7.00 SP9 with same version for Enterprise Portal and KM.
We were searching more information about our problem in SDN and SAP Notes but we couldn´t find any solution.
Thanks for your response.
Gabriel Garcia. -
Problems with transaction CJ20N
Hello Experts,
I have created a tooling asset with transaction AS01 and I have some problems with transaction CJ20N.
I would like to know how can we Link the Asset already created with the WBS by transaction CJ20N.
Thanks
FerdawsHi Ferdaws,
In the asset master (AS02) you can maintain the WBS element in Time Dependent data.
For maintaining the WBS element in asset master, first you have to make WBS element optional entry in Screen Layouts for Asset master data.
Kindly check with this.
Best Regards,
Vasu. -
Problem with Transaction-Duration Dialog
Hello All,
I wonder if somebody could shed a light on the problem that we're having
with transaction-duration dialog service object. The problem is this.
When we call the service object and its SQL statement fails (for
example, because of constraint violation) Forte raises AbortException.
It also clears the error stack, so we have no way to know what caused
it, original error ("ORA -... Constraint Violation") disappears. All we
get is this:
USER ERROR: Access to a load balanced router member (which is a service
object) failed for the reasons below.
Class: qqsp_AbortTransaction with ReasonCode: SP_ER_USERABORT
Error #: [601, 162]
Detected at: qqdo_LbRouter::Route at 2
Last TOOL statement: method tester.test, line 3
Error Time: Thu Jul 2 15:56:40
Distributed method called: SO_UmbrellaProxy.testAbortExc (object
name
site/sosa_sampleservice_cl0/th_testabort_cl0-bmso0x15d:0x1) from
partition
"TH_TestAbort_cl0_Client", (partitionId =
DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15d:0x2, taskId =
[DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15d.4]) in application
"Forte_cl0", pid 74 on node AANANIEV in environment archenv
Originator: SP_AO_XACTMGR
Exception occurred (locally) on partition "Forte_cl0_Client",
(partitionId
= DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15d:0x1, taskId =
[DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15d:0x1.16]) in
application
"Forte_cl0", pid 74 on node AANANIEV in environment archenv.
USER ERROR: Your transaction was aborted
Class: qqsp_AbortTransaction with ReasonCode: SP_ER_USERABORT
Error #: [402, 45]
Detected at: XactMgr.TXAbort at 1
Error Time: Thu Jul 2 15:56:40
Originator: SP_AO_XACTMGR
Exception occurred (remotely) on partition
"TH_TestAbort_cl0_Part1-router", (partitionId =
DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15b:0x9, taskId =
[DC5B2DC0-0EA9-11D2-AFD0-5F72194BAA77:0x15d:0x2.17]) in
application
"TH_TestAbort_cl0", pid 18196 on node hp9000_1 in environment
archenv.
Has anyone experienced this problem with "transaction-duration" service
object? Is there any way to find out the cause of "AbortException"? It
seems impossible to catch the AbortException on the server partition,
looks like Forte exits right away.
Everything works fine with "message-duration" dialog, unfortunately it
is not an option for us because of the way our batch programs were
designed.
Any help is greatly appreciated.
Alexander Ananiev
Claremont Technology Group
916-558-4127
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>thanks Peter for trying to help
ok, i've narrowed down the problem, it seems that when i try and save a file onto one partition of one of my ext drives it won't save to my last save dir but if i save to another partition/drive it works ok, also if i rename the 'dodgy' partition it also seems to work ok, so somehow the name of the drive has become corrupted.
anybody ever heard of this? or how i could fix this as it's a quite annoying because alot of my audio files are referenced on this partition, so itunes or Cubase (audio sequencer) can't find my files now. -
Problems with iTunes Launching
I am having problems with iTunes launching on my G4 Mac Mini. Everytime I tried to launch it the application just carries on bouncing up and down on the dock, but never launches. I dumped the preferences folder then tried to relaunch it but that didnt solve anything. Then I tried uninstalling the whole application. I searched for any files associated with iTunes and trashed them. Then reinstalled iTunes 7 (previously had iTunes 6 on), thinking this would solve the problem but it didnt. Has anyone got any suggestions for me? My only other option is to reformat the whole machine just to get iTunes working again. Obvioulsy I didnt right away wanna go this route. I'm sure there is something I am just missing
Thanks in advance.Hello Laura&Graeme, Welcome to Discussions.
First off great job with what you have done. I have some suggestions below. One which you have done but want to ensure you know the full list of apple programs that may actually be in your system. So you can remove them all. Below is the first link to assist you as well as a text list of those Apps.
Removing iTunes, QuickTime, and other software components for Windows XP
http://support.apple.com/kb/HT1925
-Apple Mobile Device Support
-Apple Software Update
-Bonjour
-Windows iPod Updater (Name might be different but look for anything with the word iPod)
-MobileME Control Panel
-Quicktime
-iTunes
*Download and reinstall iTunes
http://www.apple.com/itunes/download/
*If the above does not assist then proceed below to the more advanced cleanup.
Trouble installing iTunes or QuickTime for Windows
http://support.apple.com/kb/HT1926?viewlocale=en_US
also
iTunes for Windows XP: Troubleshooting unexpected quits, freezes, or launch issues
http://support.apple.com/kb/TS1421 -
Problem in Transaction Launcher
Hi friends,
I have used the cookbook example on page 30.
And it is working fine for the transaction VA01 but when i replace it with any other transaction like SE38 or BP its does not work and after calling the Transaction launcher it shows an error in the status bar of IE5.0 that
Line 47, char 5, Error : invalid Object ,Code 0, and the complete url of ITS.
Plz help me to solve this problem
Regards
Pulkit AgrawalHi,
You're talking about transaction code VA01 (to create sales documents), but you want to display a customer... so in fact you use tcode XD03 right? And if you're sure that this customer number exists in your backend, you could try to debug and add leading zeros to LV_PARTNER. Maybe that will help.
Regards,
Nicolas. -
Problem with transacted JMS connection factory and transaction timeouts
We encountered an interesting problem using transacted JMS connection factories.
An EJB starts a container managed transaction and tries to validate a credit card
before creating some information to a database for the user, in case of success
an SMS is sent to the user via the transacted JMS queue. If the credit card authentications
duration is about the same as the transactions timeout (in this case the default
30 seconds) sometimes the database inserts is committed but the JMS insert is
rollbacked. How can this be?
If the authorization duration is much longer than 30 seconds everything works
fine (both database and JMS inserts rollbacked), the same is true if a rollback
is insured by calling EJBContext.setRollbackOnly(). The problem thus occurs only
if the duration is approximately the same as the transaction timeout, it appears
that the database insert is not timeouted but the JMS insert is. How can this
be if they are both participating in the same transaction.
The JMSConnectionFactory used is a Connection factory with XA-enabled. The result
is the same also with the default "javax.jms.QueueConnectionFactory" and if we
configure our own factory with user transactions enabled.
Any help appreciated!
Tomas Granö wrote:
> We encountered an interesting problem using transacted JMS connection factories.
> An EJB starts a container managed transaction and tries to validate a credit card
> before creating some information to a database for the user, in case of success
> an SMS is sent to the user via the transacted JMS queue. If the credit card authentications
> duration is about the same as the transactions timeout (in this case the default
> 30 seconds) sometimes the database inserts is committed but the JMS insert is
> rollbacked. How can this be?
It should not be.
>
> If the authorization duration is much longer than 30 seconds everything works
> fine (both database and JMS inserts rollbacked), the same is true if a rollback
> is insured by calling EJBContext.setRollbackOnly(). The problem thus occurs only
> if the duration is approximately the same as the transaction timeout, it appears
> that the database insert is not timeouted but the JMS insert is. How can this
> be if they are both participating in the same transaction.
>
> The JMSConnectionFactory used is a Connection factory with XA-enabled. The result
> is the same also with the default "javax.jms.QueueConnectionFactory" and if we
> configure our own factory with user transactions enabled.
>
> Any help appreciated!
Make sure that your session is not "transacted". In other words,
the first parameter to createSession() must be false. There is an
unfortunate name re-use here. If a session is "transacted", it
maintains an independent "inner transaction" independent of the
outer transaction. From the above description, it seems unlikely
that your application has this wrong, as you say that
"setRollbackOnly" works - but please check anyway.
Make sure that you are using a true XA capable driver and database
(XA "emulation" may not suffice)
Beyond the above, I do not see what can be going wrong. You
may want to try posting to the transactions and jdbc newsgroups. Note
that JMS is appears to be exhibiting the correct behavior, but the
JDBC operation is not. The JDBC operation appears to have
its timeout independent of the transaction monitor's timeout.
Tom
-
Probleme with transaction in session beans
Hello.
i create an session bean which call enties beans.
When i execute un example first time, its correct.
when i execute for second time, the methode don't stop.
i think it is problem of transaction.
thank youHi,
It is impossible to answer your with the given information. When ever you are asking a question please put the relavent informatin like code and deployment descriptors. So please do post the required information.
Ashok -
Problems with transaction MD21
Hi experts, i have a problem with this transaction because every time i open it when i try to add the material text in the Modify layout button, when i hit ok no text appearts in the field, whant can i do?, thank you in advance.
kind regardsHi
1) Create a Screen Variant in SHD0 with Additional Material Data ticked for MD21 transaction and assign to specific users.
2) After Entering MD21 in the Display Planning file entries screen click on Change lay out and save as default after selecting Material Description column
From nxt time onwards the user will get the Material Description in the Layout for the Selection criteria
Regards
Brahmaji -
Mac G4 Problems with "Application Launch Failure"
I'm not sure if this is the right forum for my questions, so if not, please LMK where I should be asking for help.
I have a G4 running Mac OS X 10.3.9. In the last two weeks, I have had a number of errors involving an Application Launch Failure. This started immediately after I had the foolish idea of shutting down my computer for the night to save power. I selected Shut Down from the drop down menu, the computer shut down and everything seemed ok till the next morning when I started up. Since that time, I have had the application launch failure problem with Word, Excel, PowerPoint, Graphic Converter, Yahoo Messenger, and assorted other programs.
The error message I get is for instance: Application Launch Failure The application "Word" could not be launched because of a shared library error:1<MicrosoftWord> <CarbonLib> <CFMPriv_CarbonCore> " or a variation depending on the program.
I have "restored" the computer, I have reinstalled Mac OS X 10.3.9, reinstalled the relevant Microsoft Office suite, and I still get the error message.
Does anyone have any suggestions (other than getting a new system)?
TIA for any help.
Ronnie WexlerBoot from the Install CD, but do not Install. Choose Disk Utility off the Installer Menu as your first action. Select your Hard Drive and choose ( Repair ). Repeat until it comes clean (or gets stuck). Then (Repair Permissons ) once.
-
Problem with Console Launcher Creative X-fi XtremeGamer
7Problem with Console Launcher Creative X-fi XtremeGamer7 Here is my problem. I have a Creative X-fi XtremeGamer, the sound works, however I am unable to launch creative console launcher or the creative control panel, so I can't adjust EQ take advantage of the other features, etc. It was working before, however, I moved it to a different PCI slot, and now when I try to open the console launcher it says, "The current selected audio device is not supported by the application. Do you want to select another audio device now?" If I hit yes, it shows Creative SB X-Fi and that is all, I hit okay, same message. I have tried uninstalling the drivers through device manager, I have tried putting it back in the PCI slot it was initially in. Any help would be greatly appreciated, as I've been stumped for a couple of days now.
Using Windows 7 64bit7Problem with Console Launcher Creative X-fi XtremeGamer7 Here is my problem. I have a Creative X-fi XtremeGamer, the sound works, however I am unable to launch creative console launcher or the creative control panel, so I can't adjust EQ take advantage of the other features, etc. It was working before, however, I moved it to a different PCI slot, and now when I try to open the console launcher it says, "The current selected audio device is not supported by the application. Do you want to select another audio device now?" If I hit yes, it shows Creative SB X-Fi and that is all, I hit okay, same message. I have tried uninstalling the drivers through device manager, I have tried putting it back in the PCI slot it was initially in. Any help would be greatly appreciated, as I've been stumped for a couple of days now.
Using Windows 7 64bit -
Problems with transaction wsk1
Hi everybody, I have some problems with the transation WSK1, I try to copy assortment source to assortment destiny but it doesn't copy all the records on table marc ,it ends without any error , but when I check tha table marc it is not completed.
what it could be the problem?
regardsHi,
Post your query in the below mentioned forum to get it solved quickly. This forum is specific to SAP Master Data Management.
/community [original link is broken]
Regards,
JItesh Talreja -
Problem with transaction MD4C?
Hello everybody,
I have developed an interactive report which has a field on clicking which the control should transfer to a transaction (MD4C) which consists of SIX tabs.
I have written a small BDC for the same and when i try to run it behaves in different ways in different systems.
For eg,when i run on my system one tab is getting highted and when i run on another system another tab is getting highlighted.
And so the BDC that i wrote for a particular flow is not working.
Can anybody suggest a solution for this problem?
Helpful answers will surely be rewarded.
Regards,
Sanghamitra.hi,
it has to do with the resolution of your monitor
when u start bdc recording .
in recording parameters there is :
default size : uncheck it.
plz reward points if it helps.
rgds -
Problem with transaction control - URGENT
I have a requirement to use a PL/SQL package to validate data that is created by my OAF application.
My process is as follows:
1. User enters data and clicks save (Submit action)
2. Controller captures save event and invokes "Apply" in AM
3. Apply method calls getTransaction.postChanges()
4. Apply method then executes PL/SQL block and gets the results of validation (Validation function does not do any DML on the data)
5. if validation is ok then I commit (This bit works fine)
6. if validation fails then I just stop processing and let the page reload ( I am not forwarding to processrequest)
7. User corrects the error and clicks save again
I have tried step 6 with throwing OAException and not throwing OAException and in both scenarios at step 7 I receive the following:
Unable to perform transaction on the record. \nCause: The record has been deleted by another user. \nAction: Cancel the transaction and re-query the records to get the new data.
Please help I have been working with this for a day now and I am no closer to solving the problem. This error occurs when I try to postChanges for the second time in step 7.Hi Pratap,
My requirement is to use a PL/SQL package to validate the data and provide feedback to the user. I am using a callable statement to select the data from the base tables and validate it based on the data I enter in my OAF application.
I know that we can do validation in OAF EO, entity expert etc.. but the business requirement is to have a central re-usable validation platform so that it can be used for the application and data migration, PL/SQL API's etc... We dont want to write the validation logic in OAF and PL/SQL is the objective.
So we have the validation in PL/SQL which just returns a message about any errors, I call this from my header EO validate() method.
For it to work however the data has to be available to the PL/SQL before I hit commit in OAF (which fires validation), to do this I call trx.postChanges prior to commit which makes the data available. If the data is valid then there is no problem the data saves ok.
If the data is invalid I correct the error and try the process again, when it hits postChanges for a second time after the correction it gives me the error.
I have simplified the test case as per my post above and it seems that I cannot use postChanges more than once in the same transaction, I am wondering if the VO cache is being deleted in the same way as you have to re-query after a commit() you may have to do the same thing after a post(), only question is will I get my posted data back?
Any thoughts/comments would be appreciated.
Thanks for your help so far
Keith -
Problem with transaction CUNI and configuring decimal places
Note: I'm actually an ABAP programmer and do not know almost anything about SAP configuration.
Note2: Sorry if this was posted in the wrong section. I am trying to avoid an ABAP solution so I did not post this in the ABAP section.
Note3: Sorry for cross posting. I'm trying to make this visible to as much experts as possible.
\[Problem\]
I'm tasked to increase the number of decimal places that a certain standard program in MM accepts.
\[ABAP solution I'm trying to avoid\]
The consultants' initial recommendation was to make Z copies of the standard table and the standard programs that references that table. This would be rather dangerous as there is the risk of missing certain parts of the code If I was to replace all occurences of the old standard table with my custom Z table.
\[Standard solution I'm trying to do\]
Now I've read several threads here that makes use of transaction CUNI to adjust decimal places of certain units of measure (see Re: Unit Of Measure problem and change decimal places in PO quantity). However, when I tried it, It does not work the way I expect it to.
In SE11, I created a custom table that has a quantity field (length: 13, decimals: 3) and a unit field (length 3)
In CUNI, I created a new ISO code TST (for test). Then I created a new Unit of measure ZTT (ZTesT) which makes use of my ISO code TST. I set the decimal places to 6.
When I insert data into my custom table, instead of 6, the number of decimal places remain at 3.
Please help in adjusting decimal places without touching the table.Hello Dzed,
I've read several posts that suggest transaction CUNI to adjust decimal places in standard unit of measures. What I tried is a simplified simulation of what is needed.
In a more realistic sense, consider table VBRP and column FKIMG. What If I want to store items in VBRP and allow 6 decimal places for FKIMG but I am not allowed to modify the table? Is making a Z copy of VBRP the only solution? Or is there a more standard way of doing this?
My worry is that If I copy a table, I also need to copy the programs that use it and modify them accordingly. Our Basis do not want the standard tables touched.
Kyle
Maybe you are looking for
-
Restrict messages in RFC adapter or in source/sending (SAP R/3) system
Hi All, I have SAP R/3 to web service scenario via XI (RFC to SOAP). In that scenario RFC caries the attachments, some time the attachments size is more than 5mb. Due to that java stack of XI becomes unresponsive. Due to that SMQ2 gets filled up with
-
Difference between component configuration and application configuration in webdynpro
what is the difference between component configuration and application configuration in webdynpro?
-
Hi, We are developing a custom OAF application in 11.5.10 We have the following OAF version in our SIT/UAT/PRE-PROD instances OA Framework - 11.5.10.6RUP Oracle Applications Extension - 9.0.3.8.13 - build 1566 MDS - 9.0.5.4.89_560 We have the below (
-
How to make pictures not resize when opened in their own window.
I just upgraded to Safari v3 and despite all the good changes I've found one frustrating thing. In the old version when I opened a picture in its own window and it was bigger than what could fit in the window it wouldn't resize. It just came up as a
-
Interaction History / Service Transactions
Hi All, We are having crm 2007 and we are implementing the service scenario. When we create a contrat 123 for a business Partner ABC. Normally the reference/Interaction history etc shall also be displayed in the Business Partner. i.e. all the relevan