Current position:  Home > Default > FileName in ABAP XSLT Mapping

FileName in ABAP XSLT Mapping

Time:October 11
Dear SDN,
In an integration scenario we are using sender File Adapter and a  ABAP XSLT Mapping.
Is there any way to get the source FileName from such mapping.  Im trying to use the adapter-specific message attributes, but it doesn't work, and I didn´t find an example, probably I and doing somthing wrong.
Thank you for your help,
I just try to access the adapter-specific attibutes using:
<xsl:stylesheet version="1.0"
<xsl:variable name="filename"  select="key:create('', 'Directory')" />
but the following error raised:
<SAP:Stack>Error while calling mapping program YXSLT_TEST (type Abap-XSLT, kernel error ID CX_XSLT_RUNTIME_ERROR) Call of unknown function</SAP:Stack>
have you had this situation?

Reg ABAP-XSLT mapping


Hi All,        One of my inetrfaces i am using ABAP-XSLT mapping some times i am getting the following erre "Error while calling mapping program ZXXXX_XXX (type Abap-XSLT, kernel error ID CX_XSLT_RUNTIME_ERROR) No valid source context supplied"

ABAP-XSLT mapping.


Hi ALL,           I am using i scinario in my project of type IDOC to PI to SOAP . In this one my mapping is of type ABAP-XSLT . the interface is runnign fine for all the idocs except one idoc. When that particula idoc comming from r/3 it is giving s



Hello Experts,       I have a requirement where in i need to call RFC(Which is created in R/3 system) In ABAP XSLT Mapping(defined iN xi system). Can some one help me to achieve this?? **ITS URgent**** Thanks and Regards, Prakash Babu.Hi James,      

XSLT Mapping with Java Enhancement


Hi All I am working on XSLT Mapping with Java Enhancement. To do this scenario i have followed the following link. As per the above link I have created Source

XSLT-Mapping oder Message Mapping (grafisches Mapping)?


Hallo, which mapping type is the best? xslt oder message mapping? JensHi, In terms of perfromance , XSLT is supposed to be very bad and is to be avoided whenever possibl.e Graphical Mapping is the best when it comes to performance of the mapping. But

ABAP , JAVA And XSLT Mapping Doc's


Hi, I am new to SAP XI Any body please send me the Doc's Related to ABAP, JAVA And XSLT Mappings. Thanks in Advance. Regards Kiran.BHi Refer to ABAP mapping: How to Use ABAP Mapping in XI 3.0 JAVA mapping:

XSLT mapping to retrieve FileName from FILE SENDER adapter


Hi I have an File Sender adapter scenario where I have switched on Adapter-specific message attributes (FileName). In my XSLT mapping program I need to RETRIEVE the filename and map it. Can anyone help please? Thx in advanceHi Bohamo Refer the follow

XSLT Mapping on ABAP Engine


Hi All, I am trying to implement an XSLT mapping on the ABAP Engine. I went to the Transformation Workbench(SE80).I have created 4 levels of packages (Structure->Main->then 2 more levels) and  included Package Interface SAI_TOOLS in 'Use Accesses' t

Need Filename in XSLT Mapping.


Hi , I am doing File to IDOC scenario. I am using XSLT mapping. My Target fielld is having  " File Name " field. I need to pass the source file name to that field. I am using XSLT Mapping. How to call the Filename and map the value to that field

Graphical Mapping Vs XSLT mapping Vs Java Mapping Vs ABAP Mapping


Hi Experts,           I have a question regarding different message mapping options available in XI namely Graphical Mapping XSLT mapping Java Mapping ABAP Mapping Q1: Which amoung the above mappings is the best and why? Q2: On what cases Graphical,

Calling abap method in xslt mapping?


Hi I need to call abap method in my xslt mapping , i tried with <sap:external-call >and <sap:external-function> . But it is giving short dump error. Can anybody give me proper syntax.. thanks PrasadHello, Please see the code below. This is how

Java ,abap and XSLT mapping


Hi all,            can any one provide some material on java ,ABA and XSLT mapping(as i got requirement on my current project).. thanks in advance. regards krish..Hi    All mapping related links There is no hard and fast rule for using the mapping te

Raise error in an external-function of XSLT-mapping (ABAP)


Hi, we implemented a xslt-mapping (ABAP) in PI with external-functions. It's a great feature and works fine. Now, we have to implement an error handling: The external-functions are reading data from an abap table. We have to stop the mapping (if a va

Message Mapping ...  ABAP ,XSLT and JAVA


HI Friends I have a general question ... but it will confuse me a lot .... my question is we have four types of message mappings 1) GUI ( and UDFs) 2) ABAP 3)XSLT 4) JAVA when we have plenty of options in GUI (and User defined functions also)  to def

Java Mapping, XSLT Mapping, ABAP Mapping


Hi Experts,                  Could any one explain what is the main features of the following Mapping. How to pick the mapping? Java Mapping - When to use and what is the advantage. ABAP Mapping - When to use and what is the advantage. XSLT Mapping -

Change Filename using XSLT mapping without variable subtitution


Hi, My scenario is IDOC to file...i am using XSLT mapping, i want to change the filename format to OUT_<Purchase Number>_<DDMMYYYYhhmmss>_KKKK.txt, i cannot use UDF function as i do XSLT mapping i also i cannot use variable substitution as the

XSLT Mapping Related


Hello Experts, In a scenario we are sending Purchase orders and Purhase Order change from SAP to SNC through XI. Currently we are using Orders03 message type for IDOC. The requirement is to use Orders05 message type for IDOC. What changes would be ne

XSLT mapping code to replace ns1: tag as plm: in XML file in PI mapping


Hi I am sending XML file to HTTP server as below format <?xml version="1.0" encoding="UTF-8" ?>    - <ns1:Responses xmlns:ns1="http://"> -    <ns1:Response Application="SAP">     <ns1:field1>

XSLT mapping, how can I include a Runtime Constants in target message


Hi, I would like in my XSLT mapping, to have an attribute include the MessageID. From my understanding of the online help [|