External lists for updating marketing attributes

Hi,
I'm now working in CRM 3.1, but we're going to upgrade for 5.0 in the autumn. In this relation I'm working on a pre-project where I'm looking for the possibilities for using external lists for updating marketing attributes on existing BPs. How can I map this fields? Do I use advanced mapping fields or structure enhancement using appended fields?
Thanks, Camilla

Camilla,
Yes, this function become standard for CRM 5.0. CRM5.0 ELM provide different format types for create BPs (with marketing attributes), activities and leads. You need to define different format type when you create mapping format. For updating marketing attributes, you need to choose type  "Business Partner" type so that all the marketing attributes will be available for you to pick to create the mapping format.
You can look at the CRM5.0 release note and document for more details
Regards,
Min

Similar Messages

  • Updating marketing attributes from BW

    Hi anyone!
    We're using the Analysis Process Designer in BW for updating marketing attributes in CRM. We face two problems:
    1. When updating an attribute with several values (have set the multiple value indicator in the transaction maintain attributes) BW only updates one attribute value. The second value overwrites the first one.
    2. When using currency as data type for the attribute value we get an error in BW when we start the process of updating the marketing attributes.
    Have any of you faced the same issue???
    Regards Camilla

    Hello,
    we have a scenerio where in we have to transfer data from BW to CRM (Campaign from BW to CRM) and presently we are on BI 7.0 and CRM 5.0.
    Please can any one of you provide how to guide or steps if Customization required in BW and CRM side.
    One of the method is using APD, but here also i am new..can any one have tried??
    Thanks in Advance..
    Regards
    Ankur

  • Update market attribute for BP

    Dear expert, i need to update market attribute of bp in CRM.
    At the moment i'm using function module CRM_MKTBP_ASSIGN_ATTRIBUT_TAB to create/update the attribute.
    It works fine but there is a problem when I try to update the field  ATWRT (characteristic value) on an attribute that already exist. For example if I have:
    OBJEK
    000000000000000058
    ATINN
    0000000034
    ATWRT
    N
    and I want to update in :
    OBJEK
    000000000000000058
    ATINN
    0000000034
    ATWRT
    Y
    This doesn't work. I found another function to do it, CRM_MKTBP_UPDATE_ATTR_BP, but I don't know if I can use it instead to use CRM_MKTBP_ASSIGN_ATTRIBUT_TAB .
    Anybody already found this problem ?
    Davide

    ok, thanks, and do you know if in case i want to delete an attribute from bp exist another function module ?
    Regards,
    Davide

  • Problem in Updating marketing attributes for Contact

    Hi,
    I am trying to update marketing attributes for contact and Account while Creating lead. For this I implemented ORDER_SAVE (Chek before save).
    For account, the marketing attributes are getting updated fine. But, for Contact they are not getting updated. For both I am using the same code. But, I dont understand, why.
    Please, let me know why this is happening.
    Here is the code i used.
    The internal table li_imp_seltab contains Marketing attributs.Its being filled properly. No problem with Internal table data.
    For contact----
    >
    If not v_contact is initial.
      IF lo_contact_head->is_changeable( ) = abap_true.
    Update or create the marketing attribute if it does not exist and set the value of the attribute to 'Prospect'
              CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
                EXPORTING
                  iv_profile_template_id = k_template_id
                  iv_bp_guid             = l_contact_guid
                  iv_xdescr              = abap_false
                  iv_fcode               = abap_false
                  iv_msa                 = abap_false
                  iv_commit              = abap_true
                  iv_partner             = l_contact_no
                  iv_convert_values      = abap_true
                TABLES
                  it_imp_seltab          = li_imp_seltab
                  et_return              = li_return.
    Modify core and save so that the updations would reflect immediately in Web UI
              lo_core->modify( ).
              lo_tx = lo_contact_head->get_transaction( ).
              IF lo_tx IS BOUND.
                IF lo_tx->save( ) = 'X'.
                  lo_tx->commit( ).
                ENDIF.
              ENDIF.
            ENDIF.
    For Account -
    >
    if not v_ac is initial.
    Check if the entity is changeable.
            IF lo_account_head->is_changeable( ) = abap_true.
    Update or create the marketing attribute if it does not exist and set the value of the attribute to 'Prospect'
              CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
                EXPORTING
                  iv_profile_template_id = k_template_id
                  iv_bp_guid             = l_account_guid
                  iv_xdescr              = abap_false
                  iv_fcode               = 'C'
                  iv_msa                 = abap_true
                  iv_commit              = abap_true
                  iv_partner             = l_account_no
                  iv_convert_values      = abap_true
                TABLES
                  it_imp_seltab          = li_imp_seltab
                  et_return              = li_return.
    Modify core and save so that the updations would reflect immediately in Web UI
              lo_core->modify( ).
              lo_tx = lo_account_head->get_transaction( ).
              IF lo_tx IS BOUND.
                IF lo_tx->save( ) = 'X'.
                  lo_tx->commit( ).
                ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
    Please
    Thanks,
    Sandeep

    Hi Sandeep,
      You can use 'CRM_MKTBP_UPDATE_ATTR_BP' FM to update the marketing attributes of the BP.
    Regards,
    Lakshmi.Y

  • Update Marketing attributes in Interactive Scripting

    Hi All,
    I would like to know if anyone knows how to :
    1. Display multi value fields in Interactive Scripting 5.2
        In standard IS editor, there is a dynamic answer "Marketing Attribute 5.1". We need to create new ones. What it the process ?
    2. Update Marketing Attributes (or any other multi value fields) in IS. In addition to that, IS Editor in 5.2 don't have "ABAP Call" and "RFC ABAP Call" type actions in the  repository, where 4.0 comes with these types. I would like to make a RFC call to R/3 from IS, and display the returned value in the IS.
    Thank you,
    Vadim Boriskevich.

    Hello Mike,
    Yes, You have to clearly define what type of marketing attribute it is. i mean whether person or organization.
    It is not possible to use marketing attributes which are valid for persons AND organizations for survey.
    For eg.   If the marketing attribute is of type person(you can see this in the trx Crmd_prof_templ) and the BP is of type Organisation then it wont work for you.
    In this case either change the attributes to Organization type ,reattach them in the survey suite and then try.
    If you  have attribute of person type then the BP should be of the same type.Actually in the code there is a string which matches from both the sides.So in case of any mismatch the updation would not be there.
    Hope this answers your question.
    Thanks
    Raja  Pamireddy
    CRM Marketing forum Moderator

  • Update marketing attributes and send mBDoc BUPA_MAIN

    Hi,
    When I update marketing attributes in CRM there are three mBDocs sent into queues (MKTPROF_MSG and CHARVAL_MSG) and also BUPA_MAIN .
    I'd like to know if sending BUPA_MAIN is an standard SAP solution or not.
    If it's not where can I find how it's work (configuration, sap note)
    Thank's in advance
    Robert

    Hi Robert,
    As of the relationship beteween the three bdoc, it has been coded as of SAP is concerned. As any change in Marketing attribute has to be reflected in BP so that no inconsistency occurs.
    You can obviously stop generation of one of the mbdocs, but the generation will not be conditionally stoped, but it will be stop permanently.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Update marketing attribute and customer master data via Survey Response

    Hi,
    I am creating a marketing survey. I have come to a point where I am able to get the reponses posted by the business partners.
    Now I would like to update the BP's directly when they respond. The challenge here is I want to update both Marketing attribute and Customer master.
    Is this possible with standard function modules. I am using version 4.0. Please let me know.
    Regards,
    Hemanth

    Hello Hemanth,
    Check my last response in the below thread, it could be a reason.
    update marketing attributes in BP via survey
    Thanks
    Raja Pamireddy
    CRM Marketing Forum Moderator.

  • API/package/procedure/function for updating physical attributes in Org/Mast

    I need some kind of procedure or function for updating the weight, volume, and dimensions in the organization and master items forms. We have almost 350,000 items and I want to update them in batch. Is there an API of some kind for this? I would do a simple update but I want to make sure there's no additional logic necessary (other tables that are updated during the process of updating those fields, etc).
    Thanks!

    here is for API's you need to check...
    You can use Decimal & UOM Quantity API
    These APIs are used to handle item decimal quantities:
    Convert from one UOM to another
    Validate quantities at input time
    Validate quantities at display/output time
    Quantity Comparison
    Get UOM information
    For your convenience, I am giving you the API as below:
    /*===========================================================================+
    | Copyright (c) 1999 Oracle Corporation |
    | Redwood Shores, California, USA |
    | All rights reserved. |
    +===========================================================================*/
    /*-----------------------------------------------------------------------+
    |This package contains procedures relevent to item decimal quantity |
    |processing. This package contains routines to: |
    |(1)validate item quantities based on UOM and decimal precision rules |
    |(2)validate whether the UOM controls and decimal precision rules |
    | themselves are correct based on functionality planned. For reviewing|
    | UOM and decimal quantity functional design details, please visit the|
    | following URL: |
    | "http//apps-us.oracle.com/inv/development/designs_120/ |
    | decimal_precision/decimal_precision.html" |
    |But here are a few basics to give background context: |
    | |
    | "Item Quantity" -- The item's quantity is described by the item |
    | identifier, the unit of measure (e.g. grams, kilos, etc), and a |
    | number value to indicate the amount in that unit of measure. |
    | |
    | "Unit of Measure" -- Units of measure belong to unit of measure |
    | classes(e.g. weight, volume, length, etc). Each unit of measure class|
    | has actual units of measure that belong to that class (e.g. the |
    | weight class may have units of measures like, "grams", "kilos", etc).|
    | |
    | "UOM Conversion" --Users can set up conversion rates between UOMs in |
    | them same UOM class, by defining conversions to the base UOM. These |
    | are standard conversions. Item-level intra-class conversions may also|
    | be defined. When doing intra-class conversions, item-level |
    | intra-class conversions are used first if defined, and then standard |
    | conversions are used. |
    | Users can define inter-class conversions. Inter-class Conversions may|
    | also be defined at the lot/sublot levels. For inter-class conversions|
    | sublot, lot, and then item inter-class conversions will be used in |
    | in order. If lot-lvel conversion is not defined, then item-level |
    | conversion is used. A strict hierarchy is imposed. |
    | |
    | "TU" -- Trasactable Unit.A UOM may have a TU. This implies |
    | that when transacting in this UOM, any item's quantities will be |
    | forced to be integer multiples of this TU quantity. The TU may also |
    | be declared at the item level. The TU quantity at the item level may |
    | be different from the UOM level TU, and if defined, item level TU |
    | takes precedance. |
    | |
    | "Decimal Precision"--Users have a choice of setting decimal precision|
    | at the base UOM for each UOM class. All other UOMs in that class get |
    | get their decimal precisions derived from the base UOM decimal |
    | precision, the converison rate, and TUs, if they are |
    | being used. |
    | |
    | |
    | "Conversion Rate Tolerance" -- This is a tolerance that may be set |
    | when conversion rate cannot be not strictly fixed. Example: |
    | 1 Chicken = 2 pounds (plus or minus 0.7 pounds). This 0.7 pounds is |
    | the conversion rate tolerance. Conversion rate tolerance is only |
    | definable at inter-class UOM conversions, at item or lot/sublot level|
    | |
    | History |
    | 04/08/99 Mansoor Jafri Created Package Spec |
    | 04/26/99 Mansoor Jafri Updated with TU at 3 levels as |
    | opposed to MTU at 2 and atomic at|
    | UOM class level. |
    | 04/29/99 Mansoor Jafri Updated document with lot/sublot |
    | conversions. Also, removed |
    | "atomic" as a separate control, |
    | since this can |
    | implemented as a TU at base UOM |
    | level with an integer quantity. |
    | 05/03/99 Mansoor Jafri Updated the package with sublot |
    | level control. Also, changed name|
    | of DTU to TU, so that it fits |
    | better in the "process" market. |
    | Also, conformed to BOI API stds. |
    +-----------------------------------------------------------------------*/
    SET VERIFY OFF
    WHENEVER SQLERROR EXIT FAILURE ROLLBACK;
    CREATE OR REPLACE PACKAGE inv_decimals_pub AS
    /* $Header: INVDECPS.pls 118.3 99/05/03 18:12:27 mjafri noship $ */
    /*--------------------------------------------------------------------------+
    |Procedure validate_compare_quantities(..)
    |Returns the quantity converted from the first UOM in the second UOM.
    |If quantities in 2 UOMs are already available, then this procedure will
    |compare and validate these quantities based on conversion rates
    |and UOM and decimal qty controls. This procedure may be used to validate
    |scenarios where quatities are entered in dual UOMs. We want to make sure
    |quantities are valid based on conversion, TUs, and conversion
    |rate tolerances.
    |
    |Procedure validate_and_compare(
    |p_api_version_number IN NUMBER, -- version # of API
    |p_init_msg_list IN VARCHAR2, -- whether to initialize list
    |p_inventory_item_id IN NUMBER, -- inventory_item_id
    |p_organization_id IN NUMBER, -- organization_id
    |p_lot_control_code IN NUMBER, -- item's lot control code
    |p_lot_number IN VARCHAR2, -- lot number
    |p_sub_lot_control_code IN NUMBER, --sub lot control code
    |p_sublot_number IN VARCHAR2, -- sublot number
    |p_from_quantity IN NUMBER, -- qty in first UOM
    |p_from_uom_code IN VARCHAR2, -- UOM of fisrt qty
    |p_to_uom_code IN VARCHAR2, -- UOM of second qty
    |p_to_quantity_to_check IN NUMBER, -- qty in second UOM
    |x_resultant_to_quantity OUT NUMBER, -- calculated qty in second UOM
    |x_comparison OUT NUMBER,--Possible values are 1,0,-1,-99
    |x_msg_count OUT NUMBER, -- number of messages
    |x_msg_data OUT VARCHAR2, -- populated,if msg count = 1
    |x_return_status OUT VARCHAR2) -- return status
    |
    |Note: The comparisons are done in base UOM
    | of the UOM class to which the first UOM belongs. x_comparison returns:
    |-1 if from_quantity is less than to_quantity (A < B)
    | 0 if from_quantity is equal to to_quantity (A = B)
    | 1 if from_quantity is greater than to_quantity (A > B)
    | -99 if the validations for the first/second quantity failed
    | If the UOMs belong to different classes, then users can specify whether
    | they want to use the effective interclass UOM conversion tolerance, say, T.
    | CASE: p_use_interclass_tolerance = 1
    | ------
    | Q1 > Q2 if (Q1 - Q2) >= T
    | Q1 = Q2 if ABS(Q1 - Q2) < T
    | Q1 < Q2 if (Q1 - Q2 ) <= -T
    |
    |The output variable x_resultant_to_quantity will contain the converted
    |quantity
    |in the second UOM, using effective conversion rates.
    |Usage: In a dual UOM scenario, this api will confirm whether quantities in
    |the two UOMs are equal or not, based on x_comparison output variable.
    +--------------------------------------------------------------------------*/
    Procedure validate_compare_quantities(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCHAR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    p_from_quantity IN NUMBER,
    p_from_uom_code IN VARCHAR2,
    p_to_uom_code IN VARCHAR2,
    p_to_quantity_to_check IN NUMBER,
    x_resultant_to_quantity OUT NUMBER,
    x_valid_conversion OUT NUMBER,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2);
    /*--------------------------------------------------------------------------+
    |Function convert_UOM(..) return NUMBER ;
    |Returns the quantity converted from the first unit into the second unit.
    |If conversion is not possible, return status is failure.
    |Function convert(
    |p_api_version_number IN NUMBER,
    |p_init_msg_list IN VARCHAR2, -- whether to initialize list
    |p_inventory_item_id IN NUMBER, -- inventory_item_id
    |p_organization_id IN NUMBER, -- organization_id
    |p_lot_control_code IN NUMBER, -- item's lot control code
    |p_lot_number IN VARCHAR2, -- lot number
    |p_sub_lot_control_code IN NUMBER,
    |p_sublot_number IN VARCHAR2,
    |p_from_quantity IN NUMBER, -- qty in first UOM
    |p_from_uom_code IN VARCHAR2, -- UOM of fisrt qty
    |p_to_uom_code IN VARCHAR2, -- UOM of second qty
    |x_msg_count OUT NUMBER,
    |x_msg_data OUT VARCHAR2,
    |x_return_status OUT VARCHAR2)
    | return NUMBER ;
    |If there is an error, then -99 is returned.
    |1) From_quantity must be an absolute value.
    |2) From_quantity will be truncated to decimal precision in the from UOM, then
    | converted to base UOM in the class,
    |3) Then converted to base UOM of the
    | to_UOM class,
    |4) Then converted to the quantity in to_UOM,
    |5) Then truncated to decimal precision of the to_UOM.
    +--------------------------------------------------------------------------*/
    Function convert_UOM(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCHAR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    p_from_quantity IN NUMBER,
    p_from_uom_code IN VARCHAR2,
    p_to_uom_code IN VARCHAR2,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2) return NUMBER ;
    /*--------------------------------------------------------------------------+
    | get_uom_properties(..)
    | This procedure is used to interrogate the UOM.
    | It returns:
    | (1) decimal precision at the UOM level
    | (2) TU, if defined, at the UOM level
    | (3) Atomicity, if defined for the class that this UOM belongs to
    | If some of the controls are not defined, null values are returned.
    | if the UOM is not found, the return status indicates this.
    | Procedure get_uom_properties(
    | p_api_version_number IN NUMBER,
    | p_init_msg_list IN VARCHAR2,
    | p_uom_code IN VARCHAR2,
    | x_decimal_precision OUT NUMBER,
    | x_uom_TU OUT NUMBER,
    | x_uom_class OUT VARCHAR2,
    | x_msg_count OUT NUMBER,
    | x_msg_data OUT VARCHAR2,
    | x_return_status OUT VARCAHR2);
    +--------------------------------------------------------------------------*/
    Procedure get_uom_properties(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_uom_code IN VARCHAR2,
    x_decimal_precision OUT NUMBER,
    x_uom_TU OUT NUMBER,
    x_uom_class OUT VARCHAR2,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCAHR2);
    /*-------------------------------------------------------------------------+
    | get_item_uom_properties(..)
    | This procedure returns a specific item's primary UOM, TU, and tolerance
    | Procedure get_item_uom_properties(
    | p_api_version_number IN NUMBER,
    | p_init_msg_list IN VARCHAR2,
    | p_inventory_item_id IN NUMBER,
    | p_organization_id IN NUMBER,
    | p_lot_control_code IN NUMBER, -- item's lot control code
    | p_lot_number IN VARCHAR2,
    | p_sub_lot_control_code IN NUMBER,
    | p_sublot_number IN VARCHAR2,
    | x_primary_uom_code OUT VARCHAR2,
    | x_uom_class OUT VARCHAR2,
    | x_decimal_precision OUT NUMBER,
    | x_item_TU OUT NUMBER,
    | x_uom_TU OUT NUMBER,
    | x_effective_TU OUT NUMBER,
    | x_msg_count OUT NUMBER,
    | x_msg_data OUT VARCHAR2,
    | x_return_status OUT VARCHAR2 );
    | If the item is not a valid one, then this is reflected through the
    | return status.
    +-------------------------------------------------------------------------*/
    Procedure get_item_uom_properties(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCHAR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    x_primary_uom_code OUT VARCHAR2,
    x_uom_class OUT VARCHAR2,
    x_decimal_precision OUT NUMBER,
    x_item_TU OUT NUMBER,
    x_class_TU OUT NUMBER,
    x_uom_TU OUT NUMBER,
    x_effective_TU OUT NUMBER,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2 );
    /*-------------------------------------------------------------------------+
    | Procedure compare_quantities(..)
    | Procedure compare_quantities(
    | p_api_version_number IN NUMBER,
    | p_init_msg_list IN VARCHAR2,
    | p_inventory_item_id IN NUMBER,
    | p_organization_id IN NUMBER,
    | p_lot_control_code IN NUMBER,
    | p_lot_number IN VARCHAR2,
    | p_sub_lot_control_code IN NUMBER,
    | p_sublot_number IN VARCHAR2,
    | p_fisrt_qauantity IN NUMBER,
    | p_first_uom IN VARCHAR2,
    | p_second_quantity IN NUMBER,
    | p_second_uom IN VARCHAR2,
    | p_use_interclass_tolerance IN VARCHAR2, -- Yes = 1, 2 = No
    | x_comaprison_result OUT NUMBER,
    | x_msg_count OUT NUMBER,
    | x_msg_data OUT VARCHAR2,
    | x_return_status OUT VARCHAR2);
    |
    | This procedure compares the quantities A and B and returns result in the
    | output variable x_comparison_result. The comparisons are done in base UOM
    | of the UOM class to which the first UOM belongs:
    |-1 if quantity A is less than quantity B (A < B)
    | 0 if quantity A is equal to quantity B (A = B)
    | 1 if quantity A is greater than quantity B (A > B)
    | If the UOMs belong to different classes, then users can specify whether
    | they want to use interclass UOM conversion tolerance, say, T.
    | CASE: p_use_interclass_tolerance = 1
    | ------
    | Q1 > Q2 if (Q1 - Q2) >= T
    | Q1 = Q2 if ABS(Q1 - Q2) < T
    | Q1 < Q2 if (Q1 - Q2 ) <= -T
    +------------------------------------------------------------------------*/
    Procedure compare_quantities(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCAHR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    p_fisrt_qauantity IN NUMBER,
    p_first_uom IN VARCHAR2,
    p_second_quantity IN NUMBER,
    p_second_uom IN VARCHAR2,
    p_use_interclass_tolerance IN VARCHAR2,
    x_comaprison_result OUT NUMBER,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2);
    /*-----------------------------------------------------------------------+
    | Procedure Validate_Quantity(
    | p_api_version_number IN NUMBER,
    | p_init_msg_list IN VARCHAR2,
    | p_inventory_item_id IN NUMBER,
    | p_organization_id IN NUMBER,
    | p_lot_control_code IN NUMBER,
    | p_lot_number IN VARCHAR2,
    | p_sub_lot_control_code IN NUMBER,
    | p_sublot_number IN VARCHAR2,
    | p_input_quantity IN NUMBER,
    | p_UOM_code IN VARCHAR2,
    | x_msg_count OUT NUMBER,
    | x_msg_data OUT VARCHAR2,
    | x_return_status OUT VARCHAR2);
    |
    | Validates and returns the quantity in this manner (the caller does not need
    | to adjust the result):
    | 0. Truncate to and validate decimal precision
    | 1. Validate quantity with respect to TU controls.
    +-------------------------------------------------------------------------*/
    Procedure Validate_Quantity(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCAHR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    p_input_quantity IN NUMBER,
    p_UOM_code IN VARCHAR2,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2);
    /*------------------------------------------------------------------------+
    | Function Truncate_Quantity(
    | p_api_version_number IN NUMBER,
    | p_init_msg_list IN VARCHAR2,
    | p_inventory_item_id IN NUMBER,
    | p_organization_id IN NUMBER,
    | p_lot_control_code IN NUMBER,
    | p_lot_number IN VARCHAR2,
    | p_sub_lot_control_code IN NUMBER,
    | p_sublot_number IN VARCHAR2,
    | p_input_quantity IN NUMBER,
    | p_UOM_code IN VARCHAR2,
    | x_msg_count OUT NUMBER,
    | x_msg_data OUT VARCHAR2,
    | x_return_status OUT VARCHAR2) return NUMBER;
    |
    | Truncates the quantity to decimal precision of the UOM.
    | In case of error conditions, -99 is returned.
    +------------------------------------------------------------------------*/
    Function Truncate_Quantity(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCHAR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    p_input_quantity IN NUMBER,
    p_UOM_code IN VARCHAR2,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2) return NUMBER;
    * show errors package INV_DECIMALS_PUB
    * SELECT to_date('SQLERROR') FROM user_errors
    * WHERE name = 'INV_DECIMALS_PUB'
    * AND type = 'PACKAGE';
    commit;
    exit;

  • Tables for the marketing attributes

    Hi Experts
    I want to know in which table marketing attributes data are saved
    sri

    Sri,
    The easiest way to retrieve this data is the following:
    Use the function module CRM_MKTBP_READ_BP_DATA to get the values set for a particular business partner.  You will need to pass in the guid of the business partner and the name of profile set  The exporting parameters should be IV_BP_GUID and IV_PROFILE_TEMPLATE_ID respectively.
    You will then get a table returned called ET_ALLOCVALUES to retrieve those values.
    To get the "meta-data" of an attribute set you can call the function module CRM_MKTPFTPL_READ.  You will need to pass in the attribute set name and then you will receive the ET_ATTRIBUTES which contains the meta data for that attribute set.
    This method is a lot eaiser than trying to read the tables directly in system, which is a really not a good idea in CRM, as you should use the BAPI's/API's instead.
    To update attribute set values for a business partner use the function module:
    CRM_MKTBP_CHANGE_BP
    Take care,
    Stephen

  • How  to update marketing attributes in sap crm 7.0

    hi sap gurus,
    I want to understand how to update the marketing attributes in sap crm, basically I want the logic to update the marketing attributes in the system. which tables I should verify & then I need to write an abap program  to update/modify the marketing attributes.I know the beginning validations,  the bu_group =zul1-outlet master from but000 table , after that I am stuck up with the logic. I know the field which  I need to update: in table cabnt, atinn field.
    Edited by: packframe2585 on Feb 23, 2012 7:47 AM

    Hi,
    i´m using FM CRM_MKTBP_MAINTAIN_OW. But this is also not very good from a performance point of view.
    Kind regards
    Manfred

  • User interface for updating/adding attributes in OID

    Hello,
    I have not done the develop work in OAS10g (web, oid, +) though I have years experiences as DBA in OAS and Oracle database servers.
    I need to develop a user interface for users to add or update the user's attributes such as sn, manager etc.
    The IDM system is working in prod: OAS 10g r2, installed (upgraded to) with infrastructure and oid 10.1.4.3.
    OID: user attributes have been loaded with: CN, UID, mail and etc.
    The requirement
    User interface: an app based Ohttp web 10g
    I'd like the interface works like:
    The user accessing the web interface, is prompted with UID and mail. if the user correctly fills the fields, then will be prompted with the attributes which user can add or update.
    Because I have Not done any development in OAS (web, oid), I need know what skills I need to aquire. ANd how should I proceed?
    I may know the skills would be Ohttp development and OID API (LDAP), but I need these be specific as much as possible.
    Can any point the direction with examples and docs?
    TIA
    GA

    ajaybabu007 wrote:
    For managing the user related activities (create,update,lock,unlock,delete and so on) through an Web UI interface can be administrated with the Oracle Identity Management Self Service Console (http://infra_host_name:7777/oiddas) which is an inbuild component of OID/OSSO. Please provide orcladmin/<password> credentials for accessing this Web UI.
    ---ABP thanks.
    1) the app for user to add/update the attributes. we cannot give orcladmin to them
    2) though the users as their own can access the oiddas, there are only limit of user info could be updated, which cannot serve the attributes we customized and loaded in OID.

  • External list not updating on published page

    I have a problem with adding an external list on a page.
    I have created an external content type in SharePoint Designer och created an External list from it. The list shows and updates as it should.
    When I add an external list web part to a page and check in the page it works as well. But when I publish the page, the web part doesn't update to show the result. It just shows the updating icon. I have tested with pages that do not require publishing and
    everything works just fine.
    Have anyone experienced this? Is it a bug?

    If you edit the web part, in the properties pane there is a AJAX Options section. Disable the first option and you would be good to go. You may explore these options further if you are interested.
    Hope that helps.
    MAK

  • BCS Connectivity to access External List for FBA

    Hi,
    I am facing an issue while connecting the External List created for External Users(FBA).My requirement is to display the External list data for External users,So for that i Have configure FBA and throught BCS i am trying to display the External list.
    But the issue which i am facing here is on click of External List created in designer I am getting Error Access denied for domain\username.As i know if my SQL is on different server I need to use Secure store service to get the Application ID and map it
    to database.I also tried  with these approach still i am getting the same Access denied error.
    Please help me if any one has overcome with same issue.
    Thanks Regards,
    Simanchal

    Hi Simanchal,
    Whether this issue occurred for internal user.
    Please check whether you set access on the BCS object that you created. Go to Central Administration -> Application Management -> Manage Service Applications -> Business Data Connectivity Service* -> [Your Entity] -> Set Permissions.
    If the above solution doesn’t work, please set Metadata Store Permissions on the BCS object, compare the result.
    There is a link for your reference:
    http://stackoverflow.com/questions/4168309/sharepoint-bcs-sss-help-needed
    If this issue still exists, please check the log file to find more information about this issue. The path of the log file is : C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Marketing Attributes not updating in BP through Suvery

    Hi friends,
    I m working in CRM 5.0, i want to update marketing attribute of BP using survey response, i have created survey which include marketing attributes, in survey setting i have maintained
    Callback to PBO    CRM_MKTBP_SVY_ATTRIBUTE_PBO
    Callback to PAI      CRM_MKTBP_SVY_ATTRIBUTE_PAI
    further i have generated survey url using BSP option, next i have assign this survey url  to  mail form, Customers/BPs can open the mail and able to fill the survey successfully, but when i checked in master data of BP no marketing attributes are assign to them(Marketing attributes are not updating).
    Please help me to resolve this,do  i will have to add marketing attribute anywhere in FM code ?? i have also read sap note : 638320 but no success.
    Thanks,
    Vivan

    Hello together,
    I would like to describe my own problem with updating Marketing Attributes in a Business Partner via a CRM Survey.
    Currently I am working with SAP CRM 7.0 EHP1. The Survey is maintained in SAP Survey Suite in the Application "Marketing".
    Furthermore I am using the following function modules:
    Callback to PBO CRM_MKTBP_SVY_ATTRIBUTE_PBO
    Callback to PAI CRM_MKTBP_SVY_ATTRIBUTE_PAI
    The Marketing Attributes should be updated within a Contact. This contact have assigned the role "Internet User". Behind this role I have defined my CRM User name.
    For testing the Attribute update I have generated an URL with BSP. Afterwards I opened this URL and logged in with my CRM User name. After filling in the survey and submitting no business partner were updated. It seems that the "conversion" from my CRM User to the CRM contact doesn't work. I think there could be a problem with the PBO and PAI modules. Because the functionality "Evaluation" within the Survey Suite shows a number of evaluated questionnaires and answers after submitting my survey.
    So my questions:
    Are the mentioned PBO and PAI modules up to date? (Last change date was in 2005)
    Is the Application "Marketing" within the SAP Survey Suite the correct one?
    I would be glad if anyone could give me tip for my problem. Thanks a lot and best regards,
    Oliver

  • Survey Response for Marketing Attributes

    Hello,
    I have an e-mail that is sent out as part of a campaign. This e-mail includes a hyperlink to a website that displays the contacts Marketing attributes preferences.
    This survey correctly pulls out each contacts currnt preferences for their marketing attributes.
    When extra attributes are chosen on the survey and that survey is saved, the marketing attributes are not updated on the business partner record.
    Is there anything extra that needs implementing to update a contacts marketing attributes when they respond by submitting the survey?
    Regards
    David

    Thanks Mike.
    Can I ask which callback function modules you are selecting for the PBO and PAI?
    I have tried:
    CRM_MKTCA_SURVEY_MKT_PBO
    CRM_MKTCA_SURVEY_MKT_PAI
    and
    CRM_SVY_ACTIVITY_PBO
    CRM_MKTBP_SVY_ATTRIBUTE_PAI
    Neither have worked.
    Regards
    David

Maybe you are looking for

  • Iphoto fails to render files for export to certain folders after upgrade

    I just upgraded to Yosemite and the latest version of iPhoto but I now unfortunately get an error message when I try to export photos. It seems to work if I export to the main Documents folder but fails if I try to export to a sub folder of the main

  • Hi i have problem in my account

    hi i have problem in my account I Tsat secret question for the account and I want to use in the procurement process from iTunes didnot  send email to Rest

  • [SOLVED] 'scanimage' complaining about dbus, xsane won't scan

    I tried using xsane (and scanimage) with my HP Deskjet 4140, and xsane just crashes, while scanimage aborts with the following error: process 9532: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus

  • BOR object cannot use function module as method

    Hi All, I have a function module with an import parameter referring to data element DE_ABC. BOR indicates that it doesn't support this data type. However, if I define a DB table with a field whose type is DE_ABC and use that field as reference in FM

  • Java processes

    Dear all, I am using Oracle 10.2.0.3 on Linux. When I do ps -ef on the server I see a lot of java process spawned. There are so jobs or anything running which executes any java processes. Then why is it so. Please help. Regards SL