Function Module for Changing status of a Functional Location.

Hello,
I am writing a Proxy for changing the Functional Location (T code IL02).
I need to set the Deletion flag for the Functional Location.
Can any body help me with how to do this. As data will be coming from XI and I have to update the Functional location in background with function modules.
I am using 'BAPI_FUNCLOC_CHANGE' for changing other data. But I am not able to set the Deletion flag with this BAPI.

Hi Abhijit,
Can you please tell me steps or the ABAP code for setting the Deletion Flag for a Functional Location?
Thanking you in Advance,
Vijay

Similar Messages

  • Bapi or Function Module for Change request Management status update

    Hi,
    Do we have any Bapi or function module to change the status of Change request Management.
    Ex: If the status is in To Be Processed i have to change that status to Authorized using any Bapi or FM.
    I have tried with the BAPI crm_icss_change_request but its not updating the status.
    Do you have any idea on this???
    Regards
    Pavan

    hello,
    the function module is 'SOCM_STATUS_VALUES'
    you can find an example of usage of it in the program CRM_SOCM_SERVICE_REPORT
        CALL FUNCTION 'SOCM_STATUS_VALUES'
          EXPORTING
            im_process_type       = report_list-process_type
      IM_LANGU              = SY-LANGU
          TABLES
            status_values         = lt_vsocm_stat_propt.
    I hope it helps
    best regards

  • Function Module for Changing delivery date

    Hi Friends ,
        I am held up with a scenario of changing the delivery date while creating purchase order. Could you please suggest any function module to change the delivery date in purchase order if it is less than 5 days.
    With Regards ,
    Sudhir S
    Moderator message: please do some own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:45 AM

    Hi praveen for u r requirement there is no need of any FM
    Try this code
    parameters:
      p_date like sy-datum,
      p_no type i.
    data:
      w_date like sy-datum.
    w_date = p_date - p_no.
    write: / w_date .
    it is enogh for u r requirement
    plzz reward if it is usefull...
    for any further quiries my mail id is [email protected]
    plzz dont forget to reward

  • Function module for Change document for Business partner

    Hi Experts,
    Could any one send me the sample code of function module for CDHDR and CDPOS tables for extracting the change date along with role.
    Eg :
    BPRole Changd on crtd by crtd on Business partner
    ZCASH 30.11.2011 NHALLAL 24.11.2011 0001000237
    CRM000 03.12.2011 NHALLAL 24.11.2011 0001000237
    I wanted to catch up the changed date and changed role from CDHDR (base table) and CDPOS(cluster table - item level).
    Might be involved with creation of extract structure.
    Any sample codes are appreciated. Thanks.
    Regards,
    Janardhan

    resolved

  • Function module for changing Work order user status in IW32

    Hi,
    I want to change the work order user status in IW32 using ABAP.
    Is there any function module to do so or any other way? I have tried using BDC but this does not work.
    Please suggest.
    Regards,
    Naba
    Edited by: n. saha on Nov 5, 2008 6:46 AM

    I am getting Same Problem.
    fi_methods-method = 'SAVE'.
    APPEND fi_methods.
    fi_methods-refnumber = 1.
    fi_methods-objecttype = 'USERSTATUS'.
    fi_methods-method = 'CHANGE'.
    fi_methods-objectkey = '002000002453'.
    APPEND fi_methods.
    fi_userstatus-user_st_text = 'COMM'.
    fi_userstatus-user_langu   = 'EN'.
    fi_userstatus-CHANGE_EVENT = ' 01 '.
    APPEND fi_userstatus.
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
      TABLES
        it_methods    = fi_methods
        it_userstatus = fi_userstatus
        return        = fi_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Above code I am using and there the message comes like
    T ID                   NUM           MESSAGE
    S IW                   080           Order saved with number 2000002453
    S IWO_BAPI2     110           BAPI control was ended
    can any on know what is wrong in this? please help if having knowledge.
    Thank You,
    Jahnavee Trivedi

  • Function Modules for Change Manager Tickets

    Dear all,
    I have the requirement to display some basic statistics about the number of change manager tickets that are currently open, that are assigned to a person and in proceesing state.
    I had a look into the system but could find a valuable hint on which function modules are available and which are even RFC enabled.
    So is there someone who has achieved this or does know how to access that information?
    I would be very happy about any hints.
    Thank you and best regards.
    Nicolas

    Hallo Nicolas,
    I had the same requirement and started looking into this. Essentially I used php to make RFC calls to SAP.
    there are at least 2 FM (they are both RFC enabled) you can use to extract service desk ticket data.
    They are:
    - CRM_DNO_SELECT_SERVICE_TRANS
    This FM has the service desk number as you see it in CRMD_ORDER or CRM_DNO_MONITOR
    The other FM is:
    - DNO_OW_GET_NOTIFICATIONS and report RNOTIFWL
    This will give you data for the notification
    You can use DNOH_OBJNR in the first FM and OBJNR in the second to join the two together.
    The only thing is that there is no selection screen to select the data within the FM. When you execute both FM you have to provide a variant - based on that variant the data will be picked up. The best thing is probably to setup a variant that will pick up all your tickets and have your rfc calling application compile the stats that you are after. Also the variant you use is not the on you would use in CRM_DNO_MONITOR you have to go the FM transaction and create the variant for it there.
    Hope it helps, ~p.

  • Function Modules for System Status update and reservation for service order

    I am sending the service orders data using IDOCS.
    once the IDOC is received successfully i need to do 2 things:
    1. Update the system status of the service order with the status 'SPV2'.
    2.  Create the reservation for the service order.
    Is there any function modules avilable for both of these process.
    If not how i can do these two things in ABAP Code.
    please help me out in it.

    check whether this Fm's helps you
    STATUS_CHANGE_INTERN
    CO_IH_SET_STATUS_EXTERNAL
    CO_IH_STATUS_FM_SET
    BAPI_ORDER_CHANGE_STATUS_GET
    BAPI_APPREQUEST_SETSTATUSVARNT
    BAPI_ALM_ORDER_MAINTAIN
    BAPI_RESERVATION_CREATE
    Edited by: Keshu Thekkillam on Oct 26, 2009 5:10 PM

  • Remote Function Module for Change document Items.

    Hi Experts,
    I want a Remote Function Module to read Change document Items, can any please help me out. <removed by moderator>
    Thanks,
    Sridevi
    Edited by: Jan Stallkamp on Aug 25, 2008 8:25 PM

    If you are looking for the fm here it is.....
    you can check this CHANGEDOCUMENT_READ_POSITIONS fm and its documentation.
    If it is suitable for your requirement copy the same fm and make it remote enabled.
    I think it should work for you.

  • Function module for Change Master (CC01) creation

    Hi all,
    Pl. tell me function module or BAPI for 'Change Master' Creation. It is linked with BOM to record BOM changes. Its Tcode is 'CC01'. Pl. reply.
    Regards,
    Darshana

    try this...
    RFC_CREATE_CHANGE_MASTER

  • Functional Module for changing the field Reference Key 2 in Tcode FB02

    HI,
    I have a one requirement to change a field Reference Key2 (XREF2) in transaction FB02. This field appears in FB02 during (refer steps below):
    u2022 In Initial screen after entering the Document Number, Company code &  Fiscal Year then click on u201CEnteru201D
    u2022 In next screen double click on u201CAccount u201C
    u2022 In next screen click on u201CAdditional Datau201D. We will get a pop-up window where the field Reference Key2 (XREF2) is there.
    We want to change this value of this field. Kindly let me know any Function Module available for this or any other suggestion.
    Regards
    Naga

    I don't know any such BAPI/FM (alas, many threads already) so i suggest you to use SHDB to build a batch input. FI_ITEMS_MASS_CHANGE  should not solve your problem.
    Regards

  • Function Module for WBS Status

    Hi all.
    ECC 6.0.
    I am trying to figure out a way to reach the status of a WBS element; CNJ_STAT-STTXT_INT. Does anyone know of a function module that could perhaps read this status or another way to do so? I do realize that the include FCJWBO00_STATUS_TXT_FILL can read the status, but surely there must be a FM for this as well?
    Thanks for info.

    Hi,
    What about BAPI_BUS2054_GET_STATUS?
    Regards,
    Eli

  • Function Module for search help Exit

    How to create a function Module for search help exits?
    please explain in details with step by step process.

    Hi,
    How to create a function Module for search help exits?
    function module for search help F4IF_SHLP_EXIT_EXAMPLE
    dynamic search help use 'F4IF_INT_TABLE_VALUE_REQUEST'
    please check out the link below it will help you
    A repository object maintained in the ABAP Dictionary. It supplies input fields on Dynpros with single- or multi-column input helps. Search helps can be linked in the Dictionary with components from structures, data elements, and check tables. A search help enables you to search for entry values with assigned data, without you having to know the exact spelling of the value.
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm
    please explain in details with step by step process.
    create a search help exit:
    1. create an fm with this interface:
    *" TABLES
    *" SHLP_TAB TYPE SHLP_DESCR_TAB_T
    *" RECORD_TAB STRUCTURE SEAHLPRES
    *" CHANGING
    *" VALUE(SHLP) TYPE SHLP_DESCR_T
    *" VALUE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL
    put this logic in it:
    Delete duplicate filter logic.
    This logic only needs to apply at the 'DISP' event - which is just
    before the hit list is displayed
    if callcontrol-step = 'DISP'.
    delete adjacent duplicates from record_tab.
    endif.
    2. edit your search help in se11 and enter the name of the above search help exit fm
    check this sample code..for dynamic search help
    REPORT  ZTEST_F4HELP                              .
    *---Report with selection screen and to display the list of
    possible entries for field 'B' as per the value in field 'A'.
    parameters: p_vbeln type vbak-vbeln,
                p_posnr type vbap-posnr.
    at selection-screen on value-request for p_posnr.
      data: begin of help_item occurs 0,
              posnr type vbap-posnr,
              matnr type vbap-matnr,
              arktx type vbap-arktx,
            end of help_item.
      data: dynfields type table of dynpread with header line.
      dynfields-fieldname = 'P_VBELN'.
      append dynfields.
      call function 'DYNP_VALUES_READ'
           exporting
                dyname               = sy-cprog
                dynumb               = sy-dynnr
                translate_to_upper   = 'X'
           tables
                dynpfields           = dynfields
           exceptions
                invalid_abapworkarea = 1
                invalid_dynprofield  = 2
                invalid_dynproname   = 3
                invalid_dynpronummer = 4
                invalid_request      = 5
                no_fielddescription  = 6
                invalid_parameter    = 7
                undefind_error       = 8
                double_conversion    = 9
                stepl_not_found      = 10
                others               = 11.
      read table dynfields with key fieldname = 'P_VBELN'.
      p_vbeln = dynfields-fieldvalue.
      call function 'CONVERSION_EXIT_ALPHA_INPUT'
           exporting
                input  = p_vbeln
           importing
                output = p_vbeln.
      select posnr matnr arktx into table help_item
                     from vbap
                          where vbeln = p_vbeln.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'POSNR'
                dynprofield = 'P_POSNR'
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = help_item.
    also check this link it will help you
    /message/3854825#3854825 [original link is broken]
    *********please reward points if the information is helpful to you*************

  • BAPI/ Function Modules for creating Settlement rules for Project in CJ01 .

    Hi Experts ,
    I need to create Settlement rules for WBS elements in Projects . Please let me know if there are any BAPI or Function Modules for the same . The Function Modules "k_settlement_rules_update" , "IBAPI_ALM_ORDERSRULE_CREATE" & 'K_SRULE_CREATE'
    are in "Not Released" status . so our practices does not allow us to use them .. please suggest any other BAPI or FM for creating Settlement rules .
    Thanks in advance ...
    Anil

    Hi ,
    Thanx for ur prompt reply , This function module is used for creating WBS elements . I didnot find any parameters or process to create settlement rule .. Please let me know how to use this or if there are any other BAPI available .
    Thanks
    Anil

  • Function module to change the reason code for status in a Opportunuity/lead

    Hi,
    What is the function module to change the opportunity reason.   I was able to change the status using the crm_order_maintain but How can I change the reason for that opportunity.
    Thanks
    naveen

    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

  • Function Module to change the user status of a business transaction

    Hi,
      I want to change the user status of a business transaction. Plz let me know if there is a function module to change the user status.I found some FMs.
    - CRM_STATUS_MAINTAIN_OW
    - BBP_PROCDOC_STATUS_CHANGE_DIRE
    - CRM_ORDER_CHANGE_STATUS
      But these FM says that it has to be used for changing system status.
    Thanx,
    Sivagami.R

    hi Siva,
    here is some sample code :
    data :
      ip_guid            type  crmt_object_guid,
      ls_status            type  crmt_status_com,
      lt_status            type  crmt_status_comt,
      ls_input_field       type  crmt_input_field,
      ls_input_field_names type  crmt_input_field_names,
      lt_input_fields      type  crmt_input_field_tab,
      lt_obj_guids         type  crmt_object_guid_tab,
    ip_guid = <your guid>.
    ls_status-ref_guid = IP_GUID.
    ls_status-ref_kind = 'A'.
    ls_status-status = lv_newstat.
    ls_status-user_stat_proc = 'ZCRMCOM1'.
    ls_status-activate   = 'X'.
    INSERT ls_status INTO TABLE  lt_status.
    ls_input_field-ref_guid = IP_GUID.
    ls_input_field-ref_kind = 'A'.
    ls_input_field-objectname = 'STATUS'.
    ls_input_field_names-fieldname = 'ACTIVATE'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'STATUS'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    insert IP_GUID into table lt_obj_guids.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    EXPORTING
        it_status       = lt_status
    CHANGING
        ct_input_fields = lt_input_fields.
    CALL FUNCTION 'CRM_ORDER_SAVE'
    EXPORTING
        it_objects_to_save = lt_obj_guids
    EXCEPTIONS
        OTHERS              = 2.
    COMMIT WORK.
    please award points if helps
    cheers

