Double Conditions

In plain English please...
I need the coding for multiple conditions in the expressions.
This is what I mean.
onClipEvent(enterFrame){
if(Key.isdown(Key.SPACE))
(this._x=_example._x) {this._y=example._y}
The underlined part is what I need help with. How do I put
the two first parts together for the second part to be true for
both part one and two......HELP!

> How do I put the two first parts together for the second
part to be true
> for both part one and two
If I could understand what you meant by that, I could answer
you .. but its
just reading as gobbledygook. For a start there is only one
condition there
(the key.isdown bit), the other two 'parts' are assignment
statements
(setting the x and y values to this to be the same as for
example. You also
seem to have an extra '_' in front of the name 'example' in
one place. So
the whole thing, along with your question, seems to make
little sense.
Please explain more clearly what you are trying to do.
Jeckyl

Similar Messages

  • Nested if-then-else with double condition

    Hi everybody, I tried to see on the forum how to build a complex if-then-else statement....but I didn't still find an answer
    So, I'll explain my situation:
    First I have to check if the field PROJ_DT_TO is null or not and then the language parameter:
    1. if the field PROJ_DT_TO IS NULL then I have to check the language parameter:
    a) if this last one is equal to 'English' I want to write inside my template 'Today',
    b) if instead is equal to 'Greek' I want to write 'Σήμερα'
    2. else if the field PROJ_DT_TO IS NOT NULL, again, I have to check the language parameter:
    a) if this last one is equal to 'English' I have to write <?format-date:PROJ_DT_TO;'MMMM yyyy'?>
    b) if instead is equal to 'Greek' I have to write <?format-date-and-calendar:PROJ_DT_FR;‘MMMM yyyy’;'GREGORIAN';'Europe/Athens'?>
    I used the following syntax...but it didn't work...
    <?choose@inlines:?>
    <?when@inlines:PROJ_DT_TO=''?>
    <?xdofx:if $p_language = 'Ελληνικά' then 'Σήμερα' else if $p_language = 'Αγγλικά' then 'Today' end if?><?end when?>
    <?otherwise@inlines:?>
    <?xdofx:if $p_language = 'Ελληνικά' then <?format-date-and-calendar:PROJ_DT_FR;‘MMMM yyyy’;'GREGORIAN';'Europe/Athens'?> else if $p_language = 'Αγγλικά' then <?format-date:PROJ_DT_TO;'MMMM yyyy'?> end if?>
    <?end otherwise?>
    <?end choose?>
    The first piece, until the first <?end when?> instruction works....it's the <?otherwise@inlines:?> and the rest which doesn't work.....
    If, instead, I use (without reaching my goal):
    <?choose@inlines:?>
    <?when@inlines:PROJ_DT_TO=''?><?xdofx:if $p_language = 'Ελληνικά' then 'Σήμερα' else if $p_language = 'Αγγλικά' then 'Today' end if?><?end when?>
    <?otherwise@inlines:?>
    <?format-date:PROJ_DT_TO;'MMMM yyyy'?><?end otherwise?>
    <?end choose?>
    I see the date PROJ_DT_TO even if always in the date format 'MMMM yyyy'
    Anybody knows how can I rewrite my statement in order to reach the if-then-else situation I metioned above ?
    Thanks in advance
    Best Regards
    Alex

    Hi Vetsrini, thaks for your answer and your hint !!
    I tried your code, but without the command 'when@inlines' doesn't work...
    So I tried this :
    <?choose@inlines:?>
    <?when@inlines:PROJ_DT_TO=''?>
    <?xdofx:if $p_language = 'Ελληνικά' then 'Σήμερα' else if $p_language = 'Αγγλικά' then 'Today' end if?>
    <?end when?>
    <?otherwise@inlines:?>
    <?format-date:PROJ_DT_TO;'MMMM yyyy'?>
    <?end otherwise?>
    <?end choose?>
    and It works..
    But, look at this ! I discovered on the manual that inside the Preferences it's possible to set the Report Locale with the language you want.....and if I set my Report Locale in Greek, using the code above I correctly see all dates in Greek....but ALWAYS !!
    I need to see dates in Greek or English dinamically according to the value of the parameter p_language passed inside the template at the beginnig (<?param@begin:p_language?>).
    Even if inside the code there is the double condition ($planguage = 'Ελληνικά' or $p_language = 'Αγγλικά') for the two cases PROJ_DT_TO='' or PROJ_DT_TO !='', I see ALWAYS dates in the language set inside the Locale Report....
    Is there a way to manipulate the Report Locale Setting and make it dinamic ?
    Thanks in advance
    Alex
    So this preference is static, even if inside my report I have the parameter p_language I can see the data and headings with

  • User Exit for eliminating double condition type in sales order

    Sir,
    In SE38,  Program SAPMV45A,  I am using user exit ( Userexit_pricing_prepare_tKomp )  to avoid double entry
    of condition type like PR00 in sales order . But i am not getting how to write code.
    Please, help me how to write code in user exit.
    thanks,
    Manoj.

    Thanks for replay.
    Sir, I want to impliment it in sales order (VA01 OR VA02 )
    for pricing  . Here I want to avoide double  condition types like PR00, packing forwarding, frieght ....etc
    in  sales order pricing.
    Here i want to give logic that codition type is already exit and you canot enter same condition type
    again. means if condition type is already exit then system should not allowed to enter again the same condition type
    in sales order pricing.
    Thanks
    Manoj.

  • Double conditions to hide/display a field

    Hello all,
    I have two drop-down menus and a field. In this field, depending on what is selected in both drop-down menus, either a Yes-No choice or a drop-down menu appears.
    My problem is that I don't know how to do that.
    Could I run a script on the preOpen event of the field that says:
    if dropdownmenu1.rawValue == 1 and dropdownmenu2.rawValue == 2
    then field.YesNoChoice.presence = "visible"
    field.DropDownMenu.presence = "hidden"
    Would that work? Where could I get an example for that (if it exists)?
    Thanks in advance

    Place the code in the Exit event of both the drop downs.
    JavaScript is the language.
    if (dropdownmenu1.rawValue == "1" && dropdownmenu2.rawValue == "2"){
         YesNoChoice.presence = "visible";
         DropDownMenu.presence = "hidden";
    Thanks
    Srini

  • Purchase Order Condition WOTB - OTB Procurement

    Hello All,
    I would like to ask what is the Condition WOTB - OTB Procurement used for.  It seems that it always takes the Net Price multiplied by the quantity.  But in the column Actual Price I already get my net value, so I would like to ask what is the reason of having a double condition which displays the same figures.  Thanks.
    Thanks.

    Hi,
    In Tr.Code :M/08 deflag the 'Manual' for your condition.
    regards

  • Using conditions on CSV files in Receiver Determination

    Hi,
    We're reading EDI files from a directory and turning them into IDocs. We've got an ABAP class that converts the EDI to XML for us, we're calling that as the first step in the Operation Mapping.
    However, several different EDI files are dropped in the same directory, regardless the type and version. Luckily this can be found in the UNB segment in the EDI message. Now we want to make the split in the Interface Determination, but to do he'll need to read the EDI file's first line, determine what exactly it is, and then send it to the correct operation mapping.
    Is there a way to read a non-XML file using XPath in the Condition part of the Interface Determination?
    What I basically want to do is something like this:
    File content :
    UNB+93A:ORDERS:etc.
    UNH+347843243:etc.
    What I want to have my condition on is on the 93a and on ORDERS. So I'll need a double condition with AND (I know how to do that part) but on substrings of the data, which I don't know what to do. I only know that the UNB line will always be the first line.
    So IF pos 5-7 EQ '93a' AND pos 9-14 EQ 'ORDERS' THEN Operation Mapping, etc.
    Any ideas if this is possible, and how?
    Kind regards,
    Frederik-Jan.

    hi,
    >>>Is there a way to read a non-XML file using XPath in the Condition part of the Interface Determination?
    yes this is possible
    but it would be much easier if you'd just create an adapter module (especially if you have more complex conditions)
    that would check the content of the file (parsing it in java) and fill out any of the adapter specific attributes
    on the basis of which you could easily do the receiver determination
    I used this approach for VDA (also non XML files) and it worked very nicely
    Regards,
    Michal Krawczyk

  • Change "multidimensional condition"

    Hello Guys,
    i hope anybody can help me.
    I have following problem.
    Program SAPLV61A
    Include LV61AA55
    * execute condition value formula not changing xkomv
    * will normally be processed in xkomv_kwert_ermitteln
        IF xkomv-kofrm NE 0 AND wertformel EQ space AND komp-kposn NE 0.
          rettkomv = xkomv.
          xkwert   = xkomv-kwert.
          frm_kondi_wert-nr = xkomv-kofrm.
          PERFORM (frm_kondi_wert) IN PROGRAM saplv61a IF FOUND.
          xkomv    = rettkomv.
        ENDIF.
    I will change u201Crettkomvu201D in this subroutine.
    But I can not do an u201CDirty assignu201D because it is a local variable.
    Is it somehow possible, to change the local variable of SAPLV61A in the subroutine?
    That is a formel of VOFM to change the value for a multidimensional condition.
    In the default, I can not change it without creating double conditions. ( SAP Note: 1073779 Point 5)
    Kind regards
    Florian

    Hi Florian,
    It is not possible to change the local variable values by the method suggested by Gaurav Sharan, you can only change global variables of the associated main program.
    Now,
    I will change u201Crettkomvu201D in this subroutine.
    But I can not do an u201CDirty assignu201D because it is a local variable.
    I didn't quite get what you mean by the above, anyways looking at the code,
        IF xkomv-kofrm NE 0 AND wertformel EQ space AND komp-kposn NE 0.
          rettkomv = xkomv.
          xkwert   = xkomv-kwert.
          frm_kondi_wert-nr = xkomv-kofrm.
          PERFORM (frm_kondi_wert) IN PROGRAM saplv61a IF FOUND.
          xkomv    = rettkomv.
        ENDIF.
    i guess you want to change RETTKOMV so that the changes are carried over to XKOMV is that right?
    If your intention is to update XKOMV based on some custom logic, then you can use the below userexit for the same,
    RV61AFZB - userexit_xkomv_bewerten_end it gets called at the end of the sub routine - xkomv_bewerten in LV61AA55.
    Is it somehow possible, to change the local variable of SAPLV61A in the subroutine?
    Not unless you do a core mod or implement an explicit enhancement(ECC 6.0).
    Regards,
    Chen

  • Pricing procedures SRM

    In ECC, one can have different pricing procedures in purchase order like local schema, imports schema etc. which can be selected by schema group vendor. How is this handled in SRM?

    Hi
    Which SRM version are you using ?
    <u>In SRM 5.0 , in case of extended classic scenario(ECS) , the final price is transferred as net price in SAP backend system. In the case ECS in SRM , IPC should be there and is mandatory. For ECS,IPC is mandatory.But with SRM 5.0,you dont need seperate installation of IPC,you have the Internal IPC for which you just need to see whether the VMC is activated.The VMC is exclusively used as a runtime environment for selected SAP Java components for example, Internet Pricing Configurator.</u>
    <u>Follow the below path in SRM 4.0 system -></u>
    SPRO-SRM-SRM server-Cross Appl Basic settings-Pricing...
    <b>Please go through the following pointers, which will definitely help -></b>
    Pricing Conditions
    Re: Determination of Pricing Procedure in SRM
    http://help.sap.com/saphelp_srm30/helpdata/en/72/f40f3c98ddaa4ce10000000a11402f/content.htm
    Condition types from SRM to backend
    Conditions for Pricing
    Pricing on SRM
    <u>Few SAP OSS Notes -></u>
    Note 782991 BAPI_PO_CREATE1 displays message V1 206
    Note 72199 Problem analysis update business volume data
    Note 90508 Tax condition type MWST in purchasing
    Note 175594 Double conditions after pricing procedure changed
    Note 32332 No order value update in Purchasing Info System
    Regards
    - Atul

  • BAPI for sales order create

    My query is
    In BAPI_SALESORDER_CREATEFROMDAT2, when pricing condition types have been passed in ORDER_CONDITIONS_IN  tables, after creation of sales order, double conditions types occurred in sales order.
    How to remove that duplicacy ?
    Suggestion is that
    1st set of condition types occurring based on config
    2nd set of conditions types coming from FM.
    How to ignore 1st of data?

    hi
    Hi,
    Go through this one
    *& Report ZSD_j_SALESORDER
    report zsd_j_salesorder1 line-size 132 message-id zmmbapi .
    *& Created By : janani
    *& Created on : 13.10.2007
    *& Requested By : vardhman
    *& Description of program :
    Internal table definition *
    data: gt_order_header_in like bapisdhead occurs 0 with header line,
    gt_return like bapireturn1 occurs 0 with header line, " Return Messages
    gt_order_items_in like bapiitemin occurs 0 with header line, " Item Data
    gt_salesdocument like bapivbeln-vbeln , "Number of Generated Document
    gt_order_partners like bapiparnr occurs 0 with header line, "Document Partner
    gt_return1 like bapiret2 occurs 0 with header line.
    Data definition *
    types: begin of ty_gt_ft_sales ,
    partn_numb(10) type n ,"Customer Number 1
    partn_role(2) ,"Partner function
    sales_org(4) , "Sales Organization
    distr_chan(2) , "Distribution Channel
    division(002), "DIVISION
    doc_type(4) , "Sales Document Type
    purch_no(020), "Purchase order
    material(18), "MATERIAL
    targetquantity(020),"Target quantity
    reqqty(020), "Req quantity
    reqdate(010), "req date
    *REQ_DATE_H(010),
    ref_1(012), "Ref
    unload_pt(025),
    *PARTN_ROLE(2) ,"Partner function
    *PARTN_NUMB(10) ,"Customer Number 1
    end of ty_gt_ft_sales,
    begin of ty_header ,
    partn_numb(10) ,"Customer Number 1
    partn_role(2) ,"Partner function
    sales_org(4) , "Sales Organization
    distr_chan(2) , "Distribution Channel
    division(002), "DIVISION
    doc_type(4) , "Sales Document Type
    purch_no(020), "Purchase order
    unload_pt(025),
    req_date_h(010),
    end of ty_header,
    begin of ty_item,
    material(18), "MATERIAL
    targetquantity(020),"Target quantity
    reqqty(020), "Req quantity
    reqdate(010), "req date
    ref_1(012), "Ref
    *UNLOAD(025),
    end of ty_item.
    data : msg(240) type c, " Return Message
    e_rec(8) type c, " Error Records Counter
    rec_no(8) type c, " Records Number Indicator
    s_rec(8) type c, " Successful Records Counter
    t_rec(8) type c, " Total Records Counter
    v_matnr like mara-matnr,
    v_parvw type parvw.
    data : gt_ft_sales type standard table of ty_gt_ft_sales with header line.
    data : wa_gt_ft_sales type ty_gt_ft_sales,
    wa_order_items_in like gt_order_items_in,
    wa_gt_ft_sales1 type ty_gt_ft_sales,
    wa_header type ty_header,
    salesdocument like bapivbeln-vbeln.
    selection block for EXCEL UPLOAD FILE
    selection-screen begin of block b1 with frame title text-000.
    parameters file type ibipparms-path obligatory.
    selection-screen end of block b1.
    *<<<<AT SELECTION-SCREEN ON VALUE-REQUEST FOR FILE .
    at selection-screen on value-request for file .
    perform getname.
    form getname.
    call function 'F4_FILENAME'
    exporting
    program_name = syst-cprog
    dynpro_number = syst-dynnr
    importing
    file_name = file.
    endform.
    *TOP-OF-PAGE.
    top-of-page.
    skip 3.
    format color col_heading inverse on.
    write 40 text-001.
    format color col_heading inverse off.
    skip 1.
    format color col_negative inverse on.
    write :/ text-002, 13 sy-mandt , 104 text-003, 121 sy-uname,
    / text-004, 13 sy-datum , 104 text-005, 121 sy-uzeit.
    format color col_negative inverse off.
    skip 3.
    *START-OF-SELECTION.
    start-of-selection.
    perform get_data.
    perform bapi.
    *end-of-page.
    perform result.
    form result.
    t_rec = e_rec + s_rec.
    skip 3.
    format color col_total inverse on.
    write: /38 text-007, t_rec.
    format color col_total inverse off.
    format color col_negative inverse on.
    write: /38 text-008, e_rec.
    format color col_negative inverse off.
    format color col_total inverse on.
    write: /38 text-009, s_rec.
    format color col_total inverse off.
    endform.
    *& Form get_data
    text
    --> p1 text
    <-- p2 text
    form get_data .
    call function 'WS_UPLOAD' "#EC *
    exporting
    filename = file
    filetype = 'DAT'
    tables
    data_tab = gt_ft_sales
    exceptions
    conversion_error = 1
    file_open_error = 2
    file_read_error = 3
    invalid_type = 4
    no_batch = 5
    unknown_error = 6
    invalid_table_width = 7
    gui_refuse_filetransfer = 8
    customer_error = 9
    no_authority = 10
    others = 11.
    if sy-subrc 0 .
    message e000.
    endif.
    endform. " get_data
    *& Form BAPI
    form bapi .
    loop at gt_ft_sales into wa_gt_ft_sales.
    wa_gt_ft_sales1 = wa_gt_ft_sales.
    at new partn_numb.
    wa_header-doc_type = wa_gt_ft_sales1-doc_type..
    wa_header-sales_org = wa_gt_ft_sales1-sales_org . "'0001'
    wa_header-distr_chan = wa_gt_ft_sales1-distr_chan. "'01'
    wa_header-division = wa_gt_ft_sales1-division. " '01'
    wa_header-purch_no = wa_gt_ft_sales1-purch_no.
    wa_header-req_date_h = wa_gt_ft_sales1-reqdate.
    call function 'CONVERSION_EXIT_PARVW_INPUT'
    exporting
    input = wa_gt_ft_sales1-partn_role
    importing
    output = v_parvw.
    wa_header-partn_role = v_parvw.
    wa_header-partn_numb = wa_gt_ft_sales1-partn_numb.
    wa_header-unload_pt = wa_gt_ft_sales1-unload_pt.
    move-corresponding wa_header to gt_order_partners.
    move-corresponding wa_header to gt_order_header_in.
    append gt_order_header_in.
    append gt_order_partners.
    endat.
    call function 'CONVERSION_EXIT_CCMAT_INPUT'
    exporting
    input = wa_gt_ft_sales1-material
    importing
    output = v_matnr.
    gt_order_items_in-material = v_matnr .
    gt_order_items_in-target_qty = wa_gt_ft_sales1-targetquantity . "'1000'
    gt_order_items_in-req_qty = wa_gt_ft_sales1-reqqty.
    gt_order_items_in-req_date = wa_gt_ft_sales1-reqdate.
    *GT_ORDER_ITEMS_IN-BILL_DATE = wa_GT_FT_SALES1-REQDATE.
    gt_order_items_in-ref_1 = wa_gt_ft_sales1-ref_1.
    append gt_order_items_in.
    clear : wa_gt_ft_sales1,wa_header.
    at end of partn_numb.
    call function 'BAPI_SALESORDER_CREATEFROMDAT1'
    exporting
    order_header_in = gt_order_header_in
    WITHOUT_COMMIT = ' '
    CONVERT_PARVW_AUART = 'X'
    importing
    salesdocument = salesdocument
    SOLD_TO_PARTY =
    SHIP_TO_PARTY =
    BILLING_PARTY =
    return = gt_return
    tables
    order_items_in = gt_order_items_in
    order_partners = gt_order_partners.
    ORDER_ITEMS_OUT =
    ORDER_CFGS_REF =
    ORDER_CFGS_INST =
    ORDER_CFGS_PART_OF =
    ORDER_CFGS_VALUE =
    ORDER_CCARD =
    ORDER_CFGS_BLOB =
    ORDER_SCHEDULE_EX =
    if gt_return-type eq 'E' .
    e_rec = e_rec + 1.
    read table gt_return with key id = 'V1'.
    format color col_negative inverse on.
    rec_no = e_rec + s_rec.
    concatenate text-006 rec_no ':'
    gt_return-message into msg separated by space .
    condense msg.
    write: / msg.
    format color col_negative inverse off.
    elseif gt_return-number = '000'.
    s_rec = s_rec + 1.
    format color col_positive inverse on.
    msg = 'SUCCESS'.
    condense msg.
    write: / msg .
    format color col_positive inverse off.
    write :/ salesdocument, 'Has been created'.
    perform commit_mm.
    endif.
    clear: gt_return[], msg.
    endat.
    endloop.
    endform. " SLALE_UPLOAD_DATA
    *& Form COMMIT_MM
    text
    --> p1 text
    <-- p2 text
    form commit_mm .
    call function 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'
    importing
    return = gt_return1.
    clear: gt_order_items_inhttp://].\"GT_ORDER_CONDITIONS_IN[.
    endform. " COMMIT_MM
    inthis pass re_doc field in header...

  • Text Entry Box--Advanced Actions--Conditional Statement--Double quotes in literal input value

    Hello forums,
    I'm new to the forums (and Captivate in general), but I'm having a real problem carrying out a tutorial design and I think you may be my only hope.  Let me explain what I want to do and the difficulty that I'm having:
    I'm an instruction librarian at a university, and I'm designing an interactive tutorial for English 100 students to complete in order to become familiar with how to search the library catalog.  What I've done is taken a screenshot of the catalog search page, made it the background of a slide in Captivate (vers. 6), and placed a text entry box over the search bar in the screenshot.  The idea is for the students to conduct a simulated search by choosing one of three suggested search string formulations, and depending on the search string they enter, the tutorial will jump to a slide featuring a screenshot of what the actual search results would look like.  The idea is to emphasize the use of keywords over full-sentence phrases, and the use of double quotation marks to enclose multi-word search terms.
    So I've set the action for the TEB to "Execute Advanced Actions" and then created some IF/THEN statements in the "Advanced Actions" pop-up window (with action type set to 'conditional'). The script is such that if the student enters the first search option (how does sleep affect college students) in the TEB, the tutorial jumps to 1 slide, if they enter the second option (college students AND sleep), featuring a Boolean operator (AND), the tutorial jumps to a 2nd slide, and if they enter the third option ("college students" AND sleep) with the double quotes around "college students" and the Boolean operator, the tutorial should jump to a 3rd slide.  This action script works fine for the first two input options, but I can't make it work for the third search option.
    I think that it has something to do with the fact that the third input option features double quote marks, and this seems to throw off the script (I tried a quote-less input value for the third IF/THEN just to make sure that it would work jumping to the 3rd slide and it did), and I'm wondering if anyone has any suggestions as to how I can get around this issue.  Again, I need it to work so that if the student enters "college students" AND sleep, with the quote marks and the Boolean operator, the tutorial will jump to a slide showing the search results if those search terms were used in a real search of the catalog.
    I'd be extremely grateful for any help that anyone here can give me, we've been trying to make our online tutorials more engaging and interactive (and therefore more interesting), and I think this would be a great way to teach students about using quotes in their catalog searches.
    Thank you for your time and consideration.
    Andrew Wilk
    College Library
    UW-Madison

    The tutorial is for a "how to use catalog searching" instruction in an undergraduate library session.  We use boolean operators (AND, OR, NOT) to combine search terms, ex. to search for books about the sleeping habits of college students, I would enter "college students AND sleep."  Because "college students" is a multi-word phrase to describe one concept, I need to put quotation marks around the phrase to prevent the catalog from searching for the individual words separately, so the most correct search becomes ["college students" AND sleep] with quotation marks around only "college students," a user-typed "AND," and the word "sleep" (no q-marks).
    A colleague of mine worked out a pretty cool (if complicated) solution that I'll share if anyone is interested.  Since the q-marks where the problem, we've set it up so that the TEB validates the response for the search string with q-marks around "college students." If they enter it correctly, the tutorial jumps to the corresponding slide. The attempt # is set to 1, and if the user fails to enter the validated phrase (they misspell or use one of the other response options) then the TEB is set to run an Advanced Actions Script in which the other two options are scripted in IF/THEN statements that cause, when the term is entered correctly, the tutorial to jump to their corresponding slides. We've created another tab of IF/THEN statements that say that if the response is NOT equal to one of these response options, then the slide restarts (technically the slide "jumps" back to itself and starts over) and the user gets another chance to start the cycle over again.
    I know this is confusing (I had a really hard time explaining it in words), so if anyone is interested I could make a Jing video when I have some time.
    Thank you for all your suggestions

  • Restrict Double entry of condition type

    Hi All,
    How to control double entry of condition type at Item & header level in sales order????....any solution
    Thanks & best regards
    Umed

    Condition type settings V/06, Changes which can be made section maintain B- Automatic entry has priority , if condition record exist then system will not accept to enter manually.(If yours is autoamatic condition type.)
    If your condition type is manual and if you maintain 'C' - Manual entries has been priority or Blank - No lomitations, then i think we can not stop this.
    Regards,
    Ramesh

  • Condition types doubling/tripling/...when sales documents created with reference to other documents

    Hi,
    When I create a sales order with reference to a Quote, the pricing condition types are duplicating. Same is happening when subsequent documents like Billing, credit memo request and credit memo are created. Particularly, the condition types  are doubled/tripled/.... in the subsequent documents. Because of this, pricing net value is calculated wrong. For example, freight charges getting added twice. I searched the forum and found similar issue was discussed at Condition types - Doubling UP  raised by forum member Sridhar Vijjhalwar, however there is no solution added in it.
    Has any other member came across this issue and resolved?
    I have checked the access sequence and exclusive indicators are checked. Copy controls are also checked, looked good and I tested by adding copying type D/G. Checked OSS note also and found one OSS note 1459807 - Invoice has missing/incorrect conditions when created from a sales order.
    but it is not solving the problem either. Issue also elevated to SAP for their investigation. Our system is SAP ECC 6.0 - EHP6.
    Quote Pricing:
    Sales order Pricing:
    I appreciate any pointers to resolve the issue.
    Regards,

    what was the scenario, and how did you replicate?
    It is a configuration for a new project (France country), however we found that the same issue popping up for existing business processes also. As for replicating, we just tried the same procedures, the issue is found in subsequent documents.
    If you have observed one notable thing is - all the condition types which duplicated were Z Conditions, and the standard conditions were never duplicated at least in my case.
    In our case even standard condition types like MWST, SKTO, GRWR, VPRS also shows duplicating.
    if you can throw about the business process?
    As you have mentioned order created with reference to quote was only the straight forward scenario?
    I tested other scenario also, like creating a sales order, then delivery and then billing. In this case in billing document, the condition types are duplicating. If I create a credit memo request against the billing document, then it further duplicating.
    I am not sure what is causing this. I initially thought it may be copy control settings pertaining to the new project, however other business documents also has the same issue. Other business are using different document types.
    Thanks for your follow-up.
    Regards,

  • BED is Double in No ED setoff Conditions

    Hello,
    Such scenarioes of manual excise is also applicable for receipts in
    depot. e.g. when duty is paid w.r.t MRP, RG23D needs to be updated with
    MRP less abatement for excise base value (instead of PO base value) and
    BED @ applicable rate on MRP less abatement. In PO, the ED payable
    w.r.t. MRP less abatement is shown as Manual Excise. How do we address
    this issue?
    For This We are Creating the ZMRP condition type for materials.. in this condition type we are maintaining the MRP value of material.
    And Created the ZABT condition type for abatement (38%) and maintained the records.
    And mainatained the ZED% for calculation of ED which calculated on ZMRP-Abartment charge(Suppose MRP value is 100 INR & the 38% Abttement means 100-38 on 62 INR ED is calulated.for this
    ZED% maintained for material and plant specific.. and Assigned the Subtotal 5 for this one.in Pricing
    While in Setoff Tax code ED is calculted correct in Mfg plant as well as Depot.
    But Depot is having the No ED setoff the ED is Becoming Double... The ZED% value is Adding the JMO2 value and Becoming double
    Regards
    Mahesh Naik

    Dear Mahesh,
                             I am not clear in your problem but there is a work around. U should set the %of duties to match the total price in  eg. now your problem is that  ZED% is getting double. for this particular material temporarily set % of ZED in JM02 .  Now you  check by creating a PO and doing the GR and MIRO for the material received.
    After the transaction is over u reset it back to the actual value.  Check this senario and check that at this moment PO values should not be affected for other materials and try to avoid doing PO of other material till u finish this PO.
               If the above is not working out u have to manipulate basic price and the conditions accordingly and create the PO so as to get the values to be adjusted for setoff.
               We have faced this problem with BED as the basic price is given discount but the excise duty is charged according to the actual value.

  • Double Booking against same freight condition In import PO.

    Dear All,
    I have a issue for import PO.Two freight forwarder have wrongly raised bills against the same consignment and the FI user book the both bill in MIRO.System allows the same and didn't give any error or warning message.My question is how i control the double booking of same amount ?
      In SPRO-MM-LIV - Incoming  InvoiceSet check for Duplicate invoice Indicator is set only for "Check Reference" and not for check company code and Invoice date. And our client user didn't maintain vendor in PO condition.But in MIRO they selects the condition and in Details tab>Invoicing .Party-- maintains the vendor and posts the MIRO.
    Please Guide me ...
    Regards
    Sachin

    Hello Jeyakanthan,
    I have set company code and invoice date.It helps a lot. Now system gives me message "Check if invoice already entered under accounting doc. no. 5100000069 2011 and  Message no. M8108".But when i open this 510000069 2011 in MIR5 i didn't find any similarity in this and the one which i am posting.Is there any other way out? But i notice if i m posting the duplicate entry (i.e. 2nd MIRO) against the same qty,in MIRO under "Settled qty" i can see the qty which was posted earlier MIRO.Can we use this for reference and can arranged the settled qty column near qty column in MIRO. In PO/MIGO there is facility to set the sequence of column but not in MIRO..
    Thanking you in advance.as usual your reply always helps a lot.
    Regards
    Sachin Thakur

  • PO header conditions doubling up.

    I am having a problem with the price determination on PO.
    I have created 19 custom condition types, of these some are header and some are item level.
    Problem 1.
    The header level condions are doubling up as per increase in line items. For ex.My Z header condition is manually maintained as $10 for the whole PO.
    I have 2 line items on the PO. The condition value is coming up as $20.00.
    Problem 2.
    2 of these header conditions have to post to a specific GL. Accordingly, in the calculation schema, I have assigned a custom accountkey. In OBYC, this account key has a GL. But no postings are going to this account,
    All help is appreciated.
    -Pratibha

    Thanks Kiran,
    1.Took care of that.
    2. My Z condition is not a tax. it is a surccharge. Each po will have to post this amount to a specific GL. For Ex. on PO 45xxxx1234, it will have $10.00 posting to GL644000.
    I am not able to route the monies on this Condition to this GL.
    The total PO amount is going to the GR/IR Clearing and Inventory.
    In Calcuation schema, I have maintained a Account determination key for this condition type and also maintained the GL against the account key in OBYC.
    The Rules in OBYC are 40/50.
    Regards,
    -PRatibha

Maybe you are looking for

  • Is there any way to restore history in Firefox 3?

    Earlier today I quit Firefox. When I opened it back up, there was an add-on that needed to be updated. The update window acted odd (refused to go to the background). While it was updating, I accidentally opened and then closed a window in Firefox. Lo

  • Possible to determine exception thrown in a finally block?

    I believe the answer to this is 'no', but I thought I would ask just to confirm. If an exception is thrown in a try block, is there a way in the finally block to determine what exception was thrown? I tried using Throwable#fillinStackTrace and Thread

  • Create materialized view in SE referring table in EE

    Hi DBAs, I am trying to create a Materialized view on Oracle 10g Standard Edition which is installed on Linux Debian Lenny. The master table is on Oracle 10g Enterprise Edition installed on Red Hat Linux 4.1.2. When I run, create materialized view t1

  • Lean Order Interface document flow in ERP

    Hi experts, As I currently do not have a system available which uses the LORD interface, I was hoping anyone could help me out on this question. When an ECC-quotation is created from an opportunity in CRM and it is then viewed in ECC. Will the CRM op

  • Format and install

    Hi, I am using MAC OSX 10.4.8 I want to full format and install my macbook. but the OSX installation dosent show me the upgrade/erase and install options. It directly goes to installation. please tell me a way to full format and install my macbook.