Using IDOCS to sync SAP and a Non SAP system

Hi everyone,
In the current scenario users create customers in SAP. We have used change pointers so that changes to fields cause an IDOC to be generated. This is then sent to Websphere and a flat xml file representation of the IDOC is created.
My problem is around how IDOCS and change pointers handle clears in fields.
For example if i add an entry into the NAME 2 field usnig XD03 (we have a change pointer on this) an IDOC is generated and i can see my entry in the correct IDOC segment.
If i then clear that entry so the field is null an IDOC is generated but there is no NAME 2 segment.
The recieving system has no idea what field has been cleared.
Has anyone come across this??
Cheers
Carston

Ok cool,
So if i make a change in the KNA1 section i get a full E1KNA1M segment - thats great thanks. That should work
Only issue (and its more for the comsuming system) is that the xml file they load has KNVV fields in also.
As the idoc hits websphere they will be able to map all the kna1 fields to the relevant xml nodes. Where NAME2 is now null that will map to a blank xml node. Perfect.
Its how it handles the segments that arent in the sap idoc which worries me. As the KNVV segment isnt there i think they are planning to create blank nodes for the fields so the xml stucture is always complete. The consuming system wants to totally reload the customer based on Kunnr each time it gets an IDOC. So in that case it will load all the KNA1 stuff correctly, including the fact name2 is now blank, but it will then also blank every knvv entry in their table.
I guess i need websphere to note that there is no KNVV idoc segment and therefore not create any xml nodes for those fields.
Then it falls on the consuming system to be able to load partial xml structures in effect.
Its been good to think this through
I would be interested in any feedback you have.
Cheers

