Extracting SOE details in XML format
Do we have any seeded concurrent program through which we can extract the SOE details(how we get in Payslip) in XML format for US legislation in R12 ?
I searched in metalink and saw few clients have placed enhancement request to this. Is it available in R12 or is it yet to come ?
Hi Robb,
I'm afraid for data you will be limited to either custom code or potentially ODI in conjunction with the XML driver. A little review of the XML driver doesn't make it obvious that it would support writing the data to an XML format -- it does seem to support writing schema setup to XML.
If you write custom code you may want to look at Apache Xerces at: http://xerces.apache.org/
Anyone else?
Regards,
John A. Booth
http://www.metavero.com
Similar Messages
-
How to generate Campaign details in XML format for sending to downstream sy
Dear gurus,
we have a requirement to send the Campaign details from CRM to some Downstream system in the XML format through PI interfaces. We want to include the following campaign details in the structure.
<SAPTOAL DATE="03-MAR-2011" TIME="13:25pm">
<CAMPAIGN>
<ID></ID>
<NAME></NAME>
<RUNDATE></RUNDATE>
<RUNTIME></RUNTIME>
<STARTDATE></STARTDATE>
<ENDDATE></ENDDATE>
<RECORDCOUNT></RECORDCOUNT>
</CAMPAIGN>
<TARGETGROUP>
<ID></ID>
<NAME></NAME>
</TARGETGROUP>
<BUSINESSPARTNERS>
<BUSINESSPARTNER>
<ID>001</ID>
<TARGETGROUPID></TARGETGROUPID>
<FIRSTNAME></FIRSTNAME>
<LASTNAME></LASTNAME>
<TITLE></TITLE>
<SUFFIX></SUFFIX>
<EMAIL></EMAIL>
<REPFIRSTNAME></REPFIRSTNAME>
<REPLASTNAME></REPLASTNAME>
<REPPHONE></REPPHONE>
<REPSIGNATUREURL></REPSIGNATUREURL>
<REPPICTUREURL></REPPICTUREURL>
<REPEMAIL></REPEMAIL>
</BUSINESSPARTNER>
<BUSINESSPARTNER>
<ID>002</ID>
<TARGETGROUPID></TARGETGROUPID>
<FIRSTNAME></FIRSTNAME>
<LASTNAME></LASTNAME>
<TITLE></TITLE>
<SUFFIX></SUFFIX>
<EMAIL></EMAIL>
<REPFIRSTNAME></REPFIRSTNAME>
<REPLASTNAME></REPLASTNAME>
<REPPHONE></REPPHONE>
<REPSIGNATUREURL></REPSIGNATUREURL>
<REPPICTUREURL></REPPICTUREURL>
<REPEMAIL></REPEMAIL>
</BUSINESSPARTNER>
</BUSINESSPARTNERS>
</SAPTOAL>
We have already tried the following things in SPRO.
CRM --> Marketing --> Marketing Planning and Campaign Management --> Campaign Execution --> Define File Export Variants
But with this we were not able to get the full XML structure, as required above. We got only this much.
<?xml version="1.0" encoding="utf-8" ?>
<DATA>
<ITEM>
<Field_1>Test Email.</Field_1>
<Field_2>Test Email.</Field_2>
<Field_3>ABC Company.</Field_31>
</ITEM>
</DATA>
Any pointers or help on this will he greatly appreciated.rgrds,
Randhir SoniHi Prabhu,
The program SAPFPAYM generates the payment Medium on the basis of your configuration and background settings, this program does not bydefault give the output in the XML.
Varient creation for the PMW in T. Code OBPM4, use the same program, which i already done it, even without this it is not be possible to create any payment Medium.
Regards,
Rony -
Idoc is recieved as xml format instead of text format
hi i am new to XI , I am right now i am trying with Idoc to file scenario
i am sending idoc from an R/3 system and i am receiving it as file in another R/3 system. In accordance to that i have designed & configured all settings, But when i am sending idoc thru my communication channel i am able view a '" *.txt " file with all my necessary details in xml format instead of text format.
desin details
my source and target fields are
FLCUSTOMER_CREATEFROMDATA idoc to the file which as the only few important fields of idoc.
configuration details
in communication cahnnel :
adapter type : file
message protocol: file
processing parameters:
constructution mode : create
file type : binary
advance mode
row.fieldNames : with its fields seperated buy comma
row.fieldSeparator : ,
row.endSeparator : 'nl'
i stuked up with this level for the past 10 days ur valuble suggestion will help me lot to reach my target
Regards
saravanakumar P.K.You have selected the wrong message protocol: to get an file not XML you should select File Content converion as message protocol
change it to folowing
configuration details
in communication cahnnel :
adapter type : file
message protocol: file content conversion
processing parameters:
constructution mode : create
file type : binary
advance mode
row.fieldNames : with its fields seperated buy comma dnt use this
row.fieldSeparator : ,
row.endSeparator : 'nl'
specify only field sepratator and endseparator dnt have to specify fielnames for receiver adapter in contant conversion. -
!!!URGENT!!!! -- Output Changes supplier details in an XML format
Hi all,
My platform is 11i Apps and 8i Database
I am really new to XML, however I have a requirment to achieve the following:
For updated or new suppliers, I need to output the new information in an XML format.
But, I am not sure how best to achieve this... can anyone offer me a some rough guidline where to begin.
Many thanks in advance
CheersPlease refer to the XSU document at:
http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/xsu/xsu_userguide.html -
Steps to send data from BI 7.0 to PI in XML format...
Hello everybody,
Can somebody share any direct link to a document or thread where I can find step by step details as to how to send data from BI 7.0 to PI in XML format?
I extracted data from ODS objects into CSV files through Open Hub Destination before, but need to know how to send same ODS data from BI to PI in XML format...
Thanks in advance.
~S.H.just an idea:
Maybe one way could be creating xml data via simple transformation or standard transformation in sap bw. After maybe there could create an inbound message in xi for getting the data.
I never done it, but I thought this could be a practice?
Hope there will be better comments for that problem, soon! -
Hi,
I'm having issues generating a BCP XML format file using a fairly unusual column terminator, a double dagger symbol
‡ (alt + 0135) which I need to support.
I'm experiencing this problem with bcp.exe for SQL2008 R2 and SQL2012.
If I run the following command line:
bcp MyDB.TMP.Test_Extract format nul -c -x -f "C:\BCP\format_file_dagger_test.xml" -T -S localhost\SQL2012 -t‡
I end up with a XML format file like so:
<?xml version="1.0"?>
<BCPFORMAT xmlns="http://schemas.microsoft.com/sqlserver/2004/bulkload/format" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RECORD>
<FIELD ID="1" xsi:type="CharTerm" TERMINATOR="ç" MAX_LENGTH="255" COLLATION="SQL_Latin1_General_CP1_CI_AS"/>
<FIELD ID="2" xsi:type="CharTerm" TERMINATOR="ç" MAX_LENGTH="50"
.. and so on.
You will notice that the TERMINATOR="ç" (Minuscule c-cedilla) is output instead of TERMINATOR="‡". The
ç character, is strangely enough is alt + 135 (and not alt + 0135) so this might more than a coincidence! I know you can specify the codepage but this switch applies the data being imported or extracted and not for the format file
itself (I tried it anyway).
In order to use the XML file to bulk import I manually did a text substitution of 'ç' character for '‡' and then BCP imports '‡' data fine.
This character swap doesn't occur if I generate a non XML format file (the '‡' character is output in the format file correctly) however, this file produces other import errors, which I don't encounter if I use a standard delimiter like a comma. So I have stuck
with the working XML format file which I prefer.
Does anyone know why this is happening? I'm planning to automate the generation the of the XML format file and would like to avoid the additional step of text substitution if possible.
Thank you.Hi Ham09,
According to your description , we do a test and find that the character of the terminator is changed due to the code page of Operation System. When you choose the different time zone in Data and Time bar, and do the same bcp test, you will find it will
export the different TERMINATOR in your XML format file. For example, you can import the character "ç" (alt + 135) in (UTC-12:00)International Date Line West time zone and (UTC+09:00)Osaka, Sapporo, Tokyo time zone, and check if the terminators are different.
By default, the field terminator is the tab character (represented as \t). To represent a paragraph mark, use \r\n.
For more information, there is detail about code page(Windows), you can review the following article.
http://msdn.microsoft.com/en-us/library/windows/desktop/dd317752(v=vs.85).aspx
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
How can I convert IDoc in XML format w/DTD into a string?
I want to send by e-mail outbound IDoc in XML format with its document type definition (DTD).
I want to be able to get the same output result into a string than the XML file IDoc port type with DTD activated. I have created a FM (based on SAP "OWN_FUNCTION") assigned to an IDoc port of type ABAP-PI that executes the following processing steps:
1-Extract outbound IDoc information to get the sender & recipient mail addresses (EDP13 / EDIPHONE tables).
2-Convert & Transform IDoc data into XML string using FM IDX_IDOC_TO_XML.
3-Prepare and send e-mail with XML attachement using FM SO_NEW_DOCUMENT_ATT_SEND_API1.
I cand generate the e-mail with the XML file attachement but FM IDX_IDOC_TO_XML does not convert the IDoc with proper formating and DTD.
What should I use to accomplish the IDoc conversion to XML w/DTD into a string?
Should I use XSLT tools ?
How does that work?
Thank you
Carlmuks wrote:
Use decimal string to number
Specifically, you can define a constant with a different datatype on the input on the lower left if you need a different datatype (e.g. U8, I64, DBL, etc) Are all your values integers or do you also need to scan fractional numbers? In this case, you should use "fract/exp string to number" instead.
LabVIEW Champion . Do more with less code and in less time . -
How to get the metadata (in xml format) of all the fileds in SQl query ?
Good day ,
I am using the dbms_xmlgen.getXMLfunction to get the result of any query in xml format.
With this XML I also want the metadata information about all the fields used in the query (passed to getXML function). Is it possible and how can I achieve this.
I tried to Google it but couldn't find any solution , it's easy to do it in java where I can get the resultset meta data from the resultset but I have to do it in Oracle function since I want the result in xml format and want to use the oracle XML API.
You may think why I need metadata , the reason is the application will later use this information to sort the data contained in these fields according to their data type provided to.
Regards
Sajjad Ahmed ParachaHi,
Please always say which version of Oracle you're using (SELECT * FROM v$version).
With this XML I also want the metadata information about all the fields used in the query (passed to getXML function). Is it possible and how can I achieve this.It is possible but with a bit of effort.
I would use DBMS_SQL utility to parse the query, extract each column's description and then build a METADATA element with the required information.
Here's an example (11g) :
DECLARE
v_query varchar2(30) := 'select * from scott.emp';
v_cur integer;
v_desc_tab dbms_sql.desc_tab;
v_col_cnt number;
v_col_lst varchar2(4000);
v_xml_query varchar2(32767);
xml_metadata_coll xmlsequencetype := xmlsequencetype();
xml_metadata xmltype;
res clob;
BEGIN
v_cur := dbms_sql.open_cursor;
dbms_sql.parse(v_cur, v_query, dbms_sql.native);
dbms_sql.describe_columns(v_cur, v_col_cnt, v_desc_tab);
dbms_sql.close_cursor(v_cur);
for i in 1 .. v_col_cnt loop
if i > 1 then
v_col_lst := v_col_lst || ', ';
end if;
v_col_lst := v_col_lst || v_desc_tab(i).col_name;
xml_metadata_coll.extend;
select xmlelement("COLUMN"
, xmlattributes(v_desc_tab(i).col_name as "name")
, xmlforest(
case v_desc_tab(i).col_type
when 1 then 'VARCHAR2'
when 2 then 'NUMBER'
when 12 then 'DATE'
when 180 then 'TIMESTAMP'
else 'UNKNOWN'
end as "DATATYPE"
, v_desc_tab(i).col_max_len as "MAX_LENGTH"
, v_desc_tab(i).col_precision as "PRECISION"
, v_desc_tab(i).col_scale as "SCALE"
into xml_metadata_coll(i)
from dual;
end loop;
v_xml_query :=
'SELECT XMLSerialize(document
XMLElement("ROOT"
, :1
, XMLElement("ROWSET"
, XMLAgg(
XMLElement("ROW", XMLForest(' || v_col_lst || '))
) as clob indent
FROM ( ' || v_query || ')';
select xmlelement("METADATA", xmlagg(column_value))
into xml_metadata
from table(xml_metadata_coll)
execute immediate v_xml_query into res using xml_metadata;
dbms_output.put_line(res);
END;
/Ouput :
<ROOT>
<METADATA>
<COLUMN name="EMPNO">
<DATATYPE>NUMBER</DATATYPE>
<MAX_LENGTH>22</MAX_LENGTH>
<PRECISION>4</PRECISION>
<SCALE>0</SCALE>
</COLUMN>
<COLUMN name="ENAME">
<DATATYPE>VARCHAR2</DATATYPE>
<MAX_LENGTH>10</MAX_LENGTH>
<PRECISION>0</PRECISION>
<SCALE>0</SCALE>
</COLUMN>
<COLUMN name="JOB">
<DATATYPE>VARCHAR2</DATATYPE>
<MAX_LENGTH>9</MAX_LENGTH>
<PRECISION>0</PRECISION>
<SCALE>0</SCALE>
</COLUMN>
<COLUMN name="MGR">
<DATATYPE>NUMBER</DATATYPE>
<MAX_LENGTH>22</MAX_LENGTH>
<PRECISION>4</PRECISION>
<SCALE>0</SCALE>
</COLUMN>
<COLUMN name="HIREDATE">
<DATATYPE>DATE</DATATYPE>
<MAX_LENGTH>7</MAX_LENGTH>
<PRECISION>0</PRECISION>
<SCALE>0</SCALE>
</COLUMN>
<COLUMN name="SAL">
<DATATYPE>NUMBER</DATATYPE>
<MAX_LENGTH>22</MAX_LENGTH>
<PRECISION>7</PRECISION>
<SCALE>2</SCALE>
</COLUMN>
<COLUMN name="COMM">
<DATATYPE>NUMBER</DATATYPE>
<MAX_LENGTH>22</MAX_LENGTH>
<PRECISION>7</PRECISION>
<SCALE>2</SCALE>
</COLUMN>
<COLUMN name="DEPTNO">
<DATATYPE>NUMBER</DATATYPE>
<MAX_LENGTH>22</MAX_LENGTH>
<PRECISION>2</PRECISION>
<SCALE>0</SCALE>
</COLUMN>
</METADATA>
<ROWSET>
<ROW>
<EMPNO>7369</EMPNO>
<ENAME>SMITH</ENAME>
<JOB>CLERK</JOB>
<MGR>7902</MGR>
<HIREDATE>1980-12-17</HIREDATE>
<SAL>800</SAL>
<DEPTNO>20</DEPTNO>
</ROW>
<ROW>
<EMPNO>7499</EMPNO>
<ENAME>ALLEN</ENAME>
<JOB>SALESMAN</JOB>
<MGR>7698</MGR>
<HIREDATE>1981-02-20</HIREDATE>
<SAL>1600</SAL>
<COMM>300</COMM>
<DEPTNO>30</DEPTNO>
</ROW>
<ROW>
<EMPNO>7521</EMPNO>
<ENAME>WARD</ENAME>
<JOB>SALESMAN</JOB>
<MGR>7698</MGR>
<HIREDATE>1981-02-22</HIREDATE>
<SAL>1250</SAL>
<COMM>500</COMM>
<DEPTNO>30</DEPTNO>
</ROW>
<ROW>
<EMPNO>7566</EMPNO>
<ENAME>JONES</ENAME>
<JOB>MANAGER</JOB>
<MGR>7839</MGR>
<HIREDATE>1981-04-02</HIREDATE>
<SAL>2975</SAL>
<DEPTNO>20</DEPTNO>
</ROW>
<ROW>
<EMPNO>7654</EMPNO>
<ENAME>MARTIN</ENAME>
<JOB>SALESMAN</JOB>
<MGR>7698</MGR>
<HIREDATE>1981-09-28</HIREDATE>
<SAL>1250</SAL>
<COMM>1400</COMM>
<DEPTNO>30</DEPTNO>
</ROW>
<ROW>
<EMPNO>7698</EMPNO>
<ENAME>BLAKE</ENAME>
<JOB>MANAGER</JOB>
<MGR>7839</MGR>
<HIREDATE>1981-05-01</HIREDATE>
<SAL>2850</SAL>
<DEPTNO>30</DEPTNO>
</ROW>
<ROW>
<EMPNO>7782</EMPNO>
<ENAME>CLARK</ENAME>
<JOB>MANAGER</JOB>
<MGR>7839</MGR>
<HIREDATE>1981-06-09</HIREDATE>
<SAL>2450</SAL>
<DEPTNO>10</DEPTNO>
</ROW>
<ROW>
<EMPNO>7839</EMPNO>
<ENAME>KING</ENAME>
<JOB>PRESIDENT</JOB>
<HIREDATE>1981-11-17</HIREDATE>
<SAL>5000</SAL>
<DEPTNO>10</DEPTNO>
</ROW>
<ROW>
<EMPNO>7844</EMPNO>
<ENAME>TURNER</ENAME>
<JOB>SALESMAN</JOB>
<MGR>7698</MGR>
<HIREDATE>1981-09-08</HIREDATE>
<SAL>1500</SAL>
<COMM>0</COMM>
<DEPTNO>30</DEPTNO>
</ROW>
<ROW>
<EMPNO>7900</EMPNO>
<ENAME>JAMES</ENAME>
<JOB>CLERK</JOB>
<MGR>7698</MGR>
<HIREDATE>1981-12-03</HIREDATE>
<SAL>950</SAL>
<DEPTNO>30</DEPTNO>
</ROW>
<ROW>
<EMPNO>7902</EMPNO>
<ENAME>FORD</ENAME>
<JOB>ANALYST</JOB>
<MGR>7566</MGR>
<HIREDATE>1981-12-03</HIREDATE>
<SAL>3000</SAL>
<DEPTNO>20</DEPTNO>
</ROW>
<ROW>
<EMPNO>7934</EMPNO>
<ENAME>MILLER</ENAME>
<JOB>CLERK</JOB>
<MGR>7782</MGR>
<HIREDATE>1982-01-23</HIREDATE>
<SAL>1300</SAL>
<DEPTNO>10</DEPTNO>
</ROW>
</ROWSET>
</ROOT>A couple of comments :
<li> I handle only four datatypes here (VARCHAR2, NUMBER, DATE, TIMESTAMP). Of course you can add more.
The list of Oracle Type Number is available here : http://docs.oracle.com/cd/E11882_01/server.112/e26088/sql_elements001.htm#i54330
Starting with 11g (not sure which release), DBMS_SQL package also declares these numbers through named constants.
<li> I don't use DBMS_XMLGEN in this example. Instead I rebuild the query using SQL/XML functions and the list of columns that's just been described. -
Oracle reports in xml format end with stat_low = 6 stat_high = 0
hi
i have a problem with my reports
i have oracle application 11.5.10.2 on linux 32 redhat 4 update 5
after apply the RUP 6
my character_set is :American_America.AR8MSWIN1256
base lang American
install lang ARABIC
when i generate the reports in xml format i get:
Inventory: Version : 11.5.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
ZMCINVTRREG1 module: ZMC Transaction Register Report
Current system time is 04-AUG-2009 14:32:30
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
P_BREAK_ID='1'
P_RPT_UOM='2'
P_ORG='223'
P_QTY_PRECISION='3'
P_GLCC_STRUCT_NUM='50289'
P_TXN_DATE_LO='2009/08/04 00:00:00'
P_TXN_DATE_HI='2009/08/04 00:00:00'
P_AUDIT_DETAIL='2'
P_REASON_DETAIL='2'
P_LOC_DETAIL='2'
P_CATEGORY_DETAIL='2'
P_SERIAL_DETAIL='2'
P_LOT_DETAIL='2'
P_CATG_SET_ID='1'
P_CATG_STRUCT_NUM='101'
-- Start of Reports Command --
ar60runb
P_CONC_REQUEST_ID=373985
P_BREAK_ID='1'
P_RPT_UOM='2'
P_ORG='223'
P_QTY_PRECISION='3'
P_GLCC_STRUCT_NUM='50289'
P_TXN_DATE_LO='2009/08/04 00:00:00'
P_TXN_DATE_HI='2009/08/04 00:00:00'
P_AUDIT_DETAIL='2'
P_REASON_DETAIL='2'
P_LOC_DETAIL='2'
P_CATEGORY_DETAIL='2'
P_SERIAL_DETAIL='2'
P_LOT_DETAIL='2'
P_CATG_SET_ID='1'
P_CATG_STRUCT_NUM='101'
report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
batch=yes
destype=file
desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
desformat=XML
-- End of Reports Command --
Request language is :
AMERICAN
Request territory is :
AMERICA
XML_REPORTS_XENVIRONMENT is set to:
/oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
Enabling XML_REPORTS_ENVIRONMENT based environment switching
The Character-Set of the System is:
AR8MSWIN1256
Environment will now switch to UTF-8 code-set.
Parts of this log file may not display correctly
as a result. This is an expected behavior.
Converting parameters to UTF-8
-- Start of Reports Command Converted to UTF-8 --
ar60runb
P_CONC_REQUEST_ID=373985
P_BREAK_ID='1'
P_RPT_UOM='2'
P_ORG='223'
P_QTY_PRECISION='3'
P_GLCC_STRUCT_NUM='50289'
P_TXN_DATE_LO='2009/08/04 00:00:00'
P_TXN_DATE_HI='2009/08/04 00:00:00'
P_AUDIT_DETAIL='2'
P_REASON_DETAIL='2'
P_LOC_DETAIL='2'
P_CATEGORY_DETAIL='2'
P_SERIAL_DETAIL='2'
P_LOT_DETAIL='2'
P_CATG_SET_ID='1'
P_CATG_STRUCT_NUM='101'
report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
batch=yes
destype=file
desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
desformat=XML
-- End of Reports Command --
XML_REPORTS_XENVIRONMENT is :
/oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
XENVIRONMENT is set to /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
Previous NLS_LANG Environment Variable was :
American_America.AR8MSWIN1256
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
stat_low = 6
stat_high = 0
emsg:was terminated by signal 6
*** glibc detected *** double free or corruption (!prev): 0x08bf6a78 ***
Report Builder: Release 6.0.8.25.0 - Production on Tue Aug 4 14:32:30 2009
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter Username:
Reset original NLS_LANG in environment as :
American_America.AR8MSWIN1256
Program was terminated by signal 6
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 373985.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
------------- 1) PUBLISH -------------
Beginning post-processing of request 373985 on node APPS at 04-AUG-2009 14:32:37.
Post-processing of request 373985 completed at 04-AUG-2009 14:32:38.
Finished executing request completion options.
Concurrent request completed
Current system time is 04-AUG-2009 14:32:38
can any one help me with it????hi,,,
it seems OS package version conflict
Please check glibc and openmotif version (its responsible for reports)
and
Set the environment variable MALLOC_CHECK_=0 and bounce the Concurrent Managers
MALLOC_CHECK_ can be changed in two places :-
1. Add this to the $APPL_TOP/custom<TWO_TASK>_<HOSTNAME>.env
MALLOC_CHECK_=0
Then restart the concurrent managers and retest
2. Change it in the adovars.env file
Again bounce the concurrent managers and retest
THANKS (ZzZ)
Edited by: zzz on Aug 5, 2009 8:59 AM
Edited by: ZzZ on Aug 5, 2009 9:00 AM -
Legacy data(mapping to be done by xi (in xml format)) to sap using idoc .
hi all,
I need to work in an object in which requirement is like , the source data is directly extracted from legacy and input file is made. now i need to create an interface program which will be used to create purchase req. in weekly basis. now according to functional specification xi team will map the source data in xml format and then through idoc data is to be pushed into sap. i am confused about the step by step senario from source data to final pr creation . please clarify if somebody had worked on this kind of situation.Hi i encounter like this but in SD side,
from legacy ->XI -> SAP (create SO)
then from created SO via IDOC my requirement is to post delivery then billing.
I think in your case the PR is already created and to be process to PO.. better check and fully understand the flow with your team. -
Using XSLT to extract value of a XML node with namespace
I have a XML source code here.
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:job="http://www.pageuppeople.com">
<channel>
<title>SMH Jobs</title>
<link>internalrecruitment.smhgroup.com.au/jobsrss.ashx?stp=di</link>
<description>A listing of jobs available here</description>
<item>
<title>eCommerce Optimisation Advisor</title>
<description>A new and exciting opportunity exists for an experienced eCommerce Advisor to join</description>
<job:location PUReferenceID="3711">Sydney - Inner Suburbs & CBD</job:location>
</item>
</channel>
</rss>
I want to use XSLT to extract value of a XML node with namespace <job:location>, and the returned value should be string 'Sydney - Inner Suburbs & CBD'. I tried a few XSL code below, but failed with error or nothing was returned.
<xsl:value-of select="job:location" disable-output-escaping="yes"/>
<xsl:value-of select="job/location" disable-output-escaping="yes"/>
<xsl:value-of select="job\location" disable-output-escaping="yes"/>
<xsl:value-of select="location" disable-output-escaping="yes"/>
This might be an easy question for you, but I would appreciate if anyone can help.Hi Suncorp IT Learner,
We need to tell the XSLT that some elements are in another namespace. Copy the xmls declarations for the prefixes you need to use. Then use the xsl format as:
<xsl: value-of select=”job:location/@PUReferenceID”/>
In following issue, Chriztian has a good explanation:
http://our.umbraco.org/forum/developers/xslt/33353-XSLT-reading-XML-attribute-value
Thanks,
Qiao Wei
TechNet Community Support -
Ack file date and time format is same as in source xml format
Hi...All,
1) my scenario is file-rfc-file using BPM,
we are getting file in xml format from source along with timestamp and this data will be going to R/3 and the acknowledgement (success or failure) file will be sending back to source system.
in this sceneario we have to fulfill in the follwing client requirement
File1.<same File1 date and time>.XML
Is it possible to make it as the following? if it is possible
could u please let me know how to fulfill the follwing requirement.
ACK File1.<same File1 date and time>.XML
Where <same File1 date and time> format = u2018YYYYMMDDhhmmssu2019 .
2) Is the XML file name visible in the SAP-XI monitoring screen and will it help to trace the messages?
thanks in advance,
Pasi.Hi,
I didnot under stand your first question coulf you be more specfic.
2. Ans : In general , we will follow the below steps
--First we we check for the file is picked or no, if not see the Sender side CC parameters like mode and path details
--If file was picked then we need to check whether we are using the File content conversion parameters or not if yes we need to check the FCC parameters ,
Goto RWB-Channelmonitoring by the following link
http://host:port/mdt/channelmonitorservlet
select the sender side CC name and check for errors
If no errors in above, goto SXMB_MONI for Integration Engine xml processing , check for successful or error occured black or red color
--if success in SXMB_MONI then we need to check in RWB as above channel monitor now select the receiver side CC
If no errors then check for output file is placed intarget or not
Please reward points if it helps
Thanks
Vikranth -
Send Idoc to URL in XML format
Dear All
We are working on SAP ECC6 version. Where my customers requirement is send an idoc
Which contains dispatch details to there customer on URL (HTTP) in XML format
Plz suggest how to send an Idoc to URL.
Regards
ArunHi Arun,
Check this links
[idoc|http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm]
[Port Creation|http://wiki.sdn.sap.com/wiki/display/XI/StepbyStepprocessforsendingCustomerorVendorMasterDatafromECCsystemtoanexternalsystemmysqldatabasethroughSAPProcess+Integration]
Regards,
Madhu. -
Unable to load the package as XML because of package does not have a valid XML format
I have SSIS package and I would like to let SQL Server Agent Job to run it.
However I get Unable to load the package as XML because of package does not have a valid XML format
What could be wrong?
Kenny_IHi Kenny,
What's the version of your SSIS? Please refer to the following methods to solve this issue:
Hard code the path of SQL Server 2008's DTEXEC while calling the SSIS package as shown below:
C:\Program Files\Microsoft SQL Server\100\DTS\Binn\DTEXEC.exe /F "D:\MyFolder\MyPackage.dtsx"
Rename the old exe in the 2005 path to a different name (Example:- C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTEXEC_Old.exe)
Go to PATH environmental variable and edit it in such a way that "C:\Program Files\Microsoft SQL Server\100\DTS\Binn" path appears well before the "C:\Program Files\Microsoft SQL Server\90\DTS\Binn" path.
For more detail information, please refer to the blog below:
Failed to open package file due to error 0x80070020. The process cannot access the file because it is being used by another process. This happens when loading a package and the file cannot be opened or loaded correctly into the XML document:
http://blogs.msdn.com/b/ramoji/archive/2009/08/28/failed-to-open-package-file-due-to-error-0x80070020-the-process-cannot-access-the-file-because-it-is-being-used-by-another-process-this-happens-when-loading-a-package-and-the-file-cannot-be-opened-or-loaded-correctly-into-the.aspx
A similar thread about this topic for your reference:
http://social.technet.microsoft.com/Forums/en-US/b2987df5-8c9b-4797-bdce-b9ec308731f6/i-am-getting-error-when-running-ssis-package-using-sql-server-agent-error-description-is-unable-to?forum=sqlintegrationservices
If you have any feedback on our support, please click
here.
Elvis Long
TechNet Community Support -
Can a ibot send report in xml format? is it possible?
Hi,
When you choose an analysis and want to schedule it you have several option in the drop down menu; however, I have a requirement where I would need to send out the report in an XML format. Is that doable?
Thanks in advance for your response.Hi SaichandVaranasi,
Well, I need it as the report needs to be scheduled and sent out to a client via email; They use the xml to extract data from us.
As far as getting the static data to show the xml file, it is not working or may be i am unclear on this.
I have enabled the report links and from export i am able to get the xml file generated. Now if i copy the link of the xml output it points to my c drive. (C:\Users\username\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\CCQABWMX\FX_SEF[3].xml)
Once i paste this link to a static view it does not generate the xml view.
in addition even this link is to work, how would it take in the dynamic variable for each day for example where the date range will be changing.
Am i doing it wrong?
Thanks for your suggestion btw.
Maybe you are looking for
-
Text wrap options are greyed out
Hi, I am trying to create a "drop cap" by selecting a text box and changing the wrap options in the inspector however, the "object placement" options to wrap the text are greyed out and I can not change them, except for the options below, such as "ob
-
Error when trying to create (print) a page from a web-based program
When trying to print a web page as a pdf document (i.e., via the Distiller in Acrobat 9 Pro) I get the following error message: %%[ ProductName: Distiller ]%% 48ofgdu not found, using Courier. %%[ Error: invalidfont; OffendingCommand: xshow ]%% Stack
-
My hp office jet 6600 keeps saying the pinhead is missing
I installed new print cartridges but cannot get my HP Office 6600 wireless printer to print. It keeps saying the pinhead is missing. I have turned the printer on and off several times. The show me button does not work. Please help me! What shoul
-
Error log: mod_rewrite & mod_jk: could not init JK log lock in child
I am getting a lot of the below errors repeatably in my error_log. Can anyone help me to identify why, how I can identify what's causing them, and how to resolve them, please. [Fri Sep 26 10:03:33 2008] [crit] (2)No such file or directory: mod_rewrit
-
What do I do to make my PDF file that we want to use as an e-book on our website have Bookmarks? I have never done this before. I know we can add the e-book to oursite and then charge a fee to open it, but how do we bookmark the pages or selections