Design complex business mapping & business validation

There is a task to develop complex mapping.
For example it is needed to perform several DB Query in order to map CODE from one application to ID in another application. Each rule depends on previous result.
I see several approaches:
1) To design complex busines process
2) To separate BPM level and Business rules level. For example this complex mapping will be developed as rule(with help of GUI of specific rule engine) and exposed as WebService.
3) To encapsulate this logic into application.
What are you suggestions? Which approach do you like?
Is there another approach better suited for XI?
I like approach 2) I think it will be more flexible and better maintained.

If you have already looked into Castor, then you might be interested in OpenEJB a it uses Castor as the CMP Entity Container. The config files are the same and everyting. Meaning, if you create a Castor mapping file and have an app using it, then suddenly decide you want to make that object remotely accessible, you can deploy it as an CMP entity bean using the exact same Castor mapping file. Pretty slick.
Gives you the opportunity to use Castor and add EJB "front-ends" as you need them.
Here, take a look at this example, notice the Castor mapping file towards the end?
http://openejb.sourceforge.net/cmp_entity_postgresql.html

Similar Messages

  • Can we design the scenario with Business service

    Hi,
    I have IDOCXIFile Scenario
    Can we design the scenario with Business service for SAP R/3 and As well as for File system also????
    I dont have details abt the SAP R/3 system to create the Tech system in SLD
    Regards
    Suman

    Hello Suman,
    Go through this Blog..
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    These are the steps which u have to do
    STEPS IN DESIGN
    1. Import idoc from the SAP System (SAP02) through imported objects.
    2. Create Data Type, Message Type, Message Interface for the Outbound File.
    3. Create Message Mapping with file Message and idoc (Matmas04)
    5.Create Interface mapping between File Interface and the idoc.
    Steps to be followed in Creation of Technical and Business System
    Technical System
    In SLD, click on technical landscape->New Technical System->WebAS ABAP.
    Business System.
    1.Goto Business Landscape->New Business System->Name the business system.
    2. Choose the technical system that needs to be attached->WebAS ABAP->Technical System Name.
    Preconfiguration steps for transfer of data to IDOCS
    1.Create a RFC Destination in SM59 of XI Server of type.
    2.In transaction IDX1 ,create a port for the client of XI server.
    3. The port has to be displayed in the idx2 transaction and we should be able to view the idoc’s which we imported through integration repository.
    Steps in Configuration
    1. Goto service without party, right click->Assign a business system.
    2. Choose the business system to be added.
    3. Create a File Sender Service with communication channel for the same.
    4. Create an idoc receiver channel under the business system.
    7. The Idoc type( which data is to be written) is mentioned as inbound parameter.
    8. Mention the logical Name in the Service->Adapter Specific Parameters of both the File Sender Service as well as the business system.
    9. Make the Sender Agreement for theFile Sender with communication channel.
    10.Create the Receiver Determination and Interface Determination for the business system.
    11.Create the Receiver Agreement for the Business system.
    Step for Configuration fo IDOC in R/3
    SM59-rfc destination
    IDX1-port
    IDX2-load metadata
    we05-IDoc status records
    BD54-Create Partner Number
    We20-Create Partner Profile
    WE19-Testing IDoc Processing
    Do these configurations in R/3 and in XI...
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    Reward Points if it is useful..
    Thanks,
    Satya Kumar

  • Designing a Double-Sided business card in InDesign

    Hi All
    I would like to design a double-sided business card using InDesign and I have just downloaded the app. I went to create a new document but there is no option for "US business card" size as it states in the tutorial. Is this because I am using the UK Cloud? If so, how do I get around this?
    Please advise how I go about designing my card.
    Many thanks
    Sabrina

    But this is what I mean.... the option isn't there.
    This is what I can see:

  • Business Rules Not Validating

    <p>Hi</p><p> I have a business rule that is not validating against thegiven database.</p><p>I have tried copying the calculations into a calc script andthey validated and executed successfully. Can someone tell me whyis the business rule not validating the calculations?</p>

    Hello,<BR>if you would give the error message then we might help you better. <BR><BR>The HBR are not at par with calc scripts. One thing that is different is that an nested IF statement should be on a sparse member block. In Calc scripts it does not matter which member from which dimension, in HBR it is important.<BR><BR>Regards,<BR>Philip Hulsebosch<BR><BR>www.Trexco.nl

  • Documetations about the complex interface for business partner

    Hi Folks,
    did anyone knows, were I can find some documentations about "how to use the complex interface for business partner"?
    Kind regards
    Thomas

    The above problems through Notes: 810634 has been resolved!
    The return message is "Instance BJXE001005 belonging to object type BusinessPartnerFS was created".
    But the BP "BJXE001005" has not been established in CRM.
    How to i?
    When i use parameters "roles", the return message is "No update is defined for BP role"?
    How to i?
    Thanks you!
    Do you have any examples I reference to the code?
    Thanks a lot.
    Edited by: Ken.Li on Apr 13, 2008 9:05 AM
    Edited by: Ken.Li on Apr 13, 2008 10:17 AM
    Edited by: Ken.Li on Apr 13, 2008 10:33 AM

  • Business mapping, experts advice required

    Dear Experts,
    I need your suggestion for business mapping.
    Our Client is Builder, who undertakes following types of projects:
    1. Contracting Project - He just takes order for construction of building & executes. He pays for expenses of material, labour  & raises regular bills to customer.
    This looks like Customer Project.
    2. Development Project - He him self acquires land, constructs building & sells/leases flats, offices.
    This looks like Investment project to me.
    Where should we settle theses two?
    Profitability Segment, Cost Center, AuC, G/L, etc....
    Please advice.
    Thanks in anticipation,
    SSanjay

    Hi,
    In fact wanted to add something in the previous reply:
    Case1: PSG.
    Case2: FXA For investments.
    For Customer: I would assume the real estate management would be the solution in support to PS.
    Follow the link for the detailed discussion:
    [Real Estate and PS|http://help.sap.com/saphelp_erp60_sp/helpdata/en/2c/277063456a11d189440000e829fbbd/content.htm]
    Also for settlement please follow the link below:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/2c/276a49456a11d189440000e829fbbd/content.htm
    hope its useful.
    thanks..

  • Business partner change Valid From Date field

    How can I change the Valid From Date field in tables:
    BUT000
    BUT020
    BUT0BK
    BUT100
    Currently the of date of creation of the business partner is in this tables' Valid From field.
    In transaction BP the Address of the Business Partner is  valid from 01.01.1990 but still I get a warning that the business partner is not valid for date 01.11.2011.

    Sounds like the problem is the valid to date.  What is that date set to?

  • Mapping business process

    hi all
    For Mapping business process is there any particular rules?
    in generally  how we do business process mapping.
    plz tel me wat r the steps we follow.....like.
    thank u
    Swari

    Hi Varun,
    [Business Process Management and Adapters |https://websmp108.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT44]
    Assign Pionts if helpful.
    Thanks and Regards,
    Naveen Dasari.

  • What is the best Mac app for designing custom brochures and business  cards?

    What is the best Mac app for designing custom brochures and business  cards? And Why? I like to use my creativity. I have Print Shop2 right now, less formatted templates and more options would be better. Any suggestions. Tell me why you like it.  My background is MS windows XP  Publisher 2003. Thank you for your help!
    Nightowl7

    What is the best Mac app for designing custom brochures and business  cards? And Why? I like to use my creativity. I have Print Shop2 right now, less formatted templates and more options would be better. Any suggestions. Tell me why you like it.  My background is MS windows XP  Publisher 2003. Thank you for your help!
    Nightowl7

  • When will full Siri features be available in Australia? Maps, business, etc.

    When will full Siri features be available in Australia? Maps, business, etc.
    I have this great feature with only half the power available.

    Next year: http://www.apple.com/iphone/features/siri-faq.html

  • Difference between Business service, Business system and Business process

    Hi,
    Can anyone tell me the difference between Business service, Business system and Business process?
    Thanks,
    Harikumar. S

    Hi,
    <b>Business system</b>
    It is a logical system from a business point of view.
    One or more logical systems that belong together from a business point of view is called a group of Business system group. A business system group represents a unit within a company or organization that can be defined according to legal, economic, administrative or geographic factors.
    The objects in a business system group are uniquely identified by a uniform numbering system.
    <b>Business process</b>
    Business procedure within an enterprise that uses resources and can involve activites from a number of different cost centers in a controlling area.
    When executing a business process, activities can be utilized for several cost centers of a controlling area.
    <b>Business service</b>
    It’s a third party system.
    All these belong to a Business Scenario which is
    Description of the flow of business processes according to a business typology. A business scenario represents a template for a business process, which runs within a particular area of a company process. All processes required to completely process the task are listed in chronological order in the scenario. Business scenarios can be described graphically, in either aggregated or detailed form (EPC). Example: Direct sale to industrial recipient
    <b>**DO REWARD POINTS IF THIS IS HELPFUL FOR YOU**</b>
    Regards
    AK

  • Business Place & Business Area in VAT Line item in MIRO

    Hi Gurus,
    I want to defualt the following values in the VAT line item in  while doing MIRO.
    1. Business place in the "VAT line item" to be defaulted from the "Vendor Line item".
    2. Business area in the "VAT line Item" to be defaulted from its relevant "Material / Expense/ GR/IR Line item".
    The same thing i have done in FB60 transaction by using a BADI. But the same BADI is not working for MIRO.
    What the BADI does it goes and updates the BSEG table for the fields "Bupla (Business Place) & GSBER(Business Area).
    But while doing MIRO the BSEG table is not called at all and hence the BADI which is used earlier is not able to update the fields and hence cannot be used.
    I feel the reason could be that while doing MIRO the BSEG table is not called directly but it is called through a Function Module. In such case a BADI will be required which will call the relevant Function module.
    Need your help in how to update the VAT Line Item's Business Place & Business Area in the MIRO document.
    Will award points if issue is resolved or if your answer is useful.
    Rgds
    Prasad

    Hi
    Try using substitution maintained in FI.Transaction code OBBH.
    Maintain the prerequisite based on the Transaction code.
    Copy the same logic used in BAdi for the exit created.
    We have used this for similar type of requirements
    Award points if useful
    Thanks & Regards
    Kishore

  • Debugging Tips for Mapping and Validation modules

    Hi,
    I am new to CRM, anybody can send the dubuging tips for  Mapping and Validation modules and the list of tables which I have to check before loading.
    (Intilal load & delta load)
    Regards
    KHM

    KHM,
    The first thing you need to make sure is that all queues are deregistered on both systems.  Check the settings in SMQR and SMQS on your systems.  The next step is that your middleware connection user must be a dialog user in order to debug the middleware properly.
    If you have those two steps done, then for an initial load you can actually go into to the queues and debug the entries from each queue.  For a delta load you will need to put a break point in the transaction before the middleware trigger, and then turn on update debugging(if you want to go through the full process).
    The only other key is looking up the correct function modules for the adapter objects to determine what is being called.  Once you know these and have done the steps above you can in general debug.
    Validate the information above in your system and then let me know where you are getting stopped in your debug process.  We can then try to figure out why the debugger is not being called.
    Good luck,
    Stephen

  • Business System/Business Service

    Hi All,
       Can anyone let me know what are Business System and Business Service.
    Regards,
    SP

    Hi
    Business Service
    1) You use a Business Service, when you do not have the System details of the the partner system to which you want to communicate. i.e. you have not configured the partner system in SLD.
    2) Business Service is an Absract Unit with Sender and Receiver Interfaces,In this case you need to explicitly add the message interfaces while doing configuration in ID.
    3) It is generally used for NON-SAP applications, this is just a general prinicple followed but not mandatory.
    4) This is not defined as part of SLD and whose technical parameters are not completely known.
    5)Business service is used when the message is not addressed to a business system. It is used mostly in B2B scenarios.
    Business systems:
    Business systems are logical systems, which function as senders or receivers within PI. Business systems can be SAP systems or third-party systems.
    Depending on the associated technical system, the following types of business systems are defined in the SLD:
    Web AS ABAP:
    A business system, which is associated with a Web AS ABAP.
    A business system, which is associated with a Web AS ABAP, can play the role either of an application system or an integration server. An integration server is the central component of PI, which provides a framework for the exchange of information among various internal and external entities of a company. The integration server facilitates the interaction between the different operating systems and applications across internal and external networks.
    Web AS Java:
    A business system, which is associated with a Web AS Java.
    Standalone:
    A business system, which is associated with a standalone Java application.
    Third-party:
    A business system, which is associated with a third-party technical system.
    Technical systems:
    Technical systems are application systems that are installed in your system landscape. An example of an application system is a Customer Relationship Management (CRM) server. In the SLD, there are five types of technical systems:
    Web AS ABAP:
    Regard's
    Chetan Ahuja

  • Diff. between Business service & Business system.

    Hi All,
    Can anybody tell me what is the actual difference between Buss. service & system ? and in which case I should use either ? How can I differenciate this two ?
    Eg. 1. I am using Buss. system BS1 , than what/where this BS1 should  be ?  and 2. if am using Buss. service BS2 , than what/where this BS2 should  be ?
    Thanks.
    Ramiz.

    Hi
    Business Syatem:Business Systems
    Difference:Difference between Business System and Business Service
    Business Service
    1) You use a Business Service, when you do not have the System details of the the partner system to which you want to communicate. i.e. you have not configured the partner system in SLD.
    2) Business Service is an Absract Unit with Sender and Receiver Interfaces,In this case you need to explicitly add the message interfaces while doing configuration in ID.
    3) It is generally used for NON-SAP applications, this is just a general prinicple followed but not mandatory.
    4) This is not defined as part of SLD and whose technical parameters are not completely known.
    5)Business service is used when the message is not addressed to a business system. It is used mostly in B2B scenarios.
    Business systems:
    Business systems are logical systems, which function as senders or receivers within PI. Business systems can be SAP systems or third-party systems.
    Depending on the associated technical system, the following types of business systems are defined in the SLD:
    Web AS ABAP:
    A business system, which is associated with a Web AS ABAP.
    A business system, which is associated with a Web AS ABAP, can play the role either of an application system or an integration server. An integration server is the central component of PI, which provides a framework for the exchange of information among various internal and external entities of a company. The integration server facilitates the interaction between the different operating systems and applications across internal and external networks.
    Web AS Java:
    A business system, which is associated with a Web AS Java.
    Standalone:
    A business system, which is associated with a standalone Java application.
    Third-party:
    A business system, which is associated with a third-party technical system.
    Technical systems:
    Technical systems are application systems that are installed in your system landscape. An example of an application system is a Customer Relationship Management (CRM) server. In the SLD, there are five types of technical systems:
    Web AS ABAP:

Maybe you are looking for