Restriction when using Business object

hi all,
Currently i want to use Business Object to create a new Company code. After searching the Business object in Transaction SWO1, I find 'BUS0002' can realize it. But there is only one import parameter of method 'create' , that's the company code key id. 
Is there any solution to import other parameters,such as description of the company code, currency etc. when using the business object to create the company code?
Thanks in advance.
Vivi

hi RS
   just writes a test program :
  DATA: BEGIN OF objectkey,
         bukrs LIKE t001-bukrs,
         butxt LIKE t001-butxt,
         ort01 LIKE t001-ort01,
         land1 LIKE t001-land1,
         waers LIKE t001-waers,
         spras LIKE t001-spras,
       END OF objectkey.
  objectkey-bukrs = '2010'.
  objectkey-butxt = 'My company code description'.
  objectkey-ort01 = 'NEW YORK'.
  objectkey-land1 = 'US'.
  objectkey-waers = 'USD'.
  objectkey-spras = 'EN'.
  swc_container container.
  lv_object_type = 'BUS0002'.
  swc_create_object obj lv_object_type ''.
  swc_create_container container.
  swc_set_element container 'objectkey' objectkey.
  swc_set_element container 'CORR_NUMBER' 'EB2K900952'.
  swc_set_element container 'SUPPRESSDIALOG' ' '.
  swc_call_method obj 'Create' container.
At runtime session, there is no value transfered to the maintainence view except the company code id.
When i go through the program of 'create' method,
i found that:
Call maintenance of CompanyCodeId
  CLEAR V_T001.
  V_T001-MANDT = SY-MANDT.
  V_T001-BUKRS = OBJECT-KEY-COMPANYCODEID.
  CALL FUNCTION 'VIEW_MAINTENANCE_SINGLE_ENTRY'
       EXPORTING
            ACTION                       = 'INS '
            CORR_NUMBER                  = CORR_NUMBER
            VIEW_NAME                    = 'V_T001'
            SUPPRESSDIALOG               = SUPPRESSDIALOG
            INSERT_KEY_NOT_FIXED         = INSERT_KEY_NOT_FIX
       IMPORTING
            CORR_NUMBER                  = CORR_NUMBER
       CHANGING
            ENTRY                        = V_T001.
so i guess, it should be enhanced some coding here, something like
V_T001-BUTXT = OBJECT-KEY-description  ?
but i am not sure about it.
What do you think about it?
Thanks again for your kindly help.
Regards
Vivi
Message was edited by:
        Vivi Sun

