Code for Custom Business Object and Adding/Updating Data

Hi,
I would like to update/insert data thru Custom Business Object to sql Server.Pls let me know is it possible in MSA.If yes I would appreciate if you can share the code/Process in this forum.
Thanks and Regds
Harish

Harish
Depending on what data you update you need to do the following:
If updating SAP tables or customer tables which are an extension of a SAP object like business partner, material, activity or similar:
1. Create the extension of the data object via the easy enhancement workbench (EEWB). This will also create mapping functionality from MSA to CRM Server and extend the BDocs.
2. Go to the BDoc modeler. Find the sBDoc for data exchange (type Write BDoc), that contains your object and check whether the new segment is there.
3. In the Mobile Application Studio (MAS) you can now create a custom business object related to the standard sBDoc mentioned in 2 which is mapped to the new segment. This way the data exchange happens together with the main object
4. Drag & drop the fields of the new BO to a new tile, and link that tile to the existing main object in the UI via the appropriate relation.
If you would create a new business object / BDoc for a set of attributes belonging to a main object and not use an extension of the existing BDoc then the data would get its own flow and when replicating it would not come together with the main data. This can lead to data inconsistencies and in surplus effort administrating this data.
If you have your own objects not related to a SAP object, you can do it the following way:
1. Create your own table(s)
2. Create a Write sBDoc on the table(s)
3. Create BO's on each BDoc segment / table
4. (as above)
Hope this helps,
Kai

