Error 512 when calling PEOpenPrintJob
Post Author: gnilsen
CA Forum: Crystal Reports
Hello,
I'm using a product called Dexterity which is for the Microsoft Dynamics platform. We use crpe32.dll to run our crystal reports from our application. First of all, when Crystal 10 was installed we used crpe32.dll with a date of 06/13/2004 and my reports print just fine. When I upgrade to Crystal XI, initial install, I get a crpe32.dll with a date of 12/07/2004 and my reports don't print. I get the error 512 when calling PEOpenPrintJob. So I figured I would move up to SP4 for Crystal XI and which provided crpe32.dll 05/27/2007 1:12 AM. I tried to run the reports with that .dll and I run into the same error. From my research I see that error 512 is PE_ERR_ENGINENOTOPEN or Print Engine Not Opened.
Here is where my report is located and this is what I pass into PEOpenPrintJob: "C:\MBS\GP10\WennSoft\Crystal Reports\Service WIP Summary.rpt"
I have tried a few different approaches trying to get this to work and here is some of my troubleshooting ending up with no luck. I took my Crystal 10 report and saved it as a Crystal XI report and that didn't work. I tried to use the old crpe32.dll from Crystal 10 and the program is smart enough to grab the latest crpe32.dll from the C:\Program Files\Common Files\Business Objects\3.0\bin folder. The report does have sub reports in it, but my code starts with trying to get the main report Print Job first and it doesn't even get to the code for the sub reports. (I don't know if that helps but I trying to give as much info as possible.)
1) Is there anything I need to do different in Crystal XI?
2) Do I need to call something before PEOpenPrintJob?
Thanks in advance.
Hi Nayani
Please go to the technical WF log, select the mail step in error and check the container element ADDRESSSTRING - it should have valid values. If there is no value or at least one line, that is the cause of your error.....this means you will have to correct the method/process/code/ where you are fetching the email addresses.
regards,
Modak
Similar Messages
-
i am trying to generate purchase order and i create a BAPI also which is active.
But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".Hi,
Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
This is my CODE-
FUNCTION ZBAPIPOTV2.
*"*"Local Interface:
*" IMPORTING
*" VALUE(POHD) TYPE ZPOHD OPTIONAL
*" VALUE(POITEM) TYPE ZPOITEM OPTIONAL
*" TABLES
*" RETURN STRUCTURE BAPIRET1 OPTIONAL
data: ls_pohd type bapimepoheader,
ls_pohdx TYPE bapimepoheaderx,
lt_poit TYPE TABLE OF bapimepoitem,
lt_poitx TYPE TABLE OF bapimepoitemx,
ls_poit TYPE bapimepoitem,
ls_poitx TYPE bapimepoitemx.
MOVE-CORRESPONDING pohd to ls_pohd.
MOVE-CORRESPONDING poitem to ls_poit.
ls_pohdx-comp_code = 'x'.
ls_pohdx-doc_type = 'x'.
ls_pohdx-vendor = 'x'.
ls_pohdx-purch_org = 'x'.
ls_pohdx-pur_group = 'x'.
ls_poit-po_item = '00010'.
APPEND ls_poit to lt_poit.
ls_poitx-po_item = '00010'.
ls_poitx-po_itemx = 'x'.
ls_poitx-material = 'x'.
ls_poitx-plant = 'x'.
ls_poitx-quantity = 'x'.
APPEND ls_poitx to lt_poitx.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = ls_pohd
POHEADERX = ls_pohdx
* POADDRVENDOR =
* TESTRUN =
* MEMORY_UNCOMPLETE =
* MEMORY_COMPLETE =
* POEXPIMPHEADER =
* POEXPIMPHEADERX =
* VERSIONS =
* NO_MESSAGING =
* NO_MESSAGE_REQ =
* NO_AUTHORITY =
* NO_PRICE_FROM_PO =
* PARK_COMPLETE =
* PARK_UNCOMPLETE =
* IMPORTING
* EXPPURCHASEORDER =
* EXPHEADER =
* EXPPOEXPIMPHEADER =
TABLES
RETURN = return
POITEM = lt_poit
POITEMX = lt_poitx
* POADDRDELIVERY =
* POSCHEDULE =
* POSCHEDULEX =
* POACCOUNT =
* POACCOUNTPROFITSEGMENT =
* POACCOUNTX =
* POCONDHEADER =
* POCONDHEADERX =
* POCOND =
* POCONDX =
* POLIMITS =
* POCONTRACTLIMITS =
* POSERVICES =
* POSRVACCESSVALUES =
* POSERVICESTEXT =
* EXTENSIONIN =
* EXTENSIONOUT =
* POEXPIMPITEM =
* POEXPIMPITEMX =
* POTEXTHEADER =
* POTEXTITEM =
* ALLVERSIONS =
* POPARTNER =
* POCOMPONENTS =
* POCOMPONENTSX =
* POSHIPPING =
* POSHIPPINGX =
* POSHIPPINGEXP =
* SERIALNUMBER =
* SERIALNUMBERX =
* INVPLANHEADER =
* INVPLANHEADERX =
* INVPLANITEM =
* INVPLANITEMX =
ENDFUNCTION.
i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". -
When attempting to create a new Account in siebel integrated with OEDQ the following error occurs.
ERROR
Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.bootstrap.library.path)(SBL-APS-00118)
STEPS
The issue can be reproduced at will with the following steps:
1) from EDQ director we have imported the EDQ_CDS,EDQ-REFERENCE DATA & EDQ_HISTORICAl DATA packages sucessfully.
2) Created dnd.param file in SIebel server SDQCOnnector folder.
3) Copied the libdnd.so file to siebsrvr lib directory(32 bit)
3) In dnd.param file we have mentioned the javalib file and instllation directory path(<Siebsrvr roo>/dnd/install)
4) Unzipped the EDQ-Siebel Connector files in dnd/install folder
5) Copied the dnd.properties file in dnd/install directory and modified it accordingly to point to installed EDQ instance.
6) Configured the Siebel components for EDQ integration.
7) Realtime EDQ jobs are running.
8) Create a new Account
Env details are
On : 8.2.2.14 [IP2014] version, Client Functionality
EDQ 11.1.1.7.4
IBM JDK 1.7 32 bit
Using Open UI
Any Champ have faced this issue and overcame it please let me know the resolution steps. your help is
Regards
Monoj Dey
9007554589Hi Monoj,
A few questions:
- What OS is Siebel running on?
- What version of the Siebel connector are you using?
- Which libdnd.so file are you using?
- What's the contents of your dnd.parms file?
thanks,
Nick -
Error '9' when calling service 'SO_OBJECT_SEND'
We are implementing travel module. The scenario is when the employee raises a travel request, after approving the mail should be sent back to the employee. This feature is provided by the standard.
However in the SEND_MAIL step the WORKFLOW Container variable 'Employee.Trip.User.Id' is not set owing to which the mail step gives out error.
Can anyone please guide us on the probable cause of the error ?? Where does the object TRIP gets the value 'TRIP.USER.ID' ??
Is it any setting issue ??
Please guide..Hi
Run report HRALXSYNC and you will solve this.
We have faced this issue many times and the solution we have applied is
1. This issue occurs on a step that is dialog where some agent needs to either approver or reject.
2. You should check the rule (Agent determination rule in that step).
Run that rule with the workflow data (use scenario with which you are getting error).
Run the rule individually and check if you are getting right result.
this error most of the time id due to the fact that the rule is not be able to determine next processor of the workitem.
Error 9 when calling service SO_OBJECT_SEND SWF_RUN535
to assure you can hardcode the user for test in the rule and run the workflow as that is the most effective analysis that will help you determine the cause.
I have never seen this error on a background step unless there is a mail step involved.
You need to run the report HRALXSYNC to synchronize HR objects which will surely solve this issue.
regards
barin -
Runtime error OBJECTS_OBJREF_NOT_ASSIGNED when calling any standard GRC API's
Hello colleagues,
I always get the runtime error OBJECTS_OBJREF_NOT_ASSIGNED when calling any standard GRC API's
For instance, lets take Function Modules:
I tried almost any of them but in particular:
GRPC_API_CONTROL_QUERY Load the list of controls
GRPC_API_ISSUE_QUERY Retrieve issues of the case
GRPC_API_ORGUNIT_QUERY Load list of Organizations
GRPC_API_RMPLAN_QUERY Retrieve remediation plans of case
GRPC_API_RISK_CONTROLS Retrieve the controls of the risk
and etc.
All of them return the runtime error OBJECTS_OBJREF_NOT_ASSIGNED, however I've provided Object ID's in the right format,
The same is for corresponding classes,
Does anyone have such problem before?
Appreciate your responses,
Thank you,
Best Regards,
AntonHi Anton,
We need to pass value for I_SESSION_ID. Because, when i execute FM: GRPC_API_RMPLAN_QUERY by giving correct I_OBJECT_ID as shown below, i'm also getting the same error.
On executing..
Getting following dump.
And attached is the dump analysis .
Thanks
KH -
Getting Error Message "Error '9' when calling service 'SO_OBJECT_SEND'
Hi All,
We are working on SRM5.0(with servier 5.5 paching 14) and ECC (R/3) with SAP appl 600(16 th patch).but the workflow is giving the error "Error '9' when calling service 'SO_OBJECT_SEND' and PO is still in the awating approval status.
Regards
Channappa SajjanarHi,
See this related thread:
Re: Workflow Error -- Error' 9' when calling service ' SO_OBJECT_SEND' -
SRM Workflow error- Error' 9' when calling service ' SO_OBJECT_SEND'
Hi Team,
We are facing problem with SAP SRM Workflow error- Error' 9' when calling service ' SO_OBJECT_SEND' .
Due to this WI is not going to Approver/Requester INBOX and unable to process that WI.
Please advice .
Greatly Appreciated for Help.
Regards
CKHi,
Not sure what '9' is, the exceptions called by the SO_OBJECT_SEND function are as follows:
EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 35
COMMUNICATION_FAILURE = 71
COMPONENT_NOT_AVAILABLE = 01
FOLDER_NOT_EXIST = 06
FOLDER_NO_AUTHORIZATION = 05
FORWARDER_NOT_EXIST = 08
NOTE_NOT_EXIST = 45
OBJECT_NOT_EXIST = 13
OBJECT_NOT_SENT = 15
OBJECT_NO_AUTHORIZATION = 13
OBJECT_TYPE_NOT_EXIST = 17
OPERATION_NO_AUTHORIZATION = 21
OWNER_NOT_EXIST = 22
PARAMETER_ERROR = 23
SUBSTITUTE_NOT_ACTIVE = 31
SUBSTITUTE_NOT_DEFINED = 32
SYSTEM_FAILURE = 72
TOO_MUCH_RECEIVERS = 73
USER_NOT_EXIST = 46
OTHERS = 1000.
Regards,
Jason -
Workflow Error -- Error' 9' when calling service ' SO_OBJECT_SEND'
Hi ,
Could you pls tell me what will be the reason for this Error' 9' when calling service ' SO_OBJECT_SEND'
Thanks & Regards,
GopalHello
reason could be lot of things:
check the note 938147 for example...
Another helpful note is the 190669
regards,
daniel -
Error '20' When calling Service 'SO_OBJECT_SEND'.
Hi Experts,
In my work flow I am using step to send mail.
While executing the workflow this step is throwing the above error 'Error '20' When calling Service 'SO_OBJECT_SEND'.
Please help me in this case.
Regards,
NayaniHi Nayani
Please go to the technical WF log, select the mail step in error and check the container element ADDRESSSTRING - it should have valid values. If there is no value or at least one line, that is the cause of your error.....this means you will have to correct the method/process/code/ where you are fetching the email addresses.
regards,
Modak -
Why do I get Error -1073807343 when calling the open visa function ?
Hello,
I am running a Labview 6i under Linux (kernel 2.4) and I have Error -1073807343 when calling the open visa function. I have verified the name of the session (GPIB0::9::INSTR), and I can communicate with my instruments with ibic.
More informations : I use NIVISA 2.5 and nigpib-0.8.2. I have downloaded the lastest drivers of my instruments but it doesn't work better.
Thanks very much for your help.We've had several NI-VISA releases since 2.5 - so I suggest you upgrade to NI-VISA 3.0. While there isn't anything specific to your type of problem in the Linux version of our readme.txt, I know we've made a number of other fixes.
While the most recent release is NI-VISA 3.1, I still recommend you upgrade only to 3.0.
This is because NI-VISA 3.1 requires the new NI-488.2 release for GPIB-ENET to be installed (even though you aren't using that product). This is due to some internal rearchitectures, and the PCI-GPIB product is not released. If you do want to go with NI-VISA 3.1, the new NI-488.2 release for GPIB-ENET on Linux will still work with the PCI-GPIB beta driver that you have installed.
Dan Mondrik
National Instruments -
Error messages when calling RSDRI_INFOPROV_READ for more than one time
Hello all,
I need to write a cube, however, before I do this I need to check whether there are already data in the target cube for a certain accounting period. This I do by reading the cube via FM RSDRI_INFOPROV_READ. The following coding is called from a running program after pushing a button on the screen.
<i>* clear internal tables.
CLEAR gt_range.
CLEAR gt_sfc.
*fill internal tables
CLEAR ls_sfc.
ls_sfc-chanm = '0FISCPER'.
ls_sfc-chaalias = '0FISCPER'.
ls_sfc-orderby = 0.
INSERT ls_sfc INTO TABLE gt_sfc.
CLEAR ls_range.
ls_range-chanm = '0FISCPER'.
ls_range-sign = rs_c_range_sign-including.
ls_range-compop = rs_c_range_opt-equal.
ls_range-low = '2007001'.
APPEND ls_range TO gt_range.
here I do not know what exactly to do with this flag
lf_first_call = abap_true.
CALL FUNCTION 'RSDRI_INFOPROV_READ'
EXPORTING
i_infoprov = 'T01'
i_th_sfc = gt_sfc
i_th_sfk = gt_sfk
i_t_range = gt_range
i_packagesize = 1
IMPORTING
e_t_data = lt_rd_cube
e_end_of_data = lf_eod
CHANGING
c_first_call = lf_first_call
EXCEPTIONS
illegal_input = 1
illegal_input_sfc = 2
illegal_input_sfk = 3
illegal_input_range = 4
illegal_input_tablesel = 5
no_authorization = 6
illegal_download = 7
illegal_tablename = 8
trans_no_write_mode = 9
inherited_error = 10
x_message = 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.
lf_eod = abap_false.
IF NOT lt_rd_cube IS INITIAL.
RAISE target_data_found.
EXIT.
ENDIF.</i>
When testing with a period for which data already exists, it runs through quite perfectly. The return table is filled and I know that data exists and I EXIT.
However, if I press the button again (program is still running) I get an error message 'Nested call of RSDRI_INFOPROV_READ'. And this for each time I press the button.
So I thought I should clear the flag lf_first_call. After having done so I get an error message 'SQL Error'. Funny is that I get this error only every second time the Function Module is processed. Every other time it works perfectly.
How can I get rid of those error messages?
PLEASE - can anybody help me?
Many thanks in advance,
ThomasHi,
you have something like:
end_of_data = ' '.
first_call = 'X'.
WHILE end_of_data = ' '.
CALL FUNCTION 'RSDRI_INFOPROV_READ'
EXPORTING i_infoprov = ....
i_th_sfc = ...
i_th_sfk = ...
i_t_range = ...
i_reference_date = ...
i_save_in_table = ....
i_save_in_file = ....
I_USE_DB_AGGREGATION = ...
i_packagesize = 100000
i_authority_check = ...
IMPORTING e_t_data = .....
e_end_of_data = end_of_data
CHANGING c_first_call = first_call
EXCEPTIONS illegal_input = 1
illegal_input_sfc = 2
illegal_input_sfk = 3
illegal_input_range = 4
illegal_input_tablesel = 5
no_authorization = 6
ncum_not_supported = 7
illegal_download = 8
illegal_tablename = 9
OTHERS = 11.
ENDWHILE.
hope this helps...
Olivier. -
Error message when calling a Business Connector RFC destination from SRM
Hello all,
We are facing one problem with data Purchase Order transmission between SRM 5.0 (SRM_SERVER 5.5, extended classic scenario) and Business Connector 4.7.
We made needed customizing in order to have "XML / XI" output medium available in tab 'Company Data' in "Manage Business Partners" web transaction (by updating BBP_USE_AI table in SM30 transaction).
Then, we implemented BAdI definition BBP_EBPXML_OUT_BADI with method PURCHASEORDER in order to change XI system type to Business Connector.
In this way, PO transfer data between SRM and BC is done using BC Module Function BAPI_POEC_XML_SEND (TCP/IP RFC connection was defined for Purchase Order in BBPC_RFCDEST table).
Nevertheless, even if method BBP_PO_SEND_XML is correctly triggered when PO is created with a vendor with XML output medium, we have in the document output log ("Process Purchase Order" web transaction) an error message:
' Error (Unknown Partner and Message Type. Routing Rule created. Sender: SMR Receiver:) when calling RFC destination BC '
where SRM is the SRM log. sys. and BC the Business Connector log. sys.
Our EAI team is working on it, but if you have any idea, your are welcome !
Thank you in advance.
Regards.
LaurentHello Christian,
Thank you for your help. However, we abandoned this solution between SRM and Business Connector.
So, we followed instructions indicated in OSS note 883693 - "ECS: PO output determination in R/3".
Nevertheless, in order to restrict this behaviour for specific vendors and purchasing organizations, we added some filters.
It is working fine.
However, when the PO is modified in SRM, then order again, PO is modified in R/3 (by the RFC user from SRM) more than once.
As a consequence, we have as much messages as modifications of the order in R/3 (due to multiple RFC access with the SRM RFC user).
Does anybody have an idea to have only one R/3 output message when the PO is modified in SRM ?
One solution could be to check in the NAST table if the time creation of the last output message is lower than, for example, one minute.
If it is the case, we do not allow R/3 ouput message.
Any suggestions is welcome.
Regards.
Laurent. -
How to get more detailed error information when calling Java SP
Hi
Sorry for reposting this in here but I got no responses in the JVM forum...
I am calling a Java stored procedure from a PL/SQL stored procedure (Oracle DB 9.2.0.8.0) and I am getting the exception:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.NullPointerException
It does not help much though... Is it possible to get the full Java error stack from within PL/SQL so I can log a more informative message?
Thanks!
LuisThanks for the replies! However I am not sure if they help...
I will give some more info about my problem. I have an Oracle job that runs every morning and executes a PL/SQL procedure, which in turn calls that Java SP.
Sometimes the Java SP fails and the error is logged; however only the message "java.lang.NullPointerException" is reported by the SQLERRM function (apparently the last Java error message in the error stack). I am unable to reproduce the error when calling the Java SP manually as was suggested.
I need to log a more detailed error message from within PL/SQL to know exactly where the error occurred, when it occurs next time...
I will take a look to see if I can get some information in some trace file, though ideally I would like to do it programatically.
Thanks
Luis -
Error BT616 when calling function module SXPG_COMMAND_EXECUTE in background
Hi All,
We use function module SXPG_COMMAND_EXECUTE with a custom command we defined in SM69 to move files in unix (mv command).
The function module call has worked fine for almost a year and recently we have been seeing an error (BT616) in our job lob (SM37) when the program is run in background. We have not been able to reproduce the error in foreground mode and it seems to be occuring only periodically in the background. (The appropriate SAP authorization objects where assigned to the batch job ID and the steps on the batch job.) We are in the process of setting up the trace flag and performing analysis on the trace log via ST11 to help identify the issue.
After perform analysis on SXPG_COMMAND_EXECUTE, the error is occurring when calling function module SAPXPG_END_XPG for exception 2, system failure, yet function module SAPXPG_END_XPG does not exist. I assume this is a program at the operating system level and is just a signature of the parameters to be passed to the operating system program.
Below is part of the SAP function module SXPG_COMMAND_EXECUTE that is failing.
* Now we have to wait for the termination of the external
* command if the caller wants us to.
IF TERMINATIONWAIT = 'X'.
CALL FUNCTION 'SAPXPG_END_XPG'
DESTINATION DESTINATION
IMPORTING EXITSTAT = STATUS
EXITCODE = EXITCODE
TABLES LOG = LOG
EXCEPTIONS COMMUNICATION_FAILURE = 1 MESSAGE MSG
SYSTEM_FAILURE = 2 MESSAGE MSG.
I performed a where used on function module SXPG_COMMAND_EXECUTE, and most of SAP programs call the function module with the parameter TERMINATIONWAIT = 'X', so I assume we should pass X as well.
Any ideas on what could be causing this issue?
Mike VondranI also remember I have this kind of issue, as I have some UNIX script at OS( UNIX) level . The problem was with the ID , as it dont have proper authorization at OS level ( UNIX ) . Please check this ID authorization. This could be the one of reasons if youre sure from SAP standpoint.
Hope thisll give you some guide line..
Thanks
Bye -
Hello,
I'm using LabView9 32-bit on 64-bit machine (Windows7) and I'm trying to call some functions from an external dll (32-bit).
When configuring the call-library-function-node to use this dll I get an error message saying:
"error loading (filename of dll)". Invalid access to memory location.
The message is in German as is my operating system.
Now I wrote a little test app in VC++ which directly called the dll. Everything worked fine.
Next I wrote a wrapper-dll to call the original dll's functions and used that with my test app in VC++. Also no problems.
Finally I configured LabView to call the wrapper-dll and got no error message at least right after configuration.
But when I run the VI and debug the wrapper-dll I get an error 998 when the wrapper-dll tries to load the original dll.
According to Microsoft's description of system error codes this is ERROR_NOACCESS and means exactly "Invalid access to memory location".
So for some strange reason LabView isn't able to load that dll, which is obviously no problem for a C++ app.
Any help on this would be very much appreciated since my project is strongly dependent on getting this to work.
Best regards,
\Ulli.Hi Ronnie,
unfortunately there is no direct solution for this issue so far. Both sides, the dll-vendor (texas instruments) and ni are aware of it, with ni (in my opinion) at least trying to solve it.
The cause seems to be some encryption stuff on the vendor side (they use an usb dongle). Is something similar involved with your problem?
My current workaround is to have an external wrapper app written in c++ accessing the said dll. To this wrapper I communicate via socket to realise the function calls.
This is quite annoying since it's a bit of work to do and you definitely loose performance. But so far no one was able (and in case of Texas Instruments even not willing) to help on that problem.
And again: for me this issue applies only for the said configuration:
Windows7, 64-bit,
LV2009, 32-bit (I cannot use 64 bit because of some 32-bit-only toolboxes)
the dll is available both in 32 and 64 bit...
I'm still exited, if there will be an official solution,
good luck,
\Ulli.
Maybe you are looking for
-
Some more info on Installation - what's wrong?
Here is an excerpt from the dcm logfile. I've installed iAS with just the most important components, i.e. Http Webserver and OC4J, so no infrastructure. I don't have a clue why this type of easy installation is so hard!!!? I don't have a directory se
-
Getting error 3253 while downloading ios 6.1.3 on windows 7.
I am getting error 3253 while downloading ios 6.1.3 on my windows 7. I am having version 11.0.2.26 of i-Tunes. I tried downloading manier times but not worth after downloading half of the size i lost my network connection and error -3253 pop up. I a
-
Hi there, is it possible to change the Icons of sheets (on the left side)
-
I'm so glad to have my Playbook!
Yesterday, I tried out a Nexus7 tablet for Google. After one hour of confusion and a massive headache, I truly prefer my Playbook. It's a lot easier to use with the swiping and tapping of apps and widgets. I like the simplicity of the layout of the
-
I'm trying to restore my ipod, but whenever I try to it says error 2001 or 2006. How do I restore it? I've also updated all of what I can.