Similar Messages

  • Best Scenarios when to use IDOC Adapter, RFC Adapter and Proxy

    Please provide me links/weblogs which demonstrate the full scenario that when to use IDOC Adapter, RFC Adapter and Proxy when working with sender R/3 system.
    Regards
    Rachit

    Hi abhinash,
    Check these links for java proxy
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    for ABAP Proxy ...
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    for RFC .....
    RFC-xi-SOAP Scenario
    How to send RFC response message back to XI File/FTP adapter?
    https://weblogs.sdn.sap.com/pub/wlg/3865//Troubleshooting [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    Hope you will find them useful ..
    Regards
    Abhi

  • Bought my hubby an iphone4 and I registered it and opened an apple account for him.  I have an iphone 5 (under my own Apple account).  I use icloud to sync calender and contacts with outlook 2007.  How do I add my hubby's phone (account) to icloud ?

    Bought my hubby an iphone4 and I registered it and opened an apple account for him.  I have an iphone 5 (under my own Apple account).  I use icloud to sync calendar and contacts with outlook 2007.  How do I add my hubby's phone (account) to icloud so I can sync the same contacts and calendar?

    On his phone, sign in Settings>iCloud and enable Mail so that he can have his own email address. Then add your account in Settings>Mail, Contacts & Calendars and enable Contacts and Calendars. They will then appear on his phone alongside any syncing he has set up. This will keep your emails separate, or you can add Mail as well so that you can both access that if you want. You can add his account in the same way on your phone and enable any data types you want to sync.

  • Send idoc to external sap system

    hi all,
    is it possible to send IDoc to a sap system which is not in the same network with XI? If yes, is there any special points that should be taken care?
    Regards,
    Hui

    HI Hui
    It is possible. But it is IDOC to IDOC Scenario.
    Check these below SAP contribution docs on Idoc-Idoc scenario:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c7a4a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    Cheers..
    Vasu
    <i>** Reward points if found useful **</i>

  • How to check the Idocs sent from SAP system

    How to check the outbound Idocs sent from SAP system to target systems.
    How to know the message types and target systems.

    Hi,
    In Addition with the above mentioned transaction code(WE02), u can check out idocs in these table - EDIDC, EDID4, EDIDS.  Depending on different status you can differentiate them as Inbound or Outbound Idocs...
    Cheers...
    Santosh.
    <i><b>Mark All Usefull Answers...</b></i>

  • How do I set upmy Imac to allow using both my computer speakers and a Bose SoundLink system as outputs at the same time.  I can use one or the other, but not both.

    how do I set up my Imac to allow using both my computer speakers and a Bose SoundLink system as outputs at the same time.  I can use one or the other, but not both.  From systems Preferences I must select one or the other.  I want both to work all the time.

    Hi,
    I would recommend you to use 0FI_AP_4 rather using both, particularly for many reasons -
    1. DS: 0FI_AP_4  replaces DataSource 0FI_AP_3 and still uses the same extraction structure. For more details refer to the OSS note 410797.
    2. You can run the 0FI_AP_4 independent of any other FI datasources like 0FI_AR_4 and 0FI_GL_4 or even 0FI_GL_14. For more details refer to the OSS note: 551044.
    3. Map the 0FI_AP_4 to DSO: 0FIAP_O03 (or create a Z one as per your requirement).
    4. Load the same to a InfoCube (0FIAP_C03).
    Hope this helps.
    Thanks.
    Nazeer

  • Apple has determined that certain Seagate 1TB hard drives used in 21.5-inch and 27-inch iMac systems may fail.

    Hi
    I got an e-mail stating that Apple has determined that certain Seagate 1TB hard drives used in 21.5-inch and 27-inch iMac systems may fail, and that mine was one that may fail and to book an appointment with Genius to click here. So after making an appointment we then took out iMac to the shop affixing thirty minuets before appointment time and had to Waite until 12-45hrs. When we were told that we would have to leave the Mac with them for two to three days to replace the hard drive.
    Can anyone advise, is this normal to make an appointment only to find that when you get to the Genius department  in the Apple shop they then say because of the amount of iMacs that have come in today it will take days to replace?

    Hi mende1
    Thanks for replying but when anyone makes an appointment surely the work should be carried out then not to be told to come back days later especially when you have traveled over one hundred and fifty miles to get to the shops. It may have been a free replacement but the cost of petrol for the journey comes to more than one hundred euros.

  • How to use iSync to sync photos and music?

    Hey guys.
    How do i use isync to sync my music and photos from my imac to my phone?

    You don't.
    iSync is for syncing contacts and calendar data from Address Book and iCal.
    You'll have to look for an alternative third-party application to manage your music and photos, but as you haven't mentioned which – out of the 1000's of phones there are - you've got, I can't make any recommendations.

  • XI system idoc transfer to SAP system.

    hi ,
    this is parthasarathi,i am using ALE/IDOC.basically i need to transfer idoc from XI system to SAP system.
    can any one help me out in this case.
    my system is SAP system ie inbound system.
    i am using message type HRMD_A and idoc type is HRMD_A04.
    1)what are the steps i need to take in the inbound system..?
    2)what is the function module i need to use?
       how this is reflecting SAP system.
    3) idoc will be generated in XI system with employee master data and the same idoc generated in  XI system ,that idoc should be send to SAP system ie inbound system.
    can any help me out ..
    thanks.
    partha.

    Hi parthasarathy,
    To connect the two systems u need a connection called as RFC.(sm59)
    medium of transaction is port (we21)
    IDOC Intermediate document - travelling (or) data carrying from 1 - 2
    create partner profiles for sharing the appln. (we20)
    application linking and enabling (ALE)--used to generate an idoc in sender side and post it in the receiver side.
    r3 - r3 -use ALE - transactional rfc
    r3 - non r3 - use EDI (electronic data interchange) - file port
    bridge (bd64) - distribution model view
    to view idoc's (we05,we02)
    types of data
    1. master data -- ale -- eg. send materail(bd10),customer(bd12),vendor(bd14)
    2.transactional data -- ale
    3.control data -- cts(correction and transport systems)
    Hope this gives u overall idea of how to use idoc's.
    Regards,
    Nagarajan.

  • Restrict inactive HR employee to be sent through IDOC to another SAP system

    Requirement: HR employee data (ONLY ACTIVE EMPLOYEES) needs to be sent from one SAP system to another SAP system.
    E.g. of process followed u2013
    Tcode - PA30 - Action type u2018Hireu2019 is created for employee A, B, C & D for a specific date. Later another action u2018Retirementu2019 is created for the employee C. So in the current system employee A, B and D are active employees wherein employee C is an inactive employee.
    Data filtering is set in the Distribution Model wherein only active employees should be passed when an IDOC is created using PFAL.
    The IDOC which is created has all the employees A, B, C & D. The only difference being that for Employee C the segment which has the status u2018Retirementu2019 is discarded and hence this does not satisfy the requirement.
    Is there any way in which the Inactive employee (e.g. retired) is restricted from being sent to the IDOC.
    Please advise.
    Rasika

    Hi Darek,
    Thanks for your response.
    I cannot use this as the requirement does not allow customised development. I want to know whether the filter can be done solely by customising.
    Regards,
    Rasika

  • Data transfer using EDI from one SAP system to other SAP system

    Dear all,
    I understand that i should use normal ale-idoc features to transfer data from one sap to other sap system.
    but can i transfer those idocs using EDI from one SAP to other SAP system

    Hello,
    surely you can do so.
    EDI means that you transfer data in standardized EDI-formats. To get the data at the source  into that formats you normally use an EDI-Converter, which maps the IDOC-format into the EDI-format. Then you send the data in EDI-format to an EDI-converter at the target. There's the reverse mapping. You map the EDI-Format into IDOC-format and book these IDOCs into SAP.
    I think this makes only sense if you cross organizational borders within the business process, e.g., if you define an exchange with many customers, but not all of them have an SAP-system. 
    Regards Wolfgang
    Edited by: Wolfgang Valtin on May 19, 2009 6:13 PM

  • Post IDOC within same SAP system

    Hi All,
    I used IDOC to send data from SAP to XI in my previous assignments.
    Now i have a requirement wherein i need to use an idoc to post data within SAP i.e in the same system. This is because incase the idoc fails the end user can correct the data and re-process the idoc and post it again. though its not so recommended its agreeded upon in the design phase.
    now my doubt is in MASTER_IDOC_DISTRIBUTE should i set the control record so that it points to the same system which means the port i create which has an RFC which will point to the same system from where the report is run. is this the correct way.
    thank you.
    Regards,
    Jayaram
    Edited by: JAYARAM MAGANTI on Aug 19, 2009 2:55 PM

    Jayaram,
    Steps you mentioned are correct.
    Pls maintain the values as I shown below , you will be able to post the idoc in the same system.
    And one more suggestion , us fm 'IDOC_INBOUND_SYNCHRONOUS'  as this will give you the idoc number in return. So that in the same program you can use it for any reporting purpose or you can show in the output screen the list of idocs generated etc.
      DATA : lv_sysid  LIKE sy-sysid.
      gwa_edi_dc-tabnam = 'EDI_DC'.
      gwa_edi_dc-mandt  = sy-mandt.
      gwa_edi_dc-docrel = sy-saprl.
      gwa_edi_dc-status = '30'.
      gwa_edi_dc-doctyp = 'ORDERS05'.
      gwa_edi_dc-direct = '2'.
      gwa_edi_dc-rcvpor = 'SAPxxx'.
      REPLACE 'xxx' WITH sy-sysid INTO gwa_edi_dc-rcvpor.
      gwa_edi_dc-rcvprt = 'LS'.
      gwa_edi_dc-rcvprn = sy-sysid.
    CONSTATNT :       gc_clnt(4)     TYPE c VALUE 'CLNT',
      MOVE gc_clnt TO gwa_edi_dc-rcvprn+3.
      MOVE sy-mandt(3) TO gwa_edi_dc-rcvprn+7.
      gwa_edi_dc-sndpor = 'SAPxxx'.
      CLEAR lv_sysid.
    *Here you need to populate your sys id lv_sid
    *example lv=sid = 'PDV'. "pdv is our producion system
      REPLACE 'xxx' WITH lv_sysid INTO gwa_edi_dc-sndpor.
      gwa_edi_dc-sndprt = 'LS'.
      gwa_edi_dc-sndpfc = 'LS'.
      gwa_edi_dc-sndprn = gc_sndprn."Comming as from Parameter.
      gwa_edi_dc-credat = sy-datum.
      gwa_edi_dc-cretim = sy-uzeit.
      gwa_edi_dc-mestyp = 'ORDERS'.
      gwa_edi_dc-exprss = 'X'.
    CALL FUNCTION 'IDOC_INBOUND_SYNCHRONOUS'
          EXPORTING
            int_edidc      = "control record ie gwa_edi_dc
            online         = 'O'
          IMPORTING
            docnum         = lv_docnum " it gives idoc number
          TABLES
            int_edidd      = "pass data record
          EXCEPTIONS
            idoc_not_saved = 1
            OTHERS         = 2.
    Now you can use the idoc number anywhere you want .
        wa_idoc-docnum = lv_docnum.
    Best Regards,
    Vvieks
    "Grow and help others to grow"

  • IDOC between 2 sap system

    Hi,
    I need to send Idoc from SAP system(A) to SAP system(B).
    In system B i need to store data in custom table.
    Correct me for below settings
    in system A
    1) define RFC that point to system B
    2) define port in WE21 that point to above rfc
    3) maintain partner profile for outbound idoc in Logical system in WE20
    4) trigger IDOC
    Now IDOC is sent to system B
    In system B
    1) maintain receiver port in IDX2 that has system A clinet and RFC pointing to system A
    2) maintain inbound partner profile for the same idoc with a Z process code.
    write code inside Z process code to save data in custom table.
    Now i am not able to Z process code as it says ALE settings not maintained. i created new FM ...assigned it to a z proces code in WE42.
    what other steps should i do.
    Also my other doubt is if another user maintains for the same message type another process code will 2 idocs get generated in system B whenever i trigger idoc from system A..which i dont wont to happen...is there a way to stop it.

    Hi,
    It seems that your ALE configuration is not done properly. Check your logical system setting with both System A and System B. then RFC destination with Tcode SM59. After that you go ahead with your logic and  Z program. it will work.
    As you ask you dont want others data then you shoul check with your function consultant that they use there data and if data is no longer useful you remove that one eith block that one.
    Regds,
    Rakesh

  • Login to multiple SAP systems using pwd of single SAP system

    Hi All,
    We have 3 different SAP servers, with sids: ECD, BWD, HRD.
    for each user, a user with the same username is created in all three systems.
    the user does not want to maintain 3 different passwords, instead only single password to be used in all systems. i.e. when he changes the password in system ECD, the changed password should work in other systems BWD and HRD as well.
    if we were using SAP EP, we checked the possiblity of username based SSO and having portal login using only on system ECD.
    but we are not using the portal, and all the users will access 3 sap systems using SAPGUI.
    is there any way, where one system's password will work to login to other systems.
    thanks in advance,
    Madhu_1980

    Hi Tim,
    You're right about the fixed client for the MYSAPSSO2-ticket-issuing system. In the case for Java, the "client" is specified inthe UME parameter login.ticket_client. And the trusting ABAP system will have to add the Java system + "client" into its ACL (in addition to the certificate). This "client" will only play a role in that "trust" relationship.
    As for launching the actual transaction via SSO, this is how it works.
    SAPGUI transaction will be launched by a thing called Portal transaction iview. That iview will have a parameter called the System Object. The System Object will determine which ABAP system-client it will connect and logon on to. So if you want to logon to multiple clients, then create one System Object for each of the system-client combination, and then create transaction iviews to each of the corresponding system object. The iviews will be presented to the user which then allows the user to launch the transaction iview (specificy SAPGUI link in the iview property)
    https://help.sap.com/saphelp_nw74/helpdata/en/4e/1262711e3d2287e10000000a15822b/content.htm
    I hope I understood your questions.
    Cheers
    Donald

  • Can you use iCloud to sync contacts and still sync google contacts too

    Just switched my contacts over to sync using icloud between my imac, iphone and ipad. Im wondering, can I sync the contacts somehow with google also? Would be great to gave everyting together and have web access to contacts on any computer.

    I should've just tried it before I asked this question.  Once I disconnected my internet completely, I was able to fully see and use my iCloud Documents, etc... They must be stored elsewhere on the computer instead of somewhere obvious like the Documents folder.
    I was able to open, edit, etc... and it appears that once you do connect to the internet that the new edits will sync with what's stored on iCloud, and then become accessible to your other devices.
    Of course, I then after doing all this, found a similar question which already had answers.  Sorry to clutter up the forums.
    https://discussions.apple.com/message/19288753#19288753

Maybe you are looking for