Attributes Problem in Business Object

Hi,
We had a requirement of creating a new Business Object with a couple of attributes(both Database and Virtual Attributes)
So, as per the requirement, I created my Business Object with all the required attributes. And I have coded the required Business Logic for my Virtual Attributes.
Now, I created my Business Object's method's using these attributes(OBJECT-ATTRIBUTE_NAME) in my methods wherever required.
Finally, I tested the Business Object in SWO1(Business Object Builder), here are my observations...
1) The Database attributes is getting created properly and I can see the values for the required
2) The Virtual Attributes are getting created as per the Business Logic and I can see the desired result for this also.
3) The methods are giving desired results.
Now, my doubt is, when I trigger one of this Business Object's method from workflow, the attribute values(OBJECT-ATTRIBUTE_VALUE) are not visible inside the method. But if I test the same BO using SWO1, I can see all the Attribute values(OBJECT-KEYFIELDS).
I can only see the KEY FIELDS of the Business Object in Debug mode, I mean, I can view OBJECT-KEY-KEYFIELD value, but not the OBJECT-ATTRIBUTENAME inside the BO'S method in Debug mode-when triggered from Workflow.
Well, I am triggering the Workflow using the SWUD transaction and infact I am creating the required Instances in the first screen of SWUD.
Can anyone make me clear why this is happening?
Regards,
<i><b>Raja Sekhar</b></i>

Hi people,
Thanks for immediate reply.
Well, I think I didnt explain my problem clearly...
Well, here is my clear explanation.
I created a new Business Object named ZOBJECT say...
It has 3 key fields...
PERNR(Employee Number),BEGDA(Start Date) and ENDDA(End Date)
It has 2 attributes...
One is a Databsase Attribute - ENAME which gets populated from database PA0001.
Another is a Virtual Attribute - EMAILID which gets populated from some Business Logic.
And it has one Event...ZEVENT
It has one method...
SENDMAIL - Which sends the email to the EMAILID Attribute.So my coding looks something like this...
METHOD SENDMAIL.
  DATA : W_FROMEMAIL TYPE PA0105-USRID_LONG,
         W_TOEMAIL TYPE PA0105-USRID_LONG,
         W_SUBJECT(100),
        IT_TEXT TYPE STANDARD TABLE OF SOLI.
  W_FROMEMAIL = '[email protected]'.
  W_TOEMAIL = OBJECT-EMAILID.
  W_SUBJECT = 'Test Mail'.
Populate the mail content into IT_TEXT Internal table
  call function 'YHSENDEMAIL'
      EXPORTING
        FROMEMAIL = W_FROMEMAIL
        TOEMAIL   = W_TOEMAIL
        SUBJECT   = W_SUBJECT
      TABLES
        IT_TEXT   = IT_TEXT.
ENDMETHOD.
So as shown above I designed my Business Object.
And I tested this Business Object from SWO1(Business Object Builder) Transaction itself. I am able to get the desired result. Everything seems perfect till now.
Now, I created my workflow with ZOBJECT-ZEVENT as the Start Event.
I created one Standard Task to send EMail which in turn calls up my ZOBJECT-SENDEMAIL Method.
So when I called this method, I found that OBJECT-EMAIL inside the method is not populated, ultimately, no mail is going.
I dont understand why the attribute values are not populated when I call the same method from workflow.
When I checked the workflow log, I can see my attribute values for the ZOBJECT. But in the Method, I cant access the attribute values as such...But I am able to access the Key fields of the method...
Can anybody explain me the reason for this behavior?
I checked the BINDING, Everthing seems perfect from this side...So I dont think it's a binding problem.
Regards,
<i><b>Raja Sekhar</b></i>
Message was edited by: Raja Sekhar

