Book expenses against Internal Order with reference to PO which is created against Cost Center.

Dear Users,
We have an issue, we created PO against Cost Center and now we want to book its expenses(MIR7) against internal order. So if possible suggest me any solution for this.
Thanks,
Manoj.

Hi
The only other way is to post a manual JV for such a PO where in you debit the expense account with reference to IO and credit the cost center with expense account. Now do the GRN against the PO with reference to Cost Center.
If you cannot modify the PO, unfortunately, this can be the only way out.
Regards
Sanil Bhandari

Similar Messages

  • Create internal order with reference - Do not copy distribution rule group

    Hi,
    I'm creating an internal order with reference to another order through tcode KO01. When i will display the new internal order, i already have distribuion rule group that was copied from the reference order. To delete the incorrect distribution rule group i execute tcode KO02, however this information do not appear in tcode KO02.
    What should be done to delete this settlement rule? I do not want to copy the settlement rules from the old internal order.
    Thanks in advance.
    Regards,
    Ana Fernandes

    Hi.
    'What should be done in order to do not copy this information when i create the internal order with reference?'
    in tcode kot2_opa do not maintain Settlement profile for Order category 3
    Also go to KOM2 and delete Settlement rule for order, from which you copying.
    'in table COBRB i can see the information however i can not delete it. The validy period is empty.'-in su53 check authority

  • Return order with reference to the billing document created via IDOC.

    Dear Colleagues,
    I’m struggling to understand and confirm whether standard functionality of ORDERS05 idoc allows creating a return order with reference to existing billing document?
    I have tried using standard segment E1EDK02 and E1EDP02 with qualifiers 009,010,011,087 but unfortunately idol is not creating a return order with reference and ignoring this segment.
    Have any one came across similar problem? If yes then will be grateful for sharing his experience.
    Best regards,
    AL

    Dear Friend
    Welcome to SDN
    Return order is itself a challenge to SAP standard settings
    There are some scenarios
    1. Return order qty should not be increasesd say Billed qty of material X is 20 units
    While returning Material X should be a maximum of 20 units
    If made 21 it should throw error T code OVAH message class V4 message no 299 convert from warning to error thro customization
    2.Return order should be created only once referencing billing doc
    To control that T code SE91 message class V1 message no 499 convert from warning to error thro ABAP help
    3 Your issue is same like case 1 but the material X is entered as second line item in the return order with some qty
    This case system is not throwing even a warning
    Yes correct
    This is to be handled with userexit
    Discuss the same with ABAPer
    Check these threads on return issues which is of different scenario than of yours
    Forum post in ERP - Sales and Distribution (SD) General: Order Qty.
    Order Qty.
    Forum post in ERP - Sales and Distribution (SD) General: Return order
    Return order
    Regards
    Raja

  • Creation of Release order with reference to Contract

    Dear experts,
    We are doing upgradation from 4.6B to ECC6. During testing ,while creating release order with reference to contract,(Contract was created with Account assignment category-K and item category-D),cost center is copied from contract in purchase order in account assignment tab of item details,
    but when i save it window is poping up(account assignment service line item 10-small window) asking to enter cost center again. Even if i enter the same cost center in that window,cost center field,again it is asking same window is poping up for entering cost center.
    Can any body please tell me inspite of cost center is copied,why this window is coming ,please suggest.This problem is not there in 4.6B version
    Advance thanks,
    Regards,
    Dayanand

    Please check to OXK1, and compare it to both system.Or check the config guide in IMGMM-Purchasingacc.assigment--Set subscreen for acc assingment (coding) block.

  • Purchase order with reference to internal order

    Dear all
    I am creating a purchase order with reference to a statistical internal order.The total PO value should not exceed the budgeted amount for that statistical internal order.How should i achieve this?
    Thanks in advance.
    Madhavi

    Hello
    First Create Budget Profile.
    Make Specification In Availability Control as Activation Type ''01- Automatic activation during budget allocation''
    Usage 100 and Tick ''Overall'' check box.
    After that Make Setting for your Controlling area in SPRO Path '' Define Tolerance Limit for Availibility control''

  • Sales order with reference to PO(STO)

    Dear All
    i have a requirement where production order is booked against sales order,after production order is completed then only i able to do delivery and PGI(allesble to order scenerio).While doing STO sales order has to be created with refernce to PO otherwise i acnnot create delivery and PGI,stock wont get confirmed against purchase order.Please suggest how to create sales order with reference to PO(STO)
    all answers are rewarded
    Regards

    Hi,
    If a sales order is created in SAP R/3, a check is run in SAP APO
    to see if the required stock is available or if a production order
    already exists to cover the requirement. If not, a planned order is
    created in SAP APO to cover the requirement, and the confirmation
    date is the next date on which a block has free capacity to
    produce the relevant product. Scheduling takes place at the end
    of the block, that is to say, at the latest time. Accordingly, a
    planned order can be moved to a later date within the block
    without affecting the confirmed delivery date..
    In ur requirement you have to create a STO based on P.O.
    Open the link for configuration of STO.
    help.sap.com/bestpractices/BBLibrary/Documentation/J53_BB_ConfigGuide_EN_ZH.doc ,
    Create a Sale Order and the delivery date is confirmed based on the Production Order
    Using STO post stock to the required storage location and u can proceed with normal PGI and Billing.
    REvert back if you have any clarification.
    Regards,
    Sarosh

  • How to Restrict Return Sales Order with reference to a cancelled invoice

    SAP Standard is allowing to create Return Sales Order with reference to a cancelled invoice which practically should not be allowed.
    Has any body worked on this problem and what could be the possible solutions so that return sales orders can not be created against a cancelled invoice.
    Kindly share your possible solutions.

    Hi Standard Process will not allow to create a Sales Order With Cancelled invoice,
    Kindly go through at Copy Controls
    T.CODE:VTAF
    in that some body might have maintained between S1 invoice to RE Sales Document.
    Remove the settings then u will be not able to create Sales Order w.r.t to Cancelled Document.
    Rewards if Usefull
    B.Shyam Sunder
    SAP SD Consultant

  • Creation of production order with reference to sales order

    dear all guru's,
                       i m having a requirement of creating production order with ref to sales order but without changing my old strategy of make to stock.
    regards
    ujwal

    Hi,
    For the purpose of creation of production order with reference to sales order while maintaing MTS strategy you need to maintain Make to stock strategy 40 in strategy group in MRP-3 View of Material Master.
    This is the only Make-to-Stock Strategy which enables you create Production Order against both Sales order as well as Demand / PIR.
    So if your strategy group is already 40 then you need not change it.
    However if you are using any other Make-to - Stock strategy like 10, 11 etc. then it is not possible to create Production Order against Sales Order since they dont consider Sales Order in planning.So you need to change them and set strategy group as 40.
    Hope this helps.
    Revert if you have any doubt.
    Regards,
    Tejas
    Edited by: Tejas  Pujara on Sep 27, 2008 8:50 AM

  • Create a sales order with reference to another one. (BAPI)

    Hi everybody,
    I'm trying to create a new sales order with reference to another one (That's important because of the documents flow).
    I'm using 'BAPI_SALESORDER_CREATEFROMDAT2' but I couldn´t do it yet. I've read some ideas about this kind of creation in this forum; but I still haven´t found the solution yet.
    Some ideas about the BAPI parameters I nedd to complete?
    Thanks in advance!!

    Hi,
    Go through this one
    *& Report ZSD_R_SALESORDER
    report zsd_r_salesorder1 line-size 132 message-id zmmbapi .
    *& Created By : shailaja
    *& Created on : 13.10.2007
    *& Requested By : vardhman
    *& Description of program :
    Internal table definition *
    data: gt_order_header_in like bapisdhead occurs 0 with header line,
    gt_return like bapireturn1 occurs 0 with header line, " Return Messages
    gt_order_items_in like bapiitemin occurs 0 with header line, " Item Data
    gt_salesdocument like bapivbeln-vbeln , "Number of Generated Document
    gt_order_partners like bapiparnr occurs 0 with header line, "Document Partner
    gt_return1 like bapiret2 occurs 0 with header line.
    Data definition *
    types: begin of ty_gt_ft_sales ,
    partn_numb(10) type n ,"Customer Number 1
    partn_role(2) ,"Partner function
    sales_org(4) , "Sales Organization
    distr_chan(2) , "Distribution Channel
    division(002), "DIVISION
    doc_type(4) , "Sales Document Type
    purch_no(020), "Purchase order
    material(18), "MATERIAL
    targetquantity(020),"Target quantity
    reqqty(020), "Req quantity
    reqdate(010), "req date
    *REQ_DATE_H(010),
    ref_1(012), "Ref
    unload_pt(025),
    *PARTN_ROLE(2) ,"Partner function
    *PARTN_NUMB(10) ,"Customer Number 1
    end of ty_gt_ft_sales,
    begin of ty_header ,
    partn_numb(10) ,"Customer Number 1
    partn_role(2) ,"Partner function
    sales_org(4) , "Sales Organization
    distr_chan(2) , "Distribution Channel
    division(002), "DIVISION
    doc_type(4) , "Sales Document Type
    purch_no(020), "Purchase order
    unload_pt(025),
    req_date_h(010),
    end of ty_header,
    begin of ty_item,
    material(18), "MATERIAL
    targetquantity(020),"Target quantity
    reqqty(020), "Req quantity
    reqdate(010), "req date
    ref_1(012), "Ref
    *UNLOAD(025),
    end of ty_item.
    data : msg(240) type c, " Return Message
    e_rec(8) type c, " Error Records Counter
    rec_no(8) type c, " Records Number Indicator
    s_rec(8) type c, " Successful Records Counter
    t_rec(8) type c, " Total Records Counter
    v_matnr like mara-matnr,
    v_parvw type parvw.
    data : gt_ft_sales type standard table of ty_gt_ft_sales with header line.
    data : wa_gt_ft_sales type ty_gt_ft_sales,
    wa_order_items_in like gt_order_items_in,
    wa_gt_ft_sales1 type ty_gt_ft_sales,
    wa_header type ty_header,
    salesdocument like bapivbeln-vbeln.
    selection block for EXCEL UPLOAD FILE
    selection-screen begin of block b1 with frame title text-000.
    parameters file type ibipparms-path obligatory.
    selection-screen end of block b1.
    *<<<<AT SELECTION-SCREEN ON VALUE-REQUEST FOR FILE .
    at selection-screen on value-request for file .
    perform getname.
    form getname.
    call function 'F4_FILENAME'
    exporting
    program_name = syst-cprog
    dynpro_number = syst-dynnr
    importing
    file_name = file.
    endform.
    *TOP-OF-PAGE.
    top-of-page.
    skip 3.
    format color col_heading inverse on.
    write 40 text-001.
    format color col_heading inverse off.
    skip 1.
    format color col_negative inverse on.
    write :/ text-002, 13 sy-mandt , 104 text-003, 121 sy-uname,
    / text-004, 13 sy-datum , 104 text-005, 121 sy-uzeit.
    format color col_negative inverse off.
    skip 3.
    *START-OF-SELECTION.
    start-of-selection.
    perform get_data.
    perform bapi.
    *end-of-page.
    perform result.
    form result.
    t_rec = e_rec + s_rec.
    skip 3.
    format color col_total inverse on.
    write: /38 text-007, t_rec.
    format color col_total inverse off.
    format color col_negative inverse on.
    write: /38 text-008, e_rec.
    format color col_negative inverse off.
    format color col_total inverse on.
    write: /38 text-009, s_rec.
    format color col_total inverse off.
    endform.
    *& Form get_data
    text
    --> p1 text
    <-- p2 text
    form get_data .
    call function 'WS_UPLOAD' "#EC *
    exporting
    filename = file
    filetype = 'DAT'
    tables
    data_tab = gt_ft_sales
    exceptions
    conversion_error = 1
    file_open_error = 2
    file_read_error = 3
    invalid_type = 4
    no_batch = 5
    unknown_error = 6
    invalid_table_width = 7
    gui_refuse_filetransfer = 8
    customer_error = 9
    no_authority = 10
    others = 11.
    if sy-subrc 0 .
    message e000.
    endif.
    endform. " get_data
    *& Form BAPI
    form bapi .
    loop at gt_ft_sales into wa_gt_ft_sales.
    wa_gt_ft_sales1 = wa_gt_ft_sales.
    at new partn_numb.
    wa_header-doc_type = wa_gt_ft_sales1-doc_type..
    wa_header-sales_org = wa_gt_ft_sales1-sales_org . "'0001'
    wa_header-distr_chan = wa_gt_ft_sales1-distr_chan. "'01'
    wa_header-division = wa_gt_ft_sales1-division. " '01'
    wa_header-purch_no = wa_gt_ft_sales1-purch_no.
    wa_header-req_date_h = wa_gt_ft_sales1-reqdate.
    call function 'CONVERSION_EXIT_PARVW_INPUT'
    exporting
    input = wa_gt_ft_sales1-partn_role
    importing
    output = v_parvw.
    wa_header-partn_role = v_parvw.
    wa_header-partn_numb = wa_gt_ft_sales1-partn_numb.
    wa_header-unload_pt = wa_gt_ft_sales1-unload_pt.
    move-corresponding wa_header to gt_order_partners.
    move-corresponding wa_header to gt_order_header_in.
    append gt_order_header_in.
    append gt_order_partners.
    endat.
    call function 'CONVERSION_EXIT_CCMAT_INPUT'
    exporting
    input = wa_gt_ft_sales1-material
    importing
    output = v_matnr.
    gt_order_items_in-material = v_matnr .
    gt_order_items_in-target_qty = wa_gt_ft_sales1-targetquantity . "'1000'
    gt_order_items_in-req_qty = wa_gt_ft_sales1-reqqty.
    gt_order_items_in-req_date = wa_gt_ft_sales1-reqdate.
    *GT_ORDER_ITEMS_IN-BILL_DATE = wa_GT_FT_SALES1-REQDATE.
    gt_order_items_in-ref_1 = wa_gt_ft_sales1-ref_1.
    append gt_order_items_in.
    clear : wa_gt_ft_sales1,wa_header.
    at end of partn_numb.
    call function 'BAPI_SALESORDER_CREATEFROMDAT1'
    exporting
    order_header_in = gt_order_header_in
    WITHOUT_COMMIT = ' '
    CONVERT_PARVW_AUART = 'X'
    importing
    salesdocument = salesdocument
    SOLD_TO_PARTY =
    SHIP_TO_PARTY =
    BILLING_PARTY =
    return = gt_return
    tables
    order_items_in = gt_order_items_in
    order_partners = gt_order_partners.
    ORDER_ITEMS_OUT =
    ORDER_CFGS_REF =
    ORDER_CFGS_INST =
    ORDER_CFGS_PART_OF =
    ORDER_CFGS_VALUE =
    ORDER_CCARD =
    ORDER_CFGS_BLOB =
    ORDER_SCHEDULE_EX =
    if gt_return-type eq 'E' .
    e_rec = e_rec + 1.
    read table gt_return with key id = 'V1'.
    format color col_negative inverse on.
    rec_no = e_rec + s_rec.
    concatenate text-006 rec_no ':'
    gt_return-message into msg separated by space .
    condense msg.
    write: / msg.
    format color col_negative inverse off.
    elseif gt_return-number = '000'.
    s_rec = s_rec + 1.
    format color col_positive inverse on.
    msg = 'SUCCESS'.
    condense msg.
    write: / msg .
    format color col_positive inverse off.
    write :/ salesdocument, 'Has been created'.
    perform commit_mm.
    endif.
    clear: gt_return[], msg.
    endat.
    endloop.
    endform. " SLALE_UPLOAD_DATA
    *& Form COMMIT_MM
    text
    --> p1 text
    <-- p2 text
    form commit_mm .
    call function 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'
    importing
    return = gt_return1.
    clear: gt_order_items_inhttp://].\"GT_ORDER_CONDITIONS_IN[.
    endform. " COMMIT_MM
    inthis pass re_doc field in header...
    Edited by: Naresh kumar

  • Create Sales order with reference to a Billing Document - Net price issue

    Hi Everyone,
        The Billing Document has one line item with Net value of 16,000. However, when I create the Sales Order with reference to the Billing Document, the net price shows 64,000.  When I check the Document flow of the Billing Document, there were two Contracts on top of my Billing Document. One is a contract with the overall status of "Being Processed" and this is where I checked the net value is 64,000. The next contract invoice is already completed (net value is 16,000).
        Has anyone encounter such case? How would I be able to create the sales order with reference to the Billing document and have the net value of what is in the Billing Document (16,000). Which part of the configuration is setting this up. Thanks!

    Hi,
    This is a very rare case, if you are sure of the scenario, would suggest you two alternatives:
    1) whenever you go against the flow of SAP, you have customize it, so its better you discuss this matter with your ABAP person.
    2) never tried it out but you can:
    you cannot see that in Billing Document that which is the sales document assigned to it, but to estblish that relationship,
    we do copy control setting from Billing Document to Sales Order type (T.Code:VTFA).
    Menupath: SPRO >> IMG >> Sales & Distribution >. sales >> Billing Document >> Copy Control >> Copy Control from Billing Document to Sales Order Type.
    Hope this will help you.
    Regards,
    Siddharth.

  • Sales order with reference to Service Notification

    Hi Freinds,
    I have to create a sales order with reference to Service notification (IW51). can someone sugggest me BAPI or Function module to perform this task.
    Appriciate your help.
    Best regards
    Pravin

    no std bapi's as far as i know..when you hit create create repair order(in iw51) system calls QM06_RMA_ORDER_CREATE
    ..whick internally calls SD_ORDER_CREATE..may be this should give some pointers..
    Regards
    Siva

  • Goods Receipt against Purch Order with WBS not posted qty in Project Stock

    Dear Gurus
    We have recently implemented SAP in our company. One problem which we have encountered is at the time of GR of material against Purchase Orders with WBS assignments. Our requirement is that the goods at the time of GR should undergo the QM process and after Usage decision in QM, it should be available in project stock till the time we consume the material.
    Contrary to above, the current behaviour of the system is that at the time of GR, the quantity on order is reduced by the GR quantity but nethier the project unrestricted stock nor the project quality stock is updated.  Apparently it seems that the stock is consumed immediately at the time of receipt.
    It will be appreciated, if any one of you can advise on above.
    Muhammad Asif Nakhuda

    Hi!
    As Nag has correctly pointed out, the account assignment should be 'Q'
    Consumprion also occurs if you have acct assignment category as 'N'
    Now, if you are raising the PO with reference to PR that is thru PS, hen select Item Category 'L' (stock item). This will
    trigger the acct assignment category 'Q'
    Regards

  • Framework order with reference to  contract

    Dear All,
    We make a service contract in which we maintained the short text and Qty as 1 AU in the item overview area and we maintained services in the "Services" tab in the "Item details" area.(We maintained actual quantity in this area)
    Now we are creating a Framework order with reference to this contract . When we select services against this contract , system is copying all the service details from contract but qty as 1 AU.
    Why system is not copying the quantity mentioned in the contract (Services tab, item details area) into the framework order ????
    Nilesh

    What ever Order you are creating W.r.to Contract , it may be Frame work or Purchase Order..
    they are considered as Release order against that Contract..
    a contract is agreement between two parties for a perticular period..
    System will not expect you to use the entire Quantity at Once..
    That is why the Quantity mentioned in the Contract will not be copied..
    By default you will get Qty as 1...
    You need to change according to your requirement..

  • Condition Values not being copied when creating sales order with reference

    hi experts
    i am copy a sales order with reference in va01 , when i copy the order it status is shown as incomplete beacue the condition values in some condition type sis zero, whereas if i delete amount for some condition type and re-eneter it the condition values for all conditon types appears ...
    in all after copying order i go to condition at item level some codition values are zero but if erase amount for any condition type and then re enter it value comes for all condition types

    Hi Sunny,
    Maintain some value against that condition type in VK11.
    This must solve your question. Please set to resolved if it solves your doubt.
    Regards
    Abhii....

  • Internal order with excise problem

    Dear All
    W have internal order budgeting for consumables.whenever we make purchase order , the account assignment category is f and we purcahse against the particular internal order.
    when G/R is done the consumable material gets cosnumed against the particular interla order. ie goods receipt and the issue against the internal order with same movement type.
    here is  the problem
    Whenevere G/R is made the part 1 register(country india version) gets updated .
    But because of goods issue against internal order , the part 1 register shows both the receipt and the issue . so whenever the excise invoice is made through  j1iex thesystem shows that part 1 entry is not vailable.
    In the part 1 register printout  shows the receipt and the removal of goods.
    as per the excise regulations the part 1 entry sholud be there for the particular material. please suggest how to avoid the removal entry in part 1 register. only receipt has to be updated in the part 1 not the removal ie goods issue.
    please suggest how to overcome this issue.
    With Regards
    balaji

    What is G/R?

Maybe you are looking for

  • Problem to trigger breakpoint in function module of idoc

    Hi, We have requirement to write the additional code in function module in IDOC to fulfill the one of business requirement.  To write the code in the function module we put the breakpoint in function module but the function module is not triggering t

  • Text From Info Record

    Hi, We maintain warehouse instruction  text in Purchase Order header level on TEXT tab manully. To maintain it for each purchase order is time consuming. So we are looking for, like  it should come by default on header level. As we require it for Ven

  • User exit to alter contactpartner list

    Hi Gurus, I have a problem here. I created a contract using BAPI  'BAPI_CONTRACT_CREATEFROMDATA'. I have not  supplied contact person field to the BAPI.However when i select the contract and have its overview I find that after creation of the contrac

  • Communication between two windows

    Hi, I have a form to store student's personal information. In the middle of the form I have a link named "upload image". When click this link, a new window will pop out for user to upload up to 6 files. I use JSPSmartUpload to upload image, which wor

  • Goods Issue to other Company Code

    Hi, is it possible to Goods issue to a plant under a different company code?