‎2021 Sep 08 3:09 PM
Hello,
I have to create an XML output file with multiple header lines in ABAP. Below is the detailed requirement.
Standard header generated in XSLT transformation is giving this line- <?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
But I have to add an additional header line like below along with the standard header
<wm1:PayStubLoad xmlns:wm1="XXXXXXXXXX" wm1:numberRecords="000000182" wm1:fileDateTime="2021-06-04T00:37:12.900Z" wm1:fileToken="XXXXXXXXX" wm1:employerCode="XXXX" xmlns:xsi="XXXXXXX" xsi:schemaLocation="XXXXXXXXXXXXXXXXXX"> <PayStub wm1:forgotPINPostalCode="XXXX" wm1:employeeDefaultPIN="XXXX" wm1:payPeriodEndDate="XXXXX" wm1:payPeriodStartDate="XXXXX" wm1:payStubAccessibleDate="XXXXX" wm1:payDate="XXXXX" wm1:adviceNumber="XXXXX" wm1:employeeCode="XXXXXX">
Could you please help how can we achieve this.Thank You.
Regards,
Srilekha
‎2021 Sep 08 3:09 PM
Welcome to the SAP Community! We wanted to give you the opportunity to take the tutorial to get started in SAP Community, as it provides tips for preparing questions that draw responses from our members.
Additionally, by adding a picture to your profile you encourage readers to respond to your question. Learn more about your profile using Profile Tutorial
Thank you!