Issue with Business object add ........ VB6, SAP 2004A, SQL Server2000
my scenario is this,
I am creating a business partner when an item is added , my business partner gets created but not the Item.
The Item is created manually by the user, and the on the Click event of the Add button I create the Business partner. I cannot understand the issue. SAP does not throw any errors either.
If I remove call to the BP creating function then the Item is added.
here is the code,
Case et_CLICK
If pVal.ItemUID = "1" Then
If Not pVal.BeforeAction Then
If mObjSBOApplication.Forms(FormUID).Mode = fm_ADD_MODE Then
CreateBusinessPartner
End If
End If
End If
and here is the CreateBusinessPatner Fucntion
Dim oBPMasterObject As New SAPbobsCOM.BusinessPartners
Set oBPMasterObject = gObjCompany.GetBusinessObject(oBusinessPartners)
With oBPMasterObject
.CardCode = sKey
.CardName = sKey
.add
End With
Set oBPMasterObject = Nothing
appreciate any help.
Indika.
hello!!
are you sure that the program pass trought your function "CreateBusinessPartner"?have you put a breakpoint in the call of the function?be carefully with the events, beforeevent...
another reason cuold be, what value returns the .add method?
you can capture ...
if lret =.add <> 0
MessageBox.show(ocompany.getlasterrordescription)
end if
Could be that sap don't create your business partner, and it no returns a visible error
ahhh one more thing, be careful with the form mode
Similar Messages
-
Performance issue with Business Objects Java JRC API in CRXI R2 version
A report is developed using java JRC API in CR XI release 2. When I generate the report in the designer, it took less than 5 seconds to display the results in crystal report viewer inside the designer. But in the QA environment, when I generate the same report from the application, it takes almost 1 to 1.5 minutes to display the same results in PDF. I also noticed that if the dataset contains bigger volume of data, then the reports are taking even longer almost 15 to 20 minutes.
While generating the report from the application, I noticed that most of time is taken during the execution of the com.crystaldecisions.report.web.viewer.ReportExportControl Object method as shown in following line of code
exportControl.processHttpRequest(request, response, context, null)
We thought the delay in exporting the report to PDF might be the layout of the report and data conversion to PDF for such a bigger volume of data.
Then we investigated the issue and experimented quickly to generate the same report with same result set data from the application using XML, XSL and converted the output XSL-FO to PDF using Apache FOP (Formatting Objects Processor) implementation. The time taken to export the report to PDF is less than 6 seconds. By doing this experiment, it is proved that the issue is not with conversion of data to PDF but it is the performance problem with Business Objects Java JRC API in CR XI R2.
In this regard, I searched for the above issue in the SAP community Network Forums -> Crystal Reports and Xcelsius -> Java Development -> Crystal Reports. But I did not find any answers or solutions for this kind of issue in the forums.
Any suggestion, hint in this matter is very much appreciated.Ted, The setReportAppServer problem is resolved. Now I could able to generate the report with hardcoded values in the SQLs in just 6 seconds where as the same report was generated in CRXI R2 in 1 minute 15 seconds as mentioned in the earlier message.
But, our exisiting application passes the parameter values to the SQLs embedded in the report. For some reason the parameters are not being passed to the report and the report displays only the labels without data.
As per the crj 12 samples codes, the code is written as shown below.
1. Created ReportClient Document
2. SetReportAppServer
3. Open the report
4. Getting DatabaseController and switching the database connection at runtime
5. Then setting the parameters as detailed below
ParameteFields parameterFieldController = reportClientDoc.getDataDefController().getParameterFieldController();
parameterFieldController.setCurrentValue("", "paramname",paramvalue);
parameterFieldController.setCurrentValue("", "paramname",paramavalue);
byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
6. Streaming the report to the browser
Why the parematers are not being passed to the report? Do I need to follow the order of setting these parameters? Did I miss any line of code for setting Params using crj 12?
Any help in this regard would be greatly appreciated. -
Hi,
I am in the process of installing Business Objects XI 3.1 in one of our server. While installing I am getting the error 'The Central Management Server has failed to start. Press 'retry' to attempt to start it again or 'cancel' to skip any actions dependendent on the Central Management Server. STW00213.'
I have tried re-installing the BO, and also tried installing without giving admin password. But it doesn't work. And also I ahve tried giving the passwords of database and CMS Admin without Sepcia Characters. But it also doesn't work.
If I cancel and install the BO, Server Intelligence Agent is not available in Central Management Server.
Could anyone help on this issue?
Thanks
PrakadeshHi Prakadesh,
Try these steps.
1. Stop and disable the service of current SIA. You can do it from start-->run services.msc. Double click the SIA service and change the status to disable.
2. Login into sqlplus and drop all the CMS tables.
3. Create a new SIA pointing to Oracle from the CCM.
4. Start the new SIA and check if all services come up and you are able to login into Manager servers.
If this does not work, check the event viewer for error messages.
Regards
Chinmaya -
Problem connecting SAP IS-U (ECC 6.0) with Business Objects Edge 3.1
Dear all,
I'm trying to connect to a SAP ECC 6.0 System (SAP IS-U) with Business Objects 3.1 (for example with Crystal Reports). I have installed the SAP RFC SDK on the ECC server and have imported these transport files:
Open SQL reporting objects
InfoSet reporting objects
Row Level Security Tool
Security functions
Cluster Definition Editor
But CR keeps returning this error "You do not have the necessary rights to design reports against the SAP System". I've read a few threads about that problem here. I couldn't find a specific "ABAP transport" - did I miss to import anything else?
Is there any way to check whether the transport files work as they are supposed to? Like the MDX parser connection test for SAP Business Warehouse.
Any other suggestions?
thanks in advance!Hi,
I read about these authorization tasks in some other thread, but didn't know what to do.
But now I found the auth. object in the transaction SU21.
Since I cannot edit SAP_ALL I created another profile in transaction PFCG (just in case someone else is still messing with that problem) and added all activities of ZSEGREPORT ans S_RFC.
After that I added the profile to the users in question.
Now everything works like a charm.
Thanks alot! -
I have error while testing the system created from a sap business objects template in SAP portal
I have error while testing the system created from a sap business objects template in SAP portal. Error text:
com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection. Connection Failed: A nested exception occurred. Could not initialize physical connection. Connection Failed: A nested exception occurred. Could not create JCO connection. 'mshost' missing
I configure integration SAP portal and SAP BW system. All system requirements are complied.
Environment
SAP Business Objects 4.0
SAP BW 7.31
1. I configure SSSO between SAP BW and SAP Business Objects Enterprise 4.0
2. Next I setting integration SAP PORTAL with SAP BW system
3. I download certificate from portal. Select Certificates and key (http://sapserver:port/nwa) – See scren_
4. In next window selected Ticketkeystore and Saplogonticketpair-cert( near part window form)
5. Select Export entry button and binary format file certificate for download. Press download.
6. Save certificate file in local PC folder
In next step need export certificate file to SAP system. Sequence of step:
1. Run STRUSTSS02 transaction .
2. Chose certificate ->import.
3. Select downloaded certificate file
4. Select Add to certificate list button and Add to ACL button
5. Inter System ID and Client(000)
6. In next I download iview sap business objects template into sap portal: System administration->transport->Import. And select and download sap business Objects iview template in .epa format into sap portal.
7. Result – downloaded iview.
8. In next step I create system from template. System administration->system landscape.
9. In next step I input parameters for my system in Connector category, Sap business objects and user management categories: See screen _2
10. When I created the system and test the connection error occurred: See screen_3
This issue is important enough. I would be grateful for opinions and ideas. Thanks in advance.Did you find a solution?
-
WebSphere Portal 6.1 SSO problem with Business Objects Release 3 server.
Have anybody successfully integrated SSO between WebSphere Portal 6.1 BO portlet with Business Object release 3 server ?? If so please help. I have followed the steps in BO documentation (Portal Integration Kit for WebSphere) but when I logged on to portal I get the following error message
Auto signon to the BusinessObjects Enterprise infrastructure at hostname failed. Contact your reporting administrator for assistance." messageAnybody still looking for a solution following the below guides.
http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_pik_adminportlet_en.pdf
Replace secEnterprise with secLDAP in below guide for LDAP Automatic Sign
http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_pik_deploy_ibm_en.pdf -
OpenLDAP configuration with Business Objects
Hello,
i post this news thread for the LDAP configuration.
I work with business object 3.0
i Have an openldap directory .... so I made o custom configuration ...
With this costume config i can had prefectly all of my ldap groups but not my users... !!!! Dramatic.... !!!!!!
"The secLdap plugin failed to get the dn for the user 'nameofuser'.
Wath is the right config for the default openldap directory... ?
Joint Pictures ..
thank U
benjamin for france : Nantes
LDAP Server Attribute Mappings
Object Class: objectclass
Static Group: posixGroup
Static Group Member:
Dynamic Group:
Dynamic Group Filter:
Group Description: inetOrgPerson
User Object Class: iud
User Name: cn
User Full Name: cn
User Email: mail
User Description: title
LDAP Default Search Attributes
Default Group Search Attribute: cn
Default User Search Attribute: cn
Edited by: Koffi Jean-Marie on Feb 3, 2009 10:19 AMFirstly Open LDAP is not officially supported as an LDAP type, due to the wide range of customisation available, it makes it difficult to configure with BO products.
It is important to have an LDIF of a user and a group and to use this when setting LDAP attributes in the CMC. You can use "SAP Note 1253052 - LDAP Attributes Explained" to do this.
Did you check the "New users will be created" radio Button?
Are the group members being specified with the full DN (posixgroups will only have CN)?
Please also review SAP Notes 1203851, 1199496, 1257758 for related solutions to your error. -
EPM Connector with Business Objects 4.0
Hi experts,
Has anyone been able to install the EPM connector on BPC MS7.5 to use with Business Objects 4.0?
The instructions in the BPC manuals all seem to refer to Business Objects XI and don't work for us. I was not able to find any updated documentation.
Thanks
SabineHi Sabine,
I have found a guide on SAP BusinessObjects EPM Connector 7.5. Please find the link below. As the doc is a bit old, I think it doesn't covers BI 4.0.
https://websmp204.sap-ag.de/~sapdownload/011000358700001297252009E/EPMConnector75_en.pdf
You can submit this query in [SAP Idea Place|https://cw.sdn.sap.com/cw/community/ideas/businessanalytics/epm_bpc_netweaver]
Regards,
Raghu -
Business Objects Integration for SAP
Is there something you have to install, or is every integration with BW or ERP possible out of the box?
If not, are there licence costs?HI,
looks like a duplicate to this entry:
Business Objects Integration for SAP
Ingo -
Integration with Business Objects
How does XCelsius 2008 integrate with Business Objects XI R3?
We used WeBI to generate reports. Will XCelsius be a part of WeBI or will it have a separate interface?
Will a separate Server be required?
Regards,
Karthik MohanKarthik,
You usually use Webi to display very details reports.
Xcelsius is used for a more aggregated view of the data.
Most often users will create their visualizations in Xcelsius (charts, maps etc.) and then use a URL button that passes parameters from their Xcelsius model (driven by the users selection) to open a more detailed report in Webi.
Hope this helps!
Xcelsius Gurus
http://www.everythingxcelsius.com
"Xcelsius Gurus share templates, tips, reviews, tricks and much more!" -
Working of workflow with business object 2078
Hello Every one,
Please gimme a exact solution...Am working with workflow object with business object 2078,When defects are clicked in qa32 the entire description(like material number,material desc,lot number,batch number etc) notification should sent to workflow user and from thr it should go to lotus notes mail id.....please help me out,,,,configuration setting are properly working.Hello Every one,
Please gimme a exact solution...Am working with workflow object with business object 2078,When defects are clicked in qa32 the entire description(like material number,material desc,lot number,batch number etc) notification should sent to workflow user and from thr it should go to lotus notes mail id.....please help me out,,,,configuration setting are properly working. -
Reporting of recursive tables with Business Objects 6.1
Post Author: pk7
CA Forum: Publishing
Can anyone tell us how to traverse recursive tables with Business Objects 6.1? For example, let's say you have an Employee table with Emp_ID, Name, Manager_ID. Like so:
Emp_ID Name Manager_ID
1 Jeff 4
2 Grace 3
3 Stacey 1
4 Wayne null
The task is to report the hierarchy of employees starting with one employee (e.g. Grace) and showing who ALL of her superiors are. Desired result would be:
Grace
Stacey
Jeff
Wayne
We have seen the expanation the seems to require the duplication of a table but we prefer not to have the same data stored in multiple tables.
Thx!Hi Dan,
Thanks for your response. However, what I meant by client installation is exactly as what you have said below.
I start the BusinessObjects Enterprise XI 3.1 Setup, go to custom install, which shows up the following options-
Client Components
Web Tier Components
Server Components
Database Access
etc. etc.
Initially I unselected all, drilled down Client Components and just installed the Developer Components. But the code used to fail with an InvalidCast exception when we used to cast an InfoObject to a Report as following-
Report report = (Report)infoObjects[1];
This code used to work fine with earlier installations of business objects.
This happened with all 3 of us who installed just the Dev components. To get over this we installed the whole Client Components and the above problem got resolved.
And now we realize that even the whole Client Comp is not enough because it gives the casting problem while doing the destination stuff. -
Hi All, can i have some production support issues with rootcasue and resolution for SAP TM?
Thanks,
SreenivasHi Sreenivas,
I would recommend that you read the Rules of Engagement and other documents in the Getting Started link (top right) before posting anymore. Your Discussion will most likely get reported as non-specific and get removed. If you have a specific problem with TM, please post it in a new thread with error messages, version and SPs installed, and how the error occurs and what you are trying to get TM to do.
There are a lot of resources available in the TM Overview page which can help, so start there and maybe also look at some of the MKS (Monday Knowledge Session) recordings which should also be listed. There are also a lot of experienced people who can help resolve issues your TM installation, but you need to provide enough information on the problems you are having. If you are just looking for information on past problems, do a Search or simply browse through past Discussions which are marked with a green Check (Correct Answer).
Regards, Mike
SAP Customer Experience Group - CEG (and a Moderator) -
Hello,
I have a computer with SAP Business Objects 4.1 SP2 and SAP PowerDesigner 16.5.3.2 (4343).
When I try to enable SAP BusinessObjects Add-ins I get the error message "Add-in SAP BusinessObjects license check failed".
Anyone can help ?
Kr,
ThierryHello Marc,
As ex-Sybase customer, I wasn't aware about a version "Standard Edition" vs another one. I just made a control about which version is installed.
I made a control and I confirm the following elements:
- It isn't PowerDesigner "Standard Edition"
- Client platform is Windows 8.1
- I noticed a problem with "gacutil.exe" during initial installation of version 16.5.
- Associated license is "EnterpriseArchitect"'
- I confirm I cannot activate several add-ins such as "SAP Business Objects", "SAP HANA" and "SAP ERP"
- I see all add-ins mentioned before in PowerDesigner add-ins menu (General options)
Kr,
Thierry -
Insert or Update data in SAP with Business Objects?
Hi all,
I am new to Business Objects world with my little expertise in Crystal Reports and Xclesius.
Could you please clarify me that is there any solution or technology or Product of Business Objects which not only make impressive dashboards and analyze the data but also can communicate with back end SAP R/3 to save or update data.
We are actually analyzing our Client requirements in which there is a need of Dashboards as well as some custom configurations that needs to be saved somewhere in the SAP system in order to make decisions in future.
Our back end system is SAP BW. One possibility is to use Adobe Flex as a base architecture with BSP and BW but we are more concerned with what BOBJ provides.
Looking forward for your suggestions.
Kind Regards
Umer FarooqGR81 wrote:
I would like to know how I can insert or update data in a Google Spreadsheet from an Oracle Database please?
Thanks,you can't since Oracle knows nothing about spreadsheets; Google or otherwise.
Maybe you are looking for
-
How do I avoid a pop-up from Firefox every time I go from an email back to my inbox?
I go to my email in-box and click to read an email. When I'm finished, I want to go back to the email in-box. The easiest way for me is to hit the backspace key which brings me right back to the in-box. More then half the time, however, when I hit th
-
Follwing query fails on one database, but the same works on other Database
Hi, The following SQL fails on one database with ORA-01722 but the same works on other database. SQL> SELECT i.version, d.name, i.instance_name, i.host_name FROM v$instance i, v$database d, v$parameter p 2 3 WHERE p.name = 'instance_number' 4 AND DEC
-
1st Gen V.S. 2nd Gen
In need of opinions... Refurb (from Apple) 1st Gen iPod Touch 8GB - $190.64 New 2nd Gen iPod Touch 8GB - $243.89 From what Ive seen, the differences are: Volume Buttons, Speaker, New Design, Genius Do you think those differences are worth $50 more??
-
Guys/gals, I have this problem on my newly installed SLS. Here is the output of my postconf -n : biff = no command_directory = /usr/sbin config_directory = /etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/libexec/po
-
Negative Stock (Ref: Q3-3)
Dear Sirs, If I could not find the indicator to allow u201CNegative Stocku201D in u201CPlant data / storage 1 & 2u201D views of Material Master, does it mean that this function was disabled in customizing ? Many Thanks, KH Fong