Maybe you are looking for

  • Is there a way to run a family network with multiple Apple ID's?

    My wife and I (married one week) have both individually and together been using Apple products for awhile. I have been so pleased that I decided that in our house I was going to slowly build an Apple network. Our base station is an Airport Extreme, I

  • Issue with processing time of JDBC receiver adapter

    Hi all, We are using PI 7.1 EHP1. We have an issue with JDBC receiver adapter taking too much time to process messages. We are using XML SQL format message protocol with INSERT_UPDATE as the document format. Each message can contain multiple records,

  • Display PDF wide screen in Share pod?

    My users are frustrated that uploaded PDF files cannot be displayed the width of an Adobe Connect pod. When I make the pod go full screen on a 16x9 display, I'm still constrained to display only over the center of the pod, not edge to edge. Am I miss

  • No sound in FF 3.5 - Sound in IE8 - Running 64bit Win7

    I am running a 64bit OS (Win 7 Ultimate) these are the solutions i've tried so far to get sound to run in Firefox 1)installed flash player with administration rights 2)ran k-lite audio tool (it did not detect a problem with my audio drivers - could n

  • Turning a lot of tiff files into jpeg's at one time

    Does anyone know how to change a lot of files at one time into another file I have a friend that needs around 20000 files that our tiffs changed to jpeg or pdf files without having to do them one at a time? Thanks for any suggestions. Bill