10-17-2008 11:06 AM
10-21-2008 9:19 AM
10-21-2008 9:39 AM
hi depika
we use xslt converters to convert xsl to hml
vat fpormat do u wish to convert the xml form to??
kr
raj
10-21-2008 9:59 AM
10-21-2008 10:55 AM
Thanks Shiva,
But actually i'm working on application form in which i need to fetch the required fields as per the logic given. Then my client wants me to send this in XML format so that they can use it in taking printout by a third-party.
10-21-2008 11:34 AM
You know PWB rite!!!
You can create user-exits in that application!!!
IF you want to create a XML output file through PWB then create a END exit and call that Function module it will work.
What exactly you want through that PWB application ?
What is the form name?
Regards,
Shiva Kumar
10-22-2008 12:21 PM
thanks shiva,
the application form name is ZIS_U_STANDARD_BILL and the form class used is IS_U_BI_BILL.
as per my requirment i need to fetch certain fields in the application form and convert it into XML format and send it to my client. My client is using a third-party who have their layout and they will pass this XML format in order to get output.
Now in this function module SAP_CONVERT_TO_XML_FORMAT what paramaters needs to be passed and where i'll get the output?
thanks a lot...
10-22-2008 12:58 PM
10-22-2008 2:33 PM
Hi,
in your END form, you can do as follows:
data w_xml type string.
call transformation id
source l_main = l_main
l_clerk = l_clerk
l_inv_xdf_header = l_inv_xdf_header
.
.
.
.
.
.
result xml w_xml.
And then write the result to a file, be carefull to create a logical file name that has a parameter that changes depending on a job id, so if you do parallel printing you can have a file per job and you won't crash data in the same file, you can use a logical file name and there you can define a parameter that you can fill using function module FILE_GET_NAME. You can use GET_JOB_RUNTIME_INFO to retreive active job information.
Cheers.