PO Goods Receipt with Serial / Batch number with DI API
I am creating PO Goods Receipt with DI API. This works fine. But when i have items with serial numbers and batch numbers in the same PO, then i am getting either of the following errors:
1. [OITM]Item has no serial number management
2. [OIBT] Invalid Item Code.
I debugged the code and the values i set seems to be correct. I am using VB.Net and SAP 2004 with Patch 23.
Thanks
Anand
Anand,
When you are working with a Serialized item in the first scenario, have you tested working with the item in the Business One application itself? Have you tried to have the system assign a serial number for the item when issuing a Goods Receipt? Do you get the same issue through the Business One interface. With respect to working with Batches, have you setup the Batches for inventory items through the Business One interface yet? If you have not setup Batches, this would be why you would not have any data in the OIBT table.
HTH,
Eddy
Similar Messages
-
Same Batch Number with different characteristics value
Dear Gurus,
I have the following scenerio:
The finished goods should be maintain in batch with external number and at the time of confirming the finished goods in co11n the client want to capture the finished goods value like length, width and diameter.
So we propose the batch characteristics with class type of 022 for finished good and we maintain the character as length, width and diameter under the batch class 022 and assign the batch class in finished good classification view.
Now the requirement is we want to capture the batch characteristics value length width and diameter with same batch number for multiple confirmation.
Example:
Confirmation Batch number batch Class Length width Diameter
1 1000 022 100 50 20
2 1000 022 120 25 10
3 1000 022 150 70 30
Now at present we are trying to capture the batch characteristics with same batch number but our standard system will not allow to maintain the different batch characteristics value under same batch number. If we overrite the batch characteristics in msc2n transaction the last value maintained be copied to all batch number. but we want same batch number with different batch characteristics value.
Please share your idea and try to solve..
Regards,
VimalDear Vimal,
It is not possible to maintain multiple batch characteristics in one batch.
Work around is to create original batches and assign to your production order. During CO11N, generate one batch per confirmation. There is a report in batch information cockpit to link between original batch and batch per confirmation.
Rgrds, -
Hello SAP Experts,
My Client has a unique requirement, they want system to track Batch number with Box number.
For Example if Batch number for incomming material is 123456, and if the entire quantity comes in 3 boxes, then the system should track the quantity as 123456/1 , 123456/2 and 123456/3.
Moreover, client wants to issue the materials box wise.
Is there any standard way of capturing this requirement.
Reply is awaited.
Regards
Prabhjot SinghHello,
Is there any way, by which I can assign Internal number ranges to the Batches in this scenario.
I have also tried to explore Handling unit management but in that case also we need to pack the material inside, but in my client's scenario they get the box from vendor and store it as it is.
Looking for positive solution.
Regards
Prabhjot Singh -
How to modified automatic batch number with plant and current year details
hi all,
i want tomodify automatic batch number with plant and current year details. if any one understand plz explain.
thanks,
radhakrishna.Hi,
I am not clear what is u r requirement exactly?
I mean you don't want automatic batch no or modify the batch no. with plant means and Current year details means. Can give details more
Regards
Ganesh -
Order with Serialized PTO Item with IB reference and Serial Number
I want to get to Orders with Serialized PTO Item with IB reference and their Serial Numbers.
I would like to know how I can link sales orders to IB. I wrote the foll. sql query but I am not sure if this is accurate. I am fairly new to this.. so any help is appreciated.
SELECT DISTINCT oeh.order_number,
--oel.line_id, oel.ordered_quantity, mtl.inventory_item_id,
mtl.segment1 part, mtl.item_type,
cii.serial_number
FROM apps.oe_order_lines_all oel,
apps.oe_order_headers_all oeh,
apps.csi_item_instances cii,
apps.mtl_system_items_b mtl
WHERE oel.inventory_item_id = cii.inventory_item_id
AND cii.inventory_item_id = mtl.inventory_item_id
AND mtl.item_type = 'PTI'
AND oel.header_id = oeh.header_id
AND oel.org_id = oeh.org_id
AND oeh.sold_to_org_id = cii.owner_party_account_id
AND cii.serial_number IS NOT NULLYou want instances that are at the customer site right (last transaction is shipping) or all the instances that have been shipped before no matter what the current status is. Instance could have been returned and shipped again and so on or just returned and disposed.The second question will yield more instances compared to the first one.
Thanks
Nagamohan -
Good receipt for serialized material
Hi
We are using Serial number functionality. When we do good receipt for serialized material, we canu2019t enter more than 6 serial no together. Generally we used to procure 50 -100 materials. We will get serial no to excel sheet by barcode scanner. But when we entered in SAP, system allows only 6 material .
Is there anyway we can copy from excel sheet and paste it in SAP all materials together.
Thanks
JenyHi
Yes there is a way of uploading more than 6 materials at a time in MIGO screen,
You need to first upload or create the serial numbers for the material using an LSMW for IQ01 & here donot give any plant or storage location specific details
At the time of Goods receipt Copy the material serial numbers by clicking on find in MIGO in serial number tab, you need to enter the material & serial numbers copying from the excel sheet & click execute this will list all the serail number , you can select them all & copy into the MIGO screen.
This is how we didi it in our system.
Thanks & Regards
Kishore -
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
manasHi,
Just have a look if this thread can solve ur problem.
Re: display goods receipt
Rgds,
Prakash -
Available Serial/Batch Number under the bin location
Hi Expert,
When applying bin location in SBO 9. Each line need to select particular bin location for counting. Now, i encounter a problem to list out the available serial/batch number under the bin location.
i am able to get the list of serial number but lacking the bin location filter.
SELECT ROW_NUMBER() OVER (ORDER BY T2.ItemCode) AS 'RowHeader', T2.ItemCode, T0.BinEntry ,
UPPER(T2.DistNumber) AS 'MnfSerial', T2.InDate, T1.WhsCode FROM OSRQ T1 INNER JOIN OSRN T2
ON T1.SysNumber = T2.SysNumber AND T1.ItemCode = T2.ItemCode
INNER JOIN INC1 T0 ON T0.DocEntry = 1
WHERE T1.Quantity > 0 AND T1.ItemCode IN (SELECT ItemCode from
INC1 WHERE DocEntry =1)Hi,
Check these tables :
OSBQ
OBBQ
Regards
Edy -
Goods Receipt without Serial number?
Hello Experts,
Is there a way to do goods receipt on a material without entering the serial number even if the material is maintained with a serial number profile?
Is there some type of special stock you can put the material into where you do not need to enter the serial number?
rgds
GARNope. If a material is serialized it will require a serial number. The only other way i can think of is having another plant where that material resides and unserialized but its not recommended.
Regards
Adeel -
DIAPI - Create Goods Receipt for Serial Number - on Release Only
Hi Experts,
I need your advise to create Goods Receipt by using DIAPI, where the item is managed by Serial Number - on Release Only.
The option that I'm exploring is to use ‘Automatic Serial Number Creation on Receipt’ turned on.
In standard SAP function with the above setting, we can create a Goods Receipt without entering any Serial Number, and SAP will automatically creates empty Serial Number. I'm trying to do the same thing by using DIAPI with the below code.
oTargetDocument.Lines.ItemCode = 'abc'
oTargetDocument.Lines.WarehouseCode = 'whs'
oTargetDocument.Lines.UnitPrice = 100
oTargetDocument.Lines.BinAllocations.BinAbsEntry = 1
oTargetDocument.Lines.BinAllocations.Quantity = 1
oTargetDocument.Lines.Quantity = 1
'-- I skipped the below code, expecting SAP will create the empty Serial Number automatically
' oTargetDocument.Lines.SerialNumbers.SetCurrentLine(0)
' oTargetDocument.Lines.SerialNumbers.InternalSerialNumber = 2
' oTargetDocument.Lines.SerialNumbers.Add()
' oTargetDocument.Lines.BinAllocations.SerialAndBatchNumbersBaseLine = 0
oTargetDocument.Add
But, it returns 1470000838 - Invalid "SerialAndBatchNumbersBaseLine"; specify a valid "SerialAndBatchNumbersBaseLine"
Can anyone please advise how we should achieve this?
Any example or reference is very much appreciated.
Thank you and kind regards,
KrismaHi Krisma,
I was trying to simulate the issue here, but I couldn't post a good receipt PO even from the SAP itself with the setting you mentioned.
I have set the management method as 'On Release' and ticked the Automatic serial number creation flag as well under general settings of inventory. Is that the setting you mentioned or something else?
Best Regards,
J S L Geeganage -
Goods Receipt Not Possible for PO with Free Item Checked (Tick Mark)
Hi Team,
We have a PO with one line item where the free item check box is ticked and net price is blank.
When we try to make GR with respect to the PO via T Code MB01 we are getting error as " No goods receipt possible for purchase order xxxxxxxxxxx for item xxxx "
Thanks
VijayHello,
You can find confirmaton control under following customization path;
SPRO>>Materials Management>>Purchasing>>Confirmations>>Set Up Confirmation Control
Execute and select 004 (Inbound delivery) and double click on confirmation sequence.
004 is inbound delivery.
Also make sure that you first need to go to ME22N and then in item detail of purchase order tick the check box of confirmation required. Once this this is ticked you can create inbound delivery.
You need to create inbound delivery with VL31N.
Go to VL31N >>Enter PO number and execute. and save the delivery.Now confirm the transfer order with LT12 which is created and do the post goods reciept.
BR,
Tushar -
Dear All,
With regards to clients requirement, at the time of Goods issue form either one storage location to other Sloc or one plant to other plant in the batch field when i put F4 and after providing receptive material and plant the list of available batch showing.
but here i need, it shows the available batch along with the quantities.
So kindly reply is their any standard setting is available for that or if any suitable enhancements to meet this requirement ????
Waiting for your reply....
Thanks and Regards
AKSDear Jurgen,
Thanks for your help and according to the instruction I created the Search field but the issue is when I put all those data in the receptive field It shows the Batch number only it won't shows me the batch and the receptive available quantity .
So kindly suggest me in this regards.
Thanks
AKS -
Listing Batch Number with transaction detail
We use the Sales Order Usage Indicator to designate a Site location for order materials we supply to customers' building sites and I've written a report that lists component material details used in the Production orders created per sales order for each of those sites. What the user department would like is for the batch managed items detail to include the batch number associated with the material.
However, I'm finding it difficult to find which file this batch number data is actually in. I've found some batch numbers in RESB (which I use to get the component material number and configured data) but out of the millions of records in there only about 66 have the batch number included in the record. The other files I've checked that include the batch number field do not have any data in it. It is at component level that the batch field should have a batch number included.
Can anyone please advise as to where I can find the relevant data to complete my report.
FYI, I start with getting Sales Orders with selected Usage Ind in from VBAK, then pick up relevant sales order item data from VBAP with joins to MARA and MAKT for basic material data.
I get the Production order number from AUFK using the Sales order number and then I chain to RESB for the component material data using the Productioon order number. I pick up the batch field from RESB at this time but so far it has always been empty.
Thanks very much
Jim JacksonThanks, Jurgen
I was hoping to get away without using the MSEG file because of the size implications and resultant search time - as per BSEG on the financial side of things.
Anyway thanks for the confirmation of what I need. Much appreciated.
Best regards
Jim -
Non-valuated Goods Receipt for Purch.Order Item with multiple acct assgnt
Dears,
i used multiple account assignment functionality based on percentage for purchase order item and the system forced the goods receipt as "Non-valuated Goods receipt".
In this way i don't have FI-CO documents at Goods receipt; i got them only at Invoice verification. So i totally lose analysis on account "Invoice to Receive".
Please, give me some suggestion if you know something in matter.
Thanks in advance,
Regards
EnricoIt means that i didn't set non-valuated goods receipt.
The system automatically set the flag if more than one account assignment are used for one purchase order item.
If happens that just one account asignment is used for one purchase order item then the goods receipt is still valuated.
i didn't try so far with quantity instead of percentage but, anyway, i need to use percentage. -
Problem with field "batch number" and table "et_item" at BBP_CONF_CHANGE
Hi experts!,
I have a problem when I use the badi BBP_DOC_CHANGE_BADI and with the method BBP_CONF_CHANGE.
I want to fill the field "batch number" at web SRM with the PO number, I thought to write it at suitable or appropriate field at table "et_item" but this table has not any similar field which I can write it.
Thanks in advance.
Best Regards.Hello,
we cannot fill the BATCH field because it is not available in the table ET_ITEM in the method BBP_CONF_CHANGE.
Do you know how can we fill a default value in this field when the user is creating or modifying a confirmation item?
Thank you.
Best regards.
Maybe you are looking for
-
Hi friends, need some help on this. I have to store data in a data base table. basically the table will have millions of records. I have a program which updates/creates/deletes the data in this heavy table in background job. But strong point i want t
-
How to make new stationary in Mail
Hi there. I am trying to make a new mail template to send out some company info. I understand the principal of creating an email then >save as Stationary but I can only put images left center or right. I would like to create something close to t
-
"Either 10 sec with no data" or "Insufficient bandwidth"
Have been trying for past two weeks since I got this computer to successfully video iChat with someone. I live in Orange County, New York (ISP Cable - Road Runner) and my family lives in Tacoma, WA. They have the identical system I have - they have c
-
2 ThinkVantage System Updates refuse to install
Fired up the ThinkVantage System Update program yesterday and today and I keep getting the same two updates in the Optional updates tab, ThinkPad Power Manager and Lenovo AutoLock. Selecting both and pressing Next goes through the download and insta
-
Hi, I have to generate a tree kind of list(nodes collapsable and expandable)based on a table. My table is containing 3 fields relevent to this task. one field(F1) contains nodes, second field(f2) contains the parent node of node in F1, the third fiel