Characteristic relationship with Exit class is not applied correctly

We are using a characteristic relationship (with derivation) type Exit class. For that we have created class ZCL_RSPLS_ARTICLE_FROM_PLMOD as a copy of the standard class CL_RSPLS_CR_EXIT_BASE.
Target and source characteristics are members of the aggregation level.
We want to generate a list of valid combinations of characteristics planning models and articles which should be planned in the planning query.
For that we are using the method IF_RSPLS_CR_METHODS~CREATE:
Source is characteristic Model ZMATMOD and we determine in the exit class all active articles ZMATART.
We get a list of active (planning relevant) models and articles in our exit class (table e_th_chas).
--> For instance 6 combinations
Until here everything works fine.
The problem is that in the query 8 combinations are displayed.
We have no idea why more than the generated combinations are displayed.
One reason could be that the characteristic article ZMATART is an attribute from characteristic model ZMATMOD.
So from a master data point of view 8 combinations would be relevant.
But we use the exit class in order to reduce the number of combinations to planning relevant items.
If we use the method IF_RSPLS_CR_METHODS~CHECK we could flag the 2 combinations which are not planning relevant to not valid.
But these are then displayed in the query. 6 combinations in change mode; 2 combinations in display mode. This would not help us.
We would like to see only the planning relevant combinations  6 combinations
Can anyone please help me urgently?
Best regards
Martin

Hi,
set a break-point in the factory method get_instance to check whether the class is called. In the planning modeler make sure that you  use an external break-point.
Or use rsrt an change a cell value: Derivation is called in the delta buffer to derive from the fields contained in the aggregation level. So check also that the source fields are contained in the aggregation level or can be derived via a a chain of derivations.
Also make sure that all source fields have to be non-initial. The system will not call derivation for initial source fields since in this case there is not unique target, cf. http://help.sap.com/saphelp_nw70/helpdata/en/43/1c3d0f31b70701e10000000a422035/frameset.htm
Remark: The attached document of note 994853 is about the disaggregation feature but it also contains a section about the characteristic relationships. Observe also that the template exit classes are documented in SE24.
Regards,
Gregor

