Extrenal Quantities conversion

Hi Experts,
i have a FlatFile extract that i have to load to PSA.
issue is the Quantity format in this File: we receive 1.000.000 which is in fact 1.000,000
BW is handling this as 1Million and not as 1000.
is there any possibility to convert that in correct format?
thanks,
regards,
Younes

Hello
The best thing to do is to modify your source file.
The proble is that in your source file you can not have the point (.) for separating thousands AND decimals.
Decimals must be with a point separator for loading to a KF number with decimals.
Adjust your file accordingly.
Rgds

Similar Messages

  • Onhand Quantities Conversion API

    Hi all
    Can any one suggest me the API to Convert Onhand quantities from a legacy to Apps 11.5.10?
    Thank you
    Regards,
    Suhasini

    Hi Suhasini
    I didn't get you convert onhand quantities means what.
    To load the Onhand quantities into Oracle you should use the Transactions Open Interface process, Misc. Receipts transactions types.
    Regards/Prasanth

  • Please let me know if the code works.

    When I do the conversion with the following data file,stag table the program doesn't populate the data in the mtl_transactions_interface table and the following error is thrown.
    FDPSTP failed due to ORA-20100: File o0046035.tmp creation for FND_FILE failed.
    Please help.
    create or replace package XX_INV_ONHAND_QTY_PKG
    -- CREATED BY :JHANSI
    -- PURPOSE This Pl/sql package for Onhand Quantities Conversion
    -- N : New Record
    -- E : Errored Record
    -- p : Processed Record
    -- CHANGE HISTORY
    -- Date Version CR# Change Author
    -- 24-Nov-2007 1.00 suhasini
    -- DYNAMIC SQL :NO
    -- Note
    as
    procedure insert_data;
    procedure validate;
    procedure XX_INV_ONHAND_QTY_PROC(errbut OUT VARCHAR2,
    retcode OUT NUMBER
    end XX_INV_ONHAND_QTY_PKG;
    CREATE OR REPLACE PACKAGE BODY XX_INV_ONHAND_QTY_PKG
    -- CREATED BY :JHANSI
    -- PURPOSE This Pl/sql package for Onhand Quantities Conversion
    -- N : New Record
    -- E : Errored Record
    -- p : Processed Record
    -- CHANGE HISTORY
    -- Date Version CR# Change Author
    -- 24-Nov-2007 1.00 suhasini
    -- DYNAMIC SQL :NO
    -- Note
    IS
    /*PROCEDURE LOG (p_msg VARCHAR2)
    IS
    BEGIN
    IF (fnd_global.user_id = -1)
    THEN
    NULL;
    DBMS_OUTPUT.put_line (p_msg);
    ELSE
    fnd_file.put_line (fnd_file.LOG, p_msg);
    END IF;
    END LOG;*/
    PROCEDURE insert_data
    IS
    CURSOR cur_xx_inv_onhand_conv_stg
    IS
    SELECT ROWID, a.*
    FROM xx_inv_onhand_conv_stg a
    WHERE status_flag = 'V';
    l_err_msg VARCHAR2 (1000);
    l_source_line_id NUMBER := 1;
    l_source_header_id NUMBER := 1;
    l_process_flag NUMBER := 1;
    l_transaction_mode NUMBER := 3;
    l_transaction_header_id NUMBER := 1;
    l_transaction_type_id NUMBER;
    BEGIN
    BEGIN
    l_transaction_type_id := 0;
    SELECT transaction_type_id
    INTO l_transaction_type_id
    FROM mtl_transaction_types
    WHERE UPPER (transaction_type_name) =
    UPPER ('Miscellaneous receipt');
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line(fnd_file.log,' TRANSACTION_TYPE_NAME Miscellaneous receipt Is Not Defined In The System');
    END;
    FOR rec_xx_inv_onhand_conv_stg IN cur_xx_inv_onhand_conv_stg
    LOOP
    l_err_msg := NULL;
    BEGIN
    INSERT INTO mtl_transactions_interface
    (source_code,
    source_header_id, source_line_id,
    process_flag, transaction_mode,
    transaction_header_id,
    transaction_quantity,
    transaction_uom, transaction_type_id,
    item_segment1, created_by,
    creation_date, last_update_date, last_update_login,
    last_updated_by,
    organization_id, transaction_date,
    subinventory_code, distribution_account_id,
    inventory_item_id)
    VALUES (rec_xx_inv_onhand_conv_stg.source_code,
    l_source_header_id, l_source_line_id,
    l_process_flag, l_transaction_mode,
    l_transaction_header_id,
    rec_xx_inv_onhand_conv_stg.onhand_qty,
    rec_xx_inv_onhand_conv_stg.uom, l_transaction_type_id,
    rec_xx_inv_onhand_conv_stg.item, fnd_global.user_id,
    SYSDATE, SYSDATE, fnd_global.user_id,
    fnd_global.user_id,
    rec_xx_inv_onhand_conv_stg.organization_id, SYSDATE,
    rec_xx_inv_onhand_conv_stg.subinventory_code, 13401,
    rec_xx_inv_onhand_conv_stg.inventory_item_id);
    UPDATE xx_inv_onhand_conv_stg
    SET status_flag = 'P'
    WHERE ROWID = rec_xx_inv_onhand_conv_stg.ROWID;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_err_msg := ' Insert Error ' || SQLERRM;
    UPDATE xx_inv_onhand_conv_stg
    SET status_flag = 'E',
    error_msg = l_err_msg
    WHERE ROWID = rec_xx_inv_onhand_conv_stg.ROWID;
    END;
    END LOOP;
    COMMIT;
    END insert_data;
    -- exec xxqc_inv_onhand_pck. xxqc_inv_onhand_proc('V1');
    PROCEDURE VALIDATE
    IS
    l_account_alias_receipt mtl_transaction_types.transaction_type_id%TYPE
    DEFAULT NULL;
    l_acct_period_id org_acct_periods.acct_period_id%TYPE
    DEFAULT NULL;
    l_transaction_type_id mtl_transaction_types.transaction_type_id%TYPE
    DEFAULT NULL;
    l_transaction_action_id mtl_transaction_types.transaction_action_id%TYPE
    DEFAULT NULL;
    l_transaction_source_id mtl_generic_dispositions.disposition_id%TYPE
    DEFAULT NULL;
    l_transaction_source_type_id mtl_txn_source_types.transaction_source_type_id%TYPE
    DEFAULT NULL;
    l_location_id mtl_item_locations_kfv.inventory_location_id%TYPE
    DEFAULT NULL;
    l_organization_id org_organization_definitions.organization_id%TYPE
    DEFAULT NULL;
    l_inventory_item_id mtl_system_items_b.inventory_item_id%TYPE
    DEFAULT NULL;
    l_secondary_inventory_name mtl_secondary_inventories.secondary_inventory_name%TYPE
    DEFAULT NULL;
    l_inventory_location_id mtl_item_locations.inventory_location_id%TYPE
    DEFAULT NULL;
    l_lot_control_code mtl_system_items_b.lot_control_code%TYPE
    DEFAULT NULL;
    l_serial_number_control_code mtl_system_items_b.serial_number_control_code%TYPE
    DEFAULT NULL;
    l_shippable_item_flag mtl_system_items_b.shippable_item_flag%TYPE
    DEFAULT NULL;
    l_trans_enb_flag mtl_system_items_b.mtl_transactions_enabled_flag%TYPE
    DEFAULT NULL;
    l_lot_count NUMBER DEFAULT NULL;
    l_uom_count NUMBER DEFAULT NULL;
    l_error_count NUMBER DEFAULT NULL;
    l_lot NUMBER DEFAULT NULL;
    l_serial_number NUMBER DEFAULT NULL;
    l_code_combination_id gl_code_combinations.code_combination_id%TYPE
    DEFAULT NULL;
    l_reason_id mtl_transaction_reasons.reason_id%TYPE
    DEFAULT NULL;
    l_reason_name mtl_transaction_reasons.reason_name%TYPE
    DEFAULT NULL;
    l_process_flag NUMBER DEFAULT NULL;
    l_user NUMBER DEFAULT NULL;
    l_transaction_error_flag VARCHAR2 (4) DEFAULT NULL;
    l_trans_date DATE;
    l_tran_type VARCHAR2 (1000) := NULL;
    l_locator_name VARCHAR2 (2000) := NULL;
    l_new_uom VARCHAR2 (10) := NULL;
    l_master_org mtl_parameters.organization_code%TYPE;
    l_status VARCHAR2 (10);
    l_valerr_count NUMBER;
    l_val_count NUMBER;
    l_err_msg VARCHAR2 (2000);
    l_message VARCHAR2 (2000);
    l_uom_code VARCHAR2 (10);
    l_count NUMBER;
    l_commit_count NUMBER := 0;
    CURSOR cur_inv_onhand_stg
    IS
    SELECT a.*, ROWID
    FROM xx_inv_onhand_conv_stg a
    WHERE status_flag = 'N';
    BEGIN
    FOR rec_inv_onhand_stg IN cur_inv_onhand_stg
    LOOP
    l_err_msg := NULL;
    l_organization_id := 0;
    l_inventory_item_id := 0;
    -- Start Of Validation Block For Organization Code
    BEGIN
    SELECT organization_id
    INTO l_organization_id
    FROM mtl_parameters
    WHERE organization_code = rec_inv_onhand_stg.organization_code;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_message := ' Invalid Org Code '
    || rec_inv_onhand_stg.organization_code;
    WHEN TOO_MANY_ROWS
    THEN
    l_message :=
    ' Org Code Error ... Too Many Rows Errors For Organization '
    || rec_inv_onhand_stg.organization_code;
    WHEN OTHERS
    THEN
    l_message :=
    ' Org Code Error ... Un Handled Exception Error For Organization '
    || rec_inv_onhand_stg.organization_code
    || ' '
    || SQLERRM;
    END;
    -- Check Item Exists in Oracle
    IF (l_organization_id <> 0)
    THEN
    -- Validation Block For Item And Bom Enabled Flag At Assembly Level
    BEGIN
    SELECT inventory_item_id
    INTO l_inventory_item_id
    FROM mtl_system_items_b
    WHERE segment1 = rec_inv_onhand_stg.item
    AND organization_id = l_organization_id;
    IF (l_inventory_item_id <> 0)
    THEN
    BEGIN
    SELECT COUNT (1)
    INTO l_count
    FROM mtl_system_items_b
    WHERE inventory_item_id = l_inventory_item_id
    AND organization_id = l_organization_id
    AND mtl_transactions_enabled_flag = 'Y';
    IF (l_count = 0)
    THEN
    l_message := ' Item '
    || rec_inv_onhand_stg.item
    || ' Is Not TRANSACTIONS ENABLED '
    || ' In Organization '
    || rec_inv_onhand_stg.organization_code;
    END IF;
    END;
    END IF;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_message := ' Invalid Item '
    || rec_inv_onhand_stg.item
    || ' In Organization '
    || rec_inv_onhand_stg.organization_code;
    WHEN TOO_MANY_ROWS
    THEN
    l_message := ' Retrive Of Too Many Rows In Org '
    || rec_inv_onhand_stg.organization_code
    || ' For Item '
    || rec_inv_onhand_stg.item;
    WHEN OTHERS
    THEN
    l_message := 'Un Handled Exception For Item '
    || rec_inv_onhand_stg.item
    || ' In Organization '
    || rec_inv_onhand_stg.organization_code;
    END;
    END IF;
    -- Validation For UOM
    BEGIN
    SELECT unit_of_measure
    INTO l_uom_code
    FROM mtl_units_of_measure
    WHERE UPPER (unit_of_measure) = UPPER (rec_inv_onhand_stg.uom);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_message := l_message
    || 'Unit Of Measure is Not Defined '
    || rec_inv_onhand_stg.uom;
    WHEN TOO_MANY_ROWS
    THEN
    l_message := l_message || SQLERRM || rec_inv_onhand_stg.uom;
    WHEN OTHERS
    THEN
    l_message := l_message || SQLERRM || rec_inv_onhand_stg.uom;
    END;
    BEGIN
    SELECT secondary_inventory_name
    INTO l_secondary_inventory_name
    FROM mtl_secondary_inventories
    WHERE UPPER (secondary_inventory_name) =
    UPPER (rec_inv_onhand_stg.subinventory_code)
    AND organization_id = l_organization_id;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_message := l_message
    || ' Invalid Sub Inventory Code '
    || rec_inv_onhand_stg.subinventory_code
    || ' In Organization '
    || rec_inv_onhand_stg.organization_code;
    WHEN TOO_MANY_ROWS
    THEN
    l_message := l_message
    || ' Retrive Of Too Many Rows In Org '
    || rec_inv_onhand_stg.organization_code
    || ' For Sub Inventory Code'
    || rec_inv_onhand_stg.subinventory_code;
    WHEN OTHERS
    THEN
    l_message := l_message
    || 'Un Handled Exception For ISub Inventory Code'
    || rec_inv_onhand_stg.subinventory_code
    || ' In Organization '
    || rec_inv_onhand_stg.organization_code;
    END;
    -- Check On Hand QTY Should be Greater than Zero
    BEGIN
    IF (rec_inv_onhand_stg.onhand_qty <= 0)
    THEN
    l_message :=
    l_message
    || 'ONHAND QUANTITY CANNOT BE LESS THEN OR EQUAL TO ZERO ';
    END IF;
    END;
    IF l_message IS NOT NULL
    THEN
    UPDATE xx_inv_onhand_conv_stg
    SET status_flag = 'E',
    error_msg = l_message
    WHERE ROWID = rec_inv_onhand_stg.ROWID;
    l_error_count := l_error_count + 1;
    ELSE
    UPDATE xx_inv_onhand_conv_stg
    SET status_flag = 'V',
    organization_id = l_organization_id,
    inventory_item_id = l_inventory_item_id
    WHERE ROWID = rec_inv_onhand_stg.ROWID;
    END IF;
    l_commit_count := l_commit_count + 1;
    IF MOD (l_commit_count, 100) = 0
    THEN
    COMMIT;
    END IF;
    END LOOP;
    COMMIT;
    SELECT COUNT (*)
    INTO l_val_count
    FROM xx_inv_onhand_conv_stg
    WHERE status_flag = 'V';
    SELECT COUNT (*)
    INTO l_valerr_count
    FROM xx_inv_onhand_conv_stg
    WHERE status_flag = 'E';
    fnd_file.put_line(fnd_file.log,'Total validated records ' || l_val_count);
    fnd_file.put_line(fnd_file.log,'Total records in Error ' || l_valerr_count);
    IF (l_val_count > 0)
    THEN
    --insert_onhand_qty;
    NULL;
    END IF;
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line(fnd_file.log,'Program Failed ' || SQLERRM);
    END VALIDATE;
    PROCEDURE XX_INV_ONHAND_QTY_PROC (errbut OUT VARCHAR2, retcode OUT NUMBER)
    IS
    l_count NUMBER := 0;
    l_start_time VARCHAR2 (20);
    l_end_time VARCHAR2 (20);
    l_start_date DATE;
    l_end_date DATE;
    l_time_taken VARCHAR2 (250);
    BEGIN
    BEGIN
    fnd_global.apps_initialize (
    user_id => 1008604,
    resp_id => 20566,
    resp_appl_id => 702,
    security_group_id => 0,
    server_id => -1
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line(fnd_file.log,' Error While Initializing Fnd Global Package');
    fnd_file.put_line(fnd_file.log,' Sql Error Message is ' || SQLERRM);
    END;
    SELECT SYSDATE
    INTO l_start_date
    FROM DUAL;
    SELECT TO_CHAR (SYSDATE, 'HH24:MI:SS')
    INTO l_start_time
    FROM DUAL;
    fnd_file.put_line(fnd_file.log,CHR (10));
    fnd_file.put_line(fnd_file.log,' Program Started On '
    || TO_CHAR (SYSDATE, 'DD-MON-RRRR')
    || ' At '
    || l_start_time
    VALIDATE;
    insert_data;
    fnd_file.put_line(fnd_file.log,
    SELECT SYSDATE
    INTO l_end_date
    FROM DUAL;
    SELECT TO_CHAR (SYSDATE, 'HH24:MI:SS')
    INTO l_end_time
    FROM DUAL;
    fnd_file.put_line(fnd_file.log,CHR(10)
    || ' Program Ended On '
    || TO_CHAR (SYSDATE, 'DD-MON-RRRR')
    || ' At '
    || l_end_time
    SELECT FLOOR (((l_end_date - l_start_date) * 24 * 60 * 60) / 3600)
    || ' HOURS '
    || FLOOR (
    ( ((l_end_date - l_start_date) * 24 * 60 * 60)
    - FLOOR (
    ((l_end_date - l_start_date) * 24 * 60 * 60)
    / 3600
    * 3600
    / 60
    || ' MINUTES '
    || ROUND (
    ( ((l_end_date - l_start_date) * 24 * 60 * 60)
    - FLOOR (
    ((l_end_date - l_start_date) * 24 * 60 * 60) / 3600
    * 3600
    - ( FLOOR (
    ( ((l_end_date - l_start_date) * 24 * 60 * 60)
    - FLOOR (
    ( (l_end_date - l_start_date)
    * 24
    * 60
    * 60
    / 3600
    * 3600
    / 60
    * 60
    || ' SECS '
    INTO l_time_taken
    FROM DUAL;
    fnd_file.put_line(fnd_file.log,
    CHR (10)
    || 'TIME TAKEN TO RUN On Hand Qty CONVERSION PROGRAM IS :: '
    || l_time_taken
    || CHR (10)
    || CHR (10)
    fnd_file.put_line(fnd_file.log,' END OF QTM On Hand Qty Conversion Program ');
    -- exec xxqc_inv_onhand_pck.xxqc_inv_onhand_proc(:a,:b)
    END XX_INV_ONHAND_QTY_PROC;
    END XX_INV_ONHAND_QTY_PKG;
    create table xx_inv_onhand_conv_stg
    SOURCE_CODE     VARCHAR2(100),
    ORGANIZATION_CODE     VARCHAR2(10),
    SUBINVENTORY_CODE     VARCHAR2(10),
    ITEM     VARCHAR2(30),
    UOM     VARCHAR2(10),
    ITEM_STATUS     VARCHAR2(10),
    ONHAND_QTY     NUMBER,
    SOURCE     VARCHAR2(10),
    CREATED_BY     NUMBER,
    LAST_UPDATE_LOGIN     NUMBER,
    LAST_UPDATED_BY     NUMBER,
    PROCESS_FLAG     NUMBER,
    ORGANIZATION_ID     NUMBER,
    STATUS_FLAG     VARCHAR2(2),
    INVENTORY_ITEM_ID     VARCHAR2(100),
    ERROR_MSG      VARCHAR2(2)
    INVENTORY,V1,Mobile B,Computer,Ea,Active,20,RENOVA,12345,12345,12345,1,204,N,12816
    INVENTORY,V1,Stores,Computer,Ea,Active,20,RENOVA,12345,12345,12345,1,204,N,12816
    INVENTORY,V1,Stores,Cabinet ATX,Ea,Active,15,RENOVA,12345,12345,12345,1,204,N,12817
    INVENTORY,V1,Mobile B,Cabinet ATX,Ea,Active,15,RENOVA,12345,12345,12345,1,204,N,12817
    INVENTORY,V1,Stores,Cabinet Multimedia,Ea,Active,35,RENOVA,12345,12345,12345,1,204,N,12818
    INVENTORY,V1,Stores,Cabinet Multimedia,Ea,Active,35,RENOVA,12345,12345,12345,1,204,N,12818
    INVENTORY,V1,Mobile B,Cabinet Zoom,Ea,Active,12,RENOVA,12345,12345,12345,1,204,N,12819
    INVENTORY,V1,Stores,Processor Citrix,Ea,Active,40,RENOVA,12345,12345,12345,1,204,N,12820
    INVENTORY,V1,Mobile B,Processor Dual Core,Ea,Active,15,RENOVA,12345,12345,12345,1,204,N,12821
    INVENTORY,V1,Mobile B,Ram 1 GB,Ea,Active,75,RENOVA,12345,12345,12345,1,204,N,12822
    INVENTORY,V1,Stores,Ram 1 GB,Ea,Active,75,RENOVA,12345,12345,12345,1,204,N,12822
    INVENTORY,V1,Stores,Ram 1 GB,Ea,Active,75,RENOVA,12345,12345,12345,1,204,N,12822
    INVENTORY,V1,Mobile B,Ram 1 GB,Ea,Active,75,RENOVA,12345,12345,12345,1,204,N,12822
    INVENTORY,V1,Mobile B,Ram 1 GB,Ea,Active,75,RENOVA,12345,12345,12345,1,204,N,12822
    INVENTORY,V1,Stores,Ram 2 GB,Ea,Active,17,RENOVA,12345,12345,12345,1,204,N,12823
    INVENTORY,V1,Mobile B,Key Board TVS,Ea,Active,25,RENOVA,12345,12345,12345,1,204,N,12824
    INVENTORY,V1,Mobile B,Key Board Multi Media,Ea,Active,35,RENOVA,12345,12345,12345,1,204,N,12825
    INVENTORY,V1,Mobile B,Key Board Intel,Ea,Active,25,RENOVA,12345,12345,12345,1,204,N,12826
    INVENTORY,V1,Stores,Key Board Dell,Ea,Active,60,RENOVA,12345,12345,12345,1,204,N,12827

    FDPSTP failed due to ORA-20100: File o0046035.tmp creation for FND_FILE failed.
    Please help.Please verify the following:
    1) Make sure that APPLPTMP is set to a valid directory as shown above (Verify from the OS by issuing "echo $APPLPTMP" as applmgr user)
    2) Make sure that both the applmgr user and the database user "oracle" have read/write permissions on $APPLPTMP
    3) Make sure that APPLPTMP is the first entry in utl_file_dir (utl_file_dir is set in the init<SID>.ora file). To verify to what "utl_file_dir" is set:
    SQL> connect / as sysdba
    SQL> show parameter UTL_FILE_DIR

  • Conversion of Sales Orders with Original ATP Confirmation Dates/ Quantities

    Hi
    Please suggest best practice to maintain ATP confirmation dates/ quantities during sales order conversion. We have committed schedule lines in a legacy SAP system. Now we want to maintain the exact same dates/ quantities when loading these dates into the new SAP system.
    We will not have supply (inventory/ orders) loaded at the time sales orders are loaded.
    Thanks
    Rishi Menon

    Hi
    I will suggest to turn-offthe Transfer of Requirement & Availability Check from the Schedule Line (VOV6). And then make your BDC to upload the Sales Order of Legacy System in SAP.
    While creating the BDC recdord the consider the Schedule line date and quantity.
    Regards,
    Amitesh Anand

  • Material to mat. conversion with diff. quantities

    hI,
    Material A having 10 pieces, I want,  material to material conversion with different quantity, Ex- Mat B = 12 Pieces.
    Mat A 10 Pieces conversionin to  Mat B 12 Pieces
    Can any body Tell me which MVtyp should USe.
    The Valuation of Both Materials is MAP.
    The valuution of A is 100
    The Valuation of B is 150.
    Can i Use MVT 201 and 202 for the same.
    If  OK,
    What about the diferecnce Prices.
    Waiting for reply
    Veera.

    if you want to receive 12 material from conversion of material A as 10 then oyu can not user direct trasfer movement type.
    you have to create production order and enter component as Material A for 10 peice and receive Mateiral B as 12.
    you can not do with material to materail transfer via inventory

  • Denominator (Divisor) for Conversion of Sales Qty into SKU

    Dear Friends,
    In our scenario system is converting Confirmed quanity (for ex 57.4 Hrs) (Schedule lines--->Sales--->Confirmed quantity) into Required Quantiy( 0.080 MMN) (Schedule lines--->Sales--->Quantities--->Required Quanity) as per the conversion( i.e 720 hrs equals to 1 MMN) maintained.
    Now we want to change this conversion from 720 to 160 hrs. But we are not able to locate the source from where this value is being picked up. I have checked in Material Master Data--->Additional Data--->Units of Measure. There is no maintainance for Hrs to MMN conversion.
    Please suggest.
    with regards,
    S.Dayanand

    Dear Friends,
    In our scenario system is converting Confirmed quanity (for ex 57.4 Hrs) (Schedule lines--->Sales--->Confirmed quantity) into Required Quantiy( 0.080 MMN) (Schedule lines--->Sales--->Quantities--->Required Quanity) as per the conversion( i.e 720 hrs equals to 1 MMN) maintained.
    Now we want to change this conversion from 720 to 160 hrs. But we are not able to locate the source from where this value is being picked up. I have checked in Material Master Data--->Additional Data--->Units of Measure. There is no maintainance for Hrs to MMN conversion.
    Please suggest.
    with regards,
    S.Dayanand

  • Error message -L3199-Total for assigned quantities exceeds quantity to be removed

    Hi,
    We are facing problem in picking at last HU in WM while creating transfer order for delivery document in PRD. We reproduced same issue in QXS.
    Sales order was created with 40 Drums and also delivery with 40 Drums. Conversion factor mantained in material master is 441 DR = 30000KG, Base unit of measure is KG. While creating TO , we need to insert 5HU(each HU = 8DR) i different line items in TO . Tilll 4th HU is inserted i.e 32 DR(total)  there is no issue. But as soon as we enter 5th HU below error is throwing.
    Error Message - L3199-Total for assigned quantities exceeds quantity to be removed
    In some cases delivery qty is showing more than picked qty (in other deliveries) and hence unable to create or confirm Transfer order.
    Appreciate your comments on above issue /resolution or any OSS note/user exits/BADI exists ?
    Regards,
    Srinivas M

    there is a huge amount of decimal dust
    1 drum has a weight of 68.02721088435374
    calculating the weight of 40 drums (quantity to be removed) in one single calculation rounds different to 5 * 8 drums where you actually have 5 individual calculations with a rounding that is then added to one result (assigned quantity).
    Have a look into this KBA, as it explains different reactions based on the screens that are used.
    However, I think you will not get lucky by this workaround as the you still have inaccurate quantities for the remaining drums
    1926014 - LT03 - Overpicking allowed / not allowed during TO creation in foreground

  • Quantity conversion error in net price calculation in BAPI_PO_CREATE1

    I'm creating PO from BAPI_PO_CREATE1 .here i'm getting follwing error
    quantity conversion error in net price calculation.
    plz guide me to remove it.

    Are you using quantities directly entered by the user while calling the function to do the net price calculation? If that is the case, you should use FM CONVERSION_EXIT_ALPHA_INPUT to convert the quantity from the external format into the internal one!
    Another possibility is that some customizing is missing for converting quantities in different unit of measures (like the quantity in pieces is known, but the pricing calculation is being done on kilos.. but the convertion between these 2 unit of measures is missing).
    Good luck!

  • UOM Conversion to be used in transformation

    Hi Experts,
    I am trying to make use of the BI 7.0 UOM conversion feature in one of our InfoCubes where the source quantity which is in Base UOM needs to be converted to cases.
    I went through all the steps which are as follows:
    1. I have 0BASE_UOM as the base unit of measure for 0MATERIAL
    2. A DSO was automatically generated with the name Z_OUOM I gave in 0MATERIAL configuration
    3. I created a transformation for this DSO with source as 0MAT_UNIT
    4. Created a DTP and loaded the DSO
    5. Created a Conversion type with settings 'Dynamic Determination of conversion factor as Using Reference InfoObject = 0MATERIAL
    Source Unit of Measure: Unit of Measure from Data Records
    6. Target Unit of Measure: Fixed Unit of Measure = 'CS'.
    In InfoCube transformation I have the following mapping:
    Rule type: Direct Assignment
    Target Unit: 0UNIT
    Unit: From Conversion
    Conversion Type: ZCASES
    Source Unit: 0BASE_UOM
    Source Fields of Rule:
    0MATERIAL
    0REQ_QTY
    0BASE_UOM
    Target Fields of Rule:
    ZREQ_QTY
    0UNIT
    When I load the InfoCube, the quantities are indeed getting converted to cases provided there are conversion factors available for that material in the UOM generated DSO
    Here is my question: How can I handle records where the material does not have conversion factors in the UOM generated DSO?
    I get an error when loading using a DTP as 'No quantity conversion possible'. There is one record in the source DSO that has a material number with no unit conversions in UOM generated DSO
    I am aware there is an option of using routine, but I do not want to use it unless I am sure this method won't work

    Hi Aditi,
    There is no way you can check if UOM is present or not in UOM DSO and then do the conversion via using conversion type.
    What you can do is write the routine rather than conversion type, to fetch the data from the UOM DSO.
    If conversion factor exist then you can convert it simple by multiplying with the value, if not then you can  easily skip the record by putting IF condition.
    IF factor <> 0.
    ENDIF.
    Hope this helps.Let me know if you need more info.
    Regards,
    Viren

  • Conversion problem in PURCHASE ORDER

    Hi all,
       wrong conversion was done in Quantities/Weights tab of item overview during creation of Purchase Order,instead of putting order unit  " 1 tonne  = 1000kg" it was wrongly fix as "5 tonne = 4536kg",  the order has been receive and issue , but during stock taking this conversion problem is giving wrong Quantity for the material in MB5B . Pls what can i do to resolve this.

    Hi
    If stock exists  then kindly do the reverse process as below
    1.Cancel material docuemt---MBST (Material document no and fiscial year)
    2.Delete the P.O line items --Me22n
    3.Enter the fresh line items in the same P.O
    If partial stock Exists then do the Physical inventory process to adjust the Stock
    Regards
    Damu

  • GR for PO in forex resulted in currency conversion rounding difference

    Hi,
    I have created a PO in foreign currency and when I perform a GR in MIGO, it created the following 4 FI postings:
    1) DR Stock - Amount in Forex, Amount in Local Curx
    2) CR GR/IR - Amount in Forex, Amount in Local Curx
    3) DR Rounding Diff  0.00 in Forex, 0.01 in Local Curx
    4) CR Rounding Diff 0.00 in Forex, 0.01 in Local Curx.
    Below are the information for the PO item:
    Quantity = 350
    Unit Price in EUR = 10.39.  ==> Amount in forex = 350 * 10.39 = 3,636.50
    Conversion rate = 10.61 ==> Amount in local curx = 350 * 10.39 * 10.61 = 38,583.265 rounded to 28,583.27.
    Line 1 & line 2 ==> Rounded amount = 28,583.27.
    Question: Why is the additional lines (3) & (4) being generated ?
    When I did the MIGO posting, the system ask for the additonal account keys PRD and KDM in OBYC which I have supplied with "Rounding Diff" Account.
    We have tried with different quantities and this problem so far only happens when the quantiy = 350.  (Incidently, the rounding diffence for quantity 350 is exactly 0.005 and the same rounding difference of 0.005 is also applies to quantity 1050, 1750, 2450 etc at every 700 units increment; BUT the 0.01 rounding difference only happeded for quantity 350. Very strange ??)
    Additional Info:
    No special rounding rules is configured in the system.
    Please advice. 
    Thanks and regards,
    Hu Ghee.

    Hi Pankaj,
    Actually, your suggestion worked.  It was jus that when I went to the OMRW screen earlier (even before I posted this message), I saw that the setting was "Blank" and thought that it meant "Not activated" whereas what I need to do was to set it to "No" for no exchange difference.
    TQVM.
    Rgds,
    Hu Ghee

  • Interfaces: UOM conversion rate issue

    Hi All,
    We have an outbound interface, which lists all the new subinventory transactions to the third party(then we are updating an attribute column in mtl_material_transactions, so that this record will not be send again). Third party makes all its transactions only in Saleable UOM(SUOM), where as we do all transactions in PUOM. The current logic we are following is, before we are going to send the inventory transactions, we will convert the quantity to SUOM and we will send it.
    Suppose if we transfer 15 quantity from subinventory A to B, and conversion rate between SUOM and PUOM is 5, then we will send 3 as quantity to third party. If the quantity is 12 in PUOM, then we will get 2.4. We are erroring out these type of quantities and informing these type of transactions through mail to the concerned person. We are not updating any attribute column for the error record. So it will always send trough email, as an error record for ever.
    Presently we have the code which i have explained. Suppose the concerned person after receiving the mail, If he do a reverse transaction from B to A, with quantity as 12, then this transaction will also be considered as an error record(as its quantity is 12). And how could the reverse transaction stops the primary transaction from sending through mail.
    We also have other outbound interfaces like move order information and pending PO information. For these interfaces, do we have any option to reverse these transactions. Please let me know.
    Many thanks in advance.

    Hi
    Have you verified EURX and M  for GBP to EUR is maintained as direct quot or indirect quot?
    like if it is direct               -           GBP -      1.2039   -     EUR
         if it is indirect         0.7155     GBP -                     -     EUR
    Reg
    Vishnu

  • Using conversion rule to convert quantity fields

    Hi!
    I am trying to find a way to use a conversion rule to convert a quantity specified in one unit of measure to the corresponding quantity specified in a different unit of measure. I was trying to use 'Copy sender field' along with a custom 'Special conversion rule'. However, the code to convert quantities requires both the quantity and material number to do the UoM conversion. 'Copy sender field' only allows the transfer of one sender field. Is there a way to transfer two sender field into a 'Special conversion rule'.  Any help much appreciated and rewarded. Thanks, Duncan

    Hi Duncan,
    Try FM UNIT_CONVERSION_SIMPLE.
    Regards,
    Atish

  • PR To PO conversion via ME59, Closed Indicator

    Hi,
    We have set up ME59 to create POs from PR.
    1.The 'Closed' indicator (in Quantities/Dates tab of PR) was not set. What to be done?
    2. Main thing which is baffling is that in Production system, multiple POs continue to get created for a single PR.
    Any thoughts on how to have the indicator set up to closed in PR?
    and How to avoid the multiple PO issue?
    fyi..
    while running ME59, I have set 'Set Requisitions to "Closed"' to '1'.
    Regards

    Thanks Pavan/Charlie,
    I had already done the setting of 06 76.(Could not actually simulate and verify, as in the dev. duplicate POs were never created.)
    Before I move that to Production, also wanted to know about the 'CLOSED' indicator.
    Pavan,
    You are right when POs are created manually (ME21N). Closed indicator does not stop it. However it restricts the PO creation when set in background (ME59 variant set to run in background.)
    Charlie,
    The issue with 2(Always) would be that even for Partial PR conversion to PO, then the PR may be prematurely closed.
    A.) What would be your suggestion to take care of the 'CLOSED' issue?
    B.) If 06/76 set up for error, then can the setting 06/608,06/648 be avoided?
    Regards,
    Sameer

  • PR Conversion issue

    Dear All
                       My Client has given me a requirement about conversion of PR into PO
    Suppose I have two PRs No. 1 Having 2 items A Qty-50 and B Qty-50 and PR no 2 Having Item A-Qty 50  and  C Qty 50.
    When I convert PR no 1 and 2 in same PO
    Than Item of PO should be like this
    Item A Qty-100
    Item B Qty-50
    Item C Qty -50
    SO condition is this if any no of PR having Same Material but quantities are different than system should add all qty and  PO will show only total Qty.
    Please help me give ur important directions
    Thanks
    Rahul

    Dear Rahul
    PR line items even if material is same never gets added during PO creation. We can achieve the same result at PO stage without adding the quantity of the same materials. We can refer both the PRs for the same materials and line items in one PO and can send it to the same vendor. Ultimately the total quantity to be received form the supply vendor is addition of the two line item quanitities only. Do you expect any additional benefit if the line items are added? 
    Regards
    Sam

Maybe you are looking for

  • Crash Minidump/Restart at Shutdown inside login, but Shutdown before any user logins is ok.

    Crash Minidump/Restart at Shutdown inside login, but Shutdown is ok  before any user logins.  Just Started.  Windows says error report says to update Video Driver, But HP 235558hc has current valid driver.  4 Year Old HP Pavillion Quad with Windows V

  • Error when accessing "SAP SYSTEM" tab in UM configuration

    Hi,    I'm trying to define a new SAP SYSTEM using the portal System Administration.  When I click to the SAP SYSTEM tab I have a " code too large for statement" error.  Does anyone know how to avoid that or another way to define a new system not usi

  • What is the proper SQL syntax for dates input as variable

    Hello, I am working on an ASP JavaScript page that requests totals from an Access database for a specific date range. I can write the SQL statement to query the DB and get the results I need using the WHERE statement below. ...WHERE LABOR_DATE BETWEE

  • Require help with Adobe Reader

    I cannot open Adobe file attachments. I have uninstalled and reinstalled Adobe Reader. A previous time, my service tech said the program was corrupted. He reinstalled Reader. It has failed again. Any suggestions would be appreciated. frugl

  • Using negative percentages in Pie Charts

    I am having a devil of a time creating a visual pie chart based on the data I am getting from my spreadsheet. Here is what I am trying to do: I want to see a visual representation of how many calories I have left to consume before I reach my goal for