Unable to convert ABAP Spool in Thai to a PDF.
Hi
I an issue where if I try to download an ABAP List output (Spool) to a PDF using CONVERT_ABAPSPOOLJOB_2_PDF (Also checked with RSTXPDF4), I am getting junk characters in place of Thai characters in the PDF.
Any pointer on this will be of great help
Regards
Arjun
hi check this example .......
*& Report ZSPOOLTOPDF *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program must be run as a background job in-order for the write *
*& commands to create a Spool request rather than be displayed on *
*& screen *
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver,
p_sender LIKE somlreci1-receiver,
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
Alternative way could be to submit another program and store spool
id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
Get spool id from program called above
IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
FORM obtain_spool_id *
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.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
FORM get_job_details *
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.
FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
perform send_email using p_email2.
ENDFORM.
FORM send_email *
--> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
regards,
venkat.
Similar Messages
-
Unable to convert my word 2003 doc to a pdf
I am unable to convert my word 2003 doc to a pdf - comes up unable to find reader 7.0
I think from memory there might be two issues:
- check that the word and excel mimetypes have been added
- check that Word & Excel are installed on the print server.
Cheers, Iain -
Unable to convert a ms word file the a pdf
unable to convert a ms word file to a pdf file.
Hi haxbla611,
I am happy to help, but need to know a little more about what's happening. Are you have trouble logging in, or trouble accessing the Adobe PDF Pack online service?
I look forward to hearing back from you.
Best,
Sara -
Convert ABAP Spool to PDF and display in BSP
Hello SDNers,
I have a requirement to display an R/3 report in Portal as PDF. I have chosen the route of creating a BSP which will show the report as PDF.
I will then create a BSP iView in Portal pointing to this application.
I am following the weblog /people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp
and few SDN forums:
Display result of standard report RPTEDT00 within BSP
Re: PDF Output
I am new to BSP development and I am not able to put all the pieces of code together.
I would really appreciate if you can help me put the pieces together and help me out with this.
More details:
This custom report displays the summary of Benefits Cost Accounting (by PERNR and current year).
Once the report is run, I would like to get hold of the spool and convert the spool to PDF.
In my BSP I would like to get the spool (or the binary of the PDF) and display the report as PDF in the BSP application.
I have created the BSP application using the code given in the above weblog.
I am not sure how to proceed further with the requirement.
Looking forward for your suggestions and help.
Thanks,
KalyanHi kalyan,
go thru this wiki and you will have what you need all at one place. the piece you might want to look at is ABAP spool to PDF. It even contains complete code.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bsp/pdf
hope this helps. -
Hi,
Is there any function module available to convert ABAP spool Job to OTF format?.
Final requirement is to convert this to PDF, however CONVERT_ABAPSPOOLJOB_2_PDF is not found suitable for this requirement, since the converted output needs to be of type XSTRING.
For WebDynpro, application, I have one solution. Please see the below URL
http://****************/Tutorials/Smartforms/SFinEPasPDF/Page1.htm
I could convert ABAP spool to RTF format, now I would like to have a solution for converting this RTF file to OTF and then use function module CONVERT_OTF. This function module give converted result in export parameter of type XSTRING.
Please advice any solution for this
Regards
SujithHi,
Try with the report program RSTXPDFT4(ECC6).
With Regards,
Sakthi -
Installed Adobe Pro X now unable to convert PDF - Missing PDFMaker Files
Hello,
I installed the trial version of Adobe Pro X and now I am unable to convert a Microsoft Word.doc file to .pdf. The error message is 'Missing PDFMaker Files. Do you want to run the installer to repair mode?' I ran the installer, twice, with the same resulting error message. (Am currently using Windows XP Pro along with Microsoft 2003 - and will upgrade in the new year.) I searched this issue, and found the following:
To manage your Disabled Items list in a Microsoft Office application:
Open the Microsoft Office application (Word, Excel, Publisher).
Choose Help > About [the application name].
Click Disabled Items.
Select Adobe PDF from the list, and then click Enable.
Quit the Microsoft Office application, and then restart it.
However, there are no applications in the list, including Adobe.
I also tried this:
If the error message continues to appear after you enable Adobe PDF, check the security level for macros in Microsoft Word:
Choose Tools > Macro > Security.
In the Security dialog, click the Security tab.
Choose Medium or High.
Do one of the following:
If you chose Medium, then click OK.
If you chose High, then continue with steps 5 through 7.
Click the Trusted Publishers tab.
Check Trust all installed add-ins and templates.
Click OK.
And Adobe is already there, so no change here.
I have uninstalled the trial version, deleted what visible remnants I could find, restarted the computer, installed the trial version again and am getting the same error message.
Is there a solution to this problem? Or, should I just return to my Adobe Pro 7?
Thank you in advance!
LauraI recently bought and installed Adobe Acrobat X Pro thinking that X Pro was compatable with Windows XP. I am unable to convert any Microsoft Office 2003 file into a PDF. I receive the same error message as above ( "Missing PDFMaker Files") and tried running it in repair mode as suggested. No change.
I've tried this stuff:
To manage your Disabled Items list in a Microsoft Office application:
Open the Microsoft Office application (Word, Excel, Publisher).
Choose Help > About [the application name].
Click Disabled Items.
Select Adobe PDF from the list, and then click Enable.
Quit the Microsoft Office application, and then restart it.
However, there are no applications in the list, including Adobe.
I also tried this:
If the error message continues to appear after you enable Adobe PDF, check the security level for macros in Microsoft Word:
Choose Tools > Macro > Security.
In the Security dialog, click the Security tab.
Choose Medium or High.
Do one of the following:
If you chose Medium, then click OK.
If you chose High, then continue with steps 5 through 7.
Click the Trusted Publishers tab.
Check Trust all installed add-ins and templates.
Click OK.
But there is no change.
Please help!!! -
Convert ABAP list output to PDF without spool
Hi All,
We have used the FM 'CONVERT_ABAPSPOOLJOB_2_PDF' to convert the list output to PDF. It creates the spool number in SP01 and PDF is getting generated.
But, in our SAP ECC 6.0 server all spools are redirected to printer by default and get printed because it configured like that. We requested BASIS people to reconfigure but they said no for a single report.
So we need to find the alternate solution to generate the PDF without spool. We have searched in sdn, but didnot get any alternate solution.
Please help us in this regard.
Thanks in advance.data: begin of i_list occurs 0,
line(255),
end of i_list.
data:i_mara like mara occurs 0 with header line.
parameters: p_matnr like mara-matnr.
start-of-selection.
set pf-status 'PDFFILE'.
select *
from mara
into table i_mara
where matnr = p_matnr.
loop at i_mara.
write:i_mara-matnr,i_mara-ernam,i_mara-pstat.
endloop.
at user-command.
if sy-ucomm = 'PDF'.
DO.
READ LINE SY-INDEX.
IF SY-SUBRC NE 0.
EXIT.
ELSE.
I_LIST = SY-LISEL.
APPEND I_LIST.
ENDIF.
ENDDO.
NEW-PAGE PRINT ON DESTINATION 'LP03' IMMEDIATELY ' ' COVER TEXT ' ' KEEP IN SPOOL 'X' NEW LIST IDENTIFICATION 'X' LINE-SIZE 132 LINE-COUNT 65 NO DIALOG.
LOOP AT I_LIST.
IF I_LIST-LINE IS INITIAL.
SKIP.
ELSE.
at first.
write: TEXT-001.
endat.
WRITE: I_LIST-LINE+0(132).
ENDIF.
ENDLOOP.
NEW-PAGE PRINT OFF.
data:filename like RLGRAP-filename value 'C:\PDFFILE.PDF'.
DATA: SPOOL TYPE TSP01-RQIDENT.
SPOOL = SY-SPONO.
SUBMIT rstxpdft4
WITH spoolno = spool
WITH download = 'X'
WITH p_file = filename
AND RETURN.
if sy-subrc = 0.
write: 'pdf file generated'.
else.
write:'pdf file not generated'.
EXIT.
endif.
endif.
please paste this code and check once ,if it works modify the code according to ur requirement.
regards,
padmaja -
Problem converting ABAP list into PDF
Hello,
Having converted a spool request of an abap list into pdf the "intensified" attribute of the list items will disappeare. Text in the list with i.e. COL_BACKGROUND INTENSIFIED would be converted to text with blue and normal font. None of the possible combinations of colours and intenstions have produced an output in bold.
Any ideas would be appreciated.
Thank you in advance.
Best regards,
Michael WeiskatSave Report Output to a PDF File
This report takes another report as input, and captures the output of that report. The output is then converted to PDF and saved to a local file. This shows how to use some of the PDF function modules, as well as an easy way to create PDF files.
Source Code Listing
report zabap_2_pdf.
*-- Enhancements: only allow to be run with variant. Then called
*-- program will be transparent to users
*-- TABLES
tables:
tsp01.
*-- STRUCTURES
data:
mstr_print_parms like pri_params,
mc_valid(1) type c,
mi_bytecount type i,
mi_length type i,
mi_rqident like tsp01-rqident.
*-- INTERNAL TABLES
data:
mtab_pdf like tline occurs 0 with header line,
mc_filename like rlgrap-filename.
*-- SELECTION SCREEN
parameters:
p_repid like sy-repid, " Report to execute
p_linsz like sy-linsz default 132, " Line size
p_paart like sy-paart default 'X_65_132'. " Paper Format
start-of-selection.
concatenate 'c:\'
p_repid
'.pdf'
into mc_filename.
*-- Setup the Print Parmaters
call function 'GET_PRINT_PARAMETERS'
exporting
authority= space
copies = '1'
cover_page = space
data_set = space
department = space
destination = space
expiration = '1'
immediately = space
in_archive_parameters = space
in_parameters = space
layout = space
mode = space
new_list_id = 'X'
no_dialog= 'X'
user = sy-uname
importing
out_parameters = mstr_print_parms
valid = mc_valid
exceptions
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
others = 4.
*-- Make sure that a printer destination has been set up
*-- If this is not done the PDF function module ABENDS
if mstr_print_parms-pdest = space.
mstr_print_parms-pdest = 'LOCL'.
endif.
*-- Explicitly set line width, and output format so that
*-- the PDF conversion comes out OK
mstr_print_parms-linsz = p_linsz.
mstr_print_parms-paart = p_paart.
submit (p_repid) to sap-spool without spool dynpro
spool parameters mstr_print_parms
via selection-screen
and return.
*-- Find out what the spool number is that was just created
perform get_spool_number using sy-repid
sy-uname
changing mi_rqident.
*-- Convert Spool to PDF
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
exporting
src_spoolid= mi_rqident
no_dialog = space
dst_device = mstr_print_parms-pdest
importing
pdf_bytecount = mi_bytecount
tables
pdf = mtab_pdf
exceptions
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
others = 12.
call function 'DOWNLOAD'
exporting
bin_filesize = mi_bytecount
filename = mc_filename
filetype = 'BIN'
importing
act_filename = mc_filename
tables
data_tab = mtab_pdf.
FORM get_spool_number *
Get the most recent spool created by user/report *
--> F_REPID *
--> F_UNAME *
--> F_RQIDENT *
form get_spool_number using f_repid
f_uname
changing f_rqident.
data:
lc_rq2name like tsp01-rq2name.
concatenate f_repid+0(8)
f_uname+0(3)
into lc_rq2name separated by '_'.
select * from tsp01 where rq2name = lc_rq2name
order by rqcretime descending.
f_rqident = tsp01-rqident.
exit.
endselect.
if sy-subrc ne 0.
clear f_rqident.
endif.
endform." get_spool_number -
Unable to convert sender service IP_testScenario to an ALE logical system
i have a IDOC -> BPM--->File scenario,
the BPM is named as IP_testScenario
when IDOC is sent from R3 to BPM, in the MONI i can also see a Acknowledgement message saying
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_INV_SND_SERV</SAP:Code>
<SAP:P1>IP_MMWIS016_01</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Unable to convert sender service IP_testScenario to an ALE logical system</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
why this happens...........pls helpHi..
For Sender you have to create the TS of Type Web AS ABAP right..
While assigning your Bs in ID...Double click on your BS , Goto Service--> Adapter Specific Identifiers..
Hope it helps...
Kumar.S -
Unable to convert the sender service to an ALE logical syst
Hi,
My scenario is IDOC to File.
SLD:Configured Correctly ,ABAP Business System.
Imported the same in ID,under Adapter specific Identifiers gava the Logical system as in WE20.
In the Receiver Agreement,Header mapping tried giving the sender service,Receiver service.
Still the Error "Unable to convert the sender service to an ALE logical syst" is seen in SMQ2.
The file is getting generated at receiver directory mentioned in the receive CC.
There is no error seen in SXMB_MONI.
Did any one had a problem as this.
Thanks,
SrinivasaHi,
You need to specify the Logical Name of Business System under Adapter specific identifiers for your Receiver Business System.
The specified item was not found.
Secondly you can use Header Mapping in Receiver Agreement. Or
If you are taking your control records from payload then tick the check box "Apply Control Records from Payload".
Regards, -
Unable to convert send system to ALE logical system
Hi Expters,
I am doing FILE 2 IDoc Scenario as follows...
Created 1 BS for sender as Third Party...
Created 1 BS for receiver as WebAs ABAP...
I did everything perfect in IR and ID. But I am getting error in end to end testing. I am placing file in my local drive and the file has been picked up correctly.
And also I can see my Logical System name in ID(Adapter Specific Identifiers) towards my receiver BS. But There is no logical system is displaying for the sender BS in ID.
Still I am getting Error: Unable to Convert Sender System to ALE Logical System...
I have followed blogs and wikis but not successfull...
Do needful in this regard...
Regards,
Basha.Hi,
Refer this link
/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
Problem Unable to convert the sender service to an ALE logical system
http://wiki.sdn.sap.com/wiki/display/XI/UnabletoconvertSendersystemtoALElogicalsystem
Regards,
Nithiyanandam -
Regarding Error: Unable to Convert Sender System to ALE Logical System
Hi friends,
in File to IDoc scenario, i created a sender business system called bs_filetoidoc_send based on Standalone technical system and a receiver business system based on ABAP r/3 system. in my SAP IDES system which is dual stack (abap+java), XI client is 001 (LS: devclnt001) and r/3 client is 800 (LS: t90clnt090) i.e i'm posting idoc to t90clnt090.
I tried to send a text file. but while processing xml message in XI, i got an error saying "Unable to Convert Sender System to ALE Logical System".
then i searched the blogs and forum and found the solution. it was saying LS name was not assigned to BS bs_filetoidoc_send. so i went to SLD and tried to assign LS devclnt001 to my sender BS bs_filetoidoc_send, but got an error saying that "A business system with LS devclnt001 already exists". when i checked which is that BS, it is supposed to be the INTEGRATION SERVER itself with BS name INTEGRATION_SERVER_DEV.
then i configured my sender BS as INTEGRATION_SERVER_DEV itself which picked up the text file successfully and also receiver abap server received the IDOC with correct data and format with status 51. so scenario worked fine when i used my sender BS as INTEGRATION SERVER itself.
please clear my following doubts which arose after this scenario.
1) why the scenario didn't work when I used only standalone sender business system?
2) why should we assign a LS name of XI server to sender business system only in this scenario?
scenario worked according to my requirement, but using integration server itself as a sender BS confused though.
Many Thanks.1) I can create any no of LS names using SALE
Yes you can create.
> 2) But I can assign a client to any one of those LS names (or 1 client will have only one LS name associated with it)
One Client will have one LS associated to it...and that can be any one of the LS..created.. use SCC4 to find the associated Ls for all the clients of a system
3) So anyways INTEGRATION_SERVER_DEV has to associated with the client 001 only, so finally I have to use INTEGRATION_SERVER_DEV only as my sender BS. Probleum is that I can't remove the LS name DEVCLNT001 from INTEGRATION_SERVER_DEV and assign it to bs_filetoidoc_send BS right. If I do so, I think I would get an error saying that INTEGRATION_SERVER_DEV is not associated with the LS name of client 001.
As the logical system defined in Partner profile is expected to arrive in Control record of IDoc..it should be passed in that...
Did u checked this blog../people/rajeshkumar.pasupula/blog/2009/03/16/unable-to-convert-the-sender-service-to-an-ale-logical-system so as per you need the explaination in the blog need to associate the logical system name .
HTH
Rajesh -
Convert ABAP Spoollist back to a Listobject
Hi,
I would like to convert an ABAP Spool Job (compare RSPO_RETURN_ABAP_SPOOLJOB) back to a Listobject (Structure ABAPLIST, see function Module LIST_FROM_MEMORY).
Has anyone an idea or know an appropriate function module ?
thanks 4 your help.
JohannI think something like this should work:
parameters: p_rqid type TSP01-RQIDENT.
DATA: MEM_TAB LIKE ABAPLIST OCCURS 10.
DATA: HTML_TAB LIKE w3html OCCURS 10.
SUBMIT RSPOLIST EXPORTING LIST TO MEMORY AND RETURN
WITH RQIDENT = p_RQID
WITH FIRST = '1'
WITH LAST = '0'.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = MEM_TAB
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
TABLES
HTML = HTML_TAB
LISTOBJECT = mem_tab.
Basically, run RSPOLIST to get the list to memory, extract the list, and then call the function to generate HTML. -
Convert multipage Spool (ALF) into separated PDF documents
Hi,
is it possible to convert one multipage ABAP spool(ALF) into separated PDF documents. For example: I have a spool with 3 pages and want to convert it into 3 different PDF documents.
With function 'CONVERT_ABAPSPOOLJOB_2_PDF' I can only convert into one PDF document.
Thanks in advance,
Renéhi,
Welcome to SDN forum.
Refer to these links
Re: ALV List as PDF
Re: Print to PDF file
Reward with points if it is helpful
Regards
Alfred -
When I sign in to the Adobe Reader XI (which is the only option that I have to open a pdf document, I will sign in to the Adobe ID sign-in page. After I do this, the "Convert To" box goes "gray" and I am unable to convert the document I have selected. It was working great for the first week that I used it, but now it doesn't give me the converting option. I am very frustrated as I have done nothing to change anything, and I was thinking this was so great...now I am just pulling out my hair and do not have the option of calling anyone since no phone numbers are listed. I am VERY busy and do not have time to sit and wait over a half an hour to "chat", which I tried to do yesterday. All I want to do is very simply, convert pdfs to Word. I have paid for this and am not getting any help. I am not very savvy when it comes to Adobe this program and Adobe that program...I feel I am being scammed as I do not get simple answers for something that appeared was going to be simple. You can't even call customer service to talk to someone live to help walk you through.
Hello Kathie,
Sorry for the inconvenience that has caused to you.
Please let me know if you have tried converting any other PDF to word with Reader.
Alos, please sign up at "https://cloud.acrobat.com/" using your Adobe ID credentials. Click on 'ExportPDF' tab and upload the PDF that you want to convert to Word.
Let me know if this converts fine.
Hope to hear from you.
regards,
Anubha
Maybe you are looking for
-
How to install Arch for dual-boot with Win 7 (on 2 hard drives)?
Hello, the TLDR first: how exactly should I proceed when setting up GRUB for 2 hard drives to dual-boot Arch (64 bit)and Win 7 (64 bit)? Long version: So, I have the following hard drive & partition layout: On my first hard drive (250 GB big) I have:
-
my brother sent our computer to a reset point and i had to un-install Itunes. Now when i try to re-install itunes it completes but then comes up with a message saying Itunes has encountered a problem and has to shut down. It also says about sending a
-
Hello All, We are running on classic scnario. I am using transaction "Monitor Shopping Cart". here after giving SC number I am clicking on print icon and getting following error prompt: Specify either address number or addresshandle If it is a IDOC r
-
Error in Custom E-Sourcing Report
Dear all, I would appreciate your inputs or sugggestions on an error I am receiving with a custom RFx Document Report. I get the error 'invalid column index' when I run the query in the preview mode or from the document. Details of the Report: We hav
-
Duplicate e-mails for same request
Hi all, The user is getting almost 30 repeated e-mails for the same access approval in the GRC landscape? I am not sure about how the e-mail thing works in the GRC landscape? could someonw throw more light here and let me know hw i could stop this r