Lord 2 Api - Custom field on Item not updating in ECC

Hi All
I have a customer field in erp that I need to get populated from crm.
I have added the field to the additional data b section in vao1.
I have added the field to the TDS_ITEM_COMC and  TDS_ITEM_COMV
I have added the screen to the lord mapping table under ITEM, and I have have enabled "Automatic Field Transport".
I have updated the badi BADI_LORD_DO_PAI method Add_supply_LIST with the following code
IF iv_object_id EQ 'ITEM'.
     CLEAR ls_supply.
     ls_supply-field = 'ZZADTV'.
     ls_supply-check = 'N'.
     APPEND ls_supply TO ct_supply.
   ENDIF.
My field is being populated from CRM and is being passed through to r3.  I know this because I debugged  the function module erp_lord_get_item_multi
and I can see the correct value for my field, and there are no errors reported.
Any one got any ideas.
I have done this for a customer field on at header level and it works.
Thanks
Darren

Hello Darren,
     Please find the screenshots describing the way how it was done by me. Hope this will help you.
The field Application is a Z field added and mapped with ECC.
ZZAFLD00004M is the Field Name
Communication Structures
LORD_MAPPING table
Field in the Screen (Additional Data B ) of VA21/VA22 etc
Field in VBAP
BAdi's which were implemented

