Problem to reverse Costs of Structure in transaction CJ46

Hi people. When I do the reversal of the costs of structure, in the transaction CJ46, no reverses all values. Is there any other transaction to reverse the costs of structure?
It is possible to launch a negative value to pay the costs of structure?

Hi, Try this example
DATA:BEGIN OF ITAB OCCURS 10,
      QMNUM LIKE QMEL-QMNUM,
      DESC(72),
     END OF ITAB.
DATA:F_TDOBJECT LIKE THEAD-TDOBJECT,
     F_TDNAME   LIKE THEAD-TDNAME,
     F_TDID     LIKE THEAD-TDID,
     ITAB_LINES LIKE TLINE OCCURS 0 WITH HEADER LINE.
      F_TDID     = 'LTQM'.
      F_TDNAME = T_DET-QMNUM.
      F_TDOBJECT = 'QMMA'.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          CLIENT                  = SY-MANDT
          ID                      = F_TDID
          LANGUAGE                = SY-LANGU
          NAME                    = F_TDNAME
          OBJECT                  = F_TDOBJECT
        TABLES
          LINES                   = ITAB_LINES
        EXCEPTIONS
          ID                      = 1
          LANGUAGE                = 2
          NAME                    = 3
          NOT_FOUND               = 4
          OBJECT                  = 5
          REFERENCE_CHECK         = 6
          WRONG_ACCESS_TO_ARCHIVE = 7
          OTHERS                  = 8.
      DESCRIBE TABLE ITAB_LINES LINES SY-TFILL.
      IF SY-TFILL > 0.
        LOOP AT ITAB_LINES.
          ITAB-QMNUM = T_DET-QMNUM.
          ITAB-DESC = ITAB_LINES-TDLINE.
          APPEND ITAB.
          CLEAR ITAB.
        ENDLOOP.
      ENDIF.
reward points if it helps
kaki

