How to change status of Campaign

Hi
I have writtend following code to change the status of the campaign
Data : lit_status_comt TYPE crmt_status_comt,
wa_status_comt LIKE LINE OF lit_status_comt,
lit_field_names TYPE crmt_input_field_names_tab,
wa_input_field_names LIKE LINE OF lit_field_names.
CLEAR wa_status_comt.
wa_status_comt-ref_guid = 'GUID of the HEADER or Line Item of the Order'.
wa_status_comt-ref_kind = 'Pass 'A' for Header/ 'B' for Item'.
wa_status_comt-status = 'E0035'. " Pass the user status
wa_status_comt-user_stat_proc = 'ZCONTR_H' " Value for the User Status Profile.
wa_status_comt-activate = 'X'.
INSERT wa_status_comt INTO TABLE lit_status_comt.
wa_input_field_names-fieldname = 'ACTIVATE'.
INSERT wa_input_field_names INTO TABLE lit_field_names.
IF lit_status_comt IS NOT INITIAL.
CALL FUNCTION 'CRM_STATUS_MAINTAIN_OW'
EXPORTING
it_status_com = lit_status_comt
CHANGING
ct_input_field_names = lit_field_names
EXCEPTIONS
not_allowed = 1
error_occurred = 2
warning_occurred = 3
OTHERS = 4.
ENDIF.
But status is not changing in CRM_JEST table. How to change the status in CRM_JEST.
I want to change the CREATED status on RELEASED status..
Could you please help me inthis.
Thanks & Regards
Sowmya

Sowmya,
you do not need to build custom code. There's the program CRM_MKTPL_COND_IF_R001 that does exactly this work.
Regards
C

