Negative values p_quantity API pa_budget_pub.add_budget_line

Is it possible to give negative values for the parameters p_quantity or p_raw_cost or p_burdened_cost in the API pa_budget_pub.add_budget_line.
I require to give negative values for the p_quantity and the API gives a error message. No problem while giving a positve or zero.

Hi ,
Looks like your budget type might have been upgraded to financial plans. Oracle Projects has two models when it comes to budgets. One is the traditional form based budgets, identified by budget types. The other is the Financial Plans, which is used in Project Management Module. The older model ones are referred to as budget and the newer model ones are referred to as Financial Plans which provides several more additional functionality as compared with the traditional budget types.
Both are supported by oracle, however, once a budget type / budget version is upgraded to financial plan types/versions you will not be able to maintain them using the forms interface, you will have to use the self service pages only for those.
It appears that your budget type / budget version might have been upgraded to financial plan types, which is why you had to pass the fin_plan_type_id (Financial Plan type id) for the API to work.
Regards,
Raghavan Gopalakrishnan

Similar Messages

  • [svn:fx-3.x] 18471: bug fix for 2749575 The API -- mx.messaging.messages. MessagePerformanceUtils; associated attributes/ properties like totalTime are returning negative values

    Revision: 18471
    Revision: 18471
    Author:   [email protected]
    Date:     2010-11-05 10:22:11 -0700 (Fri, 05 Nov 2010)
    Log Message:
    bug fix for 2749575 The API -- mx.messaging.messages.MessagePerformanceUtils; associated attributes/properties like totalTime are returning negative values
    Change adding set method for receive time to avoid it override the value set by detecting it is an OUT infoType
    BlazeDS checkintests pass
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanc eInfo.as

    Dear Pallavi,
    Very useful post!
    I am looking for similar accelerators for
    Software Inventory Accelerator
    Hardware Inventory Accelerator
    Interfaces Inventory
    Customization Assessment Accelerator
    Sizing Tool
    Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
    Request help on such accelerators... Any clues?
    Any reply, help is highly appreciated.
    Regards
    Manish Madhav

  • Plz Help.... MathFp giving negative value !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hi All,
    I m doing a calculation using MathFp .the resulting value is coming negative.
    i thing some problem in this line of code.
    String Value="";
    MathFP.toString(MathFP.div(MathFP.toFP(Value),MathFP.toFP("1000")));
    it gives currect output when we give value = "500000" but when we give value = "600000" or more it gives negative value.
    plz help me.
    if you have any other solution plz tell me.

    First of all it sounds like you are using a very old version of MathFP. If you go to www.jscience.net you can download the latest 2.0.6 version that has both support for int and long based fixed point solutions. In addition if you want to stick with the int implementation then you can reduce the number of bits used for the fraction using the setPrecision API call.
    So there are two solutions to your problem of which upgrading to the 2.0.6 with long based fixed points seem to be the easiest. It also doubles the precision of the fraction (i.e. a radix of 24).
    In addition just as a side note don't forget to preverify the class. Many developers seem to get frustrated when they get a preverify error. Eventhough the error is pretty clear it seems nobody cares about reading documentation.
    Cheers!

  • Hxc_timestore_deposit.create_time_entry creating negative values

    Hi,
    I am trying to create time entry through back end using API (hxc_timestore_deposit.create_time_entry) as
    declare
    l_time_building_block_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_tbl_attributes_info hxc_self_service_time_deposit.app_attributes_info ;
    l_return_status varchar2(30);
    l_tbl_timecard_info hxc_self_service_time_deposit.timecard_info ; --hxc_block_table_type;
    begin
    hxc_timestore_deposit.create_time_entry (
    p_start_time=> fnd_date.canonical_to_date('2009/09/02 09:00:00'),
    p_stop_time=> fnd_date.canonical_to_date('2009/09/02 17:00:00'),
    p_resource_id=> 7427, --9389, -- Identifies a person on our DB, REPLACE WITH YOUR IDs
    p_app_blocks=> l_tbl_timecard_info,
    p_app_attributes=> l_tbl_attributes_info,
    p_time_building_block_id=> l_time_building_block_id
    l_return_status := fnd_api.g_ret_sts_success;
    DBMS_OUTPUT.PUT_LINE('TESTING of hxc_timestore_deposit');
    DBMS_OUTPUT.PUT_LINE('return_status : ' ||l_return_status);
    DBMS_OUTPUT.PUT_LINE(' l_time_building_block_id :- '||l_time_building_block_id);
    end;
    Above code is creating negative values for time_building_block_id.
    Can anyone pls help me.
    Thanks
    Rutuja

    Hi,
    I have developed one more script to create a time card.
    It is also generating negative values.
    Can anyone knows the problem
    Pls help me regarding the same.
    Thanks in advance.
    Rutuja
    DECLARE
    -- Constant declarations
    -- This is the appl_id for OTL, do not change
    c_otl_appl_id CONSTANT NUMBER (3) := 809;
    c_proj_attr1 CONSTANT VARCHAR2 (7) := 'Task_Id';
    c_proj_attr2 CONSTANT VARCHAR2 (10) := 'Project_Id';
    c_proj_attr3 CONSTANT VARCHAR2 (16) := 'Expenditure_Type';
    c_proj_attr4 CONSTANT VARCHAR2 (19) := 'Expenditure_Comment';
    c_proj_attr5 CONSTANT VARCHAR2 (23) := 'SYSTEM_LINKAGE_FUNCTION';
    v_msg_info                VARCHAR2(20000);
    x_status_msg                VARCHAR2(20000);
    vx_msg_index_out           NUMBER;
    -- Variable declarations
    -- declare the PL/SQL Table that will hold the complete timecard (all the BBs)
    l_tbl_timecard_info hxc_self_service_time_deposit.timecard_info;
    -- declare the PL/SQL Table that will hold all the attributes
    l_tbl_attributes_info hxc_self_service_time_deposit.app_attributes_info;
    -- declare the PL/SQL Table that will hold the messages returned by the API
    l_tbl_messages hxc_self_service_time_deposit.message_table;
    -- person ID that this TC belongs to, Replace with your own
    l_person_id per_all_people_f.person_id%TYPE := 2638;--9389;
    -- Replace with your own IDs
    l_task_id VARCHAR2 (4) := '2011';--HOLIDAY--'221';
    -- (l_project_id is NOT the same as task id, they just happen to have the
    -- same ID on our database)
    l_project_id VARCHAR2 (3) := '803';--'221';
    -- Replace with your own values
    l_expenditure_type VARCHAR2 (15) := 'Professional';
    l_ot_expenditure_type VARCHAR2 (15) := 'Overtime';
    l_system_linkage_id VARCHAR2 (15) := 'ST';
    l_ot_system_linkage_id VARCHAR2 (15) := 'OT';
    -- Will hold TC_ID, returned by the deposit process
    l_new_timecard_id NUMBER;
    -- Will hold TC ovn, returned by the deposit process
    l_new_timecard_ovn NUMBER;
    l_message fnd_new_messages.message_text%TYPE;
    l_start_time DATE := fnd_date.canonical_to_date('2009/09/16 00:00:00');
    l_stop_time DATE := fnd_date.canonical_to_date('2009/09/22 23:59:59');
    l_tc_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_day_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_detail_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_time_attribute_id hxc_time_attributes.time_attribute_id%TYPE;
    BEGIN
    -- First initialize your session, this needs to be done for internal reasons so
    -- the TimeStore knows who is trying to deposit the information. When you log
    -- into SS, the same is done for you by the framework, here however we have to do
    -- it manually.
    dbms_application_info.set_client_info(206);
    FND_GLOBAL.APPS_INITIALIZE(1781,51681,809 );-- This is the appl_id for OTL, do not change
    -- PART 1: POPULATE TABLES --
    -- First populate the timecard PL/SQL table:
    -- Start with the TIMECARD BB
    hxc_timestore_deposit.create_timecard_bb(
    p_start_time=> l_start_time,
    p_stop_time=> l_stop_time,
    p_resource_id=> l_person_id,
    p_comment_text=> 'Created using API: Weekly Project TC',
    p_app_blocks=> l_tbl_timecard_info,
    p_time_building_block_id=> l_tc_bb_id);
    DBMS_OUTPUT.PUT_LINE(' l_tc_bb_id :- '||l_tc_bb_id);
    FOR j IN 1..FND_MSG_PUB.Count_Msg
         LOOP
    FND_MSG_PUB.GET( p_msg_index => -1
    ,p_encoded => 'F'
    ,p_data => v_msg_info
    ,p_msg_index_out => vx_msg_index_out);
    x_status_msg := x_status_msg || v_msg_info;
         END LOOP;                         
    DBMS_OUTPUT.PUT_LINE(' 1st API STATUS :- '||x_status_msg);
    COMMIT;                         
    -- Now we create the DAY BB, 7 in total, and since they are all the same we
    -- will loop 7 times
    FOR i_day IN 0 .. 6
    LOOP
    hxc_timestore_deposit.create_day_bb (
    p_day => TRUNC (l_start_time)+ i_day,
    p_parent_building_block_id=> l_tc_bb_id, -- returned by create_timecard_bb
    p_comment_text=> 'Created using API',
    p_app_blocks=> l_tbl_timecard_info,
    p_time_building_block_id=> l_day_bb_id);
    DBMS_OUTPUT.PUT_LINE(' l_day_bb_id :- '||l_day_bb_id);
    v_msg_info := NULL;
    x_status_msg := NULL;
    vx_msg_index_out := NULL;
    FOR j IN 1..FND_MSG_PUB.Count_Msg
         LOOP
    FND_MSG_PUB.GET( p_msg_index => -1
    ,p_encoded => 'F'
    ,p_data => v_msg_info
    ,p_msg_index_out => vx_msg_index_out);
    x_status_msg := x_status_msg|| v_msg_info;
         END LOOP;                         
                             DBMS_OUTPUT.PUT_LINE(' 2nd API STATUS :- '||x_status_msg);
    -- The next call would also work but we choose to use the first one
    -- since we know the TIMECARD's Id. If you do not know the ID you should
    -- use this next call commented out here.
    /* hxc_timestore_deposit.create_day_bb (
    p_day => TRUNC (l_start_time)
    + i_day,
    p_resource_id=> l_person_id,
    p_comment_text=> 'Created using API',
    p_app_blocks=> l_tbl_timecard_info,
    p_time_building_block_id=> l_day_bb_id
    -- We can attache the DETAIL BB for every DAY BB that represents 'normal'
    -- work hours as well here as they are all the same
    -- We only need to do this for weekdays though
    IF i_day < 5
    THEN
    hxc_timestore_deposit.create_detail_bb (
    p_type=> 'MEASURE',
    p_measure=> 8,
    p_parent_building_block_id=> l_day_bb_id,
    p_comment_text=> 'Created using API: NT',
    p_app_blocks=> l_tbl_timecard_info,
    p_app_attributes=> l_tbl_attributes_info,
    p_time_building_block_id=> l_detail_bb_id
    DBMS_OUTPUT.PUT_LINE(' l_detail_bb_id :- '||l_detail_bb_id);
    v_msg_info := NULL;
    x_status_msg := NULL;
    vx_msg_index_out := NULL;
    FOR j IN 1..FND_MSG_PUB.Count_Msg
         LOOP
    FND_MSG_PUB.GET( p_msg_index => -1
    ,p_encoded => 'F'
    ,p_data => v_msg_info
    ,p_msg_index_out => vx_msg_index_out);
    x_status_msg := x_status_msg|| v_msg_info;
         END LOOP;                         
                             DBMS_OUTPUT.PUT_LINE(' 3nd API STATUS :- '||x_status_msg);
    -- The next call would also work but we choose to use the first one
    -- since we know the DAY's Id. If you do not know the ID you should
    -- use this next call commented out here. In fact we use it ourselves
    -- later to add the overtime.
    /* hxc_timestore_deposit.create_time_entry (
    p_measure=> 8,
    p_day => TRUNC (l_start_time)
    + i_day,
    p_resource_id=> l_person_id,
    p_comment_text=> 'Created using API: NT',
    p_app_blocks=> l_tbl_timecard_info,
    p_app_attributes=> l_tbl_attributes_info,
    p_time_building_block_id=> l_detail_bb_id
    -- We can also attach the attributes to every BB that represent
    -- 'normal' work hours
    -- Attribute1
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr1,
    p_attribute_value=> l_task_id,
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute2
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr2,
    p_attribute_value=> l_project_id,
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute3
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr3,
    p_attribute_value=> l_expenditure_type,
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute4
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr4,
    p_attribute_value=> 'Expenditure Comment created by API',
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute5
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr5,
    p_attribute_value=> l_system_linkage_id,
    p_app_attributes=> l_tbl_attributes_info
    END IF; -- Only for weekdays
    END LOOP; -- End creating normal working days + time
    -- And now we add the Overtime to Tuesday and Wednesday
    -- We have to use create_time_entry here because we do not have the ID
    -- for the Wednesday TBB anymore, using create_time_entry we do not need it
    -- Tuesday
    hxc_timestore_deposit.create_time_entry (
    p_measure=> 1,
    p_day => TRUNC (l_start_time)+ 1,
    p_resource_id=> l_person_id,
    p_comment_text=> 'Created using API: OT',
    p_app_blocks=> l_tbl_timecard_info,
    p_app_attributes=> l_tbl_attributes_info,
    p_time_building_block_id=> l_detail_bb_id
    -- Attribute1
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr1,
    p_attribute_value=> l_task_id,
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute2
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr2,
    p_attribute_value=> l_project_id,
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute3
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr3,
    p_attribute_value=> l_ot_expenditure_type,
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute4
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr4,
    p_attribute_value=> 'Expenditure Comment created by API',
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute5
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr5,
    p_attribute_value=> l_ot_system_linkage_id,
    p_app_attributes=> l_tbl_attributes_info
    -- Wednesday
    hxc_timestore_deposit.create_time_entry (
    p_measure=> 2,
    p_day => TRUNC (l_start_time)
    + 2,
    p_resource_id=> l_person_id,
    p_comment_text=> 'Created using API: OT',
    p_app_blocks=> l_tbl_timecard_info,
    p_app_attributes=> l_tbl_attributes_info,
    p_time_building_block_id=> l_detail_bb_id
    -- Attribute1
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr1,
    p_attribute_value=> l_task_id,
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute2
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr2,
    p_attribute_value=> l_project_id,
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute3
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr3,
    p_attribute_value=> l_ot_expenditure_type,
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute4
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr4,
    p_attribute_value=> 'Expenditure Comment created by API',
    p_app_attributes=> l_tbl_attributes_info
    -- Attribute5
    hxc_timestore_deposit.create_attribute (
    p_building_block_id=> l_detail_bb_id,
    p_attribute_name=> c_proj_attr5,
    p_attribute_value=> l_ot_system_linkage_id,
    p_app_attributes=> l_tbl_attributes_info
    -- END OF PART 1: POPULATE TABLES --
    -- PART 2: DEPOSIT TIMECARD --
    -- Now we call the deposit process, passing in the PL/SQL tables we just
    -- created and populated
    hxc_timestore_deposit.execute_deposit_process (
    p_validate=> FALSE,
    p_app_blocks=> l_tbl_timecard_info,
    p_app_attributes=> l_tbl_attributes_info,
    p_messages=> l_tbl_messages,
    p_mode=> 'SUBMIT',
    p_deposit_process=> 'OTL Deposit Process',
    p_timecard_id=> l_new_timecard_id,
    p_timecard_ovn=> l_new_timecard_ovn
    -- END OF PART 2: DEPOSIT TIMECARD --
    END;
    COMMIT;

  • Milestone Duration in BAM indicating negative values

    Hi All,
    We happen to install BAM feature of BizTalk in our current project which has turned out to be the key source of information to all our clients and stakeholders. They have been tracking all the necessary KPI's on a daily basis. So far things have been pretty
    straight and smoothly running but while observing the duration of the responses on BAM (the duration is set in the activity model tracking the difference in start & end time), we happen to see negative values. We see values like -1.92 sec, -2.55 sec which
    will look ridiculous to all our stakeholders. We have been trying to trace as to why such values are appearing in BAM.
     To give a background, we have two application nodes and a single database connection in cluster. We have used BAM API to track the necessary fields & details. We have used Duration which is set in the BAM activity model for specific product. We
    earlier felt probably both application nodes may not be in sync with respect to system timestamp, but that is not the case and in either way seems to not be related. Please let us know if anyone has faced such issue on observing negative values of duration
    on BAM portal. 

    The process milestone is set correctly i.e the start process one is set earlier to end process milestone . The negative values are appearing for few entries and it occurs intermittently during the day. For example if I collect around 100 entries for the
    entire day for a specific activity , 3% of them will have duration set to negative values.
    Like this there are around 5 activities deployed in our live environment and all of them have intermittent occurrences of negative value of time taken in the report.
    This is really puzzling for us to understand how this comes up , yet we are even looking at the approaches suggested by others.

  • MC.9 - Negative value

    Hi Sapians,
    While running MC.9 report we are getting negative value for a particular stock even when there is a positive stock. But in MB5B we are getting the correct output.
    By debugging we found that there is a negative value in S032 table. But we could not understand how we got negative value in S032.
    Could any one through some light on where it could went wrong?
    Thanks,
    Sukumaran.E

    Hi Sukumaran,
    Negative stocks in your case is due to inconsistencies in the Info structure tables.
    The report from MC.9 is calculated on runtime, taking the current stock position from stock database tables and adjusting the goods receipts and issues backwards. The goods movement data are from the info-structure tables. If there are inconsistencies in this data, you get negative stock figures or different figures compared to MB5B report. (MB5B runs the same way but uses MSEG table instead of ifo structure tables). This explanation is for understanding the cause of the problem.
    The remedy is, updating the info structure table. This update is for correcting the data in info-structure tables. You can delete the entries in these tables and re-build them. It has to be done during a period when there are no material movement postings happening - like after office hours or holidays.
    You can refer to SAP note 79083 for detailed step by step procedure for updating info structure tables.
    Hope you are able to correct the inconsistencies!!
    Best Regards,
    Siva

  • Stock Posting List - Negative Value when Different Currency in PO

    Hi experts,
    We would like your help on the following scenario.
    A Purchase Goods Receipt PO and a Purchase Invoice are added in SAP 9.0, on the same date, in a different currency from the system's currency; system's is Euro and Purchase documents are added in JPY (Japanese xen), i.e. 300 JPY. When checking the "Stock Posting List" report for a number of goods that were purchased with the above documents, the report presents the line of the Goods Receipt PO with the value of 270 JPY, and the line of the Purchase Invoice with  a negative value, i.e.-15 Euro.
    Has anyone faced the same issue?
    Thank you in advance.
    Kind Regards,
    Vassilis Korolis

    Both queries have the default value of  "Only Posted Values for Navigation".
    As I was looking at this, I did realize the following though.
    Remember, I mentioned that my zcurrency_mand field has a Reference Characteristic of 0currency.
    Query 1:  The key figure that is being converted is tied to 0currency in the back end. (this is the query that works).
    Query 2:  The key figure that is being converted is tied to 0inv_curr in the back end.
    Both of the currency conversions are using zcurrency_mand.  Should query 2 be using a new variable similar to zcurrency_mand, but with a Reference Characteristic of 0inv_curr?
    If the answer is yes, I tried creating ZINV_CURR_MAND with Reference Characteristic of 0inv_curr, but am getting the following error when I try to save the changes to Query 2
    [E117(BRAIN)] Errors: Variable ZINV_CURR_MAND2 is not permitted for the target currency. 
    Thanks,
    Jennifer

  • How to enter negative value in a currency field

    Hi Experts,
    Please help me how to allow to enter negative value in a field on report selection.
    I created a currency field on a report selection using PARAMETERS.
    I can enter positive value in the field. But, I cannot enter negative value.
    SAP shows an error message 00 126 "Specify positive values only".
    I know I can place check ON at "with sign" option of the field in case I create the screen by myself.
    However, I cannot do it on screen 1000 created by report program.
    Thanks,
    George

    Hi ,
    I know I can place check ON at "with sign" option of the field in case I create the screen by myself.
        Prabhu--> Just Create a new Domain( select "WITH SIGN") and date elemet,And Use Data Element in your report.
    regards
    Prabhu

  • Apex 3.2 SVG Chart - How to plot Stacked Bar With Negative Values ?

    Currently Apex 3.2 Flash Chart (AnyChart 3.x) does not support Stacked bars with negative values.
    I try with SVG Stacked bars with positive values only, chart ploting works fine. When I add a new series with negative values (i.e -1) and I get a blank Chart region with no error.
    Based on this statement from Apex's documentation:
    *"AxisLine Indicates zero on charts that have negative values."*
    I appreciate your help on how to translate this statement into action ?
    (i.e how to override .Axisline class in CSS section ?)
    Thank you very much for your time.

    User614143,
    try to add the minumm negative value (but positive) to the parameter for the axis.
    e.g. show value+3000 (assuming -3000 is the minimum value)
    If you don't have a limitation for the negative values, it doesn't work. (or try to calculate first the most negative value in a before header process)
    hope this helps.
    Leo

  • Runtime error while putting negative value in to table control field

    Hi Guys,
                  I am working on a Table Control which has Currency
    and quantity fields.In PBO when the program is trying put a
    negative value then It is going into a runtime error.
    The Error description is,
    Runtime errors         DYNPRO_FIELD_CONVERSION
                                                                                    Error analysis                                                                               
    The program flow was interrupted and could not be resumed.                                 
    Program "SAPMZDBPRJCTEDFIG" tried to display fields on screen 0100. However, an            
    error occurred while this data was being converted.                                                                               
    How to correct the error                                                                               
    A conversion error occurred while the program was trying to   display data on the screen.                                                                               
    The ABAP output field and the screen field may not have the   same format.                                                                               
    Some field types require more characters on the screen than                                
    in the ABAP program. For example, a date field on a screen needs                           
    two characters more than it would in the program. When attempting to                       
    display the date on the screen, an error will occur that triggers the                      
    error message.                                                                               
    Screen name.............. "SAPMZDBPRJCTEDFIG"                                
                  Screen number............ 0100                                               
                  Screen field............. "ZDB_PROJCTD_FIG-ZWORKDONE"                        
                  Error text............... "FX015: Sign lost."                                 Further data:                                                                               
    I have tried increase the screen field length to more than the ABAP program field length and the scrren field name is of data type which supports signed value.
    But still I am getting the error.the error is 'Sign is lost'.
    I would appreaciate if you can help me with this.
    Correct answer will be rewarded.
    Thank you in advance,
    Sanujit Acharya

    Check The Forum
    Re: PA-BN : "FX015: Sign lost." dump
    Kanagaraja L

  • Conditions type of category "Delivery Costs"(B) donu00B4t allow negative values

    Hello,
    I would like to know if it is possible to munipulate a condition type with category "B" Delivery costs in such a way that it allows a negative entry in the Purchase Order.
    Estandard SAP does not allow it. Message: 06259 "Negative Delivery costs are not allowed".
    If the above is not possible, can anyone tell me how a can manipulate a Discount (fixed amount) in such a way that it not only points at a particlar account (accruels indicator does this job) upon MIGO, but also apears as a line-item upon receiving the invoice (MIRO). As far as I know, only Planned delivery costs can do this job. But they do not allow negative values!
    If anyone has encountered a similar task, please tell me how they solved it.
    Thanks,
    Aart

    Hello Guys,
    The scenario isas follows.
    When one buys fuel, in Chile  one has to pay fuel especific Taxes.
    Version especific config does not resolve this because we need the tax in amount (value) not in percentage.
    In our system we resolved this by creating a material "Fuel especific Taxes" which points at a tax-account  with a special tax-indicator.
    So far so good.
    Now the government implemented a second fuel tax - "Fuel tax variable" which we might resolve in the same way, but the problem is this tax might be negative(!).
    We cannot create a material with a "negative value" in our Purchase Order and discount conditions have inmediate efect on the material costs in the PO.
    The ideal would be incorporate a condition type in the PO which upon invoicing (MIRO) shows up with the tax account (and a possible negative value!
    The model we have developed upto now is using the tabpage "GeneralAccount" in the MIRO but in this model we have to indicate the account ourselves. The system does not propose it.
    Thats why I thought of the "Planned Delivery costs" option.
    Hope this clarifies a bit more the case we have.
    Thanks for any feedback
    Aart

  • Service PO Creation With Negative value

    Hi all,
    I am trying to create a Services PO using the BAPI 'BAPI_PO_CREATE1'
    In my scenario, First time PO will create with negative value.
    Then I will remove some conditions in Services line.
    Then PO value will becomes positive.
    When i create the bapi in ME21N, its working fine. Net values of PO become negative.
    But When I try the same using the BAPI, net price of the PO stored as 0(ZERO).
    If I create a PO with positive value using the same BAPI, everything is fine.
    If I change the PO after creation(removing the service line to make bapi value as positive), Net values are doubled since value stored as zero instead of negative value.
    Kindly help me to get out of this issue.
    Note: I need to create a Services PO with negative value using the BAPI
    Thanks in advance.

    Hi,
    No need to create service PO with negative quantity!
    If payment not done for your servicePO, you can cancel invoice document and then revoke SES.
    If any other process involved you can do subsequent debit or subsequent credit  for your service PO in t.code:MIRO.
    Regards,
    Biju K

  • Inventory Management Negative Values

    Hello Experts -
    I'm working on an inventory management report and we're in BI 7.0.
    In the report, the valuated stock quantity is a non-cumulative key figure with inflow as receipt stock qty and outflow as issue stock qty.
    In my transformation, I'm taking care of the process keys and multiplying by -1 when the keys are 100, 101, 104, 105, 106, 110. I'm doing that for qty as well as for $ figures.
    But when I look into valuated stock qty in my report, I'm seeing negative values for movement type 602 which is a return. Earlier this was a positive value.
    For movement type 601 which is a sales, I'm seeing positive values which used to be a negative value.
    Basically, the figures got reversed even though I'm multiplying by -1 only on one set of process keys such as 100, 101, 104, 105, 106, 110.
    Is it ok to have negative figures when dealing with movement types?
    Any help would be greatly appreciated.
    As always, points will be granted.
    Thanks!

    Hi,
    Check these threads.
    Negative Val Stock
    Inventory Report with negative stock
    Regards.

  • Select returns negative values for unsigned datatypes in MySQL DB

    Hi, I have a table in a MySQL database where some fields are declared as "unsigned".
    Example:
    CREATE TABLE countries (
    Country_id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
    Number SMALLINT UNSIGNED NOT NULL
    My problem is when inside a .xsql file, I try to do a select:
    <xsql:query>
    select Number from countries where Country_id="15"
    </xsql:query>
    If inside the Database, Number always goes from 0 to 65535 (UNSIGNED SMALLINT),
    the resulting XML of that query will always show negative values if Number is
    bigger than 32767 (so it ignores the "UNSIGNED").
    Have you seen something like this before? Do you kwno what I'm doing wrong or what
    can I do to retrieve the values unsigned?
    Thanks a lot!
    David

    hi muneer
    >
    We are facing a strange issue in our R12.1.3 Ebiz instance (DB 11.2.0.1) - Solaris Sparc 64 bit - 2 node (1 node Apps, 1 node DB).
    Some of the purchase orders are having a negative purchase order number.
    SQL> select segment1 from PO_HEADERS_ALL where segment1 < '0';
    SEGMENT1
    -7951814
    -8960847please see
    Error: Purchase Order Creation Could Not Be Initiated, But PO Was Created With Negative PO Number And No Distributions [ID 789464.1]     To Bottom     
    PO Creation Process Failed In Sourcing And Creates Document With Negative Numbers [ID 1479616.1]
    Purchase Order Receipt FAQ (P4312) [ID 1306869.1]
    How it could happen. Any suggestions please !looks like a bug
    Can a Purchase Order (PO) Be Created With Negative Quantity or Price? [ID 241389.1]
    AppsMasti
    Sharing is caring

  • Using decode function without negative values

    Hi friends
    I am using oracle 11g
    I have at doubt regarding the following.
    create table Device(Did char(20),Dname char(20),Datetime char(40),Val char(20));
    insert into Device values('1','ABC','06/13/2012 18:00','400');
    insert into Device values('1','abc','06/13/2012 18:05','600');
    insert into Device values('1','abc','06/13/2012 18:55','600');
    insert into Device values('1','abc','06/13/2012 19:00','-32768');
    insert into Device values('1','abc','06/13/2012 19:05','800');
    insert into Device values('1','abc','06/13/2012 19:10','600');
    insert into Device values('1','abc','06/13/2012 19:15','900');
    insert into Device values('1','abc','06/13/2012 19:55','1100');
    insert into Device values('1','abc','06/13/2012 20:00','-32768');
    insert into Device values('1','abc','06/13/2012 20:05','-32768');
    Like this I am inserting data into table for every 5 minutes Here i need the result like
    output:
    Dname 18:00 19:00 20:00
    abc 400 -32768 -32768
    to retrieve this result i am using decode function
    SELECT Dname,
    MAX(DECODE ( rn , 1,val )) h1,
    MAX(DECODE ( rn , 2, val )) h2,
    FROM
    (SELECT Dname,Datetime,row_number() OVER
    (partition by Dname order by datetime asc) rn FROM Device
    where substr(datetime,15,2)='00' group by Dname.
    According to above data expected result is
    Dname 18:00 19:00 20:00
    abc 400 600(or)800 1100
    This means I dont want to display negative values instead of that values i want to show previous or next value.
    Edited by: 913672 on Jul 2, 2012 3:44 AM

    Are you looking for something like this?
    select * from
    select dname,
           datetime,
           val,
           lag(val) over (partition by upper(dname) order by datetime) prev_val,
           lead(val) over (partition by upper(dname) order by datetime) next_val,
           case when nvl(val,0)<0  and lag(val) over (partition by upper(dname) order by datetime) >0 then
             lag(val) over (partition by upper(dname) order by datetime)
           else 
             lead(val) over (partition by upper(dname) order by datetime)
           end gt0_val
    from device
    order by datetime
    where substr(datetime,15,2)='00';Please take a look at the result_column gt0_val.
    Edited by: hm on 02.07.2012 04:06

Maybe you are looking for

  • Using External Display Only - Gaming

    Hi, I want to be able to connect my HP w2207h 22inch widescreen external LCD to m'y Macbook Pro running leopard to allow me to play games such as SPORE and The Sims 3. I have already set the external monitor as primary in os x but every time that I s

  • Publish binary data from OSB JEJB PS to a mq queue

    Hi All, I have a JEJB proxy service which has 3 arguments, : 2 strings and one is a byte array. I want the third argument: i.e th byte array to be passed on as it is to a mqueue. Now in my JEJB proxy service, I am only logging all the 3 parameters an

  • Strange Mail behavior

    OK, this just started yesterday: I can enter ONE (1) addressee for a new email message. If I want to add another name (Boba...), this is what I get: BBoBobBobbBobbaBobbaBobba If I touch the delete key, I just get another "Bobba." If I highlight the w

  • When I open a new tab, it shows on the taskbar as a new window, help me close them..

    Since I installed 4.01, every-time I try to open a new tab, it shows as a new window in my task-bar. I don't like it showing that way! How can I change that?

  • Jsf aware ajax enabled lifecycle

    I am developing a custom component and will be using ajax. My reference uses an approach that requires an alternate lifecycle, but nowhere in the book does it describe how to extend the lifecyclefactory to do this. 1) Can anyone point me at a basic e