Change unit cost AP Invoice line based from a Goods Receipt PO base entry

Hi,
Im using SAP B1 2007A PL 46 with B1DE 2.0
SCENARIO:
(1) I have a goods receipt PO that has a line for an item with a quantity but 0 unit cost.
(2) At a later stage, via DI, I create a AP Invoice and set the line BaseType, BaseEntry and BaseLine to point to the goods receipt from step 1.
REQUIREMENT:
When creating the AP INV, I would like to change the unit cost for the line to something other than 0. I find however, that because I have based the AP INV Line a base document, I cannot override the line price for the line before calling the APINV.Add() method. After calling the APINV.Add() method, the APINV Line still has the price of 0 even though I set it, for example, to 100. (see example below)
                    docAPInv.Lines.BaseType = (int)BoAPARDocumentTypes.bodt_PurchaseDeliveryNote;
                    docAPInv.Lines.BaseEntry = GoodsReceiptPODocEntry;
                    docAPInv.Lines.BaseLine = 0;
                    docAPInv.Lines.Price = 100; //NEW PRICE            SEEMS TO HAVE NO EFFECT
                int res = docAPInv.Add();
                if (res < 0)
                    Success = false;
                    ErrorReason = B1Connections.diCompany.GetLastErrorDescription();
                    break;

Hello,
If your system is installed as 2007 (no upgrade from 2004/2005)
-> use the UnitPrice instead of Price field.
If you have upgraded from 2005/2005 versions,
->You can choose between the UnitPrice and Price fields up to the Customizing settings.
See SAP Note 1334050
Regards,
J.