Similar Messages

  • IP - Characteristic Relationship with exit class URGENT

    Hi experts,
    I need to derive two infoobjects from other one. I know that I have to use a exit class and there implement the ABAP code for especify the derivation.
    I have copied the exit class CL_RSPLS_CR_EXIT_BASE. I suppose that the code of the derivation has to be implemented in the IF_RSPLS_CR_METHODS~DERIVE method. But, does anybody know the structure witch contain the source and target fields where is/are defined?
    Thanks in advanced.

    Hi,
    set a break-point in the factory method get_instance to check whether the class is called. In the planning modeler make sure that you  use an external break-point.
    Or use rsrt an change a cell value: Derivation is called in the delta buffer to derive from the fields contained in the aggregation level. So check also that the source fields are contained in the aggregation level or can be derived via a a chain of derivations.
    Also make sure that all source fields have to be non-initial. The system will not call derivation for initial source fields since in this case there is not unique target, cf. http://help.sap.com/saphelp_nw70/helpdata/en/43/1c3d0f31b70701e10000000a422035/frameset.htm
    Remark: The attached document of note 994853 is about the disaggregation feature but it also contains a section about the characteristic relationships. Observe also that the template exit classes are documented in SE24.
    Regards,
    Gregor

  • Derive method of characteristic relationship with exit class BI IP

    Hi All,
    We have below four fileds in real time planning cube.
    Quantity
    Unit of measure
    Converted Quantity
    Converted UOM
    We have implemented characteristic relationship of type exit between UOM and converted UOM. We need to populate values of converted UOM using characteristic relationship.
    do we need to implement derive method to fulfil this requirement ?
    if yes, when derive method of exit class is getting called ?
    Awaiting for your reply.
    Regards,
    Mitesh.

    Hi Andrey,
    Thanks for your reply.
    I have tried approach suggested by you however break-point did not stop yet to derive method.
    I will give little more details on what i have implemented, probably it may help you.
    I implemented CREATE method and generated below combinations. No other method has been implemented yet.
    UOM            Converted UOM
    G                 KG
    KG              G
    clear ls_unit.
      ls_unit-unit = 'G'.
      ls_unit-unit1 = 'KG'.
      APPEND ls_unit to lt_unit.
      clear ls_unit.
      ls_unit-unit = 'KG'.
      ls_unit-unit1 = 'G'.
      APPEND ls_unit to lt_unit.
    E_TH_CHAS = lt_unit[] .
    Kindly suggest,
    1. any specific configuration at query level is required to call derive method
    2. what code should i need to write if i want to derive above combination using derive method
    Thanks,
    Mitesh.

  • Characteristic relationships with derivation. I don't quite understand...

    Hi, experts!
    I'm trying to figure out all about using derivation in characteristic relationships and even though I seem to generally understand what it's for, some moments are still unclear.
    Let me describe the task: I have, for example, 10 item categories, all of them are in the real time info-cube. I have unique combinations for them, which are loaded into the DSO and I'm trying to create char. rel-ps based on that DSO.
    In the first aggregation level I'm using only the first 3 levels of item categories. The other 7 are not included.
    Let's assume I've planned my key figures for those 3 levels, and saved the plan. I need the system to distribute (disaggregate) the values among the remaining 7 category levels, so when I open another plan, based on an aggregation level that includes all 10 item categories, I would see all the data correctly and all the necessary combinations.
    As I understand, in that case I need to have characteristic relationships with derivation.
    But SAP demands that all the "target" characteristics should be held in the "Data Fields" section of DSO. And therefore they won't be key fields.
    I don't really get it - why should they be "data fields"? If I use them as "Data Fields" in the DSO, I won't be able to load all the possible combinations, because in some cases these 3 item categories that are the keys of the DSO, will match, only the remaining 7 will be different...
    How do I solve the described task?
    Thanks.
    Best regards,
    Andrey

    Hi Andrey,
    derivation is a function, given the source fields the derive functions fills the target fields. In other words, given a relation with two characteristics A, B with A source and B target the derive function F modeled in the relation 'calculates'  F(a) = b with a, b members of A,B, respecitvely. Since F is a function for a given a there are not two differen b1, b2 with F(a) = b1 and F(a) = b2.
    Using a derivation relation modeled in a data store the function F is defined by the active table of the data store. So A has to be the key and B has to be a an attribute (non-key). If this is not the case and A, B are key fields you can have the combinations
    A    B
    a    b1
    a    b2
    and this is by defintion not a derivation relation, but an n:m relation.
    On other words derivation fills redundant fields.
    It seems that you want to do just the opposite. It is a common problem to plan on a 'higher level' and to disaggregate from the higher level to lower levels, but of course only valid combinations should get values. You can use planning functions or the disaggregation feature in the query. Characteristic relationships are used to model the valid combinations.
    An example is as follows: We have Product -> Product Group -> Product line, the arrows indicate a derivation relation. The query uses all three characteristics in the aggregation level but has only Product Line and Product Group in the rows. Using disaggregation in the query changed key figure values will be disaggregated to Product (and maybe other characteristics used in the aggregation level). The system uses characteristic relationships that can be applied for the aggregation level to check the consistency of the records. Observe that a derivation relations can also be used to check the consistency of a combinations if both source and target fields are filled. Observe that for disaggregation of the above mentiond fields are filled and thus can and have to be checked using the derivation relations (and maybe other modeled relations).If 'access mode for result values' based on characteristic relationships is used in the query the relations can also be used to create all valid combinations needed for disaggregation.
    So you have to check whether the constraints you need are really of type n:m, then all fields have to be key in the data store or whether you have a derivation relation. By the way, derivations can be combined as in the Product -> Product Group (first relation) and Product Group -> Product Line (secdond relation) example.
    Regards,
    Gregor

  • How can i erase an account with relationship with some class of tax

    how can i erase an account with relationship with some class of tax

    Hi Enrique,
    I am not sure what you mean by this, can you please explain in more detail? You cannot erase accounts that already have transactions posted to it.
    Hope it helps,
    Adele

  • I connected my iPod to my PC and got a message 'The software for communicating with the iPod is not installed correctly.

    I connected my iPod to my PC and received a message box that read "The software for communicating with the iPod is not installed correctly.  Please reinstall the iPod's software."  Not sure what I need to do.  I did uninstall all of my iTunes and related software components and then reinstalled the latest version of iTunes but that did not correct the problem and I now can't access my iTunes library at all.

    Another thing is that iPod Touch shows up fine...I've tried every other ipod from older 4gig Nanos to 120gb Classics and none of them work..this is really annoying!

  • 'the software required for communicating with the iPod is not installed correctly. HELP.

    everytime i try to update my ipod nano, i get an error message saying: 'the software required for communicating with the iPod is not installed correctly. Please reinstall iTunes to install the iPods software'
    i have tried reinstalling my itunes but i am still getting this message.
    what do i do?!

    When you reinstalled, did you just uninstall iTunes, then download it from apple.com/itunes/download?

  • I keep having the message the software required for communicating with your ipad is not installed correctly please reinstall, I've uninstalled and reinstalled the latest version of itunes 8 times and no luck does anyone have any advice?

    I keep having the message the software required for communicating with your ipad is not installed correctly please reinstall, I've uninstalled and reinstalled the latest version of itunes 8 times and no luck does anyone have any advice?

    First, for the forum view issue. Go to My Settings (on the right) and in General Settings change the Topic Page View to Flat. Click Save. Posts should show up in the order they were written.
    Have you seen this?
    http://docs.info.apple.com/article.html?artnum=93764
    Also, since you said that you've gone through the 5 Rs, I would assume that you used the iPod Updater to restore (since there is no other way of doing it and you don't "run" the 5 Rs).
    When you restored, did you use the latest updater?
    You may also want to try formatting the iPod through Windows. Connect it to the computer and when it appears in My Computer right click it and go to format. Does anything happen? Can you format the iPod through Windows?
    btabz

  • DBM Creation of New Vehicle and the relationship with Valuation Class

    HI SAP,
    I'm having problem when creating new vehicle in /DBM/VM.  The Valuation Class that i use for VEHI is 4010. when i click
    on save the system show valuation class 3200 not allowed for material type vehicle config. i already check my valution class
    configuration, My Materia Type VEHI does not link with 3200. how do i resolve this issue ?

    Commander Sauk,
    From the error message it appears that valuation class tied up with your vehicle model is 3200.
    Is it a very new model for which no vehicles created so far?
    Can you please post accounting 1 view of material too showing valuation class as well as valuation category settings?
    Please also check split valuation is correctly setup for plant you are selecting for vehicle.
    check and reply with findings.
    Thanks
    Ritesh

  • TOC Style not applying correctly

    I have a basic test InDesign document with a 'Paragraph Style A' applied to a few key headers throughout the document. I created a separate 'Paragraph Style B' for the table of contents to represent instances of Paragraph Style A. Style A is set to 8pt font. Style B is set to 14pt font. When I setup the Table of Contents in the dialog box, I have selected Style A to appear as Style B, but when I actually place the TOC, it's still showing up as Style A. Any ideas as to why?
    InDesign CS5 version 7.0
    Windows XP SP3
    Same problem on two different computers (with the same setup as listed above)

    When you say "When I setup the Table of Contents in the dialog box, I have selected Style A to appear as Style B" does that mean that you set "Style B" in the middle section of the dialog box in this format:
    Style: Style A
         Entry Style: Style B
    If you did that, it should work. If it does not, you might try restoring your preferences:
    http://forums.adobe.com/thread/526990

  • Photoshop TIFFs with layer masks do not display correctly

    I am sure other people must have this problem, but I cannot find any related posts so here goes:
    I open an image using the "open in external editor" command (typically a RAW file converted to a TIFF), edit in Photoshop and save the file (as a TIFF, I do not use PSD format)
    If the PS edit contains any layer masks or alpha channels (masks in the channel pallet) it does not display correctly when it reappears in Aperture. Only the top most mask will display, assuming I have multiple layer masks in the PS edit.
    Not only will the TIFF only appear as the mask in Aperture, but Aperture will print or email the mask, not the PS edited file as it should appear.
    It seems that Aperture only recognizes the layer mask (or alpha channel mask) as the image, and all the other layers etc are disregarded.
    Is this a confirmed bug, or is there some setting I have not correctly configured or some other issue?
    I love Aperture, but this problem is nearly a deal-breaker for my workflow, and would be for any serious photoshop user, I would imagine!
    I cannot believe this is still a problem in version 1.5, which is the version I am using (thus my system is 10.4.8)

    David,
    I assume you mean in the edited PS TIFF file:
    In different cases I have either:
    A. A TIFF file with layer a layer mask
    B. A TIFF file with multiple layer masks
    C. A TIFF file with an alpha channel mask
    D. A TIFF file with multiple alpha channel masks
    E. A TIFF file with any combination of the above
    the outcome is the same, they all do not display correctly in Aperture. It does not seem to matter if the file was opened in PS from Aperture via the open with external editor command or if it was worked on outside Aperture entirely then imported. I do have maximize compatibility in PS checked (though I understand this is only for PSD files, though perhaps I am wrong here)
    any thoughts?

  • Paragraph tags not applied correctly

    Hi,
    I’m importing an FM document into RH (Technical
    Communication Suite). I fixed all the paragraph definitions and the
    mappings.
    After importing, the same paragraph tags are sometimes
    applied correctly and sometimes not. Most problematic are the ones
    that come right after a paragraph that has a bullet or number
    setting. It seems as though the following paragraph sometimes has a
    bullet or number even though you can’t see it.
    If I reapply the paragraph tag it doesn’t help, but if
    I apply a different one and then the original one I wanted –
    it works OK.
    Is there a workaround? Am I doing something wrong?
    Thanks,
    Rakefet

    Have you updated lately? I applied RoboHelp patch 7.0.2 and
    it fixed may random isses that I was having. Also I would recommend
    mapping all numbered and bulleted lists to Normal to have them
    appear correctly. Also don't forget to check Convert AutoNumber to
    HTML list on the Style Setting window.
    Amanda

  • 2215 EIT failure. VA recoad read failure.ensure drive with VA image is not installed correctly

    2215 EIT failure. VA recoad read failure.ensure drive with VA image is not installed correctly

    Hello 8022,
    I understand you are getting the "2215-EIT failure. VA boot record read failure. ensure drive with VA image is installed correctly" error. I would be happy to assist you, but first I would encourage you to post your product number for your computer. I am linking an HP Support document below that will show you how to find your product number. As with this we can provide you with accurate information.
    How Do I Find My Model Number or Product Number?
    Please re-post with the requested information and I would be happy to provide you with assistance. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • 3D textures not applying correctly?

    I have this problem in After Effects CS5.  This never happened in CS4.  I've tried to manipulate the 3D image in every way possible, but whenever I import it as a PSD file, it looks like crap.  I'm not sure if I'm overlooking something or what the deal is.  I've been importing it as an editable composition with Photoshop Live 3D enabled.  Any idea?  The "Render for Final Output" option in Photoshop no longer exists, to my knowledge.  I don't know if it's not rendering correctly or what, but it looks fine in Photoshop.  it's when I move it to After Effects that it looks junky.
    Please help!

    One last time copy&paste:
    Okay, more on the matter. In fact after I ran off with my mouth, I  must correct myself and apologize. Seems it isn't as busted as I thought  and my judgment was premature. Still, there is definitely something  going on.
    The OpenGL issue seems indeed easily replicable if card support  between apps differs. I'm getting weird stuff on a machine with an older  card as well.
    There is a render Gamma difference between apps.
    AE renders textures less crisp.
    CS4 3D files are busted in AE CS5 (camera missing)
    CS5 3D files open with wrong camera placement in AE CS4.
    Well, here's the bummer: Except for the OpenGL issue, none  of this explains why it isn't rendering at all in AE CS5, so we're  essentially back on square 1. Sorry for having this taken in the wrong  direction. I'll try to do better...
    Mylenium

  • Help with "Java class is not found" error

    Hi,
    I created my java program in a window environment, ran the program to a command line and it works.
    I then put my jar file along with the other dependent jar in unix, I then run the command again and it's complaining that it cannot find the class file from the dependent jar. The class file does exist in the jar and also when I run "java" command I make sure that the jar was part of the classpath.
    My command line looks like this:
    $PS_JRE/bin/java -jar -classpath $CLASSPATH/jxl.jar jexcel.jar
    I'm at a loss. Any advice would be greatly appreciated.
    Thank you,
    Giovanni

    Well, I guess I got it working now.
    The jxl.jar file I was using was compiled with 1.6 The unix server I was compiling on is 1.5.
    Since I can't install a new version of java I was lucky enough to find a version of that api that was compiled with 1.5.
    Now I'm all ok.

