Launching transactions from Flex
Hi,
I am working with flex builder3. I want to launch a transaction whenever i click on a button by passing some parameters.
I tried creating a shortcut and launching it. It works fine but doesn't server the purpose.
I want to launch a transaction by passing some parameters.
How do i do that. Any help regarding this would be appreciated.
Thanks n Regards,
Asha
let me explain it :
from flex if you want to call a SAP transaction in, say system mysapsystem, then if you are ok with SAPGUI for HTML and your mysapsystem is on WAS6.40 , you can use integrated ITS. for example to call se38 from flex, all you have to do is call a url like below from flex.
http://<abaphostname>.<domain>.com:<port>/sap/bc/gui/sap/its/webgui?~transaction=se38
hope its clear now.
Raja
Similar Messages
-
IC WebClient: Launch transaction from button
Hello,
I'm able to launch a BOR method with GUI of a backend ERP-system from the navigation bar of the IC WebClient using the transaction launcher functionality.
Does anyone know how to launch GUI-BOR methods from a "normal" button in a view instead of the navigation bar?
Regards,
ChristianActually all events on Navigation bar would be taken care by its controller class 'CL_CRM_IC_NAVBARVIEW' .
You are trying to launch a transaction inside a BSP view by clicking on a button,look at this controller class and its methods especially method NAVIGATE_VIA_LTX_ID to get some understanding.
Thanks,
Thirumala. -
Display issues in WebIC when i launch a Transaction from CRM
Hello All,
In Web IC 5.0 i am calling BP transaction from CRM.
The page displayed to me is SAP easy Access Menu instead of BP .
I was told that our installation is using new SAP gui service( i am not very sure as i am a functional guy).
any suggestions please?
will for sure reward for the solution or even a tip which will lead to resolving the whole issue.
Thanks
Amar ReddyHello Amar,
I've it configured in CRM5.0 like this (see if it can help you - it's working fine for me):
- My ITS link (at CRMS_IC_CROSS_SYS t-code) is defined like this (see note 917302):
http://<host>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTX&okcode=ICEXECUTE
- The most important steps of my entty at transaction launcher, is like this:
Wizard step: Further Technical Details
Tr. Launcher Type: M BOR Transaction
Logical System: for CRM Server OWNLOGSYS
BOR Object Type: BUS1006005 (CRM Business Partner)
Method Name: Display
Wizard step: Transaction Parameters
Parameter: Object key
Value: //currentCustomer/BP_NUMBER
Best of lucks,
Regards,
Bruno -
SSO for Transaction Launcher functionality from CRM
Hi,
How can Single Sign-on be enabled when launching R/3 Transactions from SAP CRM? On R/3 system we have integrated ITS.
SSO is working properly for Action Box functionalty from WinClient for same R/3 box from SAP CRM system.
Thanks in advance and regards,
Asheeshcheck out this weblog
<a href="https://weblogs.sdn.sap.com/pub/wlg/738">Updated!: Calling a BSP application from a SAPGui Transaction</a>
particularly the Single Sign On of the weblog.
The solution offered will work only if the BSP is called within a HTML control in SAP GUI, you may need to change the logic of using the call_browser
Regards
Raja -
Launching GUI transactions from BSP
Dear Gurus,
I have requirement to launch ECC Transaction from CRM Web Client UI. Now, i dont want ITS based version of ECC version but WIn GUI version. I found Wiki link below which suggests the steps however it does not work.
I have exactly same requirement in CRM 7.0 (Support Pack Level 5) and i implemented same steps as desribed in the article. However I am facing issues tha It first asks for the right applicaiton to open object, i choose SAP Applicaiton exe file but later it gives error -
Erro Statusing "C:\Users\windowsloginid\App Data\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\2DG74TFC\win_gui[1].sap'(rc=-2)"
Here win_gui is the name of .HTM page with flow logic. I copied all the code in Page Layout and i am also not able to debug this as breakpoint does not hit.
Please suggest as this is something really urgnet for me.
Thank you very much in advance!!!
http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebUI-LaunchingtransactionsinGUIforWindowsHello,
I am able to launch GUI for Windows though SAPshortcut method. I am also able to pass the Tx type and sales area on VA21 screen and skipping the first screen. However Now I am facing issue to pass customer number on VA21. I am using KUAGV-KUNNR field to populate customer but it never works. KUAGV-KUNNR buffer is emplty even when i am passing this through shortcut.
Please suggest. -
Launch SAP Transaction from UWL and decision views
Hi,
Q1:
we wan't to launch a SAP Transaction from the Universal Worklist. Does anyone know how to do this explicitly?
Q2:
I have tried to add decisions directly to a List View, i.e. with the reject and approve columns. The columns do appear, but the checkboxes are not visible. From the log I can see a warning "No Custom Attribute exists for item ...".
The three options do appear correctly when you go to the details view for the item, and I did apply the same values for the actions (1,2,3).
Does anyone know how to do this?
PS! I have read the How To document, but could not find the answer there, nor in this forum.
Thanks,
MikkelI did fix question 2 above.
Still don't have a solution on how to launch a SAP Transaction. XML transcript below:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'>
<UWLConfiguration version="1.0">
<ItemTypes>
<ItemType name="uwl.task.webflow.decision.SAP_R3_HumanResources_TS20000131" connector="WebFlowConnector" defaultView="TripApprovalView" defaultAction="viewDetail" executionMode="pessimistic">
<ItemTypeCriteria systemId="SAP_R3_HumanResources" externalType="TS20000131" connector="WebFlowConnector"/>
<Actions>
<Action name="1" userDecision="yes" handler="UserDecisionHandler"/>
<Action name="2" userDecision="yes" handler="UserDecisionHandler"/>
<Action name="3" userDecision="yes" handler="UserDecisionHandler"/>
</Actions>
</ItemType>
<ItemType name="uwl.task.webflow.decision.SAP_R3_HumanResources_TS20000135" connector="WebFlowConnector" defaultView="TripCheckView" defaultAction="viewDetail" executionMode="pessimistic">
<ItemTypeCriteria systemId="SAP_R3_HumanResources" externalType="TS20000135" connector="WebFlowConnector"/>
<Actions>
<Action name="1" userDecision="yes" handler="UserDecisionHandler"/>
<Action name="2" userDecision="yes" handler="UserDecisionHandler"/>
</Actions>
</ItemType>
<ItemType name="uwl.task.webflow.SAP_R3_HumanResources_TS40007901" connector="WebFlowConnector" defaultView="TimeApprovalView" defaultAction="launchSAPAction" executionMode="pessimistic">
<ItemTypeCriteria systemId="SAP_R3_HumanResources" externalType="TS40007901" connector="WebFlowConnector"/>
<Actions>
<!--
<Action name="launchSAPAction" userDecision="no" handler="SAPTransactionLauncher" referenceBundle="launch_sap">
<Properties>
<Property name="GuiType" value="WinGui"/>
</Properties>
</Action>
-->
<!--
<Action name="launchSAPAction" userDecision="no" handler="SAPTransactionLauncher" referenceBundle="launch_sap">
<Properties>
<Property name="myfunc" value="CATS_APPR"/>
</Properties>
</Action>
-->
</Actions>
</ItemType>
</ItemTypes>
<Views>
<View name="TripApprovalView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.SAP_R3_HumanResources_TS20000131" columnOrder="attachmentCount, detailIcon, subject, priority, creatorId, createdDate, dueDate, approveCol, reviseCol, rejectCol" sortby="priority:descend, dueDate:ascend" tableDesign="ALTERNATING" visibleRowCount="10" headerVisible="yes" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" actionPosition="both" referenceBundle="tasks">
<Descriptions default="Approve Trip">
<ShortDescriptions>
<Description Language="no" Description="Godkjenning Reise"/>
</ShortDescriptions>
</Descriptions>
<DisplayAttributes>
<DisplayAttribute name="approveCol" type="radiobutton" actionRef="1" hAlign="CENTER">
<Descriptions default="Approve">
<ShortDescriptions>
<Description Language="no" Description="Godkjenn"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
<DisplayAttribute name="reviseCol" type="radiobutton" actionRef="2" hAlign="CENTER">
<Descriptions default="Revise">
<ShortDescriptions>
<Description Language="no" Description="Returner"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
<DisplayAttribute name="rejectCol" type="radiobutton" actionRef="3" hAlign="CENTER">
<Descriptions default="Reject">
<ShortDescriptions>
<Description Language="no" Description="Avvis"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
</DisplayAttributes>
<Actions>
<!--
<Action name="1" userDecision="yes" handler="UserDecisionHandler"/>
<Action name="2" userDecision="yes" handler="UserDecisionHandler"/>
<Action name="3" userDecision="yes" handler="UserDecisionHandler"/>
-->
<Action name="submitUserDecisions" userDecision="yes" handler="UIActionHandler" referenceBundle="submit"/>
<Action name="refresh" userDecision="no" handler="UIActionHandler" referenceBundle="refresh">
<Properties>
<Property name="type" value="button"/>
<Property name="onClick" value="onForceRefresh"/>
</Properties>
</Action>
</Actions>
</View>
<View name="TripCheckView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.SAP_R3_HumanResources_TS20000135" columnOrder="attachmentCount, detailIcon, subject, priority, creatorId, createdDate, dueDate,approveCol,reviseCol" sortby="priority:descend, dueDate:ascend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" actionPosition="top" referenceBundle="tasks">
<Descriptions default="Check Trip">
<ShortDescriptions>
<Description Language="no" Description="Kontroller Reise"/>
</ShortDescriptions>
</Descriptions>
<DisplayAttributes>
<DisplayAttribute name="approveCol" type="checkbox" actionRef="1" hAlign="CENTER">
<Descriptions default="Approve">
<ShortDescriptions>
<Description Language="no" Description="Godkjenn"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
<DisplayAttribute name="reviseCol" type="checkbox" actionRef="2" hAlign="CENTER">
<Descriptions default="Revise">
<ShortDescriptions>
<Description Language="no" Description="Returner"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
</DisplayAttributes>
<Actions>
<Action name="submitUserDecisions" userDecision="no" handler="UIActionHandler" referenceBundle="submit"/>
<Action name="refresh" userDecision="no" handler="UIActionHandler" referenceBundle="refresh">
<Properties>
<Property name="type" value="button"/>
<Property name="onClick" value="onForceRefresh"/>
</Properties>
</Action>
</Actions>
</View>
<View name="TimeApprovalView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.SAP_R3_HumanResources_TS40007901" columnOrder="attachmentCount, detailIcon, subject, priority, creatorId, createdDate, dueDate" sortby="priority:descend, dueDate:ascend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" actionPosition="top" referenceBundle="tasks">
<Descriptions default="Time Approval">
<ShortDescriptions>
<Description Language="no" Description="Godkjenning Tid"/>
</ShortDescriptions>
</Descriptions>
<Actions>
<Action name="submitUserDecisions" userDecision="no" handler="UIActionHandler" referenceBundle="submit"/>
<Action name="refresh" userDecision="no" handler="UIActionHandler" referenceBundle="refresh">
<Properties>
<Property name="type" value="button"/>
<Property name="onClick" value="onForceRefresh"/>
</Properties>
</Action>
</Actions>
</View>
</Views>
</UWLConfiguration> -
How to Call a AIR application from Flex Application
Hi,
I have Used AIR (Desktop application) in Flex Builder to Upload a File from a local path and save it it a server path.
I need to Call this AIR(Desktop application) from my Flex Application.... i.e
I am using a link button to send a event using Script and Forward that Desktop application from Flex Screen
But it doesnot load that (Desktop application) in Screen. Only Balnk screen is loaded from path
Here is the code
AIR(Desktop application)
<?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="openBrowseWindow();">
<mx:HTTPService id="urlpath" showBusyCursor="true" useProxy="false" method="
POST" url="http://localhost:8080/nat/FlexAction.do?method=UrlPath"result="pathresult(event)"
fault="faultHandler(event)"
>
</mx:HTTPService>
<mx:Script>
<![CDATA[
import mx.events.FileEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.utils.ObjectUtil;
import mx.controls.Alert;
private
var openFile:File = new File()
private
function openBrowseWindow():void{openFile.addEventListener(Event.SELECT, onOpenFileComplete);
openFile.addEventListener(Event.OPEN, load);
openFile.browse();
private
function load():void{Alert.show(
"load");
var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
//var textTypes:FileFilter = new FileFilter("Text Files (*.txt, *.rtf)", "*.txt; *.rtf");
var allTypes:Array = new Array(imageTypes);openFile.browse(allTypes);
private
function faultHandler(event:FaultEvent):void {
//Alert.show("Fault")Alert.show(ObjectUtil.toString(event.fault));
private
function pathresult(event:ResultEvent):void{Alert.show(
"res")
//Alert.show(ObjectUtil.toString(event.result));}private
function onOpenFileComplete(event:Event):void{
//mx.controls.Alert.show("event: "+event.target.nativePath +"UR!!!");
var pPath = event.target.nativePath;
var parameters:Object = {FlexActionType:"PATH",path:pPath};
// Alert.show("Image Selected from Path : "+pPath); urlpath.send(parameters);
//Alert.show("Passed.."+parameters);}
]]>
</mx:Script>
<mx:Button click="openBrowseWindow();onOpenFileComplete(event)" name="Upload" label="Upload" x="120.5" y="10"/>
Here is Mxml Code for Flex Application
<?xml version="1.0" encoding="utf-8"?><mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="http://ns.adobe.com/air/application/1.0.M4" >
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function Upload():void{
// CursorManager.setBusyCursor();
//var url:String = "HomeAction.do?method=onLoad";
//var url:String = "assets/Air.swf";
var url1:URLRequest = new URLRequest("assets/Air.swf");navigateToURL(url1,
"_self");
// CursorManager.removeBusyCursor(); }
]]>
</mx:Script>
<mx:LinkButton id="up" click="Upload()" x="295" y="215" label="UpLoad"/>
In this code i forward using s url to Open tat Desktop application but a blank screen appears with out the proper output...
Please Help me in this to forward AIR from Flex Screen..
Thanks in Advance
With Regards
Gopinath.A
Software Developer
First Internet Systems Pvt. Ltd.,
Chennaitry this
http://www.leonardofranca.com/index.php/2009/09/17/launching-an-installed-air-application- from-the-browser/
regards
Leonardo França
Adobe Certified Expert Flex 3 with AIR
Adobe Certified Expert Rich Internet Application Specialist v1.0
Adobe Certified Expert Flash CS3 Professional
Certified Professional Adobe Flex 2 Developer
Adobe Certified Professional Flash MX 2004 Developer
http://www.leonardofranca.com
http://twitter/leofederal
Manager AUGDF - Adobe User Group do Distrito Federal
http://www.augdf.com.br
http://twitter/augdf -
Calling SAP Transaction from BSP
I wonder whether it is possible to call SAP transaction from BSP application and pass to it some data; e.g., PO# when calling VA02?
The called transaction could appear in a separate MS IE Window (like in some Portal applications) or in SAP GUI.
Any help will be appreciated.
Thank you in advanceI have launched the Java SAPGui from BSP pages before. I used SNC so that the users were logged on via Single Sign On. I store the Java Gui in the Mime directory. You can force the startup transaction. Theorectically you could also Gui Scripting to try and control the Gui and force in the default value for your PO field. I have not tried that however. You will probably want to check the Service Marketplace for documents on the Gui Scripting. The following is the code from my BSP page to launch the Java Gui in the Browser as an applet:
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<HTML>
<HEAD>
<TITLE>SAPGUI for the Java Environment</TITLE>
<STYLE type="text/css">
body { margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; }
</STYLE>
</HEAD>
<BODY scroll="no">
<SCRIPT language="JavaScript">
// user configurable part starts here
var pluginurl = '';
var scriptable = 'true';
var codebase = '.';
var jnlp = 'platin.jnlp';
var keepalive = 'true';
var frog = 'true';
var trace = '';
var tracefile = '';
var connectionData = 'conn=/M/nts163/S/3620/G/SPACE/&tran=SE80&clnt=088&fast=true&sncon=true&sncname=p:[email protected]&sncqop=9';
// user configurable part ends here
// verify if Java Plugin as control in Internet Explorer or Java Plugin for Netscape or native JRE of browser must be used
var jre = 'control';
if(navigator.platform.indexOf("Mac") > -1)
jre = 'native';
else if (navigator.appName.indexOf("Netscape") != -1)
jre = 'plugin';
document.open();
switch (jre)
case 'control':
document.writeln('<OBJECT CLASSID = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ');
document.writeln(' ID = "PlatinGUI" ');
document.writeln(' CODEBASE = "j2re-1_3_1_02-win-i.exe#Version=1,3,1,0" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%" ');
document.writeln(' BORDER = 0> ');
document.writeln('<PARAM NAME = "TYPE" VALUE = "application/x-java-applet;jpi-version=1.3.1"> ');
document.writeln('<PARAM NAME = "SCRIPTABLE" VALUE = "', scriptable,'"> ');
document.writeln('<PARAM NAME = "code" VALUE = "com.sap.platin.GuiApplet2"> ');
document.writeln('<PARAM NAME = "codebase" VALUE = "', codebase,'"> ');
document.writeln('<PARAM NAME = "jnlp" VALUE = "', jnlp,'"> ');
document.writeln('<PARAM NAME = "archive" VALUE = "GuiStartS.jar"> ');
document.writeln('<PARAM NAME = "keepalive" VALUE = "', keepalive,'"> ');
document.writeln('<PARAM NAME = "frog" VALUE = "', frog,'"> ');
document.writeln('<PARAM NAME = "trace" VALUE = "', trace,'"> ');
document.writeln('<PARAM NAME = "tracefile" VALUE = "', tracefile,'"> ');
document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData,'"> ');
document.writeln(' ');
document.writeln('This page requires a Sun Java Plugin 1.3 and a SAPGUI for Java to view. ');
document.writeln(' ');
document.writeln('</OBJECT> ');
break;
case 'plugin':
document.writeln('<EMBED TYPE = "application/x-java-applet;version=1.3" ');
document.writeln(' PLUGINURL = "', pluginurl,'" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%" ');
document.writeln(' ALIGN = "BASELINE" ');
document.writeln(' code = "com.sap.platin.GuiApplet2" ');
document.writeln(' codebase = "', codebase,'" ');
document.writeln(' jnlp = "', jnlp,'" ');
document.writeln(' archive = "GuiStartS.jar" ');
document.writeln(' keepalive = "', keepalive,'" ');
document.writeln(' frog = "', frog,'" ');
document.writeln(' trace = "', trace,'" ');
document.writeln(' tracefile = "', tracefile,'" ');
document.writeln(' connectionData = "', connectionData,'" ');
document.writeln(' <NOEMBED> ');
document.writeln(' </NOEMBED> ');
document.writeln(' </EMBED> ');
break;
case 'native':
document.writeln('<APPLET CODEBASE = "', codebase,'" ');
document.writeln(' ARCHIVE = "GuiStartS.jar" ');
document.writeln(' CODE = "com.sap.platin.GuiApplet2" ');
document.writeln(' WIDTH = "100%" ');
document.writeln(' HEIGHT = "100%"> ');
document.writeln('<PARAM NAME = "SCRIPTABLE" VALUE = "', scriptable, '"> ');
document.writeln('<PARAM NAME = "jnlp" VALUE = "', jnlp, '"> ');
document.writeln('<PARAM NAME = "keepalive" VALUE = "', keepalive, '"> ');
document.writeln('<PARAM NAME = "frog" VALUE = "', frog, '"> ');
document.writeln('<PARAM NAME = "trace" VALUE = "', trace, '"> ');
document.writeln('<PARAM NAME = "tracefile" VALUE = "', tracefile, '"> ');
document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData, '"> ');
document.writeln('</APPLET> ');
break;
document.close();
</SCRIPT>
</BODY>
</HTML> -
Calling SAP Transaction from WDA
Hi,
We have a peculiar requirement of calling SAP Standard Transaction from Web Dynpro ABAP.Well, we tried achieving this using the Transactional iview. On click of appropiate link/button in my applicaiton, I can call the Transactional iview. But the problem is, I could not pass on the data from WDA Application to Transactional iview. I need some inputs in handling such cases.
The case might look something similar to PCR's final updation(like after all approvals of PCRs, the final Administrator executes the workitem which in turn calls the Notification Maintenance and this in turn calls the PA40 passing the data from Adobe form(XML data) to PA40 txn. Like this, After all my approvals, I would like to call the SAP Transaction passing the data from WDA Application. Hope I am clear.
Regards
<i><b>Raja Sekhar</b></i>Hi,
Maybe you can use the information from this blog to pass dynamic parameters to the SAP transaction iview which you call with the created URl
How to launch SAP transaction & pass parameters via URL
Dagfinn -
Transaction from R/3 to IC
HI!!
Can anyone help me, i need to know if a can use a transaction from R/3 to the Interaction Center.
Is there any documentation or SAP Note that can help me.
ThanksHello Carlos,
It is possible to pull R/3 transactions in IC Web Client. For this the R/3 system has to be defined as a logical system and then through transaction launcher it is possible to use R/3 transactions.
Refer the following links: -
/people/raja.g/blog/2007/01/24/displaying-r3-transaction-in-icwc-application
http://help.sap.com/saphelp_crm50/helpdata/en/92/54ee09984b11d687bc005004f2f41f/frameset.htm
Hope this helps!
Regards,
Khushboo
<b>Do reward points !</b> -
ICWC Error when launching transaction
Hello all,
Working with CRM 5.0, in interaction center web client I want to launch the CRM 'BP' transaction from navigation bar. I have configured Transaction Launcher and also Navigation Bar Profile.
But still when I click on the link at the left hand panel, I get the under stated error: -
404 Not Found
SAP J2EE Engine/7.00
The requested resource does not exist.
Details: Go to main page of this application!
I need some help!!
Thank you in advance
PedroHi Pedro,
Make sure that you have specified the transaction type of the Launch Transaction to be appropriate (BOR Transaction if you want to launch a SAPGUI screen and not a URL Transaction).
Specify the transcation in Definition 1 field. and rest of the details correctly.
Let me know if you face any issues.
Best Regards,
Pavithra -
Problem accessing Webservices from Flex
Hi All,
I have created a Webservice in Abap and configured it using
SOAMANAGER transaction. I am able to succesfully test the Web serivice which I have created in 'Soamanager ' transaction.
But when I am calling this Webservice from Flex application I am getting an error as " FAULT : faultCode:WSDLError faultString:'Runtime exception Error #1009' faultDetail:'null' "
We tried calling the Webservice outside SAP from the FLex application, it is working fine.
Please let me know how to rectify this error . It's an urgent requirement.
Thanks and regards,
Uma.hi
when you create your destinations for your webservices in the SOAMANAGER-> Destination Template
you would be providing wsdl url and destination , and in the below you can
find the username and pwd that need to set , you need to select the radio buttons with logon tickets ,
username , password , there , re-check the username and pwd by selecting the radio button with selecting the
radio button username password , and even check the webservice in the WSNAVIGATOR , whether its working
fine , and other thing is there is situation where your webservice may work fine inthe wsnavigator even then there would
be some problem inthe webservice , even check this scenario.
Thanks -
Hi All,
Iu2019 am trying to launch transaction CRMD_MKTDS (Data Sources for Segment Builder).
I have created the launch transaction via the wizard and made it visible in my Business Role. If I click on it in the Web UI then it opens in another screen the SAP menu screen from GUI, but not direct the CRMD_MKTDS transaction.
What should I do in order to call the transaction direct in the Web UI?
Also, does someone know if the functionality of the transaction CRMD_MKTDS is available in the standard Marketing Role or in another role?
Thank you in advance,
RoulaHi Roula..
Regarding this pop-up for the 'Data sources' that was not appearing as it should in the web UI i decided to log a message on OSS...but apparently SAP don't have an answer for that...
Hello Hugo,
Since the old transaction CRMD_MKTDS is still used through SAP GUI i am
not able to understand why you need to create the same by new UI.
I am really not aware about how you create a trx in new UI, so i suggestyou the same old trx in SAP GUI. I do not know how will you map the
data sources in new UI. Also in future also if you are using the BW as
data source it will be very difficult to get all the data sources
from BW to new UI. So SAP suggest you to use the old transaction only
and if you face any issue in that please revert back.
Thanks and Best Regards,
So basically I would like to kindly ask you if you don't mind to have a look at my definition of my transaction launcher to compare with yours...maybe you have some parameter/ flag that I'm missing.. do you have an e-mail where I can send this info for u to have a look?
Also If you could tell me what is the value of the parameter 'WEBGUI_sample_toolbar' (1,2 or 3) that you set-up for the service /sap/bc/gui/sap/its/ it would be nice..maybe it's because of that...
Many thanks for your help and prescious time.
Best regards
Hugo -
Passing null/empty values from Flex to a Coldfusion ORM object
This is the situation.
If you have an actionscript VO that binds to a Coldfusion ORM object via the RemoteClass metadata and some of the values are not set, null, or empty strings and you pass it from Flex to Coldfusion then the Coldfusion deserialization barfs saying the values are not acceptable date values (for type="date") or valid emails (for validation="email") or other such validations, even if required="false" on the property.
For instance, if you have the following actionscript VO:
package vo
[RemoteClass(alias="com.companyname.Person")]
[Bindable]
public class Person
public var person_id:Number;
public var last_name:String;
public var first_name:String;
public var email:String;
public var created_date:date;
public function Person() {}
And you have the corresponding Coldfusion component:
<cfcomponent displayname="person" output="false"
alias="com.companyname.Person"
schema="dbo" persistent="true"
table="PERSON">
<cfproperty name="person_id" type="numeric" fieldtype="id" validate="integer" required="true" column="PERSON_ID"/>
<cfproperty name="last_name" type="string" column="LAST_NAME" required="true"/>
<cfproperty name="first_name" type="string" required="true" column="FIRST_NAME"/>
<cfproperty name="email" type="string" validate="email" required="false" column="EMAIL"/>
<cfproperty name="date_created" type="date" required="false" column="DATE_CREATED"/>
</cfcomponent>
Then if you pass the actionscript VO as is to Coldfusion, the deserialization complains that you do not have a valid email or a valid date for date_created. This is bad, bad, bad. Essentially if you have a validation of certain types (email being one) or a date property, or probably some other cases, then you essentially can not make it not required, it automatically makes it required because the Coldfusion serializer considers null/empty values as invalid dates or emails. But the serializer should not care for values that are not required, there has to be a way to pass null/empty values to these data types, but apparently there's not. If you pass an empty string ("") you still have the same problem. I know Coldfusion does not have null values, but there has to be a way to do this, otherwise it defeats the purpose of having required="false" and some kind of validation on the property.
There seems to be two ways around it. One is to override the implicit setters for the properties on the Coldfusion side and check for 0 length values yourself, then set the property if it is not, or create your own validation routine. I ended up creating my own validation function since I didn't want to have to write a setter function for everyone of these cases and I can pass back user friendly validation messages.
Have other people encountered this problem? How have you gotten around it? Thanks.Looks like a known workaround to this issue is to wrap the Flex object in an array.
The ColdFusion CFC will accept that as an array, with the first an only element being a struct, which is the object you built in Flex. -
How to get Checkbox Value from Flex in PHP.
Hi,
I need to know how to get a checkbox value from flex in PHP-POST/GET because I don't know what is the value property of a checkbox in flex.
Please Help.Hi,
It is very simple. Follow the steps below to achieve the solution,
1. Write a check-box change event to capture the value of the check box. Store this value in a variable(say bolChkSelected:Boolean).
2. In step 1 you got the value of the check box. Now your aim is to send the value to php. Declare a httpService in your flex application(i think you are aware of using it).Ok..im writing it
<mx:HTTPService id="sampleService" resultFormat='e4x' url='http://yourdomain/file.php' result='handleResult()' fault='handleFault()'>
</mx:HTTPService>
3. Now the actual solution... u need to send the shcStatus in to php..
Declare an object to hold the data
var objparameters:Object={};
objparameters['CheckBoxdata'] = bolChkSelected;
--in the above line... 'CheckBoxdata' is used as a parameter to php..you shud have the same variable name while accessing in php file also..
in php file..
checkboxstatus = $_POST[''CheckBoxdata''];
echo checkboxstatus
thats it..
Maybe you are looking for
-
Hierarchy data not display in particular Alignment
I have created hierarchy on node id the basis of parent id with group indent of 0.2. Put the other field in detail field but after running the report it showing data in hierarchical order data (i.e data is not proper alignment).
-
Hi Experts, I have encountered a peculiar situation with respect to ALV, using sort. The problem is as follows: 1. I have an internal table with 3 fields, upon which I am supposed to implement a sort criteria on the first two fields. 2. My data is so
-
Where is the configuration setting in SPRO (full path) for defining sapscript for Check Printing (using transaction code F110) ? Is there a direct tcode for it ?
-
Language Import Supplementation
Hi I am importing a new language (French) into our NW04 ECC 5 system, we already use English and German which are standard. 1) I plan to import the language from the .PAT file into client 000 using SMLT 2) Import previously imported Support packs for
-
HT3986 Windows 7 and Apple mouse
I have a MacBook Pro 15", 2006 vintage w/Snow Leopard. I've installed Windows 7 (32 bit) using boot camp. My Apple mouse is not working with Windows. How do I fix this? Is there a specific driver I need? If so where can I get it and how do I install