Condition type has to executed only when other condition type is availabl

Scenario:  We have two freight condition types YHD1 & YHD6. This YHD6 condition type is a Percentage type calculation and dependent of YHD1 value, for example
YHD1: 30 EUR then the condition value is 30 EUR
YHD6: 10 % then the condition value is 3 EUR
Issue: YHD6 is fetched from Condition records at the time of delivery document, where as YHD1 condition type is inserted into the delivery document through a BDC program in a custom program. BDC program is written in such a way that YHD1 condition record is applied on the first line. This custom program is supposed to execute only after PGI is done for delivery and shipment is created.
Since, YHD6 is fetched from Condition records; this condition is applied when the delivery document is created. And when this custom program is executed, system is looking to insert YHD1 condition on first line, but YHD6 is already exists this step is unsuccessful.
Requirement: is it possible to determine YHD6 condition only when YHD1 is available in the document. I mean, YHD1 condition type has to be executed first and then YHD6.

Hi All,
Thanks for repling to my query.
I will explore the opition of developing a Routine to restrict YHD6 condition type. But i have one doubt, suppose i have assigned a routine to YHD6 condition type and when delivery document is created, system fetches the YHD6 condition from the condition record, but due to this routine it will restrict to update the value.
But when i update the delivery document with YHD1 condtion through custom program, NOW, does the system calls YHD6 again so that now the requirement is fullfilled or do i need to update the Pricing again after YHD1..
I kindly reqeust you to clarify my doubt, however, i will take up this with my ABAPer and develop a routine.
Thanks in advance.
Warm Regards,
Sridahr