Maybe you are looking for

  • Time Capsule Disk is LOCKED

    I have a 500Gb Time Capsule that was working fine for doing backups of my system and my wife's system, both wireless. We are running iMac G5 Intel with 10.5.7 and the latest Airport Utility firmware update 5.4.2 and the Time Capsule Ver is 7.4.2. It

  • Problem installing Solaris 10 onto CP1500

    I'm trying to install Solaris 10 11/06 onto a CP1500 (UlraSparc-IIi, 440MHZ, 1GB RAM, OpenBoot 3.10.24, using a PS/2 Keyboard). The install CD boots up, but soon after the initial boot (after it displays copyright information but before the installer

  • ITunes will not open because Quicktime!help!

    I clicked on the iTunes icon on my computer and a message pops up saying "Quick time is required to run iTunes.Please reinstall iTunes" and all u can do is press ok! how can i open my itunes???

  • Copy/Paste graphic w/drop shadow to indesign - loses transparency

    See above image.. I made a vector version of our company logo in illustrator (all programs referenced are cs5 btw) and it looks great, but when I copy and paste from Illustrator to InDesign, it loses the transparency around the logo. If I place the l

  • In authorware .avi files are jumping (when paused) to one frame ahead on mouseover.

    Dear All, I had prepared the CBT in a Authorware application (version 7.02) and published it. The .avi files are playing well in my system (OS=Win XP) and same CBT file in some of the Win XP systems it is not playing well. i,e. when the movie is play