Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all articles
Browse latest Browse all 5512

Unable to write data in csv file by using Rules in Command line

$
0
0

Hi Friends,

 

I am unable to write a file by using windows command line [ rules ]. This file is needed for my jasper report to get runtime data.

 

 

I followed these steps

 

1. Created an 1st action with service order object that contain subaction and Command line,

 

Subaction: it loops over item collection [ Service order object ], and call 2nd action,

Command Line, it will call Java code as [ java - jar "xxxxx.jar" ]

 

2.

 

2nd action will contain only command line 

 

This command line is used to get data from Item object and store in a file [ xxxx.csv ]

 

Basically Java code will pick up the runtime data from csv file and displayed as a PDF file. Java part is working fine [ i tested with hardcoded data in csv file]

 

Am i missing anything ? how to write the File by using windows command line rule option ?

 

I have attached the screenshot, Please take a look and tell me if am missing anything.


Viewing all articles
Browse latest Browse all 5512

Trending Articles