Customer order number in CO-PA

Hello!
Does somebody know where I can see the rule for the derivation of the customer order number in CO-PA? As it is a standard characteristic I can not see the rule in transaction KEDR.
Our problem is... we use the typical third-party order process:
Customer order -> purchase requisition -> purchase order -> stock receipt (standard cost in CO-PA)
We use account based CO-PA.
Now we have the problem, that in the stock receipt there is no Customer order in Profitability Segment Number (CO-PA). But we have the customer order item and this leads to an error, not while booking the goods receipt, but later during foreign currency valuation. The error is that e.g. item number 10 is not a possible characteristic for order number "".
Now we tried to find out the cause. And we came to the conclusion that the problem is already generated when creating the customer order as here is already created the profitability segment number and in this special case the customer order is missing.
But, we have a company code, sales org etc. for Germany - here everything is fine. When I create a standard customer order the profitybility segment number is created with customer order number as well as when I create a third-party order. Now we copied the whole customizing to a new company code, sales org etc. for our company in Switzerland.
Now, when I create a standard customer order for this company code the profitability segment is created correctly with customer order number. Just in case I create a third-party order for this new company code the order number is missing in the profitybility segment.
Thanks in advance

Hi,
  Use COPA user exit COPA0001 to derive the batch numbers. Refer to SAP notes 70231 for further clarifications on this point.
If useful please award points as way of thaks.
Thanks
D.K.Lakshmi narayana

