Execute a program only in background
Hi,
When we set sy-batch to 'X',this will enable the background processing functionality.
But is there any other variable or any method to avoid the below functionality.
execute program by pressing F8.On selection-screen,in the menu bar under 'Program',there is a drop down which says 'Execute in background'.
Is it possible to prevent the program from executing in this manner?If yes,how?
The user should not execute in background in this manner with his/her own variants.That is the idea of this functionality.
Regards
Joseph
Will surely read the forum rules in future
Edited by: Julius Bussche on Sep 7, 2009 11:57 AM
>
Joseph Thekkekara wrote:
> Hi,
> When we set sy-batch to 'X',this will enable the background processing functionality.
> But is there any other variable or any method to avoid the below functionality.
>
> execute program by pressing F8.On selection-screen,in the menu bar under 'Program',there is a drop down which says 'Execute in background'.
>
> Is it possible to prevent the program from executing in this manner?If yes,how?
> The user should not execute in background in this manner with his/her own variants.That is the idea of this functionality.
>
> Regards
> Joseph
>
> Will surely read the forum rules in future
>
> Edited by: Julius Bussche on Sep 7, 2009 11:57 AM
Hello Joseph
Please check the code below, this will disable the 'Execute in Backgroup' option in the selection screen.
REPORT zytest1.
PARAMETERS:
p_test TYPE c.
DATA:
gt_exclude TYPE TABLE OF sy-ucomm.
AT SELECTION-SCREEN OUTPUT.
APPEND 'SJOB' TO gt_exclude.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
* P_PROGRAM = ' '
tables
p_exclude = gt_exclude.
Regards
Rajesh.
Similar Messages
-
Function module to execute the program in the background.
Hi Experts,
I have two reports i am calling report2 from report1. Here the problem is i wanted to pass the input parameters using the "submit" statement and i wanted only one field value from the report2... whcih is used in report1 and i dont wanted to display the selection screen or output of report2. i am using the submit and return and i am unable to get it... can any one suggest and send me a peace of code.. for this...
he would be rewarded
Regards,
Rajashekahr.Aif you don't want the selection screen or the output...you can use the option
SUBMIT <RPT> EXPORTING LIST TO MEMORY AND RETURN
this will directly execute the report without showing you the selection screen or the output..
now you also want a value from report 2 into report1...you can set the value from report 2 into a memory variable..using EXPORT to memory id option....
hope it helps -
Problem when I execute program SCM in background
Hi experts,
I am with problem when I execute a program (SCM) in background. I inserted a new field (estoque_seg(10)) and the process stopped at execute in background.When I call transaction and press F8, works but for this, I need jump the consistence IF sy-batch IS INITIAL....Dont has any bath imput, only functions. Any idea?
Follow below the code:
Estrutura para tabela ENTRADA
DATA: BEGIN OF st_entrada,
matnr(40) TYPE c,
werks(20) TYPE c,
ponto_abas(10) TYPE c,
estoque_max(10) TYPE c,
cobertura(10) TYPE c,
estoque_seg(10) TYPE c, " Erlon Lourenço 20/01/2011
END OF st_entrada.
Estrutura para tabela de LOG
*TYPES: BEGIN OF st_saida,
pernr(8) TYPE c ,
date(10) TYPE c,
er_contribuition(15) TYPE c,
tax(15) TYPE c,
msg_erro(80) TYPE c,
END OF st_saida.
Tabela para obter descricao da mensagem
*DATA: ti_saida TYPE STANDARD TABLE OF st_saida WITH HEADER LINE
INITIAL SIZE 0.
Tabela que recebera o arquivo texto
DATA: BEGIN OF ti_entrada OCCURS 0.
INCLUDE STRUCTURE st_entrada.
DATA: END OF ti_entrada.
DATA: BEGIN OF it_matid OCCURS 0,
matnr TYPE /sapapo/matkey-matnr,
matid TYPE /sapapo/matkey-matid,
END OF it_matid.
DATA: BEGIN OF it_locid OCCURS 0,
locno TYPE /sapapo/loc-locno,
locid TYPE /sapapo/loc-locid,
END OF it_locid.
DATA: BEGIN OF it_matlotsz OCCURS 0,
target_dur TYPE /sapapo/matlotsz-target_dur,
END OF it_matlotsz.
DATA: wa_matloc LIKE /sapapo/matloc OCCURS 0 WITH HEADER LINE,
wa_matlsim LIKE /sapapo/matlsim OCCURS 0 WITH HEADER LINE,
wa_matlotsz LIKE /sapapo/matlotsz OCCURS 0 WITH HEADER LINE.
Variáveis Globais
DATA: v_tabix TYPE sy-tabix,
v_vrsioid TYPE /sapapo/apo01-vrsioid,
v_tam TYPE i.
Select-Options & Parameters
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_versao TYPE /sapapo/apo01-vrsioex OBLIGATORY DEFAULT '000',
p_abas AS CHECKBOX ,
p_est AS CHECKBOX ,
p_cober AS CHECKBOX ,
p_estsg AS CHECKBOX. " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
SELECTION-SCREEN END OF BLOCK b1.
Start-of-Selection
START-OF-SELECTION.
PERFORM consiste.
PERFORM f_upload.
PERFORM f_processa_batch.
PERFORM f_saida_dados.
MESSAGE i000 WITH 'Processo encerrado com Sucesso'.
END-OF-SELECTION.
*& Form F_UPLOAD
text
--> p1 text
<-- p2 text
FORM f_upload .
DATA: lc_file TYPE string.
TYPES: BEGIN OF st_ent,
cam(80),
END OF st_ent.
DATA: ti_ent TYPE STANDARD TABLE OF st_ent WITH HEADER LINE
INITIAL SIZE 0.
RANGES: r_file FOR zget0001-field_content.
r_file[] = zbs_constantes=>obter( i_bukrs = space i_field = 'FILE' i_process = 'PONTO-REAB' ).
READ TABLE r_file INDEX 1.
lc_file = r_file-low.
CLEAR: ti_entrada,
ti_entrada[],
ti_ent,
ti_ent[].
abrir arquivo para leitura
OPEN DATASET lc_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
MESSAGE i000 WITH text-e01.
STOP.
ENDIF.
Leitura de arquivos
DO.
READ DATASET lc_file INTO ti_ent.
IF sy-subrc <> 0.
EXIT.
ENDIF.
APPEND ti_ent.
ENDDO.
Fechamento do arquivo
CLOSE DATASET lc_file.
LOOP AT ti_ent.
SPLIT ti_ent AT ';' INTO ti_entrada-matnr ti_entrada-werks ti_entrada-ponto_abas ti_entrada-estoque_max ti_entrada-cobertura ti_entrada-estoque_seg.
APPEND ti_entrada.
ENDLOOP.
ENDFORM. " F_UPLOAD
*& Form F_PROCESSA_BATCH
text
--> p1 text
<-- p2 text
FORM f_processa_batch .
LOOP AT ti_entrada.
v_tabix = sy-tabix.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-matnr
IMPORTING
output = ti_entrada-matnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-ponto_abas
IMPORTING
output = ti_entrada-ponto_abas.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-estoque_max
IMPORTING
output = ti_entrada-estoque_max.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-cobertura
IMPORTING
output = ti_entrada-cobertura.
IA - ERLON LOURENCO - 20/01/2012
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-estoque_seg
IMPORTING
output = ti_entrada-estoque_seg.
FA - ERLON LOURENCO - 20/01/2012
MODIFY ti_entrada INDEX v_tabix.
ENDLOOP.
CLEAR: it_matid,
it_matid[],
it_locid,
it_locid[],
wa_matlsim,
wa_matlsim[],
wa_matloc,
wa_matloc[].
SELECT matnr matid INTO TABLE it_matid FROM /sapapo/matkey
FOR ALL ENTRIES IN ti_entrada WHERE matnr = ti_entrada-matnr.
SELECT locno locid INTO TABLE it_locid FROM /sapapo/loc
FOR ALL ENTRIES IN ti_entrada WHERE locno = ti_entrada-werks.
IF p_versao = '000'.
LOOP AT ti_entrada.
READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
IF sy-subrc = 0 .
READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
IF sy-subrc = 0.
SELECT SINGLE * INTO wa_matloc FROM /sapapo/matloc WHERE matid = it_matid-matid AND
locid = it_locid-locid.
IF sy-subrc = 0.
IF p_abas = 'X'.
wa_matloc-reord = ti_entrada-ponto_abas.
ENDIF.
IF p_est = 'X'.
wa_matloc-maxstock = ti_entrada-estoque_max.
ENDIF.
" IA - Erlon Lourenço - 23/01/2012
if p_estsg = 'X'.
wa_matloc-safty = ti_entrada-estoque_seg. " Erlon Lourenço - 23/01/2012
endif.
"FA - Erlon Lourenço - 23/01/2012
IF p_abas = 'X' OR
p_est = 'X' OR
p_estsg = 'X'. " Erlon Lourenço - 23/01/2012
APPEND wa_matloc TO wa_matloc.
ENDIF.
SELECT SINGLE * INTO wa_matlotsz FROM /sapapo/matlotsz WHERE lszid = wa_matloc-lszid.
IF sy-subrc = 0.
IF p_cober = 'X'.
wa_matlotsz-target_dur = ti_entrada-cobertura.
APPEND wa_matlotsz TO wa_matlotsz.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP. " LOOP AT ti_entrada.
ELSE.
Verifica versáo para saber se preenche a tabela wa_matlsim
SELECT SINGLE vrsioid INTO v_vrsioid FROM /sapapo/apo01 WHERE vrsioex = p_versao.
IF sy-subrc = 0.
SELECT * INTO TABLE wa_matlsim FROM /sapapo/matlsim WHERE simid = v_vrsioid.
IF wa_matlsim[] IS NOT INITIAL.
LOOP AT ti_entrada.
READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
IF sy-subrc = 0 .
READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
IF sy-subrc = 0.
READ TABLE wa_matlsim WITH KEY matid = wa_matloc-matid
locid = wa_matloc-locid.
IF sy-subrc = 0.
wa_matlsim-reord = ti_entrada-ponto_abas.
wa_matlsim-maxstock = ti_entrada-estoque_max.
wa_matlsim-safty = ti_entrada-estoque_seg. " Erlon Lourenço - 23/01/2012
MODIFY wa_matlsim INDEX v_tabix.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP. " LOOP AT ti_entrada.
ENDIF. " IF wa_matlsim[] IS NOT INITIAL.
ENDIF. " IF sy-subrc = 0. 1º
ENDIF. "IF p_versao = '000'
Funcáo que atualiza campos nas bases de dados.
CALL FUNCTION '/SAPAPO/DM_PRODUCTS_POST'
EXPORTING
iv_vb = 'U'
TABLES
it_matloc = wa_matloc
it_matlsim = wa_matlsim
it_matlotsz = wa_matlotsz
EXCEPTIONS
not_qualified = 1
insert_failed = 2
update_failed = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " F_PROCESSA_BATCH
FORM BDC_DYNPRO
*& Form F_SAIDA_DADOS
text
--> p1 text
<-- p2 text
FORM f_saida_dados .
IF ti_saida[] IS NOT INITIAL.
DATA: lc_file TYPE string.
lc_file = p_erros.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = lc_file
FILETYPE = 'ASC'
TABLES
data_tab = ti_saida
FIELDNAMES =
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE i005 WITH 'Error to unload file !'.
STOP.
ENDIF.
ENDIF.
ENDFORM. " F_SAIDA_DADOS
*& Form CONSISTE
text
--> p1 text
<-- p2 text
FORM consiste .
IF p_abas IS INITIAL AND
p_est IS INITIAL AND
p_cober IS INITIAL AND
p_estsg IS INITIAL. " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
MESSAGE i000 WITH text-e03.
STOP.
ENDIF.
IF sy-batch IS INITIAL.
MESSAGE i000 WITH text-e02.
STOP.
ENDIF.
Best regards,
Erlon Lourenço
Edited by: Erlon Louren on Jan 27, 2012 11:09 AMHi Raja,
Check weather there are any enhancements to the datasource.If yes once check the code in CMOD.Seems there is some discrepency in that.
Regards
Karthik -
Executing the program in Background
Hi experts i'm trying to Execute the Program in background.
Given the Input and output file locations and Press F9 for process the program in background from SE38. cause i want to run my program as a batch(Background)
but its not accepting. can you please help me how to resolve this issue.
i'm providing the code can you please verify that.
Many Thanks
SELECTION-SCREEN *
selection-screen begin of block b1 with frame title text-001.
*.. Filename
PARAMETERS: f_name TYPE char100, "Upload filename
d_name TYPE char100. " Download filename
selection-screen end of block b1 .
SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS: p_serv radiobutton group RAD1,
p_frnt radiobutton group RAD1 default 'X'.
SELECTION-SCREEN: END OF BLOCK b2.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR f_name.
*.. Data Declaration
DATA: lt_file TYPE filetable,
lv_file TYPE LINE OF filetable,
rc_i TYPE i,
cl_gui TYPE REF TO cl_gui_frontend_services,
w_path LIKE dxfields-longpath.
*.. Check if from server or frontend
IF p_frnt = 'X'.
*.. Create objects for method
CREATE OBJECT cl_gui.
*.. Clear the filename
CLEAR f_name.
*.. Call method to search for file
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Choose Input File'
CHANGING
file_table = lt_file
rc = rc_i
EXCEPTIONS
OTHERS = 4.
*.. Check if file found
IF sy-subrc EQ 0.
*.. Check that file path not empty
CHECK NOT lt_file[] IS INITIAL.
LOOP AT lt_file INTO lv_file.
*.. Set parameter to filename
f_name = lv_file-filename.
ENDLOOP.
ENDIF.
*.. Free object
FREE cl_gui.
*.. Upload from Server
ELSE.
Retrieve filename
CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
EXPORTING
i_location_flag = 'A'
i_server = ' '
i_path = '/sap_ftp/'
filemask = '**'
fileoperation = 'R'
IMPORTING
O_LOCATION_FLAG =
O_SERVER =
o_path = w_path
ABEND_FLAG =
EXCEPTIONS
rfc_error = 1
error_with_gui = 2
OTHERS = 3.
Set file path
f_name = w_path.
ENDIF.
*.. File selection for output file
AT SELECTION-SCREEN ON VALUE-REQUEST FOR d_name.
*.. Only allow search for front-end
IF p_frnt = 'X'.
*.. Data Declaration
DATA: lt_file TYPE filetable,
lv_file TYPE LINE OF filetable,
rc_i TYPE i,
cl_gui TYPE REF TO cl_gui_frontend_services.
*.. Create objects for method
CREATE OBJECT cl_gui.
*.. Clear the filename
CLEAR d_name.
*.. Call method to search for file
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Choose Input File'
CHANGING
file_table = lt_file
rc = rc_i
EXCEPTIONS
OTHERS = 4.
*.. Check if file found
IF sy-subrc EQ 0.
*.. Check that file path not empty
CHECK NOT lt_file[] IS INITIAL.
LOOP AT lt_file INTO lv_file.
*.. Set parameter to filename
d_name = lv_file-filename.
ENDLOOP.
ENDIF.
*.. Free object
FREE cl_gui.
ENDIF.
*.. General Checks for Selection screen
AT SELECTION-SCREEN.
*.. Check if program run in batch mode and ping directory
IF sy-batch = 'X'.
*.. Move filename to file_name
file_name = d_name.
*.. Check if path can be reached
OPEN DATASET file_name FOR INPUT IN TEXT MODE.
IF sy-subrc NE 0.
MESSAGE e082(zsomerfield).
ENDIF.
ENDIF.
NITIALIZATION.
*.. ALV Variables
variant_save = 'A'.
w_repid = sy-repid.
w_variant_handle = c_handl.
START-OF-SELECTION *
START-OF-SELECTION.
*.. Check if batch program running in batch mode or not
IF sy-batch = 'X'.
*.. Open file on application server for reading
OPEN DATASET file_name FOR INPUT IN TEXT MODE.
DO.
*.. Upload entries
READ DATASET file_name INTO zpernr.
*.. IF end of file reached then exit DO statement
IF sy-subrc = '4'.
EXIT.
ELSE.
*.. IF entry found then add to employee table
in_file-empnum = zpernr.
*.. Add entries to table
APPEND: in_file.
*.. Clear header lines
CLEAR: in_file, zpernr.
ENDIF.
ENDDO.
*.. Close dataset
CLOSE DATASET file_name.
*.. Get file from frontend and run in foreground
ELSE.
*.. Upload from local machine.
DATA: file_name TYPE string. "LIKE rlgrap-filename,
*.. Set filename to filename from screen
file_name = f_name.
*.. Upload the information from the file into the table in_file
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file_name
TABLES
data_tab = in_file
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
*.. Make sure file uploaded correctly
IF sy-subrc <> 0.
MESSAGE E018(ZHR_MESSAGES).
ELSE.
MESSAGE i017(ZHR_MESSAGES).
ENDIF.
ENDIF.Hi Vamsi,
<b>First Check in the Foreground your program is working for the application server file or not</b>
When you will Execute your program in Background internal table "ZPERNR" will be populated from the file that is there on the application server.
After that what you want to do with the internal table.I think you have not sent the whole code.
In background FM GUI_UPLOAD willl not work.
If you want to debug your code put wait for 100 seconds at the place where you want to dubug your code.Go to transaction code SM50 your job will be running there.
Select Your job
Go to Menu Bar Program/Mode - > program - > Debugging.
In this way you can debug your code.
First Check in the Foreground your program is working for the application server file or not -
How do i force a program to only in background
a zreport which is gives stock report and mrp and some data. It is IS retail so the materials are huge. i need to run this program on in background even if it is intended to run ionf oreground. pls suggest
Hi navid,
1. simple
2. sy-batch
3. Use this variable
it will contain 'X'
only if the program is run in background
4. START-OF-SELECTION.
IF SY-BATCH IS INITIAL.
MESSAGE 'CANNOT RUN IN FOREGROUND' TYPE 'I'.
LEAVE LIST-PROCESSING.
ENDIF.
regards,
amit m. -
How to set a Executable ABAP Program to run as a Background Batch Job
Hi
Currently I had a Executable ABAP Program which when executed prompts for user to enter selection once entered and executed it will delete user entered selections from a Table.
Now my requirment is to enhance that program to run it as a BACKGROUND BATCH JOB so that there will be an entry in SM37 when the program is executed
How can i achieve thisHi,
Please refer this link .
It has the steps.
http://sapient.wordpress.com/2007/06/19/how-do-you-set-up-background-jobs-in-sap/
Regards,
SuryaD. -
Vaue of sy-tcode when executing the report program in the background
Hello All,
To test and find out the value of sy-tcode when the report program is exectued in the background. I have done the below steps.
1. created a report program with the code given below.
Select option was just defiend to get the selection screen. it is of no use.
Select-options: s_name for sy-uname.
Write:/ sy-uname,sy-tcode.
2. then I created a transaction for the program to identify whether the value of sy-tcode explicitly.
3. Then I launched the transaction and in the selection screen of the program I selected the option of executing the program in the backgroung and i process the job immediately.
4 . In the spool I am able to see the correct sy-uname value but not the sy-tcode.
Where as if i am executing it in the foregroung it is giving the correct value of sy-uname and sy-tcode.
Can anybody provide me the reason as to why this is happening . that is in the backgound mode the value of sy-tcode is getting cleared.
Thanks,
MohitHello,
As they say it is an SAP standard behavior, you can "hardcode" the transaction itself into the ABAP code...
ie:
if sy-batch eq 'X' "->IT MEANS THAT IT IS A BACKGROUND JOB.
w_tcode = 'Z*****'.
else.
endif.
bYE!!
Gabriel P.- -
Executable programs only!!
Is there any way of finding ONLY executable programs ( these should not have any UPDATE/ INSERT/ CALL TRANSACTION / ETC statements.)
I looked through the tables TADIR, TRDIRT and view TRDIR with SUBC = 1 ( executable program) with no luck. Becuase, an executable program may also contain above statements. I need only executable report programs.
Thanks,
SKJHello
For analysing single reports or transactions you can use function module <b>RS_PROGRAM_TABLES</b>. Call this function module with the following parameters (MONITOR_ACTIVATE = 'X'):
OBJECT_TYPE = 'TRAN'
OBJECT_NAME = 'VA01'
Or:
OBJECT_TYPE = 'PROG'
PROGRAM = 'RSTXICON'
Regards
Uwe -
Executing 4 programs parallely via main program in background
I am executing a program in background and that program internally calls 4 other programs. I want to execute those 4 programs at the same time (concurrently).
Please suggest.
Regards,
Rajendra DhakaRefer:
http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e92543b11d1898e0000e8322d00/content.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/c4/3a7f1f505211d189550000e829fbbd/content.htm
Edited by: AJAY TIWARI on Nov 15, 2008 7:33 AM -
How to get the custom program generated in Background
Dear Freinds,
I have written a below code in my submit program ( zreport) .
REPORT ZHRRPCPRRU0_SUBMIT NO STANDARD PAGE HEADING MESSAGE-ID zhr_msg.
SUBMIT RPTQTA00 VIA SELECTION-SCREEN
WITH pnpbegda = sy-datum
WITH pnpendda = lv_date
with pnppernr = '99007057'.
As per your logic i have used the submit program and i am able to default the dates in the Standard program RPTQTA00 , that is perfectly correct . Now if run the standard report it is giivng me the ouput ..so the foreground concept is working correctly.
Now if iam scheduling the Z report of the custom report (z program) where iam calling the submit program
it is just scheduling and further when i look at the sm37 i can see the job getting finished . However , i dont find any spool because the standard report has not been executed , with my custom report (using the logic with submit program above in zprogram ) i am calling the standard program (RPTQTA00).
so could you please let me know how the standard program will execute and get the spool genereated? in the case of background
because when i have executed only the standard report in background i can see that it is being exceuted spool as well, however when iam calling from custom program no spool is created because my custom program only submiting the standard report and it is not executing the standard report in the case of backround ...because when iam running the custom program in the Foreground it is calling the standard program and getting the values defaulted based on the parameters which i passed , so it gets defaulted later iam running the standard program manually .
So please could you let me know how will the standard program also gets genereated in the backgroung along with my custom report.
Thanks in advance
regards
madhuri,Hi Can you try the following?
Hope this helps... (Taken from help)
Example
Scheduling a submitable program as a background task with the number number in a background request name. After scheduling, the background task is completed by function module JOB_CLOSE and released immediately.
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
print_parameters TYPE pri_params.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT submitable TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
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.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF. -
Using SUBMIT program command in Background
Hi,
I am submitting the program in Background using Submit<program> command.
Job is getting released but not fininishing(not executing the program) in ECC6.0.
Same program is working in fine in 4.5b.
Please let me know if any one faces this situation. Its very urgent.
Expecting the reply from you soon..
Thanks
Regards,
Raj AHi,
perhaps you or your admin have configured to less batch-workprocess or they are all configured only for A-class jobs.
Try to start the job as A-Class job. If the program is executed, then ask your administrator to configure more batch workprocess that are not reserved for A-class jobs.
Regards,
Stefan -
Running program in the background
Hi everybody!
I need to run program in the background.
So I need only to change the sy-batch status to 'X'?HI,
if your program is runninn in the Background then the System field SY-BATCH will become 'X' otherwise it will have space ......
it will not execute the job in the background if you put SY-BATCH = 'X'
you need to use: Job_open , Job_submit and job_close function modules
example:
*Submit report as job(i.e. in background)
data: jobname like tbtcjob-jobname value
' TRANSFER TRANSLATION'.
data: jobcount like tbtcjob-jobcount,
host like msxxlist-host.
data: begin of starttime.
include structure tbtcstrt.
data: end of starttime.
data: starttimeimmediate like btch0000-char1.
Job open
call function 'JOB_OPEN'
exporting
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit
importing
jobcount = jobcount
exceptions
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03.
if sy-subrc ne 0.
"error processing
endif.
Insert process into job
SUBMIT zreport and return
with p_param1 = 'value'
with p_param2 = 'value'
user sy-uname
via job jobname
number jobcount.
if sy-subrc > 0.
"error processing
endif.
Close job
starttime-sdlstrtdt = sy-datum + 1.
starttime-sdlstrttm = '220000'.
call function 'JOB_CLOSE'
exporting
event_id = starttime-eventid
event_param = starttime-eventparm
event_periodic = starttime-periodic
jobcount = jobcount
jobname = jobname
laststrtdt = starttime-laststrtdt
laststrttm = starttime-laststrttm
prddays = 1
prdhours = 0
prdmins = 0
prdmonths = 0
prdweeks = 0
sdlstrtdt = starttime-sdlstrtdt
sdlstrttm = starttime-sdlstrttm
strtimmed = starttimeimmediate
targetsystem = host
exceptions
cant_start_immediate = 01
invalid_startdate = 02
jobname_missing = 03
job_close_failed = 04
job_nosteps = 05
job_notex = 06
lock_failed = 07
others = 99.
if sy-subrc eq 0.
"error processing
endif.
Thanks
Sudheer -
Error in executing ABAP program. Error occurred when creating dataset
hi,
when I use LKM SAP ERP to Oracle (SQLLDR) to extract data from SAP ERP server. I execute my interface, and it's stop at extract data step.
This is message:
java.lang.RuntimeException: Error occured in open tool execute method...Error in executing ABAP program...Error in executing ABAP program...Error occurred when creating dataset/abc/ZODI_13001_6001_GLOBAL.txt
I tried others path name, tried slash or backslash. This is content in code tab
OdiSAPAbapExecute "-UPLOAD=1" "-EXECUTE=1" "-EXECUTEBASE_RKM=0" "-ZRFC_RUN_INSTALL=1" "-ABAP_PROGRAM_NAME=ZODI_13001_6001" "-HOST=10.86.87.24" "-USER=sv_hoa" "-PASSWORD=<@=snpRef.getInfo("SRC_PASS") @>" "-SAP_CLIENT=800" "-SAP_LANGUAGE=EN" "-SAP_SYSTEM_NUMBER=02" "-SAP_FUNCTION_GROUP_NAME=ZODI_FGR_13001" "-CONNECTION_POOL_NAME=SAP_ODI_ERP_POOL_10.86.87.24" "-CONNECTION_POOL_SIZE=10" "-FILE_DELIMITER=<@=""+(char)8@>" "-FILE_NAME=ZODI_13001_6001_GLOBAL.txt" "-FTP_HOST=10.86.82.108" "-FTP_USER=anh" "-FTP_PASSWORD=<@=sFtpPassword@>" "-FTP_PASSIVE_MODE=1" "-FTP_TRANSFER_TIMEOUT=100000" "-ODI_VARIABLE_NAMES=" "-ODI_VARIABLE_VALUES=" "-USER_ABAP_PARAMETER_NAMES=IV_DELIMITER,CHAR3;IV_FILENAME,CHAR255;IV_USER,CHAR35;IV_PWD,CHAR35;IV_HOST,CHAR35;IV_HASHVALUE,CHAR35;IV_PATH,CHAR35;IV_MAX_ROW_CNT,SYTABIX;IV_FETCH_BATCH_SIZE,SYTABIX;" "-USER_ABAP_PARAMETER_VALUES=<Value>" "-USER_ABAP_PARAMETER_SEPARATOR=<Value>" "-ABAP_TABLE_PARAMETERS=RETURN,BAPIRETURN;ET_FILE_RETURN,BAPIRET2" "-ABAP_EXPORT_PARAMETERS=ERRORMESSAGE;SY-MSGV1" "-LOG_FILE_NAME=C:\Users\anh\AppData\Local\Temp\SapAbapExecuteOpenTool_13001.log" "-FTP_PATH=/abc/" "-DEV_CLASS=ZODI_DEVCLASS" "-MAX_ROW_COUNT=" "-FETCH_BATCH_SIZE=100000" "-HASH_VALUE_MARKER=HVM" "-ABAP_PROGRAM_BODY=
*Final Type declarations
TYPES : BEGIN OF ty_final,
Y03HOCSINH_HOCSINH_ID TYPE
Y03HOCSINH-HOCSINH_ID,
Y03HOCSINH_MA_HOC_SINH TYPE
Y03HOCSINH-MA_HOC_SINH,
Y03HOCSINH_TEN_HOC_SINH TYPE
Y03HOCSINH-TEN_HOC_SINH,
Y03HOCSINH_GIOI_TINH TYPE
Y03HOCSINH-GIOI_TINH,
Y03HOCSINH_DIA_CHI TYPE
Y03HOCSINH-DIA_CHI,
Y03HOCSINH_GHI_CHU TYPE
Y03HOCSINH-GHI_CHU,
END OF ty_final.
*Final Temp Type Declarations
TYPES : BEGIN OF ty_final_tmp,
Y03HOCSINH_HOCSINH_ID TYPE
Y03HOCSINH-HOCSINH_ID ,
Y03HOCSINH_MA_HOC_SINH TYPE
Y03HOCSINH-MA_HOC_SINH ,
Y03HOCSINH_TEN_HOC_SINH TYPE
Y03HOCSINH-TEN_HOC_SINH ,
Y03HOCSINH_GIOI_TINH TYPE
Y03HOCSINH-GIOI_TINH ,
Y03HOCSINH_DIA_CHI TYPE
Y03HOCSINH-DIA_CHI ,
Y03HOCSINH_GHI_CHU TYPE
Y03HOCSINH-GHI_CHU ,
END OF ty_final_tmp.
*Final Target Type Declarations
TYPES : BEGIN OF ty_final_target,
C0_Y03HOCSINH_HOCSINH_ID TYPE
Y03HOCSINH-HOCSINH_ID,
C1_Y03HOCSINH_MA_HOC_SINH TYPE
Y03HOCSINH-MA_HOC_SINH,
C2_Y03HOCSINH_TEN_HOC_SINH TYPE
Y03HOCSINH-TEN_HOC_SINH,
C3_Y03HOCSINH_GIOI_TINH TYPE
Y03HOCSINH-GIOI_TINH,
C4_Y03HOCSINH_DIA_CHI TYPE
Y03HOCSINH-DIA_CHI,
C5_Y03HOCSINH_GHI_CHU TYPE
Y03HOCSINH-GHI_CHU,
END OF ty_final_target.
* Table type for Y03HOCSINH
TYPES : BEGIN OF ty_Y03HOCSINH,
HOCSINH_ID TYPE
Y03HOCSINH-HOCSINH_ID,
MA_HOC_SINH TYPE
Y03HOCSINH-MA_HOC_SINH,
TEN_HOC_SINH TYPE
Y03HOCSINH-TEN_HOC_SINH,
GIOI_TINH TYPE
Y03HOCSINH-GIOI_TINH,
DIA_CHI TYPE
Y03HOCSINH-DIA_CHI,
GHI_CHU TYPE
Y03HOCSINH-GHI_CHU,
END OF ty_Y03HOCSINH.
TYPES: BEGIN OF gs_text,
line(843) TYPE c,
END OF gs_text.
*Structure Declarations
DATA: wa_final_string TYPE string,
wa_final TYPE ty_final,
wa_final_target TYPE ty_final_target,
wa_Y03HOCSINH TYPE ty_Y03HOCSINH,
*Table Declarations
tt_final TYPE STANDARD TABLE OF ty_final,
tt_Y03HOCSINH TYPE STANDARD TABLE OF ty_Y03HOCSINH,
tt_final_target TYPE STANDARD TABLE
OF ty_final_target,
tt_final_tmp TYPE STANDARD TABLE OF ty_final_tmp,
tt_final_tmp1 TYPE STANDARD TABLE OF ty_final,
gt_result TYPE STANDARD TABLE OF gs_text,
*Variable Declarations
lv_path TYPE string,
lv_flag TYPE char1,
C0_Y03HOCSINH_HOCSINH_ID TYPE
STRING,
C1_Y03HOCSINH_MA_HOC_SINH TYPE
STRING,
C2_Y03HOCSINH_TEN_HOC_SINH TYPE
STRING,
C3_Y03HOCSINH_GIOI_TINH TYPE
STRING,
C4_Y03HOCSINH_DIA_CHI TYPE
STRING,
C5_Y03HOCSINH_GHI_CHU TYPE
STRING,
wa_final_tmp TYPE ty_final_tmp,
lv_file TYPE string,
lv_datum TYPE sy-datum,
lv_date TYPE char10,
wa_result TYPE string,
lv_delimiter type string,
lv_cnt TYPE sytabix,
*-Cursor Declaration
lv_Y03HOCSINH_dbcur TYPE cursor,
lv_tabix_frm TYPE sy-tabix.
lv_delimiter = iv_delimiter.
IF iv_hashvalue = 'HVM'.
*Open/delete output file
CONCATENATE iv_path iv_filename INTO lv_path.
*Check for file existence, if found, delete it
OPEN DATASET lv_path FOR INPUT
IN TEXT MODE
ENCODING DEFAULT.
IF sy-subrc EQ 0.
DELETE DATASET lv_path.
ENDIF.
*Open/create output file
OPEN DATASET lv_path FOR APPENDING
IN TEXT MODE
ENCODING DEFAULT.
IF sy-subrc EQ 0.
*Batch Processing
OPEN CURSOR WITH HOLD lv_Y03HOCSINH_dbcur FOR
SELECT HOCSINH_ID
MA_HOC_SINH
TEN_HOC_SINH
GIOI_TINH
DIA_CHI
GHI_CHU
FROM Y03HOCSINH.
DO.
*Check for the counter, only for first batch
*process new line is required...
lv_cnt = lv_cnt + 1.
REFRESH tt_Y03HOCSINH.
FETCH NEXT CURSOR lv_Y03HOCSINH_dbcur
APPENDING TABLE tt_Y03HOCSINH
PACKAGE SIZE IV_FETCH_BATCH_SIZE.
IF NOT tt_Y03HOCSINH IS INITIAL.
ELSE.
EXIT.
ENDIF.
LOOP AT tt_Y03HOCSINH INTO wa_Y03HOCSINH.
MOVE wa_Y03HOCSINH-HOCSINH_ID
TO wa_final_tmp-Y03HOCSINH_HOCSINH_ID.
MOVE wa_Y03HOCSINH-MA_HOC_SINH
TO wa_final_tmp-Y03HOCSINH_MA_HOC_SINH.
MOVE wa_Y03HOCSINH-TEN_HOC_SINH
TO wa_final_tmp-Y03HOCSINH_TEN_HOC_SINH.
MOVE wa_Y03HOCSINH-GIOI_TINH
TO wa_final_tmp-Y03HOCSINH_GIOI_TINH.
MOVE wa_Y03HOCSINH-DIA_CHI
TO wa_final_tmp-Y03HOCSINH_DIA_CHI.
MOVE wa_Y03HOCSINH-GHI_CHU
TO wa_final_tmp-Y03HOCSINH_GHI_CHU.
APPEND wa_final_tmp TO tt_final_tmp.
ENDLOOP.
free : tt_Y03HOCSINH.
LOOP AT tt_final_tmp INTO wa_final_tmp.
MOVE wa_final_tmp-Y03HOCSINH_HOCSINH_ID
TO wa_final_target-C0_Y03HOCSINH_HOCSINH_ID.
MOVE wa_final_tmp-Y03HOCSINH_MA_HOC_SINH
TO wa_final_target-C1_Y03HOCSINH_MA_HOC_SINH.
MOVE wa_final_tmp-Y03HOCSINH_TEN_HOC_SINH
TO wa_final_target-C2_Y03HOCSINH_TEN_HOC_SINH.
MOVE wa_final_tmp-Y03HOCSINH_GIOI_TINH
TO wa_final_target-C3_Y03HOCSINH_GIOI_TINH.
MOVE wa_final_tmp-Y03HOCSINH_DIA_CHI
TO wa_final_target-C4_Y03HOCSINH_DIA_CHI.
MOVE wa_final_tmp-Y03HOCSINH_GHI_CHU
TO wa_final_target-C5_Y03HOCSINH_GHI_CHU.
Append wa_final_target to tt_final_target.
ENDLOOP.
free : tt_final_tmp.
Clear wa_final_target.
IF NOT iv_max_row_cnt IS INITIAL.
Loop at tt_final_target into
wa_final_target TO iv_max_row_cnt.
MOVE wa_final_target-C0_Y03HOCSINH_HOCSINH_ID
TO C0_Y03HOCSINH_HOCSINH_ID.
MOVE wa_final_target-C1_Y03HOCSINH_MA_HOC_SINH
TO C1_Y03HOCSINH_MA_HOC_SINH.
MOVE wa_final_target-C2_Y03HOCSINH_TEN_HOC_SINH
TO C2_Y03HOCSINH_TEN_HOC_SINH.
MOVE wa_final_target-C3_Y03HOCSINH_GIOI_TINH
TO C3_Y03HOCSINH_GIOI_TINH.
MOVE wa_final_target-C4_Y03HOCSINH_DIA_CHI
TO C4_Y03HOCSINH_DIA_CHI.
MOVE wa_final_target-C5_Y03HOCSINH_GHI_CHU
TO C5_Y03HOCSINH_GHI_CHU.
CONCATENATE
C0_Y03HOCSINH_HOCSINH_ID
C1_Y03HOCSINH_MA_HOC_SINH
C2_Y03HOCSINH_TEN_HOC_SINH
C3_Y03HOCSINH_GIOI_TINH
C4_Y03HOCSINH_DIA_CHI
C5_Y03HOCSINH_GHI_CHU
INTO wa_final_string
SEPARATED BY lv_delimiter.
IF sy-tabix EQ 1 AND lv_cnt EQ 1.
CONCATENATE wa_final_string
lv_delimiter INTO wa_final_string.
ELSE.
CONCATENATE '<@=""+(char)8@>' lv_delimiter wa_final_string
lv_delimiter INTO wa_final_string.
ENDIF.
APPEND wa_final_string TO gt_result.
CLEAR : C0_Y03HOCSINH_HOCSINH_ID,
C1_Y03HOCSINH_MA_HOC_SINH,
C2_Y03HOCSINH_TEN_HOC_SINH,
C3_Y03HOCSINH_GIOI_TINH,
C4_Y03HOCSINH_DIA_CHI,
C5_Y03HOCSINH_GHI_CHU.
ENDLOOP.
ELSE.
Loop at tt_final_target into wa_final_target.
MOVE wa_final_target-C0_Y03HOCSINH_HOCSINH_ID
TO C0_Y03HOCSINH_HOCSINH_ID.
MOVE wa_final_target-C1_Y03HOCSINH_MA_HOC_SINH
TO C1_Y03HOCSINH_MA_HOC_SINH.
MOVE wa_final_target-C2_Y03HOCSINH_TEN_HOC_SINH
TO C2_Y03HOCSINH_TEN_HOC_SINH.
MOVE wa_final_target-C3_Y03HOCSINH_GIOI_TINH
TO C3_Y03HOCSINH_GIOI_TINH.
MOVE wa_final_target-C4_Y03HOCSINH_DIA_CHI
TO C4_Y03HOCSINH_DIA_CHI.
MOVE wa_final_target-C5_Y03HOCSINH_GHI_CHU
TO C5_Y03HOCSINH_GHI_CHU.
CONCATENATE
C0_Y03HOCSINH_HOCSINH_ID
C1_Y03HOCSINH_MA_HOC_SINH
C2_Y03HOCSINH_TEN_HOC_SINH
C3_Y03HOCSINH_GIOI_TINH
C4_Y03HOCSINH_DIA_CHI
C5_Y03HOCSINH_GHI_CHU
INTO wa_final_string
SEPARATED BY lv_delimiter.
IF sy-tabix EQ 1 AND lv_cnt EQ 1.
CONCATENATE wa_final_string
lv_delimiter INTO wa_final_string.
ELSE.
CONCATENATE '<@=""+(char)8@>' lv_delimiter wa_final_string
lv_delimiter INTO wa_final_string.
ENDIF.
APPEND wa_final_string TO gt_result.
CLEAR : C0_Y03HOCSINH_HOCSINH_ID,
C1_Y03HOCSINH_MA_HOC_SINH,
C2_Y03HOCSINH_TEN_HOC_SINH,
C3_Y03HOCSINH_GIOI_TINH,
C4_Y03HOCSINH_DIA_CHI,
C5_Y03HOCSINH_GHI_CHU.
ENDLOOP.
ENDIF.
free : tt_final_target.
IF NOT gt_result IS INITIAL.
CLEAR wa_result.
LOOP AT gt_result INTO wa_result.
TRANSFER wa_result TO lv_path.
ENDLOOP.
ENDIF.
REFRESH gt_result.
*End of main loop for batching
ENDDO.
*Close dataset
CLOSE DATASET lv_path.
CLOSE CURSOR lv_Y03HOCSINH_dbcur.
ELSE.
DATA: lv_mesg TYPE string.
CLEAR et_file_return.
et_file_return-type = 'E'.
CONCATENATE
'Error occurred when creating dataset' lv_path
INTO lv_mesg.
et_file_return-message = lv_mesg.
Append et_file_return.
ENDIF.
ELSE.
CLEAR et_file_return.
et_file_return-type = 'E'.
et_file_return-message =
'Installed ABAP program does not match interface definition'.
APPEND et_file_return.
ENDIF.
Thanks for helpr u able to figure it out..........i got the same error .......can someone help me fix this issue
-
Authorization Error while executing a program
Hi All,
I have developed a program which calls VF02 transaction in background. But while executing it, the program fails with message'No authorization for sales organization XXXX'.
The users who are executing the program does not have access to VF02 and for security reasons the access can not be given to the users.
So my question is whether this error is due to no access to 'VF02' or with the sales organization?
Can we give access to the users according to sales organization rather than giving authorization for VF02 ?
If not then whats the solution to rectify this error without giving VF02 access to users?
Please help.
Thanks,
Sanujit AcharyaHi Sandeep
The OP's question appears to be 'If I give a custom transaction to a user it seems to then call an object unexpectedly that has a sales organisation value because I'm using it to call VF02".
Due to SU24 not being updated for the custom transaction I'm guessing.
A trace would probably assist when working with the functional team to decide what is really needed but I'm a little lost as to what is being asked of either the OP or the security/ABAP teams as this is pretty basic stuff...
@Sanujit
I have developed a program which calls VF02 transaction in background. But while executing it
Have you had this program associated with a custom transaction yet?
Regards
David
Edited by: David Berry on May 28, 2011 5:41 PM (got my sales orders mixed up)
Edited by: David Berry on May 28, 2011 5:47 PM -
Error while executing FP_TEST_00 program
Hi,
I configured ADS, it was working fine,i'am able to take all the PDF documents from SAP.
But now when i execute FP_TEST_00 program i got an error message that
"ADS: SOAP Runtime Exception: CSoapExceptionFault : SOAP(100102)
Message no. FPRUNX001"
But when i run FP_PDF_TEST_00 program it is giving me the Version information.
I'am unable to find a solution.Please guide me
With Regards,
Pradeep.checkout #944221 in particular:
4. Check the settings for the destination service
To use the destination service on AS Java, settings are required on AS ABAP and AS Java. Therefore, this test contains several steps.
4. 1 In your ABAP system (transaction SA38), call the FP_CHECK_DESTINATION_SERVICE program (available as of NW2004s SPS 08).
a) First of all, execute the program without selecting the option "With Destination Service".
The system processes a test form in the background and displays the size of the generated PDF. It does not use the destination service in the process.
b) Now select the option "With Destination Service" and execute the program again. The system processes the test form, using the destination service.
If the system displays the same message (file size of generated PDF) as it does in a), the configuration of the destination service is correct.
-> Proceed to the next point (5).
If the system issues an error message, the configuration of the destination service is incorrect.
-> Carry out tests 4.2 to 4.4.
4. 2 Check whether the /default_host/sap/bc/fp and /default_host/sap/bc/fpads ICF services are active. (transaction SICF). If this service is not active, activate it. Note: As of NW2004s Support Package Stack 12, when you bundle in distributed systems (in other words, for "non-double-stack installations"), it is optional to use the fpads ICF service
4.3 Check the settings for the ICF service.
a) Enter the following URL in your Web browser:
http://<server>:<port>/sap/bc/fp/form/layout/fp_test_00.xdp
< server> is the AS ABAP, <port> is the HTTP port of the AS ABAP. (you can determine this information using transaction SICF).
b) In the dialog box for the user, enter ADS_AGENT and the relevant password.
If the ICF service settings are correct, the browser displays the layout information of the FP_TEST_00 form in XML format.
-> Proceed with point 4.4.
If the browser displays an error message instead of the XML file, a configuration error occurred.
-> Check whether the user ADS_AGENT exists on the AS ABAP, and if the user has the required authorizations and roles (SAP_BC_FP_ICF).
4.4. Check the settings for the destination service on AS Java
a) Call Visual Administrator and navigate to Services -> Destinations
(detailed instructions are available on the Help Portal at: http://help.sap.com/saphelp_nw2004s/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm ->Adobe Document Services Configuration Guide -> Configuring the Web Service -> Securing Access to the Web Service -> Creating or Changing the Destination Service)
b) Extend the setting in field URLunder Connection Settings to:
http://<server>:<port>/sap/bc/fp/form/layout/fp_test_00.xdp
(The <server> and <port> that are already available refer to the AS ABAP.)
c) Choose 'Save and Test'
d) The system calls the ABAP system that stores the form templates.
If the settings are correct, the system issues the message: "HTTP GET response code 200 Content Type/xml."
-> Proceed with point 5.
If the system issues an error message, the configuration of the destination service is incorrect.
-> Contact your system administrator and ask them to correct the settings for the destination service.
e) Do not forget to change the URL back to http://<server>:<port>.
Maybe you are looking for
-
I can no longer read the text of my emails after I open them
All of a sudden I can no longer read the text of my incoming mail, however if I click to reply I can read text then
-
Please help me, I mistakenly deleted a file. How can I retrieve my file?
PLease help me retrieve my file. I was rearranging some docs into sub-files and mistakenly deleted the main file, thinking the sub-files would still be there and they are all gone. Lots and lots of docs. PLEASE HELP ME,!!! The File name was "Card
-
USB in Satellite Pro 460CDX not working
I have Sat Pro 460cdx with w2000, but my usb dose not work. In the device manager the port appear as unsupported nec pci to usb open host controller. And the port dont have a driver ?? Any Idea ??
-
LV 8.20 crashes on opening non-existent window
With LV 8.20 and Mac OS X 10.4.8 Open LV, and by default it opens a blank window. (preferences IsFirstLaunch: False showNoNavDialog: True skipNavigatorDialog: True Close the blank window titled "Untitled 1 Front Panel" using the "close button" Note t
-
I have imac 10.6.8 how to add it to my domain server windows 2003
i have imac 10.6.8 how to add it to my domain server windows 2003 and . i cant find the directory access any