Similar Messages

  • Reverse Planned Costs by the transaction CJ46

    I need to reverse planned costs. This process must be carried by transaction CJ46, but don´t works. Just reverse half of the value rather than reverse the total. There is any transaction where i can launch a negative value to pay the charges of structure that are not reversed?
    Thanks.
    António Pinho
    Edited by: FPinho on Feb 18, 2010 5:30 PM

    Not work
    But thanks
    Edited by: FPinho on Feb 8, 2010 5:25 PM

  • Standard Report for Materials Cost Component Structure - PO Condition Type

    Dear experts,
    We are using below cost component structure (CCS) for materials:
    - Direct materials
    - import duty
    - import handling
    In which, all those above CCS are achieved through below condition type in Purchasing Info Record. When doing the standard cost estimate through costing run, we have successfully grouped all those condition types into their respective CCS. The problem is, while executing the standard report of "result of costing run" (S_ALR_87099930), the sytem groups all those three CCS into CCS "Direct materials" only.
    I have tried different standard layouts, but still got no way to show all those CCS separately in the standard report.
    Please kindly suggest what approach should i take
    Thank you very much
    BR, Erwin
    @edit
    Solved.
    Edited by: Erwin Hartono on Nov 16, 2011 9:16 AM

    Hi
    Check cost elements assigned to structure.  For this go to transaction code OKTZ and select your CCS and double click on Assignment Cost Component-Cost element interval.
    Srinivas

  • Cost component structure - cost elements for FERT and HALB (TC:OKTZ)?

    Hi all,
    our cost component structure has the following structure (TC: OKTZ):
    1 Raw materials
    2 Human ressources
    3 Production
    4 Material Overhead
    5 Production overhead
    6 external activity
    (this settings are conform with SAP standard - copy from cost comp. structure 01)
    To cost comp 1 "raw material" we assigend the relevant (primary) cost elements (consumption raw mat, e,g, steel, wood...).
    My question is: In case we insert/post e.g. a semi-finished product to the production order from stock (accor. bill of material), where (in which cost comp.) do I have to assign the relevant cost element? I guess this should be the account "inventory change unfinished product? (maintain in TC: OBYC for transaction BSV according val. class)
    Is it correct to assign this cost element to cost comp structure "raw material", because actually it is a semi finished product which is picked up from stock to convert /process further? To problem is, if this cost element is not assigned I get an error in CK11N/CK40N
    I hope my wording is not to abstract...
    Thanks in advance...
    best Regards

    Hi..
    You don’t need to consider the cost element of production order settlement and production notification.
    Cost component structure need the cost element of production order’s debit.

  • Problem while reversing allocations with KEU5

    Dear Experts,
    we encounter some problems when reversing allocations with KEU5 (using KSU5 in the background). When doing so all 4 update processes will be occupied by the system on our 2 servers. Which means that the systems is blocked. 
    Thanks in advance for help and best regards
    Melanie

    SAP OSS Says the following
    This is not a program
    error and completely correct
    behaviour. Nevertheless, I would like provide the following
    recommendations which could possibly reduce workload/improve the
    runtime in the transaction KEU5:
    1. Please make sure that
    the flag for 'detail list' is not activated.
    If the option 'detailed list' is selected, a detailed output list is
    created for every segment. This takes up the largest amount of time
    during the process.
    2. Ensure that the Summarization that you use are updated on a regular
    basis, daily if possible.
    3. Also consider the
    cycles dimensions recommended by SAP (a maximum
    of 50 segments per cycle, a maximum total of 10,000 sender-receiver
    relationships, see documentation). If possible, enter only those
    objects in the cycle that are valid senders or receivers. Consider
    that if, for example, you entered 100 cost centers in a group of which
    only 20 are valid receivers, the complete master data validation and
    database selection is carried out for all 100. See note 79224 and
    130350 for further information.
    4. For the definition of segments and their summary in cycles, you
    should take into account the technical aspects included in note 420081.
    Please take into account that the selection of data is carried out
    from CE3xxxx, CE4xxxx (no effect at this point if you have archived
    CE1xxxx), as explained in note 420081.
    The selection of the reference data can both be carried out from a
    summarization level or from object level (tables CE3xxxx, CE4xxxx).
    In additional , you are
    recommended to perform
    this transaction during the evening/night. This will affect the system
    processes/workload during peak period.

  • New Cost Component Structure in new Costing Variant

    Hi gurus,
    i created a new costing variant (to be used for planned prices, for budget purposes), then a new cost component structure.
    Now the system (transaction OKTZ) doesn't allow me to assign the new cost component structure to the new costing variant forcing me to mask the costing variant with ++++.
    But the aim, for me, is just assigning the new cost component structure to the new costing variant only for a company code and only for a plant.
    Does anybody know how i can reach the goal? Am i missing some step?
    Thanks in advance for the collaboration,
    Best regards
    Enrico

    Hi Utenza
    You can very well achieve this
    1. First of all ensure that a masked entry exists i.e. ++++ in Comp Code field, Plant Field, Costing variant Field and assign the Prmary cost comp str here
    2. Then, coming to the new costing variant and new cost comp str,
    a. Enter ++++ in the comp code field
    b. Enter your plant name in the Plant Field (and not ++++)
    c. Enter your new costing variant here.. (This should be the costing variant where costing type is not 01)
    d. Assign your new cost comp structure here against this costing variant
    Regards
    Ajay M

  • Cost Center Structure at a University.

    Hello all,
    At the university I am working for here is what there Cost Center naming convention appears:
    They use all 10 digits and this is how it is broken down---
    XXX                                XX                    XX                      XXX
    College/Major Unit           Department     Division               User defined.
    of Associate VP
    I don't have a problem with trying to make a cost center name smart but in their Standard Hierarchy they only have ONE cost center group with 5,513 cost centers listed.  It's almost like they have created a second level Chart of Accounts within the Cost Center structure because of the last 3 digits are "user defined".
    This seems like an inefficient design.  can someone shed some light on how other Public Acocunting organizations have set up their Standard Cost Center Hierarchy?
    Under Cost Center groups they have created 1,316 groups. 
    I really think they have tried to take the Cost Center structure to a level that is way too low.  They actually have Cost Centers whose lase three characters are abbreviations of the name of the person managing the spending in that cost sencter.
    Edited by: Daniel Goodhart1 on Mar 3, 2010 10:42 AM

    Hello,
    There is no point in going with only one cost center group. It is meaning less.
    However, you can suggest to create a structure with second and third one XX XX as two nodes. If not possible at least either second one XX or third one XX should be made as a cost center group. This will not only helps them in proper reporting, but also, the consultant in removing the redundancy of the configuration.
    Regards,
    Ravi

  • Error message: cost elements have no cost component structure

    using transaction KSII for the report; we didn´t change any settings, but we get this warming in the system.
    We don´t know what happens, because it was ok in december, but know we have this warning.
    The version for the year 2009 is maintained.
    Any ideas?

    There might be some new cost elements which would incurred actual costs which were not available in 2008 as well as in Cost component Structure.
    Anyways try maintaining the cost elements in Cost Component structure.

  • Problem in Reversing MIRO Document

    Hi Gurus,
    I am getting the  following problem when reversing the Miro, please help me in this reagrd.
    Balance not zero: 716.48  debits: 76,836.52  credits: 77,553.00
    Message no. M8534
    Diagnosis
    The system has discovered a difference between the debits and credits. This difference lies outside the tolerance limits set.
    System Response
    The system cannot post the document.
    Procedure
    If this message appears when you are processing a document online, you can
    change the amounts or enter new items until you can post the document
    change the Invoice Verification type, so that the document can be posted later in the background.
    If this message appeared when a document was verified in the background, you can now process the document.
    Regards
    Shree

    hi
    what cost ur entering in field of amount
    go to MIRO here do the normal process
    now just copy the amount from right top o the amount field
    plz check that u have ticked for calculate tax before copying amount
    now simulate and check
    regards
    KI

  • Cost center structure

    Hi!
    Can anyone please provide me a function module, or table, where the cost centre structure can be found?
    This structure can be maintained with transaction OKEON, and I have to read it in my program.
    Thank you
    Tamá

    hi Tamás,
    pls. check tables:
    SETHEADER
    SETNODE
    SETLEAF
    hope this helps
    ec

  • University Cost Center structure

    Hello all,
    At the university I am working for here is what there Cost Center naming convention appears:
    They use all 10 digits and this is how it is broken down---
    XXX                               XX                       XX               XXX
    College/Major Unit /         Department     /    Division    /   User defined.
    I don't have a problem with trying to make a cost center name smart but in their Standard Hierarchy they only have ONE cost center group with 5,513 cost centers listed. It's almost like they have created a second level Chart of Accounts within the Cost Center structure because of the last 3 digits are "user defined".
    This seems like an inefficient design. can someone shed some light on how other Public Acocunting organizations have set up their Standard Cost Center Hierarchy?
    Under Cost Center groups they have created 1,316 groups.
    I really think they have tried to take the Cost Center structure to a level that is way too low. They actually have Cost Centers whose lase three characters are abbreviations of the name of the person managing the spending in that cost sencter.
    Edited by: Daniel Goodhart1 on Mar 3, 2010 11:50 AM
    Edited by: Daniel Goodhart1 on May 28, 2010 2:24 PM

    Hello,
    There is no point in going with only one cost center group. It is meaning less.
    However, you can suggest to create a structure with second and third one XX XX as two nodes. If not possible at least either second one XX or third one XX should be made as a cost center group. This will not only helps them in proper reporting, but also, the consultant in removing the redundancy of the configuration.
    Regards,
    Ravi

  • Use of cost component structure

    hello gurus
    what is use of cost component structure and what is the difference between cost sheet and cost component structure .after preparation of cost sheet we going to assign the costing varient like that after preparing the cost component structure where we assign this
    thanks
    prudhvi

    Hi!
    cost component structure is to split your total costs to material ( direct & inditiect), labour cost, over head costs in order to identify seperate costs for analysis purpose. transaction code is :OKTZ.
    first you have to define cost component attributes , then assign cost elements for each attributes and then assign this structure to your company code.
    while executing the standard cost estimate of materials,  total cost will be displayed by splitting the costs according to cost component structure.
    regs,
    ramesh b

  • Multipile cost componenets structure

    dear all,
    i have craeted multipile cost comp structuere in one plant of a company code
    can somebody explainnme how to do standard cost estmate will pick the correct cost comp when i run ck11n
    how sap integration came into play
    and in assignemnt organsition tab of cost componenets structure.
    what should i choose

    Yes,
    however, please also check my message for your previous message.
    cost componenet
    I mean you can use the multiple cost component structure for one plant by using costing variant, however, there're some limitation to calculate standard estimation, please check my previous comment.
    Also you just want to have two cost component structure for report purpose. Auxiliary Cost Component Structure can be another option. Aux CCS is available within same comp. code, plant and also costing variant. This can be set-up also in "Assignment -Organization units" in Dialog structure by transaction OKTZ.
    hope this will help.
    best regards, Takashi

  • Cost Component structure field and table names

    Hey all,
    i need to code a BADI to push value of one column in cost component structure to another column in ccs for only order settlements..
    any idea how to do this??
    i am very new to abap please take it easy on ur answer..
    i coulndt even find in which table and fields these values are stored...
    thank you

    I have an OSS note, it tells you step by step how to config the badi u need.. but does not mention about the logic u ll use.. it is up to you....
    so i need to find the field names and tell take these and post them to these columns...
    i dont know if i make any sence, but this is all i need to do...
    so i have the body i have the logic but i dunno the import and export fields...
    i believe the table is ckmlkeph.... and field that populate the columns are kst0XX, but i cannot see the field name and table name if i select a line in the column and F1 ????

  • Error in product costing cost component structure with quantity...

    Dear sap gurus
    I am creating material cost estimation with quantity structure while doing in T CODE CK11N the following error is coming Message no. 213 Cost component structure z9 is not active. But I am not using the particular Cost component structure z9. I am using the standard Cost component structure 01 and I have activated it at OKTZ and the z9 is deactivated. Plz, tell me where I can fix this error
    Awaiting for you kind reply.
    Naveen

    Hai MoH
    Thanks for yuor reply, yes you are correct. i have checked in OKKN where i found that the cost component structure z9 is assigned to my co. code that is not mine i am using the standard cost componet structure. plz, tell me where i should go and change the assignment plz, give the T.CODE
    regards
    Naveen

