Design Approach for 1:N Multimapping scenario with SAP ECC Receiver

Hi Experts,
I am trying to find the best approach to implement the following scenario. its desribed as follows:
Legacy Database ->XI ->  SAP scenario.
1. Pick records from database table with status ='n'
2. The records picked can have one or more RefNos i.e. if 2000 records are picked 1500 can have RefNo :1111 and rest 500 RefNo: 2222
3. 1st condition is to split the records into multiple messages if reference nos are different, so for scenario in point 2 it will be 2 messages. Secondly if the no of records are more than 1000 then split further into 2 message. So 1500 Ref No would be split into messages with 1000 and 500 records. Hence we get 3 messages. I know something similar was achieved in this blog:
</people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
4. Once the data is forwarded to ECC and its successfully updated, we need to update the status of the database table on the sender side to 'y';
So the point where i am not very clear as of now is,
1. What alternative I choose for PI-> ECC call? Its a 1:N multimapping split scenario and as far as I know the call has to go via AE, so is RFC the only option or is there a way to have a call with Proxy/IDOC? Or will there be an option to limit such a scenario at the JDBC Adapter level so that split is not needed. I am not sure if that can be achieved and is a better solution.
2. If I go for either of the approaches mentioned above, what is the best way to achieve point 4, i.e. update the database table at the sender. As JDBC Adapter would be async and hence we either use a Aysnc-Sync bridge(for proxy/rfc receiver) or some other option like triggering a outbound interface from SAP side with the update data?
Hope that experts can provide the inputs on the best way forward.Let me know if anything is missing from scenario details perspective.
Best Regards,
Pratik

Pratik,
2. If I go for either of the approaches mentioned above, what is the best way to achieve point 4, i.e. update the database table at the sender. As JDBC Adapter would be async and hence we either use a Aysnc-Sync bridge(for proxy/rfc receiver) or some other option like triggering a outbound interface from SAP side with the update data?
Use the solution # 2, make it like this:-
DB (async) -> PI -> Proxy (sync) -> PI -> DB (async)
Just out of curiosity, why you breaking the records into 1000's in PI? Why not you select only 1000 records when polling the DB? That will help in improving the overall performance.
Regards,
Neetesh

