Control CRM- R/3 BP replication based on BP status

Hi Experts,
In Our scenario all BP's created in CRM gets "Not released" flag by default.
And it goes through a workflow cycle to release the flag.
We want to replicate the BP's to R/3 only once the  "Not released" flag is removed.
Can you please share your ideas how this can be achived?
at present system replicates all the BP's to R/3 system as soon as it saved in CRM system.
So I am looking for  the way out to control  triggring of Bdocs based on BP released status.
your help will be appreciated.
Thanks
Manjushail

Hi Manjushail,
I have gone through your query. Based on Status data, the replication of BP cannot be controlled since the Simple Intelligent replication will not also be having those fields for filter criteria.
So best way should be to register Function module in CRMC_BUT_CALL_FU for the object BUPA and event CRMOU. Since only after CRMOU the data would have been there. Now check the status of the Business partner and delete the main structure filled for that Business partner.
I hope this helps.
Regards,
Venkat

Similar Messages

  • Problem with replication based on materialized view

    Problem with replication based on materialized view...
    Given:
    1. Source: S-1
    2. Targets: T-1, T-2
    3. DB links: from T-1 to S-1, from T-2 to S-1
    Required replicate table TBL on S-1 to T-1, T-2 via db links.
    On S-1 was created materialized view log with PK on TBL. On T-1, T-2 were created mat.views as "on prebuilt table refresh fast on demand". In case of get "ORA-12034: materialized view log younger than last refresh" or initial load - perform complete refresh. Initial load on T-1 takes about 1 hour, on T-2 - about 12 hours. Refresh is executed via job with minutely interval. If refresh is running then it is not performed.
    Problem: after initial load on T-1 performs fast refresh, but on T-2 raised ORA-12034 and complete performs again.
    What's wrong?

    34MCA2K2, Google lover?
    I confess perhaps I gave a little info.
    View log was created before MV.
    It was the first initial load.
    No refresh failed.
    No DDL.
    No purge log.
    Not warehouse.
    There is no such behavior for MVs on another sites.
    P.S. I ask help someone who knows what's wrong or who faced with it or can me  follow by usefull link.
    P.P.S. It's a pity that there is no button "Useless answer"

  • Why we need crm middleware for material replication?

    Hi Experts,
    Why we need CRM middleware for material replication from ECC to SRM when we can do the vendor replication from ECC to SRM with ABAP report? IS there any technical limitation?
    Thanks and regards,
    Ranjan

    Hello,
    Vendors and locations, for example, you can replicate from ECC to SRM using ABAP reports.
    However, if you want to replicate the following information, you should use the middleware:
    - DNL-CUST-BASIS3 - Basis CRM online
    - DNL-CUST-PROD0 - Material number conversions
    - DNL-CUST-PROD1 - Product : categories
    - DNL_CUST_SRVMAS - Customizing: Service Master
    - MATERIAL - R/3 Material Master
    - SERVICE_MASTER - R/3 Service Master
    Check note 872533. It provides more information.
    Regards,
    Ricardo

  • Can I Control Follow Up Transactions based on the Status ?

    Hi,
    I have created follow-up transaction (Quote) for main transaction Opportunity (this is custom defined transaction). I am able to create the follow-up transaction alright. However, now I would want to restrict the creation of follow up transaction based on the status of Opportunity. E.g if the Opportunity status is "Open" then I should not be able to create the follow-up transaction, wheras if the Opportunity status is "Won" then I should be able to create the follow-up transaction.
    Any help will be highly appreciated.
    Regards,
    Diptendu

    Write this restricting condition in COPY or OPPORT_H method of CRM_COPY_BADI. Raise an error message when status is not as desired which will stop the creation of follow up document. Do not forget to filter for transaction type i.e. process type. Also to make it exclusive for creation of follow up document (not code for copy control also), put some other condition checking docflow or something.

  • Replication Based Development question

    HI experts,
    I am trying to understand the replication based development in SUP 2.0. However i have couple of questions;
    1] Do i need to add any or major part of the Generated Code when i actually use it in BB, iOS or in .NET framework to actually get in action ?
    2] Does SAP requires only Replication Based Deployment  for its app or in workflow ?
    Thanks & regards
    Yogesh

    Hi,
    I eventually will develop the Native APP as my business requirement is complex & I want more functionality in app than i can get it in workflow to be honest.
    But to start up with testing the Standard BAPI & the RFC's i am getting errors as below;[When i refer BAPI its BAPI_PO_GETITEMSREL]
    1] System.FormatException: String was not recognized as a valid DateTime.
    I am getting this error for RFC based on  BAPI_PO_GETITEMSREL & also standard BAPI for PO_GETLIST. Also as i said to start up i did not added to many info in RFC just added 2 fileds of Delivery Date & Reason code so that i can handle them in UI to process the further navigation. But I am just stuck up as why its happening. Because i can see everything in preview as i want
    2] <<Pass on the release group when invoking the method>> = But I am actually supplying the REL_GROUP & REL_CODE to the BAPI; i am using here SAP standard purchase order bapi, called BAPI_PO_GETITEMSREL
    3] Error getting SAP template for ZBAPI_PO_GETITEMSREL. I have no idea why this is the case.
    At first i thought may be SUP is parsing some NULL value in any of filed while its connecting to EIS but there are none NULL items in the MBO.
    4] Field NUMBER is not a member of BAPIRETURN. This is the error for both RFC & Standard BAPI.
    5] And when i tried to see IF AT ALL i can get it work with FLIGHTS BAPI still i am getting error when i use the MBS workflow for simple app.
    here the error is "java.io.IOException:JASON:expected character,found EOF "
    But here its just 1 difference that I could see the list of flights in iOS simulator only once since then i am getting this error.
    Wel.. i guess lot of errors i have mentioned.. Hope you could be of great assistance.
    Best Regards
    Yogesh

  • How do you apply rules based on read status?

    I migrated to Mail.app from PowerMail, and one of the powerful options available when creating a filter/rule in PowerMail was the ability to check the status of the message (message is/is not read) before applying the rest of the rule.
    Is there a way to apply this same check within a rule in Mail.app?
    This option is used to create rules that file mail ONLY AFTER it has been read.
    Obviously, the user must apply the rule manually since rules are only fired off when mail comes in, or when one highlights one or more message(s) and then selects the "Apply Rules" option from the contextual menu or from the Message menu.
    What makes this so powerful is that rather than having to manually file every message after you read it you can create rules that check status for read, if it is check to see if it matches other criteria, and if it does, put it in a folder with other like messages.
    Like many people, I have a large number of folders and subfolders into which I file my messages. By creating such a rule, I only have to file a message that matches other criteria once, use that to set up the criteria for the rule, and on subsequent messages that match that criteria, I only have to apply the rule after I have read it.
    I could just file all the messages directly into their appropriate folders, but then I have to keep watch on the subfolders for new mail, rather than just watching the inbox, reading the new mail, then using the Apply Rules item to have the read message checked and then filed based on the criteria that it matches.
    The logic might look like this.
    Is Read status true
    AND
    The subject contains "Intranet"
    THEN
    Move message to /On My Mac/Work Mail/Current Projects/Intranet Project/ mail folder
    THEN
    Stop processing rules.
    Without the ability to test the message's "read status" I have to select the message, right click to select "Move To>" from the contextual menu, then mouse through four sub panes to put the read message in the folder where I want to store it.
    I also cannot select a number of read messages and use the Apply Rules option to allow my filing rules to move any number of read messages to their proper storage folders.
    If anyone has a method for doing this, please let me know. It is the one thing I miss most about PowerMail.
    Message was edited by: rnsyderpsu

    I have been doing some of this, and while it does provide some of the functionality that is lost without the ability to apply rules only to read messages, it is not a complete solution. One of the biggest drawbacks is that it is not easy to selectively limit what new mail shows up the smart mailbox. One approach that works, sort of, is to limit the smart mailbox to only messages from people in my address book. However, not all relevant messages are from people already in my mailbox, so it requires constantly double checking to make sure that things are slipping through the cracks.
    The best thing about being able to apply rules, after receiving them, based on the status of a message is that it puts the control in the users hands. It allows you to selectively apply rules, only when you want to apply them. Rather than always/never, you have the ability to apply rules "sometimes/as needed." It allows for fuzzy logic, rather than hard conditions.

  • Availability of products based on product status

    Hello
    I have the following requirement that needs to be implemented in CRM 7.0.
    "Based on product statuses, we'd like to stipulate which product can be used for new orders and which products can be used only for change orders."
    For example let's say product X was created on Jan 1 2009.  Quotes/Sales orders were created for this product.  Buit in June 2009, this product should only be available for change orders.  It should not be available for new quotes/sales orders.
    I've looked through product statuses and read several posts on this forum. But I didn't quite understand what thought process I should have to implement this.
    Any guidance would be greatly appreciated.
    Thanks

    Thanks for your reply.  I see what you're saying.  The product status would still be active.  Otherwise the product won't be available for use at all.
    If that is the case, then which attribute of the product could I use/should I use, to prevent the product from being used on new orders (but usable on change orders)?
    Thanks

  • Update Approval Status of parent Folder based on approval status of folder items

    Hi,
    I have a SharePoint list which contains folders. Each folder contains one or more items. I wish to update the folder approval status to "Approved" when all the items inside the folder are approved.
    The workflow should trigger whenever the approval status of one or more items inside the folder is changed and is expected to check the approval status of all other items inside the folder. If all the items are approved the folder's approval status should
    be set to "approved".
    I am designing the workflow via SharePoint Designer 2013 and using SharePoint Online 2013 .
    Thanks a lot in advance.

    Hi,
    According to your post, my understanding is that you wanted to update Approval Status of parent Folder based on approval status of folder items.
    Per my knowledge,
    there is no out of the box way to accomplish this with SharePoint.
    Though we can loop the
    folder items to set the content approval status, we can not get the parent folder and then set the content approval status.
    As a workaround, I recoemend to create event reciever to get set the content approval status of the folder items.
    For more information, you can refer to:
    How to: Create a remote event receiver
    How to create a simple Remote Event Receiver for a Custom List in Office 365 SharePoint 2013 site
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • How to omit records based on a status code

    I am trying to select records based on a status 'N' or 'A' by a certain date as long as by the chosen date there is not another status given to the same course like 'D' or 'X'.
    Here are some sample data...
    CREATE TABLE #TEST
    (ID VARCHAR(7),
    COURSE VARCHAR(10),
    CURRENT_STATUS VARCHAR(1),
    STATUS_DATE DATETIME)
    INSERT INTO #TEST
    (ID, COURSE, CURRENT_STATUS, STATUS_DATE)
    VALUES
    ('0020541','AAAA-1000H', 'X', '2013-08-27 00:00:00.000'),
    ('0020541','AAAA-1000H', 'N', '2013-08-26 00:00:00.000'),
    ('0020541','BBBB-2000H', 'D', '2013-11-04 00:00:00.000'),
    ('0020541','BBBB-2000H', 'N', '2013-08-27 00:00:00.000'),
    ('0020541','CCCC-3000H', 'D', '2013-09-11 00:00:00.000'),
    ('0020541','CCCC-3000H', 'N', '2013-08-26 00:00:00.000'),
    ('0020541','DDDD-4000H', 'A', '2013-08-25 00:00:00.000'),
    ('0020541','EEEE-5000H', 'N', '2013-08-26 00:00:00.000')
    SELECT * FROM #TEST
    DROP TABLE #TEST
    If the query is to determine how many records with a status of N or A up to and incl August 26, 2013, I should see 4 records... AAAA-1000H, CCCC-3000H, DDDD-4000H, EEEE-5000H
    If the query is to determine how many records with a status of N or A up to and incl October 1, 2013, I should see 3 records... BBBB-2000H,  DDDD-4000H, EEEE-5000H
    ...and so on.
    Any help is appreciated.

    I am trying to select records based on a status 'N' or 'A' by a certain date as long as by the chosen date there is not another status given to the same course like 'D' or 'X'.
    Here are some sample data...
    CREATE TABLE #TEST
    (ID VARCHAR(7),
    COURSE VARCHAR(10),
    CURRENT_STATUS VARCHAR(1),
    STATUS_DATE DATETIME)
    INSERT INTO #TEST
    (ID, COURSE, CURRENT_STATUS, STATUS_DATE)
    VALUES
    ('0020541','AAAA-1000H', 'X', '2013-08-27 00:00:00.000'),
    ('0020541','AAAA-1000H', 'N', '2013-08-26 00:00:00.000'),
    ('0020541','BBBB-2000H', 'D', '2013-11-04 00:00:00.000'),
    ('0020541','BBBB-2000H', 'N', '2013-08-27 00:00:00.000'),
    ('0020541','CCCC-3000H', 'D', '2013-09-11 00:00:00.000'),
    ('0020541','CCCC-3000H', 'N', '2013-08-26 00:00:00.000'),
    ('0020541','DDDD-4000H', 'A', '2013-08-25 00:00:00.000'),
    ('0020541','EEEE-5000H', 'N', '2013-08-26 00:00:00.000')
    SELECT * FROM #TEST
    DROP TABLE #TEST
    If the query is to determine how many records with a status of N or A up to and incl August 26, 2013, I should see 4 records... AAAA-1000H, CCCC-3000H, DDDD-4000H, EEEE-5000H
    If the query is to determine how many records with a status of N or A up to and incl October 1, 2013, I should see 3 records... BBBB-2000H,  DDDD-4000H, EEEE-5000H
    ...and so on.
    Any help is appreciated.
    I guess I didn't understand your problem. Not sure if this might help you.
    SELECT * FROM #TEST
    where CURRENT_STATUS IN ('N','A') AND STATUS_DATE<='2013-08-26'
    AND STATUS_DATE NOT IN(Select STATUS_DATE from #test
    where CURRENT_STATUS IN ('D','X'))
    SELECT * FROM #TEST
    where CURRENT_STATUS IN ('N','A')
    AND STATUS_DATE<='2013-10-01'
    AND STATUS_DATE NOT IN(Select STATUS_DATE from #test
    where CURRENT_STATUS IN ('D','X'))
    - please mark correct answers

  • Prorate calculation based on Martial status

    Dear Experts,
    We have two types of the minimum of Housing Allowance(IT0014 - HA01WT):
    1.        1000 Monthly for Single
    2.        1500 Monthly for Married
    And this changeable based on Marital Status Key on Info Type 0002. However; if the change of Marital Status happened in the middle of the month the Housing Allowance should be calculated on a pro rata basis.The System gives the employee the new Housing Allowance in full. Please provide me the logic or operation that we can use in the PCR
    Pls let me know for any further clarification
    Regards
    SB

    I found solution on my own. please find below the rule
    TABLEP0002 Read table fields
    VARGBFAMST Tab.field VVVVV v.ky
      1
        WPALL?LAST ID = LAST?
          N
          Y
            AMT?IZSHNG Comparison
                ADDWT *    OT   Output table
              <
                RTE=FZ7N   Set
                RTE?1      Comparison
                  =
                    ZERO= NRA  AmtNumRteTime = 0
                    RTE=FZ7T   Set
                    AMT=IZMHNG Set
                    MULTI RAA  Multipl.amt/no/rate
                    AMT/TKDIVI Division
                    ADDWT 1001 OT   Output table
                    RTE-TKDIVI Subtraction
                    RTE*-1     Multiplication
                    AMT=0      Set
                    AMT=IZSHNG Set
                    MULTI RAA  Multipl.amt/no/rate
                    AMT/TKDIVI Division
                    ADDWT 1001 OT   Output table
                  >
                    AMT=IZMHNG Set
                    ADDWT *    OT   Output table
    Now its calculating based on prorate basis for both single and married status...
    Regards
    Sanjai

  • Transaction authorization based on document status

    Hi,
    We need to give display only access to end users (i.e specific business roles) based on the status of the document, for e.g. if document status is IN PROCESS the end user should only be allowed to Display the document - how can this be achieved ? Helpful inputs asap plz. Thank you.
    Best Regards.

    Hi Robert,
    Thanks for the quick reply, I will go through the said changes and update the thread accordingly in a day or two. Thanks again.
    Best Regards.
    Still waiting to test the solution, will update the thread soon !
    Regards.
    Edited by: Jacob Raj on May 2, 2011 2:02 PM

  • Shipment Output determination  based on shipment status.

    Dear all,
    In  T code VT01N   we are facing some issue.
    The issue is like when am selecting the Shipment button and saving  at that time the  output type is trigging.
    Actually the output type should trigger only after the shipment completion.
    Could any one kindly suggest any way for Shipment Output determination  based on shipment status.
    <removed by moderator>
    Thank you,
    Niketh
    Edited by: Thomas Zloch on Oct 8, 2011 8:21 PM

    I think you have to write your own REQUIREMENT CODE under the outpout type .

  • Workflow - based on idoc status workflow have to trigger

    hi,  i generating IDOC using abap program, when i generated IDOC workflow triggering, my recruiment is based on IDOC status
    workflow have to trigger, eg success status 30 means mail have to go one person, if fail means mail as to go another person. I trying for last two days any one can help me.

    Hi Rajendra,
    You need to trigger workflow only if u require any approval/Rejection.
    If you just need to send a mail on idoc status 30 or fail status, u need not to trigger workflow.
    You can do it with the help of standard FM also. Just search by putting Mail or sendmail* in t-code SE37, you will surely get an relevant FM which you can use in Condition of Status of idoc.
    Hope it will help u.
    Regards
    Nitin

  • Segregation of Production orders based on System status

    Hi Experts,
    I need your inputs to our requirement, We are sending Production orders to third party tool (TPT)for detailed scheduling, so Production Orders based on
    Order status need to be classified and send in such way to TPT.
    Requirement is
        Just REL or CRTD (No Confirmations carried out, no TECO, NO CLSD)             = OPEN
        PCNF or PDLV or GMPS (will be accompanied with REL only No CLSD, TECO) = WIP,
        CLSD or CNF, or DLV or TECO                                                                      = CLOSE
    So we are fetching the list of order from database tables not using MD_Stockrequirement_List function module,
    Is there any way to call BAPI and then use status profiles to  classify the list of production orders we are getting now based on our logic.
    or need to pass this list of Production orders to JEST table and do some coding to get this classification. But using JEST table its difficult for coding to get the requirement satisfied, because for one Production order there will be many order status as REL PCNF PDLV GMPSPRCMACM etc.
    Please provide inputs.
    Thanks
    Naga

    Hello Naga
    You should use BAPI BAPI_PRODORD_GET_LIST to get a list of production orders, instead of MD_Stockrequirement_List.
    Alternatively, you can use BAPI_PRODORDCONF_GETDETAIL to get the details of a production order.
    BR
    Caetano

  • Send Email based on Approval Status

    I'm working on a SharePoint workflow in which data can be entered into a form and an email is then send to a supervisor for approval. I have this working successfully. Next, if this information is approved an email will be sent to one email address,
    if it is rejected it will be send to a different email address. This what I'm having trouble figuring out. What is the best way to accomplish this? I'm using SharePoint online via Office 365 and SharePoint Designer 2013 to create the workflows. I'm
    pretty new to SharePoint so I apologize if this is a simple task. Thanks.

    Hi rdoss,
    You can refer the below thread
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8e637216-b277-448a-8656-0d73c920e2cb/trying-to-send-email-when-a-content-is-approvedrejected?forum=sharepointcustomizationprevious
    Similar to send notification section in the above thread, based on workflow status you send the email to the respective recipient. 
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Maybe you are looking for

  • Error in installing CS5

    Hello, I have tried to install CS5 in my MacBook Air OS 10.8.5 I installed all the programs  Bridge, Device Central, Extension Manager, Illustrator, InDesign, Media Encoder, Photoshop but I do not succeed in installing Acrobat X Pro: I have tried 2 t

  • Can anyone save my PS and AI?

    Adobe CC updated my programs this morning and I haven't been able to open Photoshop or Illustrator since. They were working fine and now after the update... nothing. They just crash immediately upon opening. Running OS X Yosemite 10.10.2 Was on the p

  • Source clip and program monitor have different sizes, how can I fix that?

    How can I have the same size both side? Thank you.

  • Is there a way to change the download/up location for the imported Library?

    I user Vista 64bit I have the latest version of Itunes My OS is on my C: partition My main hard drive space is on D: I have installed Itunes to D: When I try to import my music back to my Itunes after Downloading new copy the music countinues to try

  • Custom Number Format With Leading & Trailing Zeros

    Hi! How can I define following number format in Apple Pages (v3.5)? Positive numbers: +#'##0.00 (e.g. +0.30 or +5'000.00) Negative numbers: -#'##0.00 (e.g. -0.30 or -5'000.00) If I create a custom number format and enable Show Trailing Zeros, the lea