Similar Messages

  • JDeveloper 3.1 Crashes when using business objects wizard

    I am having a problem keeping the business object wizard from crashing the program. When i select my tables to create objects from the wizard crashes when it is generating the java code and xml files. If I select one object at a time the program seems to behave better.
    There are other instances where either the program hangs or crashes. Is there something wrong with my environment? I am running windows 98 on a laptop with 128Mb of memory. I am using the Java vm that came with Jdeveloper 3.1 as far as i know.
    Thanks.

    Ahh .. boy I feel silly. I am trying to use the tool for about 44 tables. Again if I create objects for one table at a time it seems to work better.
    The other problems I have is the random hanging or crashing. If I am patient and rety my operations a lot the tool's functionallity generally works.
    Is there any plan to certify this tool on 98?
    Thanks.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JDev Team (Laura):
    Jason,
    JDev 3.1 is not certified on Windows 98, only Windows NT and 2000.
    That said, how many tables are we talking about, and what version of the database?<HR></BLOCKQUOTE>
    null

  • Use of MYSQL when installing Business Objects Enterprise XI 3.1

    Hello Team,
    I am quite new Business Objects and right now I am using Business Objects Enterprise XI 3.1.
    when installing BO XI 3.1, I was prompted to select the database server to be created. I chose MySQL.
    Now, I am curious to know the pupose/involvement of a database server for BO. I understand that the database is being managed/used by CMS and it has four main functions:
    Maintains security (users)
    Manages objects (folders, reports, and program objects)
    Manages servers (services)
    Manages auditing (system auditor).
    Is there any better explanation to the database and its purpose?
    what does the database schema/user holds (any database objects,tables,etc..,)?
    Does repository and database schema the same?
    Are all the report objects, users and universe being stored in the database schema?
    Thanks in advance for the reply.
    Regards,
    Kathir

    CMS handles security and routes the request to other services.
    Yes, CMS also maintains the BOE repository.
    CMS is responsible for authenticating users and groups, and keeping track of the availability of the other BusinessObjects Enterprise services. If CMS is down then users wont be able to log into BOE.
    Report Objects, Universe are stored in the Input File Repository and the instances are stored in Output File Repository server.
    In simple words, CMS is like heart of BOE.

  • SSO2DB / Use Business Objects Credential Mapping

    Hi,
    We standardized our universe connections to SQL Server on "Use Single Sign On when refreshing reports at view time". There however is an issue with this when scheduling reports, see
    1199774 - How to schedule Web Intelligence documents based on SSO2DB universes for Oracle and SQL Server to avoid scheduling issues
    Given the solution proposed there is not optimal for us, we are looking at an alternative by standardizing on: "Use Business Objects Credential Mapping" on the universe connection. We want to use OLE DB (SQL Server native connection) for querying.
    There are 2 ways to do this:
    1. On universe connection, in the tab "Database Middleware", we directly select OLE DB. This way we do not need to create a DSN. We however get: A database error occured. The database error text is: Microsoft SQL Native Client : Login failed for user '<user>'.. (WIS 10901)
    Apparently the default authentication mode to SQL server is "native". SQL server specific user. When we create a native SQL server <user> with same password as in the mapped database credentials in the CMC, it works fine. Indicating native SQL server authentication is used instead Integrated Windows authentication.
    Can we somehow change the authentication mode towards SQL server to Win AD?
    Can we get to the SSO2DB functionality in this way?
    2. When selecting ODBC on universe connection in tab"Database Middleware", we can still use OLE DB by creating a DSN based on the SQL Server native drivers. This also allows use to fix the DSN on authentication setting "With Integrated Windows authentication".
    When we run a WebI report from InfoView and select as one of the objects the "system_User", we get the service account running the SIA. This account is also running the WebIntelligenceProcessingServer.
    Does the credential mapping setting not work in this setup?
    We expected the DBUSER/DBPWD to be passed.
    See also SSO2DB / Use Database Credentials
    Quote "Use DB credentials is not kerberos it uses DBuser/DBpass variable for accounts if they are populated. I currently have an escalation in on this with SQL there may be a bug with AD users although SQL users work fine."
    Thx in advance!
    Raf

    Ganesh, using BO credentials will only work if you have BO logins that map to specific users in SAP BW.
    It may be that you wish to section the BW reporting differently to the SAP reporting or that there are specific requirements for a particular reporting area where you can in effect use an "overrule" to replace an individual's log in with one that has a wider set of access privileges for reporting purposes. Quite why you'd let them report on more than they can see in SAP, I don't know, but there you go!
    It's more traditionally used in database-based universes for a variety of reasons, particularly access.

  • Add datas to UDT using business objects

    Hi,
    How to add datas to user defined tables using Business Objects.
    Regards,
    M.Dhivya.

    Hi,
    Check for following provided bt SAP...
    Dim ret As Long
    d
    Private Sub Add_Table_Click()
        Dim oUserTablesMD As SAPbobsCOM.UserTablesMD
        Set oUserTablesMD = oCompany.GetBusinessObject(oUserTables)
        ' When adding user tables or fields, use a prefix
        ' identifying your partner name space. This will
        ' prevent collisions from different partner add-ons
        ' SAP's name space prefix is "BE_"
        'Set the two mandatory fields
        oUserTablesMD.TableName = "T1"
        oUserTablesMD.TableDescription = "Table1"
        'Add the table (which contains 2 default, mandatory fields, 'Code' and 'Name')
        ret = oUserTablesMD.Add
        If ret <> 0 Then
            oCompany.GetLastError ret, Str
            MsgBox Str
        Else
            MsgBox "Table: " & oUserTablesMD.TableName & " was added successfully"
        End If
    End Sub
    Private Sub Add_UDF_Click()
        Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
        Set oUserFieldsMD = oCompany.GetBusinessObject(oUserFields)
        oUserFieldsMD.TableName = "T1"
        oUserFieldsMD.Name = "AlbUDF"
        oUserFieldsMD.Description = "Albert UDF"
        'Add the field to the table
        lRetCode = oUserFieldsMD.Add
        If lRetCode <> 0 Then
            oCompany.GetLastError ret, Str
            MsgBox Str
        Else
            MsgBox "Field: '" & oUserFieldsMD.Name & "' was added successfuly to " & oUserFieldsMD.TableName & " Table"
        End If
    End Sub
    Private Sub Add_Data_Click()
        Dim oUserTable As SAPbobsCOM.UserTable
        Set oUserTable = oCompany.UserTables.Item(1)
        oUserTable.GetByKey ("T1")
        'Set default, mandatory fields
        oUserTable.Code = "A"
        oUserTable.Name = "Albert"
        'Set user field
        oUserTable.UserFields.Fields.Item("U_AlbUDF").Value = "1"
        oUserTable.Add
        If ret <> 0 Then
            oCompany.GetLastError ret, Str
            MsgBox Str
        Else
            MsgBox "Value to field: '" & oUserTable.UserFields.Fields.Item("U_AlbUDF").Name & "' was updated successfuly to " & oUserTable.TableName & " Table"
        End If
    End Sub
    Hope this helps,
    Vasu Natari.
    Edited by: vasu natari on Jun 12, 2009 11:21 AM
    Edited by: vasu natari on Jun 12, 2009 11:21 AM

  • What is the use Business objects over WAD.

    Hi Folks,
    what is the use Business objects over WAD.
    How sap bw is going to use Business Objects.
    Thanks,
    Cheta.

    hi,
    A business object is a master record within the Measurement System, and is defined as part of the measurement class within Customizing.
    Examples of business objects are wells, well completions, and measurement points.
    Once the measurement object is maintained, it is saved with the business object so that when viewed, the measurement object is part of the business object.
    regards,
    Siddharth.

  • Extract account Based COPA from R/3 using Business Object data services

    Hello,
    We have a requirement to extract Account Based COPA from SAP R/3 to Teradata using Business Objects data services.
    I have read couple of white papers which give information on Rapid Marts( which are built in packages) already available for some applications like inventory, GL, AP, AR etc. But I could not find anything for COPA.
    Would anyone give me any information on how to use BO data services for COPA?
    Also if there is no rapid mart available for COPA, does anyone know how to create custom data marts in BO Data services?
    Is there any document available on this?
    Please respond as soon as possible.
    Thanks.

    Hi,
    this forum is for the SAP Integration Kit. Would suggest you post your question into the EIM area for Data Services.
    Ingo

  • Is there a known issue for using IE11 when using business catalyst cms

    Is there a known issue for using IE11 when using business catalyst cms?  I have a client trying to update pages on her site using IE11 and the it says it updates successfully, but the new content is not saved.

    I concur with Barry; I see no significant difference in using the Home button vs. the gestures. But the "fade" effect is part of iOS 7.1 and there's no way to disable it that I know of.
    Regards.

  • Need to use business objects with a project, please guide on basics.

    Hello
    I am a dotnet developer (asp.net with C#). I am sorry I dont know much about Business objects. Our client a financial firm wants to use Business object with a web based application. I couldn't got a clear and good understanding of Business object. The client just said Business objects allows dynamically creating reports even clients can create reports very easily even without knowing SQL.
    Kindly guide me about Business Object product and its what component I should check for using it. Please mention some links that can give me introduction.
    Thanks a lot,
    haansi

    Hi
    Business Objects is not just one tool. You should ask your client what they will use e.g. Crystal Reports or Web Intelligence.
    Here you can see half an hour Webinars that give you a good understanding of Business Objects:
    Webinars
    Regards
    Roland

  • J2EE - Reports using Business Objects.

    Hi Friends,
    We have a requirement to generate reports in our project using Business Objects v5.1.8.
    Some users/Actors will have assess the reports through Webi of business objects and other requirement is to do some selection criteria in web page and once you get the right details, we should be able to generate report directly from web page (Calling .rpt file of Business objects), J2EE application calling business object report. (similar to calling PDF file in browser).
    Did any body of you did similar thing and is it possible to do through business objects, I know we can do from crystal reports. Do we need any plug-in ?
    I would be grateful, If you have sample code and willing to share.
    Thank You
    srikanth

    oh no, you have that as a requirement! :) well, have fun!! (the guy beside me develops our crystal reports stuff all day).

  • 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.
               DATA: aVendor TYPE REF TO Vendor.
    ENDCLASS.
    CLASS myEntity IMPLEMENTATION.
    METHOD getVendor
               pVendor = aVendor .
    ENDMETHOD.
    ENDCLASS

    Hi,
    I am giving u a demo Program for ur doubt.
    REPORT demo_class_counter .
    CLASS counter DEFINITION.
      PUBLIC SECTION.
        METHODS: set IMPORTING value(set_value) TYPE i,
                 increment,
                 get EXPORTING value(get_value) TYPE i.
      PRIVATE SECTION.
        DATA count TYPE i.
    ENDCLASS.
    CLASS counter IMPLEMENTATION.
      METHOD set.
        count = set_value.
      ENDMETHOD.
      METHOD increment.
        ADD 1 TO count.
      ENDMETHOD.
      METHOD get.
        get_value = count.
      ENDMETHOD.
    ENDCLASS.
    DATA number TYPE i VALUE 5.
    DATA cnt TYPE REF TO counter.
    START-OF-SELECTION.
      CREATE OBJECT cnt.
      CALL METHOD cnt->set EXPORTING set_value = number.
      DO 3 TIMES.
        CALL METHOD cnt->increment.
      ENDDO.
      CALL METHOD cnt->get IMPORTING get_value = number.
      WRITE number.
    For more demo programs type 'abapdocu' in the command field
    U will be getting some demo programs.
    There select the abap objects.
    Regards,
    Jagadish

  • Using Business Objects to query the CRMOD database

    Has anybody successfully used Business Objects to query CRMOD via web services? Our BO people are trying to do this and would like to learn from other's experience.
    Regards,
    Jeff

    Please refer to online document "OnDemWebSvcs.pdf". You can download this doc at:
    Admin -> Web Services Administration -> Download Documentation
    Edited by: PPL on Oct 8, 2011 12:13 AM

  • Possible to report on QC using Business Objects?

    Hello Geeks,
    Please excuse me if I am posting this in wrong thread and help me moving it in right one.
    As I am new to Sol Man, I heard that we could use  Business Objects reporting on/for/with HPQC.
    After going through forum links and sdn search, I found that Sol Man Adapter is used for the same.
    My simple question, is, can we use HPQC for BO reporting (Universe, Webi), if yes is Sol Man the adapter which could help me to achiecve it? Also do we have any white paper, which will help me to use Business Objects as a QC reporting tool?
    Thanks
    P

    You need someone who is very comfortable with the QC database Schema.
    You will need someone who can develop reports for you on the fly. The BO piece can connect directly to the QC database just like a reporting tool like SSRS does and you can build reports and host them on MOSS or something.
    That is what I have done in the past and recommend it at places as a best practice.
    Knowing the QC schema inside out is the key piece and you do not need any adapter in this whatsoever.

  • Is there a way to use business objects in the program or function module?

    Hi Experts,
    Is there a way to use business objects in the program or function module.
    Thanks in Advance.
    Naval bhatt

    Hi Naval,
    Ofcourse you can use business objects in your programms/ methods.
    You can use function modules or macros (available from include <cntn01>) for using business objects in your application.
    refere following two links for startup information
    http://www.sap-img.com/abap/reading-attribute-of-a-business-object-in-abap.htm
    http://www.jt77.com/business-warehouse/work-flow-12619.html
    Regards,
    Abhijit

  • Now that I have upgraded to Firefox 3.6.7 when I use Business Objects XI R3 I can no longer edit reports.....the window just goes black and nothing happens

    Now that I have upgraded to firefox 3.6.7 I am unable to edit reports in Business Objects XI (release 3) software. This was previously working fine on firefox before I upgraded.
    == This happened ==
    Every time Firefox opened
    == Today

    Now that I have upgraded to firefox 3.6.7 I am unable to edit reports in Business Objects XI (release 3) software. This was previously working fine on firefox before I upgraded.
    == This happened ==
    Every time Firefox opened
    == Today

Maybe you are looking for

  • File download dialog box problem!

    Hi, How do you force file download message box to use specified file name instead of JSP or servlet name. I am using: // code in attachment.jsp <% response.setContentType(mimeType.trim()); response.setHeader("Content-Disposition","attachment;filename

  • Adobe Acrobat 9 Pro Extended in Win 7 - 64

    Is there any one using Acrobat 9 Pro Extended in Win7-64?

  • Unable to Find supply demand Item

    Hi All, While attempting to open a item from Inventory >On Hand> Item Supply Demand > I am getting the following error. Please assist me. Date falls outside the boundaries of the workday calendar Cause: The current date is outside the range of valid

  • Creating a time lapse from a video

    Is there a way in iMovie 09 to discard frames in order to create a time lapse from a video that has already been shot? I realize that the normal way to create a time lapse is to assemble a group of stills into a video. What I'm looking for is sort of

  • Using Calendar Picker (Dashboard Prompt) variable in report filter

    Hi All, I have checked the forum and it doesn't look like this was answered. I have a presentation variable "CalendarDate" for a dashboard prompt that uses the calendar picker. Has anyone found an easy way to use the presentation variable in a report