Function modules in CRM (read Business Partner attributes)

Hi,
I would like to print a document in wich will be Business Partner attributes and other crmdata. Does anybody know how I can read the Business Partner marketing attributes. Can I use for this some function modules or else?
Are there some documentations about all Function modules in CRM and what they do?
Thanks,
Malnor

Hi Malnor,
Marketing attributes of a BP can be found in table AUSP.
You can build your own custom function module to read marketing attributes.
Refer to the link below for sample code of a FM to read BP marketing attributes -
[Custom Function module to read BP marketing attributes|http://divulgesap.com/blog.php?p=NDg=]
Hope it helps.
Regards,
Ravi

Similar Messages

  • To change business partner ( RFC enabled  Function Module )in CRM.

    Hi All;
    While sending a Business partner from R/3 to CRM. I would like to change business partner ( RFC enabled  Function Module )in CRM.
    Is there any exit or a BAdI which i can use to do this?
    Regards
    Yusuf Dagyeli
    Message was edited by: Yusuf Dagyeli
    Message was edited by: Yusuf Dagyeli

    Hi RAMS,
    1. Under the SWCV Go to the Imported Objects.
    2. Right click on the RFC and click on the Import of SAP object.
    3. Give the logon server name, system number the user name and pasword.
    4. Select the RFC u want to import.
    5. Execute the import and the RFC is imported under the SWCV.
    Now u can use this Imported RFC in the scenarios of that SWCV.
    Regards
    Santhosh
    Remember to set the thread to solved when you have received a solution

  • Bapi's or function modules to create, change( delete) partner functions

    Hi,
       Can anyone suggest BAPI or Function Modules for creating , changing the Partner Functions of the customer
    eg: To create customer XYZ as  bill-to-party of customer ZYX , i need  either a BAPI or Function Module.
    Thanks in Advance,
    Sabu

    Hi The following are the BAPI's to create and change the Partner Function.
    BAPI_BUS2001_PARTNER_CHANGE_M
    BAPI_BUS2001_PARTNER_CREATE_M
    Regards
    Vijay

  • How to read Business partner attachment in SAP-CRM

    Hi Experts,
         I am working in SAP CRM, i am uploading attachments for Business partner through T-code : BP.  My requirement is to read the attachment of the particular business partner in the form binary or XML. Please suggest some BAPI for class to read the attachment of business partner.
    Thanks and Regards,
    Peter Dinesh.

    Class CL_CRM_DOCUMENTS is the one that manages everything with attachments in BP transaction

  • CRM BDT Business Partner

    Hello,
    how is it possible to read the information of the BP Dynpro when creating one. I´ve created an own function module. In the BUS7 I´ve set this one in the event DSAVE. How can I get now the data from the dynpro, e.g. postal code?
    Thanx for replying
    Andreas

    Hi Siggi,
    thanks for your reply. I´ve used the funtion module, but it´s not working.
    Let me explain the problem again.
    I´m in the transaction BP of the CRM and want to create a Business Partner. In the transaction BUS7 I have the opportunity to call an own function module at special events. For example at the event DSAVE. My own funtion module will be called if I´m creating a Business Partner. The problem I have is that I cannot read the data of which made in the transaction. The function modules you can use don´t support any interface. I just have to read one field. The postal code, but i don´t know how to do it.
    Best regards
    Andreas

  • BAPI/Function Module in CRM to create Credit Memo

    Hi,
    It will be great if some one can help me in finding out whether there is any <b>BAPI/Function Module</b> in <b>CRM</b> to create <b>Credit Memo</b>?
    Rgds,
    Sam.

    Hi Venkatesh,
    Thanks you for your post, your post has helped me a ton in my work, Infact I was working on BAPI to
    Create Credit Memo request i.e BAPI_SALESORDER_CREATEFROMDAT2 as expected i got the same error as "Unpermitted combination of business object BUS2032 and sales doc. category K" and i tried on  other BAPI it worked, Just i need to know BUS2032 doesn't support Credit Memo Request, How we can find it
    to what Sales document it support?

  • Read Business Partner of an OrgUnit

    Hi all,
    does anybody know a function module to read the assigned business partner number to an organisation? That means, you have the org number, like O 5000*25 and you would like to know the business partner number, which you can see in ppoma_crm, when you select the org unit node.
    Thx a lot!
    Best regards,
    Mireille

    Hi Mireille
    For that, I normally use:
    - Function module (FM) CRM_ORGUNIT_GETBUPA to convert that org ID to business partner guid
    - and then FM BUPA_NUMBERS_GET to convert business partner guid to business partner number
    For the opposite, I also use:
    - FM BUPA_NUMBERS_GET to convert business partner number to business partner guid
    - FM CRM_BUPA_GET_HROBJECT to convert business partner guid to org ID
    Check if this may help you
    Kind regards,
    Garcia

  • CRM employee (business partner) & org unit extraction question

    Hi all,
    I have a question regarding extracting business partner and org unit in CRM. Basically user wants to report on employee level and org unit level.
    When I looked at the org unit hierarchy datasource (0BBP_ORGUNIT_HR01_HIER), it does not include the employee. I also tried the DS 0BP_UNAME_ORGUNIT_ATTR, but that does not give me the org unit of an employee.
    Any hint is highly appreciated.
    Best regards,
    Ben

    HI
    Try this DS  0CRM_POSITION_ATTR,here u will get the org.unit,but u need to add the users (employees) in the data source.
    Sridath..

  • Calling r/3 function module from crm using rfc

    Dear SDN Members,
    I'm given a task to write a method on CRM side which sets the equipment status to "lost" in ABAON transaction on R/3 side.  There is a function module on r/3 side which is RFC enabled and it will set the stuatus to LOST when we call that from CRM.  This RFC fm is not available on CRM side, so I cannot used Pattern.  I'm very new to abap and when i've gone through abap help I got the syntax which i've write with destination parameter.  But I'm really not understanding how to pass Lost status to that fm.
    Here-with I put the coding so far i've done on crm side and also the rfc fm coding aswell on r/3 side.
    Should any one need for more info please do let me know to my yahoo ID:
    [email protected].  I would be pleased to provide you the same.
    The coding on crm side to call the r/3 fm through rfc follows here..
    method IF_EX_EXEC_METHODCALL_PPF~EXECUTE.
    21st November 2006
    Created by Venkata Sunder
    Method for
    Loss Disposal - ERP Equipment Status Update
    Damage Notifications
    Called by actions
    DATA: lv_guid_ref                      TYPE crmt_object_guid,
          lv_kind_ref                      TYPE crmt_object_kind.         "#EC NEEDED
    DATA: lv_preview                       TYPE char1.                    "#EC NEEDED
    DATA:
          lt_header_guid                   TYPE crmt_object_guid_tab,
          lt_orderadm_i_buffer             TYPE crmt_orderadm_i_wrkt,
          gs_orderadm_i_buffer             TYPE crmt_orderadm_i_wrk,
          lt_orderadm_i_db                 TYPE crmt_orderadm_i_wrkt,
          gs_orderadm_i_db                 TYPE crmt_orderadm_i_wrk,
          lt_customer_i_buffer             TYPE crmt_customer_i_wrkt,
          gs_customer_i_buffer             TYPE crmt_customer_i_wrk,
          lt_log_handle                    TYPE balloghndl,
          return                           TYPE bapiret2_t,
          gs_return                        TYPE bapiret2,
          ev_rfcdest                       TYPE rfcdest.
    get guid for referenced object
      CALL METHOD cl_hf_helper=>action_helper->get_ref_object
        EXPORTING
          io_appl_object = io_appl_object
          ip_action      = ip_action
          ii_container   = ii_container
        IMPORTING
          ev_guid_ref    = lv_guid_ref
          ev_kind_ref    = lv_kind_ref
          ev_preview     = lv_preview.
    current crm transaction is identified
      IF lv_guid_ref IS INITIAL.
        RAISE EXCEPTION TYPE cx_socm_condition_violated.
      ENDIF.
    Header GUID
      APPEND lv_guid_ref TO lt_header_guid.
    Read order details from buffer
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid       = lt_header_guid
        IMPORTING
          et_orderadm_i        = lt_orderadm_i_buffer
          et_customer_i        = lt_customer_i_buffer
        CHANGING
          cv_log_handle        = lt_log_handle
        EXCEPTIONS
          document_not_found   = 1
          error_occurred       = 2
          document_locked      = 3
          no_change_authority  = 4
          no_display_authority = 5
          no_change_allowed    = 6
          OTHERS               = 7.
      IF sy-subrc <> 0.
      ENDIF.
    call function  destination 'DERCLNT200'.
    (I'm not understanding how and wt to pass to this fm.)
    The fm 'Z_SET_EQUIPMENT_STATUS_RFC'  on r/3 side has the following coding..
    DATA:
        lv_objnr  LIKE equi-objnr,
        lv_estat  LIKE tj30-estat,
        wa_return LIKE bapiret2.
      LOOP AT equipment_status.
        SELECT SINGLE objnr
          FROM equi
          INTO lv_objnr
         WHERE equnr EQ equipment_status-equnr.
        SELECT estat
          FROM tj30t
          INTO lv_estat
         WHERE stsma = equipment_status-stat_profile
           AND txt04 = equipment_status-status
           AND spras = sy-langu.
        ENDSELECT.
        CALL FUNCTION 'STATUS_CHANGE_EXTERN'
          EXPORTING
          CHECK_ONLY                = ' '
            client                    = sy-mandt
            objnr                     = lv_objnr
            user_status               = lv_estat
          SET_INACT                 = ' '
          SET_CHGKZ                 =
          NO_CHECK                  = ' '
        IMPORTING
          STONR                     =
         EXCEPTIONS
           object_not_found          = 1
           status_inconsistent       = 2
           status_not_allowed        = 3
           OTHERS                    = 4.
        IF sy-subrc NE 0.
          MOVE:
            equipment_status-equnr       TO wa_return-message_v1,
             'E'                         TO wa_return-type,
             ' Equipment Update failed'  TO wa_return-message.
          APPEND wa_return TO return.
        ELSE.
          COMMIT WORK.
        ENDIF.
        CLEAR wa_return.
      ENDLOOP.
    ENDFUNCTION.
    Thanks in advance.
    Best Regards!
    Sam.

    Hi,
    You can write similar to the below.
    CALL FUNCTION 'CRM_ORDER_READ'
    <b>DESTINATION  'DERCLNT200'</b>
    EXPORTING
    it_header_guid = lt_header_guid
    IMPORTING
    et_orderadm_i = lt_orderadm_i_buffer
    et_customer_i = lt_customer_i_buffer
    CHANGING
    cv_log_handle = lt_log_handle
    EXCEPTIONS
    document_not_found = 1
    error_occurred = 2
    document_locked = 3
    no_change_authority = 4
    no_display_authority = 5
    no_change_allowed = 6
    OTHERS = 7.
    Thanks
    Ramakrishna

  • Function module for CRM Activities retrieve

    Hello All ,
    I am looking for FM that return all activities by Activity type.
    I tryied to use :"CRM_BUPA_READ_ORDER_OBJECTS" but I can't filter it  by Activity type.
    All help will be appriciate
    Thank you,
    Rika

    There is no function module which does the filter like this.
    Alternatively, what you can do is :
    1. Get all the respective guids of the required activity types from the following query.
        SELECT guid
        INTO TABLE git_guid
        FROM crmd_orderadm_h
        WHERE process_type IN git_t_type " git_t_type contains the activity types
        AND object_type = 'BUS2000126'.
    2. Then pass these guids to the CRM_ORDER_READ function module to get the activity details.
    *Populate the requested objects to be passed to CRM_ORDER_READ
      INSERT gc_object_name-activity_h  INTO TABLE lit_requested_objects.
      INSERT gc_object_name-appointment INTO TABLE lit_requested_objects.
      INSERT gc_object_name-customer_h  INTO TABLE lit_requested_objects.
      INSERT gc_object_name-orderadm_h  INTO TABLE lit_requested_objects.
      INSERT gc_object_name-partner     INTO TABLE lit_requested_objects.
      INSERT gc_object_name-service_os  INTO TABLE lit_requested_objects.
      INSERT gc_object_name-status      INTO TABLE lit_requested_objects.
    *Retrieve all the activity details for the GUIDs
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid       = git_guid
          it_requested_objects = lit_requested_objects
        IMPORTING
          et_orderadm_h        = git_orderadm_h
          et_activity_h        = git_activity_h
          et_customer_h        = git_customer_h
          et_appointment       = git_appointment
          et_partner           = git_partnerdata
          et_service_os        = git_service_os
          et_status            = git_status
        EXCEPTIONS
          document_not_found   = 1
          error_occurred       = 2
          document_locked      = 3
          no_change_authority  = 4
          no_display_authority = 5
          no_change_allowed    = 6
          OTHERS               = 7.
    <b>Reward points if it helps.</b>

  • CRM based Business Partner Reporting for Retailers

    Hello,
    has anyone build a Business Partner Reporting based on CRM Data?
    We want to report roles, relations, marketing etc.
    What is the basic datamodel you use? Do you save Data in ODS using InfoSet or do you use InfoCubes or else?
    At the moment we use ODS and InfoSet but we are facing timeouts and performance problems when there are too many business partners chosen.
    Thanks in advance!
    Angelika

    Hi!
    you have to use ODS objects for loading data into BW no alternative available.
    I think you have to solve performance problems by fine tuning the system or by changing the datamodel.
    with regards
    ashwin

  • Function module (FM) to read budget  to be used in n-step approval badi

    We have SRM 5.0 with ECC 6.0 (extended classic). For capital expenses we are going to have budget check in SRM based of account assignment internal orders in R/3. In shopping cart line item approval workflow, it is required to read the budget available for that internal order and compare with shopping cart value...what is the function module to read budget assigned to that internal order, that will used in n-step approval badi at every step??
    Thanks,
    Kim r.

    Hi
    <b>Please try the related SRM function modules, which will definitely help -></b>
    B470_BUDGET_READ   
    BBP_PD_USER_BUDGET_AMOUNTSPENT  
    BBP_PD_USER_BUDGET_CHECK        
    BBP_PD_USER_BUDGET_DEFINED_GET  
    BBP_PD_USER_BUDGET_SAVE         
    BBP_PD_USER_BUDGET_SCVALUE_GET  
    BBP_REQREQ_CHECK_BUDGET 
    META_BUDGET_READ   
    META_BUDGET_READ Function module in turn calls RFC-enabled 'BBP_BUDGET_READ' Function module in the R/3 or the ECC System.
    Hope this will definitely help.
    Do let me know.
    Regards
    - Atul

  • Initial Load of IS-U business partners to CRM - wrong business partner cat

    Hi Gurus,
    when donwloading CUSTOMER_MAIN from R/3 to CRM
    Where is determined that the business partner in CRM should be created in the business partner category 'Person'?
    We have the problem that all our business partners in CRM are now 'Organizations' (but were sold-to-parties in R/3 with account group DEBI)
    PIDE - setting is:
    R/3 account group DEBI  ---> classisifaction 'B' ('Customer')
    In the customizing of the business partner roles for the role type CRM000 (and for all the others) Organization, Person and Group is all allowed by default.
    The download itself and the number ranges work fine.

    The reason for the problem is unknown but a workaround is to first initial load BUPA_MAIN instead of CUSTOMER_MAIN, then the right business partner category is taken by the system

  • Function Module / method to read interface of a function module

    Hi all,
    Does anyone know a function module or a method of a class which reads the parameters and types of these parameters of a function module. Thanks in advance.
    Kind Regards,
    Sükrü

    Hi Suekrue,
    You marked the question as answered, so please assign contributor points too. I did this time, but you can change them.
    See: /people/mark.finnern/blog/2004/08/10/spread-the-love for directions.
    Click on the yellow Star icon per reply. You can give:
    1 - 10 pts (Which marks the question as answered)
    2 - 6 pts (Very helpful)
    Lots of 2 pts (Helpful)
    It's just a little thank you for the responses.
    Thanks!
    Joan (and Mark Finnern)

  • 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

Maybe you are looking for

  • Lost in Oracle BI Apps

    My objective is to install and learn Oracle BI Apps. I have done the installation part. I am not sure how to proceed now. How do I connect to a data source, do a test run and see the Oracle BI Reports. Kindly give me some insight into how I can view

  • Has anyone used Cabinet Solutions software on a Mac Book Pro?

    We currently use Cabinet Solutions software on a PC based computer and would like to upgrade to a Mac Book Pro.   I'm wondering if anyone has used this software on a Mac.

  • Performance issue - Chart with 600 datapoints

    Hi all, I have sent my comments to the Apple Numbers team, still, perhaps someone has some idea here in the forums: I have a table with approx. 600 datapoints in a two-column table: Column A is the Date (e.g. 01.12.2005) Column B is a price (e.g. 25.

  • Running sqlplus or isqlplus report on web

    With sqlplus or isqlplus we can create table object output. Is there a way I can create a report having page numbers at the bottom and scroll next/prev capability?. I am looking at this as we really do not want to use Oracle report writer ar any othe

  • Is anyone else unable to send or receive email currently?

    Are other Incredible 2 users having difficulty sending and receiving emails?    Is the service down?  It is impacting both hotmail and exchange outlook.   Thanks in advance for any replies.