Maybe you are looking for

  • Error during oracle 91 patch installation on ecc 5.0 installation

    Hi All, I am installating oracle 9 patches on HPUX 11.The following is the error "error in invoking target sdo_on of make file /oracle/GMD/920_64/rdbms/lib/ins_rdbms.mk"....p Here is the installActions2007-06-29_03-05-20PM.log content: Start output f

  • Not able to load master data

    HI Friends, I am not able to load data in master data even after deleting the master data. when i am schedule then the data is not even load in PSA , I am using the SRM as source system, The SRM is refreshed every quater so we need to re load the dat

  • User Profile Service failed the logon. User profile cannot be loaded

    Hey when I try to log on to the computer using a domain account, I get "User Profile Service failed the logon. User profile cannot be loaded" it allows me to login using the local account. I have restored the computer as far back as it can go, I have

  • No Audio; headphones, internal speakers, nothing.

    I'm sorry for another thread, I know there are a lot more that address this problem. I've read a lot of them, none of them have helped me. Alright so my audio won't work at all. I was plugged into external speakers and then it just stopped. My intern

  • How to db connect from SAP to SYBASE SQL anywhere 16 remotely

    Hi All, May i know can i connect to SYBASE SQL Anywhere16 from SAP running on kernel 7.42 via dbacockpit (dbco)? I've followed note 1737415 - Sybase IQ: Enable remote/secondary connect to SAP Sybase IQ &  1532253 - SYB: Remote DB Monitoring for SAP S