Data Services 4.0 - Batch Job - Export Execution Command - Error
Hi,
I'm new to Data Services and tried to get started with this "how to":
http://wiki.sdn.sap.com/wiki/display/BOBJ/HowToUseBusinessObjectsDataServicesinSAPBIstagingprocess
Just that I used BW 7.0 instead of BI.
But I got stuck at the Export Execution Command. Everytime I klick "Export", I get a "java.lang.NullPointerException".
(I can execute the job manually from the Designer and it completes successfully.)
Any idea what I can do to export it successfully?
Or is there a workaround so that I'll be able to initiate the process from the BW system?
Thanks!
Hi,
I'm new to Data Services and tried to get started with this "how to":
http://wiki.sdn.sap.com/wiki/display/BOBJ/HowToUseBusinessObjectsDataServicesinSAPBIstagingprocess
Just that I used BW 7.0 instead of BI.
But I got stuck at the Export Execution Command. Everytime I klick "Export", I get a "java.lang.NullPointerException".
(I can execute the job manually from the Designer and it completes successfully.)
Any idea what I can do to export it successfully?
Or is there a workaround so that I'll be able to initiate the process from the BW system?
Thanks!
Similar Messages
-
How to export execution commands for all jobs in project?
I would like to export the execution command line windows batch file and text paramater file for over 700 BODS Jobs in a Project folder.
Is there a command line tool or BODS Utility to export execution commands for all jobs in a project?if you look at the command line most of the information is fixed like job server, port etc., the main thing that you need is the GUID of the job, that you can get from AL_LANG Repo table. You can write a script or a DS job to build this command line and write to a bat and txt file for each job
-
BP data services:Can I config Job server via commandline?
Hi Experts,
Can I config Job server via commandline?
I need to create a new Job server JS_TEST01/port3501 and add the repository to this Job server and restart Job server via command line,like I can create repository via command RepoManBatch.exe
C:\Program Files\Business Objects\BusinessObjects Data Ser
vices\bin>RepoManBatch.exe
Usage:
-U<User> : Repository login user
-P<Password> : Repository login password
-S<Server> : Repository server name
-N<DatabaseType> : Repository database type
-Q<Database> : Repository database
-g : Repository using Windows Authentication
(Microsoft SQL Server only)
-t<Type> : Repository type: local, central, pro
filer
-c : Repository create
-u : Repository upgrade
-v : Repository version
-d : Show details
-a : Repository security
C:\Program Files\Business Objects\BusinessObjects Data Ser
vices\bin>
Thanks
Miller我已经装好了SQL server express 和Data service 12.2,我可以通过【Data Services Server Manager-C:\Program Files\Business Objects\BusinessObjects Data Services\bin\AWServerConfig.exe】 来创建Job server [JS_Test01] 和add a repository给这个Job server,现在我的需求是,我希望通过command line在来完成这个动作。
就好像使用DOS 命令RepoManBatch.exe创建repository一样。
C:\Program Files\Business Objects\BusinessObjects Data Ser
vices\bin>RepoManBatch.exe
Usage:
-U<User> : Repository login user
-P<Password> : Repository login password
-S<Server> : Repository server name
-N<DatabaseType> : Repository database type
-Q<Database> : Repository database
-g : Repository using Windows Authentication
(Microsoft SQL Server only)
-t<Type> : Repository type: local, central, pro
filer
-c : Repository create
-u : Repository upgrade
-v : Repository version
-d : Show details
-a : Repository security
C:\Program Files\Business Objects\BusinessObjects Data Ser
vices\bin> -
Export execution command - DB2 v8.2
Hi all,
I am having problems when trying to export the execution command of a job from the Data Services Management Console.
The environment is windows 2003 server with tomcat and DB2 v8.2 as repository.
When I click the Export execution command link in the console I am getting the following:
[jcc][t4][10120][10898][3.50.152] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null
Anything else is working fine, I can run jobs from designer...
Does anyone know what could be going wrong?
Thanks in advanceHi thanks a lot for your reply.
I'll check the fix.
I am using 8.1.7.445, I believe it is Fix Pack 7.
Do you think that the bug exists with this fix pack level as well as well? -
Help with data services to run a job
Hi,
I have a xcelsius file (swf) that run a job using webservices from data services, and verything works good, the problem is when i publish the file in thw web server IIS, the webservice dont start the job.
There is some configuration of IIS that can i set to permit the webservice start the job from web server?
ThanksHi BlaxButt,
The package is developed in SSDT installed by SQL Server 2012, so it is a SSIS 2012 package. However, the Integration Services you have installed is SQL Server 2008 R2 version. To run the package outside SSDT, you need SSIS 2012 installed. The reason why
the package runs fine with only Source and Destination components is that such a simple package can be executed by the DTExec utility installed by SQL Server 2012 Data base Engine or Client Tools (SQL Server Import and Export Wizard). To run a package that
uses other tasks/components outside SSDT/BIDS, the SSIS runtime is also required except the DTExec utility. To obtain the SSIS 2012 runtime, we have to install SSIS 2012 on the server where the package runs.
Reference:
http://stackoverflow.com/questions/19989099/getting-error-running-ssis-package-on-non-ssis-server
Regards,
Mike Yin
TechNet Community Support -
How to upload data into CRM using batch job
Hello,
I got some problem and need some hints.
I am uploading data from a flat text file (product data) into CRM using thefunction module GUI_UPLOAD. My program starts with a selection screen whereI enter the path and the filename of the program, then I click start, and
the data is transferred in CRM. This works perfect, and I can automaticallycreate service products in CRM.
Here comes the PROB:
But now I want to automize this procedure using a batch job that automatically picks up the file from the server and processes it automatically without any user interaction. BUT I always get an error saying that my function module GUI_UPLOAD can't run in batch mode. So
anyone has an idea how to do this? Any other function modules that can run in batch mode? Any other ideas?
Thx very much for ur help on this.Hi Bill,
GUI_UPLOAD, like the name says, uses the SAPGUI to upload the data to theserver.. and in a batch job, you don't have the connection to a SAPGUI.
So you should use following kind of coding:
DATA MSG(100).
OPEN DATASET "FILENAM" FOR INPUT IN TEXT MODE ENCODING DEFAULT MESSAGE
MSG.
IF sy-subrc = 0.
DO.
READ DATASET "FILENAM" INTO [Your internal table].
IF sy-subrc <> 0.
EXIT.
ENDIF.
APPEND [Your internal table]P_DATA.
ENDDO.
ENDIF.
The file should then be available on the server.
Regards -
Data Services Designer Issue with Job Server
I am on Business Objects Edge Pro using the Data Services Designer. When I try execute a job I get "The job server you have selected is not working." In addition to that when I try to make any personal change to the environment I get a BODI-1260016 error. Finally when you go to the help and about they show both the Job Engine and Job Server not responding.
I have opened up my CMC and it shows all servers enabled and functioning. I do not know where to go from here.
Thanks
CassidyVoila. I know I am a bit late to the conversation, but here was my solution. I was running Designer on my local machine. We also have Designer on the server. So I decided to remote to the server and compare settings. When the server desktop came up, good old Windows was there, announcing that BODS had changed since the last time it was run, and would I like to allow it to run (Y/N/Cancel)? Thanks, Windows. I said Yes, then went back to my local workstation, tried again to run a job, and no problem.
This has happened with other software services (scripted ftp for example) that run on servers. Seems it can happen after a Microsoft Tuesday, or after software is upgraded. Always remember to log on to the server and clear any security dialogs that are preventing your service from running. Not really a BO solution, but it was my solution. YMMV. -
Chaning the Run date in F110S in batch job
Hi,
We would like to run the F110S weekly by the batch job. However, my questions is how will I change the run date every week.
Can you guys give me ideas as to how should I proceed or how it is occuring in your client.
Detailed steps would be appreciated
JRhi,
1. You can change the depreciation key in the Asset master (AS02) even if manual entries have been posted to it.
2. Now if your values are appearing correctly in Asset Explorer in planned data
then you need to run AFAB again and remove the "Test Only" check and run it
again for the values to be posted.
Hope this resolves your issue.
Assign full points if useful.
Rgds
Prasad. -
Data Services - Open hub read - No Open Hub DTP error
Hi,
I have created a open hub destination in BW (7.0 SP21), created transformation, DTP and process chain. In Data Services (3.2) I have created flow, job etc. and every thing seems to be as expected. However when I start the job in DS it terminates with an error:
1136 5624 BIW-230334 13-11-2009 12:28:22 Process Chain <ZTEST2> of Open Hub destination <ZTEST> at SAP system <.......> no more contains Open Hub DTP. Please reimport the Open Hub destination to execute the appropriate Process Chain.
I've tried re-activating everything in BW and also re-importing the OHD in BW, but nothing works. I've even tried to re-create everything from scratch. The process chain I've created do indeed contain an Open Hub DTP.
One addtional question: I've activated the process chain, but do I also need to schedule it in BW (like you do with e.g. process chains for time points to be used in Broadcasting)? Note, I've tried both scheduling/no scheduling and does not work either way.
Any ideas/suggestions?
Thanks in advance,
JacobYou must implement following SAP Notes in SAP systems in order to make Data Services Open Hub functionality work correctly:
SAP Note 1270828 : (Open Hub Process chain is not imported into Data Services repository).
SAP Note 1294774: (Open Hub import failed - when you call the module RSB_API_OHS_DEST_SETPARAMS, th system tries to open a GUI)
SAP Note 1330568 version 3: (This note has fixed "Process Chain <ZTEST2> of Open Hub destination <ZTEST> at SAP system <.......> no more contains Open Hub DTP. Please reimport the Open Hub destination to execute the appropriate Process Chain").
SAP Note 1079698 - 70SP16 (Enable check box "Automatically Repeat Red Requests in Process Chain" in the DTP Execute)
SAP Note 1346049: (Error 028(OSOH): Request <n> cannot be locked.)
SAP Note 1338465 #with 1293589 as pre-requisite: (The ABAP/4 Open SQL array insert results in duplicate database records.)
SAP Note 1342955: (0 data records transferred)
Edited by: Ajit Dash on Nov 13, 2009 10:37 PM
Edited by: Ajit Dash on Nov 13, 2009 10:39 PM
Edited by: Ajit Dash on Nov 13, 2009 10:39 PM -
Batch Job for ME59N getting error SE133 - Net value could not be determined
HI,
We can convert the PO automatically when run manually tcode ME59N successfully.
But when We schedule a batch job to run ME59N (RM06BB30) to create AUTO Purchase order for services item Purchase requistion.
Getting error message SE133 "Net value could not be determined". PO canot be converted automatically.Hi,
Price/ Net value not picking!
Check info record based on Material Group for your service PR which need to be converted to PO.
Also check activation of Automatic Purchase order creation for Service requisitions in t.code: ML91.
Check vendor master , schema group of vendor and check MM pricing procedure, the availability of condition type for service master for service PO.
For more please read note 635511
Regards,
Biju K -
hi
i have a problem after installing flashBuilder 4 beta2 .
when i want to create Data/Service with BlazeDs and when i click on button finish
this error shown and I can't do anything with it .
in flashBuilder beta1 it's work perfect .
if any one in thereand know why?
please help me
ERROR: XML parse error : Error on line 1 of documen : cvc-elt.1:Cannot find declaration of element 'model'. Nested exeption:Cannot find declaration of element 'model'.
thanksHi,
Thanks for your feedback
Can you attach your sample project and provide details on the Flash Builder and BlazeDS builds you are using?
Also add your vote to http://bugs.adobe.com/jira/browse/FB-23479 a similar known issue
Thanks,
Balaji
http://balajisridhar.wordpress.com -
Error in Data service while executing Rapidmart job
Dear all
i am getting the following error :
(12.2) 06-29-11 02:35:13 (E) (3132:7104) DBS-070401: |Session Cost_Center_Load_SAP
ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid
column name 'LOAD_DATE'.>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) RUN-050304: |Session Cost_Center_Load_SAP|Function AW_StartJob
Function call <sql ( RM_DS, insert into AW_JOBEXECUTION (NAME,
EXTRACTLOW, EXTRACTHIGH, STATUS, LOAD_DATE) values ('Cost_Center_Load_SAP', '1990.01.01',
'2011.06.29', 'started',CONVERT(datetime,'2011.06.29 02:35:13',102)) ) > failed, due to error <70401>: <ODBC data
source <FGHSRV018> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column
name 'LOAD_DATE'.>.>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) RUN-050304: |Session Cost_Center_Load_SAP
Function call <AW_StartJob ( Cost_Center_Load_SAP, RESET, FIRST, 1990.01.01, 2011.06.29, 2011.06.29 02:35:13 ) > failed, due to
error <70401>: <ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver][SQL
Server]Invalid column name 'LOAD_DATE'.>.>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) RUN-053008: |Session Cost_Center_Load_SAP
INFO: The above error occurs in the context <|Session Cost_Center_Load_SAP|AW_StartJob(...) Function Body|10 If Step
body|$ret=...|sql(...) Function Body|>.
(12.2) 06-29-11 02:35:13 (E) (3132:7104) DBS-070401: |Session Cost_Center_Load_SAP
ODBC data source <FGHSRV018> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid
column name 'LOAD_DATE'.>.
Please help me to resolve the same .Hi,
this services is for the SAP Integration Kit. I would suggest you post this into the EIM Forums
regards
Ingo Hilgefort -
I would like to set job trigger on Data Service job.
Hi Expert,
I would like to know that how to set job trigger on Data Service job because now our system has been set job separate for get data from FI Module , HR Module and other. I want to execute job follow below.
Start --> FI job run --> FI job finished --> trigger --> HR job run --> HR job finished --> trigger --> Other etc.
Or if you have any idea. Please advise me.
Thank you for your advise.Hi,
You can do this from Data Service management console, follow the below steps to create and execute
batch (.BAT) file
Select Batch > repository.
Click the Batch Job Configuration tab.
For the batch job to configure, click the Export Execution Command link.
4. On the Export Execution Command page, enter the desired options for the batch job command file that you want the Administrator to create(Extension will be added automatically: .sh for UNIX , .bat for Windows)
5. Click Export.
Batch file for the job will be created under <DS_COMMON_DIR>\log directory.
6. Create a New DS Jobs in Data service designer and write the script to execute your batch file as below
Hope this will be helpful for your requirement .
Regards
M Ramesh -
Performace tuning: how to pass data between different batch job programs?
Hi everyone,
now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
thanks!Wei,
Yes we can transfer the data by using
SAP Memory OR ABAP Memory.
Ex: V_count TYPE i.
V_count = 100.
LOOP AT itab.
IF v_count EQ 25.
Here For every batch job
EXPORT data TO MEMORY ID 'ABC'
Function module
JOB_OPEN
JOB_SUBMIT
JOB_CLOSE.
ENDIF.
ENDLOOP .
IN your 2nd program.
INITIALIZATION.
IMPORT data FROM MEMORY IF 'ABC'.
FREE memory if .---When you free the memory you will get recent data.
Don't forget to reward if useful. -
Shedule a Batch job to run every one min
Hello all,
I'm new to data services . My requirement is to shedule a batch job to run every minute .
Please help me on this.
Thanks,
David king JHi David,
Regarding your query below is the suggestion from my side:
Option I: Schedule the Job from Data Services Management Console below is the steps.
(a) Log in in SAP Business Objects Data Services Management console
Link:<Server Name>:<Port Number>/DataServices
(b) Go to Administrator Tab and click on Batch Job
(c) Select Batch Job and in right hand side click on Add schedule
Where you have Option to schedule as per your requirement
Note : You can use Data Services scheduler Or BOE scheduler.
Option II: Schedule the Job from UNIX environment below is the steps.
(a) Cron Tab Access rights required
for checking cron tab rights use below command
crontab -l ---> List of schedule Jobs
crontab -e ---> for editing or creating new schedule
(b)Log in in SAP Business Objects Data Services Management console
Link:<Server Name>:<Port Number>/DataServices
(c) Go to Administrator Tab and click on Batch Job
(d) Select Batch Job and in right hand side click on Export execution command
(e) Update the details regarding JOb Server, Global Variable if used in the Job and click on export;Now check the "SHELL Schript" .SH file mentioned in Data Services management console link
(f) Copy and Paste the Script in your desired location
(g) Then create SHELL script, below is sample example
Test:
1 * * * * /usr/sap/BODS/BO_Script/ABC.SH
For cronjobs details please refer below link
Run crontab (cron jobs) Every 10 Minutes
Note: As Michael suggested that option is also good, you can also implement the same.
Hope this will help!!!!!
Thanks,
Daya
Maybe you are looking for
-
Sender File Adapter Conversion problem - how to start new recordset?
Hi guys! I have a source file like following: aaaakkkkkk uuuupppppp &&hhhhffffff 6666uuuuuu 3333rrrrrrrr &&kkkkoooooo which means - fixed length 4,6 and && starts new recordset. I need to get structure like: <recordset> <item> <a>aaaa</a> <
-
Apple ProRes Timeline playback problem - Please Help
I am capturing 720p 60 video from a Panasonic Varicam using a Blackmagic HD Extreme card and using the Apple ProsRes (HQ) setting (Blackmagic HDTV 720p 59.94). We are editing the film in Apple ProRes 422 (HQ) 24fps. In my timeline all the clips are m
-
Workflow : Could not send e-mail [10014 : email ...
hi, i am trying to send email notification via workflow, but i am not able to do so. anyone can help to troubleshoot this? below are the steps i have carried out for email configuration: 1. i have added the mail server on mds.ini, MDS is restarted af
-
My trial version of photoshop elements 11, did not completely down load. HELP!
-
I installed the latest version (7) of iTunes and could not get it to show the music on my iPod. I tried to reinstall version 6 of iTunes that came with my iPod Nano by uninstalling iTunes 7. The reinstallation of 6 SEEMED to work ok until I tried to