Similar Messages

  • Problem with Business object attributes in UWL Workitem description

    Hi All,
    I have developed a workflow which sends the workitem for two level approvals. Once the workflow is triggered workitem sent to the respective user for approval. When user opens the workitem in inbox he can see all the data which comes from the 'Z'  Business object in R/3 and he can approve the same. Everything works fine when this process happens in R/3 system.
    The problem comes when user opens this workitem in UWL or this workitem is sent to user mail ID executing  'SWN_SELSEN' report, all the attributes of the business object are displayed in the workitem description  except 2 . These are the Minimum annual salary(GRMIN) and  Maximum annual salary(GRMAX) fields from 'T510N'  table.
    Regards,
    Vaishali.
    Edited by: vaishali rautray on Dec 24, 2008 7:52 AM

    Hi Saumya,
    Thanks for the quick reply.
    For storing the Minimum and maximum annual salary values I have created two attributes in the business object which are referring to database fields. T510N is a customizing table. I could see the values for the same, if I test the Business Object or Trigger the w/f in R/3 and check the approval work item in R/3. These values disappears only in case of web interfacing i.e. If I send the same work item to outlook mail or check it in UWL.
    I had checked the same and thought if there is any problem with BO or some other processing takes place before these values are retrieved. But I wonder why this happens only if I process the work item outside R/3 system?
    Regards,
    Vaishali.

  • Problem With Business Object and printing job

    Hello,
    We are encountering a problem with the application "Business Objects FINANCE", and we would need your help quickly.
    In the application , itu2019s impossible to print Consolidated Subsidiaries nor the Securities Held. If we try so, the application freezes and we can't do anything but killing the application via the task manager.
    Though, other states can be printed without problem.
    We tried on several different PCs, and the problem occured equally on each one.
    The version installed is 10.5, and we can do any tests that you think would be useful to diagnose problem.
    Our society is AUBAY SA, and our credential to enter in your support website are : S0005386617
    In attachment youu2019ll find a screenshot of the event viewer from the server where the application is install.
    Thanks in advance for your answer,
    best regards.

    check the export parameters of the event triggering workflow.
    If there is a problem, try instantiating the object in your wf based on the key.
    Also check if the wf is able to import the data.
    regards,
    Sandeep Josyula

  • Problem Installing Business Objects XI 3.1 SP2 on AIX 5.3

    Hi,
    We installed Business Objects XI 3.1 first on AIX 5.3  and everything worked fine.
    Once we apply BO XI 3.1 SP2 patch (by running the install.sh script from the
    BO XI 3.1 SP2 install bits) onto the Business Objects XI 3.1instance, the following error
    [error] Errcode 1: gzip -dc "/apps/truecomp/boXI31-temp/xi31_sp2/pkg/jdk00000.tar.gz" | /bin/tar xvfb - 1  
    during the installation ( when we checked, the package "jdk00000.tar.gz" contained mostly some libraries
    that are already existing under the installed java/bin directory, the error is likely due to tar command can't
    overwrite the existing files there), and it seems that the library files in "jdk00000.tar.gz" package are same as
    the existing files under java/bin directory. So this error may not matter (just our guess).
    The real problem for us after installing BO XI 3.1 SP2 is that, the tomcat log (file name "catalina.out")  throws
    the following exception and tomcat can't start up, so we can't log onto CMC anymore.  Anyone know if this is
    a known issue or any solution or  workaround?  The frustrating thing is that, SP2 can't be uninstalled (
    it likely thinks SP2 was not installed successfully), and this whole BO XI 3.1 instance is not usable anymore,
    we have to remove the whole thing altogether (no way to remove just SP2 part).
    =============Tomcat error log from ""catalina.out" after installing BO XI 3.1 SP2============
    New org.apache.struts.action.ActionMapping
    10-07-10 17:28:19:306 - session.ManagerBase Thread [main];  IOException while saving persisted sessions: java.io.FileNotFound
    Exception: /apps/truecomp/BOXI31/bobje/tomcat/work/Catalina/localhost/BusinessProcessBI/SESSIONS.ser (A file or directory in the path name does not exist.)
    java.io.FileNotFoundException: /apps/truecomp/BOXI31/bobje/tomcat/work/Catalina/localhost/BusinessProcessBI/SESSIONS.ser (A file or directory in the path name does not exist.)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:96)
            at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:488)
            at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
            at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666)
            at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4358)
            at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892)
            at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1164)
            at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1135)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1054)
            at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
            at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
            at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
            at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
            at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:618)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    10-07-10 17:28:19:311 - session.ManagerBase Thread [main];  Exception unloading sessions to persistent storage
    java.io.FileNotFoundException: /apps/truecomp/BOXI31/bobje/tomcat/work/Catalina/localhost/BusinessProcessBI/SESSIONS.ser (A file or d
    irectory in the path name does not exist.)
    =============================

    Just want to add to the original question that:
    the directory (in the error stack from tomcat)
    /apps/truecomp/BOXI31/bobje/tomcat/work/Catalina/localhost  is NOT even existing on the
    AIX server which installed BO XI 3.1 SP2.
    Would really appreciate any  comments on this problem, especially from SAP support team.
    We are really stuck here.
    Thanks.

  • How do I deal with problems during business object construction?

    Hi Everyone.
    I'm wondering about best practices for program control flow when business objects can't be constructed properly.
    In my servlet I want to create a new Transaction business object based on the parameters of the HttpServletRequest.
    transaction = new Transaction( request );The Transaction, in turn, has a Customer business object representing the Customer doing the transaction. The Customer is also constructed based on request parameters. So I have in the Transaction constructor,
    public Transaction( HttpServletRequest request ) {
        customer = new Customer( request );
    }In the Customer constructor I want to do some validation. For example, I want to check that the requested Customer exists in the database.
    If the validation fails, should I throw an exception, which could then eventually be caught by the Servlet which would send back an "Invalid Customer" message to the end user?
    But it seems to me like this violates the "never use exceptions for flow control" rule (as described for example at http://onjava.com/pub/a/onjava/2003/11/19/exceptions.html?page=2).
    It is a normal function of my application to deny a transaction to a non-valid customer... so it seems like I shouldn't need to bring in the exception handling overhead for this normal business process.
    OK, so I guess put "is_valid" flags in the business objects and set them on constructor errors then check them??
    public Transaction( HttpServletRequest request ) {
        customer = new Customer( request );  // customer.is_valid flagged false
        if ( !customer.get_is_valid( ) ) {
            this.is_valid = false; // transaction.is_valid is also false now because its Customer is not valid
        } else { // customer is valid
            // finish the rest of the Transaction construction business logic
            // of course this will turn into a mess of deeply nested "else valid" clauses
            // if there are many validation checks...
    }...and then in the servlet...
    transaction = new Transaction( request );
    if ( !transaction.get_is_valid( ) ) {
        // Send back error message to user.
    } else {
        // Finally do some business logic.  Maybe after another mess of nested "else valid" clauses.
    }This gets so hard to read it seems like the throwing Exceptions as part of normal control flow option is preferble.
    Is there third option I am missing?
    What are your opinions?
    Thanks,
    Bishop

    Build your Transaction and Customer objects based on the data in the request. Then validate the customer, since an invalid customer is "normal" for you.
    I'd consider using some sort of factory-like method for creating these objects from the request, since you're tying (sort of) your business stuff to the fact you're currently using a webby (servlet-based) front end...but that's more an aside.
    So, in pseudo-ish code:
    Transaction t = createTransaction(request);
    if (t.validCustomer()) do work;
    else return to wherever;This is only a first-pass idea, and other requirements might knock it for six, but it's a startpoint.

  • Problem with Business Objects Enterprice XI 3.1

    Hi dear listers
    I have installed Business Objects XI 3.1 in a Windows 2003 Advanced Server, but when I try to open or create a report appear the next message
    "HTTP Status 404 - /AnalyticalReporting/WebiView.do
    type Status report
    message /AnalyticalReporting/WebiView.do
    description The requested resource (/AnalyticalReporting/WebiView.do) is not available."
    I try to resolve this with the next post in a forum of Business Object
    Re: Redeploy war files XI 3.1?
    but the error persists
    Any idea??
    Architecture
    - Windows 2003 Advance Server
    - Business Objects XI 3.1
    - Apache Tomcat 5.5
    Thanks in advance

    the version you have appear to be XI3.1 RTM, which will not be compatible with Win2012.
    You can see what's compatible with what in the PAM (Platfroms Support guide) here :
    SAP BusinessObjects Enterprise XI - Supported Platforms
    p.s.
    please do search before posting.

  • 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." message

    Anybody 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

  • Problem in business object event linkage

    Hi all,
    When ever a material is created or extended via MM01 i can see business object A00MARA with event created/changed in event trace transaction SWEL but i cannot see the business object 'A00MARA' in business object repository swo1.
    please help......
    Regards,
    N

    Tty Trace off  and trace on , then create material and check that business object coming again. normally it should never come..

  • Problem with business object oContacts

    Hi,
    I have a link button associated with the business object oContacts which should be the object Id 33, but when I click on the link button will open the form of Activities. Is perhaps the wrong object ID?

    After opening BP form in beforeaction = true and formload event click on the pane contact persons by code (after click to link button store in some variable true value that will bp opened from link and than click on correct pane and set the varaible back to false).

  • To change the program attributes of a business object

    Hi All,
    How can i change the program attibutes of a business object

    SWO1 is the tcode for business objects.Once you enter the object name navigate to the program by clicking on Program button present at the top.
    Now from the menu choose Goto-->Basic Data.You will get a screen with tab strips like change data,general , transport data, where you can give package ,description etc.
    Hope it helps.
    Regards,
    Lakshman.

  • Problem with Business Objects 4.0 SP2 Windows install

    Hello Experts,
        I have followed the steps outlined by Mr. Gingle's blog "Caboodle - Part 3 - The BOBJ4 Install"   Caboodle - Part 3 - The BOBJ4 Install
    to do a vanilla BusinessObjects 4.o SP2 Windows install.  The install goes fine but I do not see the Server Intelligence Agent
    in the CCM.  Looking into the log files in the directory "C:Program Files (x86)SAP BusinessObjectsSAP BusinessObjects Enterprise XI 4.0logging"  I see the following:
    FILE_TYPE:DAAA96DE-B0FB-4c6e-AF7B-A445F5BF9BE2
    ENCODING:UTF8
    RECORD_SEPARATOR:30
    COLUMN_SEPARATOR:124
    ESC_CHARACTER:27
    COLUMNS:Location|Guid|Time|Tzone|Importance|Severity|Exception|DeviceName|ProcessID|ThreadID|ThreadName|ScopeTag|MajorTick|MinorTick|MajorDepth|MinorDepth|RootName|RootID|CallerName|CallerID|CalleeName|CalleeID|ActionID|DSRRootContextID|DSRTransaction|DSRConnection|DSRCounter|User|ArchitectComponent|DeveloperComponent|Administrator|Unit|CSNComponent|Text
    SEVERITY_MAP: |Information|W|Warning|E|Error|A|Assertion
    HEADER_END
    .crypto.cpp:199:-: TraceLog message 1
    |9664e8de-ad86-ff24-cb9d-24c469a525f0|2011 10 26 17:31:11:386|-0400|>>|A| |cms| 2704|4312|| ||||||||||||||||||||||assert failure: (.crypto.cpp:199). (FALSE : digest exception: The FIPS140 shared library could not be found (10027)).
    .dbinfo.cpp:45:-: TraceLog message 2
    |a9628c71-6cee-6874-8a14-15da66411e2e|2011 10 26 17:31:11:388|-0400|>>|A| |cms| 2704|4312|| ||||||||||||||||||||||assert failure: (.dbinfo.cpp:45). (false : Could not encrypt database connection string.).
    In another log file in the same directory I see the following:
    FILE_TYPE:DAAA96DE-B0FB-4c6e-AF7B-A445F5BF9BE2
    ENCODING:UTF8
    RECORD_SEPARATOR:30
    COLUMN_SEPARATOR:124
    ESC_CHARACTER:27
    COLUMNS:Location|Guid|Time|Tzone|Importance|Severity|Exception|DeviceName|ProcessID|ThreadID|ThreadName|ScopeTag|MajorTick|MinorTick|MajorDepth|MinorDepth|RootName|RootID|CallerName|CallerID|CalleeName|CalleeID|ActionID|DSRRootContextID|DSRTransaction|DSRConnection|DSRCounter|User|ArchitectComponent|DeveloperComponent|Administrator|Unit|CSNComponent|Text
    SEVERITY_MAP: |Information|W|Warning|E|Error|A|Assertion
    HEADER_END
    |F5ECB4F85C6A4E648FF1B464F0C56DED0|2011 11 07 16:48:57.889|-0500|>>|E| |TraceLog| 5492|   1|main            | |0|0|0|0|BIPSDK.SessionMgr:logon|WV2ITBEAAP01:5492:1.2:1|-|-|BIPSDK.SessionMgr:logon|WV2ITBEAAP01:5492:1.2:1|Cubj.c7rakjbhhuO_Dw8JrI1|||||||||com.crystaldecisions.sdk.occa.security.internal.LogonService||Server WV2ITBEAAP01:6400 not found or server may be down (FWM 01003) Connection refused: connect
    |F5ECB4F85C6A4E648FF1B464F0C56DED1|2011 11 07 16:48:57.894|-0500|>>|E| |TraceLog| 5492|   1|main            | |0|0|0|0|BIPSDK.SessionMgr:logon|WV2ITBEAAP01:5492:1.2:1|-|-|BIPSDK.SessionMgr:logon|WV2ITBEAAP01:5492:1.2:1|Cubj.c7rakjbhhuO_Dw8JrI1|||||||||com.crystaldecisions.sdk.occa.security.internal.LogonService||Server WV2ITBEAAP01:6400 not found or server may be down (FWM 01003) Connection refused: connect
    |F5ECB4F85C6A4E648FF1B464F0C56DED2|2011 11 07 16:48:57.894|-0500|>>|E| |TraceLog| 5492|   1|main            | |0|0|0|0|BIPSDK.SessionMgr:logon|WV2ITBEAAP01:5492:1.2:1|-|-|BIPSDK.SessionMgr:logon|WV2ITBEAAP01:5492:1.2:1|Cubj.c7rakjbhhuO_Dw8JrI1|||||||||com.crystaldecisions.sdk.occa.security.internal.LogonService||Is the CMS alive? Ensure the CMS supports SDK version 1400
    |F5ECB4F85C6A4E648FF1B464F0C56DED3|2011 11 07 16:48:57.895|-0500|>>|E| |TraceLog| 5492|   1|main            | |0|0|0|0|BIPSDK.SessionMgr:logon|WV2ITBEAAP01:5492:1.2:1|-|-|BIPSDK.SessionMgr:logon|WV2ITBEAAP01:5492:1.2:1|Cubj.c7rakjbhhuO_Dw8JrI1|||||||||com.crystaldecisions.sdk.occa.security.internal.LogonService||Is the CMS alive? Ensure the CMS supports SDK version 1400
    Do any of you have any ideas as to what might be the problem.
    Many thanks,
    Arvind

    Hi David,
         Thanks for getting back to me.  One question, Do I need to install CMS seperately or the does
         the BusinessObjects installs it?
         When I did the BusinessObjects install it installed the Microsoft SQL server 2008 Express and created an
         SQL Server Instance named BOE140.  I checked with Microsoft SQL Server Management Studio (which I downloaded from Microsoft) and saw that no tables were created.
         Regarding the message
         "(.\crypto.cpp:199). (FALSE : digest exception: The FIPS140 shared library could not be found (10027))."
         listed in the log file above,  what is my system missing. 
         Looks like CMS is not getting installed. 
         I am doing the install on a VMware Windows 2008 system with 8 GB ram and 50 GB file space.
         Are there any special requirements of configuration on the Windows system?
         Thanks for your help,
         Arvind

  • Problem with Business object XI 3.1 SP3

    Hello,
    I have the problem with BO;
    We are in BO XI 3.1 SP3 ;
    to resolv the import wizard problem, I have changed in the CMC, the CMS proprity for the " demand Port "  to add  the port number 6400  and unable the check box " automatcally affect".
    So , I can not log on BO .
    Any person have this problem?
    Thanks for your answer.

    Dear,
    first of all remeber that if you change the sarver name port when you log on on CMC or CCM you have to name the server with the new port in the field system:
    <servername>:<port> es. PIPPO:6350
    Let me know
    Massimo
    Edited by: Massimo Cappelli on Jun 9, 2011 8:42 AM

  • Label printing problem from Business Object Infoview

    Hi,
    I got a problem with printing label (roll) from Zebera Label Printer. The label is designed in CR XI which works properly printing from Crystal Report XI and Zebera printer prints labels (more then one labels) without any trouble.
    But the same label (report) does not get printed with all its  pages (labels) from the same Zebera Label Printer using BO infoview. It prints only one page (1st label) and stops.
    It seems that BO infoview takes all the labels converted in pdf as one page. Where I want that each label should be considered as single page.
    Any idea?

    Thanks Don
    Yes the same report is published in the BOE.
    From infoview, It prints on the screen eight (8) labels in two column on one A4 size page. While I want to have each label (W=3.9in x H 2.1in) as one page printed.  So that, each label can be printed as one page on label printer.
    I want to print as pdf format then printing on Label Printer.
    Thanks
    GJ
    Edited by: GuroJee on Apr 28, 2010 1:36 AM

  • Problem with business object  : oInventoryGenEntry

    i have defined oInventoryGenEntry as document my code is:
    oIGN = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
                                oIGN.DocObjectCode = SAPbobsCOM.BoObjectTypes.oInventoryGenEntry
    i value the itemcode, price, quantity etc..
    OIGN.Add
    the message is "Cd. non valido [OIGN.GrossBase][line: 1]
    I don't know the problem.
    Thank's

    Hi Valentina Mioli 
    Unfortunatly i don't understand the error as i only speak english. But here is an example of a working one.
    Dim oIGN As SAPbobsCOM.Documents
            oIGN = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
            oIGN.Lines.ItemCode = "02SILVTS"
            oIGN.Lines.Quantity = 1
            oIGN.Lines.Price = 200
            'accountcode only if gl acc determination
            'is incomplete
            oIGN.Lines.AccountCode = "_SYS00000000002"
            oIGN.Lines.Add()
            oIGN.Lines.ItemCode = "11-5020-1"
            oIGN.Lines.Quantity = 1
            oIGN.Lines.Price = 200
            oIGN.Lines.AccountCode = "_SYS00000000002"
            If oIGN.Add <> 0 Then
                MsgBox(oCompany.GetLastErrorDescription)
            Else : MsgBox("added")
            End If
    Hope this helps

  • Problem reading attributes of Business object

    Hi Guru's
    I would like to read the attributes of a business object given the wi_id of the task in a class. I basically want to use the attributes outside the workflow to generate an HTML for extended notification.
    So in essence i want to know if there is a function module that i can use to retrieve that data.
    Thank you in advance!

    Please you can use SWC_GET_PROPERTY macro in your program after retrieving the Object.
    Or you can just do the coding that is done in the attribute section after you retrieve the Object key of the Object from the container. Please note that you have to use SAP_WAPI_READ_CONTAINER.
    Thanks
    Arghadip

Maybe you are looking for

  • Use of test message button in Component Monitoring

    Hi All, We can't send message from adapter Engine where as we can do through Integration Engine from component monitoring of RWB. Then What is the use of send message button in Adapter Engine from component monitoring? Please comment on this. Is ther

  • Airport Extreme - Weak Signal

    Good morning - I have a 17" iMac G4 800 (no Airport Card - cable connected to the Airport base station) and a 12" PowerBook G4 133, networked with Airport Extreme. I connect to the internet via DSL with a Siemens Speedstream 4100. My ISP claims downl

  • GR processing time in QM

    Dear Sir/mam GR processing time in material master is 3 for eg and inspection lot created in QA32 with start date and end date is same can you let me know the relation how can i corelate this gr time with actual start and end time of inspection. rega

  • 802.1x: Possible to connect pre-login?

    I need to find a way to get the WiFi connection to become/remain active before a user logs in. I've got a configuration profile (Encryption: WPA/WPA2 Enterprise, Enterprise Mode: Loginwindow, Enterprise Mode: System, EAP Type: PEAP, Auto Join: True)

  • The shooting speed with the continuous shooting can be affected if I shoot jpeg, raw or raw + jpeg.

    Hallo, I am using a Canon EOS 6D. In the specifications it is stated that the speed when doing the continuous shooting is 4.5 fps. I wonder if this speed changes depending on the setting regarding on how I save data on the card (raw, jpeg, raw+jpeg).