IDOC for CHRMAS04 with Heirarchy Values??

Hi All,
Hoping someone has experience in defining a IDOC for Basic Type CHRMAS04 with Heirarchy values.  Also how do I manually create one using transaction CT04.
Basically we want the characteristic values to look as follows
Parent 1
Parent 2
Parent 3
Child 1 Linked to Parent 1
Child 2 Linked to Parent 1
Child 3 Linked to Parent 1
Child 4 Linked to Parent 2
Child 5 Linked to Parent 2
Child 6 Linked to Parent 3
This gives a drop down list in the characteristic display.
I think field CAWN-ATWHI is the field that states this is a Parent value amd field cawn-ATZHH poins from the child to the parent.
Thanks for the Help.

The standard characteristic IDOC has all the fields required, but the definitions that come with Best Practice for Data Migration need to be modified to include these fields.
The additional fields are as follows:
Hierarchy
Counter
Parent Counter
Value High
The rules need to be as follows:
Set Hierarchy = 'X' for each value which begins a level in the Hierarchty
Set counter as a sequential value for the characteristic
Set Parent Counter as the reference to the childs parent counter
Set Value High as the reference to the childs parent value
See Example Below
NameValueValid-From DateOperator Signs GreaterLanguageHierarchyCounterParent CounterValue High
ZPM_R_WORK_CATEGORY0119000101~ENX1~
ZPM_R_WORK_CATEGORY0619000101~ENX32~
ZPM_R_WORK_CATEGORY0719000101~ENX52~
ZPM_R_WORK_CATEGORY0819000101~ENX70~
ZPM_R_WORK_CATEGORY0919000101~ENX75~
ZPM_R_WORK_CATEGORY010219000101~ENX21~01
ZPM_R_WORK_CATEGORY010319000101~ENX111~01
ZPM_R_WORK_CATEGORY010419000101~ENX171~01
ZPM_R_WORK_CATEGORY010519000101~ENX231~01
ZPM_R_WORK_CATEGORY013019000101~EN261~01
ZPM_R_WORK_CATEGORY013119000101~EN271~01
ZPM_R_WORK_CATEGORY013219000101~EN281~01
ZPM_R_WORK_CATEGORY013319000101~EN291~01
ZPM_R_WORK_CATEGORY013619000101~EN301~01
ZPM_R_WORK_CATEGORY013719000101~EN311~01
ZPM_R_WORK_CATEGORY064019000101~EN3332~06

