Repost based on Char Relationships help !

Hi,
I need help with the above function please. I'm doing this in IP but I think it would be equally relevant in BPS.
I have 2 derivations
1. VAT is derived as its an attribute of contract. (so its characteristic relationship of type attribute)
2. Cash date is derived in an exit from Event date and Debtor days.(so its characteristic relationship of type exit)
When doing a repost based on characteristic relationships (after changing master data attributes), the VAT derives properly but I get an error on the cash date derivation.
I'm not sure if its important, but VAT flag is actually in the cube whereas Debtor days is simply looked up from contract master and then used to calculate cash date in the exit.
The characteristic relationship does work properly when simply planning data into the cube, but not on the repost function.
Any help/ideas would be appreciated.
Cheers
sue

Hi,
No its not possile. If you put CALWEEK as a target in the derivation, the CHECK on the derivation will fail as you cannot derive Generic Time characteristics.
I overcame the problem however by ticking CALWEEK in the Repost with Characteristic Relationships function. ie. even though the function did not suggest that it could be derived, ticking it did not lead to error and in this way the function worked.
Just further FYI, I've found that Exit derivations and Attribute derivations cannot be achieved in a single function that they have to be created separately.
Regards
Sue

Similar Messages

  • With Out Derivation in Char relationship

    Hi,
    I am trying to understand the concept of char relationship with derivation and without derivation. I would request you to please tell me the basic difference between with and with out derivation?
    we can say that,  with derivation is used to derive certain values based on a relationship. So what exactly with out derivation does in input ready query and automatic planning scenarios?
    Please give me an example to use with out derivation.  I have read the help document, but it is not clear.
    Regards
    Sreekanth

    Hi Diogo,
    So according to your explanation: the conclusion is : both with derivation and without derivation checks valid combinations.
    with derivation - apart from checking combination - it also derives the value. In this case,
            if the target char is not in the aggregation level/query, then the target value is derived according to master valid combination.
           if the target char is also in the aggregation level, then it only checks the valid combinations, it does not derive any thing.
    With out derivation - it can't derive any char. it only checks the valid combination. both  chars need to be in the aggregation level.
              is this correct?

  • CHAR RELATIONSHIP error in SEM BPS planning sequence

    Hi,
    I'm executing a planning sequence with 2 planning functions.
    1st being "Exit  funciton" & 2nd being "Repost funciton".
    I've a "characteristic relationship of type attribute"  defined at the planning area level.
    Am getting CHAR RELATIONSHIP check error when am executing this sequence.
    EXIT function gives blank values for a characteristic that is used in "characteristic relationship".
    But, REPOST function adjusts this blank characteristic value to actual value which will be correct when "CHARACTERISTIC RELATIONSHIP" is checked.
    When I execute sequence, EXIT function gets executed & CHAR RELATIONSHIP errors are being displayed before "REPOST" function is being executed.
    Is there any other approach to deal this scenario? like checking CHAR RELATIONSHIP after REPOST funciton execution?
    I can execute REPOST funciton from "EXIT FUNCTION" using API_SEMBPS_FUNCTION_EXECUTE, but this doesn't suit my needs.
    Please note that I've a need to use 2nd planning function rather deriving characteristic relationship from the EXIT function.
    Appreciate any ideas/thoughts.

    Hari,
    each function must produce results that adhere to the rules specified as characteristic relationships. BPS will always execute the char.relationships after the exit function. You might be able to avoid this by adjusting the characteristics in your planning level.
    Calling another function (like REPOST) from within an exit is not possible since BPS needs to finish processing the exit first, before it can run the repost.
    Regards
    Marc
    SAP NetWeaver RIG

  • Variant Length 45 char limit - Help

    Friends,
    Iam developing a program to download all variants from current environment which are to be uploaded on other environment. Im using RS_VARIANT_CONTENTS FM. Problem is : when I Extract I get only 45 length limit for the variable value on the selection screen. This issue is with RSPARAMS structure which holds only upto 45 chars.
    Is there any other way to download and upload variants other than above FM. Like  for downloading program we use READ REPORT....anything as such (internal commands) exists for variants too....???????
    If any of you have faced this issue, please do pour in your valuable inputs.
    thanks

    Rob,
    Seems you might be thinking that my requirement is little wierd......lemme explain you in detail.
    We are moving from a Windows system to a Unix based as part of Upgrade. Because of this I have to change all the variants from
    P06XXXX\VAROPT\ to /var/opt/ps1/ and we are expecting variant file path's to have more than 45 characters but when its changed to Unix path for sure max chars would be 43 (below our 45 limit).
    My approach for this is :
    1) Use the code in OSS Note to download all variants from Windows box and upload in new Unix box (paths would still be
    P06XXXX\VAROPT\ ).
    2) Once all variants all loaded in their old format, I would now extract the selection screen strucutre (using FM), I could use FM to extract values also but again 45 char limit is haunting.
    3) Loop at the structure and IMPORT each variable. change variable content to Unix form and upload them using FM (RS_VARIANT_VALUE_CHANGE or similar).
    Now my problem : I am not able to use IMPORT statement in a LOOP.
    i.e.
    LOOP AT OBJECTS.
      IMPORT objects-name TO T_VAR FROM DATABASE VARI(VA) ID ST_KEY.
    ENDLOOP.
    Please help with this....
    thanks

  • SSAS relationship help

    Hi all,
    I have created an SSIS package which takes forecasting info from one system, and has lookups that lookup a bunch of stuff from another system.  I then dump all this info into a table as below. Users, as they are, have now said ooooo wouldn't it be great
    if we could analyse all this by customer, time, parts, pricing etc.  which is all stored in this table.  That immediately made me think SSAS cube.  Now i'm pretty comfortable in SQL and SSIS.  When it comes to SSAS i'm a bit of a noob.
     My attempts to turn this into a cube have been a bit in vain.  Therefore considering the following relationships how could i implement this in SSAS.
    Customers have their own parts and share parts with other customers. (some customers have identical products)
    Even if a customer has the same product as another they will have different PRICING.  All other data i.e. weights, qty's etc. can just be aggregated.  
    For a customer and product the price could also CHANGE.  So therefore a customer's product can have multiple prices. (but 1 active price)
    I was thinking of creating a TIME dimension and linking that to W/C date.  Basically I just need a bit of guidance into how to break this up and create in SSAS.  A fast response would be much appreciated as they need this info for financial reporting
    etc.  Thanks for your help!
    Could someone help me with this please it's getting quite urgent...

    Hi jhowe1,
    According to your description, you want to create a cube for the data in your above table. Right?
    In this scenario, these data should be from different tables. In database, I think you have dim tables like Customer, Product, Date. We can create
    dimensions based on these tables. And you can define attribute relationship in dimension, like different customer has identical product with different price. Please refer to a link below:
    Dimension Relationships
    Creating a New Dimension Using the Dimension Wizard
    For data like Quantities, Sales, which need to be aggregated based on dimension. We should have some fact tables in database, and we can create
    measures based on these fact tables.
    For creating a entire cube, please see an article below:
    Create First OLAP Cube in SQL Server Analysis Services
    Also you can download an
    AdventureWorksDW sample database for practice based on the tutorial below:
    Multidimensional Modeling (Adventure Works Tutorial)
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Trying to create a Invoice based on Order need help Error -5002

    the dreaded -5002 error is haunting me too! and I could not find a matching solution for this in the forum....
    I need help quickly on this. I am trying to create invoices for some orders so the Base - Target relationship is retained. The orders I pick are all Open (DocStatus   = O and the lines are all Open LineStatus = O)
    here is my code
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 0
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00001"
    oInvoice.Lines.ItemDescription = "IBM Infoprint 1312"
    'adding Line
    oInvoice.Lines.Add
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 1
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00002"
    oInvoice.Lines.ItemDescription = "IBM Inforprint 1222"
    'adding Line
    oInvoice.Lines.Add
    lRetCode = oInvoice.Add
    If lRetCode <> 0 Then
        gObjCompany.GetLastError lErrCode, sErrMsg
        MsgBox (lErrCode & " " & sErrMsg)
    End If

    Indika,
    Only set your base types...
    (not items & description)
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 0
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00001"
    oInvoice.Lines.ItemDescription = "IBM Infoprint 1312"
    'adding Line (to fill the second item line)
    ' the 1st line item is there by default
    oInvoice.Lines.Add
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 1
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00002"
    oInvoice.Lines.ItemDescription = "IBM Inforprint 1222"
    'DO NOT Add THIS line
    ' (only if you want to add a 3rd line item)
    '''oInvoice.Lines.Add -> Don't add this
    lRetCode = oInvoice.Add
    If lRetCode <> 0 Then
        gObjCompany.GetLastError lErrCode, sErrMsg
        MsgBox (lErrCode & " " & sErrMsg)
    End If
    remember to add :
    oInvoice.CardCode = "your BP"
    oInvoice.DocDueDate = Now
    oInvoiceDoc.CardCode = txtDOCBPCode.Text

  • Insert and update a data block which is based on view--urgent help required

    Hi experts,
    I created a view(A_VIEW) which is based on a union select. I have created a data block A_VIW_BLOCK which is based on this view. I need to insert/update one of the base tablesfor A_VIEW through this data block. I also need to be able to make a query through all the fields in the view.
    The questions are:
    1.Can it be done at all?
    2. What properties need to be set?
    3. If can't be done, what the best approach to achieve this?
    Thanks in advance!!
    Michael

    hi
    try something like this.
    CREATE TABLE demo_tab (
    person_id NUMBER(3),
    first_name VARCHAR2(20),
    last_name VARCHAR2(20));
    CREATE OR REPLACE VIEW upd_view AS
    SELECT * FROM demo_tab;
    INSERT INTO demo_tab
    (person_id, first_name, last_name)
    VALUES
    (1, 'Daniel', 'Morgan');
    INSERT INTO demo_tab
    (person_id, first_name, last_name)
    VALUES
    (2, 'Helen', 'Lofstrom');
    COMMIT;
    SELECT * FROM upd_view;
    UPDATE upd_view
    SET person_id = person_id * 10;
    SELECT * FROM upd_view;
    desc user_updatable_columns
    SELECT table_name, column_name, updatable, insertable, deletable
    FROM user_updatable_columns
    WHERE table_name IN (
       SELECT view_name
       FROM user_views);
    SQL> create table dummy (f1 number);
    Table created.
    SQL> create view dummy_v 
    2  as 
    3  select f1 from dummy 
    4  union all  
    5  select f1 from dummy;
    View created.
    SQL> create trigger dummy_v_it 
    2  instead of insert 
    3  on dummy_v 
    4  for each row 
    5  begin 
    6    insert into dummy values (:NEW.f1); 
    7  end; 
    8  /
    Trigger created.
    SQL> insert into dummy_v values (1);
    1 row created.
    SQL> select * from dummy_v;       
    F1
    1        
    1
    SQL> select *
      2  from user_updatable_columns
      3  where table_name = 'DUMMY_V';
    OWNER    TABLE_NAME   COLUMN_NAME  UPD INS DEL
    FORBESC  DUMMY_V      F1            NO  NO  NOforms settings.
    Enforce Primary Key - No
    Query Allowed - Yes
    Query datasource Name - V_TSFDETAIL
    Insert Allowed - Yes
    Update Allowed - Yes
    Delete Allowed - Yes
    Locking Mode - Automatic
    Key Mode - Automatic
    do not forget to create synonyms.
    hope this helps.
    sarah

  • Flagging a variant by a feild value based on char,value.

    Hello SAP Gurus,
    I have a requirement in which I have to flag a variant based on characteristic values.
    During configuration, when you happen to select certain characteristic values in  a character, the material should flag with a character material master field, which changes the way the material is handled.
    Any feed backs...
    I am thinking of creating another character with the material master field and establishing an "object dependency" between characteristic values and character....
    Is this correct?
    Thanks
    Eshlok

    It seems that don't understand that you aren't asking to Apple employees but to end users like you.
    May you take time to download iWork Formulas and Functions User Guide (thru the Help menu) ?
    I will not spend time describing Nummbers functions one after an other one !
    I am unable to guess what you tried to achieve with your formula..
    To calculate 33% of the content of c6, use the formula
    =ROUNDUP(C6*.33,0)
    or
    =ROUNDUP(C6/3,0)
    Yvan KOENIG (VALLAURIS, France) lundi 27 juin 2011 18:14:03 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Dynamic lead columns based on chars with compounding

    Hi folk,
    I have char 0WORKCENTER. This char has componding with 0PLANT. Can I build dynamic lead columns based on 0WORKCENTER in the planning format?

    Hi Dmitry,
    it should work as long as 0plant is restricted to a single value (in level or header).
    Regards,
    Marc
    SAP NetWeaver RIG

  • Authorizations-Security based on BP relationships

    Dear Experts,
    In a generic sense We could control which BP could be maintained using Authorization Groups (Obj:B_BUPA_GRP), which is not sufficient for us.
    We have a situation,Users should be able to view and modify those BPs who are in some relationship with the current user.For ex: The User should be able to edit those BPs to which they are contact persons or something like that.
    Can anyone throw some light on this, pls.
    Thanks
    Senthil

    You cannot protect Business Partners based on relationships object.There is no corresponding auth object for relatiosnhips.
    The best approach would be using auth object 'B_BUPA_GRP' for authorization group .
    In your business scenario contact persons with the same relationship need to have same authorization group maintained.
    You find the authorization group field unsed control tab of BP transaction.
    But the problem with this approach is to define seperate user role and assign it the user profiles of contact persons with the same relationship.It may lead to creating lot of user roles which is not good if you have thousands of BP's.
    Usually BP's are protected using auth objects B_BUPA_GRP(Authorization group) & B_BUPA_RLT(BP Role)
    Thanks,
    Thirumala.

  • How to populate values in F4 help based on another F4 help in a TMG

    Hello All,
    I have created a TMG for a table. Have added that to customization also. Now, in that table I have 2 fields say carrid and connid. In the F4 help of carrid, all carrids will be displayed. Now if the user selects one carrid, the next field connid should show only those connids related to carrid. How this can be achieved in a TMG. If in a module pool, we can write POV or etc. But in TMG, how can we ?
    Rgds,
    Renjith

    See the table maintaince has events ,you can write the code under events.
    Reward Points if it is helpful
    Thanks
    Seshu

  • TS2529 iTunes was unable to load data class information from Sync Services. Reconnect or try again later is the error message I am getting when i connect my iphone 4 to my windows based computer. Any help out there?

    iTunes was unable to load data class information from Sync Services. Reconnect or try again later. This is the message when I try to connect my iphone 4 to my computer. If anyone could help me with this, I would appreciate it.

    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/ts1591

  • Policy Based Routing and IP Helper

    Can anyone help with an issue i am having with PBR and an IP Helper.  I cannot get devices in the VLAN with the associated SVI to get DHCP addresses, there is no DHCP server in the VLAN so an IP Helper is used but whenever i enable PBR on the SVI, DHCP stops working.  The switch is a 6506 Catalyst running Version 12.2(17d)SXB11 of IOS
    The SVI config for the VLAN is as below
    ip address 10.2.60.254 255.255.255.0
    ip helper-address 10.10.80.200
    ip helper-address 10.10.80.201
    ip policy route-map ACPBR
    no ip igmp snooping explicit-tracking
    no ipv6 mld snooping explicit-tracking
    no ipv6 mld snooping
    a route map configured as follows
    route-map ACPBR permit 10
    match ip address ACPBR_ACL
    set ip default next-hop 10.99.1.252
    route-map ACPBR permit 20
    set default interface Null0
    and an access list as follows
    ip access-list extended ACPBR_ACL
    deny udp any any eq bootps log
    permit ip 10.2.60.0 0.0.0.255 any
    So any DHCP traffic should hit the deny command and drop back to the normal routing process, at least thats my understanding.  The logs on the 6506 even show the DENY being hit, see below
    list ACPBR_ACL denied udp 0.0.0.0(68) -> 255.255.255.255(67), 1 packet
    Can anyone advise why this may be happening, if i add the PBR to the SVI DHCP stops working, if i remove it then it starts working so it is definately PBR doing something.
    Thanks
    Ryan

    Ryan,
    The deny line in your ACL merely causes the DHCP traffic to be not processed in the ACPBR block 10. However, for this traffic, the processing of the route-map continues to block 20 with the set default interface Null0 command. This could be the cause of the drops you are seeing. Remember, the permit/deny in ACL here only select packets to be dealt with in the particular route-map block. However, it is the permit/deny in the route-map block header that determines whether the packet is going to be PBR-ed or normally routed.
    Assuming you want to keep the DHCP traffic to be normally routed, one of ways of doing that would be:
    ip access-list extended ACPBR_ACL deny udp any any eq bootps log permit ip 10.2.60.0 0.0.0.255 any!ip access-list extended ACPBR_DHCP permit udp any any eq bootps!route-map ACPBR permit 10 match ip address ACPBR_ACL set ip default next-hop 10.99.1.252!route-map ACPBR deny 15 match ip address ACPBR_DHCP!route-map ACPBR permit 20 set default interface Null0
    This configuration causes the DHCP traffic to be processed in block 15, and because of the deny action in the block header, the traffic should fall back to normal routing.
    While I am somewhat surprised that the PBR would affect broadcasts (it should not, and perhaps it affects only a part of the DHCP communication that does happen to be unicasted), I believe this modification of your config is worth trying.
    Best regards,
    Peter

  • My MacBook Pro crashes when I go into Powerpoint slideshow mode and I get an error message to resave and give it another name.  I updated the powerpoint based on using the help update but get the same problem....please help!

    I updated to Mavericks and since then my powerpoint no longer works when I want to start the slideshow mode.  Help!

    http://answers.microsoft.com/en-us/mac/forum/macpowerpoint?tab=Threads

  • Calculation based on radio box Help PLEASE....

    I am trying to make a text box perform a calculation based on whether or not a radio button is checked or not.
    If the radio button named "Basting" in the "Quilting Type" group is checked then the text box "Basting Charge" should find the value of the "Total Square Inches" field and  multiply that total by 0.015 and show the new total in the text box as a dollar value, if the radio button "Basting" is not checked the value in the "Basting Charge" field should be "-0-".
    I can get the calculation I want from this:
    var v1 = getField("Total Square Inches").value; event.value=v1*0.015;
    but how to include the radio button function and the "-0-" ?

    Okay, I have now made a "check box" with the name of "Basting", not in a grouping.
    This is the set up:
    Text Field = Total Square Inches
    Check Box = Basting
                                       Export Value = Yes
    Text Field = Basting Charge
    Calculation for "Basting Charge" should be "0" unless the "Basting" check box is used, then it should get the value of the "Total Square Inches" and multiply that number by 0.015 and show this value in the "Basting Charge" box displaying as a dollar figure.
    So if the value in the "Total Square Inches" is 12,000
    and the "Basting" check box is used
    The "Basting Charge" should read "$180.00"
    if the check box is not used then it should read "-0-"

Maybe you are looking for

  • Windows 7 and photosmartD5460 issue

    I have a photosmart D5460 and windows 7 after i installed win7 i could not print anymore on DVD's uninstalled and installed again got other drivers to print covers on dvd nothing is working can anyone help?

  • Qty from reservation

    hi, i have removed the quantity from reservation column in stock overview for which no confirmation & delivery has done. But still in some material, the quantity is showing in reservation for which confirmation & delivery has done. i have to remove t

  • Set up Calibration Inspection in Inspection Interface

    Hello, I'm currently designing an inspection interface "front panel" for a program that detects faults in caps. I've been having a look at some of the features that are offered in the interface and I was wondering if there is a way I can perform an e

  • How the DVD image on screen varies in size .....

    So I have my project on DVD and am pleased, in fact amazed at how good the quality is but there's one little frustrating niggle! In order to keep text on some of my graphic images on screen, in the timeline I've had to reduce the size of the overall

  • Graph question

    hi, I have to do this project for a class, i dont want to know how to do it, just if someone can help point me in the right direction to get me started. Im supposed to take an undirected graph and construct an adjacency list representation of the gra