How to replicate Customer to CRM from R/3?

Hi,
I have a problem while replicating a Customer.
I made some changes to the Customer in R/3 and these changes are not getting replicated to CRM.
So, what could be the problem?
Raghu

Hi Raghu,
Please refer the Best Practices document for replicating BP's from R/3 to CRM. Please have a look the following document for your information.
http://help.sap.com/bp_crmv340/CRM_DE/index.htm
under Technical Information->Building Block Library->B09: CRM Replication. page no.45 onwards.
Reward if it helps.
Best Regards,
Johnny.

Similar Messages

  • How to call custom Login Module from JSP

    Hi,
    I am stuck with the following issue:
    1) Exactly as presented in help.sap.com (http://help.sap.com/saphelp_nw04/helpdata/en/3f/1be040e136742ae10000000a155106/content.htm) I created custom login module and deployed it as a library on J2EE server. When I configured it to be used for my applications in the Security provider but I am getting "No user name provided" exception everytime when my applications use this custom login module.
    2) I realized that I would need to call my custom module somewhere within my application (simple JSP) using LoginContext class and then use MyLoginContext.login() spec to initiate login process. But I am not able to pass CallbackHandler parameters from JSP application to my custom login module.
    So I have the following questions:
    1. Can I pass parameters using LoginContext and CallbackHandler from JSP to my custom login module (created as exact copy of HELP.SAP.COM example) or this module cannot be used this way.
    2. How to pass CallbackHandler correctly to my custom login module from JSP. When I am trying to use CallbackHandler, I am getting "Abstract Class cannot be called" error.
    I'd appreciate any little help on this matter.
    Thanks and regards,
    Mike

    You have two alternatives to do this:
    You can declare your JSP as a protected resource with the use of the deployment descriptors of the application (web.xml) and add the custom login module in the authentication stack of the application. This way, you will use container-based authentication, i.e. the Web Container will enforce the authentication and it will call the custom login module before it dispatches to the JSP. I recommend you this approach because it requires less coding and it makes the whole thing a matter of configuration. The configuration can be later on enhanced or changed runtime without the need to re-build and re-deploy the application. If you choose this approach you can go to the documentation of the server for help on how to modify the login module stack of the application.
    You can also use programmatic authentication by using JAAS API. To do this you need to create a custom security policy configuration with login module stack containing the custom login module, and then use the standard JAAS mechanism - new LoginContext(<configuration>, <callback-handler>).login(). This approach requires that you write your own callback handler and handle any LoginException.
    Let us know which approach you prefer and whether you have difficulties implementing it!

  • Replicate customer and vendor from ECC to CRM

    Hi experts,
    Is it possible to replicate customers and vendors extending the same BP in CRM?
    If i had one customer in ecc that is a vendor too, can I configure or implement some badi in middleware to replicate changes to the same BP in crm?
    Best regards,
    Caíque Escaler
    Edited by: Caíque Escaler on Jan 12, 2011 4:57 PM

    If I recall from my ECC days, this field is used for back to back orders i.e. Sales Order creating a back-to-back Purchase Order. As such, there is no relevance for this data within CRM, so I would not expect it to be maintained there. It only has relevance within ECC (Sales & Purchasing).
    Mark

  • How to create customer in crm sales with crm 7.0

    hi,
    can anyone tell me how to create a customer?
    i am new to crm. I am learning crm sales
    Thanking you
    prasad

    Hi,
    As explained before, go to SALESPRO, SalesPro and SPRO are different.
    SALESPRO is a role in UI..make sure that it is added for your login.
    go to transaction crm_ui -> SALESPRO business role ->Account Managemnt in the navigation bar -> Accounts -> Corporate Accounts.
    Hope this helps!!
    Prerna

  • How to replicate customer fields in the  backend system.

    Hi All,
    I need to transfer PO customer fields that were created in the SRM system to backend SAP system.
    I am using Extended Classic Scenario in SRM and SRM Version is 5.0.
    I am able to replicate the data created in SRM system to the backend.
    How ever, I found the following BADI while debugging.
    1. BBP_DOC_SAVE_BADI
    2. BBP_CTR_RELVAL_ICC
    3. BBP_DOC_SAVE_ICC
    4. BBP_F4_SAVE_DB
    5. HRSYNC_P
    Hence, please tell me which BADI, I need to use to send my customer fields to the backend system.
    Regards,
    Venky.

    Hi
    As Disha told, <u>You need to create a customer Implementation of any othe BADIs using SE19 Transaction.
    Say, you create an active customer Implementation of BBP_ECS_PO_OUT_BADI...</u>
    <u><b>See links given in earlier reply for detailed sample code.</b></u>
    <u>Write the following sample code (pls change it as per your business requirement)</u>
    METHOD if_ex_bbp_ecs_po_out_badi~bbp_b46b_po_outbound.
    ** Customer fields
    MOVE 'POHEADER' TO w_customer_fields-refobject.
    *PO approver
    MOVE 'ZZAPPROVER' TO w_customer_fields-fieldname.
    MOVE is_header-zzlastapprover TO w_customer_fields-container.
    APPEND w_customer_fields TO ct_bapi_customer_fields.
    *SC Date
    MOVE 'ZZSCDATE' TO w_customer_fields-fieldname.
    MOVE lv_scheader-created_at TO w_customer_fields-container(15).
    APPEND w_customer_fields TO ct_bapi_customer_fields.
    *Requester Org
    MOVE 'ZZORGA' TO w_customer_fields-fieldname.
    MOVE w_requester_orgunit TO w_customer_fields-container.
    APPEND w_customer_fields TO ct_bapi_customer_fields.
    endmethod.
    <u>BBP_PO_INBOUND_BADI in R/3.</u>
    method IF_EX_BBP_PO_INBOUND_BADI~BBP_MAP_BEFORE_BAPI.
    data wa_customer_fields TYPE BBPS_IF_CUSTOMER_FIELDS.
    data : WA_BAPI_TE_MEPOHEADER type BAPI_TE_MEPOHEADER,
    WA_BAPI_TE_MEPOHEADERX type BAPI_TE_MEPOHEADERX.
    data WA_EXTENSIONIN TYPE BAPIPAREX.
    data txt_960(960) type c.
    *** EKKO Customer fields.
    *PO Number
    move BBP_POHEADER-PO_NUMBER to WA_BAPI_TE_MEPOHEADER-PO_NUMBER.
    move BBP_POHEADER-PO_NUMBER to WA_BAPI_TE_MEPOHEADERX-PO_NUMBER.
    *ZZAPPROVER
    READ TABLE BBP_CUSTOMER_FIELDS INTO wa_customer_fields
    WITH KEY refobject = 'POHEADER'
    fieldname = 'ZZAPPROVER'.
    IF SY-SUBRC EQ 0.
    MOVE wa_customer_fields-container TO WA_BAPI_TE_MEPOHEADER-ZZAPPROVER.
    WA_BAPI_TE_MEPOHEADERX-ZZAPPROVER = 'X'.
    endif.
    *ZZSCDATE
    READ TABLE BBP_CUSTOMER_FIELDS INTO wa_customer_fields
    WITH KEY refobject = 'POHEADER'
    fieldname = 'ZZSCDATE'.
    IF SY-SUBRC EQ 0.
    MOVE wa_customer_fields-container TO WA_BAPI_TE_MEPOHEADER-ZZSCDATE.
    WA_BAPI_TE_MEPOHEADERX-ZZSCDATE = 'X'.
    endif.
    *ZZORGA
    READ TABLE BBP_CUSTOMER_FIELDS INTO wa_customer_fields
    WITH KEY refobject = 'POHEADER'
    fieldname = 'ZZORGA'.
    IF SY-SUBRC EQ 0.
    MOVE wa_customer_fields-container TO WA_BAPI_TE_MEPOHEADER-ZZORGA.
    WA_BAPI_TE_MEPOHEADERX-ZZORGA = 'X'.
    endif.
    CLEAR txt_960.
    CLEAR WA_EXTENSIONIN.
    write WA_BAPI_TE_MEPOHEADER to txt_960 left-justified.
    WA_EXTENSIONIN-STRUCTURE = 'BAPI_TE_MEPOHEADER'.
    WA_EXTENSIONIN-VALUEPART1 = txt_960(240).
    WA_EXTENSIONIN-VALUEPART2 = txt_960+240(240).
    WA_EXTENSIONIN-VALUEPART3 = txt_960+480(240).
    WA_EXTENSIONIN-VALUEPART4 = txt_960+720(240).
    append WA_EXTENSIONIN to BAPI_EXTENSIONIN.
    CLEAR txt_960.
    CLEAR WA_EXTENSIONIN.
    write WA_BAPI_TE_MEPOHEADERX to txt_960 left-justified.
    WA_EXTENSIONIN-STRUCTURE = 'BAPI_TE_MEPOHEADERX'.
    WA_EXTENSIONIN-VALUEPART1 = txt_960(240).
    WA_EXTENSIONIN-VALUEPART2 = txt_960+240(240).
    WA_EXTENSIONIN-VALUEPART3 = txt_960+480(240).
    WA_EXTENSIONIN-VALUEPART4 = txt_960+720(240).
    append WA_EXTENSIONIN to BAPI_EXTENSIONIN.
    endmethod.
    Hope this will help.
    Regards
    - Atul

  • How to replicate Generic data source from R/3 to BI

    Hi,
    I have created generic datasource in r/3 using view. I replicated to BI.
    I selected  for DataSource (RSDS) instead of selecting  3.x DataSouce.
    Now what r the steps to load data into cube.
      Please help me in this regard. Please give me detail steps to proceed further.
    Thanks,
    Jaswantha

    Hi,
    About Generic Extraction:
    In Sometimes the Standard Extraction Does not Satisfy the Customers Needs that time We have to use Generic Extraction.
    generic extraction is also classified in to three types
    using
    1. View
    2.Infoset query
    3.Function module.
    Procedure:
    -->Go to Tcode : RSo2,
    -->There give the name of data source which you want to create like
    transaction data source or master data attribue or Text data source.
    -->enter
    -->again in the next screen you need to give application like SD or MM
    etc
    -->in the same screen need to select table/view or infosetquery or
    function module. these are different ways of creating data sources.
    -->Give the name for the same like if u r creating data source on table
    give the name of table.
    -->click on Generic delta which will there in application tool bar and
    fil the required columns in that screen like type of delta and all
    -->continue and save
    -->it will give all the fieds
    -->enable the check boxes based on your requirement like selection or
    hide or field only..
    -->save
    please see the below links:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Re: Generic Extractor - Delta
    Re: Generic Extractor - Delta
    Please do check the link for step by step for generic xtraction
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    check the following
    http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
    business content
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20co-pa%20extraction%203.0x
    https://websmp203.sap-ag.de/co
    http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm
    (navigate with expand left nodes)
    also co-pa
    http://help.sap.com/saphelp_nw04/helpdata/en/53/c1143c26b8bc00e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fb07ab90-0201-0010-c489-d527d39cc0c6
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1910ab90-0201-0010-eea3-c4ac84080806
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ff61152b-0301-0010-849f-839fec3771f3
    LO Extraction
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Check these links:
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
    Re: LO-Cockpit  V1 and V2 update
    Also Refer this link:
    http://www.sap-img.com/business/lo-cockpit-step-by-step.htm
    FI-CO 'Data Extraction -Line Item Level-FI-CO
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a7f2f294-0501-0010-11bb-80e0d67c3e4a
    FI-GL
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/fe943b2bcbd11ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_470/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    http://www.sapgenie.com/sapfunc/fi.htm
    FI-SL
    http://help.sap.com/saphelp_nw2004s/helpdata/en/28/5ccfbb45b01140a3b59298c267604f/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/41/65be27836d300ae10000000a114b54/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/cd143c5db89b00e10000000a114084/frameset.htm
    How to do basic LO extraction for SAP-R3-BW
    1. Go to transaction code RSA3 and see if any data is available related to your DataSource. If data is there in RSA3 then go to transaction code LBWG (Delete Setup data) and delete the data by entering the application name.
    2. Go to transaction SBIW --> Settings for Application Specific Datasource --> Logistics --> Managing extract structures --> Initialization --> Filling the Setup table --> Application specific setup of statistical data --> perform setup (relevant application)
    3. In OLI*** (for example OLI7BW for Statistical setup for old documents : Orders) give the name of the run and execute. Now all the available records from R/3 will be loaded to setup tables.
    4. Go to transaction RSA3 and check the data.
    5. Go to transaction LBWE and make sure the update mode for the corresponding DataSource is serialized V3 update.
    6. Go to BW system and create infopackage and under the update tab select the initialize delta process. And schedule the package. Now all the data available in the setup tables are now loaded into the data target.
    7.Now for the delta records go to LBWE in R/3 and change the update mode for the corresponding DataSource to Direct/Queue delta. By doing this record will bypass SM13 and directly go to RSA7. Go to transaction code RSA7 there you can see green light # Once the new records are added immediately you can see the record in RSA7.
    8.Go to BW system and create a new infopackage for delta loads. Double click on new infopackage. Under update tab you can see the delta update radio button.
    9.Now you can go to your data target and see the delta record.
    find your scenario and find what data sources do you need on R3 side and ensure they are active as well:
    http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm
    find your scenario -> data sources -> go to R3 -> sbiw and activate required data source
    replicate data sources in BW:
    RSA1 -> source systems -> right click on your source system -> replicate
    then activate your BC:
    service.sap.com/bi -> BI Business Content -> General Information -> SAP BW Business Content - Activation
    and execute infopackage (it should be delivered with BC)
    Useful links:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    service.sap.com/bi -> BI InfoIndex
    sdn.sap.com -> Business Information Warehouse -> How-To guides (under Quick Links)
    Assign points if useful.

  • How to port custom forms application from oracle apps to standard Forms

    Hi All
    I have developed a small custom forms application inside Oracle EBS.
    I have used the TEMPLATE.fmb for all of my custom forms and followed all the standard metalink docs for building a custom forms application inside Oracle EBS 11i.
    Now i kindly want to ask if there is any possibility on hos to port this custom application in a standard forms and reports services with oracle database, not using the Oracle EBS technology stack.
    Is there any doc or step by step procedures?
    thank you very much in advance
    Soni

    Now i kindly want to ask if there is any possibility on hos to port this custom application in a standard forms and reports services with oracle database, not using the Oracle EBS technology stack.If you want to register this custom form and integrate it with EBS then you need to do it from EBS.
    Is there any doc or step by step procedures?https://forums.oracle.com/forums/search.jspa?threadID=&q=custom+AND+form+AND+register&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=custom+AND+application+AND+register&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How to upload products in CRM from flat file

    Hi,
    My requirement is to uplaod products from flat file. Flat file contains Products details. I have tried BDC method but didnt help much.
    Please tell me is there any BAPI or other methods avialble to  useiin CRM 4.0.
    Regards
    Ramprasad

    Hi ,
    Can you tell for which transaction you want BAPI or Function Module to upload data ?
    What issue you are facing in BDC so that I can help you.

  • Product Hierarchy download into CRM from ECC6

    Hi Guys,
    Recently we have added few Product hierarchies into ECC6 (level 2, 3 , 4 and 5 hierarchies)
    now they are not replicated into CRM...
    how can I replicate them into CRM from ERP6... quick guidance....?
    The object - DNL_CUST_PROD1
    Thanks
    KP

    it will be done maually,
    - On CRM
    For Defining the Product Hierarchy Strucuture :
    CRM IMG -> Cross Application Components -> SAP Product -> Product Category -> Define Category Numbering Schemes
       - make new entry
              Number Scheme     R3PRODHIER
       - after that select the new Scheme, and choose a new entry (should be the same as structure PRODHS on ECC)
    For Defining Product ID
    CRM IMG ->Cross-Application Components->SAP Product->Basic Settings->Define Output Format and Storage Format of Product Ids (tx. COMCPRFORMAT)
    note : should be matched with ERP (Tx. OMSL)
    refrence B09_BB_ConfigGuide
    الحمد لله الذي علمنا

  • How to show custom error message in WebADI Excel template?

    Hi,
    I've  created a custom Web ADI integrator and associated it with a 'Procedure' based custom interface.
    WebADI Interface API Returns is set to  "Error Message".
    I'm using  raise_application_error(-20001, "Actual Error Message") for invalid rows,but custom error message from PL/SQL  is not populated on the excel template.
    Instead it is showing "SQL exception occurred during PL/SQL upload".
    Am I missing anything? How to show custom error message from Pl/SQL procedure to WebADI Excel template?
    TIA
    Narasimha

    The custom API errors are visible in the BNE log but not on the Excel.
    BNE Log=>
    12/10/13 2:52 PM Web ADI Upload Job 13008 ERROR          BnePLSQLUpload.doUpload: Exception while uploading to PL/SQL API.  Error Code: 20001, Message: ORA-20001: -Please enter CONTAINER_ID -  Enter PO_NO -
    ORA-06512: at "APPS.XXPO_COSTFACTS_WEBADI_PKG", line 264
    ORA-06512: at line 1
    12/10/13 2:52 PM Web ADI Upload Job 13008 ERROR          BnePLSQLUpload.doUpload: Stack trace: java.sql.SQLException: ORA-20001: -Please enter CONTAINER_ID -  Enter PO_NO -
    ORA-06512: at "APPS.XXPO_COSTFACTS_WEBADI_PKG", line 264
    ORA-06512: at line 1
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
      at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
      at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1005)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3550)
      at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4710)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
      at oracle.apps.bne.integrator.upload.BnePLSQLUpload.doUpload(BnePLSQLUpload.java:284)
      at oracle.apps.bne.integrator.upload.BneSAXUploader.processDeepestLevel(BneSAXUploader.java:2346)
      at oracle.apps.bne.integrator.upload.BneSAXUploader.startElement(BneSAXUploader.java:1182)
      at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
      at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
      at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
      at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:234)
      at oracle.apps.bne.integrator.upload.BneUploader.processUpload(BneUploader.java:301)
      at oracle.apps.bne.integrator.upload.BneAbstractUploader.processUpload(BneAbstractUploader.java:114)
      at oracle.apps.bne.integrator.upload.async.BneAsyncUploadThread.run(BneAsyncUploadThread.java:140)
    12/10/13 2:52 PM AJPRequestHandler-HTTPThreadGroup-5 WARNING        BneOracleWebAppsContext.getTimeZone CLIENT_TIMEZONE_ID has not been set
    12/10/13 2:52 PM AJPRequestHandler-HTTPThreadGroup-5 ERROR          BneOracleWebAppsContext.getExtraJDBCConnection recieved the same connection as the base connection.  There may be transaction problems.
    How to show the same error in the excel template?
    Here is the package:
    CREATE OR REPLACE PACKAGE BODY APPS.XXPO_COSTFACTS_WEBADI_PKG
    AS
       PROCEDURE upload_data (
                              P_CONTAINER_ID IN VARCHAR2
                            , P_SAIL_DATE IN DATE
                            , P_PO_NO IN VARCHAR2                     
                             ) IS
        --declare
        lv_err_msg      VARCHAR2(240);
        lf_err_flag     NUMBER := 0;
        ln_temp         NUMBER;
        BEGIN
        --------------------- checking for mandatory parameters---------------------------
          IF (P_CONTAINER_ID IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg||'-'||'Please enter CONTAINER_ID - ';
          END IF;
          -------------Validation for Sail Date Format----------------------
          IF (P_SAIL_DATE IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg || ' ' || 'Enter Sail Date - ';
          ELSE
             BEGIN
                SELECT 1
                  INTO ln_temp
                  FROM DUAL
                 WHERE P_SAIL_DATE =  TO_DATE (TO_CHAR (P_SAIL_DATE, 'DD-MON-YYYY'), 'DD-MM-YYYY');
             EXCEPTION
                WHEN NO_DATA_FOUND THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Enter Sail date in DD-MON-YYYY Format';
                WHEN OTHERS THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Enter Sail date in DD-MON-YYYY Format'|| SQLERRM;
             END;
          END IF;
          -------------Validation for PO_Number----------------------
          IF (P_PO_NO IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg || ' ' || 'Enter PO_NO - ';
          ELSE
             BEGIN
                SELECT count(1)
                  INTO ln_temp
                  FROM PO_HEADERS
                 WHERE Attribute4 =  P_PO_NO;
             EXCEPTION
                WHEN NO_DATA_FOUND THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' No Oracle PO for Biceps PO#'||P_PO_NO;
                WHEN OTHERS THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Error getting the Oracle PO for Bicpes PO#'||P_PO_NO||' Error-' || SQLERRM;
             END;
          END IF;
         -----------------------Insert Record----------------------------
         IF lv_err_msg is NULL THEN
         BEGIN
             INSERT
              INTO XXP2P_HW_COST_FACTORS_STG
                     CONTAINER_ID
                    ,SAIL_DATE
                    ,PO_NO
                    , ERROR_FLAG
                    , ERROR_MSG
                   ,CREATED_BY
                    ,CREATION_DATE
                    ,LAST_UPDATED_BY
                    ,LAST_UPDATE_DATE
                    ,LAST_UPDATE_LOGIN              
                VALUES
                     P_CONTAINER_ID
                    ,P_SAIL_DATE
                    ,P_PO_NO              
                    ,lf_err_flag
                    ,lv_err_msg
                  ,FND_GLOBAL.USER_ID
                    , trunc (sysdate)
                    ,FND_GLOBAL.USER_ID
                    , trunc (sysdate)
                    ,FND_GLOBAL.LOGIN_ID              
                  --  commit;
                  DBMS_OUTPUT.put_line
                    '-' || 'After ap_invoices_interface'
            EXCEPTION
            WHEN OTHERS THEN
              ROLLBACK;
              lf_err_flag := 1;
              lv_err_msg  := lv_err_msg || ' ' || 'error loading CONTAINER_ID-' || P_CONTAINER_ID || SQLERRM;
              raise_application_error(-20001, lv_err_msg);
            END;
        ELSE
              raise_application_error(-20001, lv_err_msg);
        END IF;
      END upload_data;                        
    END XXPO_COSTFACTS_WEBADI_PKG;

  • Reagrding transporting of custom table entries from D to Q.

    Hi,
    I am trying to transport couple of entries which I did using table maintainence in SM30. But when I go to Maintain option -> Table View -> Transport, I see the Transport option inactive.
    Can someone tell me how to activate that option or how to move custom table entries from one system to other ?
    Regards,
    Rajesh.

    Hi rajesh,
    1. For this purpose, the delivery class of that table should be C = Customizing.
      (at present it would be A =  Application)
    2. This is done in se11 transaction.
    3. After changing the delivery class, we have to RE-GENERATE
       the table maintenance.
    4. Then, whenever we do SM30, it will automatically ask for a request number.
    regards,
    amit m.

  • How to replicate a customer from ERP to a Person in CRM

    Hi,
    I am doing an implementation of CRM 7.0 and have to integrate it with an existing ERP (ECC6) system. I've set up the replication of the Business Partners to replicate two of the Account Groups in ERP to CRM and it is working well. The only problem is that the customers in the ERP system are Organizations and Persons. When the replication takes place, all are created as Organizations (role sold-to Party).
    Is there a way to replicate customer data from ERP and have the BP in CRM created with BP Category 1 (Person) in stead of 2 (Organization)?
    The customers in the ERP system are not consumers.
    Thanks
    Jeanine

    I logged an OSS for this problem and SAP replied with the following:
    "What you've explained is a standard behavior of the system.
    Since CRM and R/3 have different BP data models, all BPs from R/3 are
    transferred to CRM be default as Organizations.
    An only exception is BPs, which are assigned into account group, which
    is mapped into classification "Consumer: persons".
    Customers downloaded to CRM will always be interpreted as Business
    Partners of the type organisation.
    Customers in R/3 are Organisations and are subsequently replicated to
    the CRM system of the BP Type - Organisation, therefore the standard
    scenario is that customers downloaded from R/3 are replicated as
    Business Partners of type Organisation.
    If you don't want to use functionality of Consumers, it's also
    possible to change the category with a modification by
    appending the R/3 outbound processing or the CRM Inbound processing
    this would change the organisations to persons, and is possible by
    changing the category in the complex structure from 2 to 1 by copying
    the organisational data to the personal data, the category change
    works only before the creation of Business Partners in CRM, for
    existing BPs that have been downloaded, it would be necessary to
    delete these BPs using Note 415007 and start the download again after
    modifying the User-Exits.
    The data sent from R/3 are mapped into a complex structure of type
    BUS_EI_MAIN. In CRM table CRMC_BUT_CALL_FU you can add an own
    function module for event "CRM INBOUND" and a position less than
    100000. Here you can you can change the field
    C_BP_STRUCT-CENTRAL_DATA-COMMON-DATA-BP_CONTROL-CATEGORY from 2 to 1
    depending on other data that is available in this structure.
    Additionally you have to map the organisation specific data
    C_BP_STRUCT-CENTRAL_DATA-COMMON-DATA-BP_ORGANIZATION into the
    person specific data
    C_BP_STRUCT-CENTRAL_DATA-COMMON-DATA-BP_PERSON and initialize the
    organizational data. Be sure to check the category before doing this,
    because the initial download sometimes forces partial processing
    in case of errors and tries to reprocess the BPs that don't have errors
    So your mapping from organizational data to personal data should be
    done only once.
    This solution only works if the criteria is available in the structure
    BUS_EI_EXTERN. If it is not, you can add an User Exit in R/3 in the
    R/3 outbound processing at event DE_BCS2S in the tables TBE24
    (definition of product) and TBE34 (definition of your module).
    Unfortunately the data are only available as BAPIMTCS structures
    and you have to look for a structure
    with BAPIMTCS-TABNAME = 'BSC_MAINCE' to change the category.
    See module PI_BP_MAIN_TO_BAPIMTCS in order to understand this mapping."
    We will do the cutomization and test, but I think this is the only solution.
    Regards
    Jeanine

  • How to replicate a customized condition table from ECC to CRM

    Dear All,
    We have created a new condition table in ECC, using a new set of key fields to define sales district specific product price. This table is in ECC only and we would like to replicate it to CRM. Could you please let me know how we can do that? What replication object should we use?
    Thanks in advance!
    Erinn

    Hi,
    Use DNL_CUST_CNDALL, this would create the database table in CRM. Also you might need to run other loads corresponding to your scenario like DNL_CUST_CND_PR, DNL_CUST_PRC  etc
    Regards
    Prasenjit

  • How Siebel CRM consumes customer update published from OCH through AIA

    Hi all,
    We're using Oracle Customer Hub and Siebel Marketing, running as seperate Siebel instances in seperate Enterprises. We have Oracle AIA in the middle and are using the out of the box PIPs for OCH to Siebel CRM.
    I'm very much a beginner in terms of AIA and I cannot get my head around one thing - how does the receiving Siebel CRM application 'consume' published updates to the golden customer record from OCH, via AIA?
    I am assuming that one of two thing happens:
    1. AIA invokes an Inbound Web Service in Siebel and passes in the update message
    2. AIA puts the update message on a JMS queue and a JMS Component in Siebel sees and consumes the message
    What I cannot find is some documentation that just tells me how it works! It's doing my head in!
    Anyone with experience able to shed any light on this?
    Many thanks in advance!
    Regards,
    mroshaw

  • How to replicate data from custom field in SRM to ECC

    Hi,
    I am using SRM 5.0, as per my requirement i need to get data from SRM (Web GUI) through custom fields in "Confirm Goods",
    and need to pass this data to ECC,
    I found that Message type MBGMCR; IDOC Type u2013 MBGMCR01 can be used for passing the data from SRM to ECC,
    How can i pass the new data to this IDOC in SRM
    and how can i get the data from this IDOC in ECC
    Please help.
    Thanks in advance,
    Jerin.
    Edited by: Jerin Joseph on Jul 23, 2009 5:06 PM

    Hello,
    This will help you.
    Re: Replicating GR custom fields from EBP to SAP R/3
    Thanks
    Ashutosh

Maybe you are looking for