OSB calling Tuxedo Not transactional?
I have a web service with methods in it that calls OSB services (which I have configured to call Tuxedo services exposed through the WTC). However, my calls don't seem to be transactional... is there a way to conifgure OSB to be transactional when calling Tuxedo services exposed through WTC?
Let me describe how I am calling these Tuxedo services...
1. Import/expose Tuxedo service via WTC...
2. Create an OSB business service bound to one of the imported services
3. Create an OSB proxy service that creates a route that calls the business service created in #2, pretty simple, no transformations done
4. Create a web service front end that calls the proxy created in #3
So, everything seems to work using #1-4, except of course the non-transactional issue. So, to fix this what I attempted to do was to replace the value of the outbound qualityOfService variable from "best-effort" to "exactly-once". To do this I modified #3 to add a replace message processing action to modify the quality of service attribute to "exactly-once". I got this working (looks like it's modifying the request going into the business service), but still no luck having the Tuxedo side of things to be transactional. Maybe I'm still not doing something properly...?
Here is the request getting passed into my business service from the proxy:
Route to: "InsertBusNotesBS"
$outbound:
<con:endpoint name="BusinessService$TuxedoOSB$BusinessServices$InsertBusNotesBS" xmlns:con="http://www.bea.com/wli/sb/context">
<con:service/>
<con:transport>
<con:mode>request-response</con:mode>
<con:qualityOfService>exactly-once</con:qualityOfService>
<con:request xsi:type="tux:TuxedoRequestMetaData" xmlns:tux="http://www.bea.com/wli/sb/transports/tuxedo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:encoding xsi:nil="true" xmlns:tran="http://www.bea.com/wli/sb/transports"/>
</con:request>
</con:transport>
<con:security>
<con:doOutboundWss>false</con:doOutboundWss>
</con:security>
</con:endpoint>
$body (request):
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<FML32>
<ROW_COUNT>1</ROW_COUNT>
<BUS_IDN>100100005</BUS_IDN>
<BUS_NTS_SEQ_NUM>-1</BUS_NTS_SEQ_NUM>
<REF_EFF_DTE>2020-01-01 12:00:00</REF_EFF_DTE>
<REF_CAN_DTE>2020-01-01 12:00:00</REF_CAN_DTE>
<NTS_TYP_CDE>APP</NTS_TYP_CDE>
<NTS_TIT>TEST TITLE</NTS_TIT>
<NTS_TXT>TEST TEXT</NTS_TXT>
<NTS_ACV_IND>-1</NTS_ACV_IND>
<CTL_USR_IDN>50280</CTL_USR_IDN>
<CTL_TMS>2008-01-01 12:00:00</CTL_TMS>
<FNC_KEY_NME>INTERNET</FNC_KEY_NME>
</FML32>
</soapenv:Body>
$header (request):
<soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"/>
$attachments (request):
<con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>
Edited by: [email protected] on 30-Apr-2009 8:55 AM
Similar Messages
-
Calling Tuxedo Service using BEA Jolt.
I'm trying to call Tuxedo service from java stored procedure using BEA JOLT.My normal java client works fine but when i use the same client as java stored procedure i get following error message :
can not connect to any //lucy:9021(host:port)
Reason:Nwhdlr:can not open socket
I've successfully loaded all required JOLT jar files using loadjava and created the procedure successfully .Java code is given below :
import bea.jolt.*;
import java.sql.*;
public class JoltToTux
public static void callTuxService() throws Exception
JoltSession session;
JoltSessionAttributes sattr;
JoltRemoteService toupper;
JoltTransaction trans;
String userName=null;
String userPassword=null;
String appPassword=null;
String userRole=null;
String outstr;
try {
sattr = new JoltSessionAttributes();
sattr.setString(sattr.APPADDRESS, "//lucy:9021");
sattr.setInt(sattr.IDLETIMEOUT, 300);
session = new JoltSession(sattr, userName, userRole,userPassword, appPassword);
toupper = new JoltRemoteService ("CB_EXESUB", session);
toupper.setString("CLFY_SUB", "PingSrvr");
toupper.call(null);
System.out.println( "Call to Tuxedo complete" );
outstr = toupper.getStringDef("WF_MESSAGE","" );
System.out.println("return string : " + outstr);
session.endSession();
System.exit(0);
} //end of try
catch (Exception e) {
// System.err.println(e.getMessage());}
e.printStackTrace();
} // end main
public static void main( String args[] ) {
try {
JoltToTux jt = new JoltToTux();
jt.callTuxService();
catch ( Exception e0 ) {
e0.printStackTrace();
} // end ToUpper
thanks
anuragAms,
You can't do that with JOLT. You will need to use the WTC product,
currently in beta - see WTC Questions and Answers
Regards,
Peter.
Got a Question? Ask BEA at http://askbea.bea.com
The views expressed in this posting are solely those of the author, and
BEA
Systems, Inc. does not endorse any of these views.
BEA Systems, Inc. is not responsible for the accuracy or completeness of
the
information provided
and assumes no duty to correct, expand upon, delete or update any of the
information contained in this posting.
Ams wrote:
Hi Manoj,
I want to call a tuxedo service and also want to update
database (using entity beabs) in same transaction so I
can't use AUTOTRAN , Am I right ?
I am using bea.jolt.pool.SessionPool's startTransaction
method to start a transaction and passing this
to SessionPool's call method.
Ams.
"Manoj SASIDHARAN" <[email protected]> wrote:
Hello Ams,
Could u plz give more information abt the usage scenario. Another way
to test
would be to put AUTOTRAN=Y for the service in question.
HTH
regards
MS
"Ams" <[email protected]> wrote:
Hi,
I am calling Tuxedo service from ejb using jolt.
I want the service call in transaction started in ejb.
I am getting following error.
LIBTUX_CAT:481: ERROR: Service xa_start returned -7
Does jolt support transaction ?
Ams
[att1.html] -
Telephone Call List not showing in the T.Code - CRMD_TM_CLDIST
Hi Experts,
We are working in SAP CRM- ISU project in which we need to transfer the telephone call list to CRM .When we execute the transaction code CRMD_TM_CLDIST in CRM,system does not show any call list,as in ECC system is reflecting one call list successfully transferred(No of lines for processing 1)
We have executed the transaction FPVT to transafer the call list to crm system but crm system is not showing any call list under transaction code CRMD_TM_CLDIST.
Please share your input as how telephone call list will be displayed in crm system through ECC.
Thanks
Warm Regards
Vineet JoshiHi Sap,
We are triggering the dunning process in SAP ECC, there when we excute the transaction FPVT after entering all the details & click on execute then in ECC,system shows that (No of lines for processing 1).
We need dunning customers in CRM through calling list,but when we execute the T.code CRMD_TM_CLDIST, no calling list is reflecting.
I hope the requirement is bit clear to you.
Thanks
Warm Regards
Vineet Joshi -
How to call a sap transaction in Internet Service
Hi,
I have a requirement to call a sap transaction code in the Internet Service. By donig this, the SAP transaction will be called in the web browser via ITS.
Internet Service has HTML Templates - inside html templates I want to call the sap transaction based on a button event.
Below is the transaction code. When I enter below link in the browser then it works fine. The same I need to call progrmatically in html template on some event.
http://xxxxxxxxxxx/sap/bc/gui/sap/its/webgui?~transaction=me23n
Thanks,Hello Sal.
This does not look like an ABAP issue, but rather JavaScript, JQuery or whatever you are using to handle the button-click-event in your "Internet Service" web application.
You might try window.open("http://xxx...me23n","_self").
Best regards,
Frank. -
How to call a custom transaction in retailstore which runs in same session?
Hey guys,
hope you can give me some hints. OK, i have a resultlist and it should be possible to call a SAPGui transaction via webgui service. This works fine but the link which i created has no info about the current session ID. I build an URL with the function modul ITS_GET_URL and concatenate it with the neccessary transaction code and parameter. Then i call this URL by function ITS_BROWSER_WINDOW_OPEN. A new browser window is opened with the right transaction in webgui. But if i hit the button back, i get the message, i was succesfully logged off. This wasn't the result which i want.
What i want is to call the transaction via webgui and this transaction should run in same window and in same session. Any idea how to do that?
I know i need to build an URL with a valid session ID for the transaction, but how can i do that?
thx,
Wei-MingHello Sal.
This does not look like an ABAP issue, but rather JavaScript, JQuery or whatever you are using to handle the button-click-event in your "Internet Service" web application.
You might try window.open("http://xxx...me23n","_self").
Best regards,
Frank. -
Error while trying to login to ecc6: Caller J2EE_ADMIN not authorized, only
After installation fo ECC6,When I am trying to connect to visual admin,I am getting given below error.
I am also not able to login to NWA
Application cannot be started.
Details:
com.sap.engine.services.deploy.container.ExceptionInfo: Naming error.
System/Server/VisualAdministrationTool#Plain###Error while trying to login to ecc6: Caller J2EE_ADMIN not authorized, only role administrators is allowed to access JMX#
#1.5#C000C0A8016400010000000001A6B16F0004A600094A9828#1308418992937#/System/Server/VisualAdministrationTool##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-13,6,main]##0#0#Error#1#/System/Server/VisualAdministrationTool#Plain###Error while trying to login to ecc6: Cannot authenticate the user.#
#1.5#C000C0A8016400020000000001A6B16F0004A6000C292AF0#1308419041078#/System/Server/VisualAdministrationTool##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-24,6,main]##0#0#Error#1#/System/Server/VisualAdministrationTool#Plain###Error while trying to login to ecc6: Caller J2EE_ADMIN not authorized, only role administrators is allowed to access JMX#
#1.5#C000C0A8016400030000000001A6B16F0004A6001D1853B8#1308419325187#/System/Server/VisualAdministrationTool##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-35,6,main]##0#0#Error#1#/System/Server/VisualAdministrationTool#Plain###Error while trying to login to ecc6: Caller J2EE_ADMIN not authorized, only role administrators is allowed to access JMX#
#1.5#C000C0A8016400000000000001CA1A680004A6008F78FF48#1308421244125#/System/Server/VisualAdministrationTool##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-2,5,main]##0#0#Error#1#/System/Server/VisualAdministrationTool#Plain###Error while trying to login to ecc6: Caller J2EE_ADMIN not authorized, only role administrators is allowed to access JMX#
#1.5#C000C0A8016400010000000001CA1A680004A600919BB068#1308421279953#/System/Server/VisualAdministrationTool##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-13,6,main]##0#0#Error#1#/System/Server/VisualAdministrationTool#Plain###Error while trying to login to ecc6: Cannot authenticate the user.#
#1.5#C000C0A8016400020000000001CA1A680004A6009220F598#1308421288687#/System/Server/VisualAdministrationTool##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-24,6,main]##0#0#Error#1#/System/Server/VisualAdministrationTool#Plain###Error while trying to login to ecc6: Caller J2EE_ADMIN not authorized, only role administrators is allowed to access JMX#
#1.5#C000C0A8016400030000000001CA1A680004A60097A70598#1308421381359#/System/Server/VisualAdministrationTool##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-35,6,main]##0#0#Error#1#/System/Server/VisualAdministrationTool#Plain###Error while trying to login to ecc6: Cannot authenticate the user.#
#1.5#C000C0A8016400040000000001CA1A680004A6009867E880#1308421394000#/System/Server/VisualAdministrationTool##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-46,6,main]##0#0#Error#1#/System/Server/VisualAdministrationTool#Plain###Error while trying to login to ecc6: Cannot authenticate the user.#
#1.5#C000C0A8016400000000000001402EEB0004A600E643EE28#1308422700265#/System/Server/VisualAdministrationTool##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-2,5,main]##0#0#Error#1#/System/Server/VisualAdministrationTool#Plain###Error while trying to login to ecc6: Caller J2EE_ADMIN not authorized, only role administrators is allowed to access JMX#
Any help would be highly appreciated.
Thanks
SukrutHello,
If you have a installation of dual stack(ABAP + JAVA) system.. check in SU01 transaction if SAP_J2EE_ADMIN role is assigned to the J2EE_ADMIN user. If not, please assign it.
For only JAVA stack systems, default administrator user is Administrator.
thanks
ashish -
How to call tuxedo in Visial basic?
The version we are using is Tuxedo 6.5.
Now we want to call tuxedo in our VB application. but tuxedo is a field we have
little touch with.
So i have no idea how to bind these two together.
Hope you kindly give a hand (maybe some documents on this)
thanks a lot in advance. Look forward to the prompt reply!1.In the VB IDE i have installed the SP5.
2.The version of the tuxedo is 6.5; %TUXDIR%\udataobj\patchlev is not found in
my system.
What is the file?
3. again,Would tpinit() works well without relevant server booted?
thanks for your prompt reply.
"Wayne W. Scott" <[email protected]> wrote:
I don't know; I haven't worked with that stuff. Since you said the error
is:
"vb6.exe have error occured -- will be closed by windows -- you will
need to restart
the program"
I would check to see that the VB or VS service packs have been installed.
Visual Studio had SP5 last time I looked.
Then, which version of Tuxedo do you have and is there a file called
%TUXDIR%\udataobj\patchlev ? If yes, what is the very LAST line in it?
Wayne
beawhycn wrote:
1. In the project you supply,there is a function as follow.
Function connectToTuxedo() As Integer
Dim iRet As Integer
Dim Msg As String
Dim msgresult As Integer
iRet = tpinit(ByVal 0&)
If iRet = -1 Then
Dim errMsg As String
errMsg = tpstrerror(ByVal gettperrno())
Msg = "Tpinit failed " + Str$(gettperrno()) + errMsg
msgresult = MsgBox(Msg, vbOKOnly)
End If
connectToTuxedo = iRet
End Function
when the programe comes to the line of "
errMsg = tpstrerror(ByVal gettperrno())
the VB IDE will be forced to close with the message:
vb6.exe have error occured£¬will be closed by windows £¬you will needto restart
the program¡£
add:in the OS's application report has the infor(event ID(1020) can'tbe found
in libwsc.dll.
I don't know the error is result from the libwsc.dll or my VB IDE
2. Can i run this example without Tuxedo client (just with some .dllin my path)?
Would tpinit() works well without relevant server booted? I ama layman@-@
Any comments or advise will be appricated. -
Hi all
I have a composite service in my PBM server which has security WS-Policy forcing a SAML token to be passed together with the request (oracle/wss10_saml_token_with_message_protection_service_policy - method should be sender-vouches).
In OSB, when I try to create my business service pointing to the WSDL with SAML, I receive this error (environment is 11g):
*[OSB Kernel:398133]WSSP 1.2 policy assertions (Web Services Security Policy 1.2) are not allowed on this service*
So what is the right way to make an OSB call to a BPEL/BPM SAML-protected service? Do i need to install OWSM on the same server as OSB and use the same policies?
When I tested OSB proxy service calling a another OSB PS protected with SAML, I was able to add to the SAML WSDL this policy and it worked fine.
+<wsp:Policy+
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wssp="http://www.bea.com/wls90/security/policy"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wls="http://www.bea.com/wls90/security/policy/wsee#part"
wsu:Id="SAMLSenderVouches">
+<wssp:Identity>+
+<wssp:SupportedTokens>+
+<wssp:SecurityToken+
TokenType="http://docs.oasis-open.org/wss/2004/01/oasis-2004-01-saml-token-profile-1.0#SAMLAssertionID">
+<wssp:Claims>+
+<wssp:ConfirmationMethod>sender-vouches</wssp:ConfirmationMethod>+
+</wssp:Claims>+
+</wssp:SecurityToken>+
+</wssp:SupportedTokens>+
+</wssp:Identity>+
+</wsp:Policy>+
But on BPEL/BPM side, I have only a pre-defined set of policies and no matter what I chose I can't create my Business service based on that.
Please, need some advice here.
Regards
GiovaniHi all
I have a composite service in my PBM server which has security WS-Policy forcing a SAML token to be passed together with the request (oracle/wss10_saml_token_with_message_protection_service_policy - method should be sender-vouches).
In OSB, when I try to create my business service pointing to the WSDL with SAML, I receive this error (environment is 11g):
*[OSB Kernel:398133]WSSP 1.2 policy assertions (Web Services Security Policy 1.2) are not allowed on this service*
So what is the right way to make an OSB call to a BPEL/BPM SAML-protected service? Do i need to install OWSM on the same server as OSB and use the same policies?
When I tested OSB proxy service calling a another OSB PS protected with SAML, I was able to add to the SAML WSDL this policy and it worked fine.
+<wsp:Policy+
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wssp="http://www.bea.com/wls90/security/policy"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wls="http://www.bea.com/wls90/security/policy/wsee#part"
wsu:Id="SAMLSenderVouches">
+<wssp:Identity>+
+<wssp:SupportedTokens>+
+<wssp:SecurityToken+
TokenType="http://docs.oasis-open.org/wss/2004/01/oasis-2004-01-saml-token-profile-1.0#SAMLAssertionID">
+<wssp:Claims>+
+<wssp:ConfirmationMethod>sender-vouches</wssp:ConfirmationMethod>+
+</wssp:Claims>+
+</wssp:SecurityToken>+
+</wssp:SupportedTokens>+
+</wssp:Identity>+
+</wsp:Policy>+
But on BPEL/BPM side, I have only a pre-defined set of policies and no matter what I chose I can't create my Business service based on that.
Please, need some advice here.
Regards
Giovani -
Calling a R3 transaction in BSP
Hi,
I want to call an R3 Transaction and pass the screen parameter inside an BSP Page and i am working in WAS620. Is this possible?
If yes, How the CALL TRANSACTION command i handled in BSP?
Is there any other way to call an SAP transaction like VA02 etc?
Thanks in advance
arunAlthough I'm not sure you can get the same level of parameter passing as with the regular SAPGui shortcut files, you might also want to have a look a the Java SAPGui. It can be opened as an applet in a web browser. The following is some sample code from a BSP. I even store the installation in the Mime repository. This example uses SNC for Single Sign On and takes you directly to SE80.
<%@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 STD SAP transaction in BSP
Hi All,
I am new to BSP.
Is it possible to call SAP standard transaction in the BSP page, browser should be Internet Explorer.
I have tried for mm03 but when I use call transactio it opens STD SAP Session with given paramerers (material number).
And the problem is that . I want to call it in Internet
Explorer
if yes.
Can anyone tell me tell me how it is possible.
Thanks in Advance,
DhananjayThanks Raja,
I am in 4.7 E
This is my code for VF03 ,
this is layout code of page
<%@page language="abap"%>
<<html>
<body bgcolor = "silver">
<form>
<input style="Z-INDEX: BACKGROUND-COLOR: #FFFFFF;
BORDER-BOTTOM: black 1px groove; BORDER-LEFT: black 1px groove;
BORDER-RIGHT: black 1px groove; BORDER-TOP: black 1px groove;
FONT-FAMILY: Verdana, arial; FONT-SIZE: 8pt; TEXT-DECORATION: none"
type="text" name="number" value = "" maxlength = 10>
<INPUT style="Z-INDEX: 103; BACKGROUND-COLOR: whitesmoke" type="submit"
name="onInputProcessing(select)" value="Display" action = "tcode.htm">
</form>
</body>
</html>
This is its event handler(OnInputProcessing)
event handler for checking and processing user input and
for defining navigation
case event_id.
when 'select'.
navigation->set_parameter( 'number' ).
navigation->next_page( 'tcode' ).
set parameter id 'VF' field number.
endcase.
*****This is code for next page
Layout
<%@page language="abap"%>
<html>
<body BGCOLOR="#f5f5f5">
<h2> Your Customer search </h2>
<%
if number is initial.
%>
<h3> Sorry, we found no matches for <%= number %>. </h3>
<%
else.
%>
<%
endif.
%>
Event Handler(OnInitialization)
if number is not initial.
SET PARAMETER ID 'VF' FIELD number.
call transaction 'VF03'.
else.
number = '%'.
endif.
Plesae check it, I am waiting Or Give me sample code for any TCODE.
Thanks,
Dhananjay -
Calling an SAP Transaction in cProjects Object Links
Hi all,
Can anyone help with the steps to be done in order to call an SAP Transaction in cProjects via services to Object Links. We succeeded to get the object links from R/3, but we are not able yet to see the 'open' link under 'Application' in the Object Link Tab. I read some documentation, it seems that an ITS server is required... Has anyone succeeded to do the right setting?
Thank you,
LacramioaraHi Lacramioara,
You have to enter the ITS Web server name in the Web Server field (IMG activity Make Settings for Calling an SAP Transaction"). The server is required if you want to call a Web application for processing a linked object.
Regards
Deepak -
How to call external application (transaction launcher) from event method
Hi all
Can somebody tell me which program lines to put into an event handler method in a view controller to get an external application called. I intend to define the link to the external application in the Transaction Launcher. But I cannot find any instructions on how to call the Transaction Launcher from my event handler method. I do not want to launch the application from the navigation bar, ONLY via a link in a list of invoices in a table view, and I want to press the invoice number to get an external application called to display the invoice. My event handler method gets called fine enough, but I have no clue which program lines to put into the method to pass on the call to the Transaction Launcher
Best regards
Arne Thage / MarchIT / Denmarkhi,
check class CL_CRM_UI_LTX_NAVBAR_PARAM.
call method : CREATE_PARAMETER_OBJECT with parameters
IV_LINK_ID Importing Type CRMT_UI_LOGICAL_LINK_ID Logical Link ID
IV_PARAMETER Importing Type CRMT_UI_LINK_PARAMETER Link Parameter
RV_RESULT Returning Type Ref To IF_BOL_BO_PROPERTY_ACCESS BO Attribute
I think it should work but have never done myself.
Best Regards
Pankaj Kumar -
Identify portal call to R3 transaction
Hi
I have a call to a customer transaction in R/3 from enterprise portal that then executes a customer program. Is there a way to identify that the call of the transaction is from enterprise portal and not R3?
If I look at the call stack/syst table etc it looks the same regardless off if I execute the transaction from within R3 or from the portal.
Thanks & Regards
Davewithin your abap call this FM
ITS_IMPORT_CONTEXT
the returned table parameter has the info whether its called from portal or just ITS (browser)
Regards
Raja -
TRANSACTION LAUNCHER--CALLING CRM Z TRANSACTION THROUGH WEB UI
As per the requirement, we are trying to call CRM Z transaction through web UI. We have used the Object TSTC and created a replica of the object ZTSTC and used the method execute. Made the necessary config for navigation bar and Business role. We could see the link in the Navigation bar but the link could not call the transaction. Pls suggest.Do we need to take the object of the Transaction or copy TSTC and proceed. Thanks in advance.Points will be awarded
PLS FIND THE DETAILS TO PROVIDE THE INPUTS
Configure Transaction Launcher TO CALL T.CODE ZEGNM_IMG FROM CRM THROUGH WEB UI USING TRANSACTION LAUNCHER
USED THE OBJECT ZTSTC BY COPYING TSTC OBJECT AND BY RELEASING THE OBJECT WITH METHOD EXECUTE
PROVIDED THE T.CODE ZEGNM_IMG IN THE VALUE FIELD IN THE ABOVE SCREEN
CREATED THE DIRECT LINK ZEGNM_K
CREATED THE DIRECT LINK GROUP ZEGNM_K
ASSIGN THE DIRECT LINK TO THE DIRECT LINK GROUP
ASSIGN THE DIRECT LINK GROUP TO THE PROFILE TMFLEASING WITH POSITION 80
IN THE BUSINESS ROLE CUSTOMIZING MADE THE DIRECT LINK GROUP VISIBLE
AFTER MAKING THE ABOVE CONFIGURATION WE HAVE LAUNCHED THE WEB UI AND THE FOLLOWING ERROR IS SHOWING UP
PLS FOLLOW THE ABOVE SCREENSHOTS AND PLS PROVIDE YOUR INPUTS TO ACHIEVE THE OBJECTIVE OF LAUCHING THE Z CRM GUI TRANSACTIONS USING TRANSACTION LAUCHER
ALSO PLS FIND THE SCREENSHOT OF ITS
URL OF ITS USED
u201Chttp://crd.tmf.com:8003/sap/bc/bsp/sap/its/webgui?transaction=IC_LTX&okcode=ICEXECUTEu201D -
Calling Tuxedo from java web service
i am new to tuxedo,i have developed web service in javax-ws.now i want to call tuxedo server from my web service,please any one let me guide how to do such thing.
if any one have any related information please share with me.its urgent.
Thanking YouHi,
Thanks for valuable information and quick response.
I need more information on the same line. As all suggestion given by you required license assuming our component running in another JEE environment. Is there any option available which doesn't required any additional cost?
If not can you provide estimate cost of license for below option.
1. Jolt
2. Salt
3. JCA adapter of Tuxedo
Awaiting for your reply. Thanks in advance.
Regards,
Kiran Sankpal
Edited by: user12023492 on Feb 9, 2010 10:08 PM
Edited by: user12023492 on Feb 9, 2010 10:08 PM
Maybe you are looking for
-
HI Guru's Here in my Client Place, They are useing cash on hand ( main cash GL only) they are not maintaining cash journal (FBCJ) But Client requirement is, they need date wise and day wise balances (opening and closing) and payments/receipts throug
-
How do you setup 2 icloud accounts on one phone. I would like to do that to separate contacts/calendars from photo stream. I have a shared photo library that i would like to be able to access from each phone. How do you do it? Thanks.
-
hello Im from mexico and i bought a macbook air 1 month ago and the brightness i too low I cant see anything on the display but I connect another display device by thunderbolt and it works, sometimes the display flicks when the macbook is some 30 min
-
CALL METHOD CL_GUI_CFW= DISPATCH.
what is the use of CALL METHOD CL_GUI_CFW=>DISPATCH. one?
-
I've got a new 15" LED mac book pro. It's the low end. 15.4" core2duo intel 2.4ghz. 4gb ram. 250gb hard drive. nvidia non 3d accelerated and then the 3d accelerated video chip. I forget the model of the nvidia chip. I want to run windows vista or XP