Data in Payload
Dear All
I have to retrieve a perticular value of a field (say MATNR) from an IDOC MATMAS to the user.
I know that this value is stored in the payload of the message. How can I retrieve this value
Hi Sourabh,
Its very easy to find the program name of a transaction.
When you are on any transaction, simply Goto System-->Status, the name of the program is in the Field 'Program'.
For WE09, the program name is RSEIDOC9.
regards,
Advait
Similar Messages
-
Error message is 'TYPE' is not a component of data object 'PAYLOAD'.
Hello,
I have sceanrio where file->Synchronus bapi ->File.
For this I have defined a bpm.
Text file inut will be read and converted using sender FCC.
Bpm will call a synchronus bapi from r/3 and collect response. I need to create a success or error response file from the status of bapi response. I have used switch step to do that.
But here when I give condtion as this XPath SOResonse./p1:Z_BAPI_SALESORDER_CREATEFROM3.Response/RETURN1/TYPE = S, SXI_CACHE gives status of bpm as 99 and error message is 'TYPE' is not a component of data object 'PAYLOAD'.
At the same time if i just put a condition of simple type container variable (SuccessCounter = 0), it gives status 0 in SXI_CACHE.
Pl can anyone suggest on this as its urgent.
thanks in advance,
SharadaThanks for quick response.
Yes BAPI response has TYPE field.
Pl cehck this response xml
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:Z_BAPI_SALESORDER_CREATEFROM3.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <RETURN1>
<TYPE>E</TYPE>
<ID>V4</ID>
<NUMBER>115</NUMBER>
<MESSAGE>Purchase order number in document number: 304928 already exists</MESSAGE>
<LOG_NO />
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1>304928</MESSAGE_V1>
<MESSAGE_V2 />
<MESSAGE_V3 />
<MESSAGE_V4 />
<PARAMETER>SALES_HEADER_IN</PARAMETER>
<ROW>0</ROW>
<FIELD />
<SYSTEM>DEV200</SYSTEM>
</RETURN1>
<SALESDOCUMENT />
- <EXTENSIONIN>
- <item>
<STRUCTURE>BAPE_VBAK</STRUCTURE>
<VALUEPART1>X</VALUEPART1>
<VALUEPART2 />
<VALUEPART3 />
<VALUEPART4 />
</item>
</EXTENSIONIN>
<ORDER_CCARD />
<ORDER_CFGS_BLOB />
<ORDER_CFGS_INST />
<ORDER_CFGS_PART_OF />
<ORDER_CFGS_REF />
<ORDER_CFGS_REFINST />
<ORDER_CFGS_VALUE />
<ORDER_CFGS_VK />
<ORDER_CONDITIONS_IN />
<ORDER_CONDITIONS_INX />
<ORDER_ITEMS_IN />
<ORDER_ITEMS_INX />
- <ORDER_KEYS>
- <item>
<REFOBJTYP />
<REFOBJECT>HEADER</REFOBJECT>
<REFOBJKEY />
<REFLOGSYS />
<DOC_NUMBER />
<ITM_NUMBER>000000</ITM_NUMBER>
<SCHED_LIN>0000</SCHED_LIN>
<COND_NO />
<CONDITEMNO>000000</CONDITEMNO>
<COND_ST_NO>000</COND_ST_NO>
<COND_COUNT>00</COND_COUNT>
<COND_TYPE />
<STATUS />
<TINDEX>000000</TINDEX>
<ADDRESS />
<ABRLI>0000</ABRLI>
<ABART />
</item>
- <item>
<REFOBJTYP />
<REFOBJECT>ADDRESS</REFOBJECT>
<REFOBJKEY />
<REFLOGSYS />
<DOC_NUMBER />
<ITM_NUMBER>000000</ITM_NUMBER>
<SCHED_LIN>0000</SCHED_LIN>
<COND_NO />
<CONDITEMNO>000000</CONDITEMNO>
<COND_ST_NO>000</COND_ST_NO>
<COND_COUNT>00</COND_COUNT>
<COND_TYPE />
<STATUS />
<TINDEX>000001</TINDEX>
<ADDRESS />
<ABRLI>0000</ABRLI>
<ABART />
</item>
- <item>
<REFOBJTYP />
<REFOBJECT>ADDRESS</REFOBJECT>
<REFOBJKEY />
<REFLOGSYS />
<DOC_NUMBER />
<ITM_NUMBER>000000</ITM_NUMBER>
<SCHED_LIN>0000</SCHED_LIN>
<COND_NO />
<CONDITEMNO>000000</CONDITEMNO>
<COND_ST_NO>000</COND_ST_NO>
<COND_COUNT>00</COND_COUNT>
<COND_TYPE />
<STATUS />
<TINDEX>000002</TINDEX>
<ADDRESS />
<ABRLI>0000</ABRLI>
<ABART />
</item>
- <item>
<REFOBJTYP />
<REFOBJECT>ADDRESS</REFOBJECT>
<REFOBJKEY />
<REFLOGSYS />
<DOC_NUMBER />
<ITM_NUMBER>000000</ITM_NUMBER>
<SCHED_LIN>0000</SCHED_LIN>
<COND_NO />
<CONDITEMNO>000000</CONDITEMNO>
<COND_ST_NO>000</COND_ST_NO>
<COND_COUNT>00</COND_COUNT>
<COND_TYPE />
<STATUS />
<TINDEX>000003</TINDEX>
<ADDRESS />
<ABRLI>0000</ABRLI>
<ABART />
</item>
- <item>
<REFOBJTYP />
<REFOBJECT>ADDRESS</REFOBJECT>
<REFOBJKEY />
<REFLOGSYS />
<DOC_NUMBER />
<ITM_NUMBER>000000</ITM_NUMBER>
<SCHED_LIN>0000</SCHED_LIN>
<COND_NO />
<CONDITEMNO>000000</CONDITEMNO>
<COND_ST_NO>000</COND_ST_NO>
<COND_COUNT>00</COND_COUNT>
<COND_TYPE />
<STATUS />
<TINDEX>000004</TINDEX>
<ADDRESS />
<ABRLI>0000</ABRLI>
<ABART />
</item>
</ORDER_KEYS>
- <ORDER_PARTNERS>
- <item>
<PARTN_ROLE>RE</PARTN_ROLE>
<PARTN_NUMB>LS-RETAIL</PARTN_NUMB>
<ITM_NUMBER>000000</ITM_NUMBER>
<TITLE />
<NAME />
<NAME_2 />
<NAME_3 />
<NAME_4 />
<STREET />
<COUNTRY />
<COUNTR_ISO />
<POSTL_CODE />
<POBX_PCD />
<POBX_CTY />
<CITY />
<DISTRICT />
<REGION />
<PO_BOX />
<TELEPHONE />
<TELEPHONE2 />
<TELEBOX />
<FAX_NUMBER />
<TELETEX_NO />
<TELEX_NO />
<LANGU />
<LANGU_ISO />
<UNLOAD_PT />
<TRANSPZONE />
<TAXJURCODE />
<ADDRESS />
<PRIV_ADDR />
<ADDR_TYPE />
<ADDR_ORIG />
<ADDR_LINK>0001</ADDR_LINK>
<REFOBJTYPE />
<REFOBJKEY />
<REFLOGSYS />
</item>
- <item>
<PARTN_ROLE>WE</PARTN_ROLE>
<PARTN_NUMB>LS-RETAIL</PARTN_NUMB>
<ITM_NUMBER>000000</ITM_NUMBER>
<TITLE />
<NAME />
<NAME_2 />
<NAME_3 />
<NAME_4 />
<STREET />
<COUNTRY />
<COUNTR_ISO />
<POSTL_CODE />
<POBX_PCD />
<POBX_CTY />
<CITY />
<DISTRICT />
<REGION />
<PO_BOX />
<TELEPHONE />
<TELEPHONE2 />
<TELEBOX />
<FAX_NUMBER />
<TELETEX_NO />
<TELEX_NO />
<LANGU />
<LANGU_ISO />
<UNLOAD_PT />
<TRANSPZONE />
<TAXJURCODE />
<ADDRESS />
<PRIV_ADDR />
<ADDR_TYPE />
<ADDR_ORIG />
<ADDR_LINK>0002</ADDR_LINK>
<REFOBJTYPE />
<REFOBJKEY />
<REFLOGSYS />
</item>
- <item>
<PARTN_ROLE>Z1</PARTN_ROLE>
<PARTN_NUMB>LS-RETAIL</PARTN_NUMB>
<ITM_NUMBER>000000</ITM_NUMBER>
<TITLE />
<NAME />
<NAME_2 />
<NAME_3 />
<NAME_4 />
<STREET />
<COUNTRY />
<COUNTR_ISO />
<POSTL_CODE />
<POBX_PCD />
<POBX_CTY />
<CITY />
<DISTRICT />
<REGION />
<PO_BOX />
<TELEPHONE />
<TELEPHONE2 />
<TELEBOX />
<FAX_NUMBER />
<TELETEX_NO />
<TELEX_NO />
<LANGU />
<LANGU_ISO />
<UNLOAD_PT />
<TRANSPZONE />
<TAXJURCODE />
<ADDRESS />
<PRIV_ADDR />
<ADDR_TYPE />
<ADDR_ORIG />
<ADDR_LINK>0003</ADDR_LINK>
<REFOBJTYPE />
<REFOBJKEY />
<REFLOGSYS />
</item>
- <item>
<PARTN_ROLE>AG</PARTN_ROLE>
<PARTN_NUMB>LS-RETAIL</PARTN_NUMB>
<ITM_NUMBER>000000</ITM_NUMBER>
<TITLE />
<NAME />
<NAME_2 />
<NAME_3 />
<NAME_4 />
<STREET />
<COUNTRY />
<COUNTR_ISO />
<POSTL_CODE />
<POBX_PCD />
<POBX_CTY />
<CITY />
<DISTRICT />
<REGION />
<PO_BOX />
<TELEPHONE />
<TELEPHONE2 />
<TELEBOX />
<FAX_NUMBER />
<TELETEX_NO />
<TELEX_NO />
<LANGU />
<LANGU_ISO />
<UNLOAD_PT />
<TRANSPZONE />
<TAXJURCODE />
<ADDRESS />
<PRIV_ADDR />
<ADDR_TYPE />
<ADDR_ORIG />
<ADDR_LINK />
<REFOBJTYPE />
<REFOBJKEY />
<REFLOGSYS />
</item>
</ORDER_PARTNERS>
<ORDER_SCHEDULES_IN />
<ORDER_SCHEDULES_INX />
- <ORDER_TEXT>
- <item>
<DOC_NUMBER />
<ITM_NUMBER>000020</ITM_NUMBER>
<TEXT_ID>Z001</TEXT_ID>
<LANGU>E</LANGU>
<LANGU_ISO />
<FORMAT_COL />
<TEXT_LINE />
<FUNCTION />
</item>
- <item>
<DOC_NUMBER />
<ITM_NUMBER>000030</ITM_NUMBER>
<TEXT_ID>Z001</TEXT_ID>
<LANGU>E</LANGU>
<LANGU_ISO />
<FORMAT_COL />
<TEXT_LINE />
<FUNCTION />
</item>
- <item>
<DOC_NUMBER />
<ITM_NUMBER>000040</ITM_NUMBER>
<TEXT_ID>Z001</TEXT_ID>
<LANGU>E</LANGU>
<LANGU_ISO />
<FORMAT_COL />
<TEXT_LINE />
<FUNCTION />
</item>
- <item>
<DOC_NUMBER />
<ITM_NUMBER>000050</ITM_NUMBER>
<TEXT_ID>Z001</TEXT_ID>
<LANGU>E</LANGU>
<LANGU_ISO />
<FORMAT_COL />
<TEXT_LINE />
<FUNCTION />
</item>
- <item>
<DOC_NUMBER />
<ITM_NUMBER>000020</ITM_NUMBER>
<TEXT_ID>Z001</TEXT_ID>
<LANGU>E</LANGU>
<LANGU_ISO />
<FORMAT_COL />
<TEXT_LINE />
<FUNCTION />
</item>
- <item>
<DOC_NUMBER />
<ITM_NUMBER>000030</ITM_NUMBER>
<TEXT_ID>Z001</TEXT_ID>
<LANGU>E</LANGU>
<LANGU_ISO />
<FORMAT_COL />
<TEXT_LINE />
<FUNCTION />
</item>
- <item>
<DOC_NUMBER />
<ITM_NUMBER>000040</ITM_NUMBER>
<TEXT_ID>Z001</TEXT_ID>
<LANGU>E</LANGU>
<LANGU_ISO />
<FORMAT_COL />
<TEXT_LINE />
<FUNCTION />
</item>
- <item>
<DOC_NUMBER />
<ITM_NUMBER>000050</ITM_NUMBER>
<TEXT_ID>Z001</TEXT_ID>
<LANGU>E</LANGU>
<LANGU_ISO />
<FORMAT_COL />
<TEXT_LINE />
<FUNCTION />
</item>
</ORDER_TEXT>
- <PARTNERADDRESSES>
- <item>
<ADDR_NO>0001</ADDR_NO>
<FORMOFADDR />
<NAME />
<NAME_2 />
<NAME_3 />
<NAME_4 />
<C_O_NAME />
<CITY />
<DISTRICT />
<CITY_NO />
<POSTL_COD1 />
<POSTL_COD2 />
<POSTL_COD3 />
<PO_BOX />
<PO_BOX_CIT />
<DELIV_DIS />
<STREET />
<STREET_NO />
<STR_ABBR />
<HOUSE_NO />
<STR_SUPPL1 />
<STR_SUPPL2 />
<LOCATION />
<BUILDING />
<FLOOR />
<ROOM_NO />
<COUNTRY />
<LANGU />
<REGION />
<SORT1 />
<SORT2 />
<TIME_ZONE />
<TAXJURCODE />
<ADR_NOTES />
<COMM_TYPE />
<TEL1_NUMBR />
<TEL1_EXT />
<FAX_NUMBER />
<FAX_EXTENS />
<STREET_LNG />
<DISTRCT_NO />
<CHCKSTATUS />
<PBOXCIT_NO />
<TRANSPZONE />
<HOUSE_NO2 />
<E_MAIL />
<STR_SUPPL3 />
<TITLE />
<COUNTRYISO />
<LANGU_ISO />
<BUILD_LONG />
<REGIOGROUP />
<HOME_CITY />
<HOMECITYNO />
<PCODE1_EXT />
<PCODE2_EXT />
<PCODE3_EXT />
<PO_W_O_NO />
<PO_BOX_REG />
<POBOX_CTRY />
<PO_CTRYISO />
<HOMEPAGE />
<DONT_USE_S />
<DONT_USE_P />
<HOUSE_NO3 />
<LANGU_CR />
<LANGUCRISO />
</item>
- <item>
<ADDR_NO>0002</ADDR_NO>
<FORMOFADDR />
<NAME>SUPERIOR SELECTED STONE</NAME>
<NAME_2 />
<NAME_3>33-53 10TH STREET</NAME_3>
<NAME_4 />
<C_O_NAME />
<CITY />
<DISTRICT />
<CITY_NO />
<POSTL_COD1 />
<POSTL_COD2 />
<POSTL_COD3 />
<PO_BOX />
<PO_BOX_CIT />
<DELIV_DIS />
<STREET />
<STREET_NO />
<STR_ABBR />
<HOUSE_NO />
<STR_SUPPL1 />
<STR_SUPPL2 />
<LOCATION />
<BUILDING />
<FLOOR />
<ROOM_NO />
<COUNTRY />
<LANGU />
<REGION />
<SORT1 />
<SORT2 />
<TIME_ZONE />
<TAXJURCODE />
<ADR_NOTES />
<COMM_TYPE />
<TEL1_NUMBR />
<TEL1_EXT />
<FAX_NUMBER />
<FAX_EXTENS />
<STREET_LNG />
<DISTRCT_NO />
<CHCKSTATUS />
<PBOXCIT_NO />
<TRANSPZONE />
<HOUSE_NO2 />
<E_MAIL />
<STR_SUPPL3 />
<TITLE />
<COUNTRYISO />
<LANGU_ISO />
<BUILD_LONG />
<REGIOGROUP />
<HOME_CITY />
<HOMECITYNO />
<PCODE1_EXT />
<PCODE2_EXT />
<PCODE3_EXT />
<PO_W_O_NO />
<PO_BOX_REG />
<POBOX_CTRY />
<PO_CTRYISO />
<HOMEPAGE />
<DONT_USE_S />
<DONT_USE_P />
<HOUSE_NO3 />
<LANGU_CR />
<LANGUCRISO />
</item>
- <item>
<ADDR_NO>0003</ADDR_NO>
<FORMOFADDR />
<NAME>Langenscheidt Publishers Inc.</NAME>
<NAME_2 />
<NAME_3 />
<NAME_4 />
<C_O_NAME />
<CITY />
<DISTRICT />
<CITY_NO />
<POSTL_COD1 />
<POSTL_COD2 />
<POSTL_COD3 />
<PO_BOX />
<PO_BOX_CIT />
<DELIV_DIS />
<STREET />
<STREET_NO />
<STR_ABBR />
<HOUSE_NO />
<STR_SUPPL1 />
<STR_SUPPL2 />
<LOCATION />
<BUILDING />
<FLOOR />
<ROOM_NO />
<COUNTRY />
<LANGU />
<REGION />
<SORT1 />
<SORT2 />
<TIME_ZONE />
<TAXJURCODE />
<ADR_NOTES />
<COMM_TYPE />
<TEL1_NUMBR />
<TEL1_EXT />
<FAX_NUMBER />
<FAX_EXTENS />
<STREET_LNG />
<DISTRCT_NO />
<CHCKSTATUS />
<PBOXCIT_NO />
<TRANSPZONE />
<HOUSE_NO2 />
<E_MAIL />
<STR_SUPPL3 />
<TITLE />
<COUNTRYISO />
<LANGU_ISO />
<BUILD_LONG />
<REGIOGROUP />
<HOME_CITY />
<HOMECITYNO />
<PCODE1_EXT />
<PCODE2_EXT />
<PCODE3_EXT />
<PO_W_O_NO />
<PO_BOX_REG />
<POBOX_CTRY />
<PO_CTRYISO />
<HOMEPAGE />
<DONT_USE_S />
<DONT_USE_P />
<HOUSE_NO3 />
<LANGU_CR />
<LANGUCRISO />
</item>
</PARTNERADDRESSES>
- <RETURN>
- <item>
<TYPE>E</TYPE>
<ID>V4</ID>
<NUMBER>115</NUMBER>
<MESSAGE>Purchase order number in document number: 304928 already exists</MESSAGE>
<LOG_NO />
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1>304928</MESSAGE_V1>
<MESSAGE_V2 />
<MESSAGE_V3 />
<MESSAGE_V4 />
<PARAMETER>SALES_HEADER_IN</PARAMETER>
<ROW>0</ROW>
<FIELD />
<SYSTEM>DEV200</SYSTEM>
</item>
- <item>
<TYPE>E</TYPE>
<ID>V4</ID>
<NUMBER>219</NUMBER>
<MESSAGE>Sales document was not changed</MESSAGE>
<LOG_NO />
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1 />
<MESSAGE_V2 />
<MESSAGE_V3 />
<MESSAGE_V4 />
<PARAMETER />
<ROW>0</ROW>
<FIELD />
<SYSTEM>DEV200</SYSTEM>
</item>
</RETURN>
</rfc:Z_BAPI_SALESORDER_CREATEFROM3.Response> -
File Receiver - Dynamically create filename from data in payload
Hi there.
Can anyone tell me the approach I need to take to be able to use the data in one field to determine the filename in the file receiver adaptor.
I have a requirement that requires that I save a file with the following mask:
xxxx_xxx<b><date extracted from field in payload></b>.csv
I would appreciate any help on this.
Thanks in advance.
Mick.Hi Mick,
you just need to use adapter specific parameters
and you will be able to set the name in your mapping
(from your payload)
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Data in payload out of sequence
Hi,
I have 10 fields between source and target but only 7 are mapped so other fields are optional and will need to be mapped later when necessary. Right now, the fields in the payloads are getting populated out of sequence. Meaning, if first field is 10 character and the data in the file for first first field is only coming with 7 chars, then the first field is taking additional 3 chars from the next field column in the data file. In the file adapter, I have simple configuration with Fields.fieldNames, Fields.lastFieldsOptional, Fields.fieldFixedLengths and Fields.fieldSeparator. How can I correct this? Do I need to make changes in the content conversion? Should I change the min-max length in data type or in the file adapter?Hi,
Thank you for your help and advice. Here is the structure and occurrences of source structure. The target structure is same as the source structure except that field 3 and field 7 are not sending any data so I have mapped constants in the target fields.
FieldNames_DT Complex Type null
Names1 Element 1 false
Fields Element 1 false
Field1 Element xsd:string 0..1 false minLength="0"; maxLength="5"
Field2 Element xsd:date 0..1 false
Field3 Element xsd:string 0..1 false minLength="0"; maxLength="4"
Field4 Element xsd:string 0..1 false minLength="0"; maxLength="4"
Field5 Element xsd:decimal 0..1 false totalDigits="10"; fractionDigits="2"
Field6 Element xsd:string 0..1 false minLength="0"; maxLength="10"
Field7 Element xsd:string 0..1 false minLength="0"; maxLength="8"
Field8 Element xsd:string 0..1 false minLength="0"; maxLength="2"
Field9 Element xsd:string 0..1 false minLength="0"; maxLength="1"
Field10 Element xsd:string 0..1 false minLength="0"; maxLength="2" -
Email Alert with data from payload SAP PI 7.0
Hi,
i have a requirement to send an email alert when a Purchase Order Transmission fails through PI. In the email i need to send PO number which had failed.
Format is:
Subject- PO # XXXXXXX failed to reach XXXTarget
in the mail content i need to mention the error and why the error occurred.
Please tell if this is possible in SAP PI 7.0 If yes then How?
Regards,
AshwaniHi,
If the message fails in in mapping, you can send the alert with PO number in the email. Steps would be following.
Catch the execpetion
Call RFC SALERT_CREATE by passing required parameters
You can also pass the PO number as one of the value which will can be used in you alert category
PO number can be used as one of the Alert container
But if the message fails in adapter engine you cannot send the PO number in the email. You can just send email with standard alert containers. -
We have cycle of material or vendor creation as given below.
New vendor/material creation on portal > Approve on portal > Check in MDM data manager > PI > Check ECC > Table Entry.
In many cases we have found Materials or vendors are reflecting in MDM after approval from portal but not going in ECC.
In some cases we have observed that PI_MDM sender adapter is picking up same file twice. The data contain payload are same in both messages.
While posting these messages in ECC 1st Idoc is successful in WE05 & 2nd is throwing error u201Cvendor is locked by user ABC (our own user ID)u201D
MDM adapter in PI server is occasionally picking same XML twice from MDM ready folder & tries to post both Idocs in ECC at same time, hence at ECC system gives an error.
Kindly suggest the solution.
Regards,
GAGPlease have a look at the Note 947081, Now on a broader level
this can be achieved by the Note mentioned above.
the hierarchy of what locale a component will be shown in the portal,
will be :
1)component- if he have a locale define
2) portal mandatory locale -
3)user locale
4)browser locale
5)Portal default locale
6) system locale
if you check on the prtDefault.properties file you will see
a line with : request.defaultcountry=us . on the hierarchy it is No 5.
on your Portal it determine to 'us', so you can make the change on this
level to uk , that way the default locale will take effect only if
the locale was not determine on a higher level.
and for your question : that way
afrench user will have a french locale. because the user locale locate
on a higher level on the hierarchy.
Hope the information will help you. -
Problem in 1toN message mapping,payload not populated but file created
I am doing 1:N multimapping From Proxy to File scenario .Proxy send three types of data all having same stucture but depending on the value of First field we split the whole stucture in 3 parts on target side and generating three files on taget side.During testing values get Passed from the SXMB_MONI(processed) and we get whole payload data upto
"Message Branch Acording to Reciever List" .But when i check payload data in 'Request Message Mapping" we donot get any data in Payload.Taget File is generated but when we try to oen the file I get message " Unable to display the File".
can any expert help me resolve this problem.I need to generate 3 files each having similar structures depending upon the first field 'listcode' values whose values are 'N0','MA','MY' coming in a proxy structure.The source structure is as follows::
MT_Source
>Detailrecord..0..unbounded
>listcode..0.1...xsd:string
>itemcode...0.1...xsd:string
>description1...0.1..xsd:string
>description2...0.1..xsd:string
The target stuctures are:
MT_Target_N0
>Detailrecord..0..unbounded
>listcode..0.1...xsd:string
>itemcode...0.1...xsd:string
>description1...0.1..xsd:string
>description2...0.1..xsd:string
MT_Target_MA
>Detailrecord..0..unbounded
>listcode..0.1...xsd:string
>itemcode...0.1...xsd:string
>description1...0.1..xsd:string
>description2...0.1..xsd:string
MT_Target_MY
>Detailrecord..0..unbounded
>listcode..0.1...xsd:string
>itemcode...0.1...xsd:string
>description1...0.1..xsd:string
>description2...0.1..xsd:string
I need to do mapping of such 1:n multimapping mapping.I have done mapping but getting error in moni "Split mapping created no messages".Please suggest me some right way to do mapping -
TO Get Ensuring Exactly Once Processing data from sender soap adapt
To XI Specialists
Now Im trying to get Ensuring Exactly Once Processing data from sender soap adapteter.
My plan is that send data from Receiver adapter, to Sender adapter by SOAP.
(1st interface is ABAP to Soap "BE", 2nd interface is Soap to File "EO")
Sender SOAP adapter will returun Ensuring Exactly Once Processing data.
(see SAP HELP, http://help.sap.com/saphelp_nw70/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm )
AND I want to get Ensuring Exactly Once Processing data, I want to determine what to do in ABAP proxy.
SO I made and tested 2interface. but error occuered.
I checked the error, and Now I know what is the cause.
The cause is that Ensuring Exactly Once Processing data didnt enter the payload, at Receiver Adapter.
1st interface coulnt get the payload data, so mapping error occuered....
Please give me help,
<b>"How to get Ensuring Exactly Once Processing data From Sender SOAP ADAPTER"</b>
or
<b>"How to enter Ensuring Exactly Once Processing data into Payload of Receiver SOAP ADAPTER"</b>
and more excelent way....
our XI is version7.0 and SP10
Please teach me your wisdom!
Naoki KuriharaI seeked and I noticed that
maybe I catched the message but the message dont have payload.
so I got no_payload error.
I checked SAP note.
I noticed, no_payload error will be managed to nomal message at SP13....
my XI is SP12....
I ll seek for another way!!
Thank you! noaki -
File to Mail Adapter but only payload no namespace
Hi SAP Guru's,
I want to know how to handle File to Mail interface with only payload in the text file.
I am only getting this in the file
ACK3|24052010095354|4BC8612A7A530073E100800024590A61|1005241738SPBC8612A7A5000|D0000018|SXI|75130|(INFO) File Sent|PAYMENTS
and I want to transform the structure like this to perform mapping otherwise mapping won't work.
<ns0:ContentContainer xmlns:ns0="http://s.com/xi/pa/10/lite">
<payload>ACK3|24052010095354|4BC8612A7A530073E100800024590A61|1005241738SPBC8612A7A5000|D0000018|SXI|75130|(INFO) File Sent|PAYMENTS</payload>
</ns0:ContentContainer>
I believe it is only possible through xslt but I don't to know how to use it.
Can somebody please help me to resolve this issue.
Thanks,
IqbalHi
You can use FCC in sender channel, with slight change in ur structure,
ns0:ContentContainer xmlns:ns0="http://s.com/xi/pa/10/lite">
*<data>*
<payload>ACK3|24052010095354|4BC8612A7A530073E100800024590A61|1005241738SPBC8612A7A5000|D0000018|SXI|75130|(INFO) File Sent|PAYMENTS</payload>
*</data>*
</ns0:ContentContainer>
Parameters
Record set str data,1
data.fieldNames payload
data.fieldSeparator 'nl'
Try it
Regards
Ramg -
We are having typical issue in RFC-PI integration.
SAP sending data to PI via RFC. For which we have imported the BAPI. When the data is send by SAP, it is coming to PI as truncated one. For eg First field SAP is of 8 char length internal table but it has value of only 5, than next 3 char are filed by second field and all all other fields become junk. like 5 from first + 3 from second..
We tried to recreate the mapping, re import BAPI, created all ID objects again, Stopped/deactivate the RFC channel ..etc... etc.. but nothing seems to be working and we are getting truncated/concatenated data in Payload in PI
Pls let me know if you have solution for this issue
ThanksIs your sender system unicode? If no, could you try to change the RFC destination in R/3 conecting to PI to unicode and try again.
Regards,
Prateek -
Hi all,
i have a requirement to send the inbound payload in the mail content when any error occurs in ABAP proxy. How can I achieve this?
Thanksare you looking for this
The following program fetches the payload for a request message independently of a proxy instance and returns it in the system:
DATA:
ls_request TYPE [Data type of output parameter],
lo_fault TYPE REF TO cx_ai_system_fault,
lo_payload_handler TYPE REF TO IF_WS_PAYLOAD_HANDLER,
lo_payload TYPE REF TO if_ws_payload,
lt_request_data TYPE PRX_T_PARAM,
ls_request_data TYPE PRX_S_PARAM.
lo_pointer TYPE REF TO xstring,
Fill request data
request-field1 = '[Value1]'.
request-field1 = '[Value1]'.
request-fieldN = '[ValueN]'.
Use payload handler to get payload independently
from proxy call:
TRY.
Get Payload handler for a proxy method.
Note: You have to provide the proxy and method name in uppercase.
lo_payload_handler = cl_proxy_access=>get_payload_handler(
proxy_name = 'CO_...'
proxy_method = 'EXECUTE_SYNCHRONOUS' ).
Pass request data to payload handler
CLEAR lt_request_data.
CLEAR ls_request_data.
ls_request_data-name = 'OUTPUT'.
GET REFERENCE OF request into ls_request_data-value.
append ls_request_data to lt_request_data.
lo_payload =
lo_payload_handler->get_payload_from_request_data(
lt_request_data).
Catch system faults
CATCH cx_ai_system_fault INTO lo_fault.
WRITE: / 'System fault'.
WRITE: / 'Code:', lo_fault->code.
WRITE: / 'Text:', lo_fault->errortext.
EXIT.
ENDTRY.
Show payload for test purposes
lo_pointer = lo_payload->get_xml_pointer( ).
cl_proxy_service=>show_xml_document( lo_pointer->* ).
<b>Check this</b>
/people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy
http://help.sap.com/saphelp_nw04/helpdata/en/31/6c5c3c3806af06e10000000a11402f/frameset.htm
2 xml documents in 1 payload
Thanks ! -
JDBC to RFC data is not showing in RFC palyoad
Hi,
I am doing JDBC to RFC scenario. I configured the scenario while i executed the scenario JDBC communication chennal i can see the payload and its picked the data orom Oracle.
when i check in SXMB_MONI message showing scucess and request for message mapping i can't see any data in payload.
I am tried to use the Test coniguration and its showing success and its connected to RFC but while running the scenario the data is not in payload.
RFC communication chennal also showing green and when i click the message in payload i could't see any data.
Pls help me on this
Thanks,
VenkatHi,
I have checked the sxmb_adm the Logging=1 and server restarted even the same msg.
I have checked the runtime workbench the msg showing success and when i click the details the payload is empty.
I have tested the scenario through ID with mapping
this is the payload from SXMB_MONI
<?xml version="1.0" encoding="utf-8" ?>
- <ns:mt_bc_tran_sender xmlns:ns="http://testxi.com/oracle/test">
- <row>
<SET_ID>6</SET_ID>
</row>
</ns:mt_bc_tran_sender>
Request message mapping
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:_-BIC_-CQZOMD_ZL00004000 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
- <DATA>
- </item>
</DATA>
</ns1:_-BIC_-CQZOMD_ZL00004000>
I have tested in message mapping and Interface mapping its working fine
Thanks,
Venkat. -
I am trying to merge multiple inputs within a loop and then merge them in a transformation step and then send the merged output.
I am getting an error <i>"Expression must return a multiline value"</i> because I assigned a multiline container to the source message of the transformation step. I made sure that occurances for the messages are 0..unbounded.
Has anyone faced this issue before?One more issue related to this scenario. As per SAP's pattern for "stop collect based on payload", the initial loop needs a condition based on the payload element.
My condition is
<i>(PurchaseOrder./p1:MT_PurchasOrderReq/TotalNumberOfMessages ≠ MsgCount)</i> similar to SAP BPM Pattern.
I don't get any error in IR or ID, but once the integration process is activated in ID, I see a return code of 99 for this integration process in SXI_CACHE. The Activation log error says <i>'TOTALNUMBEROFMESSAGES' is not a component of data object 'PAYLOAD'</i>
I get the same error if I import SAP's BpmPatternCollectPayload integration process in to ID and activate it.
If I change my condition to <i>(MsgCount ≠ 3)</i> then it works. Am I missing some kind settings? -
Hi All,
I am trying to do a scenario using CollectPayload Pattern. The pattern has to pick two files with same structure and do the processing.For that, I have given the value for condition as two in the payload. As expected the pattern picks the input files successfully. But in the output, i am getting only one file as output which has the data of first picked file. I thought it will generate two output files. (For two input files)
i also wrote a UDF for concatinating the two input values and assigning them to target, the output is single file with both input files data.
My questions is do we need to take care of merging the collected inputs to output or am i going wrong somewhere in the scenario?
Your suggestions will be very helpful for my learning.
Thanks & Regards,
Senthil.
Edited by: senthil Nathan on Jun 2, 2009 11:30 AMOne more issue related to this scenario. As per SAP's pattern for "stop collect based on payload", the initial loop needs a condition based on the payload element.
My condition is
<i>(PurchaseOrder./p1:MT_PurchasOrderReq/TotalNumberOfMessages ≠ MsgCount)</i> similar to SAP BPM Pattern.
I don't get any error in IR or ID, but once the integration process is activated in ID, I see a return code of 99 for this integration process in SXI_CACHE. The Activation log error says <i>'TOTALNUMBEROFMESSAGES' is not a component of data object 'PAYLOAD'</i>
I get the same error if I import SAP's BpmPatternCollectPayload integration process in to ID and activate it.
If I change my condition to <i>(MsgCount ≠ 3)</i> then it works. Am I missing some kind settings? -
OSB JCA Adapter - Enqueue - BLOB Oracle data type
Hi,
I am tring to enqueue a message into oracle advacned queue using JCA AQ adapter of OSB. The message in the Q has BLOB data type.
I used AQ Adapter enqueue operation for this, and an opaqueue schema in the adapter wsdl. I created a business service out of the adapter service and tested it using
OSB. I am able to enqueue, but then if i go and see in the data base payload the value of the BLOB column is JUNK... some funky values..
Any help on this. Appreciate your suggestions.This has been resolved
Maybe you are looking for
-
OS is Windows 7 I updated iTunes the other day and I decided to run "get album art" and instead of finding artwork, it made some of the artwork I already had show up as white squares, or disapear entirely. The ones that are white squares show up und
-
Dear All Pl let me know the process of changing "Loading date" and appering in Open Sales Order Report ( T Code VL10 ) Regards Ramesh Barve
-
I can usually print through the schools wifi using my laptop. Can i do the same using the iPad air? and if so how? Ive tried using the airprinter but it wouldnt load any printers. Usually I need to setup the printer through settings in my macbook. Ca
-
Creative Cloud window opens, but nothing is displayed.
I have tried uninstalling, cleaning, and reinstalling to no avail. The window allows me to select 3 options from the cog in the upper right hand corner of the window: help, pin, or quit. Any ideas of what i can do to fix this?
-
Bad performance with brandnew system
hello, i set up a completely new win7-64bit based on a fresh osx (snow-leopard update) on a fresh harddisk....and i have very bad 3d performance with only 3 (!!) programs installed. i am working with autodesk 3ds max and autocad and both run very slo