How to access Business object type attribute from a method/function modul ?

Advertisement

Hello,
i have created a business object type object along with attributes and methods. Now inside the method i want to access the attributes. inside the method i am writing:
data a type XXX.
a = me->attribute
this is creating a compilation error.
Now the method is defined as a function module in some package, so can anyone inform me how to access object attributes from the function module ?
pointes are awarded
Regards

Advertisement

Hello,
thanks for your answer, but this too did not work, "=>" is for static attributes and the attributes i have are not static. Moreover, i tried it but it gave the same error :
the abap error was when i was checking the code is :
the type me=>documenttype is unknown
as you know in SWO1 i created an object and when i create a method you link it to a function module and this is where you have the implementation of the method, so from this method how can i access the attributes on the main object that i created in SWO1
regards

November 30, -0001

How to access Business object type attribute from a method/function modul ?

Hello, i have created a business object type object along with attributes and methods. Now inside the method i want to access the attributes. inside the method i am writing: data a type XXX. a = me->attribute this is creating a compilation error. Now

How to access Adapter Specific Message Attribute in my  own adapter module

Hi, I'm developing a mail adapter customer module. Now I have a requirement about getting the CC information from mail. Even if I checked the option of "use mail package" when configing sender Mail Adapter, I still can not get CC information in

How to access an object's variable from native code

i am passing an object in a native method.i have to change the value of the object's variable.how do i access the variable of object and assign it new value from c++ code.when i try to access it i get a message that the variable must have a class/sru

How to access Target field type, length from DT definition

I have defined the XSD Type (String, Number, Date..) and the length in the DT for the Target message How do I access this info. in the mapping - so I can fill trailing spaces on String data, and zero-fill on Numeric data on the outbound XML MT ? Than

Passing Values to Object Type Attributes

Hi Experts, I need to pass values to object type attributes amount,channel and company code from zprogram. I have got FM 'SWO_INVOKE'.But in this FM how will I pass values to 3 attributes. I have created object type through SWO1 .Is it necessary to c

How to use  Business Object like Vendor or PurchasingInfo

Hi, How to use Business Object ( like Vendor or PurchasingInfo ) from my Object? For example: CLASS myEntity DEFINITION.           PUBLIC SECTION.                METHODS: getVendor EXPORTING pVendor TYPE Vendor.            PRIVATE SECTION.           

How to Find Business Object name of BAPI_TRANSACTION_COMMIT

Hi, I want to know the business object name of BAPI_TRANSACTION_COMMIT, also if we know the BAPI name then how to search its all detail like documentation ,BO name in  T. Code : BAPI.Hi, Business Object name for BAPI_TRANSACTION_COMMIT is BapiService

Delete Business Object Type (SWO1)

Hi gurus, How can we delete/modify objects in SWO1 that were created in a previous version. Are these actions allowed, is there a workaround if its not allowed? Thanks for your help! JasonHi Raymond, Thank you for your help. I have come accross that

How to register Business Object Portlet in Oacle Portal

Hi Gurus, Could anybody give me an idea How to register Business Object Portlet in Oacle Portal. Thanks & Regards VikramHi I am also looking into BO portlets but maybe I am one step behind you as I am still trying to find where to download the provid

Abap object as export parameter for remote function module

Hello all, I would like to know if there is any possibility to use an abap object as parameter within a remote function module. Thanks in advanceNo. You can't pass the Object Reference as the Parameters of the FM which could be run as an independent

How to access  complex data type from a soap web services?

hello can u please tell me how can i access complex data type from a soap web service from jdeveloper 10g Jdeveloper generates 3 classes serviceStub getproperties response i have to retreview the data which is a complex data type it gives some unknow

Object Visualization and accessing the object's attributes

Hi all, I am trying to configure SWFVISU to allow us to call an ABAP Web Dynpro which displays an adhoc object attached to a workflow in the UWL. I've had success with a business object of a task which is not an adhoc object by binding an attribute t

How To get getServletContext() object inside JSP from  Eclipse  IDE

Dear friends, I can access methods in getServletContext class from Netbeans in my JSP web project using the following steps. String path=getServletContext().getRealPath("\mypath"); . But In Eclipse when i try to build,it says that "can not

Can't access packaged object type in Java

Hi I am getting the following error while accessing an oracle packaged object type. Can You please give me an advise..!! java.sql.SQLException: invalid name pattern: XXGW_RMA_CREATION_PKG.XXGW_RMA_RECRegardsHI I am not asking how to search in google.

How to access last object in a Collection.

Hello. I'm trying to figure out how to access the last element in a collection. This is how I have it coded now: Collection coll = someMethodThatReturnsACollectionOfMyTypes( ); Iterator It = coll.iterator( ); MyType myType = null; while ( It.hasNext(

How to reference Business Objects Assembly in C#

For one of our project, we are creating BO Reports (as .REP, .PDF files) and it is automated one using macros. In macros, we are passing parameters to the report. Now we need to reimplement the same in .NET. We have installed Business Objects XI Rele

HR-PY: How To Deduct Time Wage Type Amount From Salary?

Dear All, How to deduct a time wage type amount from the total gross? Now I have a time wage type, "Unpaid Leave". If an employee have an unpaid leave in a month, payroll will calculate the unpaid amount and put it into Wage Type "Unpaid Le

How to access Oracle Apps 11i forms from Virtual Machine(Vmware Player)?

Hi, I have installed Oracle Apps 11i on native OS OEL5 Server and Windows XPP on Virtual Machine using Vmware Player on standalone same desktop.Now how to access Oracle Apps 11i from Virtual Machine(Windows XPP)? Thank's Regard's RerryHi, Sorry my in

How to access Time Capsule 2013 disk from Windows 7

I have seen several (older) threads that suggest that you can access the Time Capsule disk from Windows 7 using Windows Explorer and navigating to \\Time-Capsule-Name.  However, I have tried this repeatedly and just cannot get it to work.  Could this

How to access a  web service(.wsdl) from portal component.

Hi , Is there any document/tutorial available on how to access a webservice from portal component ? I have found this linkhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/g-i/how to access a web service.htm... but