CRM LEAD STATUS CHANGE : BAPI_LEAD_CHANGEMULTI

Hi everyone,
I see that you were able to change status via BAPI_LEAD_CHANGEMULTI. I am currently using CRM 4.0
trying to do the same thing; but unsuccessfully.
Any help in this matter will be greatly appreciated.
I undated statusx-status = 'X', filled out status table
as well as the input_fields. But comes back with wrong object type (STATUS) error message.(input field invalid)
Thanks in advance,
David

Hi David,
If you want to change the status try CRM_MA_ACT_SAVE
FM.
Best Regards,
Chetan

Similar Messages

  • How to make a sales order item deleted in ECC while in CRM just status changed?

    Hi expert,
    I have a requirment, that is:
    1. the user will change the USER STATUS in a line item of sales order to "CANCEL".
    2. When the order was replicated to ECC,the item should be deleted totally and the ITEM in CRM should not be affected.
    How can I implement this? Is there any resolution by just make some configuration?
    Thanks in advance.
    Jerry

    Hi Jerry,
    As per standard SAP, the line item is not deleted (in ECC) based on the status changes at the line item (in CRM)
    You need to do the development to achieve this.  Following points to be considered if you are doing any custom enhancement.
    1. What triggers the sales order replication ? Is it status change at header level ?  If yes, then you need to define a program which will first check the line item status in CRM Sales Order.
    2. Wherever a line item status is CANCEL, it may store in some internal table and then it will call an RFC to delete these line items in the replicated ECC Sales Order.  (without deleting the line items in CRM Sales Order)
    3. Mind you that, this will be a complex enhancement and may give lot of challenges in the sales order replication to ECC.
    Drawback of this requirement -
    1. If your client prefer to have this scenario, then it is fine, but I could see the data inconsistency in all such sales orders.  There will be a mismatch between the sales order in ECC and CRM
    Hope this will be useful
    Thanks and Regards
    DJ

  • CRM - Lead Status in BI Report not loading

    Need to do reporting on CRM Customer Leads Management.
    (for reference we are using BI 7 and CRM 5)
    In the CRM system I have a field called status (with the data element being CRM_J_STATUS) and it has 6 different status values. E.g. Open, Assigned , in progress, closed etc
    I am using the standard content cube 0MKTG_C01 and I have loaded the master data texts to the info object 0STAONESYS4 , which managed to get the correct texts from the CRM data element CRM_J_STATUS
    I have loaded the data for the leads to the cube and even though I can see all other data, I can not see the status of the lead in any of the reports, (it just comes as not assigned) so I am trying to troubleshoot and I have found that when in the datasource/PSA on BI side the u201CBW Statusu201D field (which is mapped to what I believe is CRM_J_STATUS from CRM system) is not containing any data.  I know I am missing something here as the status of the lead can NEVER be empty, it has to be in one of the six states, and e.g as soon as it gets created it is in the open status.
    Can someone please tell me if we need to do any configuration for this or if there is a flaw which I have in the way I have implemented this above reporting solution?
    I have so far only used the BI Standard content stuff.
    Please let me know if you have any suggestions.
    Many thanks in advanceu2026u2026u2026 JACK

    I am having the same issue with Status Lead.
    In CRM for  Leads I have 3 transaction types, each using the Status field for storing there own list of statuses as Jack had mentioned.
    I am not sure if 0STAONESYS4 is the right field. This is being loaded as the navigational attribute for Lead GUID (0CRMLEAGUI).
    When I check the texts in 0STAONESYS4 it does not have any of the status texts defined for status as in the 3 transaction types. So I started wondering if that's the right field I am looking at. There is another 0STAONESYS0 in BW and CRM but does have the right Status text.
    1) Can anyone tell us if the datatype for 0STAONESYS4 and 0STAONESYS0 is different from Status and where are they used and stored?
    2) Is there another field we should be looking at in BW or do we have to model it separately?
    3) The datasource Leader header has the status field but its extract structure does not have it. So how will this field be extracted? Probably it is with attributes of leads but do I need to model it as it is not available in BW?
    Any insights on this issue will be greatly appreciated.
    Thanks
    Kumar.

  • Changing Lead Status

    Hi All,
    I am trying to change lead status when saving. I have configured action profile as follows:
    Created new action in action profile
    Processing type: Method Call
    Method Used: Complete_document ( Am I using right Method?)
    Processing Parameters: PROCESS_TYPE = LEAD (LEAD is my TX type)...Here I have dout ...which parameter I have to pass here.
    Created new condition
    Defined start condition as follows:
    &CRM Lead.System Status& = I0802 ( I0802 = Complete).
    Gun....Thanks for your inputs to my previous question...I have given max points..
    Please help in this issue.
    Thanks,
    Ajay

    Hi again Ajay,
    Using method COMPLETE_DOCUMENT, you don't need to set any parameter.
    I still don't get you for start condition :
    &CRM Lead.System Status& = I0802 ( I0802 = Complete).
    Because using COMPLETE_DOCUMENT, once you run it, it will set the document
    system status to I1005 - COMPLETED.
    Is &CRM Lead.System Status& = I0802 your last system status you want to
    change to I1005 ?
    Hope this could help.
    Gun.

  • To create the follow up transaction automatically on status change in sap crm?

    To create the follow up transaction automatically on status change in sap crm? If yes, how to make the setting for this?

    Hi vishal,
    As per the requirement transaction type is activity(ACTI) & sales order(TA). when the take order objective is complete system automaticaly craete a new activity of tele sales call or metting with wholesaler.
    this is requirement of client.
    now i am already create all type of transaction types of activity & sales order & create follow up transaction also. i have doam already create action profile also but when i am assign this action profile to transaction & try to create an sales order no follow up transaction could be create automatically. i think the condition is not right so please help me out in this. what should be the start & schedulec condition for this scenerio

  • How to generate a report from crm table to find out user status changes

    Dear all,
    Could you please help me on generating a report from SAP CRM table level
    to find out user status changes in crm orders for a specific period of time?
    Thanks in advance,
    Regards,
    Shaik

    Hi Shaik.
    You would not need to write report for this. You need to create a Table view mainenance for the CRMD_ORDERADM_H or CRMD_ORDERADM_I for whichever  you need.
    Follow the below or search on google for more on table view maintenance.
    Go to SE11, give the table name and click on change. Then Go to utilities--> Table maintenance generator.
    In the table maintenance generator screen, you should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually you will create with one
    step. You should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, you find display, Maintain options.
    You can view the table contents by choosing Display and  supplying the selection criteria of dates.
    Regards
    Apoorva

  • Can i Change/Update the Lead Status using Action profile of Activity.

    Hi,
    I have created one Lead, and on the basis of Qualification level action triggers and Ativity getting generated.
    I want to know that it is possible by using functions(Action Profile/conditions) in activity, If i change the status reason of Activity (as Accepted) Earlier Leads status would change.(as Close)
    Please resolve with solution.
    Regurds,
    Dipesh.

    Hi Dipesh,
    What I understand is, u wish to change the status of preceding lead transaction when the activity status reason is changed to accepted.
    1.  This functionality can be achieved using ORDER_SAVE Badi. This Badi implementation shall check the activity reason changed to accepted, if yes, read the doc flow, get the lead transaction and change its status to close.
    2. As per my knowledge use of action profiles and conditions will not be helpful in this case.Else, create an action definition as Activity reason changed, put a condition which like Activity reason= Accepted.
    In the action definition Processing type use method call.
    Here u will have to create a new implementation of the BADI of action profile, and put the same logic as stated in point 1.
    But in think implementing point 1 should be easier.
    Wish the information is useful.
    Regards,
    Shalini Chauhan

  • Code to change LEAD status

    Hi Experts,
    I have a requirement, in which the user wants to change the LEADs STATUS via a Z-Code.
    Means, we have a WebDyn Pro report displaying the list of Leads in ALV with their status. User wants to change the staus of Lead their itself in the report and save it. User dont want extra work effort of opening LEAD maintainence screen and changing status their & then saving it, rather user wants to update the status then & their in the webdyn pro report.
    Hence to acheive this I found two Function module : CRM_ORDER_MAINTAIN & CRM_ORDER_SAVE. Unfortunately, I cannot figure out, what all IMPORTING/CHANGING paparameters need to be passed in those FM.
    Has anyone faced similar situation, if yes then please provide me a sample code.
    Or can anyone put some other idea to update that status. ??
    Waiting for replies..
    Rgds
    Pankaj Khare

    You can use CRM_ORDER_MAINTAIN and populate the parameter IT_SERVICE_OS
    or use BAPI_OPPORTUNITY_CHANGEMULTI and populate the parameter SERVICE_OS.
    BR,
    Florin

  • Add value to Lead Status

    Hi All,
    How can I add new value's to Lead Status. Status field on the Lead Screen is a read only Pick list.
    Thanks

    Debendra, at this time it is not possible to add or change the values in the Lead Status field.

  • Error "Status change from READY to COMMITTED is not allowed"

    Dear experts,
    once again SAPs workflow environment drives me crazy with mysterious error messages.
    Some time ago I posted a question here concerning the problem that I cannot put back a workitem by using function module SAP_WAPI_PUT_BACK_WORKITEM due to a lock on this workitem which has been set right after it has been double clicked in the business workplace workflow inbox:
    [How can I put back a workitem before I'm back in the business workplace?;
    Since I do not want to dequeue the lock for the workitem in my application (where the user finds the appropriate detail information along with the function buttons for approval, rejection and F3/BACK) I tried it with calling a POPUP_TO_CONFIRM ("Do you want to put back the workitem?") directly from within the BO-method, right after returning from the FM that called my application. From here (the popup then shows in front of the business workplace instead of the application) the locking doesn't seem to be a problem any more! But whatever I do after the users decision to put the WI back - calling the FM SAP_WAPI_PUT_BACK_WORKITEM or trying to leave the method with macro EXIT_CANCELLED - leads to the error message "Status change from READY to COMMITTED is not allowed" and the workitem changes to status ERROR, too. This message seems to be bull***t, since the status of the item is supposed to go back to READY.
    Does anybody have experience to help me on that ?
    Thanks in advance
    regards
    Andreas

    Hello Andreas,
    Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
    Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
    The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
    Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
    Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
    My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
    Cheers,
    Mike

  • Email notification in Charm with several status changes

    Hello,
    according to OSS 1275036 I tried to implement email notification in my Charm-process using BADI  AGS_SDK_SCHED_ST_CHD in my schedule condition. If a new partner is responible in Charm-process, this partner should be notified by email. The email should be send if user status is changing.
    It still works for my change request (notification of change manager) and the first step of my change document (notification of developer). But for all following steps (e.g. notification of tester) no action for email-notification is found in my change document.
    In my actions I only use schedule conditions (according to OSS) and no start condition. To use the BADI for several user status, I maintained my user status in field value instead of inital value.
    Does anybody know, how to use this BADI for several status changes in my change document?
    Thanks,
    Laura

    Hello together,
    I solved my problem by using CRM Standardcustomizing. Forgot SAP note 1275036 and 865619. They are all bad and not sufficient for a complex Charm scenario.
    I only used note 1275036 for the first mail in my change document (email to developer). For all following mail notifcations I'm using actions based on workflow conditions instead of BADI.
    Just using normal CRM-Customizing and create one schedule and start condition for every used action.
    E.g. send mail to tester:
    schedule condition:
      &Servicevorgang CRM.Anwenderstatus&  [*] E0002+DHFHEAD 
      and    &Servicevorgang CRM.ErrorFreeFlag&  = X 
    start condition:
    &Servicevorgang CRM.Anwenderstatus&  [*] E0004+DHFHEAD 
      and    &Servicevorgang CRM.ErrorFreeFlag&  = X 
    This works perfect, because you won't get several mails for one status if you save your document more than one time, which is a problem with note 865619.
    Regards,
    Laura Mathes

  • My status change to pass from fail after 40 days. Microsoft Exam 74-409 Score

    Microsoft update 74-409 exam.
    My status change to pass from fail after 40 days..
    Recived below email. is this possible ?
    Dear Valued Customer,
    You recently took Microsoft Exam 74-409: Server Virtualization with Windows Server Hyper-V and System Center. After close evaluation of the exam, we have made some revisions that resulted in a change to your exam results. We are pleased to inform you that your
    status has been changed to ‘PASS’. This update will be reflected in your official transcript within two weeks. A new score report will be mailed to you within two weeks.
    Thank you for taking this exam and for your support of our program.

    Yes its possible, but its also possible that its a scam trying to entice you to provide information that could be used for identity theft.  I would wait a couple weeks and then check your transcript on the MCP site.  If the exam shows then it was
    for real.  If it doesn't then it was probably a fake message.
    The reason it might be for real could be that someone challenged the clarity of one of the questions in their comments and Microsoft decided after looking into it that some question was misleading.  This might have lead them to accept more than one
    answer or to throw the question out.  That could have modified your score in some way and promoted you above the Pass line.  It is possible, but not likely.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Workflow not getting triggered on status change

    Hiii Everyone
    Workflow is not getting triggered whenever I change the status of the Order (Lead).  When we create a lead a workflow is triggered.
    1. If the status is Open a mail is sent.
    2. Then the status is checked for in process. And whenever the  status is changed to inprocess it is assigned to the agent by   the  rule attached to the workflow.
    3. And again when the status is changed to sanctioned a mail is sent.
    Now problem is if I create a lead and change its status to inprocess and then save , then the mail is sent and it is assigned to the agent properly. But when I change the status to sanctioned , then the mail is not sent for sanctioned(i.e. no worklfow step is shown in swel).
    If I open the lead and save it then the mail is sent properly. But then after that when I change the status to inprocess, the workflow is not showing agent assignment (jn swel).
    Summary: Whenever I cahnge the status after saving the order , the workflow is not showing any further step .
    Please suggest the solution.
    Regards
    Shafali

    Hi,
    Your workflow has been triggered when the status is open and then when change the status to in process,it is not sending mail as there is no agent assignment.
    That means, workflow triggered, but it is not going to the next step.
    Is it a standard or custom one?
    Can you post the workflow log screenshot over here?
    Cheers,
    Raja.D

  • Query to show a month in which status changed

    I have a table with columns containing member_name, Month_report_generated, and Current_status.
    There is a month report for every month in the year showing the member's status in that month, and the status can change in any month.
    I am trying to write a query that finds the month in which a member's status changed. I was thinking that the way to do this would be to find the max month that showed the member at the old status, and therefore that would be the month before the new status came into effect.
    I am not sure how to write this query and any help would be appreciated.
    Thanks

    It would be helpful if you could have posted your sample data along.
    Anyways, Maybe something like:
    SQL> WITH TEST_TAB
      2         AS (SELECT   'ABC' member_name,
      3                      'Jan2009' Month_report_generated,
      4                      'Y' Current_status
      5               FROM   DUAL
      6             UNION ALL
      7             SELECT   'ABC' member_name,
      8                      'Feb2009' Month_report_generated,
      9                      'Y' Current_status
    10               FROM   DUAL
    11             UNION ALL
    12             SELECT   'ABC' member_name,
    13                      'Mar2009' Month_report_generated,
    14                      'N' Current_status
    15               FROM   DUAL
    16             UNION ALL
    17             SELECT   'ABC' member_name,
    18                      'Apr2009' Month_report_generated,
    19                      'N' Current_status
    20               FROM   DUAL
    21             UNION ALL
    22             SELECT   'ABC' member_name,
    23                      'May2009' Month_report_generated,
    24                      'Y' Current_status
    25               FROM   DUAL)
    26               -- end test data
    27  SELECT   *
    28    FROM   TEST_TAB
    29  /
    MEM MONTH_R C
    ABC Jan2009 Y
    ABC Feb2009 Y
    ABC Mar2009 N  -- Status changed in this month
    ABC Apr2009 N
    ABC May2009 Y -- Status changed in this month
    5 rows selected.
    SQL> WITH TEST_TAB
      2         AS (SELECT   'ABC' member_name,
      3                      'Jan2009' Month_report_generated,
      4                      'Y' Current_status
      5               FROM   DUAL
      6             UNION ALL
      7             SELECT   'ABC' member_name,
      8                      'Feb2009' Month_report_generated,
      9                      'Y' Current_status
    10               FROM   DUAL
    11             UNION ALL
    12             SELECT   'ABC' member_name,
    13                      'Mar2009' Month_report_generated,
    14                      'N' Current_status
    15               FROM   DUAL
    16             UNION ALL
    17             SELECT   'ABC' member_name,
    18                      'Apr2009' Month_report_generated,
    19                      'N' Current_status
    20               FROM   DUAL
    21             UNION ALL
    22             SELECT   'ABC' member_name,
    23                      'May2009' Month_report_generated,
    24                      'Y' Current_status
    25               FROM   DUAL)
    26               -- end test data
    27  SELECT   member_name,
    28           lead_month month_report_generated,
    29           lead_status current_status
    30    FROM   (SELECT   member_name,
    31                     month_report_generated,
    32                     LEAD (
    33                        Month_report_generated,
    34                        1,
    35                        Month_report_generated
    36                     )
    37                        OVER (
    38                           PARTITION BY member_name
    39                           ORDER BY TO_DATE (Month_report_generated, 'MonYYYY')
    40                        )
    41                        lead_month,
    42                     LEAD (
    43                        Current_status,
    44                        1,
    45                        Current_status
    46                     )
    47                        OVER (
    48                           PARTITION BY member_name
    49                           ORDER BY TO_DATE (Month_report_generated, 'MonYYYY')
    50                        )
    51                        lead_status,
    52                     current_status
    53              FROM   test_tab) a1
    54   WHERE   a1.lead_status <> a1.current_status
    55  /
    MEM MONTH_R C
    ABC Mar2009 N
    ABC May2009 Y
    2 rows selected.
    SQL>Regards,
    Jo

  • CRM user status in delta not extracted

    Hi,
    In the delta load of datasource 0CRM_SRV_CONTRACT_H the custom added user status fields are not filled.
    For extracting CRM (5.0) user statusses of Service Contract Business Transactions to BW (3.5) I did required CRM customizing in SBIW and appended extraction structure with fields and did Bdoc mapping in BWA5 (customizing CRM_BWA_MBDOC BAdI not required according SAP user status logic). The custom user status fields are defined as BWSTONE<i>xyz</i>.
    Full load works fine, but in delta load the user status is not filled. It appears that the delta messages in the delta queue (RSA7) do not contain the user status, even when the delta is triggered by a user status change only.
    Has anyone an idea what the problem can be? Or better: how to solve?
    Thanks in advantage!
    Kind regards,
    Marinus

    Note 793986 may help (at least in my case, even parallel processing is not used!).

Maybe you are looking for

  • How to format and reinstall without install media

    I would like to "restore to factory" my mid-2010 MBP (17") .  Except of course I would like to have the 10.7 install and not have to start with 10.6 and then do the 4GB download again.  Is that possible? This is all to troubleshoot a performance issu

  • Email address changed - URGENT

    This morning I was trying to change the user name, which I thought was just the name on the account (my husband's name was showing up and not mine).  It said nothing about changing your email address.  But when I changed it, it changed my complete em

  • How to connect sun solaris 10 on sparc to the internet?

    hello all. i don't know anything about sun solaris 10. after installing sun solaris 10 into my sparc pc, i need to register it through internet. but i don't know how to connect to internet through LAN at my campus. =( Please help me & give me details

  • What formats are supported on the DVD player?

    Do the DVD players on the iMac G5 support PAL formatted DVDs?

  • Need to take cost center assessment cost to product

    Dear All, We have product costing activated in our system. We are taking Raw material , packing material cost from Material master. where as activity cost based on different activity type defined on relevant work center / resource based on certain fo