Fixed procedure for Costing. (Sequence)

Dear All
Pls explain the Fixed procedure for Costing. (Sequence)
Regards
Avijit

Odi Procedures are mainly meant for DML execution..A SELECT query there holds little or no value in my opinion..
Select queries are only usable in Command on Source and there the general application of that is to use those values returned by the SELECT query on Command Source as a input to the Command/Query/Statement/Java or Jython block at the Command on Target Tab in a one by one iterative manner.
Lets say your command on source returns 5 rows..So your command on target is executed 5 times and you can use the attributes of these rows as inputs to your command on target in each iteration .. It works like an Internal Cursor

Similar Messages

  • Problem in Procedure for using sequence...

    Hi,
    I created a procedure for generating sequence in target using below query
    SELECT EMP.EMP_SEQ.NEXTVAL FROM DUAL
    but its working on one system in other system its giving below error...
    ODI-1228: Task EMP_LOAD_EMP_SEQ_PROC (Procedure) fails on the target ORACLE connection EMP_LOAD.
    Caused By: java.sql.SQLException: SQL string is not a DML Statement at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1393)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3887)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
    at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1818)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:559)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:481)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1040)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:619)
    Please help me regarding this issue..
    Thanks in Advance...

    Odi Procedures are mainly meant for DML execution..A SELECT query there holds little or no value in my opinion..
    Select queries are only usable in Command on Source and there the general application of that is to use those values returned by the SELECT query on Command Source as a input to the Command/Query/Statement/Java or Jython block at the Command on Target Tab in a one by one iterative manner.
    Lets say your command on source returns 5 rows..So your command on target is executed 5 times and you can use the attributes of these rows as inputs to your command on target in each iteration .. It works like an Internal Cursor

  • Fixed price for Cost Center

    Hi Friends,
       In KP26 ( Activity Type / Price planning ),i want to get the fixed price for the  particular Cost Center.it is storing in which table ?
    please help me to solve this problem.
    Regards,
    Anburaja.K

    Take a look at table COST "CO Object: Price Totals".
    Regards

  • Procedure for Cost rollup

    Hi,
    i need to costing run for few materials for our client. but i am confusing on configuration process of cost rollup. can u give the configuration on from cost center creation to costing run with step by step and those are appreciated.

    Go by t-code CK40N for costing run.
    Feed the parameters with values, like which plant, material, costing variant, validity date etc. Open up the processing tab and click on execute to go to every step therein.
    You need to have BOMs and routings already available for those materials you are trying to cost.

  • Fixed Asset procedure For acquirsion Throught Landed Cost

    I Have To Import A Fixed Asset From Foreign Vendor.But How Can i Able Charge Landed Cost To That Asset.means Simple Landed Cost procedure just Cost the Charge to Inventory item But How To Fixed Asset
    Regards
    Naveed

    Naveed,
    Landed cost only supports inventory item in current system design.  You need to do it manually for Fixed Asset.
    Thanks,
    Gordon

  • The back of my iPhone 4s is shattered will apple fix it for free? Or at a cost? t

    I dropped my phone just now and only the back is shattered. I got my phone less than a year ago and I was wondering if apple will charge me to fix it or is it under warranty?

    They will not fix it for free.
    Like any warrantyon any product, damage is not covered.

  • Work Flow & Procedure For Transportation Module Of SD

    Dear All,
    Currently, we have just got SD implemented. Now, we shall like to go for the Transportaion Module i.e. Order Booking, delivery and the PGI followed by Auto Invoicing. Now, we wants to go for Transportation Module  i.e. Shipment Creation, Shipment cost calculation , Service Order Creation etc. As we are quite new to this. So, we shall like to know the complete work flow & the procedure  for implementing the same. i.e. in what sequence the various transactions to be used for Master / Transaction.
    Please advise further.
    With Best Regards,
    Sanjeev Chugh

    Thanks for the reply. Definitely, i can share the details to the best of my knowledge about the transportation module.
    This module is basically meant for controlling purpose. Our main objective is to control the Transportaion Charges. Vendor Invoice must be cross verified from the sytem as well.
    Our Current Business Process : As per business process, we are having fixed rates per transporter for the type of vehicle and the source - destination combination. So, whenever, we are stock transferring the material from our mfg. plants to various depots, we are using various transporters (some one are specialised for south, some are spl. for east, so on and so forth). On the receipt of the material, receiver i.e. the destination branch , confirms the material receipt.. MIGO / MIRO etc. . We wants to capture the cost of the shipment as per the system and then on the receipt of the bill from transporter, the same must be cross verified.
    On going thru various documents from Web, I could gather the following details :
    1. After making deliveries, we have to make a shipment document. In our case, max. time it shall be an individual Shipment i.e. Tcode VT01N. Other type of shipment be Collective Shipment, which we use very less no. of times.
    2.  We have to prepare Shipment Cost document by using Tcode VI01
    3. We have to create a service Purchase Order By using ME21N.
    In our business scenario, we shall not be using legs concept as our shipments generally used to be from point to point basis.
    Sir, logically, i know our needs.. But getting stuck at a couple of points ... Like where to define various rates per transporter..That's why, i named the subject as the Work  Flow & Procedure for Tpt.Module.
    I shall like to request you to kindly advise further in this regard or kindly let me know if some study material is available from where i can comes to know about the exact work flow of the Transportation Module As Such.
    From Where I Can Get Help on Any Tcode Usage i.e How to use a Tcode and what be its basic functionality.
    With Best Regards,
    Sanjeev Chugh

  • KB15N_No adjustment account found for cost element Message no. K5112

    When I am trying to post Manual Cost Allocation through TC KB15N with the following input data I am getting the following error message and the same could not be posted.  Kindly advise.
    Screen Variant used: 01 SAP Cost Center
    Input Type: List Entry
    Item No.1
    Sender Cost Center : 3402100942
    Cost Element: 6200001
    Amount : 62,201.56
    Receiving Cost Center: 3405100945
    First four digits represent profit center code.  If first four digits are equal the above error is not coming. But posting is needed with different profit centers.
    No adjustment account found for cost element
    Message no. K5112
    Diagnosis
    Neither standard account determination nor the enhanced function found an adjustment account for the reconciliation posting.
    System Response
    No adjustment account could be determined for cost element  in company code SCCL.
    Procedure
    Maintain the standard or enhanced account determination for transaction KAMV. Information on maintenance can be found in the program documentation.
    Execute

    Hi all,
    I face the issue like this but with transaction KOAP - Plan settlement
    But, the problem is that, I do not active reconciliation ledger, so I do not maintain any thing relate to reconciation ledger or adjustment posting? I can do transaction "actual settlement"  without error
    So, How this error come to me?
    And how I can fix it?
    Thanks all!

  • Procedure for setting up ' Set Up time Optimisation ' in PPDS

    Hi APO Gurus,
    Please let me know the Step by step procedure for setting up of the set up time optimisation in PPDS.
    Please let me know the Configuration required , Master data to be set up for the same.
    Waiting for your reply.
    Regards,
    Ravindra

    Hi Ravindra,
    I mention below an example to make you clear.
    Say for eg, if you are having a scenario wherein
    you need to manufacture products with low weight,
    medium weight and heavy weight products. 
    You can define in the set up matrix that for switch
    over from low weight to medium weight products for
    manufacturing, the set up time involved in 2 hours and
    the setup cost involved is Rs.100, 
    Similarly, for switching over from heavy weight products
    to medium weight products, the set up time involved
    is 3 hours and the set up cost involved is Rs.50.
    Based on this information, system will frame a matrix
    of information and use during planning.
    System will sequence the products and plan it accordingly.
    Hope you are clear now.
    Please confirm all your queries are resolved
    Regards
    R. Senthil Mareeswaran.

  • Activity Type set up for cost center

    Hi All ,
               While creating a task list i m getting a message
    Activity type is not set up for cost center in the year 2008
    Message no. CR062
    How could i set the activity type for cost center? Plz tell the procedure.
    regards
    sunil
    Edited by: sunil gupta on Sep 19, 2008 10:12 AM

    Dear Sunil,
    Check out this,
    1.Create a Cost center using T code - KS01.
    2.Create an activity type using T code - KL01.
    3.Assign the Rates for an activity type & cost center combination using T code KP26.
    4.In the input screen of T code KP26 ,enter version as 0, from period 1 and to period as 12 and the Fiscal
    Year as 2008,enter the cost center, activity type click on overview screen (F5)---> enter the per hour Rate
    under Fixed price and set value as 2 for distribution key and plan price indicator as 3.
    5.After performing this ,while creating the work center ,this combination of activity type & cost center
    should be assigned.Then while creating routing/task list this work center can assigned for performing
    operations.
    Check with this & revert back if you need any further help.
    Regards
    Mangalraj.S

  • What is the procedure for FDM App Migration from v9 to v11

    Kindly provide the procedure for Migrating of FDM application from system 9.3.1 to v11.1.2.1.
    and also Please share the documents if you folks having.
    Thanks in Advance.
    AVSR
    Edited by: 948364 on Jul 24, 2012 5:07 AM

    This is covered in the documentation pretty well I believe; however, here's the outline I followed...
    - Copy FDM databases to v11 database server. (I renamed mine to follow my v11 naming scheme, but ...)
    - Copy FDMApps folders over (i.e. Inbox files, scripts, etc)
    - Add the applications to the new FDM. (i.e. from the login screen, pick Add Application
    - Run Schema Update tool on your FDM applications
    - Run User Migration Tool on your FDM applications
    - Extract Oracle\Middleware\EPMSystem11R1\products\FinancialDataQuality\SharedComponents\DBSetup.zip to /Data/Scripts/Custom folder for each FDM App
    - Update Machine Profiles (Workbench) (Repeat for each application)
    - Add Adapter (Repeat for each application)
    - Configure Adapter (Repeat for each application)
    - Fix mappings*
    In v9, you don't have to map dimensions you don't use. In v11 you do.... Instead of doing it that hard way and manually updating hundreds of maps, I used SQL to do it. In my environment ICP, UD3, UD1, and UD2 generally were not mapped. You would need to update this accordingly.
    NOTE : I TAKE NO RESPONSIBILITY IF THE FOLLOWING CODE BLOWS YOUR STUFF UP. IT SHOULDN'T, BUT ...........
       Function    : Bulk Create Import File Format field creator
       Author      : Charles Beyer
       Date        : 5/10/2012
       Description : This routine will automatically create a new record for each Import File Format
                     Corresponding to the supplied information.  This may come in handy if you find
                     yourself needing to map a field that you have never needed before and MOST
                     of the locations are not actively mapping it yet.
                     It will also take care of the incrementing of the ImpSeq field automatically for you
                     Finally, it will create a * to * mapping to serve as a generic placeholder in the location's
                     map
       Input(s)    :
                     @FDMField = This is the FDM field name such as UD2
                     @FieldValue = This is the hardcoded value to start with such as [None]
    --Declare Working Memory
    DECLARE @FDMField varchar(50)
    DECLARE @FieldValue varchar(50)
    DECLARE @ImpSeq int
    --Initialize Working Memory
    SET @FDMField = 'UD2'
    SET @FieldValue = '[None]'
    SET @ImpSeq = (select top 1 ImpSeq from tBhvImpItemFile order by ImpSeq DESC)
    -- Insert a Import File Field corresponding to the supplied Field Name
    -- For each location that *DOES NOT* already have that field defined in their
    -- Import Format
    insert into tBhvImpItemFile (ImpGroupKey, ImpSeq, ImpFldFieldName, ImpFldFixedText, ImpFldStartPos, ImpFldLength)     
         select distinct (ImpGroupKey), 0 as ImpSeq, @FDMField, @FieldValue, 1, 1 from tBhvImpItemFile where ImpGroupKey not in (Select ImpGroupKey from tBhvImpItemFile where ImpFldFieldName = @FDMField)
    -- Since for some silly reason ImpSeq is not an identity field, we need to increment the values
    -- To play nice
    update tBhvImpItemFile set @ImpSeq = ImpSeq = @ImpSeq + 1 where ImpSeq = 0
    --Add a '* to *' type mapping
    insert into tdatamap (PartitionKey, DimName, SrcKey, SrcDesc, TargKey, WhereClauseType, WhereClauseValue, ChangeSign, Sequence,  VBScript)           
         select distinct partitionkey, @FDMField, '*','* to * Default Map', '*', 'Like', '*',0, 0, '' from tDataMap     
              where PartitionKey not in (select distinct partitionkey from tDataMap where DimName = @FDMField)

  • No Adjustment account found for cost element

    Dear Gurus,
    I am getting Three errors  msg "No Adjustment account found for cost element" when i try to run the conformation of production order create  ( T Code : C015 )"  and I am not able to save the record . like
    1 ).No adjustment account found for cost element
    Message no. K5112
    Diagnosis
    Neither standard account determination nor the enhanced function found an adjustment account for the reconciliation posting.
    System Response
    No adjustment account could be determined for cost element  in company code XXXX
    Procedure
    Maintain the standard or enhanced account determination. Information on maintenance can be found in the program documentation.
    Execute
    2) . No adjustment account found for cost element XXXXXXXX
    Message no. K5112
    Diagnosis
    Neither standard account determination nor the enhanced function found an adjustment account for the reconciliation posting.
    System Response
    No adjustment account could be determined for cost element XXXXXXX in company code XXXX.
    Procedure
    Maintain the standard or enhanced account determination. Information on maintenance can be found in the program documentation.
    Execute
    3 ) No account is specified in item 0000000002
    Message no. F5670
    Diagnosis
    No account was specified for account type "S" in item "0000000002" of the FI/CO document.
    System Response
    The Financial Accounting program cannot process the document.
    Procedure
    A system error has probably occurred in the application you called up. Check the data transferred to item "0000000002" of the FI/CO document.
    Could anyone please help me with this.
    Regards
    SAP CO

    Hi,
    iam not able to understand of this  SAP Notes: 531606 and 1027645
    Could you pl give me full details for come out this problem.
    Regards
    SAP CO

  • Procedure for Archive the data

    Hello Experts,
    I need to write a procedure for clean up the data base. Below is my rek.
    User should be provided with options of entering the table name and also should be given option to select whether he wants to delete all the data or archive the table.
    --> Program should provide the list of tables that are related to the table name that was given by the user. (This is not required if the table is stagging table, as they don't have constraints associated with them)
    --> If user wants to archive then the data in the tables and its related table should be archived (exported) into a flat file and then delete the data from each table in a sequence. Else, we need to delete the data without archiving.
    Can you Please let me know the procedure for the above rek and also I am not sure about the archiving the data. If you don't know the table name and the columns. so How can you define a cursor record to handle the record.
    Can you please send me the complete code for the above rek to [email protected]
    I appreciate help in this regard.
    Thanks & Regards,
    Sree.

    Can you please send me the complete code for the
    above rek to [email protected]
    I appreciate help in this regard.The goal of this forum is not to make your job, but to assist you with guidelines, references, and concepts, on specific issues. If you want someone to code for you, then you should hire a programmer instead.
    ~ Madrid

  • Excise duty in the Pricing Procedure for Local Purchase / Importation

    Hi,
    I'd like to know how to set up the pricing procedure for the purchase of an IS Oil Material; for local purchase and importation, especially with regards to the excise duty posting.
    Local purchase:  the vendor will bill us inclusive of the ED tax he previously paid, so the tax is just passed on to us..  My receiving location has ED paid status. In the PO item, we need to see this price (inclusive of tax) in the net price field.
    Importation:  the vendor only bills us the cost of the material.  When we received the fuel, we paid ED tax to local tax authorities.
    I know that both in these scenarios, the system has to determine the excise duty.
    My questions are (1) how do you set up the excise duty condition type  in the pricing procedure(or do they have to be maintained in the pricing procedure?) ?   and (2)  how do you set up this condition type in the config?
    Thank you and hoping for your immediate feedback.
    zccr

    Hi,
    You can use same pricing procedure
    put 4 in subtotal in pricing procedure against the Discounr or freight cond
    and in taxinn
    BASb ALTCBV 362 and for jmop 363
    But this will work only if same  discount or freight value is in IV as that given in PO
    if freing value changes in IV then its a problem
    This is SAP bug, and SAP workes in that way only, freight value should be same in PO and IV
    other solution
    in taxinn create tax code like v8 vat 4% for 003 tax clasification
    in ftxp create tax code V8 desc vat 4%
    in fv11 for jvrd put 4
    and at the time of IV put this tax code for freight amount
    and for regular material value V1 tax code
    this will work only if u have used acess seq MWST instead of JTAX pr JST1
    hope this helps
    Vipin

  • Different Tax base in pricing procedure for a single sales order for different line item material.

    Hi,
    I have a scenario wherein in a sales order, for two different material, the tax base of pricing should get triggered on the basis of sold to party and the material entered at line item level.
    Logic triggers on the basis of Region of Customer & a unique field in the Material Master but problem comes in the calculation of Tax base as the sequence of condition type (from – to)  is already defined in the pricing procedure to pick from a particular step but in second line item the base is different i.e. the sequence of condition types that are maintained in pricing procedure should be different for Tax to calculate differently.
    Kindly suggest if the same can be handled in a single pricing procedure and dynamically taking care of condition type sequence through Alt Cal Base Formula, so far I’ve tried both Alt Cal Formula & Base but it is not working
    Client doesn’t want to go ahead by creating two different orders (through separate Pricing Procedure) for that. They want to have both materials in same order.
    Kindly suggest a suitable way to handle this scenario.
    Regards,
    Aashika Agarwal

    Hi,
    Click on the ''check availability'' button at item overview and then click on ''One-time delivery'' on the top. This will ensure that you will have only one delivery for whatever quantity is confirmed on that date.
    If you want to apply this rule for all orders across a sales area, then you can do the below configuration step :
    SPRO->sales and distribution->basic functions->availability check with ATP logic->Define default settings-> Here in avail. checking rule select A (one time delivery). This will ensure that all orders created for a particular sales area will have only one delivery.
    Hope this helps.
    Regards,
    Palani

Maybe you are looking for

  • How to store the value in table

    Hi All, I ve a requirement where im adding a check box on a seeded supplier_create page via personalization. The seeded page contains only a root AM and a root controller.The table which stores the supplier details does not have a dff.so i have to st

  • Material Mandatory not showing at sales order level error

    Hi Every one, According to my client Requirement  at the time of  sale order creation material is mandatory , but i tried through Incompletion log its showing material mandatory but the problem is after entered the material in one line item when i tr

  • Javascript code needed for "Add to Favorites" icon in Webhelp using RH8

    Hi,   I have a huge problem in making the add to favorites icon click event associate with the appropriate code. This was the code i used in the Inline Javascript tab: <script type="text/javascript" language="JavaScript" src="showhide.js"></script> <

  • System is hanging. fseventsd brings free memory down from 2.5 GB to 5 MB within minutes

    I'm a computer novice, no technical knowledge whatsoever.. need your help I use an Intel iMac,  4 GB RAM running on 10.6.8 for over a year without any glitches 2 days ago, noticed that the HD space was reducing rapidly from startup.. Activity monitor

  • RSS not displaying correct characters - DMM 5.2

    Hi all, I have recently bumped into the following issue. I have setup the php proxy and tested it using various rss feeds (e.g google) with success. Though, if i try to load some Greek Rss Feeds i get some really strange(unreadable form,mixed charact