Similar Messages

  • Display a message in a For Loop  with field value

    Hello All,
    pls,i wanna display a message in a For Loop with field value the code is:
    FOR Q1 IN GET_SUM_EXP_QUANTITY LOOP               .
    INSERT INTO PLN_PLAN_DISTRIBUTION_WAY
    (FIN_YEAR_CODE , MONTH_CODE , MATERIAL_CODE , DISTRIBUTION_WAY , EXPECTED_QUANTITY , GROUP_CODE)
    VALUES (:PLN_PLAN.FIN_YEAR_CODE , TO_CHAR(V_FROM_DATE,'MM') , Q1.MATERIAL_CODE , 1 , V_MONTHLY_QTY , Q1.GROUP_CODE);
    MESSAGE(':PLN_PLAN.FIN_YEAR_CODE'||:PLN_PLAN.FIN_YEAR_CODE ||' '||'V_FROM_DATE = '||TO_CHAR(V_FROM_DATE,'MM'), 'Q1.MATERIAL_CODE'||' '|| Q1.MATERIAL_CODE||' '||'DISTRIBUTION_WAY'||' = 1'||'EXPECTED_QUANTITY'||' = '|| V_MONTHLY_QTY||'GROUP_CODE'|| ' '|| Q1.GROUP_CODE);
    FORMS_DDL('COMMIT');
    How 2 display a message with the value:
    Q1.MATERIAL_CODE
    Q1.GROUP_CODE
    message(Q1.MATERIAL_CODE)     
    gave me numeric or value error on run time when pressed on button
    Regards,
    Abdetu..

    Thanks 4 reply..
    again they r in a For Loop as mentioned above...
         INSERT INTO PLN_PLAN_DISTRIBUTION_WAY
                                                           (FIN_YEAR_CODE , MONTH_CODE , MATERIAL_CODE , DISTRIBUTION_WAY , EXPECTED_QUANTITY , GROUP_CODE)
                                            VALUES (:PLN_PLAN.FIN_YEAR_CODE , V_REPAIR_MONTH , Q1.MATERIAL_CODE , 1 , V_REPAIR_Qty , Q1.GROUP_CODE);
    FORMS_DDL('COMMIT');
    The fields in bold r required to be displayed for testing puposes..
    this gives me numeric or value error in runtime..
    Best regards,
    Abdetu..

  • Report for Asset with only values (No Zero values)

    Hi All
    There is requirement where in the user wants to genenerate report for assets with  values .There should not be Zero balance assets  included in the output. In short only with values in the asset master the report needs to be generated. Can one have any idea on this .
    regards
    Navin
    Edited by: Naveen Rao on Jan 22, 2009 10:04 AM

    Hi
    Can you  please specify the report name.
    regards
    Navin

  • Possible to simulate a spreadsheet for input, with static values per row

    Haven't seen this done but thought I'd ask, is it possible to simulate a spreadsheet interface in Apex? Basically, I have 9 columns each of which needs to be filled out for 10 time periods per day (row), and it's easiest for the user to tab across the columns then down to a new row / next timeslot, to fill out the whole day's worth of data, rather than entering hour by hour & then changing the timeslot manually. This would require that the value for column 1 of row 1 = 8, column 1 of row 2 = 9, column 1 of row 3 = 10 and so on. So, a tabular form but with static values on each row.
    Is this possible & if so, any pointers to what to start researching to make this work would be greatly appreciated. I know they can work in a spreadsheet & upoad it and we may go that way but this seemed like an interesting problem to see if Apex could handle it; I just am uncertain where to start on it is all.
    Many thanks for your pointers!
    gp
    Edited by: 834058 on Jul 18, 2011 10:37 AM

    Tabular report, with some modifications to have rows added at start of usage. User would on occasion need to click a control to add rows..
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Segment mising in IDOC for outbound with status 3

    Hi ,
    Segment mising for IDOC for outbound and IDOC status in 03 . What could be the possible reason for segment missing ?
    Edited by: Raghavendra Balegar on Jan 11, 2010 8:26 AM

    how do you create the IDOC?
    which IDOC?
    what segment?

  • Snmp for oids with multiple values

    Hi,
    So if we have array of OIDs defined in the mib file (eg, 1.3.6.1.4.1.22.1.1, 1.3.6.1.4.1.22.1.2, 1.3.6.1.4.1.22.1.3 and so on each having different values). does anyone know how can we capture this using SNMP fetchlet?
    or
    do we need to specify each oid separately?
    Thanks

    Maybe I misunderstood lushhay here. I thought lushhay wanted to associate a key with multiple values. So one way is to have the value of the Hashtable key to be an ArrayList.
    Hashtable table = new HashTable();
    String key1 = "myKey";
    String key2 = "myKey2";
    Date value1 = (some date value);
    Date value2 = (another date value);
    Date value3 = (another date value);
    ArrayList valueList = new ArrayList();
    valueList.add(value1);
    valueList.add(value2);
    valueList.add(value3);
    table.put(key1,valueList);
    This would associate "myKey1" with 3 date values stored in an ArrayList.
    There is a downside to using the string concatenation method. You assume that the content of each values will never contain a delimiter. You also assume that the values are strings. But if the values are byte[], the string concatenation will not work. If the values are Dates, it can still work, but you would have to convert it from Date to String then concatenate, then get the String value through StringTokenizer and then convert back to Date.
    But anyways, if the values are Strings (and won't contain the delimiter character), then the concatenation method would suffice.

  • IDOC posting error with dollar values

    Hello,
    We have recently started posting general ledger transactions via IDOC.  We just noticed that a few of the idocs reflect a status 53 however did not create postings.  When drilling into the message, it says that there were not valid line items. (meaning lines with 0 dollar value).  However all of the records had valid dollar values.  I have found a few notes that adress this as an issue in 46B, however we are on 4.7 and all of the suggested code fixes have been implemented already.  Has anyone seen this happen?
    -Jeff

    1. Please check that the process code in the inbound partner profile is correct.
    2. If this is the case, you should check the ALE inbound methods ALE inbound methods for the process code and see whether the specified function module and application object type are correct.
    3. If this is also the case, then the function module and the application object type are not permitted for the logical message type, message variant, message function and basis type that are contained in the IDoc control record. You should check whether the correct values have been assigned to these fields in the control record. If they do have the correct values, then the assignment to the function module and the application object type needs to be maintained.
    BR,
    Alok

  • Standard Report for PO with Condition Value

    HI MM experts,
    I have checked all the existing standard reports ME2*, cud not find the report which gives the
    condition value means
    Eg; PO made on Pencils - Qty 10 NOs. @ Rs. 1/- (incl tax)
    condition value for the above is Rs.10, in std sap all reports are showing with net price only
    PO no. 45XXXXXXX dt 11.11.2011 - Pencil - qty-10 - Net price Rs.1
    Please let us know is there any Standard report which gives the condition value ie., Rs.10 along with or without Net price.

    Thank you! It is not meeting my requirement.
    I am looking for sap standard report to see the PO value or condition value which is nothing but
    Qty X net price. I do not want to touch the tables.
    for analysis purpose, i want to have the total PO value in any MM Standard Report.
    Today i am visiting every PO and looking at header data for PO value. or at item level Condition value.

  • Fox editor for multiplying with minus value

    Dear experts,
    I am getting a source keyfigure of type amount and I need to change its value and need to send to the target in the transfornation.
    So I am trying to do that in Fox formula editor ( I am not aware whether it can be done here or not but trying)
    1) So I did like this
    Sourcefiled * (-1)   - > Syntax check is saying formula element is not allowed here
    2) Then I tried like this
    Sourcefield*-1 -> Syntax check is saying formula element is not allowed here
    3) I tried with using the function Reverse sign.
    NEGATIVE( sourcefield ) -> Syntax check shown correct.
    Please tell me which is the best practise we need to follow to multiply the source value with -1 .
    Do we need to do that in the routine or fox formula is ok.
    Thank you .

    Hi SD,
    If you have many fields which require this formula or other calculations then you can do it in End Routine.
    Or if there is only one field on which you are going to apply formula then you can do it in field routine only by applying formula - In your 3 options - last option ' NEGATIVE( sourcefield )' is correct and will work fine.
    For example, if you have amount field 10 then after applying this formula the amount value will be -10.
    So in essence if one or two fields in transformation you can use field routine (strictly when you do not have to use any selects/loops in field routine) else you use end routine.
    Please let me know if there are any questions.
    Thanks
    Amit

  • Accessing DefaultValues for parameters with dynamic values

    We have a custom user interface we place in front of all Crystal Reports (to maintain look&feel) that reads the parameters from the report and dynamically generates controls for user input.  The only time this doesn't work is for parameters that have dynamically generated default values.  If there is a static list of default values then we get the list from the DefaultValues collection; but if the list is dynamic then the collection is empty.
    Is there a way to force this collection to be populated, or alternatively, a way to find out what SQL query is being used to populate the parameter list?

    I think you may be out of luck. Dynamic cascading parameters (DCPs) are a relatively late addition to the Crystal Reports product line, and the Crystal Reports SDKs haven't caught up to that yet. Currently we don't have SDK access to dynamic value collections, including the SQL queries made for them. The most we can do at the moment is determine whether the parameter field uses dynamic or static values.

  • Pro*C & SQLDA with NULL value for predicate column

    Hi: I am using a C program to update a table via a dynamic sql (method 4) and SQLDA. In the update statement predicate, I have place holders (as in TBLCOL=:C000). One of the columns in the predicate contains null values, so I set L[n] = 0, V[n] = pData (which pData[0] = '\0'), *(I[n]) = -1, and T[n] = 5 (for text). I cannot find the row that I know is there.
    I cannot change my statement to contain TBLCOL IS NULL, since I don't know ahead of time if I'm looking for rows with null values for this column. The Pro*C manual says that by setting the appropriate *(I[n]) = -1, it indicates to Oracle to simulate the "IS NULL" clause, and update the appropriate rows. In my case, I receive 1403 as SQLCODE when I use TBLCOL=:C000 vs TBLCOL IS NULL. What am I doing wrong? Thank you for your help.

    You should include these columns as well;
    ChangeType (see mxi_changetype)
    ValOwner (repository)
    UserID ("jobid=<>", usermskey, GUI (mmc), DG (dyngrp), reconcile)
    IdAudit  (This is the event task (add and del member for assignments)
    ParentAuditId (AuditID of parent which last updated the attribute, not consistent)
    ChangedBy (Holds the MSKEY of the user which last changed the attribute)
    ExpiryTime
    to make sure you get a fuller picture of the audit record.
    Your selection does not cover all events and descriptions
    br,
    Chris

  • Inbound iDoc for POS message WPUUMS problem

    Hello all,
    I encountered a strange thing with the inbound idoc for POS with the message WPUUMS.
    I've created a new segment with we30 as an extension to the WPUUMS01 like this.
    WPUUMS01
    --E1WPU01
    E1WPU02
    ZNRLOT "this is my added segment
    E1WPU03
    E1WPU04
    E1WPU05
    E1WXX01
    The idocs (external xml files) enter correctly in SAP, when I view them with WE02 al the segments are correctly populated with the right data and they are ready for processing with status 64.
    After processing (with the program RBDAPP01 or with WE19 etc. doesn't matter, both uses IDOC_INPUT_POS_SALES_ACCOUNT ) comes the problem:
    The Material Document and Billing Document (Invoice) ARE GENERATED WITH ONLY THE FIRST ITEM. I mean that the iDoc has more items(materials) and should generate the material document and billing document with all the items, not just with the first one.
    As a conclusion:
    1. iDoc is loaded correctly in SAP with all the data in the segments, also in the new segment, and of course has more items.
    2. the problem is that after after processing, the generated document material and billing document have only 1 position, the first item from the iDoc.
    Any help in fixing this issue will be welcomed.
    Traian Mustata
    SAP ABAP Consultant

    check for the qualifier QUALARTNR. Is it filled accordingly in the z segment? U may also check by debugin the f/n module in we19

  • Regarding Outbound IDOC for Goods Receipt with MBGMCR03

    Hi Experts,
    Please let me know ,how to handle TYPE QUANT fields when i am generating an Outbound IDOC for Goods receipt for message type MBGMCR with the IDOC type MBGMCR03.
    At item level when passing the value for quantity received field ,the QUAN value into NUMC or CHAR before MASTER_IDOC_DISTRIBUTE to pass it to data record it is showing correctly in my BADI .
    after generating the idoc , the field value is appended with next field value passed.
    before generating IDOC
    erfmg( 60.000) - ENTRY_QTY(060)
    efrme (EA)       - ENTRY-UOM(EA)
    after generating IDOC
    IN WE02
    ENTRY_QTY-060EA
    later field values are mismatching .
    Please let me know the resolution.
    Thanks & regards
    Vishnu

    Hi,
         Standard Idoc types for invoice is  INVOIC01 and INVOIC02.
    - Use WE30 for seeing Idoc types with segment.
    Or otherwise go for Custom Idoc
               Create Custom Idoc type with required fields,custom output type and assign it to partner profiles.(If there is no std idoc type or output type)
              Use Funtion module MASTER_IDOC_DISTRIBUTE to generate Idocs while saving MIRO, for this you need to find exit or implement implicit enhancement while saving MIRO.
    http://wiki.sdn.sap.com/wiki/display/ABAP/StepstocreatecustomIDOC - Creating Custom idocs

  • No Incompletion Log for Sales Order with net value as zero

    Hi all,
    There is an Inbound IDOC which creates a Sales Order.
    When we check the IDOC, we find that it has got 4 line items (E1EDP01). However, for all the items except the third one (for example), the segment E1EDP05 is filled. In the segment E1EDP05 the field KRATE contains the corresponding net value for the respective line items.
    Then when we check Sales Order which is created, we find that the third line item (for example) has the net value as zero. In this case, ideally there should have been an entry in the Incompletion Log. However, it does not happen so.
    I suppose the issue is with the third line item in the IDOC for which the segment E1EDP05 is not present. I have debugged the corresponding FM is IDOC_INPUT_ORDERS, but was unable to find any clue.
    Please let me know the reason for this.
    Thanks and regards,
    Anishur

    In routine interpret_idoc_orders the item conditions are filled by calling
    WHEN 'E1EDP05'.
           MOVE IDOC_DATA-SDATA TO E1EDP05.
           PERFORM ZUORDNEN_ORDERS_E1EDP05.
    In case KRATE is empty no values are transferred to the order
        IF NOT E1EDP05-KRATE IS INITIAL.
          PERFORM IDOC_CUR_MOVE USING E1EDP05-KRATE XKOMV-CURRDEC
                                      XKOMV-KOEIN
                                      XKOMV-KBETR D_FLAG_P-PKON.
        ENDIF.
    If that is a valid scenario, you need to adjust your incompletion procedure in customizing to include the net value on item level so any missing value is reported.
    If this is not supposed to happen you might want to hook into one of the user exits in the idoc and in case KRATE is missing let the idoc fail.
    Hope that helps,
    Michael

  • Looking for help with javascript to autofill checkboxes based on a numeric value.

    I have a numeric field that I would like to have 1 - checkbox
    out of five autofilled based on a numeric value.
    For instance the numeric value is TotalPoints
    If the TotalPoints Value is >10 autofill this checkbox
    If the TotalPoints Value is 10 - 19 autofill this checkbox
    If the TotalPoints Value is 20 - 49 autofill this checkbox
    If the TotalPoints Value is 50 - 69 autofill this checkbox
    If the TotalPoints Value is 70+ autofill this checkbox
    Assistance in writing the correct script for this would be greatly appreciated.

    All the checkboxes have separate names. 
    Check box #1 is AssetClass.0 with the export value of 1
    Check box #2 is AssetClass.1 with the export value of 2
    Check box #3 is AssetClass.2 with the export value of 3
    Check box #4 is AssetClass.3 with the export value of 4
    Check box #5 is AssetClass.4 with the export value of 5
    Score and StrategyUse the following calculation to determine your point score and indentify the appropriate strategy listed below.A. Add your points for questions 1 – 2.
    B. Add your points for questions 3 – 12.
    C. Subtract B from A. (Numeric Text Box)  name is TotalPoints
     Points Strategy Asset Class Mix (check boxes as named above)
     0 – 10 Primarily Fixed Income: 80% Fixed Income; 20% Equity
    10 – 19 Balanced Fixed Income-Oriented: 60% Fixed Income; 40% Equity
    20 – 49 Balanced Equity-Oriented: 40% Fixed Income; 60% Equity
    50 – 69 Primarily Equity: 20% Fixed Income; 80% Equity
    70+ Equity: 95%; 5% Cash 

Maybe you are looking for

  • Adobe Photoshop CS5.1 Trial "Stopped working"

    Hello all. I am new to adobe photoshop and was wondering if anyone could help me. I have finished downloading and installing Adobe Photoshop CS5.1 (the trial) and when I try to open a picture or do anything else I receive a pop up telling me Adobe Ph

  • Migrate Java to 10g

    Hi We have the following java code that runs with 9i in the database. Connection conn = DriverManager.getConnection("jdbc:default:connection:");      PreparedStatement pstmt = conn.prepareStatement("select version_number from version");      try     

  • Instaling Photoshop Elements 12 issues

    It downloaded but when I hit the button when it was done, it took me to this page, and I have no idea what to do.. please help me!

  • Display graphics using BSP Application

    Hi, I want to create a BSP application that displays a graphic on screen. I know how to do it using a smartfrom ,but is there any other way to display a graphic from SAP. We have stored Signatures of some users on SAP. When I enter a SignID of a user

  • New Security update ipod touch 4th gen

    I was down loading a few new apps/games for my 32gb 4th gen ipod touch using the ipod it's self  last nite 18-9-2011, after they where down loaded i connected my ipod to my computers itunes i went in the back up stage copying the app's/games to my it