cancel
Showing results for 
Search instead for 
Did you mean: 

EXCEL UPLOAD - CALL TRANSFORMATION

Former Member
0 Kudos

Hi,

I am uploading the data from .xml file using Fileupload UI element into the string sucessfully. But now i need to convert that string data into my internal table using the Call Transformation statement.

I have the XSLT file for this but i don't know where to place this XSLT file and how to use it inthe Call transformation statement while uploading the data.

CALL TRANSFORMATION 'XSLT File' SOURCE XML filecontent

RESULT itemlist = lt_employees.

the bold XSLT file where we need to place in SAP to retrive the data into internal table.

Please help me, it is urgest issue.

Thanks in Advance

Best Regards,

Vijay

Accepted Solutions (0)

Answers (1)

Answers (1)

rainer_liebisch
Contributor
0 Kudos

Hello Vijay,

call se80 and choose a package, then right-click on the package name and choose "Create" -> "Other(1)" -> "Transformation".

Choose a name for this transformation (e.g. MY_TRANSF) and enter the code for the transformation in th editor. In your application you can use

CALL TRANSFORMATION MY_TRANSF

source XML ...

result ....

Regards,

Rainer

Former Member
0 Kudos

Hi,

Thanks for your reply.

I tried to create the package for this and tried to create the Transformation under that but it is saying"Only can be created under SAP Package". Here what it means SAP Package.

I am unable to save it under $tmp also.

Please suggest me, What can i do now?

Thanks and Best Regards,

Vijay

Former Member
0 Kudos

Hi Vijay,

Your Transformation name should be started with "Z" only.

So try another transformation starting with z.

Thanks.