Similar Messages

  • Custom Order Number

    Hi,
    Can I generate custom order number like "INV-aaa-001". Is there any facility in business catalyst. Please help me.
    Thanks
    Raghu

    Hi:
    Just to make sure I understand, because a client just asked about this since they are moving from one website system to BC.  They are at order #1137 on their old website, and requested can we start their number at #1150 on BC when we go live.  Sounds like that is not possible from what I am reading above.  Correct?  We would have to create 150 dummy orders in order to advance the order number that high.
    Just thought I would ask and make sure so I can give my client the correct information.  Thanks in advance.

  • Customer Order and confirm number on idoc invoic02

    Goodmorning,
    in idoc invoic02 at line of invoice is present a field that give:
    -customer order number and data of creation
    -data of creation of order confirm about customer order
    Thanks
    Fabrizio T.

    Hi
    go to header-> output in the sales order and u will find the idoc no there
    Ranga

  • Customer/Purchase Order number in PP Orders

    Hi everybody,
    I need your help... We are running a make to order scenario / process... there is a request to copy/transfer the customer order number (Purchase Order field on Sales Order creation view) to the production order automatically.... do you know if this can be done using configuration and/or user exit ?  We want to have this cross reference available when we run COOIS for example. Also if we run multiple production orders for the same sales order, sub-assemblies for example, we want also to have that Customer Order No (Purchase Order no.) on the produccion order reports... The goal is to have a quick list of all pp orders for a specfic Sales Order... Any input will be appreciated...
    Thanks,
    Alfonso Gilson

    dear friend,
    -i believe some relevant  user exits exist;
    -you could talk to your abaper, say, to append the AFKO table (to add a new field) and to write a custom code to populate this field as alternative solution ...
    good luck

  • Defining Purchase Order Number as a Required Entry

    Dear All,
    I've cut and pasted the contents of sap.help.com below, I'm trying to make the Purchase order Number in sales order document a required entry but I'm unable to locate the checkbox in VD02 as mentioned in help text. can some one help me out.
    Defining Purchase Order Number as a Required Entry:
    Use:
    If a customer order number appears on the order for that customer, you can define the PO number (purchase order number) field as a required entry.
    Procedure:
    Choose Logistics ® Sales/distribution ® Master data ® Business partners ® Sold-to party ® Change ® Change.
    Enter the customer and select the Control data view in the General data area of the screen and choose Enter.
    The system now displays the Customer Change: Control Data screen. In the Reference data/area section, select the Purchase order req. checkbox. Save the customer master.
    Result:
    You will have to enter the purchase order number on the Order Entry screen for this customer in all future orders.

    Hi
    TRy transaction VOV8
    select sales document type and go to general control and select Enter PO number check box.
    Otherwise you can create your own incompletion procedure in OVA2 and maintain whatever field you want mandatory and asign this procedure to  sales document type with transaction VUA2 and mark IC dialog.
    regards
    Srinivas

  • To save the sales order number in custom table while creation of the order.

    Hi Experts,
    Does there exist any exit to save the sales order number in a custom table while the sales order is created in VA01. The requirement is to capture the sales order number in a Z table when a field (payment terms ) is changed during the sales order creation.
    Regards,
    Sunitha

    Hi Sunita,
    You can store your data in the User exit MV45AFZZ in the form 'userexit_save_document'.
    You can navigate to MV45AFZZ from SE38 wherein an access key needs to be generated for that program, if you know to implement enhancement points then you can create an implicit enhancement point in this form without generating an access Key.
    Regards,
    Ravi Kiran

  • Searching for Sales Order for the given Customer PO Number Pattern in BAPI

    Hi,
         I have developed a BAPI which retrieves all the Sales Orders for a given Customer (Sold-To). The Following are the Input Parameters given in the Function Module (RFC).
    Customer Number (Mandatory)
    From Date (Optional)
    To Date (Optional)
    Sales Order Number(Optional)
    Customer PO Number(Optional)
    Now, when the Customer PO Number is populated, it will come as a Pattern, say 9ab* and I need to retrieve all the Sales Orders with PO Number starting with 9ab.
    When I am trying to retrieve, it is giving different set of output based on the Case specified in the Customer PO Number Pattern. Lets say, if I give 9ab, I get 200 Records but if I give 9AB, I get only 5 to 6 Records.
    As I have understood from the Standard Transaction VA03, it has a Search Help VMVAA which retrieves all the Sales Orders for the given PO Number pattern irrespective of the Case, that is Lower Case, Upper Case or Mix of Upper and Lower Case.
    I can see the Code in the Search Help Exit but couldn't find useful piece of code which I can implement in my BAPI to simulate the same.
    Can somebody help me on this?
    Thanks,
    Venkat.

    Hi Sudhir,
             I think you did not understand what my problem is. What I mean to say is, for Customer X, the PO Number could be 9abc and for Customer Y, the PO Number Could be 9ABC.
           So, according to your logic, if I translate it to Upper Case, it will give the Sales Order details of Customer Y to Customer X.
          And more over, SAP stores the PO Number as it is entered in the Sales Order Screen (VA01).
        What if the Customer PO Number for Customer X is 9aBcDeFgH? and the PO Number for Customer Y is 9AbCdEf?
       Hope you've understood my question.
    Thanks,
    Venkat.

  • Purchase order number of the customer equals to the batch number

    At our case, purchase order number of the customer equals to the batch number. Purchase order number will be written on the sales document (VBKD - BSTKD).
    1. How can the production department can see what is written in this field (on md04 or etc...)? The batches will be created by the PP module so they have to see what is written on this field to give the right number to the batch externally (when creating the batch manually).
    2. If batches are automatically created, how can we make the batch number to be equal to the purchase order number which is written on the sales document (VBKD - BSTKD)?
    I'll be happy for the answers and I'll also be happy if you can give me the names of the user exits for the above questions. Thanks in advance for the answers....

    Hi Yasar?
    Did you evaluate working with valuated sales order stock?
    This way your PP people could use Make to Order style manufacturing and produce for a special "batch" => The sales order special stock.
    Can be used in Repetitive Manufacturing and has no impact in costing, therefore a nice option for the situation you are describing.
    In MD04 a special segment will appear for the the Sales Order stock and this stock will only be able to be shipped for this special order.
    Best Regards,
    Franck

  • How to copy Customer Sales Order number to Purchase Order for 3rd party sal

    Hi experts,
    We are doing third party sales. So once we create Customer Sales Orders manually via VA01, users also manually create Purchase Req for it.
    We do not automatically create PR from Sales Order, as this is not my clients requirement. So we don't use item category group BANS in the material master.
    In the item level in the PR under the Contact Person tab, the creation indicator shows "V Sales & distribution document". Once PR is created this updates the PR number under the item level Schedule lines in the Sales Order.
    After PR creation, we run a job to create PO's.
    But the new requirement from the client is to automate this PO creation thru EDI.
    Our SAP is 4.6C & the Idoc type we use is ORDERS05 & Message Type is ORDERS. We are using EDIFACT std.
    Once I get the idoc xml file for this PO, I find that my Customer PO number (from the Sales Order) & also the Customer Sales Order number is not copying to the xml output.
    Please advise what needs to be done inorder to have it.
    This will be great help & I will reward for the answers !
    Rgds,
    Pri

    Tables are related.
    MATNR
    WERKS
    MBDAT
    LGORT
    CHARG
    etc fields are common in both VBBS and VBBE.
    May be you can generate a condition a fetch data using this.
    I hope it helps.
    thanks

  • Message: This customer requires a Purchase Order Number

    Hi all
    I need some help with above pop-up message.
    The pop up appears in trcode VA02 (have no access to VA01 so cannot test it) but where in SPRO is it set up so as to link customer number to message?
    Once I type the order number and press enter/return then the message appears.
    I do not have access to SPRO or ABAP at this client site so I cannot check program code either.
    Thanks
    RM

    Hi,
    Check the message number and id. You will probably find this by clicking on the button with a question mark icon after the pop-up message is displayed.
    Once you discover the message number and id, goto se93 give the message id and number in the respective input fields and press the display button.
    Select the message and do a where used list on it. You will know in which programs this message is used and what is the condition to trigger this message.
    regards,
    Advait

  • Change customer PO number on a partially billed sales order

    Hi,
    Is it possible to change customer PO number on a partially billed sales order? We have tried this but gets the error message "Item 00010 has already been billed, quantity 0 not permitted'. This is for a direct shipment.
    Thanks & Regards,
    Keshini

    Hi,
    See whenever you have subsequent document for any type of documents, then its very difficult to change the Header data.
    As PO number is in header, So as per standard i dont think u can change the PO number.
    But there is field also in PO item, there u can change.
    Thanks,
    Raja

  • Customer Sales Order number to display in Purchase Order idoc

    Hi experts,
    I have the Customer Sales Order number in the PO item level under "account assignment" tab.
    But it does not show in the idoc xml ouput of the PO.
    Could you let me know if it is not standard field to display in the ORDERS05 idoc type of the PO?
    If not what print program or form that can be used to show the sales order number.
    Also I want to show the Customer PO number into the Purchase Order idoc VBKD-BSTKD and the PO date will be in VBKD-BSTDK.
    This is very urgent !  Will reward.
    Rgds,
    Pri

    Hi experts,
    I have the Customer Sales Order number in the PO item level under "account assignment" tab.
    But it does not show in the idoc xml ouput of the PO.
    Could you let me know if it is not standard field to display in the ORDERS05 idoc type of the PO?
    If not what print program or form that can be used to show the sales order number.
    Also I want to show the Customer PO number into the Purchase Order idoc VBKD-BSTKD and the PO date will be in VBKD-BSTDK.
    This is very urgent !  Will reward.
    Rgds,
    Pri

  • Sales order number in customer invoice

    Hello,
    I have an FI custome invoice created automatically from SD module.
    Is it possible to enter the sales order number in the fI invoice?
    In the FIinvoice there is the field KDAUF (Sales order number) how is possible to popultate automatically this field?
    Thanks a lot,
    Cheers,
    Emanuela

    In standard this is not possible.
    You have to develop a zee transaction which should consider Tables VBFA and VBRK or VBRP.  In this zee transaction, automatically you can populate sale order reference and billing documents with the above table combinations so that the end user can see against one sale order, how many billing documents have generated in a day.  There should be one more editable field  where the end user has to key in the value against the sale order so that the same has to be updated in VBRP table.
    This is possible only if the accounting document has not been generated.
    thanks
    G. Lakshmipathi

  • Sales order number in customer line item

    Hi All,
    we have a requirement whereby we need to get the sales order number in the customer line item. Normally, the sales order number is populated in the GL line item (BSEG - VBEL2). We need to copy the sales order number to the customer line item.
    Can anyone let me know if you have worked on such requirement.
    Thanks in advance!!
    Aman Goel

    You can map Sales Order number to either 'Assignment' or 'Reference' fields in accounting document using Copy control function in SD. Please use transaction VTFA, this needs to be maintained for combinations of billing type and sales document type. Please ensure these fields are not currently used in your system for other information.
    Following fields can be mapped to 'Assignment' or 'Reference'.
    A Purchase order number
    B Sales order number
    C Delivery number
    D External delivery number
    E Current billing document number
    F External delivery no. if available, otherwise delivery no.
    If you currently use 'Assignment' or 'Reference' fields for other details, you can use user exit EXIT_SAPLV60B_008.
    Thanks
    Venkata Ganesh Perumalla
    Edited by: Venkata Ganesh Perumalla on Oct 4, 2010 11:52 AM

  • Customer purchase order number at schedule line level in scheduling agreeme

    Hi,
    We have one typical requirement from scheduling agreement functionality. The scenario is we receive the schedule lines from Idocs from customer with purchase order number for each schedule line. We need to print that PO number on packing slip and ASN. How do we capture the schedule line po number in SAP SA?
    Please share your ideas on this.
    Regards, Lakshmikanth

    Hi Chandrasekhar,
    Thanks for your reply, here we create one delivery for each schedule line quantity, we need to copy the respective purchase order number into delivery. There is no Corelation between schedule line number and additional data field, so we can not use very freely.  Do we have any other option?
    Regards, Lakshmikanth

