Delivery and Service Header Fields in RNIF Receiver Adapter for Rosettanet.
Hello all,
I need to populate the Delivery and Service header fields in Rosattenet MIME message in the receiver side.
For the sender side RNIF adapter, we can very well use the Adapter Specific message to get those fields from Rosattenet MIME message. But in my scenario, I need to use RNIF as the receiver, which will pick messages from other system and post it to RNIF.
Also, I have checked the receiver RNIF adapter, there I dont find any adapter specific messages to use.
Regards,
UP
Prasad
You have not mentioned which RNIF Adapter you are using whether 1.1 or 2.0. I will assume that you are using 2.0.
If you are using Single action responder the parameters you should configure is given here:
http://help.sap.com/saphelp_nw2004s/helpdata/en/70/d89d40c1252a54e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/6b98403de08368e10000000a1550b0/content.htm
If you are using Two action responder the parameters you should configure is given here:
http://help.sap.com/saphelp_nw2004s/helpdata/en/6f/dc9d40759c2b54e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/7198403de08368e10000000a1550b0/content.htm
---Satish
Similar Messages
-
Service Header Fields in RNIF Receiver Adapter.
Hi experts,
Can somebody help me in how to get the pipInstanceId in Service Header of receiver message should be same as pipInstanceId in the Service Header of sender message.
How to overwrite the PIPInstanceIdentifier in the Service Header of RNIF adapter in receiver side.
Thanks&Regards
SudhaG.Hi,
Better try for Header Mapping concepts.
Fro more clarification:
http://help.sap.com/saphelp_nw04/helpdata/EN/5d/112d20f6ce6c46ba66afb98d278fbd/content.htm
Thanks,
Boopathi -
From which tables i would find the delivery and billing document field..??
I need to create an ALV report which displays the following details in the output.
Order No Item No Material Order Qty Item Category Plant Delivery Billing Document Sales Org Dist Channel Division Created By Created On Changed On
For(Order No Item No Material Order Qty Item Category Plant) i took the fields from vbap and
for(Sales Org Dist Channel Division Created By Created On Changed On)i took the fields from vbak..
From which tables i would find the delivery and billing document field related to sales document.??
need help...
Moderator message : Requirements dumping not allowed, thread locked.
Edited by: Vinod Kumar on Mar 6, 2012 2:53 PMi am new to abap...so i dont have idea about sd table relationship.
so please reply how to add delivery and billing doc in my coding below..
*& Report ZINAA_SD
REPORT zinaa_sd.
TABLES: vbap, vbak, vbfa.
TYPE-POOLS: slis.
CONSTANTS: c_x TYPE char1 VALUE 'X'.
TYPES:
BEGIN OF st_vbap,
vbeln TYPE vbap-vbeln,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
pstyv TYPE vbap-pstyv,
kwmeng TYPE vbap-kwmeng,
werks TYPE vbap-werks,
END OF st_vbap,
BEGIN OF st_vbak,
vbeln TYPE vbak-vbeln,
erdat TYPE vbak-erdat,
ernam TYPE vbak-ernam,
vkorg TYPE vbak-vkorg,
vtweg TYPE vbak-vtweg,
spart TYPE vbak-spart,
aedat TYPE vbak-aedat,
END OF st_vbak,
BEGIN OF st_final,
vbeln TYPE vbap-vbeln,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
pstyv TYPE vbap-pstyv,
kwmeng TYPE vbap-kwmeng,
werks TYPE vbap-werks,
erdat TYPE vbak-erdat,
ernam TYPE vbak-ernam,
vkorg TYPE vbak-vkorg,
vtweg TYPE vbak-vtweg,
spart TYPE vbak-spart,
aedat TYPE vbak-aedat,
END OF st_final.
DATA:
lt_vbap TYPE TABLE OF st_vbap,
ls_vbap TYPE st_vbap,
lt_vbak TYPE TABLE OF st_vbak,
ls_vbak TYPE st_vbak,
lt_final TYPE TABLE OF st_final,
ls_final TYPE st_final,
lt_fieldcat TYPE slis_t_fieldcat_alv,
ls_fieldcat TYPE slis_fieldcat_alv,
layout TYPE slis_layout_alv,
lt_sort TYPE slis_t_sortinfo_alv,
ls_sort TYPE slis_sortinfo_alv.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_vbeln FOR vbap-vbeln,
s_erdat FOR vbap-erdat.
SELECTION-SCREEN END OF BLOCK b1.
PERFORM select_data.
PERFORM loop_final.
PERFORM sort.
PERFORM a USING:
'VBELN' TEXT-002,
'POSNR' TEXT-003,
'MATNR' TEXT-004,
'KWMENG' TEXT-005,
'PSTYV' TEXT-006,
'WERKS' TEXT-007,
'VKORG' TEXT-008,
'VTWEG' TEXT-009,
'SPART' TEXT-010,
'ERNAM' TEXT-011,
'ERDAT' TEXT-012,
'AEDAT' TEXT-013.
PERFORM display.
*& Form SELECT_DATA
text
FORM select_data.
SELECT
vbeln
vkorg
vtweg
spart
ernam
erdat
aedat
INTO CORRESPONDING FIELDS OF TABLE lt_vbak
FROM vbak
WHERE vbeln IN s_vbeln AND erdat IN s_erdat.
IF sy-subrc = 0.
SORT lt_vbak by vbeln.
ENDIF.
SELECT
vbeln
posnr
matnr
kwmeng
pstyv
werks
INTO CORRESPONDING FIELDS OF TABLE lt_vbap
FROM vbap
FOR ALL ENTRIES IN lt_vbak
WHERE vbeln = lt_vbak-vbeln.
IF sy-subrc = 0.
SORT lt_vbap by vbeln.
ENDIF.
ENDFORM. "SELECT_DATA
*& Form LOOP_FINAL
text
FORM loop_final.
LOOP AT lt_vbap INTO ls_vbap.
ls_final-vbeln = ls_vbap-vbeln.
ls_final-posnr = ls_vbap-posnr.
ls_final-matnr = ls_vbap-matnr.
ls_final-kwmeng = ls_vbap-kwmeng.
ls_final-pstyv = ls_vbap-pstyv.
ls_final-werks = ls_vbap-werks.
READ TABLE lt_vbak INTO ls_vbak WITH KEY vbeln = ls_vbap-vbeln BINARY SEARCH.
ls_final-vkorg = ls_vbak-vkorg.
ls_final-vtweg = ls_vbak-vtweg.
ls_final-spart = ls_vbak-spart.
ls_final-ernam = ls_vbak-ernam.
ls_final-erdat = ls_vbak-erdat.
ls_final-aedat = ls_vbak-aedat.
APPEND ls_final TO lt_final.
CLEAR ls_final.
ENDLOOP.
ENDFORM. "LOOP_FINAL
*& Form SORT
text
FORM sort.
ls_sort-spos = '01' .
ls_sort-fieldname = 'VBELN'.
ls_sort-tabname = 'LT_FINAL'.
ls_sort-up = c_x.
ls_sort-subtot = c_x.
APPEND ls_sort TO lt_sort .
ENDFORM. "SORT
*& Form A
text
-->FNAME text
-->SELTEXT text
-->EMPHA text
FORM a USING fname TYPE string seltext TYPE string.
IF fname = 'KWMENG'.
ls_fieldcat-do_sum = c_x.
ENDIF.
ls_fieldcat-fieldname = fname.
ls_fieldcat-seltext_m = seltext.
APPEND ls_fieldcat TO lt_fieldcat.
CLEAR ls_fieldcat.
ENDFORM. "A
*& Form ALV
text
FORM display.
layout-zebra = c_x.
layout-colwidth_optimize = c_x.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = sy-repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
is_layout = layout
it_fieldcat = lt_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
it_sort = lt_sort
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = C_X
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = lt_final
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "ALV -
RNIF Receiver Adapter with attachment
Hi All,
Has anyone done an RNIF receiver adapter which can also do an attachment ? Any thoughts or ideas other than just help.sap links .
Thanks Rahul.Hi Rahul,
I am giving you below the best material that is availabe for RNIF.
If you want to implement RNIF adapter you may want to have a look at the following blogs:
SAP Network Blog: Rosettanet / RNIF & XI - Breaking the Code
/people/shabarish.vijayakumar/blog/2008/01/09/rosettanet-rnif-xi--breaking-the-code
SAP Network Blog: RosettaNet and the role of RNIF in XI
/people/rmanoj.kumar/blog/2007/02/08/rosettanet-and-the-role-of-rnif-in-xi
SAP Network Blog: 'Close Encounters' with the Rosettanet STK
/people/shabarish.vijayakumar/blog/2006/06/14/close-encounters-with-the-rosettanet-stk
SAP Network Blog: Service-enabling RosettaNet business processes
/people/kevin.liu/blog/2006/12/29/service-enabling-rosettanet-business-processes
As and when i find more material i will update this thread.
Regards
joel -
SOAP receiver adapter for Axis
Hi,
I used SOAP receiver adapter for Axis like below:
Transport Prorocol : HTTP
Message Protocol : Axis
Url: http://<IP>:<Port>/xxx/WebService/services/Head/yyy
Authentication : Basic
User: <user>
Password: <password>
SOAP Version : 1.1
SOAP Action: : <method>
Encapsulation Format : MIME
Payload Extraction : SOAP Body
When i drive PI message it generates error below.
What must i do to solve this problem?
Thanks.
Error message
com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.ejb.EJBException: Exception in getMethodReady() for stateless bean sap.com/com.sap.aii.axis.appxml|com.sap.aii.adapter.axis.ejb.jarxml|AFAdapterBean; nested exception is: com.sap.engine.services.ejb3.util.pool.PoolException: javax.ejb.EJBException: Exception raised from invocation of public void com.sap.aii.adapter.axis.modules.AFAdapterBean.ejbCreate() throws javax.ejb.CreateException method on bean instance com.sap.aii.adapter.axis.modules.AFAdapterBean@20715646 for bean sap.com/com.sap.aii.axis.appxml|com.sap.aii.adapter.axis.ejb.jarxml|AFAdapterBean; nested exception is: javax.ejb.CreateException: java.lang.NoClassDefFoundError: org/apache/axis/types/URI$MalformedURIException*Url:* http://172.28.6.194:8080/AssetManagerWebService/services/Head/SapTest
When i use Url with *?wsdl* it generates below (it'is very long. I give part of it)
wsdl
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns:intf="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns:tns1="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Types" xmlns:tns2="http://schemas.hp.com/AssetManager/R51/ACMetaData" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <!--
WSDL created by Apache Axis version: 1.2.1
Built on Jun 14, 2005 (09:15:57 EDT)
-->
- <wsdl:types>
- <schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:AdministrationTypes="http://schemas.hp.com/AssetManager/Custom/Head/Administration/Types" xmlns:CableTypes="http://schemas.hp.com/AssetManager/Custom/Head/Cable/Types" xmlns:CatalogTypes="http://schemas.hp.com/AssetManager/Custom/Head/Catalog/Types" xmlns:ChargebackTypes="http://schemas.hp.com/AssetManager/Custom/Head/Chargeback/Types"
<import namespace="http://schemas.hp.com/AssetManager/R51/ACMetaData" />
<import namespace="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Types" />
- <annotation>
<documentation>Auto-generated schema for AssetCenter web services for Head/SapTest Implementation</documentation>
</annotation>
<import namespace="http://schemas.hp.com/AssetManager/Custom/Head/SAM/Types" schemaLocation="../../schema/Head/SAM/SAMTypes.xsd" />
<import namespace="http://schemas.hp.com/AssetManager/R51/ACMetaData" ......
<wsdl:operation name="retrieveAllBusinessAPIListByName">
<wsdlsoap:operation soapAction="retrieveAllBusinessAPIListByName" />
<wsdl:input name="retrieveAllBusinessAPIListByNameRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="retrieveAllBusinessAPIListByNameResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SapTestService">
<wsdl:port binding="impl:SapTestSoapBinding" name="SapTest">
<wsdlsoap:address location="http://172.28.6.194:8080/AssetManagerWebService/services/Head/SapTest" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions> -
JDBC receiver adapter for AS400-query time out due to Escape Symbol
Hello,
I am uisng JDBC receiver adapter for AS 400, When I execute query, the query needs to have arguments in the open and close single ticks (' 12345' )
My XML pay load looks like this, which is RFC sender. Look at dcudcstmr in <i><b>(' 838912')</b></i>. When receiver gets this message the ' (single quotes are disappeared.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_Cma_Customer_Select_Request xmlns:ns1="http://freemanco.com/xi/Get_Customer">
- <Statement>
- <LawsonCustomer action="SQL_QUERY">
<access>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in <i><b>(' 838912')</b></i> and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)</access>
</LawsonCustomer>
</Statement>
</ns1:MT_Cma_Customer_Select_Request>
On the Receiver JDBC adapter I have tried with different combinations of Escape Symbol for Aposrophe as follows
<b> \
'</b>
As you know this is related to epcape character, I get following error all the time. Looks like the query is not able to execute in the specified time. My question is how do I get single quote as part of query.
<b>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in ( 100001) and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr) 2007-09-20 15:56:42 Error Unable to execute statement for table or stored procedure. 'LawsonCustomer' (Structure 'Statement') due to java.sql.SQLException:
[SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
[SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
[SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
[SQL0666] Estimated query processing time 13766 exceeds limit 8000.. Setting message to status failed. 2007-09-20 15:56:42 Error The message status set to FAIL. 2007-09-20 15:56:42 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
[SQL0666] Estimated query processing time 13766 exceeds limit 8000</b>
Any feedback or helpfull tips appreciated.
Thank you,
BalajiRaj,
Thank you for the reponse. I am using UDF on sender to generate sql statement as you see in sender XML message. After the message reaching receiver, gets executed but no response from AS400 becasue of missing single quotes in the sql query executed.
Sender XML sends
<access>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in <u><b>(' 838912')</b></u> and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)</access>
Receiver executes as
select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in ( <b><u>838912</u></b>) and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)
As you see the single quotes are missing. Like I said in previous posting I tried with following Escape Symbol for Aposrophe.
Let me know if you need more information.
Thank you,
Balaji -
Create and Handle empty msg in JMS receiver Adapter
Hi,
In my interface scenario, I will have to create a msg output if certain conditions are met and should not create a msg if otherwise..
I am using a Graphical Mapping and the receiver is JMS. I have some questions..
1. Using Graphical mapping, Can I create an empty msg - If I dont map the root node if the conditions are not met, what happens to the msg during runtime ?? Will it create empty payload and does it error out as there is empty payload ??
2. Like File adapter - is there a way to Ignore empty msg in JMS receiver adapter - so that it doesnt write any empty msgs i nthe queue..
Any ideas/suggestions/experiences greatly appreciated please...
Thank you
Thanujja..Natesa,
My bet. I am sorry I am wrong.
One thing comes to my mind is you can do a multi mapping. So if it is ok then send to one receiver and if it exception then send as flat file which you dont use.
Here since only one mapping is going to execute and the other going to fail you can write your own message exception in mapping stating "Its a know error". This is because if it is in produciton if this fails then it creates an alert. So just to tell to the end users it is ok you are populating the generic error. I know its not a good solution, but a work around kind of thing.
Regards,
---Satish -
Hi All,
What is the format of url in RNIF receiver adapterHi Krishna,
CHeck this link-
http://help.sap.com/saphelp_nw04/helpdata/en/8e/839242bbe7171ce10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/3d/99743f3d4b0866e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/1f/4c531f04c07a428964175147017fc8/content.htm
Hope this helps,
Regards,
Moorthy -
I further contact the lady from the the Rebate Centre for the email of the Apples Sales and Service. She replied that they do have one. This is strange at this stone age. Can anyone help?
There is a 'Report a Problem' link below the item you have been charged for on every email receipt of your order. Have you tried that link?
-
SOAP receiver adapter for ASCII-7 characterset???
Hi,
Our scenario is Abap Proxy -> XI -> Web Services (SOAP Adapter). Receiver webservice will accept only the characterset of ASCII-7. But Abap Proxy will send only unicode characterset (default).
Any workaround for receiver SOAP adapter to accept ASCII-7 characterset?
Regards,
Prasad UHi -
You can set a specific encoding in the soap receiver channel module configuration. From the SOAP Adapter FAQ (Note 856597):
<i> o Q: What character encoding is supported by the SOAP receiver
adapter?
A: The SOAP receiver adapter can use any character encoding
supported by the local JDK. The request message from the SOAP
receiver is normally encoded in UTF-8. If you want to change this
encoding, for instance to iso-8859-1, you can set parameter
XMBWS.XMLEncoding to iso-8859-1 in the module configuration for
the SOAP adapter module. This setting is for the outgoing SOAP
message and has no effect on the incoming SOAP message. For the
incoming SOAP message, any code page supported by the local JDK
is accepted.</i>
Check the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79">How to Use the XI 3.0 SOAP Adapter</a> document for an example.
Regards,
Jin -
Auto-fill calender date and validate other fields depending upon selected date for infopath forms
I have a calender box in infopath form which i want to autoselect when user opens the form..Ex..i am opening form on 14th march the calender should show as 19th march and also i have to perform few validation and action such as if i am selecting date with
more than 5 days gap should open other field which is a dropdown..How can i perform this..Do you have Excel Services? if so, this article may be of use to you:
http://sergioblogs.blog.co.uk/2013/01/08/infopath-2010-and-excel-services-in-sharepoint-15407321/
You can configure an excel workbook to validate if a date is a working day and then use formulas to workout the working date for 5 days after the date you enter, then link your InfoPath form to connect to the excel workbook and return the result of your
calculation.
Regards
Sergio Giusti
http://sergioblogs.blog.co.uk/
Whenever you see a reply and if you think is helpful, click " Vote As Helpful". And whenever you see a reply being an answer to the question of the thread, click "
Mark As Answer". -
Convert XML to text file and sending the same via Mail receiver adapter
Dear All,
I have a requirement like....
I am getting a XML file as a result of mapping and it needs to be converted to a TEXT file and
the converted file needs to be sent to a mail address in text format.
Any body has idea how to achieve this?
Thanks in advance for your help.
Regards
Hari>
HP CReddy wrote:
> Dear All,
>
> I have a requirement like....
>
> I am getting a XML file as a result of mapping and it needs to be converted to a TEXT file and
> the converted file needs to be sent to a mail address in text format.
>
> Any body has idea how to achieve this?
>
> Thanks in advance for your help.
>
> Regards
> Hari
use the StructXML2Plain or XML2Plain from the standard MessageTransformBean
Add the module to you Mail adapter before the mail adapters standard module itself
Ref: http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm -
Single SOAP receiver adapter for multiple interfaces
Hi,
I have to send multiple interfaces like Vendor, Customer, Material to one receiver.
I want to configure only one communication channel (receiver SOAP adapter) to send all these interfaces. Is this possible?
Currently I am provided with different URLs from the receiver system as below.
http://host:port/Services/Vendor.wsdl
http://host:port/Services/customer.wsdl
http://host:port/ServicesMaterial.wsdl
I will be having 3 Sender agreement, 3 receiver determination, 3 interface determination and 3 Receiver agreement.
I want only one SOAP reciever adapter which goes inside all the above 3 Receiver agreement.
So When I give the target url as http://host:port/Services, the messages fail.
But When I specify the full targert url in the adapter as http://host:port/Services/Vendor.wsdl then it works.
Which means I would have to create as many communication channel as interfaces.
Is there a work around for this?hi kantheri,
For this, we have to fill the TargetURL and the SOAPAction in Receiver Communication channel dynamically.
So, we need to write UDF in Message Mappings using DynamicConfiguration to fill the TargetURL and the SOAPAction Dynamically.
DynamicConfigurationKey keyURL = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","THeaderSOAPACTION");
DynamicConfigurationKey targetURL=DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","TServerLocation");
// access dynamic configuration
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
conf.put(keyURL,"Soap action");
conf.put(targetURL,"target url");
return "";
In this UDF, we are filling the TargetURL in u201CTServerLocationu201D message attribute and SOAPAction in u201CTHeaderSOAPActionu201D message attribute.
So, whenever we execute this corresponding operation these values will be filled in receiver communication channel at runtime.
TargetURL- Give some dummy URL or http://
SOAPAction - *
regards,
ganesh. -
JDBC receiver adapter for AS/400 DB2
Hi guys,
We have developed an Idoc to JDBC scenario for inserting data in a Z-table of SAP R/3 that sits on an AS/400 DB2.
When testing it, message Mapping is executed successfully, but in communication channel monitoring, we get the following error log:
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZSBU_MATERIALS' (structure 'STATEMENT'): java.sql.SQLException: [SQL0204] ZSBU_MATERIALS in SBU type *FILE not found.
The Z-table name is correct. It seems to me that it needs something more (like a library name).
Any ideas?
EvaggelosHi,
There is a difference between db2..and db2 on as400 as on as400 db2 comes as part of the OS install itself..See if you can connect to db2 on the as400 system from qshell..
If you really want to manually configure the connection via the DB2 command line, then you will need to enter catalog commands similar to the following:
1. > db2 catalog tcpip node as400 remote as400.somecompany.com server 446
2. > db2 catalog db as400db at node as400 authentication dcs
3. > db2 catalog dcs db as400db as mydbsvr
Where "as400db" is your local alias for the database and "mydbsvr" is the local RDB name of the AS/400 (set via WRKRDBDIRE).
If you catalogued the DB2 for i5/OS server incorrectly, you may get an SQL5048N error message. SQL7008N is another common error is that the DB2 for i5/OS tables being accessed on the server are not being journaled. To correct the SQL7008N error, you need to start journaling your tables or change the isolation level to No Commit.
Regards
Ravi Raman -
Hi experts,
Can somebody help me in finding how to get the RNIF Service Header data in XI, when i get a message from a RNIF compliant system?
Regards,
RaviHi Ravi,
Please see these..
Delivery and Service Header Fields in RNIF Receiver Adapter for Rosettanet.
Accessing Message Header fields from envelope
cheers,
prashanth
Maybe you are looking for
-
How to list all files in directories
Here's what I'd like to do, and I know there's a genius on this forum that knows the answer: Let's say I burn a disc with lots of folders and files. How could I see a list of all those folders with their included files in one easy to read place? Like
-
How do you transfer photos from iPad 1 to macbook?
I have iCloud, but can't seem to be able to xfer or pick up my photos from the old iPad 1. shame on me, my Macbook died and I had not backed my photos up and the only place I have them is on this old iPad...... Help!
-
As soon as I connect my iPhone with my laptop via USB, the phone seems to viberate again and again with short breaks It actually gets connected and disconnected again and again! I can say this because the "Trust this computer?" dialogue box comes and
-
InDesign pdf not linking to web pdf
I've tried everything--so frustrated. I create a hyperlink to a PDF on a website, but when I export the InDesign file to PDF, the links to the external PDFs do not work. Any suggestions would be greatly appreciated.
-
Where can I found download for Boot Camp assistant. app?
I'd installed WindowsXP a few years back on 24" iMac it did not work well, uninstalled then I lost Boot Camp assistant out of Utility folder completely, now I just bought a 27" iMac and want to use 24" to re-install WindowsXP or may be Windows 7, but