Erroneous link between R/3 Schedule Lines and CRM Schedule Line

Hi everybody,
I am analyzing the best approach to fix a duplicate schedule line issue in CRM. The documents are modified from R/3 by means of an IDOC (ORDERS05).
First of all, let me explain the process.
1.- Document is first created in CRM
2.- Document is updated from CRM in R/3 (Using middleware)
3.- In R/3, a customer program (Z), does a lot of calculations to the order (rejection, item splitting, Qty changes, creation of new Items, etc) and once its done, it populates the IDOC and sends the information to CRM (ORDERS05).
4.- CRM receives the IDOC, modifies the order.
5.- Document is update from CRM in R/3 9Using middleware)
The Z program, DOES NOT modify the database in R/3, it lets the process to be executed and also lets CRM to do this job.
I had to make several modifications to the XIF module, in order to allow many of those changes to be valid in CRM (i.e., A rejected ITEM is changed to be valid and it's Qty changed. CRM does not allow this to be done in one step, since the qty is "greyed" for no changes).
Edited by: Rob Burbank on Feb 17, 2010 5:34 PM

My issue is this.
The worst thing that happened, is the fact there is key fields in R/3 -> CRM, to link the schedule lines, since R/3 Uses the regular key fields in the T. table, CRM uses the GUID for the sched. lines.
After a OSS msg and many goes and comes, I had the suggestion from SAP to change from ORDERS05 Idoc into CRMXIF_ORDER_SAVE_M01 idoc, since ORDERS05 is not supported by CRM (however the Idoc is in the system).
I am not sure that is the best solution, in fact I do not believe that is a solution at all. CRMXIF_ORDER_SAVE_M01 does not exist in R/3 and even if somehow I do all the effort to create it in R/3, R/3 still does not have the schedule line GUID to properly point to the right record.
What I did to override this error, was to include inside the XIF module the CRM_APO_SALES_SELECT_GUIDS, CRM_ORDER_READ and CRM_ORDER_CONVERT_DOCNUMBER Functions to get all the sched lines for the specific orders in the guid form. However this solution does not work OK, since sometimes the CRM system is not able to properly return the correct GUID values and this leads to the duplicate schedule lines error.
If somebody has ever deal with a situation like this, I will appreciate if could share its point of view or even better, share the solution used.
As an extra comment, modifying the Z program to update the database and let middleware to do the job for us, is ou of the qustion at this momento.
Thank you for your time and help.
Sincerely
Meuli
Moderator message - Welcome to SCN.
There is a 2,500 character posting limit, but in this case I split it in two.

Similar Messages

  • Difference between Scheduling lines and Delivery schedule

    Hi SD Experts
    can u say me the clear difference between Scheduling lines and Delivery schedule.
    where we will maintain deliver schedule. whether delivery schedule is automatically created along scheduling agreements..
    with regards
    James

    Hi James,
    Schedule Lines: Has basically information realted to delivery scheduling in Sales Order level.
    Delivery Scheduling: Is a process using which system will determine what are the different activities which need to be performed and time taken for each activitiy only after which the material can be delivered to the customer.
    Delievry scheduling will be started only from the material availability date i.e., system will first determine the material avail date and then do scheduling. By default Standard SAP system does Backward Scheduling in case material availability falls beyond the required delivery date system will do forward schedluing
    Delivery Scheduling consists of the following Basic activities:
    We give deatils while creating order:
    Order Creation Date
    Required Delivery Date
    Order date - Material availability date - Transportation Planning Date - Loading date - Goods Issue Date - Required Delivery Date
    Time Between GI Date and required Delivery Date is called Transit Time
    Time Between LoadingDate and GI Date is called Loading time
    Time Between Material Availability Date and Loading Date consists of 2 components - Pick / PackTime and Transportation Planning Time
    System has to calculate all this before it determines the confirmed delivery date.
    Give your mail Id I have some Presentation I will send you across.
    REWARD POINTS IF IT HELPS
    Regards
    Srini

  • Scheduling Agreements and relevant schedule lines configuration !

    Dear Sapients,
    I request you all to help me in providing the configuration steps for Scheduling Agreements and relevant Schedule lines configuration.
    Its urgent please help me !!
    Regards,
    Sreedhar.
    kodalisreedhar----
    com

    Hi Sreedhar,
    Scheduling Agreement with Delivery Schedules
    Definition
    An outline agreement that is created for one or more materials and outlines the overall expected quantity of the material(s) to be delivered to the customer over a specific period of time.
    Use
    The scheduling agreement is used as a basis for delivering a material. The customer sends in scheduling agreement releases, referred to as delivery schedules, at regular intervals to release a quantity of the material.
    Structure
    The structure of scheduling agreements with delivery schedules resemble that of other sales documents in the R/3 System, in particular the standard scheduling agreement.
    Data that applies to the entire document appears in the header; data about materials appears at item level; and delivery dates and quantities appear in the schedule lines within the delivery schedule. Additionally, the system maintains a history that permits you to compare and contrast various generations of delivery schedules.
    Integration
    Data in scheduling agreements comes from three sources:
    The customer sends in requested quantities and dates, normally by Electronic Data Interchange (EDI)
    The component supplier enters data manually
    The system automatically copies data into the scheduling agreement from master records
    Please go through the below link for further information
    http://help.sap.com/saphelp_47x200/helpdata/en/93/7439fb546011d1a7020000e829fd11/frameset.htm.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Link between Ivnoice A/R (OINV) and Ivnoice A/P (OPCH)

    Hi!
    Is it possible to find some link between Ivnoice A/R (OINV) and Ivnoice A/P (OPCH) without using batches, serial numbers and UDFs?
    Any ideas?
    Thanx!
    Regards,
    David

    Hi David,
    I only known of 1 link possibility.
    If you created the purchase order from the sales order (and the invoices are based on the orders) you can find the purchase invoice through the Purchase order, Sales Order, Sales Invoice.
    Regards
    Ad

  • Table containing link between SAP REFX Business Partner and Customer

    Hi,
    I am stuck up at a requirement wherein i need the name of the table in which i can pass REFX Business Partner number and get the corresponding Customer Code in the output.
    Can anyone help me in this regard.
    Thanks in advance
    Pankaj Wadhwa

    Hi Pankaj,
    release 470: table BD001 contains link between partner and customer
    SAP ERP: table CVI_CUST_LINK contains link between internal partner guid(!) and customer
    Partner guid is field in table BUT000.
    Hope that helps.
    Regards, Franz

  • Link between documentation for chars value and chars

    Hi,
    we need to find out sap transaction or report for link between documentation of chars value and chars.
    we know for specific chars through CT04 and going to VALUES sub-tab then selecting perticular chars value and clicking on the documentation for value.

    Go to transaction CT10 and select display option 'Allowed values'. You will have the characteristics along with their values.

  • Move Order lines and Delivery Detail lines - Relationship

    Hi All,
    Is there a one - to - one realtionship between Move Order Line and Delivery Detail Line?
    i.e., Each Move Order line will correspond to only one Delivery Details line Record?
    Thanks in advance.
    Regards,
    Gowri

    Hello,
    There is a one - to - many relationship between Move Order Line and Delivery Detail Line when you split lines in delivery.
    select * from mtl_material_transactions t you have source_id.
    select * from WSH_DELIVERABLES_v t you have move_order_id.
    Regards,
    Luko

  • Relationship Between ECC Customers (Contact Persons) and CRM BP

    Hello,
    I am new to middleware and need some help with the relationship between ECC customers/contact persons and CRM business partners.
    We are transferring via bdoc this information from ECC to CRM.
    Which bdoc types are used when transferring customers/contact persons? I believe it is BUPA_MAIN but am not too sure. How is the relationship between customer its contact person transferred? Is this done through BUPA_REL? I looked at the segment fields in SBDM but am not too sure how to understand the relationship...
    Thanks for the help!
    Regards,
    Tiffanie

    Thanks! With the initial load, how do I check what fields are being passed in the bdocs?
    I tried to look for customer_main, customer_rel in SBDM  and couldn't find it. Instead I used BUPA_MAIN and found some segments but couldn't find all the data that was being transferred (e.g. customer name, address, etc...) Where do I find all the fields contained in the bdoc?
    I see them in SMW01 when I view the bdoc contents but can not find the actual structure (data fields) that are being brought in from ECC.
    Thanks!
    Tiffanie

  • How the tables are  linked to each other in ERP and CRM?

    Dear All,
    Can anyone provide the info for the below query ?
    "How the tables are  linked to each other in ERP and CRM"
    Quick response is highly appreciated.
    Best Regards
    Succhi

    Dear Buijink      ,
    Thanks for the info.
    Here in this table SMOFTABLES , it is  giving the CRM adopter objects with R/3 tables . But my requirement is  more on corresponding CRM Tables , the data fetching from R/3 tables will store in which CRM tables.To be clear the adopter objects extract the data from different R/3 tables but stores in to which tables?
    Thanks in advance
    Best Regards
    Succhi

  • Diff between R/3 Internet sales and CRM  Internet sales

    Hi every body!
    Could any body tell the basic Diff between R/3 Internet sales and CRM  Internet sales.
    Thank you,
    mark..

    Hi Markiv
    Just to round that off, the ERP version lacks:
    - Rule based ATP (with APO)
    - Customer specific product numbers
    - Web based catalog management
    - Support for further e-Service processes
    Cheers
    Dom

  • Reading a text file line by line and splitting each line into an array

    I have a text file that I want to read in line by line and within each line, I want to do some processing. I have a file like the following:
    apples||oranges||bananas||grapes
    cars||trucks||planes||boats
    And I want to end up with an array such that
    First...
    item(0) = apples
    item(1) = oranges
    item(2) = bananas
    item(3) = grapes
    Then move onto the next line with item getting cleared each time. Can anyone offer any ideas on how do to this? I am unclear on reading line by line and then also splitting into an array as I am new to this.
    Thanks.

    For reading a text file in line by line, you want to use a FileReader (java.io.FileReader)
    If you wrap it in a Buffered reader, you can call readLine() and get the file one line at a time.
      File file = new File("C:\myFile.txt");
      BufferedReader in = new BufferedReader(new FileReader(file));
      String s = in.readLine();
      while (s != null){
        // string handling here
        s = in.readLine();
      }For the second part, you probably want to look at the method String.split() which should split your string up into an array for you. Check out the API for java.lang.String
    Check out the

  • Set Work Schedule Rules and Work Schedules

    Hi!
    I have defined the next  Period Work Schedules:
    Grp     PWS     PWS Text     Week     01     02     03     04     05     06     07
    02     TTLM     Turnos Telemando     001     M7     M7     T14A     T14A     N22     N22     LIBR
    02     TTLM     Turnos Telemando     002     LIBR     LIBR     LIBR     LIBR     LIBR     M7     M7
    02     TTLM     Turnos Telemando     003     T14A     T14A     N22     N22     LIBR     LIBR     LIBR
    02     TTLM     Turnos Telemando     004     LIBR     LIBR     LIBR     M7     M7     T14A     T14A
    02     TTLM     Turnos Telemando     005     N22     N22     LIBR     LIBR     LIBR     LIBR     LIBR
    02     TTLM     Turnos Telemando     006     LIBR     M7     M7     T14A     T14A     N22     N22
    02     TTLM     Turnos Telemando     007     LIBR     LIBR     LIBR     LIBR     LIBR     LIBR     M7
    02     TTLM     Turnos Telemando     008     M7     T14A     T14A     N22     N22     LIBR     LIBR
    02     TTLM     Turnos Telemando     009     LIBR     LIBR     LIBR     LIBR     M7     M7     T14A
    02     TTLM     Turnos Telemando     010     T14A     N22     N22     LIBR     LIBR     LIBR     LIBR
    02     TTLM     Turnos Telemando     011     LIBR     LIBR     M7     M7     T14A     T14A     N22
    02     TTLM     Turnos Telemando     012     N22     LIBR     LIBR     LIBR     LIBR     LIBR     LIBR
    03     TCC     Turnos Contac Center     001     M730     M730     M730     M730     M730     LIBR     LIBR
    03     TCC     Turnos Contac Center     002     M8B     M8B     M8B     M8B     M8B     LIBR     LIBR
    03     TCC     Turnos Contac Center     003     M830     M830     M830     M830     M830     LIBR     LIBR
    03     TCC     Turnos Contac Center     004     T14B     T14B     T14B     T14B     T14B     LIBR     LIBR
    03     TCC     Turnos Contac Center     005     T15     T15     T15     T15     T15     LIBR     LIBR
    After, when we set Work Schedule Rules and Work Schedules. Do we need create the same number of rules?
    For instance, in Period Work Schedule, do we need create 12 rules like TTLM_1, TTLM_2, ... TTLM_12?
    Or is enough create only one rule for TTLM?
    Kind regards,
    Julian.

    Hi,
    You need to create 2 Work Schedule rule one with TTLM PWS & second with TCC PWS.
    Rgds,
    Lata

  • Link between "Log of posting run" and GL document

    Dear all my friends,
    is there any table where "Log of posting run" stored ?
    if yes, can we link between "Log of posting run" Ref document and GL document ?
    i mean, link line item of "Log of posting run" Ref document with line item of GL document (Depreciation document, doctype = AF)
    many thanks !
    Edited by: Quoc Luc Nguyen on Oct 29, 2008 3:43 AM

    Hi.
    the link is as always the reference key information (AWKEY). This is partially described in note 890976:
    The created accounting documents can also be found by means of Transaction FB03. To do this, you must call the "Document List" function on the initial screen of the document display. The Company Code and Fiscal Year fields should then be entered individually. You can also enter 'AMDP' as a Reference Transaction. To find all general ledger documents for a certain reference document number, enter the following selection criterion in the "Reference Key" field:
    Reference key = Reference document number + company code + fiscal year
    As the company code and fiscal year, you must enter the parameters with which the depreciation posting run was executed.
    Example:
    - Reference document number from the depreciation posting run 0000001291
    - Company code   1000
    - Fiscal year   2005
    => Reference key = 000000129110002005
    Technically the reference document number is stored in table ANLP. The G/L document (header) is stored in table BKPF.
    Regards,
    Markus

  • Link between SAP R/3 KPRO and SAP Portal

    I'm looking for a link between the archive <b>KPRO</b> of SAP R/3 and the content of <b>SAP portal</b>. In particular I'm interested in a link for the documents loaded in the KPRO archive in SAP R/3 and the SAP portal.
    Theank you for the interest.

    Hello Luca,
    here are some informations about KM Connector for DMS:
    Software:
    Service.sap.com/patches
    -> Entry by application group
    -> BP for DMS Connector KM 1.0
    Or Software and Documentation:
    https://www.sdn.sap.com/irj/sdn/developerareas/contentportfolio
    &#61672;     Browse Content Portfolio
    &#61672;     Choose: Every User – Content & Document Mgmt
    &#61672;     Choose: BP for DMS Connector for KM
    &#61672;     Choose button: Documentation (on the upper right corner)
    Regards
    Thomas

  • Why is Dynamic Link between Premiere Pro CC 2014 and After Effects CC 2014 not syncing audio changes?

    When I try to use a Dyamic Link between something I've cut in Premiere and a composition in After Effects, if it is simply an audio level change it will not update in AE.  Only if I alter the Video track does it then take the changes reflected.  Any suggestions as to what is causing this?
    Running Adobe Premiere Pro CC 2014 and After Effects CC 2014.

    As Dave alludes, AfterEffects is all about the visual changes ... or at least, mostly. For changes to the audio outside of PrPro's internal controls, highly suggested you use Audition instead. It is all about the sound ... and yes, will update PrPro when used correctly.
    Neil

Maybe you are looking for

  • Customer Service re Order Tracking

    My BT Vision+ box lost its internet connection because of a faulty Powerline Adapter on Monday 9th; problem dealt with efficiently on callcentre chatline and a pair of adapters were to be supplied.  I got an email next day to say they were on the way

  • How to insert multiple rows in a single insert statement in MaxDB?

    hi, I was looking at syntax but i could not get it right.. may be some could help me. // Insert single row works fine INSET INTO test_table(column_name) values (value1) IGNORE DUPLICATES // Insert multiple rows, doesn't INSET INTO test_table(column_n

  • How to fix certain characteristics in rows (permanent drill down)?

    Hi, Is it possible to fix certain characteristics in rows (ie., permanent drill down), and prevent user from remove it from the result?  This requirement is needed for both BEx Reports and web reports.  Example: Country  Region  Sales Amount - Countr

  • InDesign Borders

    I'm facing a major frustration, and I'm wondering if there's already a solution, or if this needs to be a new feature to be implemented in future InDesign versions. Adobe Illustrator has a wonderful palette for brushes which can be used as borders fo

  • Use flash in DW template

    I create new DW doc add a flash movie save DW doc as template create new DW doc and apply the template to it, prevew and cant see the flash content if i detach the DW doc from template it works am i allowed to use flash movie in a template? thanks in