Similar Messages

  • SAP Cloud Application Studio Create Custom Web Service From Custom Business Object and Consume in External System

    Hi Experts,
    I have requirement to create custom business object and create Web Service for that and use in external system (SAP ECC / SAP CRM / Third Party).
    1) Is it possible to create custom object web service and used in external system ?
    2) When we create the Web service from custom business object what the necessary steps(action : Create , Read , Update) require?
    3) Sample Scenario :
    My Custom Business Object
    businessobject Custom_Integration {
      element EP_VAL1 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element EP_VAL2 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element IP_RES : LANGUAGEINDEPENDENT_MEDIUM_Text;
    I have created the Web Service using this custom business object.
    3) How i can use this web service in external system? what are the prerequisite steps in external system to consume this service in it?
    Please anyone have idea about this how to do this and how to achieve this using SDK and custom business object.
    Many Thanks
    Mithun

    Hello Mithun,
    Does this section in the documentation help you:
    SAP Cloud Applications Studio Help -> Developers Desktop -> Web Services
    The entry "Task -> Create a Web Service" describes how to create a Web Service on your own BO
    The entry "Task -> Test a Web Service" helps you how you can use it in a foreign tool / application.
    HTH,
       Horst

  • How to find T-code for a business object

    Hi,
    Can anyone help me how to find out the t-code associated with a business object.
    or I want to know what are the business objects are available for a t-code
    Thanks and regards,
    Venkat

    Hi,
    check this link,
    https://wiki.sdn.sap.com/wiki/display/ABAP/How%20to%20find%20an%20Event%20for%20any%20transaction%20for%20triggering%20of%20a%20workflow
    it will help you.
    Regards,
    Vijay

  • Table name for Customer Account Group and created by Data

    Dear Gurus,
    Kindly le t me know the table name having a list of Customer a/c groups and created by data. if there is no such table thn pls let me know the alternatives for fetching the same data.
    Wishes
    Abhishek

    hI
    Go to Se11 and give table name KNA1 and go to display
    you can able to see the Customer AccountGroup field :KTOKD
    Thanks
    Vasu

  • Business objects and start events required for CO11N and CO13 transactions

    Hi,
    We do production order <b>confirmation</b> and <b>cancellation</b> in CO11N and CO13 respectively. Can somebody please tell me the corresponsing business objects and the start events for them? This is a very urgent issue, I will surely rewad good points.
    I guess we need to use AFVC_PM object and "finalconfirmation" event for the confirmation.
    Please confirm this and kindly suggest the same for cancellation.
    Thanks,
    Max

    Hi Max,
    You will have to use the object BUS2005 - which is for Production order.
    If you do not have Required events in the BO, you will have to extend object to add those custom events e.g. Cancellation event.
    In this case you wil have to use Status management technique for raising events if standad transaction is not raising them.
    Hope following SAP Help link might help you  to start off..
    http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4aed5453d11d189430000e829fbbd/content.htm
    Regards,
    Akshay Bhagwat

  • I am trying to update some apps but my ipad wont let me because it wants me to enter the security code for my credit card and I dont want to do that so how do i fix this?

    I am trying to update some apps but my ipad wont let me because it wants me to enter the security code for my credit card and I dont want to do that how can i fix this?

    Try temporarily disabling your firewall and antivirus.

  • Any business Object and Events for CJ01?

    hello friends,
    can any one of u tell me the Business Object and Event for the transaction CJ01?
    Could you please let me know is it  business object (BUS2054) is right one. If it is right one please let me know the Event for CJ01?
    Thanks,
    Sridhar

    Hi Sridhar.
    You want to know if there is triggered an event when you create a project.
    Try the following:
    Activate event trace with SWELS.
    Create a project with CJ01.
    Check transaction SWEL to display trace event.
    Regards
    JCD

  • Table for Business Objects and BAPIs

    Hi All,
    Is there any table which correlates a Business Object and all the BAPIs related to it.
    Any pointers in this regard would be helpful.
    Thanks,
    Saher

    hi,
    GOTO SE11-> TOJTB-> give your business object
    You get the list of programs where you are using your business object.
    If a BAPI exists with this business object even that's displayed.
    Regards
    Sharath

  • Service Interface for the Business Objects

    Hello everyone. I'm developing a Web Service using the service interface that provide JDeveloper for their Business Objects. I have a relationship between two EO as described below:
    EntityA 1 ...... * EntityB and it is a composition relation.
    Each ID in the entities are sequencial. There is no problem for create EntityA and EntityB at the same time. My probelm is that if I want to create only EntityB. I can't use the default method provided by the AppModule, neither make a custom method like:
    public boolean createEntityB(EntityBRowImpl mayEntityB){
    //Sample code.
    }because always a new row is created, and as EntiyB is a child of EntiyA, require the father's id and of curse an error ocurr. Also, can't let someone write the ID in the foreing key of the EntiyB.
    How can I solve this please?
    Thanks in advance. Any suggestions are very wellcome.
    PS: I'm using JDeveloper 11.1.1.5

    The error you're hitting is presumably JBO-25030.
    Look to the "merge" command. In the parent you specify just the key of the preexisting parent record, and then in the child you specify your new child record.
    CM.

  • Custom authorization object and check logic

    Hi gurus,
    we need to apply additional authorization check in our custom reports.
    so i created a custom fields & object, and put the statement
          AUTHORITY-CHECK OBJECT 'ZHR_APP01' FOR USER uname
                   ID 'ZROLEID' FIELD '03'
                   ID 'ZSOBID'  FIELD zzdwbm.
    in a abap class method centrally, so it could be called by many reports.
    but the test show that the sy-subrc always set to 0, even for users without any authorization.
    what i missed for adding custom auth check?
    for this case, do i need to maintain authorization check indicator in SU24?
    what i am confused is that , su24, you have to maintain a transaction , but our authorization check is not for transaction , but for reports and bsp application, how should i maintain su24 for that?
    thanks and best regards.
    Jun

    Hi,
    I have created a Custom Authorization Object for HR named Z_ORIGIN (it has Personnel Subarea field BTRTL besides what's there in Auth. Object P_ORIGIN) and made it Check/Maintain for transaction PA30 in SU24.
    I can see the entries in the USOBT_C & USOBX_C tables for this object, I am also able to add this object in the roles as well.
    Everything looks fine, but when I execute the transaction  the object Z_ORIGIN is never checked (for a user having this object in his/her User Master). Only P_ORIGIN object is checked instead.
    We've ran the report RPUACG00 also which is mentioned in this thread.
    We also coded the authority check code in the both user exit ZXPADU01 and ZXPADU02 for PA infotype operations
    I believe I'll have to write some ABAP code e.g. AUTHORITY-CHECK OBJECT 'ZP_ORGIN' etc. Can anybody tell which User Exit or Field Exit I'll have to put the AUTHORITY-CHECK code in, so that my new custom authorization object is alwayz checked
    but still it is taking the P_ORGIN object.

  • 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

  • Enhancing web service tool to have further business objects and roots

    Hi Gurus,
    is it possible to enhance the web service tool in CRM 6.0, to have further business objects and root objects during the creation of a web service.
    Currently, there are specific entries, but I want to have additional data in here to create a customer specific word template.
    I have found out some tables, but I really do not know how to enhance them and if this is the correct way of adding additional business objects in the web service tool.
    Mentioned tables are CRMV_WS_METHODS and CRMV_WS_OBJ_REL.
    Has someone of you already did this? Helpful answers will be awarded.
    ThanX
      AleX

    Does nobody have an idea? According to help.sap, only these objects are web service enabled:
    -Business Transaction
    -Business Partner
    -Campaigns
    -Case
    -Counter
    -Installed Base
    -Marketing Segments
    -Marketing Attributes
    -Product
    source: http://help.sap.com/saphelp_crm60/helpdata/en/71/365da2ab81488c8fc9b82fd8eb6f0f/content.htm
    But what about other components, such as BuAg (Business Agreement) or ISUMD (IS-U Master Data and further data from the ERP system). These components are in the GenIL, e.g.
    BUAG with implementation class CL_CRM_BUAG_IL1 or
    ISUMD with implementation class CL_CRM_ISU_IL_MD
    Is it necessary to use the Web Service Consumption Tool for creating BOL Objects, although the BUAG/ISUMD are already available in CRM?
    If so, what must be exactly done with this Tool. Does anyone have experiences here and can provide me further information?
    Thanx and regards
    Alex
    Edited by: Alexandro St. Torro on Nov 11, 2008 9:41 AM

  • Looking for a Business Objects Universe built for OIM

    My company has Business Objects and Management prefers to do reporting using the BO product. Also adding reports to OIM requires several database changes and a redeploy to push out the label changes, and that causes the skitters with Management. We have a team that is looking at creating a BO Universe for the OIM database, but as you know, a lot of display transformation work is done in the Java WebApp and that would need to be modeled in the SELECTs in the Universe.
    Does anyone have a BO Universe already built for OIM?

    Rick,
    I'm the Internet Technologies Practice Manager for one of Oracle's Managed Partners.
    That means I have Collaboration Suite and iAS product stacks under my practice. Responsible for everything from planning through go-live.
    You can email me at [email protected] - send some specifics and a phone #. We'll talk.
    Thanks,
    Dennis

  • Query on SAP Business Object and Content shipment..

    I know about SAP Business Suite... & SAP Business One... But what is :
    1. SAP Business Object and
    2. Content Shipment
    The definitions on the SAP Release & Maintenance Strategy and other docs on SDN were not too clear for my understanding. I want to know why are they used / where are they applied ? E.g: if you have a SAP BW system.. why would you need SAP BW Content ? where does it fit in the picture and what purpose does it serve...
    (PS: it would be great if someone can share the product / functionality details of their landscape where these systems are used, how does it benefit the business operations and any other purpose of having them... )
    Thanks,

    Hi Ashim,
    If your client want it to be done in one database, then the answer is no if you do not have any add-on or SDK codes.  Most difficult part is authorization since I believe what you mean project here is not the same as project center in B1,
    If your client allow more than one database, then the configuration will be easy.
    Thanks,
    Gordon

  • Needed: Short Code for my Business

    I need to purchase a short code for my business so that moible phone users can SMS/MMS my short code and I can interface/reply to those messages using a custom program/app. Does Verizon Wirless offer the ability to purchase short codes?

        That's a great question and fantastic practice for your business KTrentLR1! I am pleased to say we can definitely help you with this. In order to discuss all the details, we will need to communicate via Direct Message. Please accept my follow request, follow me back and send me a direct message.
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

Maybe you are looking for