MDMGX download to ports as background job without FTP?
Hello everybody,
is it possible to use MDMGX as a background job to download directly into the mdm ports without FTP?
If I try to download as a local download (in background job) I get the error message: "Cannot open dataset for batch download of file: No such file or directory. Message no. MDM_GX_MSG031"
Any advice?
Regards,
Axel
Hello Alex,
As said in the above post MDMGX is used to extract the reference data from ECC. This data can be extracted to the local system as well. You need to specify the FTP server and MDM Root of the system on which the MDM server is Installed, by doing so the data extracted will be placed in the respective folders created under the given root in MDM. PI is not required for this since the output is in the required XML format
Please go through the below link
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0740b31-a934-2b10-2e95-af2252991baa?QuickLink=index&overridelayout=true&30296699350032
http://wiki.sdn.sap.com/wiki/display/SAPMDM/MDMGenericExtractor
Hope this helps
Rgds,
Prasad
Edited by: Prasad Tuttagunta on Feb 28, 2012 12:28 PM
Similar Messages
-
How to create a background job without a variant ?
How to create a background job without a variant ?
Hi,
Go to se38.. specify the program name and execute Or use Tcode
On the selection screen specify the variant...
Then from the menu options choose program->excute in background...
In this way we can crate a backgroup job with out crateing any varinat for the report...
Satya. -
Is it possible to create a background job without a variant
Hi all,
Is it possible to create a background job without a variant ?
If Yes ..How ?
Thanks in advance
KRHi KR,
if you have any selection-screen in your programm it is not possible otherwise it is possible.
Plzz Reward if it is useful,
Mahi. -
Scheduling Background job without any authorization
Hi All,
Here is my requirement.End user will save a material and at the time of SAVE , background job has to be scheduled to run a process.
End user will not have any authorization to schedule the job in background. Is there any way to bypass the AUTHORITY-CHECK of the program. Client will not provide authorization for the end user to schedule job in background.
I thought of giving a user name in the program like below, the user "BATCHUSER" has all the authorization to schedule a job in background. But program fails to by pass the AUTHORITY-CHECK , is there any other way to by pass AUTHORITY-CHECK .
Here is my code.
JOB_OPEN.
SUBMIT 'XXX' USER 'BATCHUSER' VIA JOB v_name NUMBER v_number AND RETURN.
JOB_CLOSE.
Please help me ....
Regards,
AshokHi,
workflow could be an option. Either transfering the logic into the workflow at all or you can just plan the job in a background step of the workflow. As WF-Batch is runnung with SAP_ALL authorization shouldn't be an issue.
Depending on what application you are in, there could already be a wf-event on save so development effort could be quite low.
Best Regrads
Roman -
Hi,
I have devloped a program which takes the required data in internal table and places the file in FTP.
When i execute it manually, the file gets placed properly, but when i schedule the program in background, the program gets executed but the file dowHi,
You Must be using RFC destination as SAPFTP, when you see go to SM59 -> TCP/IP -> SAPFTP & double click on SAPFTP, go to Technical Setting tab, you have 4 option in Activation Type. Select Start on Application Server Option and then save the setting. Now test the Background job.
Regards
Sanjeev Pallan -
Schedule background job without broadcasting
Hi
Can anyone share with me how to achieve to schedule the query in background without broadcasting? Thus, the output result from background has to be in Excel format just like BEX report.
Regards
KRHi Kang,
Check out if this link can be a bit of help.
Processing query in Process Chain
I am not sure how can you get it excel format.
Rgds,
Sree. -
Hi,
I have a background job with has a start condition after execution of a particular event.
Now i need to copy this background job to another name and execute it. I tried using the function module BP_JOB_COPY, but that copied the background job without the job start conditions. How can i copy the background job along with start conditions.
Thank you in anticipation.Hi Nikhil,
the follwoing code schedules 2 jobs from a source job (which is maintaned in the system).
data: s_tbtcjob1 like tbtcjob, "target job #1"
s_tbtcjob2 like tbtcjob. "target job #1"
data: h_1 like tbtco-jobcount, "jobcount"
h_2 like tbtco-jobcount, "jobcount"
h_1s like tbtco-jobname, "jobname source"
h_2s like tbtco-jobname, "jobname source"
h_1t like tbtco-jobname, "jobname target"
h_2t like tbtco-jobname. "jobname target"
selection-screen begin of line.
selection-screen position 2.
parameters ra radiobutton group rad1.
selection-screen comment 4(70) text-001.
selection-screen end of line.
selection-screen begin of block block1 with frame.
parameters: p_a1 like h_1,
p_a1s like h_1s,
p_a1t like h_1t,
p_a2 like h_2,
p_a2s like h_2s,
p_a2t like h_2t.
selection-screen end of block block1.
start-of-selection.
perform create_jobs using p_a1 p_a1s p_a1t p_a2 p_a2s p_a2t.
* FORM CREATE_JOBS *
form create_jobs using h_1 h_1s h_1t h_2 h_2s h_2t.
call function 'BP_JOB_COPY'
exporting
dialog = 'N'
source_jobcount = h_1
source_jobname = h_1s
target_jobname = h_1t
importing
new_jobhead = s_tbtcjob1
exceptions
cant_create_new_job = 1
cant_enq_job = 2
cant_read_sourcedata = 3
invalid_opcode = 4
jobname_missing = 5
job_copy_canceled = 6
no_copy_privilege_given = 7
no_plan_privilege_given = 8
others = 9.
call function 'BP_JOB_COPY'
exporting
dialog = 'N'
source_jobcount = h_2
source_jobname = h_2s
target_jobname = h_2t
importing
new_jobhead = s_tbtcjob2
exceptions
cant_create_new_job = 1
cant_enq_job = 2
cant_read_sourcedata = 3
invalid_opcode = 4
jobname_missing = 5
job_copy_canceled = 6
no_copy_privilege_given = 7
no_plan_privilege_given = 8
others = 9.
call function 'JOB_CLOSE'
exporting
jobcount = s_tbtcjob2-jobcount
jobname = s_tbtcjob2-jobname
pred_jobcount = s_tbtcjob1-jobcount
pred_jobname = s_tbtcjob1-jobname
targetsystem = '<<SYSTEM IN CASE OF MULTIPLE SERVERS>>'
exceptions
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
others = 8.
call function 'JOB_CLOSE'
exporting
jobcount = s_tbtcjob1-jobcount
jobname = s_tbtcjob1-jobname
strtimmed = 'X'
targetsystem = '<<SYSTEM IN CASE OF MULTIPLE SERVERS>>'
exceptions
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
others = 8.
endform. -
What is the difference between background job and foreground job
Hi Experts,
Could you pls tell me
What is the difference between background job and foreground job
and where exactly used background jobs...
ThanksHello,
Background jobs - without user interaction, scheduled via SM37.
Foreground jobs - with user interaction (transactions).
For more information, please read these: [http://help.sap.com/saphelp_nw04/helpdata/en/e4/2adbda449911d1949c0000e8353423/frameset.htm], [http://help.sap.com/saphelp_nw04/helpdata/en/73/69ef5755bb11d189680000e829fbbd/frameset.htm] and [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20cb0b44-8f0b-2a10-2381-ca8162bcb5b2].
Regards, -
Without FTP how do I download my site?
I have been traveling for a while and was a bit surprised to find that FTP is no longer available with Verizon. Since it is past their kill date does anyone have a recommendation on how I can download a copy of my pages without FTP? Have they implemented Secure FTP (SSH File Transfer Protocol)? Do I need to download each page and associated media manually? Any advice would be appreciated.
DerekThe short answer is you cannot download your site to Verizon Personal Web Space any longer. If you cannot build it with sitebuilder (and I will refrain from commenting about the qualities (or lack thereof) of Sitebuilder, you are out of luck..
If you want to have a site, my advice is to either use some of the advertiser supported hosting companies, or spend the $50 or so per year for a real web site from a company like Godaddy. (www.godaddy.com).
Verizon is apparently concerned the FTP is insecure, but apparently the insecurity is just fine as long as you are a commercial customer paying Verizon for Web hosting services.
If you don't like the answer, I suggest you write, don't call, Verizon's CEO and tell him so. I did. -
Background job downloading missing some rows in sm37
Hi,
I am downloading background job output through spool request in excel format. Out of 2000 records some 50 records in the middle are not displayed.But those 50 records are there in the spool output.
When downloaded in text format means all 2000 records are downloaded correctly..
Give me a solution please...
Thanks and Regards,
JeniferJenifer,
When you download a spool in "Spreadsheet", SAP really downloads the data in tab delimited text format, even thought the file extension is .XLS.
So, just open the Excel file in notepad (or any other text editor) and see if the missing rows are present. If there are, then you have to figure out how to import the file properly into Excel file without losing the rows. -
Error in background job of downloading data to PC
Hi Gurus,
I hv created a report for downloading data to PC using
GUI_DOWNLOAD FM when scheduling job in background
job is getting canceled...................
give me some solution....thnaks friend.i hv used DATASET as u said...............
But I M getting dump
FILE IS NOT OPEN
this is my code
TYPES:BEGIN OF T_MARD,
MATNR LIKE MARD-MATNR,
WERKS LIKE MARD-WERKS,
LGORT LIKE MARD-LGORT,
LABST LIKE MARD-LABST,
MAKTX LIKE MAKT-MAKTX,
END OF T_MARD.
***********WORK AREAS**********
DATA: WA_MARD TYPE T_MARD,
WA_MARD1 TYPE T_MARD.
DATA:BEGIN OF IT_MARD1 OCCURS 0,
MATNR(18),
WERKS(4),
LGORT(4),
LABST(13),
MAKTX(40),
END OF IT_MARD1.
TYPES : BEGIN OF TY_BAT,
LINE(100) TYPE C,
END OF TY_BAT.
*********INTERNAL TABLES*******
DATA:IT_MARD TYPE STANDARD TABLE OF T_MARD INITIAL SIZE 0 WITH HEADER LINE .
types: BEGIN OF ITAB1,
FIELD(100),
END OF ITAB1.
DATA : IT_BAT TYPE TABLE OF TY_BAT,
WA_BAT TYPE TY_BAT,
wa_itab1 type itab1.
data : it_tab type table of ALSMEX_TABLINE with header line.
*DATA: FILENAME1 TYPE STRING valu.
*DATA: FILENAME1(500).
DATA: FILENAME1 TYPE RLGRAP-FILENAME .
LOOP AT IT_MARD1.
CONCATENATE IT_MARD1-MATNR IT_MARD1-LABST IT_MARD1-MAKTX
INTO wa_ITAB1 SEPARATED BY ' '.
APPEND wa_itab1 to IT_tab.
CLEAR wa_ITAB1.
CLEAR WA_MARD.
ENDLOOP.
CONCATENATE 'D:\STOCKINH\' SY-DATUM '.TXT' INTO FILENAME1.
open dataset filename1 for output in binary mode." ENCODING DEFAULT.
IF sy-subrc = 0.
EXIT.
ENDIF.
LOOP AT it_tab into wa_itab1.
TRANSFER wa_itab1 TO filename1.
CLEAR wa_itab1.
ENDLOOP.
close dataset filename1.
MESSAGE S001(38) WITH 'Files Generated'.
WA_BAT = 'ftp -s:d:\ftp\ftp_upload.txt'.
APPEND WA_BAT TO IT_BAT.
CLEAR FILENAME1.
FILENAME1 = 'D:\STOCKINH\ftp_upload.BAT'.
open dataset filename1 for output in binary mode." ENCODING DEFAULT.
IF sy-subrc = 0.
EXIT.
ENDIF.
LOOP AT it_bat INTO wa_bat.
TRANSFER wa_bat TO filename1.
CLEAR wa_bat.
ENDLOOP.
close dataset filename1.
CLEAR: IT_BAT.
REFRESH IT_BAT.
WA_BAT-LINE = 'open 10.100.103.199'.
APPEND WA_BAT TO IT_BAT.
CLEAR WA_BAT.
WA_BAT-LINE = 'epossync'.
APPEND WA_BAT TO IT_BAT.
CLEAR WA_BAT.
WA_BAT-LINE = 'sync@1234'.
APPEND WA_BAT TO IT_BAT.
CLEAR WA_BAT.
WA_BAT-LINE = 'lcd D:\STOCKINH\20080201.TXT'.
APPEND WA_BAT TO IT_BAT.
CLEAR WA_BAT.
WA_BAT-LINE = 'cd /home/epossync/AMIT'.
APPEND WA_BAT TO IT_BAT.
CLEAR WA_BAT.
WA_BAT-LINE = 'binary'.
APPEND WA_BAT TO IT_BAT.
CLEAR WA_BAT.
WA_BAT-LINE = 'hash'.
APPEND WA_BAT TO IT_BAT.
CLEAR WA_BAT.
WA_BAT-LINE = 'put D:\STOCKINH\20080201.txt'.
APPEND WA_BAT TO IT_BAT.
CLEAR WA_BAT.
WA_BAT-LINE = ' '.
APPEND WA_BAT TO IT_BAT.
CLEAR WA_BAT.
WA_BAT-LINE = 'bye'.
APPEND WA_BAT TO IT_BAT.
CLEAR WA_BAT.
CLEAR FILENAME1.
FILENAME1 = 'D:\STOCKINH\ftp_upload.txt'.
open dataset filename1 for output in binary mode." ENCODING DEFAULT.
IF sy-subrc = 0.
EXIT.
ENDIF.
LOOP AT it_bat INTO wa_bat.
TRANSFER wa_bat TO filename1.
CLEAR wa_bat.
ENDLOOP.
close dataset filename1. -
Why the background job for downloading file failed?
I have a background job for downloading file with logical path.
with
'OPEN DATASET l_out_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT';
Now, the program can be run in foreground;but when it running on background, it shows 'open file error'.
I do not know what happen?
Please help ~~Hi,
The logical path you have provided might be incorrect or you might not have the necessary authorization to read/write on that folder.
Please check the folder in transaction AL11 & check whether you have the authorization to read/write. BASIS consultant would be able to tell you about it.
Best regards,
Prashant -
Background job to download standard ALV reports
Hi,
Could anyone knows how to download an standard ALV report in a background job?
In a job I made, some ALV reports were precessed and made, and their spools were made,
but not downloaded.
Regerds,
Katsumi Makabehi,
I think you can have a network shared folder on application server.
you said that it is a comma separated file.
1) Using TCODE CG3Z, upload the flat file to application server , remember to copy the path (it contains file path aswellas name).
2) Using DATASET read the filepath along with the name and read each line into workarea and split at ',' into fields.
3) Then append those fields to internal table.
using the FMs job_open, job_submit and job_close you can go for background scheduling.
Please go through the following link for sample code on FTP.
http://abap4.tripod.com/FTP_Using_SAP_Functions.html
Reward points if helpful.
Thanks and regards -
Download ALV result list as excel-file in background job
Dear Experts,
I am looking for a possibily to download the result of an ALV based report as excel-file in a background job. Surely there is a standard function which can be used or at least some hints how to implement this. I searched the forum but couldn't find a thread which was covering this problem exactly.
Thanks in advance
BenjaminDear Mr. Krapf,
it is possible to output an ALV list to an Excel file in the background but there are some limitations.
Please consider the following notes:
#7925 Graphics, Upload, Download do not work in backgrnd
#65050 Data types and file formats in files (DATASET)
#145073 - FAQ Report Writer: Excel download
#569537 - Incorrect data during import into Excel
#590126 Sending CSV documents up to Release 4.6
Please be aware that they are all Basis notes. So for more information you might ask in the Basis SDN Forum.
Best regards, Christin Angus -
Hi
Is it possible to set a program , that contains the download , in background?
If so, how?
Thank U
Narendrahi,
You cannot download to the frontend in a background job because the GUI isn't available.
You will have to use OPEN DATASET stmts and
put the file on the Application server in the background
and then use the transaction CG3Y in the foreground to download the file to the pc from the application server.
regards,
priya.
Maybe you are looking for
-
ITunes keeps losing track of music on my external hard drive.
I keep "new" music on my laptop and my vast library of "old" music on an external harddrive ('cause there's not nearly enough space on my laptop...and not enough remaining space on my ext. harddrive to put all the music there either). iTunes is good
-
Stationary credated in Mail does not appear properly when viewed in Outlook, is there around this? Or, can I export (as a PDF) the email drafted in Mail with stationary that does not have the meail info on top of the page . Thanks so much for your he
-
This probably sounds silly, but if I reset my IPOD will I loose all my songs? Spirit Windows XP
-
I am trying to run WIP settlement through KKAO and CO88 system creates document with document type "SA". I want to change the document type. Please confirm where i have change the customization? Regards
-
hi all, my requirement is i want to display internal table items in new page when forst page is filled. ihve given the code like loop at it_table. write form given the text element inthe write form. endloop. how to trigger new-page when the first pag