PO number update in COPA document through BAPI_COPAACTUALS_POSTCOSTDATA

Hi All,
When i am passing PO number  to Sales order no field in KE21N it is creating COPA doc but when the same PO number is being passed through BAPI_COPAACTUALS_POSTCOSTDATA it is returning error message KE0C 133. As internally the given documents are being checked in VBUK and VBUP table.
How to pass PO no to SO number field in BAPI_COPAACTUALS_POSTCOSTDATA as my per my requirement ??
Thanks-
Pranab

Pranab da
Fully agree with you..
My suggestion would be
1. Create WWXXX for Purchase Order
2. Going Forward, Fill PO Number in WWXXX
3. For the Old docs, you can fill WWXXX with the value in Sales Order Field.. To do this,
> you need to cancel the COPA doc from KE4S
> Write a derivation rule to MOVE the KDAUF (Sales Order) into WWXXX
> Generate COPA doc again
> Then delete the derivation rule
Br, Ajay M

Similar Messages

  • Tax field is not updated in COPA documents

    Hi
    There is a Value field for Tax is not updated in COPA documents due to missing configuration in KE4I. Now the tax field is updatating properly after completed the configuration in KE4I.
    But we have couple of COPA documents which are generated (source ) through SD billing. And we have entered proper condition type in Sales order. It is calculating the Tax amount based on condition type in sales order.
    Now we want to update the Tax value filed information into COPA documents .  Please let me know the procedure to update the Tax value field in COPA documents.
    Thanks
    Richa

    Hi,
    reverse/repost the docs again to CO-PA using KE4S.
    best regards, Christian

  • Function Module to Update Shipment Cost Document through Idoc.....?

    Is there any EDI function module which can Update Shipment Cost Document through Idoc.....

    Hi Vijendra,
    Welcome to SDN.
    You can use FM IDOC_INPUT_SHPMNT with message SHPMNT and IDoc type SHPMNT01/02/03/04/05 to update shipment document.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if very helpful.

  • Freight vendor updation in GR document through BAPI

    Dear All
    In my system we are creating Goods Receipt in background through *BAPI BAPI_GOODSMVT_CREATE*. In my PO we have entered freight condition FRB1 for that PO line item and assigned a vendor code different from material vendor. For this freight condition FRB1 in the configuration we have maintained in Control Data 2 field Vendor in GR as 2 ( i.e. Entry always possible). This will help us to change freight vendor different from freight vendor maintained in PO line item.
    Now my query is that how can I achieve this through BAPI  BAPI BAPI_GOODSMVT_CREATE when I am creating GR in background. In which field of BAPI should we pass the freight vendor at the time of GR creation.
    Regards
    Satish Kumar

    Hi Satish,
    With standard SAP this is not Possible
    As indicated in the attached note 356665, the field SUPPL_VEND has no
    function. Please, have a look at this note for further information.
    In dialog (with MB01 or MIGO) you have the possibility to enter another
    freight vendor different than the vendor in your purchase order (or your
    scheduling agreement) as long as you have, in your purchasing condition
    type, "Vendor in GR" (V_T685A-BNKWE) maintained with the appropiate
    value. Then, by posting the Goods Receipt, you will update EKBZ with
    this new freight vendor.
    Unfortunately in the standard system this functionality is not available
    when working with the BAPI BAPI_GOODSMVT_CREATE or with the Idoc
    WMMBID02.
    There is no customizing setting or tool that you could use inside the
    standard system to change it.

  • 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!

  • Characteristic updation in copa

    Hi All,
    Please help me in updating characteristic in COPA document
    Client Requirement is: They want Date of Sale should be updated in copa document. Date of sale is document date in the sales order.
    My issue: How should I update this date into copa document.
    Because the document date in VBAP table is grey so I cannot use this feild.
    Please tell me the solution for the same.
    Thanks & Regards,
    Reva.

    Hi,
       SAP strongly recommends not to use any date as a characteristic. The CE4XXXX (XXXX = operating concern) table basically holds a unique PA segment no for a unique combination of characteristics
    . For example let us say you have only 2 characteristics customer and product. Then let us say for customer 1 and product 1 you have PA no 1; for customer 2 and product 2 PA no 2 and so on. Every time you post a document with customer 1 and product 1 the same PA no 1 will be reused
    i.e. no new entry will be made to CE4.
       Now if you were to introduce a new characteristic called date in this table then every time the date changes a new PA no will have to be generated and the entries in CE4 table will grow. This will make
    reporting more difficult and will also cause performance problems.
      The harm caused by this characteristic on your performance will far outweigh any benefits that it might have on your profitability analysis.
    I request you to think of dropping the idea of having this characteristic. The final decision is yours.
    regards
    Waman

  • Internal number ranges  for accounting documents are not updating

    Dear Experts,
    We are existing user of SAP 4.6 C , are facing probelm while posting accounting document , the accounting document number ranges are not getting updated.
    When I post first document it got alloted first number from the interval when i post another document the system showing message Document Number XXXXXXX is already assigned to other document.
    And we have checked through T.C FBN1 and checked the number ranges where first document didn't showing in the alloted number range status.
    Early reply can be highly appreciated.
    thanking you.
    Regards,
    Y.Kiran Babu.

    hi Rajesh,
    check if any document exists with that number in table BKPF. Also check: the number (current number) you see in FBN1 should be the highest existing document number in BKPF (inside the range).
    ec

  • Sales document number not updated in FI document

    Hi,
    Whenever invoice creates in FI through billing document, system will not update sales document number in FI document(Invoice). Please confirm if there is any way to update sales document number in FI document because  I want to create dunning notices on sales order basis.
    Request immediate help.
    Thanks in advance.

    Hi,
    In the standard system,  FI postings will be updated with FI document numbers only.  If you want to see respective billing document number in customer ledger, go to FBL5N, select 'Change Layout' icon and move billing document number from 'hidden fields' to display fields list and see.
    Regds
    Sarma BH

  • Error 'Specify account number' while posting a parked document through FBV0

    Hi,
    I am getting an error 'Specify account number' while posting a parked document through transaction FBV0.
    I am not able to figure it out as to what account number it is referring to. Since the document is parked I assume the GL account used has no problem. Please help.

    Hi,
    Try to change the Account number and then save or post the data. I think Once We Parking the Document it wont allow to post the data without changing.
    Try same scenario in the development its be useful
    Regards,

  • Item text is not getting updated in Payment document generated through F110

    Hi all,
    After generating the payment document via Transaction Code u2013 F110, system is not updating the Text field in the payment document with the text that we have entered in the Invoice (MIRO or FI Invoice).
    While processing the document via transaction code u2013 F110, in the layout shown for the Invoices to be considered for payment (screen of u201CEdit Proposalu201D), text is not getting updated. When we pressed F1 at the Text field (Which is blank) we came to know that it is a u201CItem Textu201D with u201CTable u2013 REGUEu201D /  u201CField u2013 SGTXTu201D.
    In BSEG (SGTXT field) as well as BSIK (SGTXT field) we are getting the Invoice document with the text maintained in it via MIRO or FI invoice.
    But while processing the invoices through Tcode - F110, in the layout of Edit Proposal (Table - REGUE / Field - SGTXT) we are not getting the u201CText fieldu201D but getting the other data such as Doc. No.( Table - REGUE / Field - BELNR), Fiscal Year (Table - REGUE / Field - GJAHR) etc for processing the proposal which is getting shown in BSEG as well as BSIK.
    In case of manual payment (F-53) we can input the text manually hence that will get updated in payment document but this thing is not possible with F110.
    Can anybody guide me on getting the ItemText (Not Doc. Header text) in FI payment document after F110 execution?
    Regards,
    Shridhar

    Hi Suresh,
    Thanks for the prompt reply. We will be obliged if you guide us in that respect since F110 is a Std. SAP code.
    Have you refer OSS before arriving at the conclusion of developing ABAP program since the Item Text is a std. field of Std. Tcode - F110. Same should had been get updated while making the payment in reference to the Invoice which haves item text in it ?
    Regards
    Shridhar
    FICO

  • How to update Assignment field in Accounting Document through BAPI ?

    I need to change Assignment field in already posted accounting document through bapi or some other automatic method. Please tell me exactly which bapi I should use and how can I pass the changed assignment field?

    Hey,
    I couldnt find any BAPIs which update an accounting document. I think the safest way is to record FB02 and use BDC/Call Transaction.
    -Kiran
    *Please reward useful answers

  • Excise document number update in Document flow.

    Is there any configuration for update the excise document in Sales order document flow.
    Ex : Like. - > SO-> Delivery-> Billing -> Excise invoice no
    Ramesh B

    Hi Ramesh &  Nikhil,
    At present  There is no provision to update excise invoice number in Sales document flow.
    There are no appends defined for table VBFA . With the help of  Abap developer u can try for an append structure.
    But in that case development will include changes in excise invoice program, to update the table.
    Do the anaylsis carefully before any development.
    There is one alternative available , u can develop a sales register which will contain both excise and commercial invoice along with sales order number.Generate lay out for suitable search.
    Regards
    Mandar
    Edited by: Mandar Deshpande on Sep 21, 2009 9:16 AM

  • Any Report that updates the GR document number of R/3 to SRM

    Hi  Experts
    Can any one tell me is there any reoprt that updated the GR numbers of R/3 to SRM
    Because I have done the confirmations in SRM ( 4.0) it created a confirmation number but  the shoppingc art history is not updated with the GR document number .
    Similiar to like CLEAN_REQREQ_UP is there any report that updates the GR document number in the frontend. And also any table for this like BBP_DOCUMENT_TAB for watching the GR entry till the time it gets cleared.
    Please suggest
    Regards
    Srujan K

    Hi Muthu,
    Thanks for your reply.
    My concern is when I do the confirmations in the SRM the shopping cart history is updated with Confirmations number and i can see the status as approved but I am not able to find the GR number besides the confirmations number in the shopping cart history.
    ours is SRM ver 4.0. what could be the problem. when I do the GR from backend and wait for some time the GR document number is getting updated.
    But once after i do the confirmation in the frontend it should automatically post a GR is the backend and
    update the shopping cart history with GR document number which is not happening
    Do I need to check the idoc for this? if so where do i need to check in SRM or in R/3?  because this is in quality system as i doing the testing part.
    So please provide me some solution for this.
    Regards
    Srujan K

  • Any way to update PO document through DTW without using "Doc Entry"

    Dear all,
    Just have a question.
    I need to use DTW to update existing PO document. I realized that I have to have Doc Entry to be entered in the DTW template.
    Is there any way to update PO document through DTW without using that field, "Doc Entry"?
    thanks
    Tony

    Tony,
    A similar situation related to Bank files was resolved with one of my clients on the following way...
    The file from the Vendor can be an any order or format on the Excel.  Till the time it is consistant it should work fine..
    We created a Job in SQL Server to read this Excel file and to use the DocNum to get the DocEntry from SAP PO and output another excel file which is exactly the template format for PO Update.
    This may even not be required in your case.....
    You can get this done through an Excel Macro....which will connect to the database and using the DocNum get the DocEntry and update the Excel....
    This is 100% achievable and a better solution for regular use
    Suda

  • Mass Update Contract Documents through workbook?

    HI Experts,
    Is it possible to mass update Contract documents through Workbook? if yes please proivde the workbook.
    Thanks
    Kushagra A

    HI Kushagra
    Please use the below mention fields to update the current Contract Document. you can use an CSV file to upload this.
    see the attachment.
    # Field name:
    # Unique Agreement Name : This is the agreement's unique name to identify the agreement.
    # Agreement Class ID :  This is the agreement's class ID. It is '1004' for Master Agreement and '1003' for Sub-Agreement.
    # Agreement Display Name :  This is the agreement's display name.
    # Attachment Name : This is the attachment's display name.
    # Attachment Order Code :  This is the attachment's order code to locate the attachment collected by the agreement.
    # Attachment Size (KB) :  This is the attachment's size in KB.
    # Attachment Visibility :  This is the attachment's visibility. Either Buyside only or Buyside and Sellside.
    # Added by :  This field indicates who added this attachment.
    # Contract Document (Y/N?) :  Please enter this field with either 'Y' or 'N' to indicate if you want to convert this attachment to a contract document.
    # Contract Document Type:  Please enter this field with the display name of the contract document type. Check the Setup->Contract Document Type for available choices.
    # Contract Document Phase External ID: enter this field with the External ID of the contract document phase. The phase should be defined in the phase configuration of your contract document type.
    Let me know if this helps
    Thanks
    Kanchan

Maybe you are looking for

  • Internet Sales application 2007 - Best Practice

    Hi Gurus Has anyone completed a successful CRM 2007 Internet Sales (ISA not ICSS) configuration exercise. If anyone has completed the set-up please could you inform me of the documents you referenced in order to achieve this. Many Thanks Babu.

  • HT5312 How do I have the email for me to reset my security questions

    That article didn't help me at all... I need full details.

  • Need help on forecast consumption

    Hi, we have a requirement on forecast consumption. there is a 'itemA' and the forecast is entered manually for this itemA with qty 10. I have another itemB. Item A=ItemB ( in actual these are same items and the naming is different). I'm creating a sa

  • Query Execution during Data Loads (extarction)

    I think BI 7.0 permitts that but I would still like to confirm from Gurus. Can we/users continue to access data or execute queries while extraction is going on?? Can we load data during query execution? What are the pros and cons of doing that?? Alwa

  • CUE Script Editor 3.1 Download

    Hi, I am looking for the software, but cannot find it in the normail downloading area. Can someone please put a link here? Thanks.