How to create a spool request
Hi all,
Can anybody tell me how to create a spool request for a background job programatically
Regards
Yathish
Message was edited by: Yathish
Rich thanks for your reply,
But there is no write statement in the backbround job. Can u please explain me how to do it in detail
Thanks in advance
Yathish
Yathish Gundlupet
That's right, in order for a program to produce a spool request, it either must create a list output using WRITE statements, or it must produce a sapscript or smartform output.
In the first case, a simply WRITE statement at the end of your program will work.
WRITE:/ 'Program has completed successfully'.
Regards,
Rich Heilman
Similar Messages
-
How to create new spool request in smartforms??????
hi all,
i have to ctreate a new spool request for a smartform...
The driver program for this smartform is a standard program.
when i run the transaction, the spool for standard sap-script gets created but not for my smartform.
the code is something like this:-
wa_ssfcompop-TDDEST = 'LOCL'.
wa_ssfcompop-TDIMMED = space.
wa_ssfcompop-TDNEWID = 'X'.
wa_ssfcompop-TDFINAL = 'X'.
*wa_ssfcompop-XSF = 'X'.
wa_SSFCTRLOP-no_dialog = 'X'.
CALL FUNCTION v_fm_name
EXPORTING
CONTROL_PARAMETERS = wa_SSFCTRLOP
OUTPUT_OPTIONS = wa_ssfcompop
wa_rldri = xrldri
wa_rldrp = xrldrp
wa_rldru = xrldru
wa_t329p = xt329p
wa_resb = xresb
wa_rldrc = xrldrc
wa_vblkk = xvblkk
wa_vblkp = xvblkp
wa_rldrh = xrldrh
wa_rlvek = xrlvek
wa_reftab = xreftab
wa_lthu = xlthu
v_date = v_date
v_time = v_time
v_label = v_label
v_bzeit = v_bzeit
v_name1 = v_name1
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
it_rldri = xrldri
it_rldrh = xrldrh
it_rldrc = xrldrc
it_vblkk = it_vblkk
it_vblkp = it_vblkp
it_rldrp = it_rldrp
it_rldru = it_rldru
it_t329p = it_t329p
it_resb = it_resb
it_rlvek = it_rlvek
it_reftab = it_reftab
it_lthu = it_lthu
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Help would be greatly appreciated and definitely rewardedhi
good
Use the function module 'GET_PRINT_PARAMETERS'.
sample:
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
ARCHIVE_ID = C_CHAR_UNKNOWN
ARCHIVE_INFO = C_CHAR_UNKNOWN
ARCHIVE_MODE = C_CHAR_UNKNOWN
ARCHIVE_TEXT = C_CHAR_UNKNOWN
AR_OBJECT = C_CHAR_UNKNOWN
ARCHIVE_REPORT = C_CHAR_UNKNOWN
AUTHORITY = C_CHAR_UNKNOWN
copies = g_copies
COVER_PAGE = C_CHAR_UNKNOWN
DATA_SET = C_CHAR_UNKNOWN
department = ''
destination = g_destination
expiration = g_days
immediately = ' '
IN_ARCHIVE_PARAMETERS = ' '
IN_PARAMETERS = ' '
layout = 'X_65_200'
line_count = 65
line_size = 200
list_name = g_listname
list_text = g_listtext
MODE = ' '
new_list_id = 'X'
PROTECT_LIST = C_CHAR_UNKNOWN
no_dialog = 'X'
receiver = 'SAP*'
release = ' '
REPORT = C_CHAR_UNKNOWN
sap_cover_page = 'X'
HOST_COVER_PAGE = C_CHAR_UNKNOWN
PRIORITY = C_NUM1_UNKNOWN
SAP_OBJECT = C_CHAR_UNKNOWN
TYPE = C_CHAR_UNKNOWN
USER = SY-UNAME
USE_OLD_LAYOUT = ' '
UC_DISPLAY_MODE = C_CHAR_UNKNOWN
DRAFT = C_CHAR_UNKNOWN
ABAP_LIST = ' '
USE_ARCHIVENAME_DEF = ' '
DEFAULT_SPOOL_SIZE = C_CHAR_UNKNOWN
PO_FAX_STORE = ' '
NO_FRAMES = C_CHAR_UNKNOWN
IMPORTING
OUT_ARCHIVE_PARAMETERS =
out_parameters = g_params
valid = g_valid.
IF g_valid <> space.
NEW-PAGE PRINT ON PARAMETERS g_params NO DIALOG.
IF NOT tb_output3[] IS INITIAL.
LOOP AT tb_output3 INTO wa_output3.
PERFORM write_summary.
ENDLOOP.
ENDIF.
Reward if useful...
thanks
mrutyun^ -
How to create multiple spool requests at once?
We are setting up alarms in CCMS for when the spool is about to get full.
I want to create several thousand spools automatically to try the alarm settings out and make sure that it works.
This doesn't seem possible to do in SPAD, as only one spool is created, and the maximum to create at a time is 250.
It also seems that it the minimum value that the system takes is 99.000 so I'm not able to lower this value to make an easier percentage alarm test.
I would like to either fake the number of spools so that the alarm is triggered, or if anyone can explain how to create a job that increases the number of spoolrequests so that I can verify the alarm thersholds.
Thanks
TomasHi ..
One thing you can do. Create two separate test program. In one program write simple one write statement and from another program submit the previous prog via job .
do 1000 times.
call function 'JOB_OPEN'
exporting
jobname = l_name "Job Name
importing
jobcount = l_number "Job Number
exceptions
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
others = 4.
if sy-subrc = 0.
Submit the job in background
submit z2nd_prog
via job l_name number l_number and return.
if sy-subrc = 0.
call function 'JOB_CLOSE'
exporting
jobcount = l_number
jobname = l_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.
enddo. -
How to create an spool request
Hi guys,
can any one tel me how to write an table content into an spool.
points wil be rewarded
ravi
nullWritten by Anon.
Friday, 26 January 2007
Comprehensive list of function modules and descriptions of what they do.....
ABAP_DOCU_DOWNLOAD
Download ABAP documentation in HTML format.
APPL_LOG_DELETE
With this function module you delete logs in the database according to specified selection conditions
APPL_LOG_DISPLAY
With this function module you can analyze logs in the database.
APPL_LOG_DISPLAY_INTERN
With this function module you can analyze logs in local memory, e.g. when you have only collected log records at runtime and do not want to write to the database.
APPL_LOG_INIT
This function module checks whether the specified object or sub-object exists and deletes all existing associated data in local memory.
APPL_LOG_READ_DB
With this function module you read the log data in the database for an object or sub-object according to specified selection conditions.
APPL_LOG_READ_INTERN
With this function module you read all log data whose log class has at least the specified value, from local memory, for the specified object or sub-object.
APPL_LOG_SET_OBJECT
With this function module, you create a new object or sub-object for writing in local memory. With a flag you can control whether the APPL_LOG_WRITE_... messages are written in local memory or are output on the screen.
APPL_LOG_WRITE_DB
With this function module you write all data for the specified object or sub-object in local memory to the database. If the log for the object or sub-object in question is new, the log number is returned to the calling program.
APPL_LOG_WRITE_HEADER
With this function module, you write the log header data in local memory.
APPL_LOG_WRITE_LOG_PARAMETERS
With this function module, you write the name of the log parameters and the associated values for the specified object or sub-object in local memory. If this function module is called repeatedly for the same object or sub-object, the existing parameters are updated accordingly. If you do not specify an object or sub-object with the call, the most recently used is assumed.
APPL_LOG_WRITE_MESSAGE_PARAMS
With this function module you write a single message, with parameters, in local memory. Otherwise the function module works like APPL_LOG_WRITE_SINGLE_MESSAGE.
APPL_LOG_WRITE_MESSAGES
With this function module you write one or more messages, without parameters, in local memory.
APPL_LOG_WRITE_SINGLE_MESSAGE
With this function module you write a single message, without parameters, in local memory. If no header entry has yet been written for the object or sub-object, it is created. If you do not specify an object or sub-object with the call, the most recently used is assumed.
ARFC_GET_TID
will return the IP address of the terminal in hex.
BAL_CNTL_CREATE
Create Control for log display
BAL_CNTL_FREE
Release Control
BAL_CNTL_REFRESH
Put new data in log display
BAL_DB_DELETE
Delete logs from the database
BAL_DB_DEQUEUE
Unlock log
BAL_DB_ENQUEUE
Lock log
BAL_DB_LOAD
Load logs from the database
BAL_DB_LOAD
Load log(s)
BAL_DB_SAVE
Save logs in the database
BAL_DB_SAVE
Save log(s)
BAL_DB_SAVE_PREPARE
Prepare save
BAL_DB_SEARCH
Find logs in the database
BAL_DSP_LOG_DISPLAY
Display messages in memory
BAL_DSP_LOG_DISPLAY
Display Log
BAL_DSP_LOG_PARAMETERS
Either output extended long text or call a callback routine (based on the data in BAL_S_LOG-PARAMS)
BAL_DSP_LOG_TECHNICAL_DATA
Output all log header data
BAL_DSP_MSG_LONGTEXT
Display message long text
BAL_DSP_MSG_PARAMETERS
Either output extended long text or call a callback routine (based on the data in BAL_S_MSG-PARAMS)
BAL_DSP_MSG_TECHNICAL_DATA
Output technical data of a message such as work area, error number, etc.
BAL_DSP_OUTPUT_FREE
End output
BAL_DSP_OUTPUT_INIT
Initialize output
BAL_DSP_OUTPUT_SET_DATA
Set dataset to be displayed
BAL_DSP_PROFILE_DETLEVEL_GET
Message hierarchy in DETLEVEL
BAL_DSP_PROFILE_NO_TREE_GET
Display without tree (fullscreen)
BAL_DSP_PROFILE_POPUP_GET
Display without tree (popup)
BAL_DSP_PROFILE_SINGLE_LOG_GET
Standard profile (SLG1) for one log
BAL_DSP_PROFILE_STANDARD_GET
Standard profile (SLG1) for a lot of logs
BAL_GLB_AUTHORIZATION_GET
Assign authorization
BAL_GLB_AUTHORIZATION_RESET
Reset authorization
BAL_GLB_CONFIG_GET
Read configuration
BAL_GLB_CONFIG_SET
Set configuration
BAL_GLB_MEMORY_EXPORT
Put function group memory in ABAP-MEMORY
BAL_GLB_MEMORY_IMPORT
Get function group memory from ABAP-MEMORY
BAL_GLB_MEMORY_REFRESH
(Partially) reset global memory
BAL_GLB_MEMORY_REFRESH
(Partially) initialize memory
BAL_GLB_MSG_CURRENT_HANDLE_GET
Get current message handle
BAL_GLB_MSG_DEFAULTS_GET
Get message defaults
BAL_GLB_SEARCH_LOG
Find logs in memory
BAL_GLB_SEARCH_MSG
Find messages in memory
BAL_LOG_CREATE
Create log with header data
BAL_LOG_CREATE
Create log with header data
BAL_LOG_DELETE
Delete log (from database also at Save)
BAL_LOG_EXIST
Check existence of a log in memory
BAL_LOG_HDR_CHANGE
Change log header
BAL_LOG_HDR_CHECK
Check log header data for consistency
BAL_LOG_HDR_READ
Read log header and other data
BAL_LOG_MSG_ADD
Put message in log
BAL_LOG_MSG_ADD
Put message in log
BAL_LOG_MSG_CHANGE
Change message
BAL_LOG_MSG_CHANGE
Change message
BAL_LOG_MSG_CHECK
Check message data for consistency
BAL_LOG_MSG_CUMULATE
Add message cumulated
BAL_LOG_MSG_DELETE
Delete message
BAL_LOG_MSG_DELETE
Delete message
BAL_LOG_MSG_EXIST
Check existence of a message in memory
BAL_LOG_MSG_READ
Read message and other data
BAL_LOG_MSG_REPLACE
Replace last message
BAL_LOG_REFRESH
Delete log from memory
BAL_LOG_REFRESH
Delete log from memory
BAL_MSG_DISPLAY_ABAP
Output message as ABAP-MESSAGE
BAL_OBJECT_SELECT
Read Application Log objects table record
BAL_OBJECT_SUBOBJECT
Check whether object and subobject exist and the combination is allowed
BAL_SUBOBJECT_SELECT
Read subobject table record
BP_EVENT_RAISE
Trigger an event from ABAP/4 program
BP_JOBLOG_READ
Fetch job log executions
CHANGEDOCUMENT_READ_HEADERS
Get the change document header for a sales document, and put the results in an internal table.
Example:
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
objectclass = 'EINKBELEG'
objectid = l_objectid
username = space
TABLES
i_cdhdr = lt_cdhdr.
LOOP AT lt_cdhdr WHERE udate IN s_aedat.
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING
changenumber = lt_cdhdr-changenr
TABLES
editpos = lt_editpos.
LOOP AT lt_editpos WHERE fname = 'LOEKZ'
AND f_new = 'L'.
p_desc = text-r01. " Cancel Contract
ENDLOOP.
ENDLOOP.
CHANGEDOCUMENT_READ_POSITIONS
Get the details of a change document, and store them in an internal table. This will tell you whether a field was changed, deleted, or updated.
Example:
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
objectclass = 'EINKBELEG'
objectid = l_objectid
username = space
TABLES
i_cdhdr = lt_cdhdr.
LOOP AT lt_cdhdr WHERE udate IN s_aedat.
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING
changenumber = lt_cdhdr-changenr
TABLES
editpos = lt_editpos.
LOOP AT lt_editpos WHERE fname = 'LOEKZ'
AND f_new = 'L'.
p_desc = text-r01. " Cancel Contract
ENDLOOP.
ENDLOOP.
CLAF_CLASSIFICATION_OF_OBJECTS
Return all of the characteristics for a material
CLOI_PUT_SIGN_IN_FRONT
Move the negative sign from the left hand side of a number, to the right hand side of the number. Note that The result will be left justified (like all character fields), not right justifed as numbers normally are.
CLPB_EXPORT
Export a text table to the clipboard (on presentation server)
CLPB_IMPORT
Import a Text Table from the Clipboard (on presentation server)
COMMIT_TEXT
To load long text into SAP
CONVERSION_EXIT_ALPHA_INPUT
converts any number into a string fill with zeroes, with the number at the extreme right
Example:
input = 123
output = 0000000000000...000000000000123
CONVERSION_EXIT_ALPHA_OUTPUT
converts any number with zeroes right into a simple integer
Example:
input = 00000000000123
output = 123
CONVERT_ABAPSPOOLJOB_2_PDF
convert abap spool output to PDF
CONVERT_OTF
Convert SAP documents (SAPScript) to other types.
Example:
CALL FUNCTION "CONVERT_OTF"
EXPORTING FORMAT = "PDF"
IMPORTING BIN_FILESIZE = FILE_LEN
TABLES OTF = OTFDATA
LINES = PDFDATA
EXCEPTIONS ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
CONVERT_OTFSPOOLJOB_2_PDF
converts a OTF spool to PDF (i.e. Sapscript document)
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba5ef35c111d1829f0000e829fbfe/content.htm -
How to delete the spool request number
HI Masters,
My program creates a spool request. And i want to delete that spool request number? How to delete that??
Thanks in advance.hi
good
The program are RSPO0041 or RSPO1041.
This is handy whenever you encounter a user who managed to create a lot of spool requests which are choking your system.
Deleting them with SP01 will be too slow and you will get time out if it exceed the online time limit specify by your basis people.
<b><REMOVED BY MODERATOR></b>
thanks
mrutyun^
Message was edited by:
Alvaro Tejada Galindo -
Creating the spool request for the internal table data
Hi..
I am little confused with the function module used for creating the spool request.
well...I am practicing the ALV report and sending the that report to the spool.
I ve used the FM SLVC_TABLE_PS_TO_SPOOL.
this is the way i defined the internal table.
Data:
begin of imat occurs 0,
matnr like marav-matnr,
maktx like marav-maktx,
matkl like marav-matkl,
ntgew like marav-ntgew,
gewei like marav-gewei,
end of imat.
data i_lines type sy-tfill
and i declared..
describe table imat lines i_lines.
then i given the value for i_file_length as i_lines in the export paramet of the FM SLVC_TABLE_PS_TO_SPOOL.
CALL FUNCTION 'SLVC_TABLE_PS_TO_SPOOL'
EXPORTING
i_file_length = i_lines
IMPORTING
E_SPOOLID = spoolid
tables
it_textdata = imat
when i executed it shows the list and wen going back it shows the runtime error as
CALL_FUNCTION_CONFLICT_LENG - Type conflict when calling a function module (field length).
please provide me some solutions.
thanks in advance.
etienne.Hi satyajit,
Thanks for your response....but the fields in my internal table "IMAT" is not compatible with the structure LVC_S_1022 as it has it componenrt - LINE.
so how can i define my internal table IMAT as type lvc_s_1022 as you suggested.
thanks in advance.
etienne. -
How to create a transport request with query and only with its structure.
HI guru,
how to create a transport request with query and only with its structure.transport request should not include any other query items like ( variables, conditions...etc)
thanks in advance.
venkataHi,
Goto RSA1 and then Transport Connection -> In SAP Transports select Object Types-> Query Elements -> Then select Query->Give Technical name of the query and then select for transfer. In the right side you can choose the components which you wanted to transport.
Regards,
anil -
I want read PDF file from SAP directory and create a spool request or print
Hi all,
I want read PDF file from SAP directory and create a spool request or print the pdf through SAP. Can any body help me in this.
Also please write to me if its possible to open PDF from SAP directory to adobe pdf reader.
Thanks in advance,
SunnyHi Sunny,
Check these links.
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
http://www.erpgenie.com/sap/abap/pdf_creation.htm
http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
Hope this resolves your query.
Reward all the helpful answers.
Regards -
How to create a spool requset for 'z program'.
Hi,
Could anybody please tell me how to generate a spool request for a Z program. and how to check the spool request.
Regards
sathishHi ,
You can check the following code for reference
FORM get_job_details.
Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM. " get_job_details
*& Form obtain_spool_id
To obtain the spool ID generated
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004 WITH gd_spool_nr.
ELSE.
MESSAGE s005.
ENDIF.
ENDFORM. " obtain_spool_id -
How to get the spool id or how to create a spool id for the report .
hi,
how to get the spool id or how to create a spool id for the report .
this spool id i have to use it in CONVERT_ABAPSPOOLJOB_2_PDF fm to get the pdf download file.
my requirement is to download a pdf file from the alv grid list.Hi Raghu,
Execute this program.
REPORT ZTEST_3318 .
tables: usr01.
perform send_report_to_spool.
*& Form send_report_to_spool
text
form send_report_to_spool.
data: loc_dest like pri_params-pdest,
wf_listname type char12,
wf_listtext like PRI_PARAMS-PRTXT,
wf_copies type i,
wf_days type i,
wf_PARAMS LIKE PRI_PARAMS, " achieving file PRI_PARAMS.
wf_valid type c.
clear : wf_listname , loc_dest , wf_listtext .
move: 'AP interface' to wf_listname .
move: 'AP interface' to wf_listtext .
select single spld into usr01-spld from usr01 where bname eq sy-uname .
if sy-subrc eq 0 .
move: usr01-spld to loc_dest .
endif .
call function 'GET_PRINT_PARAMETERS'
EXPORTING
destination = loc_dest
copies = 1
list_name = wf_listname
list_text = wf_listtext
immediately = ' '
release = ' '
new_list_id = 'X'
expiration = 1
line_size = 200
line_count = 65
layout = 'X_65_200'
sap_cover_page = 'X'
receiver = 'SAP*'
department = ''
no_dialog = 'X'
IMPORTING
out_parameters = wf_params
valid = wf_valid.
if wf_valid <> space.
new-page print on parameters wf_params no dialog.
perform write_summary .
new-page print off.
endif .
endform. "send_report_to_spool
*& Form write_summary
text
--> p1 text
<-- p2 text
FORM write_summary .
data: begin of itab occurs 0,
matnr type matnr,
end of itab.
select matnr
from mara
into table itab
up to 10 rows.
loop at itab.
write: / itab-matnr.
endloop.
ENDFORM. " write_summary
This will create spool in SP01.What data you want to put in Spool write it in form write_summary.I have done coding for testing purpose
After that use that spool for your purpose.
If Useful award point -
How to see the spool request number
hi experts,
how to see the spool request number of any object......
may be form or report........U can go to SP01/SP02.
For generating spool u can look into this code.
FORM write_to_spool.
DATA : l_f_list_name LIKE pri_params-plist,
l_f_destination LIKE pri_params-pdest,
l_f_spld LIKE usr01-spld,
l_f_layout LIKE pri_params-paart,
l_f_line_count LIKE pri_params-linct,
l_f_line_size LIKE pri_params-linsz,
l_f_out_parameters LIKE pri_params,
l_f_valid.
l_f_line_size = 255.
l_f_line_count = 65.
l_f_layout = 'X_65_255'.
l_f_list_name = sy-repid.
to get defult spool device for the user
SELECT SINGLE spld INTO l_f_spld FROM usr01 WHERE bname = sy-uname.
IF sy-subrc = 0.
MOVE l_f_spld TO l_f_destination.
ENDIF.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
ARCHIVE_ID = C_CHAR_UNKNOWN
ARCHIVE_INFO = C_CHAR_UNKNOWN
ARCHIVE_MODE = C_CHAR_UNKNOWN
ARCHIVE_TEXT = C_CHAR_UNKNOWN
AR_OBJECT = C_CHAR_UNKNOWN
ARCHIVE_REPORT = C_CHAR_UNKNOWN
AUTHORITY = C_CHAR_UNKNOWN
COPIES = C_NUM3_UNKNOWN
COVER_PAGE = C_CHAR_UNKNOWN
DATA_SET = C_CHAR_UNKNOWN
DEPARTMENT = C_CHAR_UNKNOWN
destination = l_f_destination
EXPIRATION = C_NUM1_UNKNOWN
immediately = 'X'
IN_ARCHIVE_PARAMETERS = ' '
IN_PARAMETERS = ' '
layout = l_f_layout
line_count = l_f_line_count
line_size = l_f_line_size
list_name = l_f_list_name
LIST_TEXT = C_CHAR_UNKNOWN
MODE = ' '
NEW_LIST_ID = C_CHAR_UNKNOWN
NO_DIALOG = C_FALSE
RECEIVER = C_CHAR_UNKNOWN
RELEASE = C_CHAR_UNKNOWN
REPORT = C_CHAR_UNKNOWN
SAP_COVER_PAGE = C_CHAR_UNKNOWN
HOST_COVER_PAGE = C_CHAR_UNKNOWN
PRIORITY = C_NUM1_UNKNOWN
SAP_OBJECT = C_CHAR_UNKNOWN
TYPE = C_CHAR_UNKNOWN
USER = SY-UNAME
IMPORTING
OUT_ARCHIVE_PARAMETERS =
out_parameters = l_f_out_parameters
valid = l_f_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 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.
IF l_f_valid NE space.
NEW-PAGE PRINT ON PARAMETERS l_f_out_parameters.
WRITE : /5 'Material No.',
25 'Message Type',
40 'Message Issued'.
ULINE.
LOOP AT g_t_message_table WHERE type = 'E'.
WRITE : / g_t_message_table-matnr UNDER 'Material No.',
g_t_message_table-type UNDER 'Message Type',
g_t_message_table-message UNDER 'Message Issued'.
ENDLOOP.
NEW-PAGE PRINT OFF.
ENDIF.
ENDFORM. " WRITE_TO_SPOOL
Regards -
Creating single spool request for printing all shop floor papers
Hello PP Gurus,
We are printing shop floor papers at the time of releasing production order using txn CO02. It creates individual spool request for printing different shop floor papers in the same orders . eg Pick list, goods receipt list etc.
Is it possible to do the cofiguration setting to create only one spool request for all the different SF papers belong to same order.? If yes, please let me know the steps for customising this.
Thanks for your help in advance.
Regards & Thanks
Rajesh D.In transaction OPK8, in forms uncheck the 'New List' check box for the List.
Regards
Ramanujan -
How to create a transport request while making changes to a role.
Hi Dear Gurus,
In my organization recently i was given a task to chage an object in a role and create a transport request to move to quality.
can any one help me how to create a transport request and under which this request come under (Custoizing , work bench).
please tell me the steps to be performed.
Kind Regards,
Vamsi.Hi vasmi,
Go to tcode PFCG.
enter the role name
click on menu role->transport.
and then execute and click on all the checkbox and then it will ask for the request ....and then u can transport it.
regards,
Santosh Thorat -
How to create a transport request number in SM36
Hello SAP gurus,
Can someone please let me know, how to create a transport request number while schedule a new job in SAP.
Can we create a new transport request number in SM36?
Thanks
ShaHi Sha
Doesn't make sense to create Transport number in SM36, where it meant for scheduling the batch jobs.
I would rather suggest you to create in SE09 -> Creaet (F6) or
while doing the config ->save the config-> create new req
Please voice out if you really have other requirement to have this.
regards
RG -
How to know the spool requests generated from my program?
hi
I want to get the spool request(s) that are generated from my report that's run either in foreground or background? how to know this? i know that we can go to sm37 and see, but is there any table or fm which stores this data? if i give my program name that's run on a particular date, i should get the spool request numbers. tsp01 only has the spool no. and not the program name..pl suggest...thanks all
Sathish. RHi ,
The system field sy-spono contains the spool numbers .
If you have such requirement, you can create one custom table with fields :
spool no, program , date , time
whenever you run ur program update this table ,
with system fields . spono , sy-repid , sy-datum and sy-uzeit .
Thaks .
Maybe you are looking for
-
How to get an ArrayList Object in servlet from JSP?
How to get an ArrayList Object in servlet from JSP? hi all please give the solution for this without using session and application... In test1.jsp file i am setting values for my setter methods using <jsp:usebean> <jsp:setproperty> tags as shown belo
-
Open items transfer to one WBS to a new WBS
Hi PS Gurus, Our clnt reqment is to transfer all open items from old WBS element to new WBS element,say example POs.How is it possible? Give me the possible solutions. **Can anyone suggest me. Its very urgent. Full points will be rewarded. Thanks in
-
I have just updated the software on my MAC to Lion 10.7.2 (11C74) and now my outlook client won't allow me to reply/forward emails or create new mails - any ideas how I can fix that or why that's happened?
-
Power Spectrum Density conversion to Time Series Data
Hi, This may seem an odd request but is there a way to convert power spectrum density data back to the time series data that generated it in the first place. I have lost the original time series data but still have the PSD and need the time series to
-
tryin to stop mac keeper and other pop ups