Help on paritcul XML DB scenario
Hi all! I have some XML files and a XML schema. All the XML files are valid. I have registered the XML schema in Oracle. I'd like to define a repository containing all my xml files. When a new xml file is inserted in the repository, I want to insert it in a table based on my specific XML schema automatically. Can you help me? I don't know how to configure the repository... Thank you very much!
Sorry! I am using Oracle 9iR2 on win 2000 professional. Now I try to explain my problem concerning the repository. Where is stored the repository? When I access to the repository using FTP, I can see some folders and some files. Where are they stored? What happens to a XML table based on a schema if I make some changes to the XML schema (for example I add some new tags)? All these questions are not based on a real implementation, so I have not XML schema and XML files to post. I'm only evaluating what I can do with Oracle XML db.
Similar Messages
-
Error in Flatfile (txt) to xml file scenario
hi,
while executing the Flat file (txt) to xml file scenario, the txt file picked up from my source directory, but i could not find in my target directory.
when i check message monitoring, it is showing successful.
Audit Log for Message: af840930-3fa2-11dc-a345-000423c7753d
Time Stamp Status Description
2007-07-31 16:14:47 Success Channel CC_sender: Entire file content converted to XML format
2007-07-31 16:14:47 Success Send text file "xi_input.txt" from FTP server "64.72.230.130:/praba_source", size 353 bytes with QoS EO
2007-07-31 16:14:47 Success Application attempting to send an XI message asynchronously using connection AFW.
2007-07-31 16:14:47 Success Trying to put the message into the send queue.
2007-07-31 16:14:47 Success Message successfully put into the queue.
2007-07-31 16:14:47 Success The application sent the message asynchronously using connection AFW. Returning to application.
2007-07-31 16:14:47 Success The message was successfully retrieved from the send queue.
2007-07-31 16:14:47 Success File "xi_input.txt" deleted after processing
2007-07-31 16:14:47 Success The message status set to DLNG.
2007-07-31 16:14:48 Success The message was successfully transmitted to endpoint http://xiserver1:8000/sap/xi/engine?type=entry using connection AFW.
2007-07-31 16:14:48 Success The message status set to DLVD.
2007-07-31 16:14:48 Success The message was successfully delivered.
I followed the Venkat Donela blog
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
IN sender CC, i used file content conversion(mesage protocol), file name scheme xi_input.txt
In receiver CC , I used file (message protocol),file name scheme xi_output.xml
In both CC , transport protocol is FTP.
so i gave server name, port, username, password.
could you help me out to find the error for this scenario also?
Thanks in advancehi,
In sender CC
name and value are like this
row.fieldNames FirstName,LastName,MiddleName,City,Place,State,Country
row.fieldSeperator ,
row.processConfiguration FromConfiguration
row.endSeperator 'nl' -
ALE IDOC to XML IDOC scenario using XML port
Hi,
I am working on ALE IDOC to XML IDOC scenario using XML port . The requirement is to place a XML IDOC on the application server using ALE IDOC scenario ( output type is created in NACE which is ALE enabled ).
Can anybody help me on the steps.
Regards
Kumar
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Sep 8, 2011 6:01 PMU can give a try as follows.
In the Partner Profile of Sender R/3 system,
Give the Receiver Party P_Party in the PartnerNo. Give the 'Business Partner' as logical System type.
In XI, Party Definition of P_Party
Give the following Alternative Identifier
Agency - Sender R/3 Business System
Scheme - ALE#GP
Value - P_Party -
Little help with complex XML data as data provider for chart and adg
Hi all,
I've been trying to think through a problem and Im hoping for
a little help. Here's the scenario:
I have complex nested XML data that is wrapped by subsequent
groupings for efficiency, but I need to determine if each inner
item belongs in the data collection for view in a data grid and
charts.
I've posted an example at the bottom.
So the goal here is to first be able to select a single
inspector and then chart out their reports. I can get the data to
filter from the XMLListCollection using a filter on the first layer
(ie the name of the inspector) but then can't get a filter to go
deeper into the structure in order to determine if the individual
item should be contained inside the collection. In other words, I
want to filter by inspector, then time and then tag name in order
to be able to use this data as the basis for individual series
inside my advanced data grid and column chart.
I've made it work with creating a new collection and then
looping through each time there is a change to the original
collection and updating the new collection, but that just feels so
bloated and inefficient. The user is going to have some buttons to
allow them to change their view. I'm wondering if there is a
cleaner way to approach this? I even tried chaining filter
functions together, but that didn't work cause the collection is
reset whenever the .refresh() is called.
If anyone has experience in efficiently dealing with complex
XML for charting purposes and tabular display purposes, I would
greatly appreciate your assistance. I know I can get this to work
with a bunch of overhead, but I'm seeking something elegant.
Thank you.Hi,
Please use the code similar to below:
SELECT * FROM DO_NOT_LOAD INTO TABLE IT_DO_NOT_LOAD.
SORT IT_DO_NOT_LOAD by WBS_Key.
IF SOURCE_PACKAGE IS NOT INITIAL.
IT_SOURCE_PACKAGE[] = SOURCE_PACKAGE[].
LOOP AT IT_SOURCE_PACKAGE INTO WA_SOURCE_PACKAGE.
V_SYTABIX = SY-TABIX.
READ TABLE IT_DO_NOT_LOAD into WA_DO_NOT_LOAD
WITH KEY WBS_Key = WA_SOURCE_PACKAGE-WBS_Key
BINARY SEARCH.
IF SY-SUBRC = 0.
IF ( WA_DO_NOT_LOAD-WBS_EXT = 'A' or WA_DO_NOT_LOAD-WBS_EXT = 'B' )
DELETE IT_SOURCE_PACKAGE INDEX V_SYTABIX.
ENDIF.
ENDIF.
ENDLOOP.
SOURCE_PACKAGE[] = IT_SOURCE_PACKAGE[].
ENDIF.
-Vikram -
Regarding receiver determination problem in IDOC-XI-XML file scenario
Dear All ,
In IDOC-XI-xml file scenario , I have configured SLD , IR . But in ID , after file adapter , reciever agreement configuration when I am doing receiver determination configuration I am not able to insert mapping program in configuration overview of receiver determination as I am not getting "New Specific" option in mapping .
Can anybody suggest what could be the reason behind this .
Thanks in Advance
PrabhatHi PRabhat,
In RCVR determination, you need to select the party & service (as appropriate) save the obeject
then refresh the configuration overview of recr det.
then you can see the partner/service
then you can open it & add the necessary objects.
Regards
Vishnu -
IDOC to XML file scenario with party
Hi All,
I am developing a IDOC to XML file scenario with party in which I have extended the MATMAS idoc and configured the receiver FILE communication channel.
But its giving me the error *"No receiver could be determined"* with party. If I run the same scenario without the sender party its working fine.
And sender is my R/3 system under party P_Party and receiver is my third party system under P_Party.
Thanks in advance.
GaurangU can give a try as follows.
In the Partner Profile of Sender R/3 system,
Give the Receiver Party P_Party in the PartnerNo. Give the 'Business Partner' as logical System type.
In XI, Party Definition of P_Party
Give the following Alternative Identifier
Agency - Sender R/3 Business System
Scheme - ALE#GP
Value - P_Party -
Hi All,
I want to implement IDOC to XML SOAP scenario for 3 different IDOC types.
Should i implement it under same namespace or use different namespace for each IDOC to XML scenario.
Thanks,
VishalHi,
depends on your requirement and your XML SOAP receiver
there are no general rules
Regards,
Michal Krawczyk -
Hi all,
I am trying to create a simple a XML File TO XML File scenario. Somehow the server is picking up the input file properly but it is not putting the output file properly. When I go to RunTime WorkBench and click on Message Monitoring It shows that 3 messages(I had sent 3 messages) were processed successfully. However the starnge thing is that only sender information is being displayed. No receiver information is showing up. When I click on statistics from SAP XI screen (Integration Engine Monitoring) it shows 3 XML messages are being edited. Also when I try to see for processed messages in transaction SXI_Monitor The message doesn't show up. Does anybody have a clue.Hi,
Are you using any content conversion. ithink you are sending XML . so no..
So check the channel monitor -- rwb - component monitor - channel monitor
select your sender CC ,, see the Error.
After see in SXMB_Monitor .if any error occurr , check accordingly , or check in Mapping.
Also take the source of xml payload from sxmb_moni and come back to message mapping and check with that xml, for runtime errors.
So check the channel monitor -- rwb - component monitor - channel monitor
select your receiver CC ,, see the Error.
See the output file is placed or not.
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
Regards
Chilla -
Required Help and Documentations for following Scenarios. URGENT
Hi every one,
I require help and materials for following scenarios:
<b>1) RFC to IDOC
2) JDBC to RFC & IDOC
3) Mail to File
4) HTTP to RFC, JDBC & IDOC
5)WEB SERVICES to RFC & IDOC
6) IDOC to ABAP proxy
7) Java Proxy to JDBC</b>
my email id: <u>[email protected]</u>
urgent plzz help me...
Message was edited by:
satish cSatish,
I would suggest to go through sravyas weblogs where she has given all the links to all the scenarios:
/people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
/people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
Also check this weblogs which they have explained with some scenarios:
Following are the links to weblogs which will help to develop the basic scenarios.
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
/people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
/people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
/people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
/people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
/people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
/people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
/people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
/people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
Regards,
---Satish -
Help with Oracle Analytic Function scenario
Hi,
I am new to analytic functions and was wondering if someone could help me with the data scenario below. I have a table with the following data
COLUMN A COLUMN B COLUMN C
13368834 34323021 100
13368835 34438258 50
13368834 34438258 50
13368835 34323021 100
The output I want is
COLUMN A COLUMN B COLUMN C
13368834 34323021 100
13368835 34438258 50
A simple DISTINCT won't give me the desired output so i was wondering if there is any way that I can get the result using ANALYTIC FUNCTIONS and DISTINCT ..
Any help will be greatly appreciated.
Thanks.Hi,
Welcome to the forum!
Whenever you have a question, please post your sample data in a form that people can use to re-create the problem and test their solutions.
For example:
CREATE TABLE table_x
( columna NUMBER
, columnb NUMBER
, columnc NUMBER
INSERT INTO table_x (columna, columnb, columnc) VALUES (13368834, 34323021, 100);
INSERT INTO table_x (columna, columnb, columnc) VALUES (13368835, 34438258, 50);
INSERT INTO table_x (columna, columnb, columnc) VALUES (13368834, 34438258, 50);
INSERT INTO table_x (columna, columnb, columnc) VALUES (13368835, 34323021, 100);Do you want something that works in your version or Oracle? Of course you do! So tell us which version that is.
How do you get the results that you want? Explain what each row of output represents. It looks like
the 1st row contains the 1st distinct value from each column (where "first" means descending order for columnc, and ascending order for the others),
the 2nd row contains the 2nd distinct value,
the 3rd row contains the 3rd distinct value, and so on.
If that's what you want, here's one way to get it (in Oracle 9 and up):
WITH got_nums AS
SELECT columna, columnb, columnc
, DENSE_RANK () OVER (ORDER BY columna ) AS a_num
, DENSE_RANK () OVER (ORDER BY columnb ) AS b_num
, DENSE_RANK () OVER (ORDER BY columnc DESC) AS c_num
FROM table_x
SELECT MAX (a.columna) AS columna
, MAX (b.columnb) AS columnb
, MAX (c.columnc) AS columnc
FROM got_nums a
FULL OUTER JOIN got_nums b ON b.b_num = a.a_num
FULL OUTER JOIN got_nums c ON c.c_num = COALESCE (a.a_num, b.b_num)
GROUP BY COALESCE (a.a_num, b.b_num, c.c_num)
ORDER BY COALESCE (a.a_num, b.b_num, c.c_num)
;I've been trying to find a good name for this type of query. The best I've heard so far is "Prix Fixe Query", named after the menus where you get a choice of soups (listed in one column), appetizers (in another column), main dishes (in a 3rd column), and so on. The items on the first row don't necessaily have any relationship to each other.
The solution does not assume that there are the same number of distinct items in each column.
For example, if you add this row to the sample data:
INSERT INTO table_x (columna, columnb, columnc) VALUES (13368835, 34323021, 99);which is a copy of the last row, except that there is a completely new value for columnc, then the output is:
` COLUMNA COLUMNB COLUMNC
13368834 34323021 100
13368835 34438258 99
50starting in Oracle 11, you can also do this with an unpivot-pivot query. -
Help need in XML to Proxy scenario
HI Guys,
I have got one scenaio from xml file --> ABAP proxy. This is for SNC integration, Product Acitivity Data. Please have a look the following xml file.
<?xml version="1.0" encoding="UTF-8"?>
<ROOT>
<OUTPUT>
<TRANS_HEADER>
<SET_ID>852</SET_ID>
<CNTL_NUMB>0001</CNTL_NUMB>
<CUST_NUMB>3800580</CUST_NUMB>
</TRANS_HEADER>
<H01_XQ>
<XQ01>H</XQ01>
<XQ_Y2K_DATE1>20100601</XQ_Y2K_DATE1>
</H01_XQ>
<Group_N1>
<H02_N1>
<N101>ST</N101>
<N102>SO. CALIF.</N102>
<N103>UL</N103>
<N104>0083967005509</N104>
</H02_N1>
<H02_N1_N4>
<N401>SANBERNARDINO CALIFORNIA</N401>
<N402>CA</N402>
<N403>92407-185</N403>
</H02_N1_N4>
<H02_N1_DTM>
<DTM01>600</DTM01>
<DTM_Y2K_DATE>20100531</DTM_Y2K_DATE>
</H02_N1_DTM>
</Group_N1>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225037</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035569</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355698</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>0</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225052</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035570</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355704</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>2</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225078</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035571</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355711</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>2</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<S01_CTT>
<CTT01>53</CTT01>
</S01_CTT>
</OUTPUT>
<OUTPUT>
<TRANS_HEADER>
<SET_ID>852</SET_ID>
<CNTL_NUMB>0001</CNTL_NUMB>
<CUST_NUMB>3800580</CUST_NUMB>
</TRANS_HEADER>
<H01_XQ>
<XQ01>H</XQ01>
<XQ_Y2K_DATE1>20100601</XQ_Y2K_DATE1>
</H01_XQ>
<Group_N1>
<H02_N1>
<N101>ST</N101>
<N102>SO. CALIF.</N102>
<N103>UL</N103>
<N104>0083967005509</N104>
</H02_N1>
<H02_N1_N4>
<N401>SANBERNARDINO CALIFORNIA</N401>
<N402>CA</N402>
<N403>92407-185</N403>
</H02_N1_N4>
<H02_N1_DTM>
<DTM01>600</DTM01>
<DTM_Y2K_DATE>20100531</DTM_Y2K_DATE>
</H02_N1_DTM>
</Group_N1>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225037</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035569</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355698</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>0</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225052</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035570</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355704</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>2</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<D01_LIN>
<LIN02>CB</LIN02>
<LIN03>225078</LIN03>
<LIN04>UA</LIN04>
<LIN05>001230035571</LIN05>
<LIN06>UK</LIN06>
<LIN07>00012300355711</LIN07>
<LIN08>ZZ</LIN08>
<LIN09>2</LIN09>
</D01_LIN>
<D01_PO4>
<P0401>10</P0401>
</D01_PO4>
<D01_N9>
<N901>VN</N901>
<N902>0000005121</N902>
</D01_N9>
<Group_ZA>
<D02_ZA>
<ZA01>QA</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QN</ZA01>
<ZA02>1.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QO</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QP</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
<D02_ZA>
<ZA01>QS</ZA01>
<ZA02>0.0</ZA02>
<ZA03>CT</ZA03>
<ZA06>LJ</ZA06>
<ZA07>XX</ZA07>
</D02_ZA>
</Group_ZA>
</Group_LIN>
<Group_LIN>
<S01_CTT>
<CTT01>53</CTT01>
</S01_CTT>
</OUTPUT>
</ROOT>
1. Can you please tell me, Do we need Multimapping in this?
2. To take this file into PI, do we need to use Ananimity bean parameters to sender file adapter module?
3. the sender side XSD schma as follows is it okay are any change are required
ROOT Complex Type
OUTPUT Element 0..unbounded
TRANS_HEADER Element 0..unbounded
SET_ID Element xsd:string 0..1
CNTL_NUMB Element xsd:string 0..1
CUST_NUMB Element xsd:string 0..1
H01_XQ Element 0..unbounded
XQ01 Element xsd:string 0..1
XQ_Y2K_DATE1 Element xsd:date 0..1
Group_N1 Element 0..unbounded
H02_N1 Element 0..1
N101 Element xsd:string 0..1
N102 Element xsd:string 0..1
N103 Element xsd:string 0..1
N104 Element xsd:string 0..1
H02_N1_N4 Element 0..1
N401 Element xsd:string 0..1
N402 Element xsd:string 0..1
N403 Element xsd:string 0..1
H02_N1_DTM Element 0..1
DTM01 Element xsd:string 0..1
DTM_Y2K_DATE Element xsd:date 0..1
Group_LIN Element 0..unbounded
D01_LIN Element 0..unbounded
LIN02 Element xsd:string 0..1
LIN03 Element xsd:string 0..1
LIN04 Element xsd:string 0..1
LIN05 Element xsd:string 0..1
LIN06 Element xsd:string 0..1
LIN07 Element xsd:string 0..1
LIN08 Element xsd:string 0..1
LIN09 Element xsd:string 0..1
D01_PO4 Element 0..unbounded
P0401 Element xsd:integer 0..1
D01_N9 Element 0..unbounded
N901 Element xsd:string 0..1
N902 Element xsd:string 0..1
Group_ZA Element 0..unbounded
D02_ZA Element 0..unbounded
ZA01 Element xsd:string 0..unbounded
ZA02 Element xsd:decimal 0..unbounded
ZA03 Element xsd:string 0..unbounded
ZA04 Element xsd:string 0..unbounded
ZA05 Element xsd:string 0..unbounded
ZA06 Element xsd:string 0..unbounded
ZA07 Element xsd:string 0..unbounded
ZA08 Element xsd:string 0..unbounded
ZA09 Element xsd:string 0..unbounded
S01_CTT Element 0..unbounded
CTT01 Element xsd:string 0..1
Any kind if help is good.
Regards
Many thanks in advance.
SanHi Abhishek,
Any example scenario do you about this model. I will explain our scenario situation, please give me your idea.
We are doing Customer colloboration on SNC 7.0 with PI 7.11. Everyday customer sales files almost 100 comes individually EDI messages comes in EDI flat file, there is intermediate company will conver EDI flat file into xml messages. This xml file has got first 5 tags header information and the rest 50 to 100 lin items. This kind of header and lin information 3 to 5 messages per one xml.
EX: <RooT>
<OUTPUT> -- 0..unbound
<Header-1> --- 0..1
<Header-2> --- 0..1
<Line -1> 0..n
<Line -7> 0..n
<ZA> 0..1
<ZA> 0..1
<Trailer> 0..1
This is the structure. We need to populate all this customer information into Product Activity Notification on SNC 1..1.
Could you please give me your ideas and recommandations.
Many thanks for your help & effort.
Regards
San -
Need help with Sync/Async BPM Scenario
I have an R/3 RFC -> XI -> HTTP (to vendor A) scenario that is working fine. It is a totally synchronous call event. The Integration Directory pieces sit in a scenario named HotkeyOutbound.
Now I need to create a process for RFC -> XI -> HTTP (to vendor Panduit). The R/3 RFC is the same sender, but vendor Panduit only supports an asynchronous HTTP connection. I followed the Sriram Vasudevan weblog on Sync/Async Bridge and created my BPM. I am stuck on trying to determine what to set up in the Integration Directory.
First off, should I be able to use the same HotkeyOutbound scenario as with vendor A so all hotkey stuff can stay together? Or do I have to create a new scenario with a copy of the R/3 business system for the sender? I moved forward with a new scenario (PanduitHotkeyOutbound).
I also need to know how many config Agreements and Determinations to use. The image at http://webpages.charter.net/kpwendel/keith1.html shows what I have so far. Which are not needed? What is missing?
And I tried setting up an HTTP communication channel for outbound async to vendor Panduit and another for inbound async from vendor Panduit. XI won't let me set up a sender HTTP channel. Why not?
Thank you in advance.I have yet to figure this out, and probably need to go back to my Integration Repository setup since my problems may start there. This screenshot shows my Repository objects.
http://webpages.charter.net/kpwendel/intProcess.jpg
HELP! These are the steps I took, with questions embedded.
(1) Created data type and message type for xml document (note that same format is used for request and reply).
(2) Created PANRequestAbstractInterfaceSync (abstract and sync) for first part of Integration Process. Should the input message be the RFC or XML message type?
(3) Created PANRequestAbstractInterfaceAsync (abstract and async) for 2nd part of Integration Process.
(4) Created PANResponseToBPM_MessageInterface (outbound async) for interface back into XI from partner. Is this needed?
(5) Created PANHotkeySync_to_Async_IntProc Integration Process to handle sync to async bridge.
- Wondering why PANRequestAbstractInterfaceAsync is the only message interface available when I make container object (PANMessage)?
(6) Created two Message Mappings to handle RFC data to XML mappings (outbound RFC-> XML and inbound XML -> RFC).
(7) Created Interface Mapping that includes both the Request and Response message mapping programs from step six. Source is the RFC and Target is PANRequestAbstractInterfaceSync.
- Do I need another interface mapping with Source being PANRequestAbstractInterfaceAsync and Target being the RFC?
Link to these steps and app diagram:
http://webpages.charter.net/kpwendel/PAN_Hotkey_Diagram.jpg
Thank you very much for your time. -
Help needed with xml to flat file conversion
Hi all,
I am doing a webservice (SOAP) to file scenario. The file I get into the target directory is as below.
<?xml version="1.0" encoding="UTF-8"?>
<ns1:MT_Test_interface xmlns:ns1="http://test_namespace.co.uk"><fieldA>0000012345</fieldA><fieldB></fieldB><fieldC>0010203040</fieldC><transaction_type>NEW</transaction_type><transaction_date>2011/08/21</transaction_date><sales data>PARTNERS (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))</sales data></ns1:MT_Test_interface>
But I want it to be a plain text file like below, not an xml file.
0000012345
0010203040
NEW
2011/08/21
PARTNERS
(((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))
What are all the modules I need and also the parameters and their values please?
Any help is appreciated.
Thanks.
Ramesh.Thanks guys.
My xml now is like this:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_test xmlns:ns1="http://test.co.uk">
- <REPORT>
<company_number>0000043239</company_number>
<transaction_type>CREATE</transaction_type>
<transaction_date>2011/08/21</transaction_date>
<sales_data>Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))</Partners>
</REPORT>
</ns1:MT_test>
I am using the content conversion as below:
Recordset Structure: REPORT
Name: REPORT.addHeaderLine Value: 1
Name: REPORT.fieldSeparator Value: ,
Name: REPORT.endSeparator Value: 'nl'
Name: company_number.endSeparator Value: 'nl'
and I am getting the result as:
company_number,transaction_type,transaction_date,sales_data
0000043239,CREATE,2011/08/21,Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), 382225.17 73214.976, 398410.463 95156.636)))
But I want file like this:
company_number,transaction_type,transaction_date,sales_data
0000043239
CREATE
2011/08/21
Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), 382225.17 73214.976, 398410.463 95156.636)))
What will be the CC parameters please?
Many thanks.
Ramesh. -
Message Mapping Error in Text File to XML file Scenario
Hi Gurus,
This is Sudheer...I am New to SAP-PI......
Below link is File to File Scenario(Text File to XML File)...
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/basicFileAdapterContentConversion
I am facing Message Mapping Error....I am not able to map the fileds...
Please help me.
-SudheerThanks Shabarish & Manisha for your reply....
Ya I am getting error while I am testing in IR....
I dont know how to map the fields that shown given below...
Message Type --- Message Type
Record Employee
Header EmployeeID
Key Name
EmpID Company
Name Phone
Company Prior_Employer
Phone Company
Detail Location
Key
Company
Location -
Need help with CSV to JDBC scenario
Hi experts,
We have a CSV file with data which has to be inserted into a SQL server database.
The sender data type is:
snd_dt complex type
row element 0..unbounded
name element xsd:string 0..1
date element xsd:string 0...1
ratio element xsd:string 0...1
The receiver data type is :
rcv_dt complex type
STATEMENT element
ROW element
action Attribute
TABLE element
access element 0...unbounded
name element xsd:string 0...1
date element xsd:string 0...1
ratio element xsd:string 0...1
Now I did the mapping and also did the steps in ID.
In the database, for the table in the SQL server, the datatype for name is "char(3)", for date is "date" and for ratio is "decimal(9,2)"
When I run the scenario, this gives me an error saying:
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. 'NAME' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
I am doing a direct "INSERT" action into the table.
How do I resolve this error?
ANy help mwould be greatly appreciated.This is the exact error I am running into.
SQL log statement:
INSERT INTO NAME() VALUES ()
Error:
Unable to execute statement for table or stored procedure. 'NAME' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
When I put this SQL statement in SQL server, there are field names inside the parantheses of VALUES. Is this the reason why there is error??
Also, the receiver pay load looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_NAME_TABLE xmlns:ns0="http://jdbc2jdbc">
- <STATEMENT>
- <ROW action="INSERT">
<TABLE>NAME</TABLE>
<access />
<access />
<access />
</ROW>
</STATEMENT>
</ns0:MT_NAME_TABLE>
Regards.
Maybe you are looking for
-
How do I enable third party cookies in Firefox 5
I keep getting the message telling me to enable third party cookies. The instructions for how to do so tell me to choose the options feature from the tools drop down menu, then to click on "privacy" and check a certain box that would enable cookies.
-
Was not able to stop the listener
Hi All, As a part of shut down I stopped the application tier and Database and Then when I was trying to stop Listener I was getting the below error. LSNRCTL> show log_file Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) TNS-12541: TNS:no li
-
F4 search-help in infoset query selection-screen fields
Hi all, I created an infoset, and it's corresponding query, and now I need to associate F4 search-help in two of the selection-screen fields. Since they don't have any reference field associated (they are SAP standard table fields), there are no poss
-
Duplicate fbpanel systemmenu entries [SOLVED]
Hi, I recently decided to try out fbpanel with my openbox desktop. However, now I have duplicate menu entries in my menu (the 'star' icon in fbpanel), I believe in my 'systemmenu' part of the menu. How does fbpanel decide what to put in the systemmen
-
I have downloaded Adobe Acrobat XI from my university download site (so I know it's a legit, safe copy). When I run the .exe file, even as an administrator, it begins to extract using WinRAR self-extracting archive and stops with a pop-up error: "Wi