Similar Messages

  • RPM - Custom Fields at Item not getting saved

    Hi,
    I have defined custom fields on RPM Item in the general view. The value is being populated from standard field into these fields. These custom fields are display fields.
    When I save the item the fields are populated with values but these values are not refreshed on the dashboard.
    But when I go back to the item and make some changes in the Item and save, these custom fields values are refreshed on the Dashboard.
    Is there a way to resolve this issue ? I want to have the values getting refreshed immediately on the dashboard without having to go back and make changes in other Item attributes to make these fields refreshed.
    regards,
    Amit

    Hi Amit,
    Please implement the note 1496764 - Item Dashboard Refresh after Editing an Item
    It should resolve the issue.
    Regards
    Amit

  • Custom Fields in BSEG not updating on FI document post

    Hello Experts
    I'm facing a problem when posting FI documents. I'm using BAPI_ACC_DOCUMENT_POST and passing some Z fields using Table Extension2 (bapiparex). The problem is that the Z fields are not getting updated.
    BADI_ACC_DOCUMENT is implemented and working. In debug, I can see that the BADI is working as it should. Furthermore, It was already working for older developments in the same machine.
    This problem is only happening in Development machine (DEV). In Quality machine (QAS) everything is working fine. Because my program is still in development, I can't transport it to QAS to see if it works there.
    The problems are now the following:
    - Older developments aren't updating the Z fields in BSEG
    - My new development isn't updating Z fields in BSEG
    - Manual posting in FB01 updates the fields
    What I have done so far:
    - Checked my program codding (it's ok)
    - Checked BAPI BADI_ACC_DOCUMENT (it's also ok)
    - Checked all user exits being used on this machine that could be clearing this fields - In all of the implemented exits, none of them refers to this problem
    - Checked all implemented BTE's  - In all of the implemented BTE's, none of them refers to this problem
    - Searched for differences between SAP releases on DEV and QAS machines - All components have the same release
    - Checked for differences (activation, structure, source code, etc) of structure bapicobl_ci, ci_cobl, table bseg, BADI's being used, etc...
    What am I missing here? I think I have done everything that could explain this behavior and still have no answers...
    Thanks in advance, best regards,
    João Argêncio

    Hi,
    in BAPI_ACC_DOCUMENT_POST there is a part
        PERFORM call_customer_function
                TABLES extension1.
                                                                                    PERFORM call_badi
                TABLES extension2.
    for the extensions. Seems that there has to be filled a BADI implementation too to get the extension2 data into bseg.
    BADI interface is IF_EX_ACC_DOCUMENT, used method should be method CHANGE.
    Regards,
    Klaus
    Edited by: Klaus Babl on Apr 1, 2011 11:54 AM

  • Cannot update delivery attributes: the following field(s) are not updatable

    Hi. I create in EBS simple Order
    Now , my goal is to create a delivery , pick , change shipping quantity and ship confirm. Here is my code
    DECLARE
    p_sales_order NUMBER := 10014445;
    p_line_number NUMBER := 1.1;
    p_org_id NUMBER := 308;
    l_shipped_quantity NUMBER := 5;
    p_api_version_number NUMBER := 1.0;
    init_msg_list VARCHAR2(200);
    l_commit VARCHAR2(30);
    x_msg_details VARCHAR2(3000);
    x_msg_summary VARCHAR2(3000);
    x_return_status VARCHAR2(3);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(3000);
    p_validation_level NUMBER;
    v_errbuf VARCHAR2(2000);
    v_retcode VARCHAR2(20);
    v_released_status wsh_delivery_details.released_status%TYPE;
    v_inv_interfaced_flag wsh_delivery_details.inv_interfaced_flag%TYPE;
    v_oe_interfaced_flag wsh_delivery_details.oe_interfaced_flag%TYPE;
    v_source_code wsh_delivery_details.source_code%TYPE;
    v_pending_interface_flag wsh_trip_stops.pending_interface_flag%TYPE;
    l_changed_attributes wsh_delivery_details_pub.changedattributetabtype;
    l_source_code VARCHAR2(30) := 'OE';
    -- Parameters for WSH_DELIVERIES_PUB
    p_delivery_name VARCHAR2(30);
    p_action_code VARCHAR2(15);
    p_asg_trip_id NUMBER;
    p_asg_trip_name VARCHAR2(30);
    p_asg_pickup_stop_id NUMBER;
    p_asg_pickup_loc_id NUMBER;
    p_asg_pickup_loc_code VARCHAR2(30);
    p_asg_pickup_arr_date DATE;
    p_asg_pickup_dep_date DATE;
    p_asg_dropoff_stop_id NUMBER;
    p_asg_dropoff_loc_id NUMBER;
    p_asg_dropoff_loc_code VARCHAR2(30);
    p_asg_dropoff_arr_date DATE;
    p_asg_dropoff_dep_date DATE;
    p_sc_action_flag VARCHAR2(10);
    p_sc_intransit_flag VARCHAR2(10);
    p_sc_close_trip_flag VARCHAR2(10);
    p_sc_create_bol_flag VARCHAR2(10);
    p_sc_stage_del_flag VARCHAR2(10);
    p_sc_trip_ship_method VARCHAR2(30);
    p_sc_actual_dep_date VARCHAR2(30);
    p_sc_report_set_id NUMBER;
    p_sc_report_set_name VARCHAR2(60);
    p_sc_defer_interface_flag VARCHAR2(60);
    p_sc_send_945_flag VARCHAR2(60);
    p_sc_rule_id NUMBER;
    p_sc_rule_name VARCHAR2(60);
    p_wv_override_flag VARCHAR2(10);
    p_asg_pickup_stop_seq NUMBER;
    p_asg_dropoff_stop_seq NUMBER;
    x_trip_id VARCHAR2(30);
    x_trip_name VARCHAR2(30);
    fail_api EXCEPTION;
    x_debug_file VARCHAR2(100);
    l_ship_method_code VARCHAR2(100);
    l_user_id NUMBER;
    l_resp_id NUMBER;
    l_appl_id NUMBER;
    CURSOR c_ord_details IS
    SELECT DISTINCT det.source_header_number sales_order,
    det.org_id,
    det.source_line_number,
    det.source_header_id,
    det.source_line_id,
    det.source_header_type_name,
    det.inventory_item_id,
    det.requested_quantity,
    det.delivery_detail_id,
    (SELECT concatenated_segments
    FROM mtl_system_items_kfv
    WHERE inventory_item_id = det.inventory_item_id
    AND organization_id = det.organization_id) ordered_item,
    det.organization_id,
    det.src_requested_quantity,
    det.shipped_quantity,
    del.delivery_id,
    del.status_code delivery_status_code,
    det.released_status pick_release_status,
    det.oe_interfaced_flag,
    det.inv_interfaced_flag
    FROM wsh_delivery_details det,
    wsh_delivery_assignments asn,
    wsh_new_deliveries del
    WHERE 1 = 1
    AND det.delivery_detail_id = asn.delivery_detail_id
    AND asn.delivery_id = del.delivery_id(+)
    AND det.source_header_number = 1199656
    AND det.source_line_number = '1.1'
    AND det.org_id = 10102
    AND shipped_quantity IS NULL
    AND NVL(del.status_code, 'OP') <> 'CL'
    and det.delivery_detail_id =21439836
    /* AND det.released_status = 'Y'*/;
    BEGIN
    -- Initializing the Applications
    SELECT user_id INTO l_user_id FROM fnd_user WHERE user_name = 'MSHAPIRA';
    SELECT responsibility_id, application_id
    INTO l_resp_id, l_appl_id
    FROM fnd_responsibility_vl
    WHERE responsibility_name = 'OM Super User - UDS UK';
    fnd_global.apps_initialize(l_user_id, l_resp_id, l_appl_id);
    FOR i IN c_ord_details LOOP
    DBMS_OUTPUT.put_line('Initializing the Application for Shipping Transactions');
    -- Mandatory initialization for R12
    mo_global.set_policy_context('S', i.org_id);
    mo_global.init;
    -- Ship Confirming
    p_delivery_name := TO_CHAR(i.delivery_id);
    DBMS_OUTPUT.put_line('Before Shipping, Calling WSH_DELIVERY_DETAILS_PUB API to Update Shipping Attributes');
    DBMS_OUTPUT.put_line('=============================================');
    l_changed_attributes(1).delivery_detail_id := i.delivery_detail_id;
    l_changed_attributes(1).shipped_quantity := 5;
    wsh_delivery_details_pub.update_shipping_attributes(p_api_version_number => 1.0,
    p_init_msg_list => init_msg_list,
    p_commit => l_commit,
    x_return_status => x_return_status,
    x_msg_count => x_msg_count,
    x_msg_data => x_msg_data,
    p_changed_attributes => l_changed_attributes,
    p_source_code => l_source_code);
    IF (x_return_status <> wsh_util_core.g_ret_sts_success) THEN
    RAISE fail_api;
    DBMS_OUTPUT.put_line('Failed to Update the Shipping Attributes');
    ELSE
    DBMS_OUTPUT.put_line('Successfully Updated the Shipping Attributes');
    END IF;
    BEGIN
    SELECT shipping_method_code
    INTO l_ship_method_code
    FROM oe_order_headers_all
    WHERE order_number = i.sales_order
    AND org_id = i.org_id;
    EXCEPTION
    WHEN OTHERS THEN
    l_ship_method_code := NULL;
    END;
    p_action_code := 'CONFIRM'; -- The action code for ship confirm
    p_sc_action_flag := 'S'; -- Ship entered quantity.
    p_sc_intransit_flag := 'Y';
    --In transit flag is set to 'Y' closes the pickup stop and sets the delivery in transit.
    p_sc_close_trip_flag := 'Y'; -- Close the trip after ship confirm
    p_sc_trip_ship_method := l_ship_method_code; -- The ship method code
    p_sc_defer_interface_flag := 'Y';
    p_sc_stage_del_flag := 'Y';
    p_sc_create_bol_flag := 'N';
    p_wv_override_flag := 'N';
    -- API Call for Ship Confirmation
    DBMS_OUTPUT.put_line('Calling WSH_DELIVERIES_PUB to Perform Ship Confirmation');
    DBMS_OUTPUT.put_line('=============================================');
    wsh_deliveries_pub.delivery_action(p_api_version_number => 1.0,
    p_init_msg_list => init_msg_list,
    x_return_status => x_return_status,
    x_msg_count => x_msg_count,
    x_msg_data => x_msg_data,
    p_action_code => p_action_code,
    p_delivery_id => i.delivery_id,
    p_delivery_name => p_delivery_name,
    p_asg_trip_id => p_asg_trip_id,
    p_asg_trip_name => p_asg_trip_name,
    p_asg_pickup_stop_id => p_asg_pickup_stop_id,
    p_asg_pickup_loc_id => p_asg_pickup_loc_id,
    p_asg_pickup_stop_seq => p_asg_pickup_stop_seq,
    p_asg_pickup_loc_code => p_asg_pickup_loc_code,
    p_asg_pickup_arr_date => p_asg_pickup_arr_date,
    p_asg_pickup_dep_date => p_asg_pickup_dep_date,
    p_asg_dropoff_stop_id => p_asg_dropoff_stop_id,
    p_asg_dropoff_loc_id => p_asg_dropoff_loc_id,
    p_asg_dropoff_stop_seq => p_asg_dropoff_stop_seq,
    p_asg_dropoff_loc_code => p_asg_dropoff_loc_code,
    p_asg_dropoff_arr_date => p_asg_dropoff_arr_date,
    p_asg_dropoff_dep_date => p_asg_dropoff_dep_date,
    p_sc_action_flag => p_sc_action_flag,
    p_sc_intransit_flag => p_sc_intransit_flag,
    p_sc_close_trip_flag => p_sc_close_trip_flag,
    p_sc_create_bol_flag => p_sc_create_bol_flag,
    p_sc_stage_del_flag => p_sc_stage_del_flag,
    p_sc_trip_ship_method => p_sc_trip_ship_method,
    p_sc_actual_dep_date => p_sc_actual_dep_date,
    p_sc_report_set_id => p_sc_report_set_id,
    p_sc_report_set_name => p_sc_report_set_name,
    p_sc_defer_interface_flag => p_sc_defer_interface_flag,
    p_sc_send_945_flag => p_sc_send_945_flag,
    p_sc_rule_id => p_sc_rule_id,
    p_sc_rule_name => p_sc_rule_name,
    p_wv_override_flag => p_wv_override_flag,
    x_trip_id => x_trip_id,
    x_trip_name => x_trip_name);
    IF (x_return_status <> wsh_util_core.g_ret_sts_success) THEN
    DBMS_OUTPUT.put_line('Ship confirm has not been Completed For SO => ');
    ROLLBACK;
    RAISE fail_api;
    ELSE
    DBMS_OUTPUT.put_line('Ship confirm Successfully Completed For SO => ');
    COMMIT;
    DBMS_OUTPUT.put_line('Checking the Delivery Status after delivery action API Call');
    DBMS_OUTPUT.put_line('==========================================');
    SELECT wdd.source_code,
    wdd.released_status,
    wdd.inv_interfaced_flag,
    wdd.oe_interfaced_flag,
    wts.pending_interface_flag
    INTO v_source_code,
    v_released_status,
    v_inv_interfaced_flag,
    v_oe_interfaced_flag,
    v_pending_interface_flag
    FROM wsh_trips wtr,
    wsh_trip_stops wts,
    wsh_delivery_legs wlg,
    wsh_new_deliveries wnd,
    wsh_delivery_assignments wda,
    wsh_delivery_details wdd
    WHERE wtr.trip_id = wts.trip_id
    AND wts.stop_id = wlg.pick_up_stop_id
    AND wts.pending_interface_flag = 'Y'
    AND wdd.inv_interfaced_flag <> 'Y'
    AND wlg.delivery_id = wnd.delivery_id
    AND wnd.delivery_id = wda.delivery_id
    AND wda.delivery_detail_id = wdd.delivery_detail_id
    AND wnd.delivery_id = p_delivery_name
    AND wdd.source_line_id = i.source_line_id;
    IF (v_source_code = 'OE' AND v_released_status = 'C' AND
    v_inv_interfaced_flag <> 'Y' AND v_oe_interfaced_flag <> 'Y' AND
    v_pending_interface_flag = 'Y') THEN
    DBMS_OUTPUT.put_line('The Delivery has been Shipped & the Next Step is - Run Interface');
    DBMS_OUTPUT.put_line('===========================================');
    -- API Call for Submitting Interface Trip Stop
    wsh_ship_confirm_actions.interface_all_wrp(errbuf => v_errbuf,
    retcode => v_retcode,
    p_mode => 'ALL',
    p_stop_id => NULL,
    p_delivery_id => p_delivery_name,
    p_log_level => 0,
    p_batch_id => NULL,
    p_trip_type => NULL,
    p_organization_id => i.organization_id,
    p_num_requests => 1,
    p_stops_per_batch => 1);
    ELSE
    DBMS_OUTPUT.put_line('The Delivery has not Shipped Properly');
    END IF;
    END IF;
    END LOOP;
    EXCEPTION
    WHEN fail_api THEN
    DBMS_OUTPUT.put_line('==============');
    DBMS_OUTPUT.put_line('Error Details If Any');
    DBMS_OUTPUT.put_line('==============');
    wsh_util_core.get_messages(p_init_msg_list => 'Y',
    x_summary => x_msg_summary,
    x_details => x_msg_details,
    x_count => x_msg_count);
    IF x_msg_count > 1 THEN
    x_msg_data := x_msg_summary ||' '||x_msg_details;
    DBMS_OUTPUT.put_line(x_msg_data);
    ELSE
    x_msg_data := x_msg_summary||' '|| x_msg_details;
    DBMS_OUTPUT.put_line(x_msg_data);
    END IF;
    END;
    But at the stage of updating delivery attributes I get the following error message
    Warning: For Delivery Detail 21439836, the following field(s) are not updatable: SHIPPED_QUANTITY.
    Why?

    Hi Paul
    Looks like the authorisation is failing due to a bad registration for some reason.
    Would you be kind enough to clear out the registration to ensure we are dealing with a fresh start and no information is being used which may have become corrupt. You may do this by following this procedure;
    Remove existing reg details
    # usr/lib/cc-ccr/bin/eraseCCRRepository
    List /tmp/RegistrationProfile.properties file
    # cat /tmp/RegistrationProfile.properties
    Attempt re-registration
    # sconadm register -a -r /tmp/RegistrationProfile.properties
    Send us the full output of the commands above if you would please.

  • ME21n: Customer fields in item overview

    Hello,
    is it possible to add customer fields on the item overview in ME2xn?
    We have some customer fields on the article master (Retail) which should be added to EKPO when generating an PO and be visible on the screen on item overview also (view only).
    I know that it is possible to add customer screen with customer fields on item detail level using BAdI's ME_PROCESS_PO_CUST and ME_GUI_PO_CUST, but I would need the fields to be display in the table control.
    Any ideas?
    Thanks for your help!
    Regards,
    Alex

    Hello Chen Jun,
    No we could not solve in ecc5. So I gave the name fix for the dynpro.
    After upgrade to ecc6 I saw that the name was changed to the given in the exit.
    best regards Peter

  • FI Archiving - System error: Customer/vendor line item not on OI basis

    While archiving FI Documetns using object FI_Documnt, I am getting message System error: Customer/vendor line item not on OI basis for few non archivable documents. Is it like these also open items and can not be able to archive them. Or what is the root cause of these error message.
    Regards,
    Shailesh

    Hi Adisha,
    This error pertains to the accounting fundamentals and SAP does not have anything to do with this....you ask yourself that if you were not using SAP and simlar problem came your way what would you have done...this has no solution...
    Either you wait for the next invoice with big amount but which seems bit impractical..
    In this we really need to consult the Accounting Standards to see what it could allow.
    Regards,
    Chintan Joshi

  • Field BKPF-STBLG not updated

    While canceling the commercial as well as excise invoice the field BKPF-STBLG not updated.

    Hi,
    Thanks for your reply.
    I did the changes to the standard sort key 018-Asset Number as per your advise and didnt get the desired outcome.
    Our asset code length is 7 and sub asset length is 1
    So i went to OB16 and added STBLG to the sort key 018, then system says that you can maintain only upto 18 characters.
    So i have made asset number to length to 7 and sub number lengtth to 1 and STBLG length to 10.
    After saving the sort key, i have assigned the same sort key to the all of my asset related GL accounts in company code data under control data tab.
    Now i reversed one asset transfer transaction and checked the BKPF entry. It didnt updated either in sending company code document nor receiving company code's document.
    Please advise me, if i am missing anything.
    But really thankful to you for your intiation.
    Thanks,
    Srinu...

  • Replicating Custom Fields for Products in CRM  from ECC

    Hi All,
    I am having difficulty in replicating SAP standard field values from ECC to custom fields for products in CRM. This is what i did:
    1. I created a new settype(ZMASTER_INFO) with a single attribute(ZIND_STD) and added
        this new settype to MAT_HAWA. (As all our materials fall under this material type).
    2. I am looking to map SAP standard field from ECC to this custom field of mine.
        I wrote the code in CRM BADI 
        'ZPRODUCT_CUSTOMER2->MAP_R3_TO_CRM_MATERIAL' with the following code:
    DATA: ls_ZMASTER_INFO TYPE ZMASTER_INFO_maintain.
    DATA: ls_category_bdoc       TYPE COMT_PROD_CAT_REL_MAINTAIN,
          ls_category            TYPE COMT_PROD_CAT_REL,
          lt_categories          TYPE COMT_PROD_CAT_REL_TAB,
          ls_settype             TYPE COMT_settype_ext,
          ls_cat_settype_rel     TYPE COMT_CAT_FRAG_REL,
          lt_cat_settype_rel     TYPE COMT_CAT_FRAG_REL_TAB,
          lt_cat_settype_rel_all TYPE COMT_CAT_FRAG_REL_TAB.
    LOOP AT lt_cat_settype_rel_all INTO ls_cat_settype_rel.
          CALL FUNCTION 'COM_SETTYPE_READ_SINGLE'
            EXPORTING
              IV_SETTYPE_GUID         = ls_cat_settype_rel-frgtype_guid
            IMPORTING
              ES_SETTYPE              = ls_settype
           EXCEPTIONS
             NOT_FOUND               = 1
             NO_IMPORT_VALUES        = 2
             NO_TEXT_FOUND           = 3 .
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
      CASE ls_settype-frgtype_id.
          WHEN 'ZMASTER_INFO'.
          ls_ZMASTER_INFO-relation-owner = 'X'.
          ls_ZMASTER_INFO-relation-logsys = cs_product_bdoc-header-com_product-logsys.
          ls_ZMASTER_INFO-data-ZZ0010 = is_mara-STD_DESCR.
          ls_ZMASTER_INFO-DATA_X-ZZ0010 = 'X'.
          APPEND ls_ZMASTER_INFO TO cs_product_bdoc-data-ZMASTER_INFO.
          APPEND ls_settype-FRGTYPE_GUID TO cs_product_bdoc-data-MNT_SETTYPE.
       ENDCASE.
    ENDLOOP.
    Since in ECC i am not having any custom fields i did not write any code in ECC for TPS34 and TBE24. I just wrote this BADI in CRM and using the field S_MARA-STD_DESCR.
    I am not sure if i need to write the code in ECC. COUld anyone please confirm if i need the code in ECC?
    Also in the CRM BADI, lt_cat_settype_rel_all is EMPTY. Not sure how this gets its value.
    Could anyone please suggest if i am missing anything here? Any help is appreciated.
    Thanks,
    Karuna.

    Hi Karuna,
    One more solution is to change the BDoc data content before it hit the Database.
    this can be done in badi: Data_Exchange_badi (if u dont find this try with following search string: xchange)
    In the above mention badi you will find a method which is used to populated the contend jst after bdoc in CRM is being populated by R/3 data.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Line item not updated for F-04

    Dear All,
              Previously I have posted a receipt document with Bank account 'A'. The customer line item is cleared already. And I would like to do transfer posting from Bank 'A' account to Bank 'B' account by F-04. But the document number is not available in F-04. In FBL3N the document showed as open item for Bank account 'A'.
    Earlest reply would be invited...
    Thanks...

    Dear All,
             I found out the problem for not updated in F-04. "While create the receipt document in GL master Open item management maintained box was not checked". It can be found in BSIS table - OI Management'.
             Is there any other way to clear this document.
    Thanks...

  • Net Price in PO Item not updating for Item Category "D"

    In purchase order with line item category "D" Service, upon first input of gross price in Service tab, Net Price in line item was updated successfully, but upon changing the gross price again in service tab, Net Price in line item is not updating anymore.
    I am using the condition type MWVS for tax calculation and a custom condition type ZPBX for the computation of Net Price = Gross Price - Tax. For ZPBX I used the calculation routine 82 (xkwert = komp-kzwi2 - xworkg.). For other item category, this is working fine. I am only having a problem in item category "D".
    I tried to debug and found out that upon entering a new gross price in service tab, the system is calculating the routine 82 first before even the gross price from service tab was transferred to the condition in line item. Because of that the routine 82 is calculating with the previous or old value in table KOMP since the gross price from service tab is not yet transfered to this table.
    Can anyone help me with this? What am I doing wrong?
    Thanks!

    Hi,
    Check which condition type used for Service PO pricing. Now use t. code: M/06 and enter that condition type and select check boxes of Amount/percent, Value, Qty Relation in Changes which can be made segment and save.
    Also select check box of u201CQty Conversionu201D in Control-2 segment and save.
    Now create service PO, change Price in service item level and see how NET PRICE changing.
    Regards,
    Biju K

  • Project server 2013----new custom field value is not synced between my work assignment view and project professional

    Hi All,
    I would like to add a new custom enterprise field in project server to caculate the effective work. I hope it can work as the default field "work" and "overtime work". And I add my custome enterprise field to my work assignment and the
    related details view. User can update the values in "my task" but after PM accept the updates, these values are not synced to the project center as well as project professional. Any idea?
    Regards,
    Anna

    Yes, I am saying that the PM cannot see the updated values in the enterprise project in Microsoft Project 2013. It is a task custom field. No errors for it. Would you please help create a task custom field on your side to see whether you can reproduce
    this issue? After creating the field, please add it to the "My task" related views so that project members can update the value for the task when they update the task information under "my tasK" page. After that, open the project plan as
    project manager to see whether you get the updated value. Thanks a lot!
    Regards,
    Anna

  • BAPI_SALESORDER_CHANGE field REF_DOC (VGBEL) not updated

    Hi,
    I use BAPI BAPI_SALESORDER_CHANGE to update link between sales order and contract. It means updated field VGBEL (for VBAK and VBAP)
    It works fine for sales order header : VBAK-VGBEL is updated.
    But it doesn't work for VBAP-VGBEL.
    I have tried to update other fields on vbap with the BAPI and it works fine.
    I copy bellow source code used (it is a test program)
    Do you have any ideas why VGBEL is not updated?
    thanks in advance for your help.
    Luc
    source code:
    REPORT ZLM01 .
    tables vbak.
    Tables and structures used in BAPI
    DATA : wt_order_header_in  LIKE bapisdh1,      " Order Header Fields
           wt_order_header_inx LIKE bapisdh1x.   " Order Header checkbox
    DATA : t_bapiret            LIKE bapiret2   OCCURS 0 WITH HEADER LINE.
    DATA : t_bapiret2           LIKE bapiret2   OCCURS 0 WITH HEADER LINE.
    DATA : s_bapiret2           LIKE bapiret2   OCCURS 0 WITH HEADER LINE.
    DATA : wt_order_item_in    LIKE bapisditm  OCCURS 0 WITH HEADER LINE.
    DATA : wt_order_item_inx   LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
    DATA : wt_partnerchange    LIKE bapiparnrc OCCURS 0 WITH HEADER LINE.
    DATA : wt_schedule_in      LIKE bapischdl  OCCURS 0 WITH HEADER LINE.
    DATA : wt_schedule_inx     LIKE bapischdlx OCCURS 0 WITH HEADER LINE.
    DATA : wt_sales_text       LIKE bapisdtext OCCURS 0 WITH HEADER LINE.
    clear : wt_order_header_in , wt_order_header_inx, t_bapiret2.
    Header
    wt_order_header_inx-updateflag = 'U'.
    wt_order_header_in-refdoc_cat  = 'G'.
    wt_order_header_inx-refdoc_cat = 'X'.
    wt_order_header_in-ref_doc     = '0040001508'.
    wt_order_header_inx-ref_doc    = 'X'.
    *ligne 1
    wt_order_item_in-itm_number  = '000010'.
    wt_order_item_inx-itm_number = '000010'.
    wt_order_item_inx-updateflag = 'U'.
    wt_order_item_in-ref_doc     = '0040001508'.
    wt_order_item_inx-ref_doc    = 'X'.
    wt_order_item_in-ref_doc_it     = '000010'.
    wt_order_item_inx-ref_doc_it    = 'X'.
    append wt_order_item_in.
    append wt_order_item_inx.
    call function 'BAPI_SALESORDER_CHANGE'
         EXPORTING
              salesdocument    = '0000025246'
              order_header_in  = wt_order_header_in
              order_header_inx = wt_order_header_inx
         TABLES
              order_item_in   = wt_order_item_in
              order_item_inx  = wt_order_item_inx
              return           = t_bapiret2.
    loop at t_bapiret2.
    write :/ t_bapiret2.
    endloop.
    call function 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
              wait   = 'X'
         IMPORTING
              return = s_bapiret2.
    move-corresponding s_bapiret2 to t_bapiret.
    append t_bapiret. clear t_bapiret.

    i give one example :
    pass SCHEDULE_LINES .
    REPORT  ZSALESORDER_CHANGE MESSAGE-ID 38.
    Selection Screen Definitions *
    PARAMETERS: p_vbeln TYPE vbap-vbeln OBLIGATORY, "Order Number
    p_posnr TYPE vbap-posnr OBLIGATORY, "Order Item
    p_etenr TYPE vbep-etenr OBLIGATORY, "Schedule Line
    p_reqqty TYPE bapischdl-req_qty OBLIGATORY. " Order Qty
    Internal Tables/Structures/Variables for calling BAPI. *
    DATA: i_hdr TYPE bapisdh1,
    i_hdrx TYPE bapisdh1x,
    i_ret TYPE bapiret2 OCCURS 0 WITH HEADER LINE,
    wa_ret TYPE bapiret2.
    DATA: BEGIN OF i_sched OCCURS 10.
    INCLUDE STRUCTURE bapischdl.
    DATA: END OF i_sched.
    DATA: BEGIN OF i_schedx OCCURS 10.
    INCLUDE STRUCTURE bapischdlx.
    DATA: END OF i_schedx.
    START-OF-SELECTION Event *
    START-OF-SELECTION.
    *" Initialize internal tables.
    REFRESH: i_sched, i_schedx, i_ret.
    CLEAR: i_sched, i_schedx, i_ret.
    *" Fill required ORDER_HEADER_IN data.
    i_hdrx-updateflag = 'U'.
    *" Fill required SCHEDULE_LINES data.
    i_sched-itm_number = p_posnr.
    i_sched-sched_line = p_etenr.
    i_sched-req_qty = p_reqqty.
    i_schedx-updateflag = 'U'.
    i_schedx-itm_number = p_posnr.
    i_schedx-sched_line = p_etenr.
    i_schedx-req_qty = 'X'.
    APPEND i_sched.
    APPEND i_schedx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = p_vbeln
    order_header_in = i_hdr
    order_header_inx = i_hdrx
    TABLES
    return = i_ret
    schedule_lines = i_sched
    schedule_linesx = i_schedx.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT i_ret.
    WRITE / i_ret-message.
    ENDLOOP.

  • Custom Field value is not getting populated in Display mode

    Hi Experts ,
    I have created a custom field on sales tab for BP Role Bill to prty in BP transaction in SAP CRM. The problem i am facing is that , after i chose my sales area field value is not populating in first time no matter whether i am in display or change mode but the moment i switch to the other mode the value is being populated. Kindly help me in solving this.
    Regards,
    Ameet

    Dear Chetan,
    If the field is added through AET, can you please check the Get & Set Methods?
    If the field value has fixed values which you have defined while creating, then check GET_V & GET_P methods.
    Thanks & Kind Regards,
    Ravi Kumar A R

  • Custom field in item Overview and TCVIEW maintainance

    Hi All,
    We have two Z fields appended to VBAP table. As of now we are displaying these dields in additional data B tab of VA01/02/03.
    However, now our requirement is to move these two fields from additional data b to item Overview table where all the line items are displayed.
    If we click the table control icon which is in top right corner and click the administrator button we will se the current field catlog settings however we dont find our custom fields in this list.
    We tried to add these fields in TCVIEW table maintainance generator but these fields are still misssing from the field catalog list.
    Please let me know if i am missing some thing here OR you have other work around for this.
    Regards
    Amit.

    Hi,
    We are facing same problem. Did you add the custom fields in the table control of VA01/02/03.
    If yes could you please let me know?
    Thanks in advance,
    Shravan G.

  • Custom Field in item tablecontrol of VA01/02/03

    Hi all,
    I have a requirement to add a custom field of VBAP (ZZ... field) to the table control (the order item list) of VA01/02/03. Append for VBAP is activated and working.
    Any ideas?
    Thanks in advance
    Holger

    Hi,
    We are facing same problem. Did you add the custom fields in the table control of VA01/02/03.
    If yes could you please let me know?
    Thanks in advance,
    Shravan G.

Maybe you are looking for

  • Error message when saving an modified XL Reporter in Microsoft Excel

    Dear all I have encountered an error message when I tried to save an modified XL report in Excel. The error message is: An error occurred while trying to save the report definition! Object variable or with Block variable not set. The user now is usin

  • Help with HP Instant Ink

    Dec 8, 2014  32 pages     Dec 10, 2014  3 pages     Dec 11, 2014 15 pages     Dec 13, 2014  8 pages I was having problems wth my printer and on Dec 8th kept trying different solutions to print the 32 pages were not usable and now I am close to my pag

  • Using a date filed as a parameter in a subreport Command.

    Post Author: JSC CA Forum: General I understand how create a date field in the master report.  I undertand how to define that field as a "subreport link"  (said subreport has command as it's only "table")  I understand how to "add" a parameter to the

  • Format Date Parameters

    I have an BI Publisher parameter <?P_INVOICE_BEGIN_DATE?> It displays like this: 1988-10-01T00:00:00.000-04:00 How do I display it like this: 01-OCT-1988 Thanks!

  • Create unique filename by auto-incre​ment path

    I needed a program that would take in a pathname, see if the file name already existed at that location, and if so it needed to auto-increment the file name. I wanted it to work the way windows inherently does when you copy a file of the same name in