Maybe you are looking for

  • How to highlight the table cell color in respective colors as needed per the requirements??

    var aData = [     {notificationNo: "10000000", description: "Maintenance for boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},     {notificationNo: "10000010", description: "Genreal Maintenance for boiler", lo

  • NO RADIO OPTION ON MY IPOD!!

    I have a 30gb 5th gen ipod video and i jus brought the radio remote. after what seemed like a million resets and turnin the option off and on, i still dont see the radio option on the main or in the music screen can some1 tell me what im doin wrong,

  • How to Copy FrameMaker Master Pages to all files in a book?

    Newbie question. I've created a Master page template for a title page that I now want to apply to every file in my collection of books (~5 books, +30 files).  How do I do this? The page has a full page image and different margins. I would try to brut

  • Flash Paper Problem

    What is Adobe thinking -- have they lost all tract of educational needs????? I bought Macromedia Studio just for Flash Paper and now it doesn't yet work with MS Vista. It HAS TO Work. I have no intention of ever using the Contribute as I don't need i

  • GPO 8.1 with Windows Server 8.1

    In our enviroment we have a 2008 R2 DC several Windows 7 clients en 5 Windows 8.1 clients. We would like to send GPO from our DC to the Windows 8.1 clients, but there are no GPO's in 2008 R2 for this clients. I found this, http://www.microsoft.com/nl