on 05-29-2015 1:47 PM
Hi Experts,
I am working routing script and during dovelopment , if i want to make sure I am getting required values in the variables, I am using methods print(value,…) and printAll(). However I have not found any entries in the NW Log..
Can somebody tell me whare exactly i should check the logs?
and I have heard that we can use PAPIs in routing scripts, what is the procedure to use PAPI in routing script.?
sample code would be helpful..
Thanks, Eswar.
Eswar
To trace, use:
Utils.traceMsg(string, Utils.DEBUGGING);
and make sure you have ME debugging on.
Calling PAPIs are not trivial - you should have a programming experience, preferably using the ME SDK.
Some code snippets, where this is placing a Future hold on a list of SFCs:
importClass(Packages.com.visiprise.frame.configuration.ServiceReference);
importClass(Packages.com.visiprise.frame.service.ServiceLocator);
ref=new ServiceReference("com.sap.me.production","HoldService");
holdService = ServiceLocator.getService(ref);
request = new PlaceFutureHoldGroupRequest();
request.setFields.....etc
holdService.placeSfcOnFutureHold(request);
Refer to the Javadocs for usage of the PAPIs.
Stuart
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.