Is there an XML function module?

Tags:
Basis
Business Information Warehouse
EDI
ERP
MySAP
mySAP Accounting
mySAP Advanced Planner and Optimizer
mySAP Application Link Enabling
mySAP CRM
mySAP Enterprise
mySAP Human Resources
mySAP Supplier Relationship Management
NetWeaver
R/3
SAP
SAP development
Security
Strategic Enterprise Management
Workflow
I am working on an SAP project, and I have a text file in XML format that I need to read in SAP. Is there any function module to read a text file in XML format?

Answer Wiki

Thanks. We'll let you know when a new response is added.

You could use the CALL TRANSFORMATION command to deserialize the XML document :

CALL TRANSFORMATION ID
SOURCE XML asx_doc
RESULT BN_1 = v_1 ? BN_n = v_n.
(Refer to the ABAP help for details).

There is an excellent article about ABAP-XML transformation in the SAP Profession Journal from Nov/Dec 2002: ?Mastering the asXML Format to Leverage ABAP-XML Serialization?. (http://www.sappro.com – http://www.pinetec.com/customers/ucg/sappro/data/pdfs/vol-4-6/p029.pdf).
More information on XML can also be found on SAP Developer Network: www.sdn.sap.com .

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Cimpeva
    CALL TRANSFORMATION works if you have the SAP WAS kernel - for R/3 this means Rel 4.7 or higher.
    0 pointsBadges:
    report
  • Joycesvp
    Hello to those who replied. I cannot get into the link that relate to ABAP-XML conversion. In R/3 v46B, do you have any sample abap code that one can use ABAP to product an XML file ?
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following