Similar Messages

  • Freight posting in MIRO based upon multiple goods receipt.

    Hi
    In one of the companies they are requesting the freight charge to be broken into multiple lines (based upon multiple goods receipt)  instead of one consolidated balances in the invoice (MIRO).  Right now each time we do a MIGO against the same PO the system creates a seperate material document and the entry is (and that is correct) :
    Inventory  -      XXXX
    GR/IR (Cost)- XXXX
    GR/IR (Freight) XXXX
    PPV                  XXXX
    for example if migo is done 3 times against the same PO the system posts 3 seperate material document and everything is correct. 
    When we do a MIRO the system generates 3 seperate lines for GR/IR (Cost) but it consolidates GR/IR(freight) and posts the entire value in one line. 
    Requirement is : We want the system to break freight cost into 3 seperate in the invoice. 
    Did anyone come across this issue before.
    Thanks
    Joseph

    Hi Joseph,
    I guess you can use MIRO 3 times, and post separated delivery costs into 3 freight invoices.
    During each time, you can choose only 1 line to carry out the posting.
    Thanks and regards,
    Polly

  • How to change price total for "Change Unit Cost Estimate Screen" for KKE1 Tcode ?

    There is a requirement of bringing the Material Price in KKE1 while entering the Item Catogory M ( M for Material) from the Gross Price in the condition type (P001) that is entered in the Purchase order.Currently systems brings the material value from MAP(Moving average Price) in the Material Master data.
    I have looked into the user exit 1) EXIT_SAPLKKEC_001 2) EXIT_SAPLKKEC_002  available in this T code KKE1.When I put break-point in these user-exit,it is not going in debugging mode while fetching the price value in Price total column  for "Change Unit Cost Estimate" screen in KKE1.
    How will change pricing condition for material in KKE1?
    I want to change price condition for material  as marked in red as shown in the screen-shot.
      Where will write the code such that I will bring Price Total based on material number as shown in the image?

    Hi Ram,
    I think you can do the same in thei manner.
    Go to program SAPMV45A.
    use menu GOTO -
    > Text Elements----
    >Text Symbols
    Here make change of Text-002 Sold-To Party as saleable .
    Regards,
    Pravin

  • In INDIA Capture of Multiple excise invoice at the time of Goods Receipt

    We would like to capture multiple excise invoice at the time of Goods Receipt. The excise invoice number captured should be updated in the RG 23 register with individual entry of excise invoice number and Qty against that excise invoice.
    The total GR will contain multiple excise invoice
    Can we use any user exit for the same or can anybody share there experiences.
    Amrish Sheth

    Please Check SAP Notes - Oss Notes
    With multiple acct. assignment, enter GR non-val. or cancel GR
    Message no. 06417
    Diagnosis
    In the case of PO items assigned to more than one account, instead of valuation being carried out at the time of goods receipt, the relevant materials are not valuated until the invoice data is entered into the system.
    Procedure
    •     Set the indicator for non-valuated goods receipts
    or
    •     Cancel the GR indicator.
    OSS-Notes.                              -
    Version: 5        -
    Validity: valid since 12.04.2007
    Note 204252 - Valuated goods receipt for multiple account assignment
    Summary
    Symptom
    You cannot use the valuated goods receipt function in combination with multiple account assignment.
    Other terms
    EKPO-WEUNB, screen 0113, ME21, purchase order, 06417, 06 417
    Reason and Prerequisites
    We have not implemented this function since users who post goods receipts would have to determine the distribution to individual account assignment items during  partial deliveries. Generally, users cannot or should not determine this.
    An automatic distribution also causes problems and is also not implemented due to technical reasons

  • Third Party - multiple invoices based on dummy Goods Receipt

    In Third party sales scenario (without shipping notification) we want to create an invoice based on each dummy Goods Receipt which corresponds to individual shipment made by vendor to customer.
    Ex. Sales order qty = 10. It is split in the PO to 2, 4, 3 and 1 in the delivery schedule. Vendor ships qty 2, and then 4. There is a trace # associated with each vendor shipment to the customer. Vendor invoice is entered for qty 2 and 4.
    We want to bill 2 invoices one for two vendor shipments of 2 and 4. In VF04 order based billing for the sales order, SAP combines these 2 vendor invoices (2 + 4)  and will propose qty 6 in ONE invoice. If there a way get 2 Invoice proposals (i.e. 2 lines) in VF04 one for qty 2 and another for qty 4?
    TIA.

    Hello Ramani
    In the Copying control  (I am guessing it is for Sales document to billing document, T Code: VTFA),  set up a custom routine in the field 'Data VBRK/VBRP'  for the requisite item category ( TAS or equivalent)  by copying standard routine '01'- FV60C001- and adding a splitting criterion, may be GR #. The challenge would be whether GR# would be available at that time and if not how to get it.
    If it is Delivery based billing for some reason , then you can use standard routine '3' there. T code: VTFL: Copying control: Delivery document to billing document.
    Hope this helps.

  • Capture  & Post Invoice at the time of Goods Receipt in one Step

    Hi,
    We are doing the following for Goods Receipt (as decided by other consultant)
    1. Goods Receipt (Only Part I) - currently being done by Stores
    2. Capture Invoice (J1IEX) - currently being done by Purchase
    3. Post Invoice (J1IEX) -  currently being done by Finance
    We tried to capture & Post Invoice in single step at the time of Goods Receipt. The system is allowing us to do so. Can we do the goods receipt & capture & post invoice at the time of GR only.
    What is the difference or benefit in doing GR & capturing invoice separately?
    Regards,

    >
    PK wrote:
    > Hi,
    >
    > We are doing the following for Goods Receipt (as decided by other consultant)
    > 1. Goods Receipt (Only Part I) - currently being done by Stores
    > 2. Capture Invoice (J1IEX) - currently being done by Purchase
    > 3. Post Invoice (J1IEX) -  currently being done by Finance
    >
    > We tried to capture & Post Invoice in single step at the time of Goods Receipt. The system is allowing us to do so. Can we do the goods receipt & capture & post invoice at the time of GR only.
    >
    > What is the difference or benefit in doing GR & capturing invoice separately?
    >
    > Regards,
    Hi PK,
    Standard SAP provides different stages based on business criticality.
    Since a warehouse person may not be aware of Excise functionalities he should only be allowed to capture the invoice, however Posting excise credit is a critical business function hence site Excise clerks should be allowed for these rights.
    However based on business scenario or size of business the same can be done at one place.
    So as your business demands the process can be changed with that. However criticality of the matter & process lies with the business finally. 
    There are scenarios where actual material reciept is short at times hence credit allowed has to be reduced than original, there may be scenarios where a critical excisable product may have wrong chapter heading maintained at PO level which needs to be changed at credit availment/capture stages to show correct chapter in excise registers...
    these all cases support the process to be splitted & responsibilities segrigated....
    Hope it assits....
    regards
    ak

  • Two Invoices with respect to One Goods Receipt

    Dear Experts ,
    We have got a query from a user like this....
    With respect to one Goods receipt can we do two invoices??
    i.e GR with a quantity 50No for Material 'A'
    Two invoices with Material A and Quantity of 50 for a single Goods Receipt..
    How it is possible????
    Please guide me...
    Regards
    MK

    Hi MK
    If u have activated duplication check for invoices then u can not pass two invoices with same Po number and similar data
    U can set duplication check in SPRO
    Path
    SPRO>Materials Management>Logistics Invoice Verification>Incoming Invoice>Set Check for Duplicate Invoices
    here u can tick Required options for UR company code
    Vishal...

  • Account Assignment in an automatic PO created from a goods receipt idoc

    Hi guys,
    I'm doing a goods receipt via the IDOC MBGMCR that is automatically creating a PO.  Is there a way to make the item on that PO using the account assignement "K" (Cost Center) ?
    In the BAPI for the goods movement, they are calling the function module "ME_CREATE_PO_ITEM" to create/prepare the item.  In that called, they defaulted the account assignement to space!!! I don't know how I can overwrite it.  Is it possible via configuration ??
    Many thanks,
    Stéphane

    Hi Stephen,
    Did you find an answer to your query, i have the same question i want to default the account assignment 'K' for each item for a particular stock transport order.
    I'm wondering if it can be configured or do i need to have ABAP do it.
    your reply is greatly appreciated,
    Thanks,
    Michelle

  • User Exit for Enter / post invoice against the order without goods receipt

    Hi,
    My requirement is to enter or  post the  invoice against the Purchase order without goods receipt.
    Need to an User Exit  for this.
    Thanks in Advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    User exits available are:
    V02V0001 Sales area determination for stock transport order
    V02V0002 User exit for storage location determination
    V02V0003 User exit for gate + matl staging area determination (headr)
    V02V0004 User Exit for Staging Area Determination (Item)
    V50PSTAT Delivery: Item Status Calculation
    V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
    V50R0001 Collective processing for delivery creation
    V50R0002 Collective processing for delivery creation
    V50R0004 Calculation of Stock for POs for Shipping Due Date List
    V50S0001 User Exits for Delivery Processing
    V53C0001 Rough workload calculation in time per item
    V53C0002 W&S: RWE enhancement - shipping material type/time slot
    V53W0001 User exits for creating picking waves
    VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
    user exit when PGI is done
    Reward if useful.

  • FMS in Batch field to bring data from IGN1 (Goods Receipt)

    Dear all
    I'm using B1 8.8 PL16.
    I need to take some information in Goods Receipt lines in to the batch information. I tried the query $[$30.10.0] to do the FMS in a field of Batchs data. The query works if is in a goods receipt line but not in the field of bachs lines.
    Kind Regards,
    Margarida

    Dear Margarida,
    The $ variable is only available to the current form. When you on the batch form, Goods Receipt line variable will not be available.
    Thanks,
    Gordon

  • How to print invoice (text based) from jspx/jsp ?

    Hi All,
    On our ADF Faces application , there is a requirement to print Invoice on a dot matrix printer from the application .
    I can do that with Crystal XI but Java Report Component can only export to PDF or RTF, but the size of the report is too big for our narrow bandwidth.
    So I am looking for a way to produced an Invoice to print in Text based. How can I do that ?
    Thank you for your help,
    xtanto

    Hi,
    Thank you.. I am downloading JasperReport & iReport now, two questions :
    - Can JasperReport export to plain text file ?
    - Is there any docs anywhere about JasperReport & JDeveloper integration ?
    Thank you very much,
    xtanto

  • Change G/L account for free of charge po good receipt .

    We create free of charge po for sample parts.Because its price is 0 and will decrease moving average price.
    ( Our price control is moving average price .)
    Our user hope system can support as below :
    1.No ap -- ok .
    2.Change G/L account for GR fi document
    3.Do not impect moving average price
    4.stock qty increase after GR
    I try to copy movement type 101 to another .And receive po using this movement type , but it does not work.
    Is anyone tell me how to config it?
    Thanks very much.

    Hi Jimmy
    Even MAP changes also, total stock value will be the same,
    posting freegoods won't effect the stock value.
    What exactly the necessity of restricting the moving average price change against freegoods posting.
    Through standard SAP I dont think it is possible, if you really ned this then go for custom development.
    Thanks & Regards,
    Krish

  • Is there an IDOC that be generated from a Goods Receipt?

    My scenario is that I need to update a 3rd party system whenever we receive a part in the WH against a PO using MIGO. I'm wondering if there is an IDOC that can be triggered to send some sort of update when this occurs. I know about WMMBXY but it seems that this can only be used for inbound processing.
    Just to be clear, I am not looking for an IDOC I can use to post a goods receipt.
    Any suggestions? Thanks in advance.

    using the IDOC type and Message type you can configure in the WE20. The Output type depends on your requirement. I am not sure which one you are using...?
    WE01, WE02 etc..

  • Unit price for invoice

    Hi Experts,
    I want to get unit price for invoice line items from BSEG table.
    How to get it.
    What is the unit price field for invoice line items.
    Regards,
    Sangeeta.

    Hi Sasi,
    Should I take the line item amount(WRBTR) for unit price from bseg table?
    Regards,
    Sangeeta.
    Edited by: Sangeeta on Dec 29, 2008 8:00 AM

  • Cancel line item from goods receipt issue

    Wanted to get some information on how to cancel a line item from a goods receipt and still have the item available on the PO. Is there a mechanism that allows the line item to be reopened in the PO or possiby be edited or reversed? According to the road map, this will be an implemented feature, however if i go to the greyed outline line item, I cannot cancel or edit.

    Hi..............
    Welcome to SAP Business One Forum...........
    In SAP 8.81 you can reopen Purchase Order Line Item by returning the Item received through GRPO........
    But in SAP 8.8 this facility is not available. You have to simply make a return based on GRPO.........
    Regards,
    Rahul

Maybe you are looking for

  • Bug in new user signup form

    I just signed up for an OTN account; I didn't put my city in the address part, and when this error was flagged and I was returned to the form, both the "State/Province" comboboxes had been reset to contain the US states (I am in Australia).

  • How to link a java program and a music file played

    i wanna know how do i read values of music (mp3 or any other format) that are played ? for example if if there is a sound like "pimm" ,there should be a value(hex,dec etc) for it that is used by the player to play it.

  • Multiple currencies per entity in data form

    Is it possible to disable users changing currency code in data forms with "Allow multiple currencies per entity" option? I want users can see currency code for cell in data form, but can't change it.

  • Photo Downloader Freezes Up

    Hi to all Bridge Macintosh users, I've posted this same thing to the Adobe:Camera Raw forum, but it is probably more relevant to Bridge Macintosh forum users. That is the photo downloader freeze-up problem when you click "choose" to select a folder.

  • TS1503 what is the other part of syncing

    When I go to sync my phone there is a huge part of "other" in yellow that is taking up a lot of space. I have deleted photos and music to help with space but nothing is helping. What is "other" on my phone?