Similar Messages

  • Design Approach For Integrating Third Party API's

    Our application requires a lot of third party API's to be integrated with the application.
    What would be a good design approach for the same
    Ritesh.

    I think maybe you should post a little bit more info: What kind of APIs? C++? java?

  • Design approach for custom Fiori application

    Dear Experts,
    Good day to all...!
    I am having a query on finalizing design approach for one of my custom Fiori Application development  using SAP UI5.
    Current Application design and  Features:
    As now we are having application, which is been used in laptops. The application structure is like (SAP R3 --> SUP -->UI (using .net) [back-end à Middlewareà UI).
    The UI is hosted on IIS server and the application type is desktop, so the users can use the application in offline as well.
    Once its connected to internet, they push all the data back to SAP via SUP.
    Proposal :
    We are planning to migrate the same application into Fiori with same offline features and extending to mobiles and devices.
    I have few queries here.
    What will be the best approach to deploy the application either SUP(Latest version of SMP) or SAP R3.
    If SAP R3 to deploy App:
    If we choose to deploy the application in R3, How to support the offline usage mobile and devices.
    Will the HTML5 local storage or indexed DB’s are sufficient to support the offline usage.
    In this case, Shall we drop the SUP/SMP, Since the application directly accessed from SAP R3 ..?
    SUP/SMP to deploy the app:
    In this case, I need to create (wrap the ui5 files into hybrid application) a hybrid application to support the mobile and devises as native application..? Correct me If I am wrong..:)
    Hope I can use the SUP/SMP local storage options to support my offline usage..? Correct me If I am wrong..:)
    What will be the best option to support desktop offline  usage.
    We are yet to take a decision on this.. Please provide your valuable inputs , which will help us to take some decisions.
    Thanks & Regards
    Rabin D

    Hi Anusha,
    considering the reusability aspect the components approach is the much better one (see also the best practices dev guide chapter regarding components SAPUI5 SDK - Demo Kit).
    It allows you to reuse that component in different applications or other UI components.
    I also think that the Application.js approch will not work with Fiori, cause the Fiori Launchpad loads the Components.js of the Fiori app in an Component Container.
    Best Regards, Florian

  • Design pattern for unprotecting and reprotecting sheets with VBA?

    Many macros can't run when a worksheet is protected, so when I develop an Excel workbook that has protected worksheets, I have to unprotect worksheets when macros are called and then reprotect the worksheets once the macro has completed.
    The current design pattern I use for this is the following:
    I look at each procedure individually and consider which sheets need to be unprotected for it to run. Then in each procedure I write:
    Sub Test()
    Dim bSheet1Protected as boolean
    Dim bSheet2Protected as boolean
    bSheet1Protected = Sheet1.ProtectContents
    bSheet2Protected = Sheet1.ProtectContents
    bSheet1Protected.Unprotect
    bSheet2Protected.Unprotect
    '''The rest of my code
    if bSheet1Protected then Sheet1.Protect
    if bSheet2Protected then Sheet2.Protect
    End Sub
    But I imagine that maybe there are better ways of doing this. What is your preferred design pattern for unprotecting and reprotecting sheets with VBA?

    Hi JP3O,
    I think it is a good practice to unprotect the worksheet before execute some code and protect it back after the code execute finished.
    >>But I imagine that maybe there are better ways of doing this. What is your preferred design pattern for unprotecting and reprotecting sheets with VBA?<<
    I am not able to find a better way since we always need to unproect the worksheet if some code didn't not executed successful when the worksheet is proected.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Webinar: How to implement secure scenarios with SAP NW PI 7.1

    SAP Intelligence Platform & NetWeaver RIG APJ Expert Call
    Dear valued SAP Experts,
    Next SAP Intelligence Platform & NetWeaver RIG Expert Call Session will take place on Tuesday, August 18.
    The SAP Intelligence Platform & NetWeaver RIG Expert Call Sessions are designed to support consultants, partners and customers  during their implementation projects. The sessions cover all different aspects of SAP NetWeaver and are aimed at
    thus provide knowledge which is not available via standard training courses. The session duration is typically 60min and includes questions and answers.
    Tuesday, August 18, 2009:
    How to implement secure scenarios with SAP NetWeaver Process Integration 7.1
    Time: 2.00 - 3.00 p.m. Singapore Time (UTC +8)
    This event will feature Makoto Sugishita with the SAP Intelligence Platform & NetWeaver Regional Implementation Group.
    Makoto provides the following abstract:
    In this session you will learn more about the core security concepts that are provided with the service-oriented architecture (SOA)
    management capabilities in SAP NetWeaver Process Integration (SAP NetWeaver PI). This session will cover main use cases and
    supported scenarios of secure SAP NetWeaver PI deployments. 
    SAP Connect Link: https://sap.emea.pgiconnect.com/I016095
    (no passcode needed)
    Dial in:
    For dial in details please register here http://www.surveymonkey.com/s.aspx?sm=EFeuZl9PxrwKOW5i5W556g_3d_3d
    Kind regards,
    Sarma Sishta
    SAP Intelligence Platform & NetWeaver RIG APJ

    hi,
    I'm making this a sticky thread till August 18 so it will have better visibility
    Regards,
    Michal Krawczyk

  • SAP Crystal Report 2013 SP03 - Connection error with SAP ECC tables, clusters

    Hi,
    I'm trying to connect SAP Crystal Report 2013 with SAP ECC but I'm getting below error. I've read some where that We need to install SAP integration kit but SAP BI 4.1 it comes default, also had to install the ABAP cystal report transport - How to do Install this on SAP side -
    and on the ECC side we had to develop Crystal Authorization - how to develop this?
    Can someone screenshot of these steps and please suggest if something else can be done.

    Hi Pawan,
    Search for the error and you should see many threads for this issue.
    Anyway, this is what I found:
    logon failed. you do not have the necessary rights to design reports
    Crystal Reports 2008 and BW - Installation and Configuration - Business Intelligence (BusinessObjects) - SCN Wiki
    The wiki should have answers to all your questions regarding Transports, Authorization et al.
    -Abhilash

  • RFC_ERROR_SYSTEM_FAILURE with SAP ECC 6 Unicode

    Hi All,
    I am using BizTalk 2006 R2, Microsoft BizTalk Adapter v2.0 for mySAP Business Suite SP1 & SQL Server 2005 as a Database server.
    In past we developed Orchestrations which were communicating with SAP version 4.7. Currently SAP has been upgraded in ECC 6(Unicode) system.
    I have configured new Send Port on server. Orchestration was able to communicate with SAP ECC 6.0 (Non- Unicode) system but while trying to connect with SAP ECC 6.0 (Unicode) I am getting error.
    A message sent to adapter "SAP" on send port "ECC 6 SendPort" with URI "sap://AS:**..*.*//**/" is suspended.
    Error details: RFC_ERROR_SYSTEM_FAILURE
    I also installed RFC SDK 7.10 Unicode version an also set environment variables for SAP GUI tracing. Now I can execute RFC which returns CHAR value but in case of NUM data type, I am getting following error in trace file,
    T:4012 Error in program 'BTSNTSvc':
    >> ERROR: Import parameter length difference detected.
    Read length: 7. Expected length: 0. Type: 2.
    T:4012 Error in program 'BTSNTSvc': <* RfcReceive [2] : returns 19:RFC_INVALID_PARAMETER
    T:4012 Error in program 'BTSNTSvc': <* RfcCallReceive [2] : returns 19:RFC_INVALID_PARAMETER
    T:4012 Error in program 'BTSNTSvc': <* RfcCleanupContext [2] : returns 18:RFC_INVALID_HANDLE
    T:4012 Error in program 'BTSNTSvc': <* RfcCleanupContext [2] : returns 18:RFC_INVALID_HANDLE
    Thanks in advance.

    Hi Pankaj,
    please note that there are metadata length differences between non-Unicode and Unicode systems.
    This has to be taken into account if you have hardcoded the length in the used connector.
    Please also have a look at the RFCSDK Guide:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000047816&_OBJECT=011000358700001892452002E
    --> Unicode Programs --> Page 35
    Best regards,
    Nils Buerckel
    SAP AG

  • Using Data Integrator with SAP ECC 6.0

    Hi,
    We're currently using Data Integrator Version 11.7.2.3.  Our primary data source is SAP R3 version 4.7   We're planning to upgrade to ECC 6.0. 
    I'm trying to determine if it will be necessary to upgrade Data Integrator also.  Can anyone tell me if Data Integrator Version 11.7.2.3 is compatible with SAP ECC 6.0? 
    I'm sure there is a document somewhere but I have been unable to find it.
    Thanks,
    Mark Duff

    Data Integrator 11.7.2.x is compatible with ECC6. Depending on which platform you're using, here are the documents that give this information:
    [Linux|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/a00aad14-ac3e-2b10-3b85-8208305073b1&overridelayout=true]
    [HP-UX|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/0075f72d-ab3e-2b10-28bb-9708525a9f42&overridelayout=true]
    [Solaris|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d03ba272-ac3e-2b10-9cb0-84156ef467ec&overridelayout=true]
    [AIX|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/2057d8d9-a83e-2b10-a997-e4f31f730524&overridelayout=true]
    [Windows|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d069a060-b03e-2b10-3c8c-a59f5f4d8ce3&overridelayout=true]
    You should keep in mind, however, that Data Integration 11.7.x mainstream maintenence end date is June 2010. Because of that, you may want to consider upgrading to Data Services XI 3.0 or 3.1.

  • Need advice about design approach for query editing tool with JSF

    Hi !
    I would like to propose in my application a way to allow end-user to create queries that could be executed on a some tables. I suppose that this kind of stuff is not new and would like to know if someone has to good design practice or example to do this with the JSF technology ?
    I think that two approaches is possible:
    1/ the user specifies the complete query from the start and get the final result when query is executed in the background
    2/ user specifies the query in a interactive way. It specifies one criteria and get the results of it, then on the results specifies another criteria and get new results, then specifies another criteria and so on.
    Also for information I use Hibernate as database framework.
    Some advice or start of approach will be very appreciated.
    Thanks !
    B.D.

    No-one could advice on this ?

  • Design approach for XML load into DB table

    The question is more related to find a design approach.
    1. I have a few XML files to load data from. There will be more files which will be loaded into the DB periodically.
    2. Each file populates 4 tables.
    3. After loading all the data each file has to be moved into an archived folder.
    4. We have a STAGE & PROD setup in the DB. The usual approach is to create 2 packages for EACH table.
    One to load data into STAGE
    2nd to move data from STAGE to PROD
    Now, I'm not sure if I should create 4 tables * 2 = 8 packages or just 2 packages (1 for stage + 1 for prod).
    Please suggest!! I know the experts here have already come across such a scenarios.
    I wanted to know pros and cons of each approach. As I'm doing something like this for the first time, I can't imagine which will be the best solution.
    Thanks!!!

    I'd create one package.
    I do not see why de-coupling the loading to staging from prod needs to be so.
    When it works as one unit you can rollback the entire load as one as you may not want to end up with some data partially loaded.
    Arthur
    MyBlog
    Twitter

  • ALE/IDOC and RFC/BAPI Integration Scenarios with SAP DS for ESA v3

    Hi,
    we are planning two PoCs of Integration Plattforms. One of our major requirement set is SAP Integration into our existing SOA.
    Because we also have R/3 4.7 Systems in production, we are planning to test ALE/IDOC and RFC/BAPI Integration scenarios with these Integration Plattforms.
    My question is:
    We are looking for are smart solution to get a SAP Test Environment, where we can test ALE/IDOC und RFC/BAPI Integration scenarios.
    It is possible to do this with SAP DS for ESA v3 or shall we better use IDES for that purpose?
    Best regards,
    Steven

    Hi Abhishek,
      This is our scenario. We are doing an integration of SAP HR r/3 system with the CRM system. We need housing information details of the employees which we have in custom infotype 9310 in SAP HR system and we need those details in the CRM system. So am planning out for an ALE/IDOC approach for the integration and gonna  maintain the 9310 details in a custom table. In the CRM system, we gonna build a BOL layer for accessing the 9310 details. Also i'm preparing a HLD for this process. I wanna read and go through few same HLD's before i submit my proposal to my client. Please suggest me and help me out.
    Thanks in advance.
    Regards,
    Arunmozhi.

  • Best practices for a development/production scenario with ORACLE PORTAL 10G

    Hi all,
    we'd like to know what is the best approach for maintaining a dual development/production portal scenario. Specially important is the process of moving from dev. to prod. and what it implies in terms of portal availability in the production environment.
    I suppose the best policy to achieve this is to have two portal instances and move content via transport sets. Am I right? Is there any specific documentation about dev/prod scenarios? Can anybody help with some experiences? We are a little afraid regarding transport sets, as we have heard some horror stories about them...
    Thanks in advance and have a nice day.

    It would be ok for a pair of pages and a template.
    I meant transport sets failed for moving an entire pagegroup (about 100 pages, 1Gb of documents).
    But if your need only deals with a few pages, I therefore would direclty developp on the production system : make a copy of the page, work on it, then change links.
    Regards

  • Character Encoding for IDOC to JMS scenario with foreign characters

    Dear Experts,
    The scenario is desribed as follows:
    Issue Description:
    There is an IDOC which is created after extracting data from different countries (but only one country at a time). So, for instance first time the data is picked in Greek and Latin and corresponding IDOC is created and sent to PI, the next time plain English and sent to PI and next Chinese and so on. As of now every time this IDOC reaches PI ,it comes with UTF-8 character encoding as seen in the IDOC XML.
    I am converting this IDOC XML into single string flat file (currently taking the default encoding UTF-8) and sending it to receiver JMS Queue (MQ Series). Now when this data is picked up from the end recepient from the corresponding queue in MQ Series, they see ? wherever there is a Greek/latin characters (may be because that should be having a different encoding like ISO-8859_7). This is causing issues at their end.
    My Understanding
    SAP system should trigger the IDOC with the right code page i.e if the IDOC is sent with Greek/Latin code page should be ISO-8859_7, if this same IDOC is sent with Chinese characters the corresponding code page else UTF-8 or default code page.
    Once this is sent correctly from SAP, Java Mapping should have to use the correct code page when righting the bytes to outputstream and then we would also need to set the right code page as JMS Header before putting the message in the JMS queue so that receiver can interpret it.
    Queries:
    1. Is my approach for the scenario correct, if not please guide me to the right approach.
    2. Does SAP support different code page being picked for the same IDOC based on different data set. If so how is it achieved.
    3. What is the JMS Header property to set the right code page. I think there should be some JMS Header defined by MQ Series for Character Encoding which I should be setting correctly) I find that there is a property to set the CCSID in JMS Receiver Adapter but that only refers to Non-ASCII names and doesn't refer to the payload content.
    I would appreciate if anybody can give me pointers on how to resolve this issue.
    Thanks,
    Pratik

    Hi Pratik,
         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
    This link might help.
    regards
    Anupam

  • Simple IDoc to IDoc scenario with SAP PI

    Hi!
    I would like to implement a very simple IDoc_to_IDoc scenario.
    i have two clients in SAP ECC 6.0 and would like to send/receive IDoc (e.g. material) with SAP PI.
    Can some one please give exact the technical steps(tcodes, action in XI Tools) to realize this issue?
    Any helpful information/documentation/SDN blogs will be very appreciated.
    Thom

    hi,
    Communication Channels:
    1) No Sender Channel is required as we are using IDOC.
    2) CC_OUT_IDOC_MATMAS05 [Send the data from Xi to CGNSAP01]. 
    Transaction Codes Used: 
    SM59- To Create RFC Destinations
    WE21- To Create IDoc Ports
    SALE- To Create Logical System
    WE20- To Create Partner Profiles
    BD64- Display Distribution Model
    WE19- To Trigger an IDoc 
    IDX1- Port Maintenance in IDoc Adapter
    IDX2- Metadata Overview for IDoc Adapter 
    Regards.

  • Connecting Enterprise Portal with SAP ECC 6.0 for ESS/MSS

    Hi,
    I am trying to connect my Portal with the ECC backend but getting the error "SAP_R3_SelfServiceGenerics_MetaData". However when I tried to set the configuration in the JCo destination, I am not able to locate the message server for my ECC instance in the configuration page.
    Any idea on this?

    Hi,
    Do the following steps.
    1. Login to your SLD URL
    http://hostname of sld:5<NN>00/sld
    give the input as administrator username and password.
    Once you are IN.
    click on administrator TAB
    Click on Profile TAB
    In section TAB select DATASUPPLIER
    Fil the detail in GATEWAY HOST and GATEWAY SERVICE ( SAPGW<NN>)
    Gateway information should be on newly install gateway instance.
    Then click on save.
    Again click on Administrator TAB and click on STOP SERVER and then click on START SERVER.
    Once above actvity done on SLD syste,.
    Then go back to your ABAP stack in RZ70 and mainain the neccesary detatils and start the job, it should work now.
    Thanks
    Anil

Maybe you are looking for

  • Dispute case auto closing

    Hi, I have created a dispute case on customer noted item, when i will reverse the noted item the dispute case is not auto closed, it is still in open status. can any one give me solution for this. Regards, Prakash

  • Enable / Disable a button Based on a value

    Hi all, How can i enable or Disable a Button Based on some input Text value. Here is the ADF Code fragment: *<af:switcher id="customActionButtons"* *facetName="#{actionAvailable.isCustomActionButtons}">* *<f:facet name="true">* *<af:panelGroupLayout

  • New to MAC  NEED HELP

    Hey guys, thanks for reading....I woke up this morning and my itunes library was gone. Also, I know in a windows os, when you have anything stored on a seperate drive, a media player only plays those tracks. My itunes wants to copy everything to the

  • How to create search help for Web Dynpro?

    Hi all, I have troubles when creating search help for web dynpro. I have visited this link /people/dirk.rehberg/blog/2006/12/27/generic-search-help-for-web-dynpro-for-java but I can't find this generic search help plug-in for download. If u have this

  • Problem to open apps

    Why sometime I cannot open an apps