ABAP program / Idocs - MDX from SAP

Hello friends,
There are two systems:
One is SAP system other one is CRM system (non SAP). When someone enters data in CRM system to create orders, it reaches SAP system through IDocs and order number generates. All the SAP master data is maintained in kind of data base table in the external CRM system. So the orders get create in SAP without any errors. So far the data comes only from SAP to CRM. Now I would like to transfer the changes made in SAP master data (changes in customer/material/condition records) to be transferred to CRM system.
Can it be done through ABAP program or through IDocs? Which way is the accurate? Can you please give detail information how can this be done?
Thank you & Br,
Sats.

Hi Erik,
I am stuck up with a similar requirement, wherein I have an ABAP program in my process chain and I need the technical name of the process chain in the ABAP program at run-time.
Did you get a solution or work-around for this scenario?
Thanks in advance.
Regards,
Chetana.

Similar Messages

  • IDOC settings from sap r/3 to sap pi7.3

    Hi Guru,
    actual problem when i am triggering the idoc from ERP,it is trigeering to the abap stack in sap pi.but i am using idoc_aae adapter at sender side,the message is flowing from sap ERP to file but the message is seen in sxmb_moni,but actually it is not seen in moni .
    Please if any one have the idoc setting from sap erp to sap pi7.3. and iam using ICO configuration.
    Please help me
    Regards
    Reddy

    Hi,
    Please go through the below link :
    http://wiki.sdn.sap.com/wiki/display/XI/ALE-Idocconfiguration-+%28R3XIFile%29
    Also in your software component version please check whether import of IDocs and RFCs are allowed
    from your respective ECC system, and check the ECC system parameters are correctlt maintained or not.
    Try out once.

  • Idoc lost from SAP R/3 to XI

    Hi experts,
    I have the following problem:
    sometimes an idoc fired from SAP (not through WE19) does not reach XI (I cannot see it in SXI_MONITOR). I've checked the following facts:
    1. SAP R/3 status of the idoc is 03 (direction outbound).
    2. SM58 produces no result.
    3. IDX5 produces no result for that idoc.
    4. 99,9% idocs of the same type fired in the same day work fine.
    Resending manually the same Idoc using WE19 gives no problem and the idoc reaches XI.
    any idea?
    Thanks a lot,
    Daniele

    You must see this in WE05 or BD87. Just release the idoc and have a look at we05 or bd87 and limit down the time where to search. in sm58 you can only see the idoc ith the system can not log on to the remote system. Did you check sm58 in the target system? did you check bd87 in the target system?

  • How to trigger IDOC'S from SAP

    Hi All,
    How to trigger IDOC's from SAP(ECC 6)..where can we check this in mii 11.5 weather it is fail/success
    Thanks,
    Abhi

    You can trigger LOIPRO, LOIPLO and a few others manually from POIT (SAP Txn).  Master Data related to orders can be triggered from POIM.  Depending on which IDocs you which to generate, there are other transactions to trigger different IDocs.
    You can also use Triggers from MII to generate IDocs in SAP using CLOI_DOWNLOAD_TRIGGER_MDAT (POIM equivalent) and CLOI_DOWNLOAD_TRIGGER_TRANS (POIT equivalent).
    There is also a rather nice post which detailed the process of using change pointers to automate the IDoc generation and download, but I am having trouble finding it.  Will continue to look and will post link when I find it.
    Regards,
    Mike
    I couldn't find the post I was looking for, but there is an informative note 390635 which may help.
    Edited by: Michael Appleby on May 5, 2009 1:29 PM

  • 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>

  • Reg : Idoc Transfer From SAP R/3 to Gentran

    Hi Floks /
    Any body can transfer SAP R/3 idoc to external Sterling Gentran intgration suite . what are process steps required to sending and what are the transaction codes are available in Gentran and Sap .
    can u please help me out.
    thanks
    suresh

    HI,
    See the below links
    In Gentran
    XI with Gentran
    XI vs Gentran for EDI
    SAP ECC 5.0 Upgrade questions with Gentran, BDC, screens
    Gentran EDI ?
    Interuppting/debugging response from Gentran
    Gentran and XI 3.0 question
    Interuppting/debugging response from Gentran
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d53af8ca-0801-0010-08b0-dce9e02130a8
    In R3 IDocs
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    File-XI-IDoc Scenario - File to Idoc
    idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    idoc erros - http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    idocs - /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    idoc mapping - /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
    IDoc erros troubleshooting - /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
    see the below links to get more details about IDocs
    ALE/ IDOC/ XML
    Troubleshooting of ALE Process - /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
    IDOC Convertion
    /people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
    Please check this online document for ALE and IDoc.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    serialization /people/alessandro.guarneri/blog/2006/11/26/content-based-serialization-dynamic-queue-name-in-xi
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.henrikfrank.dk/abapexamples/IDOC/gl_postings2.htm
    http://searchsap.techtarget.com/ sDefinition/0,,sid21_gci852485,00.html - 45k - Cached - Similar pages
    Process codes in IDOC
    http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b806743d711d1893e0000e8323c4f/frameset.htm
    http://edi.stylusstudio.com/msg04418.htm
    Check this link to find out the difference b/w ALE,IDOC and BAPI
    http://www.sap-img.com/abap/ale-bapi.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    ---Split messages :
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Regards
    Chilla

  • Extract Process Chain ID/Name that an embedded ABAP program is run from?

    Hi all,
    I have created some Process Chains in SAP BW where I have incorporated some ABAP program Process Types that uses the same ABAP program.
    In these embedded ABAP program Process Types I need to extract the name of the Process Chain it runs from (ID, Technical Name, Descirption).
    Is there any way this is possible to do?
    One solutions that is not possible to implement (due to parallell runs of process chains that uses the same ABAP program) is the following:
    search in table RSPCVARIANT for your program as follows
    - field TYPE = "ABAP"
    - field FNAM = "PROGRAM"
    - field LOW = <program name>
    take the value of field VARIANTE and use this in table RSPCPROCESSLOG (enter a date selection for BATCHDATE as well)
    take the most recent entry (should be the one you're actually running at that moment)
    via field LOG_ID, retrieve CHAIN_ID (technical name of your process chain) in table RSPCLOGCHAIN
    So my question here is:
    -Is there any way to extract the Process Chain ID/Name that an embedded ABAP program Process Type is run from?
    Thanks beforhand for your feedback!
    regards
    Oddmar

    Hi Erik,
    I am stuck up with a similar requirement, wherein I have an ABAP program in my process chain and I need the technical name of the process chain in the ABAP program at run-time.
    Did you get a solution or work-around for this scenario?
    Thanks in advance.
    Regards,
    Chetana.

  • Can we make ABAP programs Unicode enable after  SAP sys is converted to uni

    Hello Experts,
    Can we convert the Non Unicode ABAP programs to Unicode after upgrading non unicode SAP system to Unicode?
    Is there any serious problem?
    If Non Unicode SAP is upgraded to Unicode without converting all non unicode ABAP programs to Unicode.
    Thanks in advance.
    Hari

    Hi
    There is no need of correcting the programs from Non unicode to Unicode
    After migrating the system from non Unicode to Unicode you have to run certain Notes (which will be done by Basis) to take care of this.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to send vendor IDOC data from SAP R/3 to XI.

    Hi experts,
    I have developed the IDOC to FILE scenario for Vendor Master Upload. I want to place flat file in local folder with in XI or Outside of XI. (Using NFS or FTP protocol in FILE adapter). My First quesstion is How to setup Folder with in XI ro Out side XI?
    And also I want to push the IDOC from SAP r/3 to test the scenario. Both XI and R/3 systems are configured to exchange data.
    How to Push Vendor IDOC from SAP R/3 to XI? (we can send XML directly to XI; but the R/3 kernal should be moe than 6.20).
    Thanks in Advance.....

    Hi,
    >>My First quesstion is How to setup Folder with in XI ro Out side XI?
    Its a normal way to creation of folders in Os level . u can create the folder in XI Server or on the FTP Server.
    ALE Settings
    Steps
    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.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name.
    IDoc-XI-File scenario
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    Posting the IDOC from R/3 to XI
    /people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
    REgards
    Seshagiri

  • Problem in message mapping (outbound IDOC ORDERS05 from SAP R/3)

    Hi to all,
    I have an outbound interface from sap r3
    sap r3 --> XI --> ftp server
    idoc --> XI --> text file
    Using IDOC orders05
    The problem is in segment E1EDP01/E1EDP19
    Segment E1EDP01 is unbounded and i map it well. If it contains E1EDP19, works fine. But in some cases, E1EDP19 not appears at E1EDP01segments. So then XI fails at mapping:
    IDOC OUTPUT (OK)
    1-E1EDP01/E1EDP19
    2-E1EDP01
    3-E1EDP01/E1EDP19
    4-E1EDP01
    XI WRITES (FAILURE)
    1-E1EDP01/E1EDP19
    2-E1EDP01/E1EDP19 (INFORMATION FROM LINE 3)
    3-E1EDP01 (WRONG)
    4-E1EDP01 (WRONG)
    You can take a look of Mapping mode here:
    <a href="http://img505.imageshack.us/my.php?image=orders05mappingcj8.jpg">[IMG]http://img505.imageshack.us/img505/1536/orders05mappingcj8.th.jpg[/IMG]</a>
    We don't use BPM and wanna use a solution without it.
    Pls ask me for more information if necessary.
    Thanks a lot for your help; Regards

    Hi all,
    The mapping function includes an exists and a mapwithdefault.
    Now the creation of the segment is handled ok, but not as well its fields. Its unable to determine the write of the second E1EDP19 segment and it does:
    1- OK
    2- OK
    3- Writes E1EDP20 but not the 19
    4- OK
    Thanks for your interesting

  • Idoc Scenario from SAP to SAP  via PI 7.1o

    Q: Two idocs will process from SAP to SAP via SAP-PI 7.1o and generated together.
    Requirement :
    Sync
    2 IDOCs – as we explained our design will require two IDOCs. The first IDOC will be developed by a Z code and the second IDOC is generated by 100% Standard SAP BAPIs and 2 IDOCs  send them to PI. Both IDOCs will be generated together by  process code in sap and must be moved to PI and later to the receiver client together(SAP). The process can only be 100% completed when both IDOCs will be processed with success in the receiver side. Any one of the IDOC among 2 idoc's failed all the process should stop.
    i think that is not possible , PI will not be able to stop successfull IDOC If another IDOC get fails .
    Please give me approaches if any chance .
    Thanks, Sanakr

    Hi Bhavani,
    You can use BPM with correlation to achieve this scenario:
    Demonstration of ccBPM Scenario: SAP PI 7.1
    **************** - BPM Scenario using Fork and correlation
    Regards,
    Suman

  • Error when importing IDOC structure from SAP - Control record missing

    Hi!
    We are hitting problems when importing IDOCs from SAP into the Integration Builder. The import ends successfully but when we drill into the IDOC structure we get a message: <b>Schema for type EDI_DC40.ASN_OUT.DELVRY01.Z1DELVRY (category Data Type) not found</b>. This is only happening for one specific IDOC type only. We have checked all we can think of but cannot get this to work. Any help would be very much appreciated. Of course, points awarded for any good ideas. Thx, Duncan

    Hi Duncan,
    Taka a look at these threads which address similar issues:
    Error during import of FIPARQ01 Idoc
    Error during IDoc Import
    Importing idocs:
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/a48f3c685bc358e10000000a11405a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/78/21753251ce11d189570000e829fbbd/content.htm
    Hope these help!.
    Cheers,
    Chandra
    Message was edited by: chandravadhana gopalakrishnan

  • IDoc Acknowledgement from SAP PI to SAP R/3 Server

    Hi Experts,
                  I am sending an IDOC from sap r/3 to SAP PI. After receiving the IDoc I need to send back one acknowledgement to the sap r/3 server, without reaching the target side. Could you guys please help me?
    Thanks
    Dipankar

    it can send back an acknowledgement IDoc (ALEAUDIT) back to R/3 system
    This configuration works for sending ACK message back to the Source system from the Target System and should not be mistaken to enable PI to generate the ACK and send back to the Source system.
    What can be done is include the source system as receiver in the receiver determination (SAP system is both at the source and target....alongwith the existing FILE target service)......configure different ID objects for this Source > PI> Source ACK flow .... map required data in the mapping.....depending on your need you can use the target structure IDOC/ PROXY/ RFC.
    Regards,
    Abhishek.

  • Is it possible to can a program (report output) from SAP Script?

    Hi,
    From SAP Script I would like to call a report output (without displaying the selection screen).
    Is this possible. If so, how can I do this?
    Thanks.

    H i kumar g,
    why not?
    In script you can call external subroutine. You must define the subroutine in a program, there you can do a SUBMIT or whatever you want.
    See online docu for further explanation.
    Regards,
    Clemens

  • Callng Abap Program in ECC from bi

    Dear All,
    Wanted to check if we can call abap program from Bi.
    Senerio is i want to execute the abap program in ecc first and then trigger the process chain.
    Is it possible??? I'm aware of the other way that we can call process chain from ECC but wanted to check the BI way. If yes then how?
    Regards,
    Sachin K

    Madhu,
    Not possible, indeed need event or Remote Function Call using an ABAP program.
    Other option would be to use a 3rd party tool like Control-M to run programs/jobs on whatever system in your landscape (but requires investments of course).
    Grtx
    Marco

Maybe you are looking for

  • Transferring from a Mac 10.2.8 iTunes 6 to WinXP iTunes 7

    I need to transfer my Mac-formatted iPod from a Mac running OS 10.2.8 with iTunes 6 to WindowsXP with iTunes 7 as well as all my music and audiobooks from my Mac iTunes library to my PC. All of the documentation I can find says that they both have to

  • What is the exact type of internal hard drive I buy?

    Hi all, I want to upgrade my 160GB drive, can someone advise me on what exactly it is I have to buy. And also th ebest name brands. I have macbook 13". I know western digital are pretty good, any other ideas? Tracy

  • Plant & Profit Center values in same table...

    Hi, In FI/CO, Does anybody know Plant & Profit center stores in same SAP table. Except GLPCT..... Thanks Rocky

  • Missing Form values in Bindings Panel in Dreamweaver CS3

    I've recently upgraded to Dreamweaver CS3 and have noticed that the form values for forms on the current page are not showing up in the bindings panel. I believe this was a feature added in 8.0.2 -- it was great for binding a from value to itself on

  • Do uninstalled apps appearing on app world consume memory

    Hi folks, I see every uninstalled app in a list on my Curve 9300. I have not been able to delete those entries (is there a way to clean up this list?) My question is: These apps do consume memory on my device? (if I totalize the size of the apps it d