Similar Messages

  • How to change status icons in Kopete?

    Default icons are really bad. There is an option to change smilies, but I can't find the option how to change status icons (online, offline, etc.).

    I think you'll have better chance of getting an answer for this on forum.kde.org.
    Or you could search KDElook for special kopete icons...

  • How to change status fields for delivery vl01n or vl02n

    Hi guys, I am new here.
    I would like to ask how can we change the status field (LFSTK & LFGSK) in internal table IT_XVBUK and IT_XVBUP after we manipulate the quantities in the delivery order screen. I have tried BADI = LE_SHP_DELIVERY_PROC, Method = SAVE_DOCUMENT_PREPARE, but unfortunately, I can't change those status field from there. Is there any other alternative(eg user exits etc). Please help.
    Many thanks.
    weng

    You can script it. So on you docReady event put xfa.form["#subform"].locale="en_CA" or "en_US". Or even assign it from a value in an xml element.
    Kyle

  • How to change status value in component system (maintenance project)?

    Hy Experts,
    we are facing a problem while stting up CHARM in a three system landscape:
    The error occurs wile attempting to create an IMG project:
    Longtext:
    Status values are different in source and target systems. See long text
    Message no. SOLAR_SPROJECT022
    Diagnosis
    When you create a customzing project in the component system, the Solution Manager project status values are copied. If these values do not yet exist in the component system, they are created. If they already exist, they are not changed.
    In this case, the copied  status values exist in the component system, but they may have a different meaning: their descriptions differ.
    Procedure
    Check the meaning of the status values and make them match. If this is not possible, create and use new status values to avoid inconsistencies.
    How can I check and change this settings in component systems?
    kind regards
    T. Uhl

    Hy Valdecir,
    thanks for urgent reply!
    Do you know where the status values in (each client) or centrally (SolMan?) could be modified?
    I think there are some changes to be done, cause there are all identically configured but none of them has a specific status description.
    thanks in advance
    kind regards
    Tom

  • Skype for Android 4: How to change status to busy?

    Hello, 
    how do I change my status to busy on Skype 4?

    Credit where credit is due. New skype is finally usable - after a long long time. It is much better in very many aspects (mostly stability and robustness).
    Stripping some of original functionality is one of the areas that are really missing and it is a step back.
    But given that latest version is a complete redesign - i.e. sounds like a completely new app, i can live with missing feature for couple of months (another very useful feature they scrapped is grouping contacts by Groups when Sharing a picture from Camera - now you need to brows all the long list for each upload).

  • How to change status of operation (Production order)

    Hi all,
    I would like to know if there is a way to change the status of an operation for an operation order.
    I found a BAPI for changing the status of the production, a function module to get the status of an operation but nothing standard for changing the status of an operation.
    The solution is using a call transaction?
    Thanks for your help!
    David

    Dear,
    It is not clear what you want to do. Usually the operation system status is driven by the way you release the operation or at headre level. On the other hand you can influence the user status as per your logic. Please let us know you are looking for which status?
    Raj

  • How to change status of open item management check box??

    Dear Members,
    There is a GL which was not defined as Open Item Management Previously.
    Now we Identified and we wanted to define it as Open Item Managed account.
    For ex take ..Payable Account
    say there is one line item with credit balance ..to make this accoount balance as 0 (ZERO)  ..we reversed the original entry ..we tried to select open item check box..
    but system is not allowing us to change ..instead its giving msg"Account balance is zero but stil open items exists"
    i dont understan this ..
    now how to solve this problem
    thanks & regards.

    Hi suja csc,
    Thanks for the points : )
    OK it's very easy to transfer the balance. Either u have already customised program to upload data or if the data is "little" u can just manual posting using FB01. just zerorise all balances in the old account.
    Eg. old journal:
    01  MAN        NIAGA SDN.              1,975.00 
    50  80070010   Rental-Car Park              1,975.00-
    To transfer:
    17  MAN        NIAGA SDN.              1,975.00-
    40  80070010   Rental-Car Park              1,975.00
    Means, the account will be zero.
    Hope this will help you.
    TQ
    Regards,
    Nazrul

  • How to Change  status text in ESS travel managemnet screen

    Dear All,
    What is the procedure to change the status/processing status text change in travel management  ESS screen.
    Regards,
    Palia

    Hi Pailia and all,
    I am with a client who has the same requirement (to customise the standard "processing status" wording which is shown against each trip in the ESS screen).  So far, I have not been able to identify where these texts can be changed.  If anyone can help that would be much appreciated?
    Many Thanks,
    Jack

  • How to change status in status profile at header level in background

    Hi,
    I have customized the standard sales order screen with status profile at header level.
    In that, I have set the check boxes as created, delivered, approved and rejected.
    The requirement is, whenever the order is created through VA01, need to check the order as 'Created' one in the status profile.
    It is not possible for the user to mark this one manaully. I think, this can be done via only exits.
    Please confirm this and how this can be proceed.
    Thanks,
    Thiyagu

    For maintaining header conditions, Choose  Header--> Conditions  from menu bar.
    For maintaining Delivery address, first select your Item, then click on "Truck" icon. Here you can maintain your delivery address.
    Similarly, Header Texts and Item Texts will be maintained in Header> Texts,  Item> Texts from the Menu Bar.
    Regards,
    Umakanth

  • ChaRM: Change status by means of tasklist

    Who knows how to change status of charm document by means of task list?
    Reason: I want to schedule some operation in task list and after its completing I want that status of my document will change.
    Please help me if you can...

    Hi Dmitry,
    All the things that you see in the Tasklist are linked to the actions. You need to schedule conditions in the action, such that when you run that particular action, then the status of the change document should change. It doesnt happen through tasklist, it happends through conditions (for actions)
    Let me know if you need any more help.
    Regards,
    Sneha.

  • How to assign status profile to marketing campaign ?

    Dear Friends,
    I am working on Marketing Campaign (SAP CRM 4.0) : I want to customize a new status profile for campaign. I create a new one and I don't know where I assign it to camapign : I searched in SDN and I found a message : "to assign status profile, you have to do when you customize campaign type : Marketing -> Marketing Planning and Campaign Management -> Basic Data -> Define Campaign Types/Objectives/Tactics : in this customizing point, when you define campaign type, here is a status profile field".
    The problem is I did not find any "status profile" field in this customizing point.
    Thanks in advance for your help.

    Hi,
    Pls follow below said path to create User Status profile
    CRM--> Marketing > Marketing Planning and Campaign Management> General Setting --> Change Status Profile for User Status
    Once you create Status profile you can see the same in the profile field of Campaign. You will have to assign this profile in the campaign then you can see the statusses in Change Status field,. But these stausses can not over write the system statusses.
    Hope this will help..
    Rgds
    Mallikarjun

  • How to change the status of clinical order header

    Hi all,
    I need to change the status (N1CORDER-WLSTA) of the clinical order header. I have found the way to change the status of the items and it works, but i dont know how to change the header status.
    Now, for the items i do:
    1- Create an object type cl_ishmed_prereg
    2- Load the item (n1vkg-vkgid)
    3- Use set_status method
    4- Save the object
    5- Commit work
    So, do you know how i can change the status of the header? Im looking for other methods but...
    Thanks,
    Manel

    In order to change the clinic order header status u have to:
    1- Obtain the instance from item instance:
        CALL METHOD lv_prereg->get_corder
          IMPORTING
            er_corder = lv_corder
            e_rc      = rc.
    2- Create a var type rn1_corder_x
    3- Modify:
    is_n1corder_x-wlsta = 'RE'. " new status
    is_n1corder_x-wlsta_x = 'X'.
    4- Use change mehod:
        CALL METHOD lv_corder->change
          EXPORTING
            is_corder_x     = is_n1corder_x
          IMPORTING
            e_rc            = rc
          CHANGING
            cr_errorhandler = cl_error.
    5- Save:
    CALL METHOD lv_corder->if_ish_objectbase~save
    6- Commit work
    Regards,
    Manel

  • How to change the status of a production order

    Dear All,
    May i know how to change the status of a production order.I want to de-active the status like OPGN (Operation generated).This status is updated as there was no routing assigned to that particular production order during its creation
    Thanks and Regards,
    Varun Siddharth

    Dear,
    When you create a production order, an operation created by the system is generated automatically if no routing is used for the creation. As a result the order header receives the status HOGAN; the operation created automatically also has this status.
    If you delete the operation created automatically and then do not have the status HOGAN.
    To avoid this maintain the Routing for the material or delete the setting of default operation from OPJG.
    Regards,
    R.Brahmankar

  • How to change the status in emigall

    Hi All,
       Can any body please let me know how to change the blocking status of each object to '000' instead of the default '100'(Blocked) in emigall.
    Thanks

    Hi,
    a blocking status ending with 1, 2 or 3 does not allow further changes on object level. In order to 'unblock' the object you must execute the following steps (let's assume you change the blocking status of migration object PARTNER):
    (1) copy the migration object PARTNER either into the same migration company (with a new name) or into another migration company in order not to loose the customizing of the blocked migrationobject PARTNER. The name of the copied migration object might be PART_TEMP. A copy allways sets the blocking status of the copied migration object to 100. You can now continue working with the copied migration object for follow the steps (2) - (4) to have a migration object back with the original name.
    (2) Delete the migration object PARTNER with the blocking status 002. For this select Utilities -> Delete MigObjects and delete the migration object PARTNER
    (3) copy the copied migration object PART_TEMP back with the name of your original migration object PARTNER.
    (4) Delete the migration object PART_TEMP.
    Alternatively, if you changed the blocking status accidentially in the development system, you may change the field TEMOBS-SPERRSTATUS back to 000 with a direct update.
    Kind regards,
    Fritz
    PS: There will be a correction soon warning the user with a confirmation popup.

  • How to change the Status CRTD of the Inspection Lot?

    Dear all.
    I want to Complete an Inspection Lot 10000000005 In the T-CODE qvm2.When I select the Inspection Lot 10000000005 and press F8 to Complete the Inspection,the SAP show an error message "Status check error".
    And the detail info show that the error was cause by the Status CRTD of the Inspection Lot.I check the Status of the Inspection Lot 10000000005 and found that it's Status was CRTD CHCR SPRQ.My question was how to change the Status CRTD of the Inspection Lot?
    Regard
    Yoda

    Hi
    CRTD means ...
    In material master QM vew-inspection setup->Inspect with task list tick is there.
    Now to change status,
    Go to Qp01>create a task list for material(If not exists)>remember date of creation of task list must be prior to date to creation of inspec lot
    If task list is created/exists>go to QA02.<inspection specification -->click on Inspec Spec
    and attach task list
    go to sample tab....click on sample.
    Now save it.
    Status will change to REL
    Regards
    Sujit

Maybe you are looking for

  • Fehler bei der Überprüfung auf Adobe-Originalsoftware

    "Das Produkt, das sie zu installieren versuchen, ist keine Adobe-Originalsoftware und scheint nicht lizensiert zu sein." Hallo Community, ich habe mir vor ein paar Tagen die Adobe CS6 Design & Web Premium Student and Teacher Edition gekauft und habe

  • PC Card not recognized - hardware or software issue?

    Hello All, this is my first post to this forum. I own a PowerBook G4 (late 2005) since February 2006, but still do consider myself being new to the world of Mac. Most questions in this forum get good and detailed answers. That's why I hope someone he

  • Gracenote Server Error Message

    Hi, Suddenly, obtaining track info from Gracenote when importing a CD no longer works for me. Just to be sure, I played with all firewall settings but made no change. Does anyone have any suggestions to what the cause may be? Better yet, is there any

  • Links to other forums

    <h3>Other forums</h3> <li>Employee self service questions (ESS): SAP ERP HCM Employee Self-Service> <li>Manager self service questions (MSS): SAP ERP Human Capital Management (SAP ERP HCM)> <li>Guided Procedure (GP) questions: SAP Business Process Ma

  • Segment Issue

    Hi Experts, We have created 3 Segments for Trading, Domestic sales Zone & Exports sales Zone. Domestic sales and exports sales are happening from the same place. So We have created cost centers for Trading, Domestic sales & export sales separately as