on 01-09-2009 2:03 PM
hi,
I am running the report HBRDARF0 in background mode, this report gives Sap Script(script name: HR_BR_DARF98) as the output while viewing the spool data am unable found sapscript data in spool.
one more query, by using the fm: CONVERT_OTFSPOOLJOB_2_PDF i trying to move spool data into pdf, it gives error message like....Spool Request contains no Sap Script data.
if we get the sapscript data in spool the issue above two issues are closed.
regards,
Revoori
Hi
Just debug your background job by entering "jdbg" in command prompt and check whether your script is being called or not. If it is called then check the improting parameters in the open_form.
I hope by debugging the background job u may get some hint to resolve your issue.
Cheers
Joginder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for your response,
as per your suggetion i debugged the Job by using JDBG, while debugginh the exception returned like.....more_params_needed_in_batch and returns SY_SUBRC = 8 by the function module OPEN_FORM and error message like UNOPEND sy-subrc = 1 by CLOSE_FORM .
what are the parameter we provide as per the open_form function module in batch mode.
call function 'OPEN_FORM'
EXPORTING
archive_index = p_archive_index----
contains no values
archive_params = p_archive_parameters----
is initial
dialog = p_dialog----
space
form = p_form----
HR_BR_DARF98
options = l_options----
contains values
IMPORTING
result = p_result
EXCEPTIONS
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
mail_options = 6
archive_error = 7
more_params_needed_in_batch = 8
others = 9.
p_subrc = sy-subrc.
here sy-subrc = 8. and the error message is more_params_needed_in_batch
L_OPTIONS-TDCOPIES = 1
L_OPTIONS-TDNEWID = X
L_OPTIONS-TDDATASET = LIST1s
L_OPTIONS-TDLIFETIME = 8
L_OPTIONS-TDCOVER = D
L_OPTIONS-TDRECEIVER = sy-uname
L_OPTIONS-TDARMOD = 1
and remaining are initial
regards,
revoori
This solution may help you to identify what exactly the spool consists off...
Goto SP02, identify the spool request number that is generated. Now from menu, GOTO--> Display Requests --> Settings and select display mode as Raw. ( select this radio button) and enter. Now click on display you will see your form output, now you will see some junk like data.. carefully, scroll and identify the form name that is picked.. example.. first line will give the device type.. second line in this will display form name and lanuage etc.
Note: for example, you may see FC --> Font Change.
With the above information you can conclude whether form is called or not.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.