Goods Receipt and Batch Number

Hi everyone,
I'm trying to create batch numbers automaticly by using the external ref number, the document date and a UDF at row level. Nevertheless I cannot do this because the objects seems not to be available.
Has anyone done this?

Hi João,
the Business Object for your solution should be "Documents" and the type should be either "oInventoryGenEntry" or "oPurchaseDeliveryNotes".
There is a very good example in the samples folder called "SerialAndBatch". Have you checked this out yet? You will be able to locate it in your Business One installation folder in the subfolder "SamplesCOM DIVB.NET04.SerialAndBatch". It should provide you with some guidance and hopefully the right answers.
Regards,
Torsten

Similar Messages

  • Can we goods receipt without material number and without PO?

    Can we goods receipt without material number and without PO as consumption ?
    I have case that no PO in SAP system (charge to cost center) but need to goods receipt in SAP system.
    How should I do?
    Thank you very much

    Hi
    Go to MB1C enter 561 movement type (initial posting ) .
    Material number is must.
    It will be against profit center as it is goods receipt and stock value will be credited to our a/c .
    Thanks
    Ravi
    Edited by: Ravikant Dewangan on Aug 11, 2009 8:38 PM

  • 2LIS_02_SCL: goods receipt and invoice document number

    Hi,
    the BI Content documentation for the [Purchasing Data (Schedule Line Level) (2LIS_02_SCL)|http://help.sap.com/saphelp_nw04/helpdata/en/8d/bc383fe58d5900e10000000a114084/frameset.htm] DataSource reads:
    The DataSource also provides information about the documents that are posted with regard to the purchase order, such as goods receipts and invoices.
    The point is: where are the documents' numbers ?
    When I test the extraction, I get the expected number of records, provided that those records with ROCANCEL=X (cancellation of Data Record) are taken into account.
    For example, for a Purchase Order (PO) Schedule Line that has 3 Goods Receipts (GR) and 1 Invoce (IR), I get:
    - 1 record with BWVORG=1 (SAP BW - Transaction Key) and ROCANCEL blank, for the PO document;
    - 6 records for the 3 GR documents (BWVORG=2);
    - 2 records for the 2 IR documents (BWVORG=3).
    Therefore the DataSource provides the needed level of granularity. Just the field I need is missing, i.e. BELNR!  Is there any trick to get it or the only way out is enhancing the DataSource?
    Thanks, [Davide|https://wiki.sdn.sap.com/wiki/display/profile/Davide+Cavallari]
    Edited by: Davide Cavallari on Jan 18, 2008 5:38 PM

    I think I would choose the option that takes advantage of 3 DataSources:
    - 2LIS_02_SGR, for GR number;
    - 2LIS_06_INV, for IV number;
    - 0FI_GL_4, for document amount, as well as some other informative characteristics, such as document type (useful when the document is an invoice), referred document (the field that contains the supplier's document number), document date, posting date
    The Logistic DataSources would basically provide the link between GR and IV, while the General Ledger DataSource would provide the financial information.
    In fact an analysis for controlling purchase expenditures at a detailed level is required. Not just a simple analysis of expenses for vendor, or even purchase document, but for any financial document posted to the General Ledger. This analysis has sort of a financial perspective. Probably it's not the kind of strategic analysis best suited to BI. It has a more tactical, operational nature. And maybe BI is not the best platform for developing this kind of application.
    Anyway, if you have better ideas or any suggestion on this topic, please feel free to comment!
    Cheers, [Davide|https://wiki.sdn.sap.com/wiki/display/profile/Davide+Cavallari|My wiki profile]
    Edited by: Davide Cavallari on Jan 19, 2008  8:16 PM

  • Relation between goods receipt and material document number

    guyz!
    i got stuck up at one functional doubt. can any one say link between goods receipt and material document number. in other way, i wanted to know difference between these two i.e. goods receipt and material document number. or both are same.
    awaiting for reply
    manas

    Hi,
    Just have a look if this thread can solve ur problem.
    Re: display goods receipt
    Rgds,
    Prakash

  • Goods Receipt and Serial Numbers

    I'm getting the following error "[IGN1.WhsCode][line: 1] , 'This entry already exists in the following tables (ODBC -2035)'" when trying to add a goods receipt document containing a single item that is serial number managed via the DI API.  We are running against Business One version 2005A SP01 PL9.  The Goods Receipt PO transaction is reporting the same error.  The Goods Issue and Delivery transaction appeared to work correctly. The Goods Receipt transaction posted correctly when created in the B1 Client (GUI) application.  So it is an issue with the DI API.  We are using the SBODemo_US company database but we added a new item and configured it for serial number management.  This same code works with B1 2004A.  Our application is suppose to work with both versions of B1, so our application is built with version 2004A DI API.  Should this work, or do I need to use the 2005A version of the DI API when communicating with a 2005A system?  Would this version of the DI API work correctly with a 2004A system?
    Thanks,
    Jason Eiler

    I remembered encountering the same problem working with B1 2004A.  For the Goods Receipt and Goods Receipt PO documents, when receiving items that are serial managed I would fill in the InternalSerialNumber data member of the Document Lines Serial Numbers object.  The fix was I also had to provide some value for the SystemSerialNumber field.  I just always set it to a value of 1.  In B1 2005A, this issue must have been resolved, because when I commented out this line of code, the document was added successfully.  I don't have to provide a SystemSerialNumber, the system must generate one, as I would expect.

  • Goods Receipt and Amoratization to Internal Orders (CO)

    Dear SAP Gurus -
    Please could you kindly assist in this matter.
    Our Production department is unable to upload the plan cost / unit cost to the 1st impression production order number, as stock was received before for the old title.
    Instead of creating new ISBNs the business used these existing 40 ISBNs and just changed the  titles.
    As such the plan cost /unit cost was uploaded to 2nd impression 02, goods
    receipt and actual invoice received also captured into 2nd impression 02.
    However for the internal order via KO03 for the 40 new titles were captured into 1st impression '01'
    Production dept is able to upload the plan cost
    / unit cost to the first cost internal order the last two digits carry 01 and
    actual invoice received is captured into 1st impression first cost 01.
    Will the First cost internal order amortised for 12 months upon the goods receipt.
    Question Can the 1st impression 01 first cost order internal order created via KO03 read the goods receipt
    which is captured in 2nd impression 02 in production order?
    I believe the business want to know if the goods receipt they have done against Production order 02 will trigger the amortisation of the costs on First cost internal order 01.
    So basically the concern is that the first cost internal order number 01 for these 40 titles maybe will be amortised upon
    the actual goods receipt as the receipt is captured in 2nd impression 02 for the production order.
    Please provide some feedback.
    Thanks.

    Hello,
    I try it from development environment , Create the  transport organize and transport it to product environment, then use SM56 transaction for reset buffer ( object CO_ABRECHN ) and put the NR status. so, you can transport it without preoccupation.
    Regards.

  • BAPI - Goods receipt and then create transfer order for a production order

    Hello Everyone
    We need to do goods receipt and then create transfer order for a production order (Material for WM scenario)
    We are using BAPI 'BAPI_GOODSMVT_CREATE'
          i_items-orderid = wa_afpo-aufnr .
          i_items-order_itno = wa_afpo-posnr.
          i_items-mvt_ind = 'F'.
          i_items-stge_loc   = wa_afpo-lgort.
         i_items-stge_type = '901'. "wf_styp.
         i_items-stge_bin = wf_sbin.
          i_items-entry_qnt  = wf_qty.
          i_items-entry_uom = wa_afpo-meins.
          i_items-entry_uom_iso = wa_afpo-meins.
          i_items-batch      = wa_zmobtag-charg.
          i_items-move_type  = '101'.
          i_items-move_reas  = wl_3131.
    We are passing i_items (like line of goodsmvt_item) along with other parameters to BAPI and its creating material document and Transfer order automatically. Problem is the TO created is showing destination storage bin as default storage bin( from material master).
    The field goodsmvt_item-stge_bin is just changing the Source bin details. There is no field for bin in the BAPI so that we can change the Destination storage bin as per our requirement.
    My requirement : Creating material doc and then TO. Material should move to specified storage bin.
    Please let me know any alternate way( No BDC) so that my requirement is achieved.
    Regards
    Swetabh

    Hi ,
    can u check these fields ,
    STGE_TYPE_PC     UBTYP     CHAR     3     0     Storage type for transfer posting
    STGE_BIN_PC     UBPLA     CHAR     10     0     Storage bin for transfer posting
    Regards
    Prabhu

  • PO Item : Delivery Tab - Goods Receipt and GR Non-Valuated

    Dear all,
    User highlighted for a PO which she was not able to do GR. When checked, we found that the line item, with account assignment "K" - the Goods Receipt and GR Non Valuated indicator is unticked. User further claim that, she did not untick both of these checkbox.
    These were the steps which i have done:
    1. Checked the config: IMG > MM > Purchasing > Account Assignment > Maintain Account Assignment Categories.
    Here i have confirmed that Goods Receipt, GR Non Valuated are already pre selected.
    2. Scanned thru the whole list of User Exit found under ME21N. No enhancement related to these two fields were found.
    3. Manually create a PO, with similar data in test server -- both the checkbox are pre selected by default.
    Given the checking done above: If user did not manually untick the checkbox -- where else / how else can Good Receipt and GR Non Valuated indicator be unticked ?
    Please .. appreciate it if someone could shed some lights on this area.
    Thanks in advance.

    Dear All,
    Many thanks for the prompt reply.
    Siva,
    In this case, the PO line item doesn't involve a material number. Therefore PIR is eliminated.
    Jurgen,
    Yes, i did actually simulate from scratch, the creation of this PO. Both the goods receipt and gr non valuated checkbox were actually ticked. It didn't jive with user's feedback which claim the boxes were originally unticked already.
    Sudhir,
    Yup, as material number is not involved, therefore PIR and material master is eliminated.
    Thru out the day, am quite glad to make some discovery. The PO was actually converted from a PR. And guess what ?
    In the PR itself, these two checkbox were already unticked ! I then simulated this scenario - create PR with untick checkbox and convert it to PO. And voila ! in the PO, both checkbox were untick as well.
    Now am in the midst of finding out -- why in the PR, at the very first place, goods indicator and gr non valuated are unticked. Checking with the process owner, as the PR was generated automatically.
    Thank you very much !

  • Import new quantity (PO Good Receipt) with serial number

    Hi,
    After reading all the threads related to this topic, Iu2019m a bit mixed-up.
    If my company is genuine new and Iu2019ve got no quantity in my stock, what is the best way to upload using a Good Receipt, quantities from a PO triggering at the same time creation of Serial Number?
    Thanks
    Stéphane

    Hi Stéphane,
    Good Receipt and Good Receipt PO are two different objects.  One is only inventory adjustment. The other is linked to PO.  GRPO would be better but more process would be needed including all PO imports.
    Thanks,
    Gordon

  • Asset number belongs to Goods receipt material Document Number

    Hi,
      I Created the Goods Receipt thru Internal Order, and i created the Goods receipt.
    After creation of asset, is there any way to retrieve the
    asset number belongs to Goods receipt material Document Number.
    Regards,
    Kiran.

    hi,
    use tcode ME2K
    A.

  • Report to Purchase Orders with Good Receipt and pending for Invioce Receipt

    Hello,
    I'm looking a report bring me Purchase Orders with Goods Receipt and waiting for Invioce Verificacion (MIRO).
    I appreciate any help.
    Regards,
    Hector

    Hi,
    ME2N - In selection screen, enter Selection parameters as
    WE102 i.e. Goods receipt exists and in output screen put a filter on "Still to be invoiced (qty)" and "Still to be invoiced (val.)" as not equal to zero OR greater than Zero.
    OR use RECHNUNG i.e. Open invoices and execute the report
    OR Use MB5S - GR/IR Balances

  • Link between storage location and batch number to retrive the salk3 field

    HI,
    In my report i need to give the output as follows
    For each lgort with related batch number we need to get the salk3.So i need to get a link between lgort , batch number to retrive the salk3.can any one give the tables from which i can get the link and retrive the data.
    note: My report output should look like the fields lgort batch  and unrestriced value of stock in tcode mb52.
    subhashini.
    Edited by: subhashinikb on Apr 1, 2011 9:38 PM

    Hi,
    In 2 steps, u can get the unrestricted stock value.
    step1: Get material no (MATNR), plant (WERKS), batch (CHARG) and unrestricted stock (CLABS) from table MCHB by sending Storage location and batch number.
    Step2: Get standard price STPRS from table MBEW based on condition where MATNR = MCHB-MATNR, BWKEY = MCHB-WERKS and BWTAR = MCHB-CHARG.
             unrestricted value in MB52 will be (MCHB-STPRS) * (MCHB-CLABS).

  • Goods receipt and GR non-val indicators in PO Delivery tab

    I'm trying to disable the buyer from being able to uncheck the goods receipt indicator or to check the GR non-val indicators in the PO (except in the case of multiple account assignment.  In OMF4 I changed GR/IR control and "Delivery completed" indicator to display in field selection group NBF.  In OMF2 I set GR indicator to display.  I also changed defaults in Maintain Account assignment categories. 
    In testing in ISX everything worked as expected.  I moved the config to QA and the indicators are disabled unless I enter a multiple account assignment which then makes the Good receipt and the GR non-valuated indicators changeable. 
    What am I missing?
    Regards
    Lillian Bucholz

    Check the field selection for AKTH, then ME21n, then PT0F and NBF (all should have optional) then A/C category make display.
    If still this not work then go to MM>Purchasing>Authorization management -->Define functional authorization for buyers
    (before that create the filed selection by copying me21n and change it as per your requirements and then assign here in field selection contrl field
    Define the function authorizations according to your requirements.     
    -  Specify the key and the description of the function authorization.  
    -  On the detailed data screen, select the authorizations for          
       functions that can be carried out by the user.                                                                               
    Enter the desired key as a parameter under the parameter ID EFB in the 
    user master.

  • Goods Receipt and Goods Return entries shows as Zero in PO history.

    Dear All,
    The Goods Receipt and Goods Return entries are showing as "Zero" in Delivery Cost Quantity, Amt. in local currency fields in PO History (T.Code: ME23N)
    What could be the reason?   How to find out the error?
    Expectiing valuable guidelines from the forum.
    Thanks in Advance.
    GB

    Hi
    Not ticked.
    GB

  • SAP R/3 goods receipt and issue process through RF

    Dear All,
    We need the below information.
    In order to setup RF enabled goods receipt and goods issue what basic infracture we need to have.
    we are not intersted in using WM module, with out WM we can go for this ??
    Is this the right forum to post this question...
    Abdul Raheem

    Hi.
    I've just carried out this architecture. You have to check 2 things:
    1- Are your DB software levels the same? (AIX + Windows)
    2- Have you checked connectivity from client to DB server?
    Regards,
    Fatih Erten

Maybe you are looking for

  • APPLE 30" Cinema Display and ATI Graphics Card compatability

    hi all I have a 2year old APPLE Dual proc G5 PowerMac 2.0mhz (1.5GB Ram) with an ATI graphics Card which is a ATI Radeon 9600XT 128mb ram. This currently works well dipslaying via a Apple cinema 23" screen. However i would like to upgrade the screen

  • Iphone 5 only "searching..." no internet, no signal, no info in top left screen with data plan, etc. WHY???

    Everything was fine with my phone just a few hours ago.  Then I got home from our Father's Day bash and found my phone to be "searching..." with no internet connection, no ability to text or call anyone, and everything I've tried as far as troublesho

  • Using Javascript to go to next page

    I'm trying to figure out how to advance to the next page in a captivate 3 course using Javascript. We have navigation buttons for "Prev" and "Next", but I'd like to be able to call some JavaScript when they click the Next button on a particular page,

  • Aperture 3.03 sync issue with Apple TV

    Hi to all, I would like to ask you for a help in the following issue: When I sync Aperture with Apple TV I then see that only masters were transferred. When I make some photo adjustments (without creating a version from master) they are not visible o

  • Append Long Text LSMW

    Hi guys, Currently when I use the Direct Input program, if Long Text Lines currently exist prior to running the direct input program, these are overwritten. Is there any way to cause the text lines to be appended to those currently existing in a Long