Generate FI doc during order settlement

Hi Experts,
Please share any enchancement (BAPI, exit) to generate accounting document (doc type ST) by reference to CO document?
example:
-CO-
Dr. Material Operations(Cost Center) 12
Cr. Material Operations(Order) 12
-FI- generated by enhancement
Dr. Material Operations(Cost Center) 12
Cr. Material Operations 12
Please help.
Rgds,

Have you tried.
BAPI_ACC_DOCUMENT_POST
Hope this helpps,
Please read the documentation...or search on to clarify the passing parameters

Similar Messages

  • Update COPA characteristic values during order settlement -  KO88

    Hi,
    We need to update some COPA characteristic values during order settlement using T-code KO88.
    Looked for options in KEDR transaction, did not find any exits.
    Could some one help us to resolve this issue.
    Thanks
    Vikram

    Hello and thanks for your response.
    We have actually created the new characteristic (WWCRE) and we are populating it in the user exit.  I think the issue is that the characteristic may be 05012010 at the time of the sales order, but it is 04012010 at the time of billing.
    Unfortunately, the PAOBJNR in the billing doc is the same as the order and the user exit doesn't seem to accept the changed value or create a new entry in the CE tables.
    For example, if I change the sales order to cause a new WWCRE value, the system automatically generates a new PAOBJNR but at the time of billing, regardless of changes to the values, it simply keeps the old PAOBJNR from the sales order and doesn't reflect the changes.
    I hope that makes some sense.  Please let me know if you have any other suggestions.
    >Ray

  • User exit to break up variances during order settlement(CO88 )

    Hi
    As per the standard SAP process during C088(process order settlement)
    the entire variance is settled to once single variance account. But we
    have a requirement to break up the variance into repective variance GL
    accounts(eg.RM cost, Conversion cost, etc resply) as a part of the C088
    settlement. Can you please help us understand how can this be achieved.
    Also is there any user exit which we can utilise to achieve this.
    Hope you could understand our requirement.
    Regards
    Ganesan
    Mobile#9885567427

    Detail variance reporting is possible via 'variance calculation'. SAP calculates different type of variances on input & output and it can be posted to different value fields in COPA for analysis.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/90/ba81d2446711d189420000e829fbbd/frameset.htm
    Ideally, a single GL account is sufficient for variance posting and COPA is used for detail analysis. If it is absolutely necessary to post to different FI accounts, post variances to COPA. Develop an ABAP program to read the data from COPA value fields and create a batch input or call transaction for FI postings and reverse the original variance posting, periodically. (though it is not a very good idea from long term perspective!!)
    Regards,

  • Role of Availability check during order settlement

    Dear Gurus,
    I would like to ask your help to better understand what is going on.
    I have set up an availability check only over material, but when an order is already open due to costing settlement I do not know why the job scheduled go in abend and does not continue just posting a new line into the log as this prg do SDV03V02.
    Could somebody help me?
    Thanks
    Gianluca

    hi PSK,
    my apologies for the understanding, but what is an MTO?
    By the way in an easier way.
    When the availability check runs if a user is performing action over it the job (PPIO_ENTRY) goes in abend instead of write a line into a log and proceed.

  • Statistic condition values not updated during Sales order Settlement

    Hi,
    In our client we have different Price condition types for based on scenario wise. Ex: Domestic Sales (ZPR1) and Export Sales ZPR2. I have maintained separately value fields for each price condition types.
    We are booking some financial charges, and interest on working capital etc., this cost we need to transfer to COPA each Material wise based on sales revenue.
    For this purpose we have created one COPA Assessment Cycle.  Tracing factor is Sales Revenue and receiver is Materials.
    In COPA Assessment cycle we can give only one base means ZPR1 related value field or ZPR2 related value field.
    For this reason we have created one new statistic condition type,  what is amount there in ZPR1 that amount will updated automatically in statistic condition place and so that we can give once one trance factor in COPA Assessment Cycle. We have assign this statistic condition all pricing procedure
    Now my problem is in MTS scenario statistic condition values updated correctly. But in MTO scenario sales order settlement time statistic condition values not updated.
    So is it possible update during sales order settlement time statistic condition values.
    Please give me suggestion.
    Regards,
    Thiru

    Hi Ajay Sir,
    As you said is correct.
    But in our client we have around 9 Plants and each plant manufacturing product are different. Client Requirement is in COPA Report they need see each product wise sales revenue. In this way we mapped product wise value field.  System already mapped one guy in this way earlier. Now I am doing some changes for relevant to month end activities.
    Some financial changes transfer to COPA each plant wise on Material. Here sender is cost center and receiver is Material. Base is Sales Revenue.
    Please suggest me is there any alternative.
    Regards,
    Thirumalesh .

  • Error during Process order settlement

    Hi Gurus,
    i am facing problem during the process order settlement. an error is occured is as follows: Tax code V0 country IN does not exist in procedure ZTAXIN.
    actually this V0 tax code is assing to the ZTAXIN procedure & which is also assign to country. i couldn't get why it ask tax code during the settlement.
    In Process order Itemization i find the 2 GL ( Element) in which there is one consumption GL & second is COFG sold GL. from GL Master i remove both GL Tax category & also remove the click from posting without tax allowed. till i am facing this problem?
    Please help me to overcome this issue.
    Point will be rewarded if question solved.
    Than'x
    Dhananjay R

    hi gopan,
    Than'x for attention on my question. till my problem is not solved. during the process order why it hit the tax code? would u please guide me how to find the tax code assignment which hit during the process order settlement?
    i have check all the Tax related setting till this issue not solved. ( Check calculation procedure (OBYG), Tax code assignment (FTXP), also check the Tax Account Integration (OB40).
    also i remove tax related assignment from the GL master related to specific gl which are display in component structure.
    pls help me to solve this issue..
    Than'x
    Dhananjay

  • Profit center substitution with internal order when generating GL doc from

    Profit center substitution with internal order when generating GL doc from MM
    Dear expert,
    Please advise how to substitute successfully the profit center by which user-exit via FI substitution function.
    Substitutions have been set for profit centers in FI via t-code OBBH, but  the profit center will always be determined from the internal order when posting from MM subcon goods receipt
    Thanks
    James
    Edited by: Yun-Chung Yung on Jun 3, 2010 10:46 PM

    Hi,
    SAP give note 539421 - Dummy profit center with cost center
    account assignment. Looks applicable for your case.
    Solution:
    With the attached modification, you can restore the function from Release
    3.1: The directly assigned profit center remains and is not overwritten
    with the dummy profit center of the cost center.
    The problem is not caused by a program error in this case. The profit
    center is always derived from the existing CO account assignment even if
    this is the dummy profit center (see also Note 62417).
    This note applicable from release 40 until 605
    I hope this can help you. FYI, in my case, i do not create dummy profit centre, then profit centre working as sap priority.
    Regards,
    Dewi

  • CCS Details are not getting updated to COPA in Sales Order Settlement(VA88)

    Dear Experts,
    Our scenario is MTO with valuated material.
    1. Production order is tagged to Sales Order.
    2. Production order is settled to Material and variance is getting posted to COPA.
    3. At the time of Delivery, COGS Debit (Cost Object- Sales Order), Credit - Inventory.
    4. At the time of Billing, Accounting Document is getting generated, COPA document is not getting generated.
    5. We  are not executing WIP. (as per Business process)
    6. Settlement is done thru transaction code VA88. COPA Document is getting generated.
    I am facing the following issues in the above MTO process.
    1. At time of sales order settlement thru VA88, In COPA, only COGS is getting as updated with one value field i.e. Material Cost.  Cost Component data (Material Depreciation, Labor etc..) is not getting updated to COPA.
    2. When I settle the Sales Order thru VA88, Billing Quantity is not getting updated to COPA though Quantity field mapping is done properly.
    Please help me how to resolve the above issues.
    Note: Same Cost Component Structure, we are using for Make to Stock scenario. Cost Component Data is getting updated Properly to COPA  (at the time of Billing)
    Regards,
    vgl
    Edited by: vglokam on Aug 31, 2010 10:52 AM
    Edited by: vglokam on Aug 31, 2010 10:54 AM

    Hi
    1. CCS (Cost Comp Split) wont be updated to COPA if you settle via sale order.. In sale order, COGS cost element is posted.. the same will get settled to COPA as one single value...
    In MTS, the CCS gets updated to COPA upon billing because of the "valuation" strategy customization... Billing posts to COPA in that case, COPA gets Sales Qty and it is valuated with CCS to give you the break up.. But, in your case, Billing is not posting to COPA, but to sales order.. hence, there is no qty flow into COPA upon billing.. thats why you dont get CCS for MTO
    2. The sales qty should be updated to COPA upon VA88.. For this, make the following settings in your PA transfer structure which is used during VA88
    1. Go to KEI1, Select your PA transfer structure...
    2. Add an assignment line in it... Check on "Qty Billed/Delivered" in the assignment line
    3. In the Tab "Value Field" below "source", assign Qty Field
    Now when you settle, it should update qty as well
    regards
    Ajay M

  • MTO Production Order settlement - assignment field filled incorrectly

    Dear All
    Normally, once our production orders are settled the assignment field in the accounting document that gets generated contains the production order.
    However, in the case of our MTO production orders that get automatically created from a sales order, the assignment field is getting populated with the sales order # and item # on the sales order that generates the production order.
    This is causing some difficulties for our accounting folks.
    I checked the Sort key assigned to the GL account and it is assigned 036 (AUFNR).
    Any ideas? Could the MTO functionality override this? Is the sales order and sales order item # being pulled in from somewhere else during the goods movement?
    Also, wondering where I can see this in the system and if it's coming off the production order itself, or the material document posted for the production order, or just from the order settlement?
    Many Thanks!

    We've found an alternative process for this.
    Thank you.

  • Why internal order settlement is require

    why internal order settlement is require
    and in internal orders    acctual cost is plan cost is 100 and acctual is 150
    then which amount we have to settle in internal order
    regards
    venkatareddy

    Hey Venky,
    An internal order is usually used as an interim collector of costs and an aid to the planning, monitoring, and controlling processes needed. When the job has been completed, you settle the costs to one or more receivers (cost center, fixed asset, profitability segment, and so on).
    During settlement, some or all of the plan or actual costs incurred on an object are allocated to one or more receivers. The system automatically generates offsetting entries to credit the sender object. The debit postings assigned once to a sender object remain in place, even after settlement to a receiver (and can therefore be displayed). The costs settled are updated on the corresponding receiver object and displayed in reporting.
    To be able to settle an order, you must have saved a settlement rule in each of the senders. This settlement rule determines where the costs are to be settled to. You can achieve this in two ways:
    Settlement to One Receiver:You use this basic form of order settlement to completely settle the costs collected on the internal order. This is either to a cost center, or a G/L account under a settlement cost element. The system generates the appropriate settlement rule from the information contained in the internal order master data.
    Comprehensive Settlement:Definition of a comprehensive settlement rule gives you more settlement possibilities, for example, you can:Settle costs to a wide range of receivers (project, sales order, profitability segment, and so on).
    Specify how the costs are to be distributed between receivers.
    Define the cost elements under which the sender is to be credited and the receivers debited.
    Constraints:You can only use one of these settlement methods at a time: For example, if you defined settlement to one cost center in the master data for an internal order, then you can only define a more comprehensive settlement rule once you have deleted the first rule.
    Hope this helps. Requesting to reward points please.
    Rgds
    manish

  • Open Work Order settlement - KO8G or KO88

    Hi,
    I am facing an issue with open work order settlement using KO8G or KO88.
    We are on 6.0 and PSM turned and New GL activated with a document splitting on fund mandatory flag turned on.
    When open work orders undergo WIP calculation through KKAI, it shows the the calculated amount in the GL account but when we execute KO88 or KO8G to settle this open work order amount to the GL, it gives me the below error
    GLT2201 "Balancing field "Fund" in line item 001 not filled"
    On debugging the KO88, its seen that the field fund does not flow in from the work order.
    This means that both my P&L accounts and my balance sheet accounts that offset the WIP posting does not have the fund field (which is a mandatory field for posting any document in the system).
    Has anyone come across such a situation?
    Any help would be appreciated.
    Thanks,
    Pradeep

    Ashok,
    Thanks for the reply.
    We have a user exit to populate the order during its creation. this means the fund field is already residing on the order. so during settlement process, closed orders dont have a problem but when open orders are subject to settlement i.e WIP settlement, the cost on the order is not transferred to the GL account because of the fund missing as our financial statements should be balances by fund.
    Do you think an user exit can suffice this ? have you ever tried or come across such a scenario.
    Thanks
    Pradeep

  • Unable to generate accounting docs for invoice.

    hi all,
    I have a delivery related  billing invoice created in May 2010 that we're attempting to cancel.  We created a MIRO invoice against a sales generated PO tied to the Sales order for the invoice.
    Subsequently, in August, we determined that we needed to cancel the MIRO invoice, and discovered it's necessary to reverse the sales order Invoice first (subsequent docs.)
    In attempting to cancel the SD billing document, we received several error messages that prevented the creation of the invoice.  We were eventually able to create the invoice by changing the billing date to the current date (from the defaulted may date) and things got interesting.
    We created a SD cancellation invoice in Aug  but were not able to generate accounting docs
    I thought that if we updated the billing date to this month we would be able to process.   So updating the billing date to 09-13-2010 (today) I receive this error
    System error in the FI interface
    If we modify to any date before September, we receive the following error message, which we expect, since we've closed prior period.
    Posting period MMM YYYY is not open  (billing dates attempted - 07-31-2010, 08-05-2010, 8-31-2010)
    If i process using a september date, the changd date is not retained.  only non september dates (also attempted 10-1-2010) are retained.  This leads me to believe that there's an issue that's outside of the billing date causing the problem.
    Can someone provide some input on how to properly address this invoice and allow it to generate accounting documents?

    You could be encounrtering related FI errors. Release your billing document in VFX3 and refer to the details in the error logs.

  • PM Order settlements - Difference between the amounts settled

    Hi All,
    This is regarding the PM Order settlements.
    Every month end finance team run KO8G and settle the PM Order costs for that period (month). In the process the Orders are settled using a variant, which captures all the orders that has changed/created during the focused period.
    But in the report S_ALR_87013015 - List: Actual Debit/Credit there are balances for previous settlements and thereu2019s a difference between the amount settled and the debit/credit amounts.
    When drilling gown we found that this is due to following reasons,
    1.     Some orders are not settled fully.
    2.     Equipments issued against a Order are returned after the settlement process
    Ex: one Order has settled in Oct 2008 initially and fully in Jan 2009. However one material has been returned to stores in February 2009. Therefore a difference (cost of the material) between total actual cost (Dr Amount) and settled amount has been arisen.
    The Orders of nature 1 will be captured and settled in the subsequent run of KO8G.
    But my question is how can we address the orders of nature 2? Changing the settlement variant is one option.
    Also appreciate if someone can explain the SAP-best practice of PM-Order settlements.
    Thanks,
    Thushantha.

    Hi Thushantha,
    After returning the material to store check the actual cost of maintenance order. Once you fully settle the order means it becomes zero.
    When you will return material to warehouse against maintenance order once again carry out settlement of maintenanc order then check for your nature 2.
    Sundar

  • Cut off period for sales order settlement

    Dear Expert,
    Client using SAP from last  13 years. Client implemented MTO with valuated stock and activated the COPA.
    Now we are re implementing the COPA. since go live(from last 13 years ) they are not doing any sales order settlements and not using COPA.
    In sales order RA key(Requirement class) is assigned and Settlement type is 'FUL'.
    Now client has decided to use COPA and going to live with new structure on September 1 2014.
    I have do the below changes
    1. Removed RA key(Not required as per business requirement)
    2. Changed settlement type from 'FUL' to PER., here i am having some questions. Client don't want to settle previous orders(before September). as per business requirement they will use one sales order for long time (3 to 4 months). after going live client will settle the sales orders at that time system will consider all sales orders. How can i avoid selection of all sales orders. i want to settle only sales orders having transactions during one month (September)
    To avoid this problem now its self i am moving this changes to Production client (RA key removed and Settlement type change), still i am not confident i will get as expected, because at the time of Sales order settlement system will consider all old sales orders.
    Can anyone please suggest beat way to handle this issue...
    Thanks.
    Chandrasekhar

    Hi Chandra,
    Check the Below SAP Note
    174815
    - Selection parameter in VA88 or RKO7VA88
    Symptom
    During the settlement of sales and distribution documents with Transaction
    VA88 or report RKO7VA88, you can only select according to the SD document number
    or the sales organization.
    For example, you cannot select by plant or SD
    document type.
    Other Terms
    VA88
    Reason and Prerequisites
    The problem occurs due to a previous program design.
    Solution
    With the attached advance correction, you can also select according to the
    plant or the SD document type in report RKO7VA88.The previous restrictions apply
    for Transaction VA88.
    To correct the error in advance, proceed as
    follows:
    1. First implement Notes 174502 and 182735.
    2. Using Transaction SE11, add field VBAUART (data element AUART) to
    structures LKO74 and RKASS. Activate the structures.
    3. Add the following parameter to the interface of function module
    SD_DOCUMENT_OBJNR_GET (Transaction SE37):
    a) Import parameter:I_WERKS (reference field VBAP-WERKS) and I_AUART
    (reference field VBAK-AUART). Both parameters should be indicated as
    'optional'.
    b) Export parameter:E_WERKS (reference field VBAP-WERKS) and E_AUART
    (reference field VBAK-AUART).
    4. Implement the source code corrections.
    5. Maintain the text elements for report RKO7VA88 (Transaction SE38, Goto
    --> Text elements --> Selection texts):Text 'Sales document type' for
    VBAUART and 'Plant' for WERKS.
    Afterwards, also implement Note 210011.
    Regards
    Srinu

  • How to open field WERKS in Internal order settlement rule

    Hello experts,
    Could you explain please  how to add field PLANT (WERKS) in internal order settlement rules. I would like to fill out this field during the settlement process.
    Any advices will be very appreciated.
    Regards,
    Ivan

    HI Ivan,
    Please post more details on your business scenario. Why you want to add plant field in the rule?
    To which receiver you want settle your internal order? If you want to settle to a material for instance, plant will be one of the field available. Try double click on settlement rule to get to detailed screen.

Maybe you are looking for

  • Crystal Report Viewer 11.5 Java SDK - How to set sub report parameter value

    Good day! I have a report with 3 sub-reports in the detail section. Main report has two parameters and each sub-report has one parameter in turn. We have our own JSP to receive parameter values from the user. I am using the following code to do the p

  • How to set a payload field value only once for multiple instances selected?

    The user needs to set a payload field value and then he can approve the task so the task can continue through the process, that's fine when the user selects one instance and sets the value in the task details section and then clicks the approve butto

  • My iPad Air  is lagging after ios 7.1 update

    I noticed that the animations of opening and closing apps take longer than they did previously before update. I also seem to have the same issue with my iPhone 5, too! I thought the whole point of the update was to speed up my devices with the newer

  • ChaRM:Logical Components for Projects

    Hi Experts, I have done ChaRM config and i am about to create logical components for the project Project. I have below two questions please help. While creating a logical component when i have multiple clients in DEV, QAS and PRD how to proceed and s

  • Mail app crashes every time - never starts up

    I sync'd and updated iphone with podcasts mp3s etc after that sync, my mail app will not launch. It seems to get the # of e-mail showing on the notification on the mail icon; however, it will not launch once touched. It seems to try to launch but sho