Message Transformation: ISO To XML Supported in OSB?
hi,
I want to know if ISO To Xml message transformation supported in OSB.
I know that OSB supports XML-non XML message transformation and vice-versa.
Is ISO format included in that non-XML transformation.
If yes How can i build a sample MFL file using Format Builder for ISO messages.
please reply.
Thanks in advance.
Are you working with ISO8583 or ISO20022/MX categories - Payments, Trade, Securities, Forex? If yes, then you may like to use Oracle Service Bus for financial services.
http://www.oracle.com/technology/products/integration/service-bus/osb-for-financial-services.html
http://download.oracle.com/docs/cd/E13185_01/fmd/docs10gr3/pdf/solutions.pdf
Regards,
Anuj
Similar Messages
-
Message transformation supported in Oracle Service Bus.
hi,
please let me know the types of message transformation supported by OSB.
i have found that it supports xml to xml message transformation based on XQUERY and XSLT.
Can anyone please tell me if it supports message transformation from xml to flat, aml to ISO and vice versa.
Thanks in advance.Apart from Xquery and XSLT (XML to XML transformation), you may use MFL in OSB. A Message Format Language (MFL) document is a specialized XML document used to describe the layout of binary data. MFL resources support the following transformations:
XML to binary—There is one required input (XML) and one output (binary).
binary to XML—There is one required input (binary) and one output (XML).
Each transformation accepts only one input and provides a single output.
http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/mfls.html#wp1090749
http://biemond.blogspot.com/2008/12/flat-file-to-xml-with-oracle-service.html
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/mfls.htm#i1100502
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/intro_fb.htm#CHDCAHHA
Regards,
Anuj -
ISO 20022 XML CAMT.053 Account Statement support
Dear all,
We are in the process of changing our electronic banking interface from EDIFACT to ISO 20022 XML, However I have not been able to find any usefull information on support of camt.053 message (Currently we are receiving EDIFACT FINSTA and SWIFT MT940). Does anyone know if SAP intends support of this format equally to MT940 / Multicash, or have experience with CAMT.053 and would like to share what approach has been applied. My initial idea would be convert camt.053 to a supported format e.g. MT940 or MultiCash.
Brgds T. KofoedHi Torben
Most probably there will be never ONE CAMT.053 - most of the banks will have their own flavor.
There will be as well some national and regional differences.
CGI ISO20022 want's to develop global standards for PAIN.001 and CAMT.053. As far as I know the CGI standards comprises of +/- 860 mandatory tags and +/- 120 optional tags.
And I already bet today that the +/-120 optional tags will be used heavily!
There are various options you can go for:
1. develop and defin jointly together with all your corporate banks your specfic CAMT.053 standard
--> time consuming! And what happens if you have to change banks?
2. use each banks CAMT.053
--> do all your banks support CAMT.053 today?! Do they provide you with all the information you need for reconciliation?
3. use a service provide and SAP partner like us, which can convert / map all the various bank statements (MT940, CAMT.053, FINSTA, BAI etc.) to one (your) bank account statement format.
Please let me know if you want to discuss further.
You can drop me an E-Mail to [email protected]
Best regards
Christoph -
Simple Transformation ST, upload xml file to internal table
Hi.
I want to upload some parts of an xml file into an sap internal table, especially the part "trackingnumber" which can occur several times.
the xml looks like this:
<?xml version="1.0" encoding="windows-1252"?>
<OpenShipments xmlns="x-schema:OpenShipments.xdr">
<OpenShipment ProcessStatus="Processed">
<ShipTo>
</ShipTo>
<ShipFrom>
</ShipFrom>
<ShipmentInformation>
</ShipmentInformation>
<Package>
</Package>
<InternationalDocumentation>
</InternationalDocumentation>
<Goods>
</Goods>
<ProcessMessage>
<TrackingNumbers>
<TrackingNumber>1Z1234563330702444</TrackingNumber>
<TrackingNumber>1Z1234566644402555</TrackingNumber>
</TrackingNumbers>
</ProcessMessage>
</OpenShipment>
</OpenShipments>
The ST looks like this:
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
<tt:root name="ROOT"/>
<tt:template>
<OpenShipments xmlns="x-schema:OpenShipments.xdr">
<OpenShipment>
<ShipTo>
<tt:skip/>
</ShipTo>
<ShipFrom>
<tt:skip/>
</ShipFrom>
<ShipmentInformation>
<tt:skip/>
</ShipmentInformation>
<tt:group>
<tt:cond frq="*">
<Package>
<tt:skip/>
</Package>
</tt:cond>
</tt:group>
<InternationalDocumentation>
<tt:skip/>
</InternationalDocumentation>
<tt:group>
<tt:cond frq="*">
<Goods>
<tt:skip/>
</Goods>
</tt:cond>
</tt:group>
<ProcessMessage>
<ShipmentRates>
<tt:skip/>
</ShipmentRates>
<TrackingNumbers>
<tt:group>
<tt:cond frq="*">
<TrackingNumber>
<tt:loop ref="ROOT">
<tt:value ref="ROOT" />
</tt:loop>
</TrackingNumber>
</tt:cond>
</tt:group>
</TrackingNumbers>
<ImportID>
<tt:skip/>
</ImportID>
<Reference1>
<tt:skip/>
</Reference1>
<Reference2>
<tt:skip/>
</Reference2>
</ProcessMessage>
</OpenShipment>
</OpenShipments>
</tt:template>
</tt:transform>
The ABAP Code looks like this:
REPORT z_xml_to_abap_test.
TYPES: t_xmllin_src(4096) TYPE x,
t_xmltab_src TYPE STANDARD TABLE OF t_xmllin_src.
DATA: xmlstr_src TYPE xstring,
xmltab_src TYPE t_xmltab_src,
result1(254) TYPE c,
BEGIN OF ROOT,
TrackingNumber(254) type c,
END OF ROOT.
FIELD-SYMBOLS: <xmlline> LIKE LINE OF xmltab_src.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'e:\20100601_132212.Out'
filetype = 'BIN'
has_field_separator = ''
header_length = 0
read_by_line = 'X'
IMPORTING
FILELENGTH =
HEADER =
TABLES
data_tab = xmltab_src
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
LOOP AT xmltab_src ASSIGNING <xmlline>.
CONCATENATE xmlstr_src <xmlline> INTO xmlstr_src IN BYTE MODE.
ENDLOOP.
CALL TRANSFORMATION z_ups_xml_upload
SOURCE XML xmlstr_src
RESULT ROOT = ROOT.
When i run the program i got the following error message:
"The goal was to access variable "ROOT". However, this access was not possible.
Anybody has an idea, why this happens, this is my first ST and have no clue at the moment why this happens?Hi.
I want to upload some parts of an xml file into an sap internal table, especially the part "trackingnumber" which can occur several times.
the xml looks like this:
<?xml version="1.0" encoding="windows-1252"?>
<OpenShipments xmlns="x-schema:OpenShipments.xdr">
<OpenShipment ProcessStatus="Processed">
<ShipTo>
</ShipTo>
<ShipFrom>
</ShipFrom>
<ShipmentInformation>
</ShipmentInformation>
<Package>
</Package>
<InternationalDocumentation>
</InternationalDocumentation>
<Goods>
</Goods>
<ProcessMessage>
<TrackingNumbers>
<TrackingNumber>1Z1234563330702444</TrackingNumber>
<TrackingNumber>1Z1234566644402555</TrackingNumber>
</TrackingNumbers>
</ProcessMessage>
</OpenShipment>
</OpenShipments>
The ST looks like this:
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
<tt:root name="ROOT"/>
<tt:template>
<OpenShipments xmlns="x-schema:OpenShipments.xdr">
<OpenShipment>
<ShipTo>
<tt:skip/>
</ShipTo>
<ShipFrom>
<tt:skip/>
</ShipFrom>
<ShipmentInformation>
<tt:skip/>
</ShipmentInformation>
<tt:group>
<tt:cond frq="*">
<Package>
<tt:skip/>
</Package>
</tt:cond>
</tt:group>
<InternationalDocumentation>
<tt:skip/>
</InternationalDocumentation>
<tt:group>
<tt:cond frq="*">
<Goods>
<tt:skip/>
</Goods>
</tt:cond>
</tt:group>
<ProcessMessage>
<ShipmentRates>
<tt:skip/>
</ShipmentRates>
<TrackingNumbers>
<tt:group>
<tt:cond frq="*">
<TrackingNumber>
<tt:loop ref="ROOT">
<tt:value ref="ROOT" />
</tt:loop>
</TrackingNumber>
</tt:cond>
</tt:group>
</TrackingNumbers>
<ImportID>
<tt:skip/>
</ImportID>
<Reference1>
<tt:skip/>
</Reference1>
<Reference2>
<tt:skip/>
</Reference2>
</ProcessMessage>
</OpenShipment>
</OpenShipments>
</tt:template>
</tt:transform>
The ABAP Code looks like this:
REPORT z_xml_to_abap_test.
TYPES: t_xmllin_src(4096) TYPE x,
t_xmltab_src TYPE STANDARD TABLE OF t_xmllin_src.
DATA: xmlstr_src TYPE xstring,
xmltab_src TYPE t_xmltab_src,
result1(254) TYPE c,
BEGIN OF ROOT,
TrackingNumber(254) type c,
END OF ROOT.
FIELD-SYMBOLS: <xmlline> LIKE LINE OF xmltab_src.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'e:\20100601_132212.Out'
filetype = 'BIN'
has_field_separator = ''
header_length = 0
read_by_line = 'X'
IMPORTING
FILELENGTH =
HEADER =
TABLES
data_tab = xmltab_src
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
LOOP AT xmltab_src ASSIGNING <xmlline>.
CONCATENATE xmlstr_src <xmlline> INTO xmlstr_src IN BYTE MODE.
ENDLOOP.
CALL TRANSFORMATION z_ups_xml_upload
SOURCE XML xmlstr_src
RESULT ROOT = ROOT.
When i run the program i got the following error message:
"The goal was to access variable "ROOT". However, this access was not possible.
Anybody has an idea, why this happens, this is my first ST and have no clue at the moment why this happens? -
Seeburger SFTP - Message Transformation Bean Issue
Using Seeburger SFTP adapter to read a tab delimited file. File is being successfully read; however, content conversion need to be performed to convert the file content to XML. Thus, using Message Transformation Bean with the following module parameters.
Issue: It is reading the file as is u2013 there is not content conversion is being performed.
Processing Sequence:
1 localejbs/Seeburger/solution/sftp Local Enterprise Bean solutionid
2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean mtb
3 localejbs/CallSapAdapter Local Enterprise Bean exit
Module Configuration:
mtb Transform.Class com.sap.aii.messaging.adapter.Conversion
mtb Transform.ContentType text/xml;charset=utf-8
mtb xml.conversionType SimplePlain2XML
mtb xml.documentName XXX_EXPENSES_mt
mtb xml.fieldContentFormatting trim
mtb xml.fieldNames FIELD1,FIELD2,FIELD3,FIELD4
mtb xml.fieldSeparator '0x09'
mtb xml.processFieldNames fromConfiguration
mtb xml.structureTitle RECORD
The following the noticeable details on CC:
Error type: TASK_ERROR >> Error date: 12/5/10 12:42 PM >> Description: Polling finished with errors. 1 file initiated. 1 file not polled due to errors.
Message initiated succesfully
Error type: TASK_ERROR >> Error date: >> Description: File <amex.dat> could not be polled from directory </usr/sap/interfaces/FTP1/send> on host <sapdv1ci>; Reason: removeFile: File xxx.dat could not be removed. SftpStatusCode: SSH_FX_NO_SUCH_FILE; Reason: No such file
Any help is greatly appreciated.
ThanksCheck the following...
1. Make sure you don't have any scripts running at your target folder.
Example: If you are reading your file from TEST folder make sure you don't have any scripts running here.
2. In File Setting section make sure you uncheck Delete file checkbok.
Regards
Srikanth Baki -
Error using Message Transform Bean in SimplePlain2XML in file sender
Hi guys.
Im using Message Transform Bean to convert from file to xml in file sender.
My structure look like this:
ROW (1..n)
>TRANSPORTES (1)
>ENTREGAS (1..n)
And I have configured the module like this:
AF_Modules/MessageTransformBean - transform
transform - Transform.Class - com.sap.aii.messaging.adapter.Conversion
transform - xml.ENTREGAS.endSeparator - 'nl'
transform - xml.ENTREGAS.fieldFixedLengths - 1,30
transform - xml.ENTREGAS.fieldNames - TIPO,NUM_ENTREGA
transform - xml.ENTREGAS.keyFieldValue - E
transform - xml.TRANSPORTES.endSeparator - 'nl'
transform - xml.TRANSPORTES.fieldFixedLengths - 1,30
transform - xml.TRANSPORTES.fieldNames - TIPO,NUM_TRANSPORTE
transform - xml.TRANSPORTES.keyFieldValue - T
transform - xml.conversionType - SimplePlain2XML
transform - xml.documentName - MPrueba_Zip
transform - xml.documentNamespace - http:/XXXXXX.es/XXXX/sap/prueba
transform - xml.keyFieldName - TIPO
transform - xml.processFieldNames - fromConfiguration
transform - xml.recordsetName - row
transform - xml.recordsetStructure - TRANSPORTES,1,ENTREGAS,*
Im getting this error and I don´t know why:
Error: com.sap.aii.messaging.adapter.trans.TransformException: Transformer Conversion3.0.5227 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.fieldFixedLengths' or 'xml.fieldSeparator' is missing (4409) Parameter 'xml.fieldNames' is missing (4403) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.fieldFixedLengths' or 'xml.fieldSeparator' is missing (4409) Parameter 'xml.fieldNames' is missing (4403)
Why am i doing wrong?????
Thanks a lot!!!Hi
For Complex conversion you have to use xml.conversionType as "StructPlain2XML"
http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
Regards
Ramg -
Need help in message transformation.
I need help to resolve following error during message transformation.
........ BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:BankCheckRecon_Request_MT/Header. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start.............
<b>Note </b> Message Map and Interface map are working correctly when tested separately in the Repository.
<b>Mapping Rules:</b>
/ns0:BankCheckRecon_Request_MT=/ns0:ComericaCheckRecon_Request_MT=
/ns0:BankCheckRecon_Request_MT/Header=/ns0:ComericaCheckRecon_Request_MT/Header=
/ns0:BankCheckRecon_Request_MT/Header/RecordID=const()
/ns0:BankCheckRecon_Request_MT/Header/HdrNumber=const()
/ns0:BankCheckRecon_Request_MT/Header/SenderBank=const()
/ns0:BankCheckRecon_Request_MT/Header/ReceiverBank=const()
/ns0:BankCheckRecon_Request_MT/Header/AcctNumber=/ns0:ComericaCheckRecon_Request_MT/Header/AcctNumber=
/ns0:BankCheckRecon_Request_MT/Header/PymtType=const()
/ns0:BankCheckRecon_Request_MT/Header/TapeDate=const()
/ns0:BankCheckRecon_Request_MT/Header/ISOCurr=const()
/ns0:BankCheckRecon_Request_MT/Item=ifWithoutElse(stringEquals(/ns0:ComericaCheckRecon_Request_MT/Detail/RecordID=, const()), /ns0:ComericaCheckRecon_Request_MT/Detail=)
/ns0:BankCheckRecon_Request_MT/Item/RecordID=const()
/ns0:BankCheckRecon_Request_MT/Item/ValueDate=currentDate()
/ns0:BankCheckRecon_Request_MT/Item/ChkNumber=/ns0:ComericaCheckRecon_Request_MT/Detail/ChkNumber=
/ns0:BankCheckRecon_Request_MT/Item/ChkAmount=/ns0:ComericaCheckRecon_Request_MT/Detail/ChkAmount=
/ns0:BankCheckRecon_Request_MT/Item/ReceiverBank=const()
/ns0:BankCheckRecon_Request_MT/Item/AcctNumber=const()
/ns0:BankCheckRecon_Request_MT/Item/EncashDate=TransformDate(/ns0:ComericaCheckRecon_Request_MT/Detail/ChkPaidDate=)
/ns0:BankCheckRecon_Request_MT/Item/TransCode=const()
/ns0:BankCheckRecon_Request_MT/Item/AcctNumber_1=/ns0:ComericaCheckRecon_Request_MT/Detail/AcctNumber=
<b>Test Data -</b>
<?xml version="1.0" encoding="UTF-8"?>
<ns0:ComericaCheckRecon_Request_MT xmlns:ns0="http://mazdausa.com/sapr3/fi/transdata/bankcheckrecon">
<Header>
<AcctNumber>2176975528</AcctNumber>
<Filler1> </Filler1>
<ReconDate>123105</ReconDate>
<Filler2> </Filler2>
<RecordID>H</RecordID>
<Filler3> </Filler3>
</Header>
<Detail>
<AcctNumber>2176975528</AcctNumber>
<Filler1> </Filler1>
<ChkNumber>0000200001</ChkNumber>
<Filler2> </Filler2>
<ChkPaidDate>121905</ChkPaidDate>
<Filler3> </Filler3>
<ChkAmount>0001020000</ChkAmount>
<RecordID>D</RecordID>
<Filler4> </Filler4>
</Detail>
<Detail>
<AcctNumber>2176975528</AcctNumber>
<Filler1> </Filler1>
<ChkNumber>0000200002</ChkNumber>
<Filler2> </Filler2>
<ChkPaidDate>121405</ChkPaidDate>
<Filler3> </Filler3>
<ChkAmount>0164840000</ChkAmount>
<RecordID>D</RecordID>
<Filler4> </Filler4>
</Detail>
<Trailer>
<AcctNumber>2176975528</AcctNumber>
<Filler1> </Filler1>
<ChksCount>0000000493</ChksCount>
<Filler2> </Filler2>
<TotalAmount>0766945400</TotalAmount>
<Filler3> </Filler3>
<RecordID>T</RecordID>
<Filler4> </Filler4>
</Trailer>
</ns0:ComericaCheckRecon_Request_MT>
Thanks
RajeshThanks Mohan for your quick response. I am working with File Adapter and here are <b>Message Structures:</b>
ComericaCheckRecon_Request_MT
Header
AcctNumber 10
Filler1 1
ReconDate 6
Filler2 22
RecordID 1
Filler3 40
Detail
AcctNumber 10
Filler1 1
ChkNumber 10
Filler2 1
ChkPaidDate 6
Filler3 1
ChkAmount 10
RecordID 1
Filler4 40
Trailer
AcctNumber 10
Filler1 1
ChksCount 10
Filler2 1
TotalAmount 10
Filler3 7
RecordID 1
Filler4 40
BankCheckRecon_Request_MT
Header
RecordID 1
HdrNumber 3
SenderBank 15
ReceiverBank 15
AcctNumber 18
PymtType 3
TapeDate 8
ISOCurr 3
Item
RecordID 1
ValueDate 8
ChkNumber 13
ChkAmount 11
ReceiverBank 15
AcctNumber 10
EncashDate 8
TransCode 3
AcctNumber 18 -
Creating Simple transformation for an XML data having deep structure
Hi
I have the following XML structure..
<REQUESTS>
<REQUESTNAME>REQ123</REQUESTNAME>
<REQUESTID>1234</REQUESTID>
<CITY>NEWYORK</CITY>
<ZIPCODE>123456</ZIPCODE>
<COMPETENCIES>
<LANGUAGES>
<COMPETENCY>
<SKILL>SAP</SKILL>
<PROFICIENCY>TEST</PROFICIENCY>
<SKILL>JAVA</SKILL>
<PROFICIENCY>TEST123</PROFICIENCY>
(here we may have any number of records for SKILL&PROFICIENCY...)*
</COMPETENCIES>
</LANGUAGES>
</COMPETENCY>
</REQUESTS>
My requirement is to read the above data from an URL and push it into an internal table.
For this I'm trying to use Simple transformations but I'm facing difficulty in doing this.
Can you pl. guide me how to create the transformation and the corresponding code for this.
Best Regards
AnilHi
Here is the actual XML structure..
- <REQUEST>
<COUNTRY />
<ADDRESS />
<CITY />
<ASSIGNTYPE>IP</ASSIGNTYPE>
<CHARGETYPE>CH</CHARGETYPE>
<REMOTEALLOWED>Y</REMOTEALLOWED>
<SALESRATE>EUR</SALESRATE>
<SECURITY>NO</SECURITY>
<TRAVELEXP>Y</TRAVELEXP>
<MAXDAILYRATE />
<CREDENTIALS />
<EXPENDDATE />
<NEWENDDATE />
<NEWEXPENDDATE />
<REPLYBEFORE>2010-11-30</REPLYBEFORE>
<STARTDATE>2010-01-01</STARTDATE>
<ENDDATE>2010-12-31</ENDDATE>
<GCMTYPE>PM</GCMTYPE>
<GCMLEVELFROM>02</GCMLEVELFROM>
<GCMLEVELTO>08</GCMLEVELTO>
<LOCATION>FR43</LOCATION>
<MOBILITY>04</MOBILITY>
<ZIPCODE />
- <COMPETENCIES>
- <LANGUAGES>
- <COMPETENCY>
<SKILL>01106034</SKILL>
<PROFICIENCY>005103</PROFICIENCY>
</COMPETENCY>
</LANGUAGES>
- <ACTIVITIES>
- <COMPETENCY>
<SKILL>01105500</SKILL>
<PROFICIENCY>004507</PROFICIENCY>
</COMPETENCY>
</ACTIVITIES>
- <BUSINESS>
- <COMPETENCY>
<SKILL>01105729</SKILL>
<PROFICIENCY>004605</PROFICIENCY>
</COMPETENCY>
</BUSINESS>
- <INDUSTRIES>
- <COMPETENCY>
<SKILL>01105491</SKILL>
<PROFICIENCY>004901</PROFICIENCY>
</COMPETENCY>
</INDUSTRIES>
- <METHODS>
- <COMPETENCY>
<SKILL>01105591</SKILL>
<PROFICIENCY>004805</PROFICIENCY>
</COMPETENCY>
</METHODS>
- <OFFERINGS>
- <COMPETENCY>
<SKILL>01105840</SKILL>
<PROFICIENCY>005002</PROFICIENCY>
</COMPETENCY>
</OFFERINGS>
- <PRODUCTS>
- <COMPETENCY>
<SKILL>01107304</SKILL>
<PROFICIENCY>004703</PROFICIENCY>
</COMPETENCY>
</PRODUCTS>
</COMPETENCIES>
<CANDIDATES />
</REQUEST>
Here..... <SKILL></SKILL> <PROFICIENCY></PROFICIENCY> can be more than 1 entry...
For this I have created a simple transformation like below..
I have used the tcode 'XSLT_TOOL '..
In SE11 I have created a Table type 'ZCOMPETENCIES' which is having a line type 'ZLANGS'.
ZLANGS is a structure which has another structure called 'ZCOMPETENCY' and this 'ZCOMPETENCY' is having fields
SKILL & PROFICIENCY.
I have used the wizard button which u can find 'XSLT_TOOL '.. and provided the table type ZCOMPETENCIES' and it has automatically created the following transformation...
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates" xmlns:ddic="http://www.sap.com/abapxml/types/dictionary" xmlns:def="http://www.sap.com/abapxml/types/defined">
<tt:root name="ROOT" type="?"/>
<tt:root name="COMPETENCIES" type="ddic:ZCOMPETENCIES"/>
<tt:template>
<COMPETENCIES>
<tt:loop ref=".COMPETENCIES">
<ZLANGS>
<COMPETENCY>
<SKILL tt:value-ref="COMPETENCY.SKILL"/>
<PROF tt:value-ref="COMPETENCY.PROF"/>
</COMPETENCY>
</ZLANGS>
</tt:loop>
</COMPETENCIES>
</tt:template>
</tt:transform>
I have written following code to get the data
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = gs_file
CHANGING
data_tab = gt_itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
not_supported_by_gui = 17
error_no_gui = 18
OTHERS = 19.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
GET REFERENCE OF gt_person INTO gs_result_xml-value.
gs_result_xml-name = 'COMPETENCIES'.
APPEND gs_result_xml TO gt_result_xml.
TRY.
CALL TRANSFORMATION ZTEST_TRAN
SOURCE XML gt_itab
RESULT (gt_result_xml).
CATCH cx_root INTO gs_rif_ex.
gs_var_text = gs_rif_ex->get_text( ).
MESSAGE gs_var_text TYPE 'E'.
ENDTRY.
Please let me know if you need any further details..
Best Regards
Anil -
RFC to ISO 20022 xml file scenario
Hello Experts,
I have a scenario in which i need to pull data from SAP and create ISO 20022 xml file.
I have no idea about ISO 20022 xml file format.
Can anybody send me the links which have examples of how to achive that through XI?
Thanks,
HetalHi,
ISO20022 is just a standard for XML messages you can obtain informations here:
http://www.iso20022.org and
http://www.iso20022.org/catalogue_of_unifi_messages.page
Hope this brings some light in.
Kai -
I uploaded an rtf (word) document to icloud, but when I try to open in Pages, I get a message that it does not support rtf format. What is going on?
Supported file formats for iOS Pages
Import:
Pages ’09 for Mac
Microsoft Word - Office Open XML (.docx) and Office 97 or later (.doc)
Plain Text files (.txt)
Export:
Pages ’09 for Mac
Microsoft Word (.doc)
PDF
As you can see - .rtf is not supported. -
Error while using Message transform Bean
Hi All,
I am using message transform bean in the receiver channel. The structure I have used is as follows.
Transform.Class com.sap.aii.messaging.adapter.Conversion
Transform.ContentType text/xml;charset=utf-8
xml.conversionType SimplePlain2XML
xml.documentName MT_DataExtract
xml.documentNamespace http://ce.corp.com/xi/ACA/HR_INT_XXX/EmployerReporting
xml.endSeperator 'nl'
xml.fieldNames pernr,l_name,f_name,m_name,perid,p_subarea,e_group,e_subgroup,status,c_code,pa_text,str_add,h_city,h_state,h_zcode,z1_org,z2_org,rep_hours
xml.fieldSeperator ,
xml.singleRecordType Employee_Details
XML structure would be as
<Employee_Details>
<pernr></pernr>
- <l_name></l_name> <f_name></f_name>
<m_name />
<perid></perid>
<p_subarea></p_subarea>
<e_group></e_group>
<e_subgrp></e_subgrp>
<status></status>
<c_code></c_code>
<pa_text></pa_text>
<str_add></str_add>
<h_city></h_city>
<h_state></h_state>
<h_zcode></h_zcode>
<z1_org></z1_org>
<z2_org></z2_org>
<rep_hours></rep_hours>
</Employee_Details>
I am getting error as Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.lib.util.configuration.ConfigurationExceptionSet: The following configuration errors were detected: - Either recordTypes or singleRecordType needs to be set .
Please help me to resolve this error.
Thanks,
ShankulIt's not just that parameter, Please change your configuration as explained in the blog i shared.
There is a example which has expected structure and the conversion parameters.
Your target xml should be like below.
The XML structure of the source file should follow the same structure as the result of the SimplePlain2XML conversion.
<resultset>
<row>
<column-name1>ABC</column-name1>
<column-name2>12345</column-name2>
<column-name3>Text1</column-name3>
</row>
<row>
<column-name1>XYZ</column-name1>
<column-name2>67890</column-name2>
<column-name3>Text2 Text3</column-name3>
</row>
</resultset>
Examples of Content Conversion Using MessageTransformBean (SAP Library - SAP Exchange Infrastructure) -
Upload Error message: HTTPS protocol is not supported
Hi,
Whenever I do a quick par upload i'm getting an 'Operation failed' message to check sap-plugin.log.
Log says
Upload Error message: HTTPS protocol is not supported, please ensure this server is not using HTTPS. My webdynpro applications are getting deployed without any issues.
How to resolve this?
Thanks
SumathiHi Sumathi,
As there are often problems with the Quick PAR Upload reported, I would suggest to use the "normal" PAR upload from the icon tray (you have to activate the portal icons in the icon tray). That is almost that "quick" (one or two clicks more needed, we don't talk about more than a second) and - it works (it least it should, and at least it works in most cases even if the Quick PAR Upload fails).
Hope it helps
Detlev -
I just bought an Apple Lighting to USB Camera Adapter. When I got home to and connected it to my Canon Rebel EOS Digital Camera. I received the error message "This device is not supported" I was wondering if there is any software or drivers I need to download?
Thanks
DonI use Canon Cameras and have no problems downloading photos from the camera to the Lightning to USB Camera Adapter. My questions and suggestions might be basic but just to make sure:
1. This is an iPad forum area. Are you using the lightning to USB camera adapter with an iPad? Your info in your original post says iPod. I'm not sure that the adapter works with an iPod.
2. After you connect the adapter to your iPad and then use a USB cable to connect the adapter to the camera did you turn on the camera?
3. If you did turn on the camera and still did not get the import of photos to start try a reset your iPad. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. This will not cause any data loss. -
I have just purchased a lightning to 30 pin adaptor to use on an iPad mini and a gen5 iPod touch both devices are running iOS 8.1.3 and come up with The error message "this accessory is not supported by this device "
THis is means they are not charging on a 30 pin cable and the touch won't work in my Apple iPod dock - no audio out or charge. Have re powered both devices to no avail am wondering if the iOS version is the problem
Help!If it is a lightning to 30 pin adaptor, and you have a 7th Generation Nano it has to fit the Nano.
This is lightning to 30 pin adapter: http://www.bestbuy.com/site/Apple%26%23174%3B---Lightning-to-30-Pin-Adapter/6651 936.p?id=1218803450821&skuId=6651936#tab=overview
Is this what you bought?
You need to contact Sony and see if they model you have is compatible with the docking adapter. It may not be. -
I purchased Elements 13. When I tried to install it I get the error message that it is not supported by Vista. What do I do now?
If you can't install Windows 7 or higher or get a new computer with Windows 7 or higher, you won't be able to run Photoshop Elements 13.
There are many inexpensive refurbished or "off lease" computers available at very reasonable cost. Here is one example (scroll down):
Computers & Tablets, Desktop PCs, All Desktop PCs, Refurbished - Newegg.com
Maybe you are looking for
-
How to email the sales invoice to customer on his email id
hi masters, i have got one report for development in which i have to send the sales invoice to that respective customer's email ID(email id of any domain like yahoo, gmail etc). and like this they want to send the there respective invoice to all cust
-
Automated packaging and deploying of WebCenter Spaces/Portal
Hey, I'm using WebCenter PS5 (11.1.1.6) and was wondering if anyone has setup package and deployment scripts for use in Continuous Integration (CI) for Webcenter Portal and Spaces using Ant. From the documents online I can see that there is limited s
-
How do i get pages to automatically save as a .docx format?
I can export to a word format, but how can I get it to automatically save as one?
-
SmartForm Header Maintainance.
Hi All, I had copied a std smartform into my zsmartform and tried to run it for a preview. now it so happens that in the standard smartform there is no hardcoded text in the header of the SmartForm (SF) but i happenend to find out thru debugging that
-
Problem with starting SAP Database ..
Hi, I have a issue with starting the DB. the detailed log is attached below. When I had a Performance issue, I had tried to stop the SAP instance and the DB. But thats not stopped. So I have restarted the OS. After restarting the OS the DB is not com