1 – Create file xsl:

https://www.w3.org/1999/XSL/Transform” xmlns:doc=”urn:sap-com:document:sap:rfc:functions” version=”2.0″>

 

 

 

   

     

       

     

   

 

 

   

   

     

       

         

       

     

   

 

2 – Add action block XSL Transformation:

3 – Configure XSL Transformation

3.1 Configure file XSL

   

3.2 Configure XML input

Example RFC_READ_TABLE IN TABLE MAPL


¬

MAPL

0

0

20150626¬3203¬2¬52001190¬01¬0000002¬00000002¬000000000000100265¬

20150820¬3203¬2¬52001322¬01¬0000001¬00000001¬000000000000100265¬

20140618¬3203¬Q¬00002061¬01¬0000001¬00000001¬000000000000100265¬X

20141222¬3203¬Q¬00002204¬01¬0000001¬00000001¬000000000000100265¬

DATUV

000000

000008

D

Data início validade

WERKS

000009

000004

C

Centro

PLNTY

000014

000001

C

Tipo de roteiro

PLNNR

000016

000008

C

Chave do grupo de listas de tarefas

PLNAL

000025

000002

C

Numerador de grupos

ZKRIZ

000028

000007

N

Numerador de critérios adicionais

ZAEHL

000036

000008

N

Numerador interno

MATNR

000045

000018

C

Nº do material

LOEKZ

000064

000001

C

Código de eliminação

MATNR = ‘000000000000100265’ AND WERKS = ‘3203’

3.3 Configure XML output

Variable Transaction.OUT (Type XML).

XML output transformed by XSL and captured the Tracer_0.

20150626

3203

2

52001190

01

0000002

00000002

000000000000100265

20150820

3203

2

52001322

01

0000001

00000001

000000000000100265

20140618

3203

Q

00002061

01

0000001

00000001

000000000000100265

X

20141222

3203

Q

00002204

01

0000001

00000001

000000000000100265

4 – Copy and Paste XML out for Transaction.OUT

Much better to work than concatenated strings.


20150626¬3203¬2¬52001190¬01¬0000002¬00000002¬000000000000100265¬

New NetWeaver Information at SAP.com

Very Helpfull

User Rating: Be the first one !