cancel
Showing results for 
Search instead for 
Did you mean: 

error message is 'TYPE' is not a component of data object 'PAYLOAD'.

Former Member
0 Kudos

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,

Sharada

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

Patch your system. This is a very old, known bug.

Regards

Stefan

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Check the Container Element you have created for the RFC response in the BPM. Does it contain the element Type?

Make sure that the Datatype is of the correct format. Try to use the XPATH expression in the Switch step to select the corrresponding node.

Regards

Bhavesh

Former Member
0 Kudos

check wheather ur BAPI response has Type field in it or not. use container variables to assign the value the container variable.

Former Member
0 Kudos

Thanks 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>