Problem for Goods Receipt for Subcontracting Purchase Order
Dear all,
Presently, we are using SAP version 4.6C and we need to introduce GR for
Subcontracting Purchase Order. We have developed a ABAP program to handle
subcon Goods Receipt by uploading flat-files from our subcontractor. The
scenario is as follows :
Goods Receipt for Subcontracting Purchase Order
1. In the ABAP program, function BAPI_GOODSMVT_CREATE will be used for goods
movement.
2. Data provided to the function are as follows :
- Posting date
- Document date
- Material number
- Plant
- Storage location
- Batch
- Movement type (101)
- Quantity
- Purchase order number
- Purchase order item
- Movement indicator (B - Goods receipt for purchase order)
3. The function will do data verification and automatically determine GI
item for subcon stock:
- Movement type (543)
- Special stock (O - parts prov. vendor)
- Material
- Quantity
- Plant
Our problem is that :
Only the GR item in the interface is to be transferred and the GI item is
determined by the system. So, the quantity for subcon stock cannot be
changed using this BAPI. Then the system will continue processing the goods
receipt and create material document.
Manually, by using transaction code MIGO, the user can display the subcon
stock data and then change the quantity.
By using transaction code MB01, after the user fills in all the GR fields,
the system comes to line item 002 (subcon stock data) and then quantity can
be changed.
As per user requirement, quantity for GI item must be same with the quantity
that has been transferred to subcon vendor in Delivery for Subcon
(transaction code VL02N).
We cannot achieve this requirement by using the BAPI mentioned above. Would
appreciate any valuable help from anyone who is able to help us on this
matter. Are there any other BAPI's that can help us to achieve the same
result ?
Thank you in advance and best regards.
As far as i understood the problem I suggest u to create the
BDC according to user actions that are performed in he manual
operation.
I can't say that the BAPI performs the exac solution what you want.
I have done some BDC work using MB01 and suggest you to be careful
and try to keep the complete in the logic as some chages in rows in BDC will
change the complete scenario.And throw correct quantity val in correct
material
row.
This methodology will help u even in mass uploads.
Or in case of automation u can perform the call transaction BDC in
background mode.
so As per my understanding bdc program is the solution. pls try and let me
know.
Similar Messages
-
Cant able to do UD for Goods Receipt Inspection against Purchase Order
Hi Experts,
I am facing problem while doing UD for Goods Receipt Inspection against Purchase Order.
The Problem is,
"Selected set code does not exist, or data entered is incomplete
Message no. QV121
Diagnosis
Code in code group * (selected set 1000 in plant ) does not exist.
Procedure
Enter a valid combination or complete combination, or make sure that the combination is available in the selected set."
And the Result Recording for Inspection lot is completed.
kindly suggest..
Thanks in Advance,
NaveenHi Naveen,
1. Go to QCC0 > Quality inspection > Inspection lot creation > Maintain Inspection Types > Select 01 (or the type which you are using) and double click on it.
2. Check what code is maintained in UD Selected Set
3. Create the same code in QS51 for your plant.
Regards,
Anand Rao -
Idoc for Goods Receipt against a Purchase Order
Hello Gurus,
I am Using message type WHSORD to generate an Idoc when a GR happens against a Purchase Order (Mvmnt 101).
Q. Can I use Message Controls to make this happen
If Yes, Then what would be the Output type (T-code: NACE). ( We have already tried ME Application type and MLGR & WE03 Output types)
If we cannot use message controls, then what method do I use to generate the Idoc.Hello Gurus,
Desperately need help.
Regards
Sri -
Menu path - for goods receipt for purchase order (MB01)
Hi
What is the menu path for Goods receipt for purchase order (MB01) - ECC6.0hi
the path is too deep
plz just log in ur system and find MB01
Materials Management > Purchasing > Master Data > Subsequent Settlement > Vendor Rebate Arrangements > Environment > Condition/Arrangement > Environment >Pricing > Environment Value assignment > Inventory management > Goods receipt >For purchase order > MB01 - PO number known
regards
KI -
Function module to check whether Goods Receipt of a Purchase Order is done.
Hi,
Is there any function module to check whether Goods Receipt of a Purchase Order is already done?
Taking into consideration reversals.
Thanks.Hi,
I think u can do this by using a simple select query.
u have to go in EKBE table.
put the PO no. in field EBELN + EBELP(line item) and get the material docuement no. in field BELNR + BUZEI(line item).
Thanks
Jitendra -
BAPI for goods receipt for subcontracting PO
Dears,
I Just want to confirm that whether BAPI "BAPI_GOODSMVT_CREATE " will do the goods receipt for the subcontracting PO. SInce I will be passing only 101 mvy type in BAPi, will the system automatically call 543 mvt type and post the consumption.
Require suggestions
Regards
KameshHi,
Yes, BAPI_GOODSMVT_CREATE will work for subcontracting GR as well.
It all depends on the parameters you pass to the BAPI.
Example give below:
*Item Parameters to be passed:
Ordered (Subcontracting) Material:
Parameter Field Description Value
GOODSMVT_ITEM MATERIAL Material Number 100-200
PLANT Plant 1000
ENTRY_QNT Quantity in Unit of Entry 0.000
MOVE_TYPE Movement Type 121
PO_NUMBER Purchase Order Number 4500000007
PO_ITEM Item Number of Purchasing Document 00010
MVT_IND Movement Indicator O
LINE_ID Unique identification of document line 000001
PARENT_ID Identifier of immediately superior line 000000
Note: Quantity of ordered material must be zero.
Component Material 1:
Parameter Field Description Value
GOODSMVT_ITEM MATERIAL Material Number 100-100
PLANT Plant 1000
ENTRY_QNT Quantity in Unit of Entry 2.000
LINE_ID Unique identification of document line 000002
PARENT_ID Identifier of immediately superior line 000001
Note: LINE_ID should be incremented for each component and the PARENT_ID remains same for all the components of an ordered material. Component negative quantity can be given in case of Under Consumption.
Component Material 2:
Parameter Field Description Value
GOODSMVT_ITEM MATERIAL Material Number 100-100
PLANT Plant 1000
ENTRY_QNT Quantity in Unit of Entry 3.000
LINE_ID Unique identification of document line 000003
PARENT_ID Identifier of immediately superior line 000001 -
Steps For Goods Receipt For Work Order Using Handling Units
Hello MM gurus,
I'm new to HU Management. Can you please share with me the steps for executing a "Goods Receipt For Work Order" using Handling Units?
I created a HU (1000000026), and then using transaction COWBHUWE I tried using that HU to create a goods receipt, but I keep getting the message below:
Handling unit 1000000026 is not provided for goods receipt
Message no. VHURM046
Do you have to assign/plan HUs to Process Orders first? I think the problem is that I'm not understanding the process or the requirements for a goods receipt for work order using HU.Hello Manish Kumar,
I've been doing Handling Units testing in our sandbox environment and I've been trying to Pack a Finished Product for a Process Order using
1-Transaction code HU02 to create the Handling Unit
2-Transaction COWBHUE after creating the HU to enter the production order number and the HU number and propose it, but the it doesn't work. When I propose it, nothing happens.
3.-I also tried COWBPACK, but for some reason, when I go into COWBPACK, key in the Process Order, and then press enter, I get the following message:
You do not have authorization to create handling units for plant BP08
Message no. VHUPD500
Do you know how to solve this issue? -
BAPI needed for goods receipt for delivery created from sales order
Hi experts,
I need help.
I want to post goods receipt for the delivery created from sales order. I have tried out BAPI BAPI_GOODSMVT_CREATE but I am not able to post it.
Is there any way to post this? I need BAPI and not FM MB_*....
Thanks & REgards,
Bhavin A. ShahHi,
Please refer to link,
https://wiki.sdn.sap.com/wiki/display/Snippets/BAPI_GOODSMVT_CREATE-ABAP
Regards
Shree -
Goods receipt without a purchase order
hellow experts,
I created a good receipt in MIGO with out a purchase order, the saving icon refuse to highlight i.e is not highlighted, so i cat save the goods receipt. I dont know if it has something to do with the configuration? if the system is configured not to accept a goods receipt without a PO.?. I will really appreciate if there is a way for me to make the save icon active, thanksThanks experts for your reply so far,
I would like to know the G/L account to assign to the good receipt without a purchace order, because most of the GL account I have tried from my list has been given me messages like, "it is not possible to post directly to this account", and some other errors
your contributions would be highly appreciated. Thanks -
BAPI/FM for goods receipt for a Sub Contracting PO
Hi All,
Is there a BAPI/FM to perform goods receipt for a sub contracting PO? BAPI_GOODSMVT_CREATE can not perform goods receipt for sub contracting PO.
My purpose would be served if I can know how to find the component material of a subcontrcting PO.
Please help.
Thanks,
RanaThanks for your input
Well, I wanted to ask if the BAPI is capable of performing GR for SC PO. Instead of a question, that went as a statement :-). Your recommendation helped me to find answer to my question.
Thanks again. -
Need to specify different price on Goods Receipt than on Purchase Order
Hi!
My application creates Goods Receipt (object of type SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes). This Goods Receipt is based on an existing Purchase Order. Creation itself (including the reference to the Purchase Order) works well.
The problem is that using DI API, price in a document line is always set (automatically) to the price specified on the Purchase Order line. I'm not able to set the unit price to any other value. When I assign my unit price, document is added successfully, but my unit price is ignored. Unit price specified on the appropriate line on Purchase Order is used instead.
Thanks for help!
JanHi! I'm using SBO 8.81. I put my C# code below. The %xxx% strings are just symbols - for simplification.
SAPbobsCOM.Documents oPurchaseDeliveryNotes = (SAPbobsCOM.Documents)SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes);
oPurchaseDeliveryNotes.CardCode = %CARDCODE%;
oPurchaseDeliveryNotes.DocDate = %DOCDATE%;
oPurchaseDeliveryNotes.TaxDate = %TAXDATE%;
bool first = true;
while(...) {
if(!first) oPurchaseDeliveryNotes.Lines.Add();
oPurchaseDeliveryNotes.Lines.BaseType = (int)SAPbobsCOM.BoAPARDocumentTypes.bodt_PurchaseOrder;
oPurchaseDeliveryNotes.Lines.BaseEntry = %DOCENTRY_OF_PO%;
oPurchaseDeliveryNotes.Lines.BaseLine = %LINENUM_OF_PO%;
oPurchaseDeliveryNotes.Lines.ItemCode = %ITEMCODE%;
oPurchaseDeliveryNotes.Lines.Quantity = %QUANTITY%;
oPurchaseDeliveryNotes.Lines.Price = %UNIT_PRICE_DIFFERENT_FROM_PO%;
oPurchaseDeliveryNotes.Lines.Currency = %CURRENCY%;
first = false;
oPurchaseDeliveryNotes.Add();
Althought the unit price on the Purchase Order is for example 7 and in my code I assign the Price property for example 9, then when the document is successfully added, I see that on newly created document the unit price is still 7 (same as on PO). Value 9 is ignored without any errors or warnings.
When I remove the code which connects this Goods Reception with PO (i.e. assignment to BaseType, BaseEntry and BaseLine properties), created document is correct. However when there is a connection to PO, I'm unable to set different unit price.
Do you or anybody else have explanation for this? Or do you have some piece of working code you can provide?
THANKS! -
Goods Receipt value in Purchase Order History
Hi Experts,
I raised a PO with Account Assignment category as "K" for 100 quantity with a value of 1000.
GR non-valuated option is ticked in "Delivery" tab in line items.
When posted a GR for 25 NUmbers the Purchase Order History is updated with "0,00" in Amount column.
If this is because of GR Non-valuated option used then please let me know where the amount with correct value is stored in Database tables.
Note: I have use only GR Non-valuated option.
I want to know where the correct value of the stock received is stored.
Regards,
Nani.Hi
By assigning K you will have 3 things in default unless uou change them manually. 1. Goods receipt , 2. GR Non-valuated, Invoice receipt.
When you do a GR then this account gets posted against the G/L you have assigned manually at PO or against the the acct. modifier VBR in OBYC, that is it is consumed directly. So you will not have any stock valuation like raw or other materials.
Now when you carry out Invoice verification you get the postings regularised against the acct assignment object(K) and the vendor outstanding/GR/IR account.
Once IV is done you can check the details of your posting.
Regards -
Don't want a Goods Receipt PO without Purchase Order
Hello Experts,
I am looking for a solution that Goods Receipt PO must be restricted as no Goods should be received without Purchase Order.
Is it possible ?
Help Required ....
Thanks & Best Regards,Hi
This restriction is possible only by the 'SBO_SP_TransactionNotification' Stored procedure.
You can learn more about this stored procedure from the following link:
[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e991e2b9-0901-0010-0395-ef5268b00aaf]
The following is the code which restricts GRPO created without PO
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
ALTER proc [dbo].[SBO_SP_TransactionNotification]
@object_type nvarchar(25), -- SBO Object Type
@transaction_type nchar(1), -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
@num_of_cols_in_key int,
@list_of_key_cols_tab_del nvarchar(255),
@list_of_cols_val_tab_del nvarchar(255)
AS
begin
-- Return values
declare @error int -- Result (0 for no error)
declare @error_message nvarchar (200) -- Error string to be displayed
select @error = 0
select @error_message = N'Ok'
IF (@object_type='20')
BEGIN
/* Purchase Delivery Note (Goods Receipt PO)*/
if (@transaction_type='A')
BEGIN
IF (SELECT max(ISNULL(T0.BaseEntry,-1)) FROM PDN1 T0 WHERE T0.DocEntry = @list_of_cols_val_tab_del) != -1
BEGIN
set @error = 0
set @error_message = N'Ok'
END
ELSE
BEGIN
set @error_message='Goods Receipt PO cannot be created directly. Copy from PO'
set @error=1
END
END
END
-- Select the return values
select @error, @error_message
end -
Block the goods receipt against a purchase order without a record condition
Dear
I need to block migo against a po if FRB1 record condition price have price value 0
I need to block only MIGO not the creation of the purchase order.
How can I do this ?
Thanks.hi,
Yeah its placed at the item level of the PO, which states wheather GR is possible for it or not...if we uncheck it GR will not be posted...Check Delivery tab in the PO item details...
But in your case you have to go on with condition type...
Regards
Priyanka.P
Edited by: Priyanka Paltanwale on Oct 18, 2010 5:10 PM -
Goods receipt in intercompany purchase order
Hi,
In case of an intercompany purchase order ( plant to plant with different co. codes) when Goods Issue is done in supplying plant and Goods Receipt is done in receiving plant, then still reversal of Goods Issue is possible and stock gets updated in both the plants after reversal.
In supplying plant it is added equal to reversed qty but in receiving plant it does not get cancelled but remains the same as after GR
Logically system should prevent the reversal but it does not happen
The same case with stock transport order ( plant to plant in a single co. code) if executed system prevents GI reversal if GR is already done
The movement type called in intercompany flow is 643 where as in stock transport order it is 641
Can somebody explain the reason?
Nitinhii
Its possible to change the order number while doing GR- MIGO.
Go to ME22N, before GR do the changes in order in account item category in item level tab in PO.
Then do GR .
Thanks
Maybe you are looking for
-
Apple TV - refresh list of photo albums to display
Hi, I'm sharing my Aperture photo library through iTunes so we can have big screen slideshows. I have noticed that when I create a new album in Aperture it seems to take a fairly long time before the new album shows up in Apple TV as a viewable optio
-
Need to wipe hard drive, don't wan't to lose adobe package..
My mac has slowed up completely as it has too much junk etc. on there... I have photshop etc installed with my adobe ID, if I wipe the hard drive to clean it up it'll delete my software, can I just re-download it as I have my ID online?
-
HT3529 How do I append a "signature" to my outgoing messages?
Is there a way to append a "signature" to all outgoing messages on the iphone?
-
Data Access Object Connection Factory
Hi All, i am working in J2EE design patterns project, almost project is going to be end, it will be in fine tuning stage, so in fine tuning we are going to do "connect any type of database to the server" means now, presently we are accessing only ora
-
Hi I have such problem with exchange data with excel as below: 1- I export the data from P6 to Excel 2- working in Excel then save<br />3-Import the same file to P6 But I lost it's WBS How I kept the WBS for imported axtivities? Regards Hady Shendy,