on 05-05-2009 5:38 PM
Hi all,
I would like to know connecting from SRM system to Punch out Catalog , do we require XI inbetween??
Regards
Vamsi
Hi,
As Muthu has already indicated, you should follow the OCI documentation (attached)
Also, SAP XI is not required for catalog integration, communication between the external cat and SRM_SERVER is via HTTP using the OCI Interface.
Regards,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jason / Muthu,
As you said that is true, but in my case SRM will send HTTP message and my supplier is asking for XML message format.
i think if it is HTTP--- HTTP message means we can do it directly, because this is expecting XML format
We thought of using XI
Is there any Standard SRM integration content available for OCI in this case
Please suggest me
REgards
Hi Vamsi,
There is an XML variant of the OCI interface as described in the OCI documentation attached. Using this you can use XML documents instead of plain HTTP for the OCI transfer. No specific configuration is required as a transformation agent is contained within the FUNCTION bbp_ws_mapoci_to_sc
map xml to oci structure
CALL FUNCTION 'BBP_WS_DISPATCH_XML_MAPPING'
EXPORTING
iv_xml_type = iv_xml_type
iv_xml_document = iv_xml_document
TABLES
et_oci_items = et_oci_item_data
et_longtext = et_oci_longtext
EXCEPTIONS
xml_mapping_error = 1
OTHERS = 2.
In this xml mapping function we use a CALL TRANSFORMATION to perform the XML -> OCI mapping:
Transfrom OCI XML data via XSLT to RFC structures
TRY.
CALL TRANSFORMATION bbp_oci_xml_to_rfc
SOURCE XML IV_XML_DOCUMENT
RESULT sc_items = lt_sc_items.
CATCH CX_ROOT INTO lr_exception.
CATCH cx_xslt_runtime_error.
RAISE xslt_failure.
ENDTRY.
ENDIF.
Put mapped data into export strutures
LOOP AT lt_sc_items INTO wa_sc_item.
IF NOT wa_sc_item IS INITIAL.
Hopefully this clarifies the possibility of using the XML variant of the OCI.
Regards,
Jason
Edited by: Jason Boggans on May 13, 2009 6:54 PM
Forgot to attach the document
Hi Jason,
I have some questions in relation to this post. We are using SRM Server5.5, classic scenario. At the moment we are using external catalogs from which the data is returned to SRM system by HTML form containing OCI input fields.
Currently we are negotiating with a new supplier who wants to send the data via XML file.
As I understood from the OCI documentation, the XML file is incorporated in an HTML form for the transfer from the catalog to the SRM server. Parameter "xmltype" specifies the type of the XML file that is used in order correct mapping to be found. Up to and including SRM 3.0 mapping is done in the business connector. for SRM 3.5 mapping can be done in the SRM server and as prerequisite is given that the corresponding XML shcema is used I suppose that this is valid for SRM 5.5.
My first question is how to find valid values for this field type "xmltype", because in the documentation given values are for SRM 3.0 and SRM 3.5?
And is there need to activate any BADi for mapping information from XML to OCI, or this is done by the system in the function which you are describing?
And I presume that the catalog parameters in SRM server will be the same as for the other external catalogs?
Thank you in advance for your answers.
Regards,
Desislava
Hi Desislava,
Apologies for the delay, I will answer where I can:
My first question is how to find valid values for this field type "xmltype", because in the documentation given values are for SRM 3.0 and SRM 3.5?
The values given and requirements of use for the xmltype in the OCI documentation are ~
ESAPO - For OCI version 3.0 using Business Connector
ESAPO3.0 - Pretty much same as above
ESAPO3.5 - xmltype for OCI version 4.0 using xslt transformation, no requirement for BC. (This is the one you should propose in the call structure.)
And is there need to activate any BADi for mapping information from XML to OCI, or this is done by the system in the function which you are describing?
For standard OCI mappings there is no requirement for Badi interference, as with any other usage of the OCI interface, if you pass custom values you will need to use the Badi to convert these to SC fields, from the perspective of your question, no additional work is required
And I presume that the catalog parameters in SRM server will be the same as for the other external catalogs?
Yes !
Hope this helps.
Regards,
Jason
Hi,
Please read the document in it's entirety, not just one section
See:
As of SAP Enterprise Buyer 3.5 the mapping can also be done in the SRM Server itself. A prerequisite is that the corresponding XML schema is used. The previous schemas are also supported.
xml type ESAPO3.5 is used as of BBPCRM 3.5 and for all version of SRM_SERVER
So BC is not required, the mapping is done in an internal XML transformation.
Regards,
Jason
Hi Vamsi,
There is no configuration of the SAP XI required for this. (This is not to say SAP XI is not required!! We are still dealing with XML structures here )
We use the function MAP_XML_TO_ITABS which transforms the XML data via xslt into RFC structure using an XSLT transformation:
CALL TRANSFORMATION bbp_oci_xml_to_rfc
The 'FULL' usage:
IF xml_type = 'ESAPO-3.5'.
Transfrom OCI XML data via XSLT to RFC structures
TRY.
CALL TRANSFORMATION bbp_oci_xml_to_rfc
SOURCE XML IV_XML_DOCUMENT
RESULT sc_items = lt_sc_items.
CATCH CX_ROOT INTO lr_exception.
CATCH cx_xslt_runtime_error.
RAISE xslt_failure.
ENDTRY.
ENDIF.
It is not reliant on XI content for this.
Regards,
Jason
Hi Jason
Is there any Building blocks config gudie for SRM MDM 7.01 catalog
Also can you confirm MDM is only for internal not for External Punchout catalog
based on your answers I want to reconfirm
When we impliemnt MDM catalog and External catalog punchout
we will behaving two links in the screen one MDM catalog and 2 punchout .
So all the catalogs will not be inside the MDM . MDM is purely for internal catalog maintainance and the data need to be prepared in Excell... some formate of file and upload .
External punchout catalog we can never bring inside MDM and compate do cross catalog verfication with Ineternal catalog
Can you elobarate on External and internal catalogs in MDM
Hi Vamsi
XI is not required.
see inthe Jason thread attached oci documentation.
you need to configure URL and Log on details in SRM via define external web services configuartion
and you may require to map catalog data to SRM data by BADI BBP_CATALOG_TRANSFER.
webservice id you must maintained in CAT Attribute in PPOMA_bbp.
regards
muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.