Incoming Sales Order to COPA

Hello,
If we activate Incoming Sales Order scenario in COPA, then it creates a COPA document when sales order is created or changed.
1. What happens when it is billed, does it creates one more COPA document with new record type F, and also retains the older one with record type A
2. Also we need to activate for a given SALES ORDER TYPE, which will be like 3-5% of total sales orders that will be created, if not, it will create COPA documents for all other SALES ORDER TYPES as well, when the order is created, which is not required, and will lead to huge redundancy in data...How can i achieve this?
Cheers
Balla

Hi Ajay,
your suggestion (BAPI_COPAACTUALS_POSTCOSTDATA,..) sounds interesting.
As per now, I never had the requirement to transfer "some" incoming sales orders to CO-PA and others not.
From my point of view due to the fact that the record type "A" posting never gets "reversed" if the sales order is billed or cancelled there is only limited additional value if the incoming sales order transfer to CO-PA is activated.
BR Christian

Similar Messages

  • History - Incoming Sales Orders!

    hello,
    i load data from 2LIS_11_VAITM into BI. Now, i should historicize the changes of "Incoming Sales Orders" per month/year in my DSO "Incoming Sales Orders". I use BI 7.0
    The rules in my start-Routine of Transformation
    1. If a new Position(recordmode = empty) is insert,then map 1:1   
       Incoming Sales Order = netvalue of position.
    2. Change of a existing position
       in this case i get a Before-Image(recordmode = 'X') and a After-Image(recordmode =empty).
       Incoming Sales Order = Incoming Sales Order(actual month) + delta(value After-Image/value Before_Image)
    3. Delete position
    Incoming Sales Order = - Sum ( all booked values of the current position)
    Example:
    01.02.2008 a new position with value 1.000,00 was inserted.
    PSA:
    recordmode |Bel_|pos|date______|value
    _____''____|1000|10_|01.02.2008|1.000,-
    DSO:
    |Bel_|pos|0CALMONTH|netvalue
    |1000|10_|02.2008__| 1.000,-
    At 05.03.2008 the value raise to 1.200,-
    PSA:
    recordmode |Bel_|pos|date______|value
    ____'X'____|1000|10_|01.02.2008|1.000,-
    ____''_____|1000|10_|05.03.2008|1.200,-
    DSO:
    |Bel_|pos|0CALMONTH|netvalue
    |1000|10_|02.2008__| 1.000,-
    |1000|10_|03.2008__| 200,-
    In the same month(20.03.2008) the value raise again.
    PSA:
    recordmode |Bel_|pos|date______|value
    ____'X'____|1000|10_|05.03.2008|1.200,-
    ____''_____|1000|10_|20.03.2008|1.500,-
    DSO:
    |Bel_|pos|0CALMONTH|value
    |1000|10_|02.2008__|1.000,-
    |1000|10_|03.2008__|500,-
    At 10.04.2008 the position was deleted.
    PSA:
    recordmode |Bel_|pos|date______|value
    ____'R'____|1000|10_|10.04.2008|-1.500,-
    DSO
    |Bel_|pos|0CALMONTH|value
    |1000|10_|02.2008__|1.000,-
    |1000|10_|03.2008__|500,-
    |1000|10_|04.2008__|-1.500,-
    Could anyone help me to realize it.. I'm a absolut beginner in ABAP.
    regards sunny

    As already described above the KE4F does not solve the problem.
    The incompleteness check still shows missing segments, even if they have been created via KE4F.
    The only thing that resolves the problem at the moment is the manual change of each position, after KE4F with deleting the segment and creating a new one. But we have many orders with a high number of positions so the manual effort is much too high.

  • Historicize - Incoming Sales Orders

    Hallo,
    I extract SD Sales: Document Item data from DataSource 2LIS_11_VAITM into a DSO Document Items.
    I should historicize the Incoming Sales Orders.Therefore, I add an additional key (0CALMONTH) (u201CStatistics dateu201D in DS) in the DSO.
    New key: order number |item number| 0CALMONTH
    In the start-routine I should distinguish the follow cases:
    1. New item
    If there is a new item (0RECORDMODE=empty), then the fields are mapped 1:1 to DSO. Incoming Sales Order value = Net value of billing item (NTWR).
    2. Modify an existing Item
    In this Case I get 2 Items from the Source. A Before- image (0RECORDMODE=X), and an After-Image (0RECORDMODE=empty). To determine the Incoming Sales Order value (positive or negative), I must calculate a delta between new and old Incoming Sales Order value.
    In addition I have to look, whether it is already a changing in the actual month.
    Incoming Sales Order value = Incoming Sales Order value (actual month) + delta( Net value After_image / Net value Before_image).
    3. Delete item (0RECORDMODE=R).
    Incoming Sales Order value = - Sum (all net values of existing item)
    Example:
    DSO before:
    Order| Item | Calendar month | Net value  | Currency
    4711 |10__|02.2008________|1.000, 00__| EUR
    4711 |10__|03.2008________|200, 00___| EUR
    DataPackage:
    Record Mode| Order| Item | Statistic date | Net value | Currency
    X__________|4711 |10__|02.2008________|1.200, 00__| EUR
    empty______|4711 |10__|02.2008________|1.500, 00__| EUR
    DSO after:
    Order| Item | Calendar month | Net value | Currency
    4711 |10__|02.2008________|1.000, 00__| EUR
    4711 |10__|03.2008________|500, 00____| EUR
    Have anyone a idea, how could i realize it. (Steps).
    Thanx  Caro

    As already described above the KE4F does not solve the problem.
    The incompleteness check still shows missing segments, even if they have been created via KE4F.
    The only thing that resolves the problem at the moment is the manual change of each position, after KE4F with deleting the segment and creating a new one. But we have many orders with a high number of positions so the manual effort is much too high.

  • Query on Activate Transfer of Incoming Sales Order - CO-PA

    Hi ..
    I have a question, where I have 3 option when I drop down in Inc sales order which is
    1) Active with date of entry
    2) Active with Deliv Date/Billing Plan Deadline (Using KWMENG)
    3) Active with Deliv Date/Billing Plan Deadline (Using KBMENG)
    My question what is the differencen between 1,2 and 3 ...
    In what occasions should use them, also I would like to know what is the significant difference between 2 and 3.
    Pls advise
    TQ
    Nathan

    Hi
    Here you define when you want to transfer the documents from SD module to COPA.
    1) Active with date of entry - This transfers the data on the date of creation of sales order to COPA
    2) Active with Deliv Date/Billing Plan Deadline (Using KWMENG)
    3) Active with Deliv Date/Billing Plan Deadline (Using KBMENG)
    This transfers the data in the period of billing or delivery date. The difference is that the receiver value field is different in 2 and 3.
    Award points so as to say thanks.
    Regards,
    Suraj

  • Third Party Sales Order in COPA - adjusted cost

    We have a third party sales order which creates the Preq and then the pruchase order. We have statistical conditions on the purchase order. We have switched the billing relavency on the item category TAS to a B to allow billing before the invoice recipt from the oversees vendor. Billing block is on the order until inbound delivery is updated.
    A purchase order is created with statistical conditions for an accrual amount (palletization charge). When the goods receipt is performed against an inbound delivery and  the billing block is removed, a customer invoice is created and the correct value, cost plus the accrual amount, posts into the customer billing document vprs condition and posts accordingly to co-pa.
    The issue is that when the invoice receipt is performed against the purchase order, the normal FI document is created against the vendor and gr/ir account. However, at this time an adjustment to the vprs is posted against the original billing document vprs condition for the statistical condition on the purchase order. This adjustment to the vprs condition then creates a copa document which reduces the cost of goods sold value field.
    Any ideas on how to prevent this adjustment to the co-pa cogs value?

    Hi,
    Process
    VA01 - Create sales order (Schedule line CS and item category TAS) >> ME52N - PR is generated after save of sales order >> ME21N - Convert PR in to P.O >> Then vendor will send goods to customer and will send invoice to our company >> MIRO - Invoice receipt from vendor >> VF01 - Final invoice to customer
    When you enter vendor invoice then you come to know that vendor sent qty. same will be billed to customer(Billing relevance in item category should be F)
    Kapil

  • CC transfer order = posting as 'sales order' to COPA of sending plant (CC)

    Dear all,
    we are using cross company transfer orders for tranferring stock from plant A (belonging to CC A) to plant B (belonging to CC B). Therefore the purchaser of B enters a purchase order for vendor A (assigned to plant A in the vendor master data). In the material requirements lists of plant A we see the requirements from this purchase order. Based on the purchase order, a delivery is created for delivering from plant A, followed by an intercompany invoice. The intercompany invoice data are sent to COPA of operating concern A & controlling area A.
    Our SCM department (belonging to plant A) does part of the planning based on COPA reports, in which the sales orders to external customers are included. However we would also like to include the requirements (including values) triggered by the purchase orders from B. Does anyone know whether, and how this is possible in standard SAP. Or does anyone have an idea, how we could set this up?
    Thanks in advance.
    Kind regards,
    Mireille Velthuijse

    Hi Ankur
    It cant happen that copa doc is not posted when PSG is specified in the the settlement rule
    As regards Val Strategy, you should assign Val Str 001 to record type C and PV=01
    br, Ajay M

  • Forecasting Based planning, consider incoming Sales orders, Consume PIR's

    Hello Guys:
    I am in real Problem about this one: I am implementing forecast-based MRP for our client which is a trading company: buys, keeps in storage and sells goods (R/3 ECC 6). We are using material forecast on a monthly period, and run MRP on a weekly period since POs are to be created weekly (therefore we also use the "Splitting indicator" to split monthly forecast values to weekly requirements)
    The way MRP calculates future stocks in this situation (MRP type VV) is like this:
    Current stock
    + Open POs to arrive
    - Forecast Requirement
    = Future stock
    The problem with that one is that if there is an SD order or delivery in the future, SAP does not count in that one as well. It is a real problem, just imagine that in two weeks we have a forecast of 10 pieces of a material. SAP will propose Preqs based on this 10 piece consumption, even if we have an SD sales order for that week on 30 pieces. (by the way the SD order is in the list of MD05 but SAP does not count in that one for future stock reductions).
    If I modify the MRP type in customizing OMDQ, I can make SAP to count in real consumptions (sales orders) in the future stocks: I set "MRP procedure" to PD (MRP) or "R1" (Time-phased materials planning). In this case MRP calculates like this:
    Current stock
    + Open POs to arrive
    - Forecast Requirement
    - Real future requirements (sales orders)
    = Future stock
    So in this case SAP will recommend double quantities to purchase: once for the forecast reqs and on the other hand for the real sales orders.
    It is a trap, SAP should reduce the forecast requirements with the real requirements. The really bad news is that there is a switch for this in OMDQ for the MRP types called "Reduce forecast" but it is not working: I have tried all the combinations of codes in the frame "Use forecast for MRP" but it can only decrease req for the current month and only on a timely basis code "2" for MRP procedure "PD" or "R1".
    Thanks for Help.
    Sweth123

    Hi Mario:
    I am using MRP type PD , Running the forecast using MP30 which generate the forecast requirement.
    I go to MD61 , I Slected Material Forecast option and Copied the forecast requirements as planned independent requirement,
    AFter that when i run MD02 and go to MD04 Screen.
    System Displays MRP Element: UnPlrq----Forecast quantity  --1000
                                MRP Element VSF for Planned Independent requirement -1000.
    Based upon historical consumption data , if there ia requirement of 1000pc , system is proposing 2000 pcs to buy.
    Is there any config setting i need to change so that system won't double the requirement quanitities?
    Please clarify
    Sweth.

  • MTO - Settlement of Sales Order to COPA

    Hi,
    We have a scenario wherein production order is created with reference to Sales order.
    No standard / Sale order BOM is maintained. As such no cost estimate is available for either Header material or sales order. Header material does not have any value.
    Goods are issued to production order with reference to such sales order, as special stock. So consumption posted to Sales order.
    Revenue is captured on Sales order.
    At this point of time, can I settle the sales order through VA88. What all will it settle.
    Is RA excution a must for VA88 settlement?
    Please suggest.

    HI,
    if you need to have WIP-value posting, result analysis is a must before settlement.
    Best regards, Christian

  • IMP:Forecast Consumption/Netting by incoming Sales orders in SNP

    Dear All,
    I need your help to understand the logic of Forecast netting by Sales orders in SNP. I can see the details in /SAPAPO/RRP3 but getting puzzled for soem SKUs. We don't have any PP/DS and GATP implemented.
    Below are the details and question based on that:
    I am releasing my forecast monthly and Sales orders as usual are coming from ECC and netting happens. Then next month again i have my forecast release then will the existing Sales orders will consume my this month's forecast (we are following backward/ foreward consumption type with 35 days back and 1 day forward, so as per the time period, SO can consume Forecast). I am a bit confused because pegging relationship is created between the demand and supply element and so new forecast shouldn't be consumed by the existing Sales orders. Am i correct here?
    Secondly, could somebody explain the difference between the 'Overview and detail' tab under the Forecast tab in /SAPAPO/RRP3. Sometimes i see some data under the 'Withdrawal Qty' column in Detail view of Forecast tab. Could somebody explain when it is populated.
    Regards
    Bishwajit

    Hi,
    I think your first question is regarding the pegging relationships used for forecasting.  Even when you release a new forecast, the system remembers the forecast relationship.  So, pegging occurs but in the sense that it pegs to forecast - in general - not to one specific forecast order in the system.  If you desire to "reset" these relationships, then you need to run the program for reorganization of independent requirements (/SAPAPO/MD74).
    Your second question relates to the existence of a withdrawal quantity and differences between the overview and details in /SAPAPO/RRP3.  The withdrawal quantity represents the amount of forecast that has been "reduced" from the forecast (corresponding to actual shipments that have been PGI'd against deliveries).   Forecast consumption occurs when SO's and Deliveries are created and saved and reduction occurs when they are PGI'd.  Withdrawal quantity corresponds to the reduction...
    Hope this helps!
    Chris

  • PRICING Procedure in SAP for an Incomming Sales Order IDOC

    Hi Friends,
    Here is a situation what we have and what we intend to do.
    We would be getting a Sales Order IDOC and when it hits the SAP..it comes with
    -Material, Qty and Price per material
    -Total Freight
    -Total Tax
    i.e the Pricing conditions are not maintained in SAP at all..we would just get the IDOC externally and the SAP needs to read the material, Qty at line item,
    take the total freight as it comes, and total Tax as it comes in the Idoc.
    My thoughts were to have all the Conditons PR00 (ZR00), KF00 (ZF00), UTXJ (ZTXJ) . ZR00 to set as Manual condition. ZF00 as header Freight and Manual condition, ZTXJ as header condition and Manual.
    I therefore was trying to figure out the best way to set the pricing procedure.
    Please let me know if I am on right track if not which is the way I need to set.
    Thank you
    Ravi

    HI Ravi,
    I think your issue is solved now...so for the benefit of SDN members....can you share the solution..as I am also working on the same requirement !!
    Thanks in advance
    Mayank

  • Incoming orders in COPA not working if Sales Order blocked for Credit Check

    Hi all,
    We need to build a report showing all incoming sales order by entry date and/or change date (change of values or quantities later on). COPA allows to do this, but the problem is that COPA line item table is only updated if the sales order is released from credit check (VKM3). I am looking for a solution to be able to record sales orders in COPA even if they are still blocked for credit check. By doing that we will be able to report all sales orders entered from COPA and provide basis for commissions calculation to the business.
    I have investigated possible COPA enhancements like COPA0005 but it doesn't seem to be used at the time of sales order save.
    Thanks.

    Hello ,
    Thanks for the reply
    As you said , the credit check in the service order is information message "Credit check (maximum percentage for ope
    exceeded)" .
    If you enter and come out this message then one more message will come , i.e., "The business transaction can not be carried out" detail message -  System status CNOK is active (ORD XXXXXXX).
    with the above message , system will not allow to do the Service order release.
    In this particular case , we have done the VKM1 for the sales order to unblock the order from credit check . But again system is checking the credit check at service order (created w.r.t sales order) . we are not able to control this .
    we also suggested the solution to the customer , saying removal of credit check for service orders . But customer requires credit check to happen at both the documents.

  • Sales order qty not updated in copa

    Hi Gurus,
    My client has activated Costing based COPA.
    We have activated Incoming sales orders with option
    Transfer with date of deliery/scheduled billing date.
    When We are posting sales order we are able to see a copa document with record type A.
    In that document we want to see the Sales order quantity or delivery quantity, delivery date fileds.Please let me know what all the value fields We need to assign.
    Do I need to write any derivation rule for incoming sales arders also.
    we are able to capture the  total price, material etc from the sales order in COPA document.We need only sales order qty or Delivery qty or delivery date to be updated in COPA document.
    Please suggest me
    Regards
    Chaitanya

    Hi Chait,
    Pl check whether your client has assigned SD Qty Fields to COPA Quantity fields in KE4M. Sd quantity fields are FKIMG- Billed Quantity, KWMENG-Order Quantity and the same shall be assigned to ABSMG-Sales Quantity. If not, please maintain the same. Otherwise, we need to look for some other work around solution.
    Trust this resolve your problem!
    Cheers!

  • Preventing update to COPA tables for a particular Sales order type

    Hi ,
    We need to have incoming sales order transfer to COPA activated only for one particular sales order type activated.
    Earlier we implemented note 571697  for user exit to allow COPA update only for particular sales order type.
    This prevented the transfer of SO to actuals table, but off late the performance for VA01 and VA02 has decreased substantially.
    Upon checking, we found this is happening because of other CE4XXXX tables (excluding CE1XXXX) which are getting updated during creation/ change of SO. as the data in these tables is huge .
    If possible, please advise, right userexit to prevent update to these tables.
    Thanks.
    Neeraj

    Thanks for your inputs..I have few more queries on same.
    Initially we had incoming sales order activated in KEKF allong with implemented SAP note 571697, which helped us to update CE1XXXX only for a particular sales order type. This was initial requirement to have system updating COPA values only for one particular sales order type.Also, KEQ3 was also activated which resulted in updates to CE4XXXX. This was not a problem initially since we had few sales orders now that plant has grown old with more sales order (resulting in huge size of CE4XXXX) VA01 is impacted..
    Currently ,since we have KEQ3 activated so, Segment is created the moment we create sales order.. and table CE4XXXX is updated..
    As most of you have suggested to switch off sales order in KEQ3, i need to analyze the impact of this..
    From what i understand CE1XXXX will continue with updation for that order type... and CE4XXXX won't be updated in future..Please correct me if i am wrong..
    Also, please advise what all can be possible impacts on COPA reporting if I switch off from now onwards (client has been using this since long) , and what all should be the precautions that i should take while doing this.
    Thanks

  • How to post sales quantity to COPA in sales order settlement?

    Hi All,
    I am facing one problem while sales order settlement. I am settling sales order to COPA (PSG) and while settlement I am not getting sales quantity in COPA.
    Other value fields like Revenue(ERLOS), Cost (VRPRS), Discount etc. are getting posted properly into the COPA.
    I have done the configuration in PA transfer structure for above settlement. Please advice if anyother setting is missing.
    Thanks & Regards,
    Yatin

    Thanks for reply,
    SD Qty.field 'FKIMG'(Invoiced Quantity) has been assiged to COPA value field 'ABSMG' (Sales quantity) in KE4M.
    Valuation strategy is also assiged to SAP standrad qty.field ABSMG(Sales quantity).
    I have also assigned value field ABSMG(Sales quantity) in PA transfer structure.
    Still I am not able to get the quantity field in sales order settlement to COPA.
    Please advice if anyother thing needs to check.
    Thanks & Regards,
    Yatin

  • Issue with UPC codes in Inbound sales orders via EDI.

    Hi All
    We are on ECC 6.0. We have incoming sales orders through EDI IDOCS. In the incoming IDCO the customer can provide either of the following information in that sequence.
    1.  GTIN number
    2.  Customer material number
    3.  UPC code
    4.  Old Product code.
    We need to derive the correct material number for each customer. Now I can achieve this through standard material determination using material determination type access sequences in the order specified above. However I cannot do the same, as we need to use material determination for genuine promotions. For example I can maintain a material determination record to map UPC 123456789 to Material number ABC in SAP R/3. However we do have situation where in for a particular season or depending upon the ATP situation we may have to derive Material XYZ (SAP material number) in case customer orders material ABC. So in other words if I use material determination to derive my SAP material number for in-coming IDOCS based on UPC codes then I would need to have multi level material determination. I.e. From an IDOC for UPC code 1234566789 I derive material ABC and then for material ABC derive material XYZ.
    I tried setting up these two layers of material determination in the standard system. It is possible only if I use a substitution reason which copies the material entered as a sub-item. We do not want to maintain the sub-item in sales order and relevant documents for a lot of other reasons. Is there a way I can use standard Material determination/substitution to derive this multi level search without haveing to copy the sub-item in sales order? Am I missing some settings here? If not is it possiblt to suppress the sub item from being derived in SAP using some user exit in sales order processing?
    For an IDOC I could have used standard SAP tables to identify SAP material number based on UPC code. However the problem is we have multiple SAP material numbers assigned to one UPC code. So it is not possible to identify a unique material number just based on the UPC code.
    I would like to know if any of you experts have encountered a similar situation and if so what is the ideal way to resolve this issue. Any comments/suggestions/guidance is welcome. You can also reply at my e-mail id [email protected].
    Thanks

    Hi Daniel,
    Can you please which IDoc message type you are using to create sales order using IDoc?
    Also check in IDoc, what is the value of ACTION & EINKZ fields in segment E1EDP01?
    Regards,
    Amit

Maybe you are looking for