Problem with CONVERT_ABAPSPOOLJOB_2_PDF through RFC
Hi all,
Basically I've copied the ABAP code from FM CONVERT_ABAPSPOOLJOB_2_PDF to an new FM Z_CONVERT_ABAPSPOOLJOB_2_PDF (and the same for CONVERT_OTFSPOOLJOB_2_PDF) and I've remotely enabled the new FM's for use with RFC (so I can use it with PHP saprfc).
This works superb for OTF files (using Z_CONVERT_OTFSPOOLJOB_2_PDF) and I havn't had any problems at all.
When I use it for ABAP spoollists (using Z_CONVERT_ABAPSPOOLJOB_2_PDF) 85% of the time I've get an error after opening the PDF in Adobe Reader:
"An unrecognized token 'x,xxx' was found", where x is a number
I think this probably has something to do with the fact that the ',' has to be a '.' (or vice versa), but I'm not sure...
... Maybe it has something to do with locale settings on sap server and the machine where the RFC function is called?
Anyone has other ideas for solving this?
Many thanks in advance.
... Please check this thread instead...
... thanks...
Download spool as PDF with PHP problem
Similar Messages
-
Problem with Printing through Deskjet F4288 on Network
Need suggestion to sortout the problem with HP Deskjet F4288 All in one Printer. This printer is installed on Windows XP OS System and when we try to give print on the network through other WinXp OS system then the spooler stopes working on the main system on which this printer is connected.
This sounds like the same issue on another post.
Here is one of the responses from that thread:
"For those who still have this problem, I found the solution on this forum -thanks MP2000 (see http://h30434.www3.hp.com/psg/board/message?board.id=Networking&message.id=839#M839)
Go to the computer that the HP F4280 printer is connected to.
Click on Start --> Printer and Faxes
Right click on HP Deskjet F4280 and select Properties
Click on Advanced tab
Uncheck "Enable advanced printing features"
click OK
And it works!"
I was an HP employee.
Please mark the post that solves your problem as "Accepted Solution" -
Problem with printing through SAP
Hi All,
We have problem with printing, only one person through SAP can only print the documents successfully and the remaining are getting incomplete print output. This is happening only for transactions GD23 and FB03 (FI related transactions). We have tried with removing Saplpd folder and installing Sprint as suggested by SAP from note 894444. Still problem persists. Please suggest me in this regards.
Veerendra Kumar.Hi Ardhian,
We are using Front end printing and already installed SAP GUI new version i.e. 7.10.
Only one user is able to print the document correctly from SAP, and other are getting incorrect print and getting error message "System cannot print the last 80 columns of the report" on one system.
SAP version we are using is 4.7EE.
Let me know if any more information needed for analysing the issue.
VeerendraKumar.
Edited by: Veerendra Kumar Mutyala on Feb 20, 2009 5:35 AM
Edited by: Veerendra Kumar Mutyala on Feb 20, 2009 5:37 AM -
Problem with "Pass Through Chapters" Theme
I was searching old post to get some help and this one help a little but there was still one problem unanswered. I have highlighted in red;
Nov 14, 2008 3:41 PM Re: Pass Through Theme problem
Re: Pass Through Theme problemin response to Glo H
My smaller text which appears in white says Scenes 1-6. The pass through text which is larger and has a different image in it says "Pass Through Chapters" and it rolls by while the smaller text stays put. I notice the image that shows through the pass through text is the same image I set on the main DVD screen. On that one my name of my disc roll past in giant see through letters. I like that but I just don't want that same effect on my chapters screens.
Can the image behind the rolling text be changed to the current window and not the main menu image?Thanks for the tip and figured out to delete my "Scenes 1-6" that was automatically created when, in iMovie, I shared the movie to iDVD with chapters. The menu title text block doesn't like cut/paste and I had to retype the "Scenes 1-6" text for the motion/peek-through scrolling text to refresh.
Hmmm, but how tricky is that and where is it mentioned in the help/faq files etc?
cheers -
Hp 8600 All in one printer problem with scanning through wired network its very slow!
Hi
i have problem with scanning thru network which takes almost more than 2minutes very slow compared to scanning when printer connected locally with USB. i need some solution to fix this issue. Plz advise me what needs to be done prior to scanning?Welcome to the community @Larrypat
I understand your printer is not connecting wireless and only connecting USB. I have some questions and ideas for you that should help. Let's get to it!
Could you please remove the USB cable, run the Print and Scan Doctor again and send me a screen shot of the results from running the diagnostic tool?
Also let me know which model from the C7200 series you have:
HP Photosmart C7250 All-in-One Printer
HP Photosmart C7280 All-in-One Printer
HP Photosmart C7288 All-in-One Printer
Try power cycling the network devices:
Turn off the printer and computer and unplug the router for 1 minute (do not press any buttons on the router).
Plug the router back in and wait another minute, next turn on the printer and computer. Run the Print and Scan Doctor afterwards and try printing.
Let me know how it goes and the results
R a i n b o w 7000I work on behalf of HP
Click the “Kudos Thumbs Up" at the bottom of this post to say
“Thanks” for helping!
Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution! -
Problems with playback through iPod headphones
I've had an issue when I plug in my supplied iPod headphones that the audio playback is muted and the vocals unclear. I checked the headphones on my Mac and when plugged all the way in...same result. Any suggestions short of returning them?
PowerBook G4, iPhone Mac OS X (10.4.10)Thanks for responding.
Yes I'm using iTunes to rip the CDs.
I've tried ripping some songs to AAC 256 kbps without VBR, AAC 128 kbps without VBR, MP3 256 kbps with VBR, MP3 256 kbps without VBR and MP3 128 kbps without VBR. Same problem. Songs play fine on computer when played out of iTunes. Put songs on Shuffle and some will play and other will partially play before skipping to the next song.
The same songs ripped to AAC 256 kbps with VBR played just fine on my first generation 1GB Shuffle. On the new 2GB Shuffle they don't. I wasn't worried when the 2GB Shuffle I bought had a problem I thought it was just a case of one bad apple in the bunch (no pun intended). Now that I've gotten the replacement 2GB Shuffle and it has the same problem I'm left wondering if there's not a problem with them in general. -
Problems with scrolling through premiere timeline using arrow keys and shift arrow
This is a really weird problem in cs6.
When I load a clip into the source monitor i can scroll throughit fine using the arrow keys, and shift arrows and my shuttle pro controller.
When I place the same clip on to the timeline it really struggles to scroll using the arrows or the shuttle pro, its really kerky and sdlwo to scroll the timeline, which is really frstrating, becuase it can play the footage fine in the source monitor.
The clips will playback fine, but scrolling through them just doesn't work as it should any ideas?
Cheers
MikeI changed my shuttle settings to make the shuttling more responsive:
1 - 5 times second
2 - 10
3 - 15
4 - 30
5 - 45
6 - 60
7 - fast as possible
At least I changed this a long time ago - don't know if these are the defaults or not.
It'll only shuttle as fast as your system is responsive of course - so if you get instantaneous scrubbing by dragging the CTI in the timeline with the mouse, you should be able to get good performance with the shuttle. Of course that performance depends on the type of footage and how demanding it is on CPU to decode and whether youi have effects applied etc etc etc.
I edit pretty much exclusively with Sony XDCAM EX 1080P 25 footage we've shot on EX3 and PMW-350 etc and I get very very fast performance on the timeline - no issues at all i7 6 core 4GHz with 24Gb ram and fairly fast RAID array for footage. -
A strange problem with SOAP - XI - RFC
Hi,
I have configured a SOAP-XI-RFC scenario. I want to execute the BAPI_MATERIAL_GET_LIST and BAPI_MATERIAL_GETDETAIL.
When i send the soap request through XMLSpy, I do not get the expected result. For getdetail even though i give a valid material number, it sends me a response saying ...
<RETURN>
<TYPE>E</TYPE>
<CODE>M3262</CODE>
<MESSAGE>Enter a material number</MESSAGE>
<LOG_NO/>
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1/>
<MESSAGE_V2/>
<MESSAGE_V3/>
<MESSAGE_V4/>
</RETURN>
and for getlist it does not return me anything.
i checked executing the BAPI directly in R/3 and it returns proper values.
<b>The most surprising thing is that the messag monitor, sxmb_moni and all the monitors show a success message</b>
Can anyone help me with this?
Any pointers will be of great help
Regards,
RohitHi ,
Check your message mapping once again with the sample test using test tab...
<i>The most surprising thing is that the messag monitor, sxmb_moni and all the monitors show a success message</i>
RFC call successfully goes to SAP and gives a return message to XI.SO it is showing message..
sekhar -
Problem with going through Fluxbox menus
Hello!
http://i.imgur.com/AHTii.jpg
I have a problem. Right-click to open the menu, then I go until the "choose a style" or somewhere deeper. When I come back to something like "File utils" and still the cursor, it doesn't open further menu automatically like those from the beginning to "choose a style". I have to click to open it. When I was going down to "choose a style" - menus were opening automatically with some delay, as it's supposed to be. But it always stops to behave like this after few menus I go through until I close the whole menu and open it again with right-click. I have the latest Fluxbox and everything up to date. Help me to fix this please.Yea I noticed the same problem...
I haven't used fluxbox in quite a while..I just installed it recently because I couldn't get awesome-wm to build properly after reinstalling arch due to hard-drive failure.. -
Problems with "convert_abapspooljob_2_pdf" and Adobe 8.0
Hi
I have created a report which converts a spool file to PDF using FM convert_abapspooljob_2_pdf, an sends it as an email attachment using FM SO_DOCUMENT_SEND_API1.
When using Adobe acrobat reader 7.0 on the client it works just fine, but if i'm trying to open the document with Adobe acrobat reader 8.0 ; I get the error message "There was an error opening this document. The file is damaged and could not be repaired".
Have any of you faced this problem, and how do I solve this ?
Regards
Morten NielsenHi
hmmm.... it looks like the report RSTXPDFT4 convert the spool file correctly - the error must be ind the send mail part of the report. Do you have any Suggestions her ?
Regards
Morten Nielsen
Source Code extract:
FORM create_mail .
DATA: lt_pdf TYPE tline OCCURS 0 WITH HEADER LINE,
lt_pdf_out TYPE solisti1 OCCURS 0 WITH HEADER LINE,
lt_cont_bin TYPE solisti1 OCCURS 0 WITH HEADER LINE,
l_docdata LIKE sodocchgi1,
lt_plist LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
lt_rec LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
lt_cont LIKE solisti1 OCCURS 0 WITH HEADER LINE,
lt_attach LIKE solisti1 OCCURS 0 WITH HEADER LINE,
lt_objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
l_sender LIKE soextreci1-receiver,
l_numbytes TYPE i,
l_pdfspoolid LIKE tsp01-rqident,
l_jobname LIKE tbtcjob-jobname,
l_jobcount LIKE tbtcjob-jobcount.
DATA: wa_yum_sd_receiver TYPE yum_sd_receiver.
DATA: tab_lines TYPE i.
CONSTANTS: c_mail_subj_prefix type string value 'IT Registration For '.
LOOP AT lt_control .
REFRESH: lt_pdf, lt_plist, lt_rec, lt_cont, lt_attach.
Convert Spool File To PDF *
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = lt_control-spool_id
NO_DIALOG =
DST_DEVICE =
PDF_DESTINATION =
IMPORTING
pdf_bytecount = l_numbytes
pdf_spoolid = l_pdfspoolid
btc_jobname = l_jobname
btc_jobcount = l_jobcount
TABLES
pdf = lt_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
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Collect Information For Sendmail Purpose *
*Document Header data
l_docdata-obj_name = 'OBJNAME'.
l_docdata-obj_descr = 'Process RoleRequest for user'.
CONCATENATE c_mail_subj_prefix
lt_control-yum_user
into l_docdata-obj_descr.
*Get Receiver
SELECT SINGLE * FROM yum_sd_receiver INTO wa_yum_sd_receiver
WHERE subsyst = lt_control-subsystem.
lt_rec-receiver = wa_yum_sd_receiver-receiver.
lt_rec-rec_type = wa_yum_sd_receiver-rec_type.
IF sy-subrc NE 0.
MESSAGE e021(yum) WITH lt_control-subsystem.
ERROR ! No Servicedesk mail-adress from for system & in YUM_SD_RECEIVER
ENDIF.
APPEND lt_rec.
*Sender
l_sender = lt_control-requester.
*Create Mail Content
CONCATENATE 'Please process approved role assignment for user'(017)
lt_control-yum_user
'in system'(018)
lt_control-subsystem
INTO lt_cont-line SEPARATED BY space.
APPEND lt_cont.
DESCRIBE TABLE lt_cont LINES tab_lines.
READ TABLE lt_cont INDEX tab_lines.
l_docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( lt_cont ).
CLEAR lt_plist.
CLEAR lt_plist-transf_bin.
lt_plist-head_start = 1.
lt_plist-head_num = 0.
lt_plist-body_start = 1.
lt_plist-body_num = tab_lines.
lt_plist-doc_type = 'TXT'.
APPEND lt_plist.
*Create Packing list
create attachment
CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
EXPORTING
line_width_src = 134
line_width_dst = 255
TRANSFER_BIN = ' '
TABLES
content_in = lt_pdf
content_out = lt_pdf_out
EXCEPTIONS
err_line_width_src_too_long = 1
err_line_width_dst_too_long = 2
err_conv_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.
APPEND LINES OF lt_pdf_out TO lt_cont_bin.
lt_objhead = 'RoleRequest.PDF'.
APPEND lt_objhead.
DESCRIBE TABLE lt_cont_bin LINES tab_lines.
READ TABLE lt_cont_bin INDEX tab_lines.
l_docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( lt_cont_bin ).
clear lt_plist.
clear lt_plist-transf_bin.
lt_plist-transf_bin = 'X'.
lt_plist-head_start = 1.
lt_plist-head_num = 1.
lt_plist-body_start = 1.
lt_plist-body_num = tab_lines.
lt_plist-doc_type = 'PDF'.
lt_plist-obj_name = 'Attachment'.
lt_plist-obj_descr = 'RoleRequest'.
lt_plist-doc_size = tab_lines * 255.
APPEND lt_plist.
Send Mail *
IF p_send EQ 'X'. "Do Not Send in Test Mode
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = l_docdata
put_in_outbox = 'X'
sender_address = l_sender
sender_address_type = 'B'
commit_work = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
SENDER_ID =
TABLES
packing_list = lt_plist
object_header = lt_objhead
contents_bin = lt_cont_bin
contents_txt = lt_cont
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
receivers = lt_rec
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
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " create_mail -
Problem with dblink through ODBC
Hi. Our company are trying to connect to an Oracle 7.3.4 database from Oracle 10g through an ODBC link (using Microsoft Oracle ODBC driver). The database link is working when we test it in SQL Plus, meaning that select * from tablename@dblinkname is working. But, when we are using
Select count(*)
from tablename@dblinkname we get an error:
SQL> select count(*) from address@testlink;
ERROR:
ORA-28500: forbindelse fra ORACLE til ikke-Oracle-system returnerte denne
meldingen:
[Generic Connectivity Using ODBC][Microsoft][ODBC driver for Oracle]Error in
row 1[Microsoft][ODBC driver for Oracle]Error in column 1: Numeric value out of
range (SQL State: 01S01; SQL Code: 0)
ORA-02063: foran 2 lines fra TEST_SID
no rows selected
SQL>
Why is this happening when the tatabase link is working with regular selects?
We think that the problem is centered around the odbc and db link settings. Could it be that we need to specify more in the HS init file? This is our file initTEST_SID.ora:
# HS init parameters
HS_FDS_CONNECT_INFO = odbc_test
HS_AUTOREGISTER = TRUE
HS_FDS_TRACE_LEVEL=OFF
HS_DB_NAME = hsodbc
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
Could it be the ODBC driver version? Our MS ODBC driver is:
Microsoft ODBC for ORacle version 2.575.1022.00, MSORCL32.DLL
Has anybody experienced something like this before?
RonnyI tried the same thing when we needed to connect a 9i database to a 7.3.4 database, but could not get it to work.
Instead, we used a database link to an 8i database which had a database link to our 7.3.4 database. We had to set up some views on the 8i database to hide the link, but it was only temporary. If you go down this route, check your licensing situation.
Tak -
Strange problem with cut-through proxy
hi
i have configured cut- through proxy on the router with acs.i am facing a strange problem .
my routers's ethernet 3/0 interface ip add is 10.1.1.1/24 and the acs server is 10.1.1.2/24 and the host ip is 10.1.1.3/24
my routers' e2/0 interface is connected a server running a website .
int e2/0
no shutdown
ip add 20.1.1.1/24
exit
the webserver is running on 20.1.1.2
my router's config
aaa new-model
aaa authentication login default group tacacs+
aaa authorization auth-proxy default group tacacs+
aaa authorization exec default group tacacs+
tacacs-server host 10.1.1.2
tacacs-server key cisco
ip http server
ip http authentication aaa
ip access-list 101 permit tcp host 10.1.1.2 eq tacacs host 10.1.1.1
ip auth-proxy name auth http
int e3/0
no shutdown
ip add 10.1.1.1/24
ip access-group 101 in
ip auth-proxy auth
exit
on the acs server in the tacacs+ ios
i have selected auth-proxy in the services for users and groups
i have created a user john with privilege level 15
have selected auth-proxy and custom attributes
proxyacl#1=permit tcp any any priv-lvl=15
i get the auth-proxy login page when the host on 10.1.1.3 is trying to access 20.1.1.2 web site .
after putting the login credentials i get authentication failed
i tried the debug. i see the router is sending the authentication login and password and getting the status from the acs as pass. i also see the auth-proxy triggered. in there i see
AUTH-PROXY PROTOCOL NOT CONFIGURED.
could someone pls help me what could be the problem. i am have tried many times to get this work. but not fortunate enough.
am i missing on any commands on the router or on the acs. i tried doing as the example mentioned in the student guide but still failed. pls help. waiting for some reply.
sebastanCheck out the following link...
http://www.cisco.com/en/US/products/ps6120/products_configuration_guide_chapter09186a0080450b5e.html -
Problems with audio track through US-122 in Logic Express
Hi,
This may be a completely stupid question, but I'm having problems with recording through my Tascam US-122 in Logic Express. I can't get anything to register on the level meter in Logic Express (neither direct input nor microphone input). However, I can get the input from the Tascam to register in the system preferences menu outside of Logic, and can get the built in mic on my IBook to register inside of logic. Does anyone have any ideas for me to try out? I've looked in the manual and I'm supposed to be getting the Logic Express training book soon, but I was hoping to record sooner than that.
Thanks!
Shawn JSorry, ignore the above. I needed to enable record before the level would show up.
-
Problem with JCo Connection Pool
Hi,
I have a problem with using an RFC Model in my WebApplication. So sometimes the access to the function block works, and sometimes it doesn't work. Now I know, that there is a problem with the connection pool. Look at this message:
com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool WD_X24_MODELDATA_DEST_CPIC_REKTO_DE_useDefinedUser is exhausted. The current pool size limit (max connections) is 10 connections.
So it looks like a problem with closing the JCo Connections after using. Do know where the problem is? Because I'm using many other function blocks with no problems.Hello,
You need to increase the pool size via Visual Administrator.
Server 0 -> Services -> JCO RFC Connections.
Change the pool size from there. I believe a restart is in order.
Regards,
Jan -
Problem with VPN Client passthrough on ASA 5505
I am having a problem with passing through a VPN client connection on an ASA 5505. The ASA is running version 8 and terminates an anyconnect VPN. The ASA is using PAT. When the inside user connects with the VPN client, it connects but no traffic passes through the tunnel. I see the error
305006 regular translation creation failed for protocol 50 src INSIDE:y.y.y.y dst OUTSIDE:x.x.x.x
UDP 500,4500 and ESP are allowed into the ASA. Ipsec inspection has also been setup on a global policy, but the user still cannot pass traffice to the remote VPN he is connected through.
At the Main Office we have an ASA 5510 that terminates a site to site VPN, allows remote connections with PAT and allows passthrough no problems. Any ideas?I am having a simuliar issue with my ASA 5505 that I have set up. I am trying to VPN into the Office. I have no problem accessing the Office network when I am on the internet without the ASA 5505. After I installed the 5505, and there is internet access, I try to connect to the Office network without success. The VPN connects with the following error.
3 Dec 31 2007 05:30:00 305006 xxx.xx.114.97
regular translation creation failed for protocol 50 src inside:192.168.1.9 dst outside:xxx.xx.114.97
HELP?
Maybe you are looking for
-
Ageing report-Days range as an I/p
Based on posting date we designed an Ageing report 0 30 60 90 120 .... now users want day range as an i/p means => user will i/p day range say 40 then report will be executed for 0 40 80 120 ..... if i/p for day range is 60 then 0 60 120 1
-
Script to resize all tables in a document
I'm using Framemaker 11, and have tons of tables that need to be resized so that they fit within the text frame. Does anyone know of a script or a fast way to resize all the tables in a document at once?
-
My blackberry is freezing when i turn it on
hi my blackberry curve keeps frezzing when i try and turn it on when the blackberry logo and the loading bar comes on it will go so far and then freeze. i have tried taking the battery out several time but this problem keeps coming back.
-
Purchasing Group Basic Question
Gurus, I have a some basic question in EBP................ 1. Creating PO is Purchasing Group is mantatory. 2. Classic Scenario - If i create Shopping Cart for local Purchasing group. PO can create without error in backend(R/3). 3. Extended Classic S
-
Labview crashes with access violation(0xc00000050at EIP=0x7c8219a6
when i poen my project in labview ,it crashes with "access violation(0xc00000050at EIP=0x7c8219a6.why is this happening?how can i open my project?