Function module required to hide assignment block for Opportunity.

Hi all,
I have an requirement where i have to hide the assignment block "subsequent assignment" for the opportunity. I dont have any idea how to do it. Is there any function module or BADI to do so.
Please reply if you have any hints about that.
Thanks and Regards.
Raman Khurana.

Hi Raman,
there are several ways:
1.
Implement method DO_CONFIG_DETERMINATION and get another configuration for the overviewpage. In this configuration you can display the assignmentblocks as desired.
2.
Methods DETACH_STATIC_OVW_VIEWS in combination with REATTACH_STATIC_OVW_VIEWS.
Here you can iterate over all assignment blocks and strip those not wanted from the UI.
3.
In the business partner there is a BAdI for this. THere might be one for BT as well. Maybe someone knows, or debug for the call yourself.
For detail use the search functionality of this forum. There have been some threads regarding this the last weeks.

Similar Messages

  • Function module to get detials of blocked stock of Material

    Hi al.....
    I like to know the function module to get details of blocked stock of material
    for particular plant.... like blocked by sales order or damaged material ..etc..
    Thanks...

    Hello ,
    just check this FM
    please just read the document of the FM.....
    ME_CONFIRMATION_READ_GR_BLOCK
    RV_MATERIAL_STATUS_BLOCK
    MATERIAL_MAINTAIN_DARK_DB
    MATERIAL_MAINTAIN_DARK
    MATERIAL_MAINTAIN_DARK_PR
    MATERIAL_MAINTAIN_DIALOGUE
    MATERIAL_MAINTAIN_DIAL_RETAIL
    MATERIAL_MAINTAIN_DARK_RETAIL
    This May help....u.....
    Thank u,
    santhosh

  • Function Module to Insert Agent assignment upon creation of Responsibility

    Hi Friends,
    Using BDC I am able to create Resposibilities in Responsibilities tab of PFAC tcode.
    I need to insert Agent assignment under created Responsibility.
    Actually In Tcode PFAC I enter Rule then select change button this will lead us to next screen there i select Responsibilities tab
    there I select create button then it will give a pop-up in that i will enter Object abbr. and Name then i will select continue.
    then next i will enter category then select save.
    Up to this using recording I am able to create Responsibilities but here i need to come back and i need to select just now created
    Responsibility and i need to select insert agent assignment icon then it will give popup there i need to select Orgnizational unit then continue then it will give small popup ther i need to give search term (what ever we entered in Object abbr.) then continue again one popup will come ther we need to select that Org.unit check box then continue then it will one more popup there i need to select create then it will be inserted under Responsibilitty.
    In the above entire explanation I am able do upto  create Responsibilities but to insert agent assignment we need to come back after save but it is not possible through Recording because after save Recording will be ended.
    So could you please guid me how to insert agent assignment under just created Responsibility.
    If there is any function module to do that please suggest me .
    Thanks
    Chandu

    Hi,
    I tried like that also.
    Whenever we need to insert agent assignment under just created Responsibility we need to select just created responsibility
    created by first BDC . But in seccond BDC WITH TCODE OOCU_RESP Recording is not capturing that action (selecting just created Responsibility).
    It is giving the message 'You did not select a valid object' in the status bar.
    So It is unable to insert agent assignment under responsibility.
    I think there would a function module which insert agent assignment under selected responsibility.
    If anybody knows please suggest me or am I making any mistake ?
    If you would like to see my code pls find below.
    *& Report  YCRM_CREATE_REPBLT_AGENT
    REPORT  ycrm_create_repblt_agent.
    *Selection Screen
    PARAMETERS : p_rule TYPE pdtask-seark OBLIGATORY,
                 p_file TYPE rlgrap-filename OBLIGATORY.
    *Data Declarations
    TYPES : BEGIN OF ty_resp,
            short    TYPE p1000-short,
            stext    TYPE p1000-stext,
            category TYPE ro_expr, "EDIT_BIND_DEF-EXPR_LOW(02),
            END OF ty_resp.
    DATA : it_resp TYPE TABLE OF ty_resp,
           wa_resp TYPE ty_resp,
           p_file1 TYPE string.
    DATA : it_bdcdata    TYPE TABLE OF bdcdata,
           wa_bdcdata    TYPE bdcdata,
           it_bdcmsgcoll TYPE TABLE OF bdcmsgcoll,
           wa_bdcmsgcoll TYPE bdcmsgcoll.
    *Constants Declarations
    CONSTANTS : c_x        TYPE c VALUE 'X',
                c_tcode(4) TYPE c VALUE 'PFAC',
                c_mode     TYPE c VALUE 'A'.
    *AT SELECTION-SCREEN event for providing f4 help for input file
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      PERFORM file_on_f4.
    *Start of selectin event.
    START-OF-SELECTION.
    File Upload
      PERFORM upload_file.
    *BDC Logic
      PERFORM bdc_to_create_rep.
    *&      Form  BDC_DYNPRO
          text
         -->P_0061   text
         -->P_0062   text
    FORM bdc_dynpro  USING    fp_program "value(p_0061)
                              fp_dynpro. "value(p_0062).
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = fp_program.
      wa_bdcdata-dynpro   = fp_dynpro.
      wa_bdcdata-dynbegin = c_x.
      APPEND wa_bdcdata TO it_bdcdata.
    ENDFORM.                    " BDC_DYNPRO
    *&      Form  BDC_FIELD
          text
         -->P_0066   text
         -->P_0067   text
    FORM bdc_field  USING    fp_fnam "value(p_0066)
                             fp_fval. "value(p_0067).
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam  = fp_fnam.
      wa_bdcdata-fval  = fp_fval.
    *WA_BDCDATA-DYNBEGIN = C_X.
      APPEND wa_bdcdata TO it_bdcdata.
    ENDFORM.                    " BDC_FIELD
    *&      Form  FILE_ON_F4
          text
    -->  p1        text
    <--  p2        text
    FORM file_on_f4 .
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          field_name    = 'P_FILE'
        CHANGING
          file_name     = p_file
        EXCEPTIONS
          mask_too_long = 1
          OTHERS        = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " FILE_ON_F4
    *&      Form  UPLOAD_FILE
          text
    -->  p1        text
    <--  p2        text
    FORM upload_file .
      p_file1 = p_file.
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename                = p_file1
          has_field_separator     = 'X'
        CHANGING
          data_tab                = it_resp
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          not_supported_by_gui    = 17
          error_no_gui            = 18
          OTHERS                  = 19.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " UPLOAD_FILE
    *&      Form  BDC_TO_CREATE_REP
          text
    -->  p1        text
    <--  p2        text
    FORM bdc_to_create_rep .
      LOOP AT it_resp INTO wa_resp.
        REFRESH : it_bdcdata,
                  it_bdcmsgcoll.
    *Screen 0600
        PERFORM bdc_dynpro      USING 'SAPLRHWS' '0600'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'PDTASK-SEARK'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=AEND'.
        PERFORM bdc_field       USING 'PDTASK-SEARK'
                                       p_rule. "'90000159'.
    *Screen 0040
        PERFORM bdc_dynpro      USING 'SAPLRHWS' '0040'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=RESP'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'HRS1000-SHORT'.
        PERFORM bdc_field       USING 'HRS1000-SHORT'
                                      'Z99999999972'.
        PERFORM bdc_field       USING 'HRS1000-STEXT'
                                      'Category (RUN -SUPPORT) + C&PS Web'.
        PERFORM bdc_field       USING 'HRS1203-ACTOR_FLAG'
                                      'R'.
    *Screen 0040
        PERFORM bdc_dynpro      USING 'SAPLRHWS' '0040'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=INSE'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'DATESET'.
        PERFORM bdc_field       USING 'DATESET'
                                      'O'.
    *Screen 0300
        PERFORM bdc_dynpro      USING 'SAPLSPO4' '0300'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'SVALD-VALUE(02)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=FURT'.
        PERFORM bdc_field       USING 'SVALD-VALUE(01)'
                                       wa_resp-short. "'PL-BK'.
        PERFORM bdc_field       USING 'SVALD-VALUE(02)'
                                       wa_resp-stext. "'Plan - BendixKing Team'.
    *Screen 0200
        PERFORM bdc_dynpro      USING 'SAPLRHUZ' '0200'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'EDIT_BIND_DEF-EXPR_LOW(02)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SAVE'.
       PERFORM bdc_field       USING 'P1000-BEGDA'
                                 '23.03.2011'.
       perform bdc_field       using 'P1000-ENDDA'
                                 '31.12.9999'.
        PERFORM bdc_field       USING 'P1000-SHORT'
                                       wa_resp-short. "'PL-BK'.
        PERFORM bdc_field       USING 'P1000-STEXT'
                                       wa_resp-stext. "'Plan - BendixKing Team'.
        PERFORM bdc_field       USING 'EDIT_BIND_DEF-EXPR_LOW(02)'
                                       wa_resp-category.        "'z11'.
        CALL TRANSACTION c_tcode USING it_bdcdata
                                 MODE c_mode
                                 MESSAGES INTO it_bdcmsgcoll.
        IF sy-subrc <> 0.
          MESSAGE i001(ymsg)."Error Message
         ROLLBACK WORK.
        ELSE.
          REFRESH : it_bdcdata,
                    it_bdcmsgcoll.
    **screen 0410
          PERFORM bdc_dynpro      USING 'SAPLRHUZ' '0410'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'P1000-OBJID'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=CHG'.
          PERFORM bdc_field       USING 'P1000-OBJID'
                                         p_rule. "'90000162'.
    **screen 0420
          PERFORM bdc_dynpro      USING 'SAPLRHUZ' '0420'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=RELI'.
          PERFORM bdc_field       USING 'DATESET'
                                        'O'.
    **screen 0110
          PERFORM bdc_dynpro      USING 'SAPLRHW0' '0110'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=CONT'.
    **screen 0100
          PERFORM bdc_dynpro      USING 'SAPLRHWL' '0100'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'PCHDY-SEARK'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=CONT'.
          PERFORM bdc_field       USING 'PCHDY-SEARK'
                                         wa_resp-short. "'PL-BK'.
    **screen 0120
          PERFORM bdc_dynpro      USING 'SAPMSSY0' '0120'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 '04/03'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ENTR'.
    **screen 0400
          PERFORM bdc_dynpro      USING 'SAPLRHUA' '0400'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=INSE'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'PERIOD-BEGDA'.
          PERFORM bdc_field       USING 'PERIOD-BEGDA'
                                        '29.03.2011'.
          PERFORM bdc_field       USING 'PERIOD-ENDDA'
                                        '31.12.9999'.
          CALL TRANSACTION 'OOCU_RESP' USING it_bdcdata
                                       MODE c_mode
                                       MESSAGES INTO it_bdcmsgcoll.
          IF sy-subrc <> 0.
            MESSAGE i001(ymsg)."Error Message
            ROLLBACK WORK.
          ELSE.
            MESSAGE i000(ymsg)."Success Message
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " BDC_TO_CREATE_REP
    Guide me on this.
    Thanks

  • Function Module to get ABAP source code for a specific version

    Hi all
    Is there a function module that I can use to get the source code of another function module at a specific version?
    For example, can I call a function module passing in "FM_NAME" and "FM_VERSION" and have it return the lines of code associated with that object?
    Thanks in advance.
    Stuart

    Thanks guys
    That's incredibly helpful! I have one more question that I just thought of last night...
    Is there a way to hook into the code activation process? I want to be able to take a snapshot of the ABAP source code at each point when it is activated for use in another system, but need to be able to intercept this event and get the source code at that point in time.
    Any ideas?
    Thanks!

  • Bapi or Function Module to do the availability check for Planned Orders

    Hi all,
    I need a Bapi or a Function Module to do the availability check for a Planned Orders. Anyone knows how?
    I will use it in an Exit.
    Thanks in advance
    Points will be given

    I think I found it.
    If anyone is searching for it too, we will use these one:
    CO_ZA_AVAIL_CHK_ORDER_MULTI

  • Function module to find the attachment list for an accounting document?

    Is there a function module to find the attachment list for an accounting document? Or which table stores such references?
    I know I can find this info from the transaction FB03, but is there a function module to find the attachments for an accounting document? So far I only found the attachments are stored in the table SOOD, and archived documents in table TOA03, but I can't find the table that stores the links between the accounting document and its attachments?
    <b><REMOVED BY MODERATOR></b>
    Thanks,
    Ning
    Message was edited by:
            Alvaro Tejada Galindo

    Hi,
      i_object1-typeid = 'YARSATTA'.  "<<< Give your Object id name
      i_object1-catid  = 'BO'.
      i_object1-instid = i_yarsitem-docno.    "<<<< Document Number
      call method cl_gos_attachment_query=>count_for_object
        exporting
         is_object = i_object1
         ip_arl    = space
        receiving
         rt_stat   = i_stat1.
      read table i_stat1 into wa_stat1 index 1.
      if sy-subrc eq c_0.
         move wa_stat1-counter to v_attno1.
      endif.
    For link you need to check for table SRGBTBREL
    and also please check class CL_GOS*

  • Function Module/Document to change Reversal date for FI  document.

    Can anyone please provide me with the Function Module/Document to change Reversal date for FI  document.

    Hi Vikram,
    Normally, you post a reversing document in the same period you posted the original document.  The period of the original document must be open to post a reversing document. If the period is not open, you can overwrite the posting date field with a date in an open period, such as the current period.
    Regards,
    Manoj.

  • Function module which uses both BAPI's for sales order create and change

    Please name the function module which uses both BAPI's for sales order create and change.
    BAPI_SALESORDER_CREATEFORMDAT2
    BAPI_SALESORDERCHANGE

    Yup.
    you must write a piece of code for this.
    with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
    logic somethig like this.
    Amit.

  • Function module to update operation assignment for a BOM Item

    Hi Group,
    we have a requirement as under:
    Goto BOM Change using CS02->select any BOM item and click the Menu path->Extras->Operation Assignment; and check one or more Operations and then save the transaction.
    The above functionality has to be achieved through an Upload program(using Excel) with a Function module/BAPI to serve our purpose. we already did the functionality upto creation of BOM but could not proceed further on this current requirement.
    Kindly let me know your inputs if you have already worked in such type of requirement.
    thanks in advance for your inputs and let me know if any further info is needed.
    Regards,
    Vishnu

    Hi,
    Check the Bapis for BOM
    BAPI_MATERIAL_BOM_GROUP_CREATE
    CSAP_MAT_BOM_MAINTAIN
    I hope second BAPI will be more usefull for your requirement.
    Regards,
    Goutam Kolluru.

  • Function Module require for Accounting Document

    Hi All,
    Is there any Function Module available for getting Accounting document no which is created after IR.
    Regards,
    Paras

    Hi,
    You can use BAPI_ACC_DOCUMENT_POST.
    Regards,
    Eli

  • Functional Module required for getting list of successful jobs

    Hi All,
    There is one function module BP_JOB_SELECT which gives me name of unsuccessful job. Now I want to find the name of all successful job. Can anyone please tell me the function module name for that?
    Thanks in advance,
    Siddarth.

    You can use the same FM - BP_SELECT_JOB.
    While filling structure JOBSEL_PARAM_IN, you can pass FINISHED = 'X' and
    SCHEDUL = ' '
    READY     = ' '
    RUNNING  = ' '
    ABORTED = ' '
    Regards,
    Mohaiyuddin

  • Process code's function module required for the IDOC Message type PROACT

    Hi,
    I am trying to trigger an IDOC from ME32K transaction which will carry my Contract agreement details to XI. The IDOC I am using for this purpose is PROACT.PROACT01. But I couldn't find the outbound process code / Function module for the process code associated to this IDOC message type.
    Pls help me out....
    Thanks,
    Ram Kalyan

    I checked table EDIFCT for the message type and found this:
    Function module            Function type    Basic type                                      Message Type
    IDOC_INPUT_PROACT          F               PROACT01                                       PROACT
    Oops...I think you are looking for outbound..Ignore

  • Function Module required for IBASE component

    Hi Experts,
    Is there any FM which can get the warranty start date with IBASE component??
    Warranty is assigned to IBASE component under relationship tab.
    Points shall be rewarded for sure
    Regards,
    Madhu

    Hi Madhu,
    This the Table that is used to retrieve the Warranty Profile for the Installed Base. CDBD_IL_IBCWTY - Installed Base Components - Warranty Relationship. If you know the IBASE no and the corresponding COMP number then you can get the Warranty related details. Till now I was unable to find any FM that would do the same.
    For the IBASE related details, you can have a look at the following Function Group. IB_CRM_API - IB: CRM APIs for IBase.
    Thanks,
    Samantak.
    Rewards points for useful answers.

  • Function Module Required for fetching contact details from BUT000

    Hi Everybody.
    I have created a contact using transaction BP.
    these details according to me will get saved in standard table BUT000.
    Now i need standard FM used for fetching all these Contact details.
    Help me i am new to CRM.

    Hi Amit,
    Please check the following:
    Data Retrieval Function Modules:
    Name                                                             Description
    BAPI_BUPA_ADDRESSES_GET              Determine All Addresses
    BAPI_BUPA_ADDRESS_GETDETAIL                Read Address
    BAPI_BUPA_ADDRESS_GET_NUMBERS          Read Address Numbers
    BAPI_BUPA_BANKDETAILS_GET                Determine All Bank Details
    BAPI_BUPA_BANKDETAIL_GETDETAIL            Read Bank Details
    BAPI_BUPA_BANKDETAIL_NUMBERS               Read Bank Details Numbers
    BAPI_BUPA_CENTRAL_GETDETAIL               Read Central Data
    BAPI_BUPA_EXISTENCE_CHECK              Check Existence of Business Partner
    BAPI_BUPA_GET_NUMBERS                               Read Business Partner Numbers
    BAPI_BUPA_RELATIONSHIPS_GET               Determine All BP Relationships
    BAPI_BUPA_ROLES_GET                               Determine All Roles
    BAPI_BUPA_ROLE_EXISTENCE_CHECK          Check Existence of Role
    BAPI_BUPA_SEARCH                              Search Business Partner for Telephone, E-Mail, Address
    BAPI_BUPA_STATUS_GETDETAIL             Business Partner: Read Status
    BAPI_BUPR_ACTIVITYP_EXISTCHECK              Check Existence of Contact Partner Relationship
    BAPI_BUPR_CONTP_ADDRESSES_GET          Read Contact Person Relationship Addresses
    BAPI_BUPR_CONTP_ADDR_GETDETAIL          Read Contact Person Relationship Addresses
    BAPI_BUPR_CONTP_GETDETAIL              Read Contact Person Relationship
    BAPI_BUPR_EMPLO_ADDRESSES_GET        Read Contact Person Relationship Addresses
    BAPI_BUPR_EMPLO_ADDR_GETDETAIL        Read Employee Relationship Address
    BAPI_BUPR_EMPLO_GETDETAIL             Read Employee Relationship
    BAPI_BUPR_RELATIONSHIP_GET              Read General Relationship
    BAPI_BUPR_RELSHIP_CHECKEXIST             Check Existence of General Relationship
    BAPI_BUPR_RELSHIP_GET_DETAIL             Read General Relationship
    BAPI_BUPR_RESP_EMPLO_CHEKEXIST        Read Relationship of Employee Responsible
    BUPA_PARTNER_CONTACT_SEARCH           Searches business partners for telephone, E-Mail, address
    CRM_ORDER_READ                     Get all the Service Contract details.
    Hope this helps!
    Regards,
    Saumya

  • Function module required for BOM Changes

    Dear SAP Guru
    I need the function module which gives me the details of changes done in the BOM.
    Scenario: Need to develop the report which gives only the details of BOM changed on the given date. The BOM level might vary.
    Regards
    Rahul

    Dear
    I think you should have ECM in place to have tracability for any changes carried out in BOM .
    Refer earlier posting : Re: ECM ECR
    If the ECM is in place , then you can see what changes has been done in CC02/03 Environmnet - > Reporting -> Bill of Material.
    Otherwise please try the following Functinal Module : You can also try CEWB and CS80
    1. CSAP_BOM_ITEM_MAINTAIN
    2.CS_BOM_EXPL_MAT_V2
    3.CHANGEDOCUMENT_READ  and CDHDR
    Refer : http://help.sap.com/saphelp_40b/helpdata/en/92/58b521417011d189ec0000e81ddfac/content.htm
    Regards
    JH

Maybe you are looking for

  • How to make checkbox field inactive in the output of ALV report.

    Dear All, I am having one ALV report in whose output there are checkboxes against each record. Example: the output columns of my ALV report are: Checkbox, Sales Document No, Billing Document No. Now, my requirement is that if for the Sales Document N

  • FRM-92101 error

    Hello. I'm currently learning forms and reports in 9.0.4 on a standalone pc. I have created a simple report in report builder that runs fine there. I believe I have correctly set up the button to run the report from a form in form builder. But when I

  • Turning on the flash again

    Somehow I have turned off the flash on my camera. I've searched everywhere I can think of but can't seem to find out how to switch it on again! It's a Nokia 2680 slide.

  • Help plz, i need back up my phone

    Help plz, i have iphone 4 i still have icloud  on my itunes and i need to update it to the new one but i dont want to lose any of my pictues of my kids im not sure if ive backed it up before if i have it would of been a long time ago plz help me than

  • How to deploy a Flex application (Server Type ColdFusion) to production

    I have built a flex application using Flash Builder 4.6.  It utilizes ColdFusion Flash Remoting for its data services.  When first setting up the data services I had to set a bunch of properties in the flex server section.  Which I am not sure are al