Skip to Content
avatar image
Former Member

Creating Quotation from XML file

Hi All,

I need to create Quotation by using data uploaded of an XML file. I don't know how to upload XMl file to SAP. Also after tht how to handle data and create a quotation using that?

Suggest me....

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 22, 2006 at 11:04 AM

    Hi, you have many possibilities:

    1) convert the XML file to an Idoc (ex: Orders01) using a EDI converter or SAP XI and then configure the Idoc interface to load the quotation

    2) write and ABAP program that reads the XML file and then create the quotation with a BAPI (salesordercreatefromdat2)

    There are some function group to handle this format, here some function groups yoyu can find in ECC 5.0:

    CRM_BSP_DESIGNER_XML

    CXML

    CXMP

    TRUX

    S_XML_PARSER

    3) same as 2 but you create an idoc from xml using function module:

    IDOC_XML_FROM_FILE

    regards

    Roberto Mazzali

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 22, 2006 at 02:23 PM

    Hi Rama,

    As suggested by Roberto you can actually get in touch with your ABAP' er and create a BAPI program to read the data from the XML file. And in fact we do use BAPI's to handle this. The client actually uses siebel which is converted in XML with some third party tools. We run a batch job that converts all these XML files which get created. We can then see such orders created using T.code VA02.

    Hope the explanation helps your situation.

    Thanks & Regards

    Sadhu Kishore

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 14, 2007 at 12:11 PM

    Closing the thread after a longtime. 😊

    Add comment
    10|10000 characters needed characters exceeded