Modifying OBN Business Objects from ERP Common Parts
Hi All
I've created an application in which I need to trigger OBN navigation to the SAPGUI transaction for creating Materials (MM01). We have the "ERP Common Parts 1.41" business package installed on our Portal and I was hoping to use the standard OBN business object for Material however, strangely, there is no operation for "Create".
Question: Is it a good idea to add my own "Create" operation to the standard ERP Common Parts business object? I'm worried that every time we patch or upgrade the Portal, my custom operation will be wiped out...
Thanks!
Glen
Thanks The-Hung!
That was my opinion too, so I'm glad to have a someone back it up.
I still have a problem with the Material business object though. How would you suggest I should handle the problem with the missing "create" operation? Should I create a second business object (eg. "material2"?) and use the second object for material creation only - ie. only add a "create" operation? I don't want to have to rebuild the whole object in case we implement standard functionality that triggers the standard business object "material"...
The reason I'm asking these questions is that I'm an ABAP developer and it just seems unusual (and very restrictive) that I can't just enhance standard functionality without worrying that it will be deleted in an upgrade... I guess I'm hoping there are some tricks in the Java stack world that I don't know about yet.
Cheers
Glen
Similar Messages
-
Transfer of business object from development server to testing server
if i want to transfer business object from development server to testing server how can i do that?
what is the system landscape?
what is business object?Hi Rizwan,
U can get details of Business Objects in tcode - SWO1.
Business objects are real world entities modeled as objects in an information system.
Business objects encapsulate both data structures and the functions applied to the data, but hide their full complexity from other objects. This encapsulation of data and functions makes it easier to modify program components, because you can program with the relevant entities without having to know all the implementation details. You can also reuse existing functions.
Client programs access business objects by reading their attributes, or by calling the methods that make up the objectu2019s interface:
Attributes
Attributes describe the data stored in an object through a set of properties. They provide direct read access to the data structures of objects, but client programs cannot change them from outside.
Methods
Methods provide a way to encapsulate the data structures of business objects, and to process them. When accessing an object, the client program calls a method with parameters and gets back return parameters.
Interface
The interface is the set of methods associated with a business object, and determines how an object interacts with the outside world.
The client program defines the object types to be used and, at runtime, creates object instances of those object types. -
Dear Experts.
In this moment I have the following issue in the MSS=>Requisition Monitor.
The system display the following message of error:
There is no iview is available for system 'SAP_ERP_TalentManagement'
I found in the forum http://forums.sdn.sap.com the same error:
How to solve 'no iview is available for system 'SAP_ERP_TalentManagement'
I am new in this, and want know the following:
In this post says:
2)Please check if the OBN Business Object has the operation associated with it. For detailed analysis , please gather he HTTP trace and check the following .
Business Object:
System Alias:
Operation:
Source Role:
Could you say me the way of get the information previous.,
Where can found the system Alias that use a service?
Thanks in advance for your help.
RegardsThe Response of SAP is the following:
*) In the 'Content Administration' -> Portal Content -> Content
Provided by SAP -> line_manager -> Manager Self-Service -> ERP2005 EhP3
-> Page -> HCM -> choose page with name 'Display Questionnaire' (the
page shall embed the iView with ID 'display _questionnaire'). Add this
page to the new operation.
But I did not found the page with the name 'Display Questionnaire and iview with the ID display _questionnaire.
Regards -
CALLING BUSINESS OBJECT FROM AN ABAP REPORT
Hi friends,
I have a business object to which a Custom Function Module is assigned in one of its method.This Function Module calls a Bapi to update a Service Order.I need to capture the status of Idocs regarding success or failure from the function Module in the ABAP Report.I would like to know if there is any way to call this business object from my report and get the status of IDOC.
Regards,
Dev Reddysorry I think i was not clear in explaining .I am calling a BAPI to update 'Priority' field of service orders in a custom function module(remote enabled) and I have assigned this bapi to a custom business object. Also I have developed an ALE interface thru BDBG transaction which automatically generates custom basic idoc type,messsage type ,Ale i/b and o/b function modules.
Actually my requirement deals with a report where we have list of service orders in an internal table and pass each service order to update Priority field.
Is there any way to create an IDOC from the report and update the priority field and pass back the status of IDOC.
I have tried calling ALE O/B function function module generated thru BDBG transaction in my report but as a result i am unable to get any of the message whether idoc is created or not.
Here is my report code.
data: it_methods type table of BAPI_ALM_ORDER_METHOD with header line,
it_header type table of BAPI_ALM_ORDER_HEADERS_I with header line,
it_header_up type table of BAPI_ALM_ORDER_HEADERS_UP with header line,
RECEIVERS TYPE TABLE OF BDI_LOGSYS WITH HEADER LINE.
T_METHODS-REFNUMBER = '000001'.
IT_METHODS-OBJECTTYPE = 'HEADER'.
IT_METHODS-METHOD = 'CHANGE'.
IT_METHODS-OBJECTKEY = '000004000768'.
APPEND IT_METHODS.
CLEAR IT_METHODS.
IT_METHODS-REFNUMBER = '000000'.
IT_METHODS-METHOD = 'SAVE'.
APPEND IT_METHODS.
IT_HEADER-ORDERID = '000004000768'.
IT_HEADER-PRIORITY = '2'.
APPEND IT_HEADER.
IT_HEADER_UP-ORDERID = '000004000768'.
IT_HEADER_UP-PRIORITY = 'X'.
APPEND IT_HEADER_UP.
CALL FUNCTION 'ZZ_FM_SM_ORD_PRIOR_UPDATE'
EXPORTING
OBJ_TYPE = 'ZBOSMPRUPD'
SERIAL_ID = '0'
TABLES
ITMETHODS = IT_METHODS
ITHEADER = IT_HEADER
ITHEADERUP = IT_HEADER_UP
RECEIVERS = RECEIVERS
COMMUNICATION_DOCUMENTS =
APPLICATION_OBJECTS =
EXCEPTIONS
ERROR_CREATING_IDOCS = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks,
Dev Reddy -
Get information about business object from view implementation class
Hi,
i´d like to develop some button behavior in a view. How can i get the information of the related business object like the order or the position. I like to disable buttons if specific status are set.
Bye Richardhi,
Is needed field available in context nodes or not?
for example:
If you want to read STATUS_DESCR attribute from the context node SELECTEDDOC , then code like this
lr_selected ?= me->typed_context->SELECTEDDOC->collection_wrapper->get_current( ).
if lr_selected is bound.
lv_status = lr_selected->get_property_as_string( 'STATUS_DESCR' ).
endif.
activtae the debugging in IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS method and check the values for context nodes and attributes.
I mean debugging for:
me->typed_context
me->typed_context->SELECTEDDOC
comp_controller
regards
ismail -
Actually I need your advice for a requirement I have a customer that donu2019t want to implement BW at all but he is very interested in SAP Business Objects BI Tools This customer has a huge amount of data and the manager insisting not using BW or BWA So my only choice is to use only form BOBJ BI package: Xcelsius and Crystal Reports But I am also wanted to provide WebI and explorer but I know this impossible
I had read in SDN Articles that I can use Federator to connect to the ERP directly and so I can create a universe and so I can deliver Webi Document and Explorer
So I need your advice and your recommendations for thisHi
currently you have the following options:
1. You can use SAP rapid marts. They contain Data integrator mappings (you need an installation of the DI for this) to extract and load your SAP R/3 data into a relational database. Additionally they provide universes (based on a relational schema) hich ill allo you to build WebI reports.
2. You can use the R/3 connector for the Data Federator (You need a DF installation for this). Please note that the R/3 connector is not yet a product rather just a PROTOTYPE. Take a look here: SAP BusinessObjects Web Intelligence Reporting for SAP ERP [original link is broken]
3. You can try to access the underlying database directly using the appropriate DB drivers. Please note that this is NOT RECOMMENDED. This way you cannot leverage security defined on the R/3 side in your WebI reports and you will not be able to access all data as available in R/3 since some of them are stored encoded/compressed in the underlying tables.
4. Instead of WebI you can use Crystal Reports and the R/3 drivers (eg. SAP Tables, Functions, Cluster) provided when installing the integration kit for SAP.
Regards,
Stratos -
How to execute Custom java data source LOV view object from a common mthd?
Hi,
My application contains Custom java data source implemented LOVs. I want to have a util method which gets the view accessor name, find the view accessor and execute it. But i couldn't find any API to get the view accessors by passing the name.
Can anyone help me iin how best view accessors can be accessed in common but no by creating ViewRowImpl class (By every developer) and by accessing the RowSet getters?
Thanks in advance.I am sorrry, let me tell my requirement clearly.
My application is not data base driven. Data transaction happens using tuxedo server.
We have entity driven VOs as well as programmatic VOs. Both are custom java data source implemented. Entity driven VOs will participate in transactions whereas programmatic VOs are used as List view object to show List of values.
Custom java datasource implementation in BaseService Viewobject Impl class looks like
private boolean callService = false;
private List serviceCallInputParams = null;
public BaseServiceViewObjectImpl()
super();
* Overridden for custom java data source support.
protected void executeQueryForCollection(Object qc, Object[] params, int noUserParams)
List dataFromService = null;
if(callService)
callService = retrieveDataFromService(serviceCallInputParams);
setUserDataForCollection(qc, dataFromService != null? dataFromService.iterator(): null);
super.executeQueryForCollection(qc, params, noUserParams);
* Overridden for custom java data source support.
protected boolean hasNextForCollection(Object qc)
Iterator<BaseDatum> datumItr = (Iterator<BaseDatum>) getUserDataForCollection(qc);
if (datumItr != null && datumItr.hasNext())
return true;
callService = false;
serviceCallInputParams = null;
setFetchCompleteForCollection(qc, true);
return false;
}Individual screen developer, who want to load data to VO, will do something like the below code in their VO impl class
public void fetch()
BaseServiceViewObjectImpl vo = this;
vo.setCallService(true);
vo.setServiceCallInputParams(new ArrayList());
vo.executeQuery();
}As these custom java data source implemented LOV VOs comes across the screens, i want to have a util method at Base VOImpl class, that gets the view accessor name, finds the LOV VO instance, retrieves data for that. I want to do something like
* Wrapper method available at Base Service ViewObject impl class
public void fetchLOVData(String viewAccessorName, List serviewInputParams)
// find the LOV View object instance
BaseServiceViewObjectImpl lovViewObject = (BaseServiceViewObjectImpl) findViewAccessor(viewAccessorName);
// Get data for LOV view object from service
lovViewObject.setCallService(true);
lovViewObject.setServiceCallInputParams(serviewInputParams);
lovViewObject.executeQuery();
Question:
1. Is it achievable?
1. Is there any API available at View Object Impl class level, that gets the view accessor name and returns the exact LOV view object instance? If not, how can i achieve it? -
How to call webservices in business objects from java
hi everyone, i am having a scenerio were a program which is written in java, this java program will instantiate when i get the data into my database. the java program need to fire and pass the parameters to the webservices in the business objects to create a file depending upon the parameters which r passed by the java to webservices. how i need to cinfigure in business objects webservicess,to get what i am looking or what r the things i need
we r using xi 3.1 sp3, web application server tomcat.Hi,
case 1: for WDP, you can create the web service model via "Import Adaptive Web Service" or "Import Web Service Model (deprecated)" by supplying wsdl URL.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2bweb%2bservice
case 2: In ABAP, create a proxy object at trx code SE80.
http://help.sap.com/saphelp_nw04s/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm
Both cases are wizard-based. It's pretty intuitive.
- julius -
How to create a universe in Business Object from BW
Dear Memebers
I need your help, I'm trying to create a report in business object using a cube as datasource, but when execute it does not appears the text, for example costumer 1000, his name is coca-cola.
Does anyone help me?, maybe i does not set something
Thanks a lot
ArielHi Ariel,
Not sure what BW is? If this is not related to using a SDK you may want to post your question in the Business Objects enterprise or Crystal Report Designer Forum.
Thank you
Don -
I downloaded firefox 4.0 and attempted to use business objects. A screen comes up saying that a plugin is required but when I click on the screen, it say's no plugin is found. I am using the latest version of Java but it seems that the plugin is not there.
There is workaround.
Enter “about:config” in the browser’s address bar.
Search for “html5.parser.enable”.
Double-click the row to set the value to “false” (row should also go bold to indicate change).
There is a possibility that it may cause HTML5 compatibility issues down the road but it solved the issue. -
Printing a Crystal Report XI in Business Objects from Access (VB)
Post Author: karene
CA Forum: Other
I have a report that is stored in the BusinessObjects (and I'm new to this system). I can open it from Access using VB, by running iexplore.exe and giving it the correct URL:
stAppName = "C:\Program Files\Internet Explorer\iexplore.exe " & GetReclassificationReportURL() & _ "&lsS@type=site&lsS@id=" & SiteId Call Shell(stAppName, 1)
where the GetReclassificationReportURL returns something like https://xidesign.ourdomain/businessobjects/enterprise115/InfoView/scripts/OpenDocument.aspx?iDocID=24321825
This opens Crystal, and they can view or print the report. However, when they were using the corresponding Access report, it would print for them directly. They could press a print button, and it would come out on their default printer. Can I do that using Crystal? How? (I'm using Access 2003, and VB 6.3)
Thank you for any assistance you can provide.
-karenePost Author: RamcoSystems
CA Forum: Deployment
Hai,
Installation of BOXI does not not include Crystal Reports as a part of it?If yes, then does the crystalreportviewer ship along with BOXI? -
Display ERP object from business context of service request
Hi Experts,
I have a requirement to display a custom business object in ERP from the business context tab of the service request. The custom business object is added as a link to the service request. The display of standard BOR object works fine, but for the custom business object, when the user clicks on the link nothing happens.
I am using CRM 7.1 (CRM 7.0 with EHP1) and ECC 6.0, no EHPs.
Thanks in advance
PrabhasIf you are using JWSDP 1.3, here is how you can do it. However this is an internal API, specific to Sun's JAX-RPC implementation and may change in the future. Anyway, here is how you do it.
If you service endpoint implements javax.xml.rpc.server.ServiceLifecycle interface, then you can keep a copy of javax.xml.rpc.server.ServletEndpointContext in init() method. In the actual method invocation, you can obtain javax.xml.rpc.handler.MessageContext from the ServletEndpointContext. And then invoke getProperty on the message context to return HttpServletRequest as follows:
HttpServletRequest request =
(HttpServletRequest) messageContext.getProperty(
com
.sun
.xml
.rpc
.server
.http
.MessageContextProperties
.HTTP_SERVLET_REQUEST);
Hope this helps.
-Arun -
How to save the instance in standard lead from custom business object
Hi Experts,
I am unable to save the instance(Record) in standard Lead business object from custom business object.
Steps:
created one custom business object with mandatory fields for creating instance in standard lead.
in quick create screen i bind data elements to standard lead business object elements.
issue:
when i click on preview i am getting exception as Arguments not found
can you please tell me that How to save the instance in standard lead from custom business object with step by step .Hi Vijay,
Please refer this link under that mentioned that how to create lead using ABSL code
Web 2 Lead in SAP Cloud for Customer, step by step - Part 1 - myCloudDoor myCloudDoor
Under the "Action-CreateLead.absl" mentioned how to create lead
the above link for convert web 2 lead functionality and under they create lead using web data from ABSL code.
Regards,
Mithun -
Hello!
I need to attach file to the business object in ERP. Which options do I have?
More specific: I need to attach PDF file to the QM Notification from MII. This file should be seen as attachment in GOS (Generic Object Services) for this object. Anyone faced task like this? I'm trying to find some usefull remote-enabled GOS FMs for this. It would be wonderfull if there is a way to do it without ABAP.
Best regards,
Petr.Anshul,
I've started parallel thread in ABAP section, so it might help you:
[RFCs to create GOS attachment;
All my investigations are just theoretical, because I have no access to MII at this moment and I will be able to test this solution only 1-2 monthes later. So, if you will realise this case, please, keep us updated also.
Best regards,
Petr -
Search API for searching Business Objects in SAP R/3
Hi All,
As per my requirement i need to search Business Objects from a third party application by writing some java code.
I know only JCO which is useful for to establish a connection from Java to SAP Server and execute the RFC's or BAPI's which are reside in SAP Server.
Can any one help me, it is possible or not to search Business Objects in SAP for example Master Data( Like Employee, Vendor, Customer-) or Transactional Data ( like Sales Order, Purchase Order--), in case if it is possible any Search API is there to use on SAP System and what are the Prerequisites and the Feasibilty.
Its urgent---PLZ help me how to resolve this issue
Thanks in ADV
Regds
RajeshHi,
Good evening and greetings,
Please go through the following link
http://help.sap.com/saphelp_erp2004/helpdata/en/0d/afb8f627878b4fa71ac79508f2358a/frameset.htm
Please reward points if found useful
Thanking you
With kindest regards
Ramesh Padmanabhan
Maybe you are looking for
-
Can't Use The 3D Option with Adobe CC 2014 (English Stats)
Hello. So I can't use the 3D feature on Adobe CC 2014. I have updated my drivers recently and I have 2099 MB VRAM. I have already checked "Use Graphics Processor" Here are my stats: Adobe Photoshop Version: 2014.1.0 20140730.r.148 2014/07/30:23:59:59
-
No sound at all after 10.4.6 update
Hi, does the 10.4.6 update have a firmware update included ?, because after restart etc no sound at all eminates from my powerbooks built in sound. No start up chime, system sounds .... nothing [only thing i can see in "sound on the system prefs is a
-
Where can i Download the Photoshop Generator plugin for reflow?
I'm trying to export a design from photoshop to reflow, but the option is not available i only have generate image assets. I have gone into preferences and enabled generator under plugins but it's still not working. Any suggestions? I watched a few t
-
How to use VBA to View PDF file and use an OCR object?
As subject, I need to use VBA to open PDFs via Acrobat. Convert images to texts. And get some key words from the documents. But I cannot find the API for VBA from SDK.
-
Java SE7 U45 gives a Security Warning on FF v 24.0
My problem is that I cannot use the Always activate Java for a site method of fixing Java when I do online banking because the option never comes up - or at least I have not found a way to make it do so. I have captured what appears on my screen but