Problem with Dynamic Configuration in SOAP-AXIS adapter..!!!
Hi ,
Idoc> XI>SOAP-AXIS
I am doing a scenario where I need to pass the URL dynamically in SOAP-AXIS adapter by taking the SNDPRN of Idoc.
If SNDPRN = 100 , message has to go to http://10.190.25.16:8210/file/receiver
SNDPRN = 200 , message has to go to http://20.180.26.16:8210/file/receiver
It is working correctly when I tried for single receiver. When I' tried to use DynamicConfiguration, it is coming in SOAP document but it is not working and not passing to correct channel. According to this note 1039369, I mentioned the following modules.
AF_Adapters/axis/AFAdapterBean ---> afreq
AF_Adapters/axis/HandlerBean ---> xireq
AF_Adapters/axis/HandlerBean ---> dc
AF_Adapters/axis/HandlerBean ---> remover
AF_Adapters/axis/HandlerBean ---> trp
AF_Adapters/axis/HandlerBean ---> xires
AF_Adapters/axis/AFAdapterBean ---> afres
xireq -> handler.type-> java:com.sap.aii.axis.xi.XI30OutboundHandler
dc -> handler.type-> javasap.aii.axis.xi.XI30DynamicConfigurationHandler
dc ---> key.1 ---> write http://sap.com/xi/XI/System/SOAP TServerLocation
dc ---> location.1 ---> context
dc ---> value.1 ---> transport.url
remover ---> handler.type ---> java:com.sap.aii.axis.soap.HeaderRemovalHandler
remover ---> namespace ---> http://sap.com/xi/XI/Message/30
trp ---> handler.type ---> java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
trp ---> module.pivot ---> true
xires ---> handler.type ---> java:com.sap.aii.axis.xi.XI30OutboundHandler
and I am getting the below error in SOAP-AXIS channel
Error Axis: error in invocation: java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
Error MP: Exception caught with cause java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
Error Exception caught by adapter framework: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage: java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
Kindly let me know if anyone has any idea what might be wrong?
Thanks
Deepthi
I have a similar problem. I also like to add some header fields to my message und that's way I'm trying to use the AXIS adapter. (Axis adapter FAQ question 30) Unfortunately I'm getting exactly the same error message:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
Deepthi, you wrote that you have missed one jar file. Can you remember which file it was?
Similar Messages
-
Problem with dynamic configuration in PI 7.0 (SP 21)
We're trying to set a dynamically configurable parameter (UrlParam in plain http adapter) in a java mapping and when calling, via proxy, getting the following error returned<br />
<p />
<br />
<?xml version="1.0" encoding="utf-8" ?><br />
- <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"><br />
- <asx:values><br />
<SYSTEMFAULT href="#o284" /><br />
</asx:values><br />
- <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema"<br />
xmlns:abap="http://www.sap.com/abapxml/types/built-in" <br />
xmlns:cls="http://www.sap.com/abapxml/classes/global" <br />
xmlns:dic="http://www.sap.com/abapxml/types/dictionary"><br />
<br />
- <cls:CX_AI_SYSTEM_FAULT id="o284"><br />
- <CX_ROOT><br />
<TEXTID>F63AFF63DBE4BB4786A7F52CC4167145</TEXTID><br />
<PREVIOUS /><br />
<KERNEL_ERRID /><br />
- <INTERNAL_SOURCE_POS><br />
<PROGID>95</PROGID><br />
<CONTID>3304</CONTID><br />
</INTERNAL_SOURCE_POS><br />
</CX_ROOT><br />
<CX_STATIC_CHECK /><br />
- <CX_AI_SYSTEM_FAULT><br />
<CODECONTEXT /><br />
<CODE>PLAINHTTP_ADAPTER.ATTRIBUTE_MISSING_PARAMS</CODE><br />
<ERRORTEXT /><br />
<LANGUAGE /><br />
</CX_AI_SYSTEM_FAULT><br />
</cls:CX_AI_SYSTEM_FAULT><br />
</asx:heap><br />
</asx:abap> <br />
<p />
<br />
The java code in the mapping is as follows:<br />
<br />
The java code in the mapping is as follows:<br />
/*<br />
Created on 07-Jun-2010<br />
*<br />
To change the template for this generated file go to<br />
Window>Preferences>Java>Code Generation>Code and Comments<br />
*/<br />
package uk.gov.communities.finance; <br />
<br />
import java.io.InputStream;<br />
import java.io.OutputStream;<br />
import java.util.Map;<br />
<br />
import com.sap.aii.mapping.api.DynamicConfiguration;<br />
import com.sap.aii.mapping.api.DynamicConfigurationKey;<br />
import com.sap.aii.mapping.api.StreamTransformation;<br />
import com.sap.aii.mapping.api.StreamTransformationException; <br />
<br />
/**<br />
@author Mark<br />
*<br />
To change the template for this generated type comment go to<br />
Window>Preferences>Java>Code Generation>Code and Comments<br />
*/ <br />
<br />
public class PaymentGatewayRequestMap implements StreamTransformation {<br />
/** This Map parameter is for the Method setParameter() */<br />
Map param=null;<br />
/** This method should be used while the Class implements<br />
StreamTransformation interface<br />
*<br />
@param param - A Map object<br />
*/<br />
public void setParameter(Map param){<br />
this.param=param;<br />
}<br />
<br />
/**<br />
This method will be called by XI to execute Java Mapping. <br />
@param in - The InputStream which has the source message from CRM <br />
@param out - The OutputStream which has the target message to ProFinance <br />
*/ <br />
public void execute (InputStream in, OutputStream out) throws
StreamTransformationException { <br />
String urlParamOne = null; <br />
try{ <br />
DynamicConfiguration dynCon = (DynamicConfiguration)param.get("DynamicConfiguration"); <br />
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP","myValueHere"); <br />
String response = ""; out.write(response.getBytes()); <br />
} <br />
catch(Exception e){<br />
throw new RuntimeException(e.getMessage());<br />
}<br />
}<br />
}<br />
<p />
<p />
<p />
Looking at the call in SXMB_MONI there's no sign of the dynamic configuration stage anywhere but we are seeing the following in the response message:
<p />
<br />
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><br />
-< !-- Call Adapter <br />
--><br />
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><br />
<SAP:Category>XIAdapter</SAP:Category><br />
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_MISSING_PARAMS</SAP:Code><br />
<SAP:P1 /><br />
<SAP:P2 /><br />
<SAP:P3 /><br />
<SAP:P4 /><br />
<SAP:AdditionalText /><br />
<SAP:ApplicationFaultMessage namespace="" /><br />
<SAP:Stack>Dynamic Header - Missing Message Attributes: Fields/Parameters</SAP:Stack><br />
<SAP:Retry>N</SAP:Retry><br />
</SAP:Error><br />
<p />
<br />
Please note, we have set this up on another PI system (7.0 sp 12) and it works as required.
<p />
<br />
Many thanks
<p />
<br />
AndreasHello , let me clarify:
- There's a graphical mapping which has a user defined function with the following code:
DynamicConfigurationKey dynKey =DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/HTTP",paramName);
DynamicConfiguration dynCon =(DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
dynCon.put(dynKey, paramValue);
return paramValue;
- The above UDF has paramName set to UrlParamOne via a constant and paramValue set a per an element in the incoming structure.
- Incidentally, a Java mapping is then called (although not relevent) to clear the xml produced from the mapping. This is a requirement for our customer who don't want the HTTP body set. The code is as follows:
Created on 07-Jun-2010
To change the template for this generated file go to
Window>Preferences>Java>Code Generation>Code and Comments
package uk.gov.communities.finance;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationException;
@author Mark
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
public class PaymentGatewayRequestMap implements StreamTransformation {
/** This Map parameter is for the Method setParameter() */
Map param=null;
/** This method should be used while the Class implements
StreamTransformation interface
@param param - A Map object
public void setParameter(Map param){
this.param=param;
This method will be called by XI to execute Java Mapping.
@param in - The InputStream which has the source message from CRM
@param out - The OutputStream which has the target message to ProFinance
public void execute(InputStream in, OutputStream out) throws StreamTransformationException {
try{
String response = "";
out.write(response.getBytes());
catch(Exception e){
throw new RuntimeException(e.getMessage());
Many thanks
Andreas -
Problem with Dynamic Configuration in XSLT mapping..!!
Hi friends,
Working first time with xslt map.I am doing a Idoc to File scenario in which I need to pass Idoc number as the file name dynamically. Right now I am just trying to send some constant value 'ABCD' to go in dynamic attribute filename.
I used the code which has been provided over here.
[http://help.sap.com/saphelp_nw04/helpdata/en/43/03fe1bdc7821ade10000000a1553f6/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/43/03fe1bdc7821ade10000000a1553f6/frameset.htm]
I just changed the "Directory" with "FileName" in the code. It is not generating the dynamic attribute http://sap.com/xi/XI/System/File
This is my xsl code. Please suggest me If iam doing anything wrong.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:map="java:java.util.Map" xmlns:dyn="java:com.sap.aii.mapping.api.DynamicConfiguration" xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">
<xsl:output indent="no"/>
*<xsl:param name="inputparam" select = "ABCD"/>*
<xsl:output method="text" encoding="utf-8"/>
<xsl:template match="/">
<!-- change dynamic configuration -->
<xsl:variable name="dynamic-conf" select="map:get($inputparam, 'DynamicConfiguration')"/>
*<xsl:variable name="dynamic-key" select="key:create('http://sap.com/xi/XI/System/File', 'FileName')"/>*
<xsl:variable name="dynamic-value" select="dyn:get($dynamic-conf, $dynamic-key)"/>
<xsl:variable name="new-value" select="concat($dynamic-value, 'subfolder\')"/>
<xsl:variable name="dummy" select="dyn:put($dynamic-conf, $dynamic-key, $new-value)"/>
<!-- copy payload -->
<xsl:copy-of select="."/>
</xsl:template>
<xsl:template match="/">
Waiting for your answers.
Thank you.
Deepthi.Hi Stefen,
I tried the way you suggest but still I couldn't able to see the Dynamic Configuration attribute in SOAP document. I tried for Idoc number and even tried by passing just a value 'abcd' like below.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:map="java:java.util.Map" xmlns:dyn="java:com.sap.aii.mapping.api.DynamicConfiguration" xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">
<xsl:output indent="no"/>
<xsl:output method="text" encoding="utf-8"/>
*<xsl:param name="inputparam"/>*
*<xsl:param name="new-value">*
*<xsl:value-of select="/WMMBID01/IDOC/EDI_DC40/DOCNUM" />*
*</xsl:param>*
<xsl:template match="/">
<!-- change dynamic configuration -->
<xsl:variable name="dynamic-conf" select="map:get($inputparam, 'DynamicConfiguration')"/>
<xsl:variable name="dynamic-key" select="key:create('http://sap.com/xi/XI/System/File', 'FileName')"/>
<xsl:variable name="dummy" select="dyn:put($dynamic-conf, $dynamic-key, $new-value)"/>
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:map="java:java.util.Map" xmlns:dyn="java:com.sap.aii.mapping.api.DynamicConfiguration" xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">
<xsl:output indent="no"/>
<xsl:output method="text" encoding="utf-8"/>
*<xsl:param name="inputparam"/>*
*<xsl:param name="new-value" select="abcd">*
*</xsl:param>*
<xsl:template match="/">
<!-- change dynamic configuration -->
<xsl:variable name="dynamic-conf" select="map:get($inputparam, 'DynamicConfiguration')"/>
<xsl:variable name="dynamic-key" select="key:create('http://sap.com/xi/XI/System/File', 'FileName')"/>
<xsl:variable name="dummy" select="dyn:put($dynamic-conf, $dynamic-key, $new-value)"/>
Any suggestions please.
Thanks
Deepthi. -
SOAP Axis adapter - problem with XML formatting
Hello All,
We are using SOAP Axis adapter on our scenario (because of NTLM authenticatiom) and faced a problem that some module in a module chain is pretty-formatting XML message (inserting newlines and spaces).
Receiving WebService is REALLY strict on format and doesn't allow spaces and newlines between XML elements.
Formatting is for sure done already in adapter as in sxmb_moni message is still one-liner.
After different tests this formatting is most likely done by XI30OutboundHandler.
Are there any parameters to prevent this formatting?
If there are no parameters, than maybe there is a standard module to remove this XML indentation?
Where I can found source code for XI30OutboundHandler to check how it is extracting payload from XI message?
Thanks in advance for your answers!
Best Regards,
Artsiom AnichenkaHi, have you find a solution for this problem?
I've tried set the parameter “disablePrettyXML”, as mentioned in SAP note 1039369 (search for “disabling pretty XML”), but apparently it didn’t work too. Have you tried that?
I still get linefeeds and carriage return in the post requisition to the WebService.
Regards,
Ronaldo Schork. -
Error while passing URL Dynamically in SOAP AXIS adapter..!!
Hi ,
Idoc> XI>SOAP-AXIS
I am doing a scenario where I need to pass the URL dynamically in SOAP-AXIS adapter by taking the RCVPRN of Idoc.
If
RCVPRN = 100 , message has to go to http://10.190.25.16:8210/file/receiver
RCVPRN = 200 , message has to go to http://10.190.25.16:8210/file/receiver2
RCVPRN = 300 , message has to go to http://10.190.25.16:8210/file/receiver3
I used the below UDF and it is working correctly and generating the URL dynamically .
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey keyHeader1 = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/SOAP", "TServerLocation");
conf.put(keyHeader1, a);
return "";
The value is coming in SOAP document as expected like below.
<sap:DynamicConfiguration xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
<sap:Record namespace="http://sap.com/xi/XI/System/SOAP" name="TServerLocation">http://10.190.25.16:8210/file/receiver3</sap:Record>
</sap:DynamicConfiguration>
I used the below Configuration modules in receiver SOAP-AXIS adapter as suggested in Note 1028961.
AF_Adapters/axis/AFAdapterBean ---> afreq
AF_Adapters/axis/HandlerBean ---> xireq
AF_Adapters/axis/HandlerBean ---> dc
AF_Adapters/axis/HandlerBean ---> remover
AF_Adapters/axis/HandlerBean ---> trp
AF_Adapters/axis/HandlerBean ---> xires
AF_Adapters/axis/AFAdapterBean ---> afres
xireq -> handler.type-> java:com.sap.aii.axis.xi.XI30OutboundHandler
dc -> handler.type-> javasap.aii.axis.xi.XI30DynamicConfigurationHandler
dc ---> key.1 ---> write http://sap.com/xi/XI/System/SOAP TServerLocation
dc ---> location.1 ---> context
dc ---> value.1 ---> transport.url
remover ---> handler.type ---> java:com.sap.aii.axis.soap.HeaderRemovalHandler
remover ---> namespace ---> http://sap.com/xi/XI/Message/30
trp ---> handler.type ---> java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
trp ---> module.pivot ---> true
xires ---> handler.type ---> java:com.sap.aii.axis.xi.XI30OutboundHandler
and I am getting the below error in SOAP-AXIS channel at the point java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender.
2009-03-02 15:23:44 Success Axis: getting handler trp of java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
2009-03-02 15:23:45 Error Axis: error in invocation: (500)internal server error
2009-03-02 15:23:45 Error MP: Exception caught with cause (500)internal server error
2009-03-02 15:23:45 Error Exception caught by adapter framework: (500)internal server error
2009-03-02 15:23:46 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: (500)internal server error: (500)internal server error.
2009-03-02 15:23:46 Error The message status set to NDLV.
Kindly let me know if anyone has any idea what might be wrong?
Note : The given URL is correct one because I cross checked by passing them normally by giving directly in adapter and they are all working and the message is going to receiver.
Thanks
DeepthiHi Stefan,
>> dc -> handler.type-> javasap.aii.axis.xi.XI30DynamicConfigurationHandler
>> dc ---> key.1 ---> write http://sap.com/xi/XI/System/SOAP TServerLocation
>> dc ---> location.1 ---> context
>> dc ---> value.1 ---> transport.url
>> Try read instead of write
When I tried with this, I am getting the below error "Connection refused ".
Success Axis: entering HandlerBean
Success Axis: getting handler trp of java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
Error Axis: error in invocation: java.net.ConnectException: Connection refused
Error MP: Exception caught with cause java.net.ConnectException: Connection refused
Error Exception caught by adapter framework: ; nested exception is: java.net.ConnectException: Connection refused
Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: ; nested exception is: java.net.ConnectException: Connection refused: java.net.ConnectException: Connection refused.
Success The message status set to WAIT.
It is going successfully when I tried sending directly. Looks like Dynamic Configuration is not working for SOAP-AXIS.
Any Suggestion?
Thanks
Deepthi. -
PI 7.11 Receiver SOAP (Axis) Adapter with MTOM (Attachments)
Hello,
Iu2019m trying to configure the Receiver SOAP (Axis) adapter for sending SOAP attachments via MTOM to a third-party webservice, but I'm not getting that PI transform the binary encode64 data in an payload element into a MTOM attachment (xop:include).
The configuration looks like this:
Transport Protocol: HTTP (Axis)
SOAP Version: 1.2
Encapsulation Format: MTOM
Keep Attchments: enabled
Payload Extraction: SOAP Body Child
First of all, could you confirm if this is supported?
Or Axis only supports MTOM for the transport protocol 'File (Axis)' like it seems refered in [Configuring the Receiver Axis SOAP Adapter|http://help.sap.com/saphelp_nwpi711/helpdata/en/45/a3c48c87cd0039e10000000a11466f/frameset.htm]
Can you please provide me some guidance here?
Thanks in advance!
Kind Regards,
AlexandreHello,
I am facing the exact same issue.
I can't seem to set the cookie in the http header after following the guide.
Cookie: WSL-credential=MyOwnCookie
I managed to set the SOAPAction though.
Anyone has any ideas? -
Hello XI SDNers,
I want to use SOAP (Axis) Adapter for my Webservice Scenario.
According to the SAP Note 1028961, I deployed the "aii_af_axisprovider.sda" file with corresponding ".jar" files from Apache AXIS 1.4 and the deployement was successful.
But now, If I want to use this SOAP (Axis) Adapter, I am unable to see this adapter in my list, for ex., If I create a new "Communication channel" in Configuration and want to select the new SOAP (Axis) Adapter, I couldn't see this in my list.
Am I still missing something?
-Satish.dear ..
My system is PI7.0 sp15.
With "http://host:port/XIAxisAdapter/MessageServlet" checking , everything corrected.
All jars from axis-bin-1_4.zip and axis-src-1_4.zip .
under " aii_af_axisprovider.sda\META-INF " has a " primary-library-sda-dd.xml " , content :
<?xml version="1.0" encoding="UTF-8"?>
<SDA>
<SoftwareType>primary-library</SoftwareType>
<engine-deployment-descriptor version="2.0" />
</SDA>
I don't know, why didn't list... -
Hello Experts,
my scenario is to pick the data from web service and pass it to ECC side.
as i need to pick XML file from web service i used SOAP Axis adapter. configured as given in michal's blog.
the channel in running no errors in RWB, still its not picking the data.
Michal's PI tips: Exchange Rates from an XML file on a web page - REST, AXIS
your inputs on this...
regards,
chinnaHi ,
I have confifured the same folw, it's working for me. please provide if you are getting any error.
Regards
srinivas -
How to install SOAP Axis adapter and where is it available ??
Hi,
I heard that SOAP Axis adapter was not initially available for PI 7.0 and was introduced in some later support pack.When I checked the below url I found that some of the components are missing.
http://xi-dev.intranet.com:50000/XIAxisAdapter/MessageServlet
Can anyone please suggest how I can get that pack and where it will be available?
How to install it?
Thanks
Deepthi.Hi Sunil,
Dont mind...one final question, they mentioned in the README file as below..
// Open the SDA archive using some unzip tool and replace the following empty
jar files with the those inclued in Axis 1.4 src package
axis.jar
commons-discovery-0.2.jar
commons-logging-1.0.4.jar
commons-net-1.0.0-dev.jar
wsdl4j-1.5.1.jar
When i checked in the Axis folder, I found so many files.
Do I need to just add this Axis zip file into aii_af_axisprovider.sda Archive file.?
If possible, It would be very helpful if you send the aii_af_axisprovider.sda file which you have deployed into your system?
Thanks
Deepthi -
Problem with audio configuration
when i turned on Itunes on on my computer it had this message: Problem with audio configuration. Audio/video playback may not operate properly. How do I fix it?
I reinstalled iTunes & QuickTime as per giterdone response to rpestow on 12 November
instructions at: http://docs.info.apple.com/article.html?artnum=93698
Thanks giterdone -
Problem With Cutom Configuration with Object Type
Dear Guru's
I am working WebUI, I am facing a problem with Custom Configuration.
1. The initial requirement to control the visibility for a dropdown event in ERP Quotation.
2. To this i copied the default configuration to custom configuration with custom Object type and Subtype.
CONFIG KEY: ZPJQTN
OBJECT TYPE: ZOTYP_CONFIG
OBJECT SUB TYPE: ZSTYPE_CONFIG1
3. I have created customm fields in enhancement.
4. Now i chosen my new configuration (ZPJQTN,ZOTYP_CONFIG,ZSTYP_CONFIG1), when i click Show available fields, the custom fields are not showing. Instead the created fields are available at other configuration.
5. I am able to control the visibility for the standard available fields.But i am not getting the custom created fields
(Note: I have created the Object type and Object sub type as follows: SPRO->CRM->UI Framework->Define Object Types
Object type: ZOTYP_CONFIG Callback class: ZCL_CONFIG_CALLBACK
Redifned the method: IF_BSP_DLC_OBJ_TYPE_CALLBACK~GET_OBJECT_SUB_TYPES
Coded as below:
data: lv_subtype type bsp_dlc_object_sub_type.
lv_subtype = 'ZSTYP_CONFIG1'.
append lv_subtype to result.
lv_subtype = 'ZSTYP_CONFIG2'.
APPEND lv_subtype to result.
Now Please suggest me how to achieve this.
Also please let me know, whether i am following the correct procedure for controlling the visibility.
Thanks in Advance,
S.Meganadhan.Hi Harshit,
I added custom fields using AET only.
I am able to see the field got added in the structure. I am able to access GET and SET methods of the field.
But the problem is, it is not getting saved. Am i missed any configuration step?
Please suggest me.
Thanks in advance,
Regards,
S.Meganadhan. -
After Effects won't close/Problems with dynamic links
When I quit After Effects the icon still shows up and it says that it is still open, even force quit will not work. Also having problems with dynamically linked files between after effects and Premiere pro. Rendering in Premiere doesn't work unless I go to AE, save the project, then go back to Premiere. I have OSX Mavericks 10.9.2, a late 2012 mac pro, and AE CC 12.2.1.5
Kevin: would appreciate further thoughts on this.
I am using Pr2014, version 8.0.0 I am using AE2014, version 13.0.2.3. When I was on earlier versions of each, I had no problem importing AE comps into Pr. I'd choose import in Pr, then select the AE project, then select the comp. But with my new and improved versions of AE and Pr, I keep getting "importer reported a generic error."
I also tried to go the other way. I selected in Pr the clips I wanted to work on in AE, and then tried "replace with AE comp" but got the "generic error" message again..
Finally, I attempted to create a Dynamic Link from Pr via the File menu, but with each of the options from there, I got "failed to connect to AE Dynamic Link"
Any advice you can share, would be most welcome. -
Can't run itunes because it has detected a problem with audio configuration
What does that mean and how do i fix it? I had Itunes installed on my computer for ages but I had to have it restored because the firewall was playing up and since i have tried to reinstall itunes it has been saying that there is a problem with audio configuration---any ideas?
Some people have found the following works:
Completely uninstall Quicktime (NOT iTunes) using ALL the method in this article:
http://docs.info.apple.com/article.html?artnum=93698
Turn off antivirus/anti spyware
Go to Control Panel>Add/Remove Programs>Change or Remove Programs
Select iTunes, then click on Change, then select Repair.
Restart computer -
ITunes has detected a problem with your configuration
I recently tried to use my iTune player and when I click the shortcut to open it, the following error message appears: "iTunes has detected a problem with your configuration. Audio/Video playback may not operate properly." The program shows up on my desktop, but when I select something to play, nothing happens.
I use Windows 7. It did work previously, and I do not know of any specific change made to my computer that could have caused this. I am not sure when it developed since I have not tried to use iTunes for a week or more. I checked the community forum and there were similar problems 7 years ago, but could not find any solution (One link to a solution is not longer good.)Hello LouisvillePS
Start with the troubleshooting in the article below to resolve issues with start. You can use Safe Mode to start up to see if it still pops up as well as testing in a new user on your computer.
iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
http://support.apple.com/kb/dl1614
Regards,
-Norm G. -
XSLT Mapping with Dynamic Configuration for Mail Adapter
Hi Guys,
I am wondering if somebody can help me please.
I have a requirement in which I need to pick up the file from FTP and email it to the user as an attachment with the same file name and content.
I know it is possible via 3 method either by deploying adapter module or via XSLT or JAVA Mapping.
I preferred XSLT Mapping because it is easier to use and we don't need to compile the code like JAVA Mapping.
I have done the XSLT Mapping but the only problem I am facing is that how to copy the file name which we get it from Dynamic Configuration to the Mail ContentDisposition.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:map="java:java.util.Map"
xmlns:dyn="java:com.sap.aii.mapping.api.DynamicConfiguration"
xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">
<xsl:output indent="no" />
<xsl:param name="inputparam"/>
<xsl:template match="/">
<!-- change dynamic configuration -->
<xsl:variable name="dynamic-conf"
select="map:get($inputparam, 'DynamicConfiguration')" />
<xsl:variable name="dynamic-key"
select="key:create('http://sap.com/xi/XI/System/File', 'FileName')" />
<xsl:variable name="dynamic-value"
select="dyn:get($dynamic-conf, $dynamic-key)" />
<xsl:variable name="dummy"
select="dyn:put($dynamic-conf, $dynamic-key, $new-value)" />
<!-- copy payload -->
I tried many option but unfortunately none of them worked.
<Content_Disposition>attachment;filename="$inputparam"</Content_Disposition>
<Content_Disposition>attachment;filename="$dynamic-conf"</Content_Disposition>
<Content_Disposition>attachment;filename="$dynamic-key"</Content_Disposition>
<Content_Disposition>attachment;filename="$dynamic-value"</Content_Disposition>
<Content_Disposition>attachment;filename="$dummy"</Content_Disposition>
<Content_Disposition>
attachment;filename=
<xsl:value-of select="dynamic-key"/>
</Content_Disposition>
I really appreciate if someone can please provide some guidance.
Thanks,Hi,
Yes u r correct it will show error in operation mapping.. bcoz u cannot check the DynamicConfiguration in Operation mapping...
It will throw Exception..
The parameter to UDF depends on ur requirement.... Let us know ur requirements exactly...
If u r doing for file to file means no UDF required,, just check ASMA on both sides....
Babu
Maybe you are looking for
-
How do you get your volume to work on video?
Please help! I can't get my volume to work on video or listening to a video but it works every where else?
-
Document or video tutorial for setting LiveCycle Collaboration Service in Flash Professional CS5
Hello, I want to use Adobe LiveCycle Collaboration Service for my company, but the problem is, I work upon Flash Professional and i dont have grip towards Flex, the documentation that is provided with sdk is of Flex, so, I want 2 types of help, 1) If
-
Can I develop a data acquisition app without the DAQ card installed?
I'm new to LabView. I would like to build a simple data acquisition app (graphical display and logging). I would prefer to build this on my desktop, and then install/run it on a laptop. I'm not sure how to work this as the DAQ card and driver are not
-
Hi Friends, What is the SIGNIFICANCE OF RSNAST00? REGARDS VENKAT
-
Hi Experts, I have an issue with frieght, In SO iam adding transport cost ,but it is not paid by customer it is paid by the company ,so how to link this transport cost to MIRO transaction, Can any body explain in details Regards, Caprin......