Call R/3 BADIs from CRM

Hello Experts,
I have to implement some BADIs in R/3 which will get executed through CRM.
What are the various options of calling the BADI in R/3 from CRM? The BADIs are used for sales order processing, invoicing, etc....
Thanks
Ricky

Hi Ricky,
You may build a RFC enabled function module in R/3 and can call the same from CRM Badi's. If want to code a R/3 badi which would be enabled in normal order processing or invoicing process, then you don't have to put effort figuring out how to enable or call it from CRM, as it would be called as a part of normal processing once document is in R/3.
Best Regards,
Pratik Patel
<b>Reward with Points!</b>

Similar Messages

  • Call R/3 BADI from CRM without XI

    Hello Experts,
    I have to implement some BADIs in R/3 which will get executed through CRM.
    What are the various options of calling the BADI in R/3 from CRM? The BADIs are used for sales order processing, invoicing, etc....
    Thanks
    Ricky

    I could suggest u with XI
    1. Direct RFC call using RFC adapter
    2. Expose RFC as webservice and use SOAP adapter
    3. Use ABAP proxy to call RFC
    Without XI: CRM would be a better place to search for the ans
    Regards,
    Parteek

  • Call R/3 BADI from CRM

    Hello Experts,
    I have to implement some BADIs in R/3 which will get executed through CRM.
    What are the various options of calling the BADI in R/3 from CRM? The BADIs are used for sales order processing, invoicing, etc....
    Thanks
    Ricky

    Hi Ricky,
       It is might not possible to call BADI R/3 from CRM or CRM from R/3.
       This is possible in case of only RFC enabled FM.
       Could you provide information realated to your problem, so that one could guide you properly.
    Regards,
    Amit R.

  • Call RFC(in R3) from CRM

    Hi,
    I am trying to call a RFC from CRM. I developed that FM in R3.
    and trying to call like ..
    CALL FUNCTION Function_Name
    EXPORTING
    IMPORTING
    But when I run from CRM, in runtime it is terminated.
    Please suggest a way to call FM (in R3) from CRM.
    Thanks,
    Gaurav

    You need to specify the destination.It is the RFC name to R/3.
    CALL FUNCTION Function_Name destination <lvdest>
    EXPORTING
    IMPORTING
    If this doesn't solve your issue , Pls provide the termination message .

  • Calling ERP Web Dynpro from CRM Opptunity with parameters

    Hi, experts!
    In CRM7.0, I'm calling ERP Web Dynpro from CRM Opptunity.
    We've added a button in Opptunities and the buttom can navigate into ERP Web Dynpro.It works fine.
    Now, I'm trying to move the value of Opptunity ID to a field in ERP Web Dynpro when we push the buttom. That's a problem I want to solve. We're struggling to move the value, but it doesn't work.
    We uses the following settings:
    1) We call Z- Logical Links generated by Transaction Launcher when we push the buttom.
    2) We define Transaction Parameters in a Transaction Launcher Wizard(Step5). We've set "//clipboardBTOrder/BTOrderHeader/OBJECT_ID" or "//datacontextCURRENTBT/BTOrderHeader/OBJECT_ID".
    But both of them doesn't get any value.
    3) If you set SYST data or constants in Transaction Launcher Wizard(Step5), you can find the data in ERP Web Dynpro.
    Does anyone know which parameter gets the value of current opptunity data?
    Or if you have any tips to create URLS using programing, could you please share the information with me?
    BestRgards.
    Miki

    Does anyone have tips??

  • Calling a Web Service from CRM 620

    I prototyped from ECC 640 and created a client Proxy to call a WebService.  However,  Does anyone know if it is possible to call a WebService from CRM 620?  If so, how do you do it.  So far I have found documentation to create Server Proxies but not client proxies.
    I attempted to import the wsdl to XI as an external definition, then in CRM executed transaction: SPROXY to bring in the wsdl definition.  This did not work....
    Here is our landscape:
    -CRM 4.0 with XI-addon 2.0 & kernel patch level 1253
    -XI 3.0 SP 15
    thanks
    -steve

    Welcome to SDN.
    CRM 620 - i have no knowledge on CRM, but i guess its on WAS6.20. if yes you can consume websevice using CL_HTTP_CLIENT class.
    check out the following weblog for details.
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Regards
    Raja

  • Configure to call a BI query from CRM

    Hi,
    I created a BI query in the BI system and I want to get it called from CRM 2007 web UI. There is a RFC connection between CRM and BI.  Can anybody can list out all settings/configuration required to set inorder to list this query in the Web UI.
    Thanks in advance
    Nisha

    found this document on using the FPM_SEARCH_UIBB http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f07c2765-4ee8-2e10-759b-ea7429a430bb?QuickLink=index&…
    if only such a (extremely detailed) document would exits on passing on the "tag" to the BI query variable (as that is not as straight forward)

  • Call a function module from CRM 5.0 via ITS to FICA

    Hi
    I want to call a function module in FICA (FICA is using sapgui) from CRM (IC-web) via ITS (Not integrated in FICA)
    Is it possible and how should this be done???
    If someone know how, please help
    BR//JL

    generally RFCs should not have user dialogs.
    any how to handle your case, you need ITS and since FICA is a WAS 6.20 system, you need to have a ITS installed for FICA system, without which you cannot do that.
    alternatively you can mimic the functionality of the RFC by programming the same in a BSP and call this from CRM system
    Regards
    Raja

  • Calling custom BSP application from CRM PCUI

    Hi,
    We are using the CRM PCUI for channel partner management. Since PCUI framework has some limitations as to how the data is formatted in the layout such as no multiple value selection ( Being a generic framework using blueprint tables we have to use the predefined layout settings and positions) we want to call a standalone BSP application to maintain some of the data such as marketing attributes. We want to do this by providing a link to the standalone BSP application where the data can be maintained. Since we will be calling this application in the create mode of a new BP, is it possible to integrate the whole application as one logical unit ? I mean we want to commit the marketing attributes within the same 'save' methods of the pcui framework. Is this possible to do ? Any ideas or input is greatly appreciated.
    Thanks.

    Hi,
    we've already done a rework of the marketing attributes screen by using the technique I've described in my Weblog <a href="/people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url">Use CRM PCUI HTML viewer to call a custom URL</a>. But it has one drawback: You can't use the Save button of the PC-UI applicaiton. You have to provide your own. But the usability enhanchement is rearly great.
    Regards
    Gregor

  • Call ITS SAP R3 from CRM WebClient using parameter NOHEADEROKCODE=1

    Good day,
    I need some help with an issue.
    We want to hide the command field in the SAP GUI for HTML using parameter ~noHeaderOkCode.
    [http://help.sap.com/erp2005_ehp_04/helpdata/EN/49/f7cf3f06bd3946e10000000a114084/frameset.htm]
    But we want to hide it only when we access the R3 transactions from the CRM WebClient, not in the rest of uses of R3 ITS SAP GUI for HTML. The CRM WebClient launchs some transactions of SAP R3 inside its web, and we want users not to call another transactions there by using the command field.
    I've been reading about alias and external alias, but not resolved our issue.
    I'll appreciate any help.
    Best regards,
    Martina

    Hi Martina,
    one option might be to create a ZWEBGUI service for your CRM WebClient. i.e A copy of the WEBGUI service with the parameter  ~NOHEADEROKCODE1 set in its parameters section.
    You could also then restrict  access to the NEW service to your CRM Users.
    See the WIKI:
    [How to limit access to an ITS service to specific users? |http://wiki.sdn.sap.com/wiki/x/1wCmB ]
    Regards,
    Oisin

  • Calling Web Service from CRM using proxy

    Hi all,
    I'm facing a problem trying to call a web service from CRM (WAS 620) via XI 3.0. The response that XI recieves from the web service contains SOAP Envelope, and the mapping fails because of it. I built the proxy manually, because if I load WSDL the proxy generation in CRM generates error that sais that external definition coudn't be used.
    Is there any way to remove SOAP envelope from the response while mapping?
    Is it possible to call web service from WAS 620?
    Thanks!!!!
    Anya.

    Hi Manish,
    SOAP adapter does pass the message to XI (this message contains SOAP envelope although XI expects to get message without it), and during the mapping step i get "Runtime Exception in Message-Mapping transformatio~".
    I suppose it's because i created proxy manually. I did so because when i imported WSDL, and tried to generate proxy in CRM, i got an error message that said that proxy couldn't be generated because external definitions are only allowed in XI 3. But my XI version is 3.0! And when I generate the same proxy in my R/3 system that is installed on WAS 640, it works.
    What can I do?
    Cheers,
    Anya.

  • How to call BW report from CRM via ABAP

    Hello,
    I want to call a BW report from CRM, this I want to invoke from a screen with some parameter.
    I have a BW user which I also wants to pass from CRM screen, while calling BW report as parameter.
    Can some one help me, how to invoke a BW report (in browser) from CRM ABAP code with passing username and password (which is a generic user to all) and with some parameters to BW report, so that can directly see the report output in the browser.
    Thanks a lot in advance.
    With Best Regards,
    -Praveen Soni

    Praveen,
    all you basically have to do is construct a URL in your ABAP program and call the browser with it. In the URL you can pass the right parameters. Execute your query in transaction RSRT with option HTML and you see parameters. Or execute it directly in the browser.
    When you have the URL, just do call function 'CALL_BROWSER'.
    Regards,
    Marc
    SAP NetWeaver RIG, US BI

  • How to attach ERP smartform to a ERP Quotation generated from CRM 7.0

    Hi,
    I have this requirement of calling the ERP smartforms in CRM 7.0 where ever applicable.
    I don't want to use Transaction Launcher and also creating the same smartform in CRM would be double work.
    1. Can we attach a smartform of ERP to LEAD/OPPORTUNITY when we click on the MORE button on toolbar and choose PREVIEW OUTPUT/ TRIGGER OUTPUT. I think in ACTION we can just assign a smartform which is created in CRM system.
    Actually this is my client requirement and since my first CRM implementation do't know whether this is a valid point and how to go on.
    2. Also on ERP Quotation view page (toolbar) there is no button called MORE to PREVIEW OUTPUT. Can we assign a smartform to ERP Quotation?
    If any body can direct me on this issue would be of great help and full points will be given.
    Thanks,
    Jaya

    Hi,
    as far as I know there is no standard way of doing this in CRM 7.0.
    I imaging it would be possible to call an ERP smartform from CRM by :
    - writing an RFC capable function module in ERP that wraps the call of the smartform and returns the generated PDF data.
    - writing a function or method in CRM that calls the ERP function module and displays the returned data.
    In the lead and opportunity the print preview is done by having a print relevant action in the action profile assigned to the transaction type and I guess for these it should be possible to call a function module by creating an own smart forms method.
    But I think this is not possible for an ERP quotation, so you would have to create an own button. In the event handler for this button, one could call the ERP function module and display the result.
    Paul

  • Example of how to call a BadI from an Abap and use the NEW OO ALV Grid

    Very easy to do.
    <b>REPORT  Z_BADI_TEST.
    test call Badi from standard abap.
    *Only from rel 6.40
    do the following
    1) define the Badi  (SE18).
    For Abap call test uncheck multiple use
    and filter boxes
    2) Implement the badi (SE19).
    Add any methods here in the implementation
    3) activate
    4)  define the standard class exithandler to the
    Abap. This class is the "Badi caller
    5)  define an exit variable referring to your Badi
    Implementation interface
    this interface  will normally be
    called something like 
    ZIF_EX***************
      You will see the actual name in SE18/SE19.
    6)  Instantiate your instance of the badi
    via  method call get_instance
    7)  Now call any method(s) in the Badi.
    *****************start of abap code **************
    Define the Badi calling class (standard sap class)
      class cl_exithandler definition load.   "Declaration
    *Interface reference  
      data exit type ref to zif_ex__jimbotest.    
         data yes type c.
    Used in Fmod call in Badi methods
        data: v_knvv type knvv.
        start-of-selection.
        yes = ' '.
      selection-screen  begin of block b1.
      parameters: r1  radiobutton  group rad1,
                  r2  radiobutton group rad1,
                  r3  radiobutton group rad1.
      selection-screen end of block b1.
        parameters: p_kunnr type knvv-kunnr.
        select  single * into v_knvv
        from knvv
         where kunnr eq p_kunnr.
         export v_knvv to memory id 'CUST6A'.
    *Save customer data for the function module call
    call method cl_exithandler=>get_instance 
           exporting 
           exit_name    = 'Z_JIMBOTEST' "Your Badi Name
           null_instance_accepted = yes
              changing instance = exit.
       if not exit is initial.
           if r1 = 'X'.
         call method exit->dispord .  "Badi call
          endif.
    if r2 = 'X'.
    call method exit->dispfakt.     "Badi Call
    endif.
    if r3 = 'X'.
    call method exit->dispmat.      "Badi call
    endif.
    end of calling abap******** </b>
    In the badi   methods code as shown
    1)
    method ZIF_EX__JIMBOTEST~DISPORD.
    CALL FUNCTION 'Z_DISPLAY_CUST'.
    endmethod.
    2)
    method ZIF_EX__JIMBOTEST~DISPFAKT.
    CALL FUNCTION 'Z_DISPLAY_FAKT'.
    endmethod
    3)
    method ZIF_EX__JIMBOTEST~DISPMAT.
    CALL FUNCTION 'Z_DISPLAY_CUST'.
    endmethod.
    Copy via SE 41 the status SALV_STANDARD from  standard SAP program SALV_DEMO_METADATA into the main program where you've created the 3 function modules below (SAP______TOP)
    Global Data for the three function modules I'm calling
    FUNCTION-POOL Z_BADI_KNVV.                  "MESSAGE-ID ..
    include <color>.
    include <icon>.
    include <symbol>.
    tables: zknvv.
    data: v_zzkvgr6  TYPE KNVV-ZZKVGR6.
    data: choice1  type c.
    data: choice2 type c.
    data: choice3 type c.
    data: choice4 Type c.
    data: ok-code(5) type c.
    data: answer type string.
    data: value1 type SPOP-VARVALUE1.
    data: answer1  type string.
    tables:  vbak, vbap,  vakpa, vbrk, vrkpa.
    data: lr_functions type ref to cl_salv_functions_list.
    constants: gc_true  type sap_bool value 'X',
               gc_false type sap_bool value space.
    add for colour displays
       data: ls_color type lvc_s_colo.
       DATA : LV_SALV_COLUMNS_TABLE TYPE REF TO CL_SALV_COLUMNS_TABLE.
      data: lr_columns type ref to cl_salv_columns_table,
            lr_column  type ref to cl_salv_column_table.
    Data:
            gr_table TYPE REF TO cl_salv_table.
    data: z_datum type sy-datum.
    data: v_knvv type knvv.
    data : begin of s_vbak,
              vkorg   type vakpa-vkorg,
              vkgrp   type vakpa-vkgrp,
              vtweg   type vakpa-vtweg,
              spart   type vakpa-spart,
              auart   type vakpa-auart,
              vbeln   type vakpa-vbeln,
              bstnk   type vakpa-bstnk,
              audat   type vakpa-audat,
              netwr   type vbak-netwr,
           end of s_vbak.
    data : begin of s_vbrk,
              vbeln   type vrkpa-vbeln,
              vkorg   type vrkpa-vkorg,
              fkart   type vrkpa-fkart,
              fkdat   type vrkpa-fkdat,
              netwr   type vbrk-netwr,
           end of s_vbrk.
      data: begin of s_vbap,
             matnr   type vbap-matnr,
             arktx   type vbap-arktx,
             netwr   type vbap-netwr,
             kwmeng  type vbap-kwmeng,
          end of s_vbap.
    data: t_vbap like table of s_vbap.
    data:   t_vbak
            like table of s_vbak.
      data:   t_vbrk
            like table of s_vbrk.
    data:   s_name  type tabname.
    data: gr_selections type ref to cl_salv_selections.
    data: gr_events type ref to cl_salv_events_table.
    Source code of the function modules.
    Function modules themselves
    FUNCTION Z_DISPLAY_CUST.
    s_name = 'S_VBAK'.
    orders in last 6 months
    z_datum = sy-datum - 180.
    import v_knvv from memory id 'CUST6A'.
    get data
       select avkorg aaudat avkgrp avtweg aspart aauart abstnk avbeln b~netwr
          into corresponding fields of  table t_vbak
          up to 100 rows
             from (  vakpa as a
              inner join vbak as b
               on avbeln eq bvbeln )
            where a~kunde eq v_knvv-kunnr
            and a~parvw eq 'AG'
           and a~vkorg eq 'EN01'
            and a~trvog eq '0'
            and a~audat gt z_datum.
    sort t_vbak by audat descending.
    *data: gt_hyperlink type standard table of g_type_s_hyperlink.
    Instead of if_salv_c_bool_sap=>false, you can pass the
    value if_salv_c_bool_sap=>true to this method to
    see your ALV as a list.
    display data in Grid / List
      TRY.
          CALL METHOD cl_salv_table=>factory
            EXPORTING
              list_display   = if_salv_c_bool_sap=>false
            IMPORTING
              r_salv_table   = gr_table
            CHANGING
              t_table    = t_vbak.
        CATCH cx_salv_msg.
      ENDTRY.
    try.
    LV_SALV_COLUMNS_TABLE = gr_table->get_columns( ).
    lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'NETWR' ).
          ls_color-col = col_negative.
          ls_color-int = 0.
          ls_color-inv = 0.
          lr_column->set_color( ls_color ).
      catch cx_salv_not_found.
    endtry.
    try.
    lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'VBELN' ).
    ls_color-col = col_negative.
          ls_color-int = 1.
          ls_color-inv = 1.
          lr_column->set_color( ls_color ).
    catch cx_salv_not_found.
    endtry.
    try.
    *LV_SALV_COLUMNS_TABLE = gr_table->get_columns( ).
    lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'NETWR' ).
    lr_column->set_short_text( 'Short' ).
    lr_column->set_medium_text( 'Medium' ).
    lr_column->set_long_text( 'Net Value' ).
    *lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'URL' ).
    catch cx_salv_not_found.
    endtry.
    gr_table->set_screen_status( pfstatus = 'SALV_STANDARD'
    report = sy-repid
    set_functions = gr_table->c_functions_all ).
    this statement actually does the display.
      gr_table->display( ).
    ENDFUNCTION.
    FUNCTION Z_DISPLAY_FAKT.
    s_name = 'S_VBRK'.
    invoices in last 6 months
    z_datum = sy-datum - 180.
    import v_knvv from memory id 'CUST6A'.
    get data
       select avbeln afkart avkorg afkdat
         b~netwr
          into corresponding fields of  table t_vbrk
          up to 100 rows
             from (  vrkpa as a
              inner join vbrk as b
               on avbeln eq bvbeln )
            where a~kunde eq v_knvv-kunnr
            and a~parvw eq 'RG'
           and a~vkorg eq 'EN01'
            and a~vbtyp eq 'M'
            and a~fkdat gt z_datum.
    sort t_vbrk by fkdat descending.
    *data: gt_hyperlink type standard table of g_type_s_hyperlink.
    Instead of if_salv_c_bool_sap=>false, you can pass the
    value if_salv_c_bool_sap=>true to this method to
    see your ALV as a list.
    display data in Grid / List
      TRY.
          CALL METHOD cl_salv_table=>factory
            EXPORTING
              list_display   = if_salv_c_bool_sap=>false
            IMPORTING
              r_salv_table   = gr_table
            CHANGING
              t_table    = t_vbrk.
        CATCH cx_salv_msg.
      ENDTRY.
    try.
    LV_SALV_COLUMNS_TABLE = gr_table->get_columns( ).
    lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'NETWR' ).
          ls_color-col = col_negative.
          ls_color-int = 0.
          ls_color-inv = 0.
          lr_column->set_color( ls_color ).
          catch cx_salv_not_found.
    endtry.
    try.
    lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'VBELN' ).
    ls_color-col = col_negative.
          ls_color-int = 1.
          ls_color-inv = 1.
          lr_column->set_color( ls_color ).
    catch cx_salv_not_found.
    endtry.
    try.
    *LV_SALV_COLUMNS_TABLE = gr_table->get_columns( ).
    lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'NETWR' ).
    lr_column->set_short_text( 'Short' ).
    lr_column->set_medium_text( 'Medium' ).
    lr_column->set_long_text( 'Net Value' ).
    *lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'URL' ).
    catch cx_salv_not_found.
    endtry.
    gr_table->set_screen_status( pfstatus = 'SALV_STANDARD'
    report = sy-repid
    set_functions = gr_table->c_functions_all ).
    this statement actually does the display.
      gr_table->display( ).
    ENDFUNCTION.
    FUNCTION Z_DISPLAY_MATERIAL.
    s_name = 'S_VBAP'.
    invoicesrs in last 6 months
    z_datum = sy-datum - 180.
    import v_knvv from memory id 'CUST6A'.
    get data
    select avbeln bmatnr barktx bnetwr b~kwmeng
    into corresponding fields of  table t_vbap
          up to 100 rows
    from (  vakpa as a
              inner join vbap as b
               on avbeln eq bvbeln )
            where a~kunde eq v_knvv-kunnr
            and a~parvw eq 'AG'
           and a~vkorg eq 'EN01'
            and a~trvog eq '0'
            and a~audat gt z_datum.
    TRY.
          CALL METHOD cl_salv_table=>factory
            EXPORTING
              list_display   = if_salv_c_bool_sap=>false
            IMPORTING
              r_salv_table   = gr_table
            CHANGING
              t_table    = t_vbap.
        CATCH cx_salv_msg.
      ENDTRY.
    try.
    LV_SALV_COLUMNS_TABLE = gr_table->get_columns( ).
    lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'NETWR' ).
          ls_color-col = col_negative.
          ls_color-int = 0.
          ls_color-inv = 0.
          lr_column->set_color( ls_color ).
      catch cx_salv_not_found.
    endtry.
    try.
    lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'ARKTX' ).
    ls_color-col = col_negative.
          ls_color-int = 1.
          ls_color-inv = 1.
          lr_column->set_color( ls_color ).
    catch cx_salv_not_found.
    endtry.
    try.
    *LV_SALV_COLUMNS_TABLE = gr_table->get_columns( ).
    lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'NETWR' ).
    lr_column->set_short_text( 'Short' ).
    lr_column->set_medium_text( 'Medium' ).
    lr_column->set_long_text( 'Net Value' ).
    *lr_column ?= LV_SALV_COLUMNS_TABLE->get_column( 'URL' ).
    catch cx_salv_not_found.
    endtry.
    gr_table->set_screen_status( pfstatus = 'SALV_STANDARD'
    report = sy-repid
    set_functions = gr_table->c_functions_all ).
    this statement actually does the display.
      gr_table->display( ).
    ENDFUNCTION.
    You can extend this as far as you like -- it's really easy and MUCH MUCH easier than the old way with fieldcatalogs etc etc.

    If the pagecontainer_mc holds another movieclip that contains the button you are trying to target, then you need to include that loaded movieclip in the targeting.  And if contacts is that movieclip, then you should be able to target it directly using...
    var contacts:contatti = new contatti;
    contacts.contacts_btn.addEventListener(MouseEvent.CLICK,showContacts);

  • User-exit / BADI to control BP replication from CRM into R/3

    Hi,
    I have a scenario where besides the entries maintained in PIDE for replication from CRM into R/3, I need to control the replication or not concerning another field in CRM BP Master data.
    It's something like this:
    I need to replicate CRM prospects to R/3, but not all of them. This should be done only when a specific field from the BP master data is filled.
    I have to set the entry prospect --> ZXXX (account group in R/3) in PIDE transaction. But them I need something more to check the field in BP master data and prevent the "not prepared" prospects to be sent do R/3.
    Do I have any option to filter the replication from CRM into R/3 based in this field?
    Another possible option could be the development of a user exit or BADI that controls the BP replication to R/3. Does anybody knows a user exit where I can do this?
    Thanks a lot!
    Susana Messias

    Let me add my thanks to Sukant as well. My requirement was to exclude certain Business Partner Groupings from being uploaded to R/3. I was hoping that the filters applied in R3AC1 would actually have some effect, but they didn't. I don't understand that part yet. SAP must have had something in mind when they allowed filters for both directions of data transfer in R3AC1.
    Anyway, as Sukant suggested, I created a ZBUPA_MWX_BDOC_CREATE_MAIN function module and simply added the following code snippet:
    * Start of custom code to check whether BP grouping = 0003/0008
      LOOP AT ct_bp_extern into ls_one_bp.
        IF ( ls_one_bp-central_data-common-data-bp_control-grouping NE '0003' ) AND
           ( ls_one_bp-central_data-common-data-bp_control-grouping NE '0008' ).
          DELETE TABLE ct_bp_extern[] FROM ls_one_bp.
        ENDIF.
      ENDLOOP.
    * End of custom code to check whether BP grouping = 0003/0008
    Of course I had to create a copy of the function group, copy the includes and global variable declarations from the main program etc. But I was hoping that SAP would make such a simple filter more configurable rather than require coding, no matter how simple. If someone else with more knowledge comes across this thread in the future, please update it to let us know if we are asking for too much to have the filter option provided in R3AC1 actually work (for CRM --> R/3 data transfer).

Maybe you are looking for

  • Sending mail with attachment from OIM

    Hi Experts, We have a requirement to send mail from OIM with attachment. Could not find any relevant document how to achieve this using Notification template and NotificationService. Any help would be appreciated. Thanks in advance.

  • Music list in iPod won't show

    I recently had a problem with iTunes (error 13019) that was already fixed. I recoverd my old library and everything was just fine. Today, when I was trying to add a few more songs to my iPod (nano, 6th generation) the "Music" list under Devices was n

  • News Publication depending on User Locale

    I need to show news in different languages depending on the user locale/personalization settings. Secondly I need to publish the same news to external internet site depending on the user locale. Any quick suggestion on how to go ahead.

  • New fixed value in standard domain BLCKD

    Hello Experts, I want to add a new block id in a purchase requisition. I saw in the forum that there is no customizing for that and that I need to add the new block ID's directly in the domain BLCKD. I made this and add a field "2-Blocked by Purchasi

  • Is it possible to lock a single value in a table

    is it possible to lock a single value in a table ? please suggest me the best possible ways to do so thanks in advance Nkbhatt