Similar Messages

  • Ghost clip appears in canvas only when other clips are placed in its place

    Gd afternoon, this may sound crazy but here we go. the space on the timeline is blank, and when the sequence is played the blank section shows nothing but black screen. however when i drop any clip in the empty space on the timeline an old clip I changed the speed of shows over whatever clip i just dropped in the empty spot. Again, when the spot is empty nothing shows, only when a different clip is placed in that spot does the "ghost" clip appear over the new clip and the space that the ghost clip holds shows a blue rendered line for the speed that was changed.
    How do I get rid of this ghost clip?

    +thanks, i tried to delete the rendered clip but no help+
    No, what is required when the problem reaches the stage you described is to delete ALL of the render files for that sequence. One way to do that is to go to Tools > Render Manager and navigate to the problem sequence and clicking in the Remove column for that sequence. Then click OK.
    That will delete all of the render files for the sequence. Then you re-render. This sometimes works, as I said.

  • OfficeJet Pro 8620 Can't print black only on other media types

    Why won't the OfficeJet Pro 8625 driver allow me to print using black only on non-plain media types?
    I purchased an OfficeJet Pro 8625 for general home printing and to print shipping labels for my business.  I purchased a second tray so I can keep both plain paper and shipping labels in the printer all the time.
    To select the labels, I had to pick a media type for the labels tray.  I can't choose labels, so I chose Cardstock.  But when I select Cardstock as the type in the driver when printing, it will not allow me to select black ink only.  I want to print black only because the shipping labels come out a little bit fuzzy, with color fringes when printed in color.
    I'm not worried about ink usage.  I'm an Instant Ink subscriber.  I need the labels to be crisp, and printed full color they aren't crisp.
    What's the deal here?  Why can't I select black only?

    Hello @clough42 and welcome to the HP Forums!
    I'm sorry to hear that you've had issues printing in black ink only on anything other than plain paper, but I will certainly see what I can do to help out
    I'd recommend that you download and run the HP Print and Scan Doctor. If it fails on anything please return and let me know what happened and where it failed and we will go from there.
    If it passes everything and it appears there are no issues found, I'd recommend that you call our technical team for further options
    Hope this helps!!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • How do I get my if statement to execute once, when its condition is met?

    Hey all,
    Im trying to create a little menu here. It has 8 options
    (with rollon animation, selected, rolloff animation), so I thought
    I would have a variable for each menu option.
    So when menu option 1 is selected my variable (navvar) will =
    1.
    Here is my if statement / loop.
    //for option1
    if(_root.navvar == "1"){
    _root.nav_main.home.gotoAndPlay("onanimation");
    //options 2-8 like above else if(_root.navvar == "2"){ etc
    Now my problem is that when the above is looping over its 2
    frames, obvisouly it only plays a few frames of my "onanimation",
    which means I get a flickering effect.
    Could someone show me how I can setup this code so that when
    navvar = 1 I can simply go and play my "onanimation" once only,
    (until another variable is selected etc)
    Any help is much appreciated.

    try this
    when the gotoandplay begins make the nawar = "0"
    other thing if you are using integer number as varialbe
    values there is no need to make them string "1" but this is just a
    suggestion im not sure if there is a reason
    hope that helps
    rS

  • Puzzling panther behavior -- aps launch only when others are open

    Hello Appleheads ~
    I complained a while back about a software update from apple which blocked itunes and Final Cut Pro from launching in 10.3.9. No solution was found.
    Now I have found that when I launch Protools 6.4.1 first, I am able to launch and use itunes and FCP. I don't know why they work when I launch protools first, but I cannot launch them without opening PT first. Strange behavior, but I can live with it.
    Any advice appreciated, however I am inclined not to touch my system -- as long as it behaves this way -- until I can clone my Mac HD.
    thanks people
    c-post

    Hello Rick,
    Through all the research I have done so far and talking with a few other coworkers what the common issues that cause this are is:
    1. Antivirus: disabling the antivirus is not good enough it needs to be totaly uninstalled and retested.
    2. startup programs: these need to be disabled through either Safe mode with networking or the start menu or MSconfig.
    3. Office addins: Disable all of them see if that helps. Then turn them back on one by one to see which addin is causing the issue.
    To disable addins: 1. open up regedit and navigate to this key. HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\Addins and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins
    Then change the LoadBehavior to 0 this will disable the addin. 3 lets it run. Since this affected only one user HKEY_LOCAL_USER might be your best bet but don't rule out the other location.
    To verify there are no addins running go to the File tab>options>Add-Ins make sure nothing is listed under Active Application Add-ins.
    I hope this helps
    Thanks,
    Paul Slaathaug Sr. Support Engineer - Microsoft Word

  • Blurry iSight only when other party connects

    I have read the numerous other issues with blurry video, however, I haven't seen one with my problem. My preview looks crystal clear until I invite another party for a video conf. Once they accept, my viedo gets slightly blurry.
    My bandwidth is 4.5MB down and 500 kb up, which should be sufficient. I have made the changes to preferences/quicktime.
    Any suggestions?
    Thanks,
    Ben

     Are you running ANY other apps while trying to video chat? If so, shut down everything, reboot your modem (and router if you use one,) restart your Mac, close any apps that you have set to launch as System Preferences > Accounts > Login Items, launch iChat AV only, and try video again. If you experience the same problem, you can try the following to track down the cause of your problem and resolve it.
    ALL parties to the problem chat should Check Broadband Speed. (Buddy Names for iChat Test if you need testers.)
    If speed is adequate for all parties, ALL parties to the problem chat should test with more than one other user to determine which system is causing the problem. Then the user of the problem system should troubleshoot and consider any untried Help for iChat AV 3 Problems suggestions that are relevant to the problem system.
    Please let us know what fixed it for you.
    Cheers,
    Jim

  • How to update cost related condition type amount in sales order without disturbing other condition types.

    Hi ,
    How to updae only one item condition  ZYV0 value in sales order. If I can see we have several options from pricing type to update condition types but here My requirement is to update only one condition amount .If I can see other pticing types they will update all condition types .
    -Exclusive option is checked for all the tables maintained in access sequence,
    Below options were not worked for me.
    -In condition type ----> Condition category has been updated with "D"(Tax) pricing type-"G" to update in sales order
    - This option worked for me but  condition category  "F"(frieght) and pricing type -H but in conditions tab when I update two condition amounts are activated for one condition type like below.
    ZYV0--30 % (old condition record value updated in sales order)
    ZYV0- 50% (updated condition record)
    Regards

    Hi Rita,
    Tried with condition category "u" and updated with pricing type "U" . It works as same I used old logic.
    with condition categories "D" and "F" it will update old and new condition record values in sales order.
    ZYV0--30 % (old condition record value updated in sales order)
    ZYV0- 50% (updated condition record)
    I have updated  here existing condition record value from 30 % to 50 % validity periods are not changed.
    Regards

  • Execute subroutine only when selection parameter changes

    Hi ABAP workers,
    I have a block of selection parameters, and I created the event AT SELECTION SCREEN ON BLOCK bl1 with a subroutine. I want that subroutine to be executed only when a parameter in the selection block is changed by the user. But the behaviour right now is that it executes every time I press Enter, even if no parameter changes.
    Is there any way to chieve this (like in the module pool case, with the extension "ON REQUEST")?
    Thank you very much
    Ivson
    Code involved:
    SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001.
    PARAMETERS: p_bukrs LIKE csks-bukrs MEMORY ID buk OBLIGATORY,
                             p_ryear LIKE glpct-ryear OBLIGATORY.
    SELECT-OPTIONS: s_poper  FOR glpct-rpmax,
                                  s_racct  FOR glpct-racct,
                                  s_kunnr  FOR glpca-kunnr,
                                  s_lifnr  FOR glpca-lifnr,
                    s_sprctr FOR glpct-sprctr.
    SELECTION-SCREEN END OF BLOCK bl1.
    AT SELECTION-SCREEN ON BLOCK bl1.
      PERFORM preselect.

    Hi,
    You could try this.
    Use the FM "DYNP_VALUES_READ" to get the contents of that screen parameter and then check for the parameter value inside the subroutine using a IF statement.
    PNAME is a paramter name here.
    a  dynpfields-fieldname  = 'PNAME'.
      append dynpfields.
      repid = sy-repid.
      call function 'DYNP_VALUES_READ'
           exporting
                dyname     = repid
                dynumb     = sy-dynnr
           tables
                dynpfields = dynpfields
           exceptions
                others.
      read table dynpfields index 1.
      pname = dynpfields-fieldvalue.
    Process the subroutine if needed based on the check condition.
    Hope this helps you.
    Regards,
    Subbu

  • How to refresh JSFF page only when page loaded using ADF 11g

    Hi
    I am facing an issue with prepreModel() usage in the .jsff page fragment. I want to invoke executables only when the specific jsff page get's loaded. I tried using 'prepareModel' as a refresh condition, but I can see always executables are getting executed. Does 'prepareModel' behaves differently for .jsff when compared to .jspx ?
    Thanks in Advance

    Hi,
    ADF Regions have a slightly modified lifecycle. However, prepareModel behaves the same. Its marking a specific time in the ADF request lifecycle when the iterators are refreshed. Try prepareModelIfNeeded
    Frank

  • Make an AM function execute only during page load time

    I have a function in the AM. I want to have it executed only during loading of the page. How can I achieve it.
    Message was edited by:
    mailsubhra

    Thanks a lot for the link.
    But my case is slightly different. I have a VO where I bind some variables. I run the first page and get some data. I am sending the fetched data from the first page to the second page using pageFlowScope.
    In the second page, I am binding a fucntion which will set the bind variables with some values (the values are the ones which are fetched from the first page using pageFlowScope). The VO is dropped as a table in the second page.
    So, to summarize, the situation is as follows:
    There is a VO which is dropped as a table in page2.jspx This VO has some bind variables. There is also an AM function which is bound to the page2.jspx and this function will set the bind variables using setNamedWhereClauseParam(...). The arguments to this function are passed from the pageFlowScope.
    Now there is a page1.jspx where I am able to select something and push the selected values to pageFlowScope.
    As I navigate from page1.jspx to page2.jspx, I want the VO in page2 to refresh according to the values chosen in page1. Hence I want the function to execute only when the page2 is loaded. If the function is not called during the rendering of page2.jspx, then the table becomes empty because the bind parameters in that VO are automatically set to null.

  • Issue regarding condition pricing date as system date for some condition types in sales order

    Hi
    I have already created a sales order on 30.04.2014. Today I am adding new line item to sales order in VA02 transaction. in this order new line items condition pricing date for conditions JEX2,JECX should show as 12.06.2014. But currently it is showing as 30.04.2014. I need condition pricing date as system date for above conditions.
    Regards
    prashant

    Hi
    When I am changing pricing date VBKD-PRSDT in sales order header . It is changing the condition pricing date for all. Sales order is created on 04.06.2014. I have added line item 150 on 14.06.2014.
    After adding line item 150 , there I have changed the pricing date as 14.06.2014. in sales A tab of item 150. But still it is taking from Sales order header date as 04.06.2014 for all conditions. But my requirement is for line item it should take as system date for some conditions like JEX2,JECX& JA1Y but for other conditions it will take as Order creation date. Please suggest. I have also attached screen shot below. please go through it.
    Regards
    PK
    Sales order header change mode VA02
    Here pricing date VBKD-PRSDT = 04.06.2016
    Item change mode
    I have added new line item 150 on 14.06.2014
    Changed the condition pricing date to 14.06.2014 & saved
    After saving I have gone to Va02 screen of line item 150
    & there I have gone to condition pricing date field from item condition tab
    for JEX2 condition type but still here condition pricing date is showing as
    04.06.2014 as below.
    Condition pricing date
    My requirement is like this
    For some particular conditions like JEX2  condition pricing date will take as system
    date instead sales order creation date when I will add a new item 150 on
    14.06.2014.but for other conditions it will show as order creation date for the
    same line item 150 .

  • Add value only when true

    hi I am making an array with the iteration values of for loop by chechking the conditions and i want it to be done only when my condition is true.
    But now what is hapenning is that if the condition is false 0 is over wirrting my values.
    And also i have put two for loops inside a for loop.
    the second for loop is running to the first loop iterations.
    thanks in advance
     I am adding the vi i have made .
    @nk
    Attachments:
    get excel data.vi ‏37 KB
    get excel data.vi ‏37 KB

    Hi @nk
    That's because you have set "Use default if unwired" on the output tunnel of the Case Structure.
    Hence if the condition is true, it will only output an array of only 1 iteration value at the output tunnel of the most inner For Loop
    And if the condition is false, it will output an array with default value of 0 at the output tunnel of the most inner For Loop.
    Also, it seems that 2nd For Loop does not have the auto-indexing feature enabled in the output tunnel, which only generate a 2D array, instead of 3D array in the Array 3 indicator. I wonder if generating 2D array output for the Array 3 indicator is what you want, but if you want to generate 3D array output, you should enable the auto-indexing feature for the 2nd For Loop.
    And what you also should do is using the auto-indexing with conditional tunnel in the inner For Loop to automatically generate an array of iteration values if the elements in array is greater than the max value you've set as shown in the screenshot below for simple illustration.
    Here is the link for more information about auto-indexing with conditional tunnel: http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/condacc_valuesnloops/
    Ee Lim
    See that button on the left side of this post...
    If you feel my post is helpful, all you need is just (at most) 2 seconds to click that button, to show your appreciation. Thank you~~

  • Validation for GL 23876 to to post only for KG doc type

    hi all
    i want to write a validation for a GL 238760 this must only be posted only in KG document type it must not post in other doc type like KR nd KZ
    i want to write a validation for this.
    in the GGB0 screen which message type shall i select and what steps shall i use for this.
    please let me know the validation for this function.
    Kind regards

    Hi:
        Please go to GGB0...Create a validation in financial accounting at line item level by selecting line item and create a step. It will open 3 further drop down for you. Select the 1st one and proceed as follows
    Prerequisites:
    BKPF-BLART = 'KG'  (here you can make it transaction code specific as well)
    Check:
    BKPF-HKONT = '23876'
    (you can give set of GL account by creating it in GS01 and specifying it here)
    Message:
    Assign an error message to it with category E.
    Please check this will work .
    Regards

  • 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,

  • Why is How I Met Your Mother Season 3 "Episode Only" when every other season has the option to buy the entire season?

    Why is How I Met Your Mother Season 3 "Episode Only" when every other season has the option to buy the entire season?
    Seems rather unfair to pay nearly £40 for each individual episode when each other season has the option to buy the entire season for £9.99 (including seasons after season 3)

    Just recieved this from iTunes Store Support:
    Missy here. I am a Senior Advisor from the iTunes Store. Your request has been escalated to me by Irish.
    I understand you have some concerns regarding the numbering of the episodes for "How I Met Your Mother, Season 3". I can certainly appreciate your concerns and I'm happy to offer some additional information about this.
    Episode 17, is a music video that accompanies the episode "Sandcastles In the Sand" however it is not available on the UK iTunes Store. This is why 17 has been omitted.
    Apple is constantly expanding the iTunes Store's catalog of music, audiobooks, videos, and movies. To ensure that your request is considered, please submit it through the Request page at:
    http://www.apple.com/feedback/itunes.html
    This solves the issue. I have filed a request to get the music video added to the iTunes which hopefully it does, completing Season 3 of How I Met Your Mother.

Maybe you are looking for

  • Error in automatic PO

    Hello , I want to create automatic PO.  i followed the following steps: a) ticked automatic PO boxes in material purchasing view and vendor creation purchase view b) maintain source list c) maintain info record d) Create Purchase request e) then ME56

  • Service Pricing Conditions

    Dear Sappers, I've configured service pricing condition in External Service Management.As per my knowledge I've done everything right. But when I'm creating Service PO with respect to Service Master, system is throwing this error Conditions for servi

  • Can't open *.msg files from Windows

    I am moving from PC to Mac and I used to store my e-mail messages as *.msg files in my hard drive and not Outlook 2011 nor Mail recognizes them so I can't open them, what can I do?

  • Can't convert word to pdf anymore

    I have Acrobat Professional 8.  It has always worked fine when I tried to convert word documents to pdf.  I got a virus a few months back and they had to wipe my computer and reinstall everything.  Since then, I have not been able to convert from a w

  • SD & PM Integration

    Hi SAP experts, We have following requirement: 1. The major business of the company is providing service. Transportation is its core business. 2. Sales are through service sales order (Item cat - TAD) in SAP without using the delivery function. No ma