Goods issue transaction error....

hi ,
I'am trying to post a goods issue transaction using the following code.
Dim lRet As Long
Dim strItemCode As String
Dim oWOut As SAPbobsCOM.Documents
Set oWOut = oCompany.GetBusinessObject(oInventoryGenExit)
strItemCode = "9119"
oWOut.Lines.ItemCode = strItemCode
oWOut.Lines.Quantity = 1
oWOut.Lines.WarehouseCode = "2280"
oWOut.Lines.SerialNumbers.SystemSerialNumber = 756
lRet = oWOut.Add()
If lRet <> 0 Then
MsgBox oCompany.GetLastErrorDescription
End If
End Sub
I get an error code 5002 with no error message.can anyone clarify on this please..
Regards
TT

Hi Tim,
You are not setting the mandatory property of the header object (Document).
oWOut.CardCode = ????
Then when you add the document it contains required data in the header.
Regards,
Felipe

Similar Messages

  • REVERSE GOODS ISSUE ENCOUNTERED ERROR MESSAGE

    Dear Experts,
         When do the      reverse post goods  issue VL09  the movement type is 601 encountered a error message-'
    "HU ITEMS's   MATERIAL POSTING IS INCONSISTENT " after configuration changed for HU no. from non-unique to unique.
         Could u anyone please advise me solve this issue?
         Thanks in advance
    with regards
    s.anbu

    Hi
    Implement the program correction in function module HU_CONSISTENZ_CHECK
    Do check support package and release
    Please refer
    Note 702800 - Error with reversal, HU inconsistent
    Regards
    Jitesh

  • Error at the time of Post Goods Issue

    Dear All,
    I am getting an error when I am doing the post goods issue the error says that Field Selection Movement Type 601 Differs for Business Area.Though we went to the respective table RM07CUFA and rectified the same what could be the cause of this error and why does this happen.
    Best Regards
    Atul Keshav

    Hi,
    The reason for this error is because of field group in movement type and accounts might be differ.
    You can check the same as below :
    Go to transaction OMWB ---> click on simulation ---> mention plant and material and movement type
    and click on account assignments
    Now click on check screen layout
    Now check for Business area in additional account assignment whether entry is required in movement type and supress in GL accounts.
    Changes the fields status then.
    This will solve the issue

  • Error during the time of Goods Issue

    Dear,
    I facing a problem during the time of MIGO i.e. Goods Issue.
    Error Is :- Please enter relevant Profit center for Business area.
    Kindly help
    Thanks & regards
    Varun Bisaria

    Hi,
    Please check assignment of Business are and porfit center against cost element in OKB9,maintain the same and try.
    Hope this will resolve your issue.
    Regards,
    Sandesh Sawant

  • Transaction variant for Goods Issue going back to MB1A transaction screen

    Hello,
    I have created a transaction variant ZMB1A for Goods issue.
    When the goods issue transaction completed by using ZMB1A system again going back to the initial screen of MB1A. (Since it is the base of MB1A)
    Here the issue is everytime user had to enter the ZMB1A transaction. (for example if the user wants to issue material for different plants).
    Please suggest any suitable method to avoid the above multiple t code execution.
    Regards
    Rifaie M

    Hi,
    In SHD0, do the complete processing of Transaction MB1A during creation of Transaction Variant "ZMB1A" till posting of the Material document.
    To create a new T-Code as ZMB1A, go to Transaction SE93 and here enter Transaction Code as ZMB1A and Click Create button. Now enter Short text of Transaction and select option "Transaction with Variant (Variant transaction)" and press enter.
    Here enter following;
    Transaction             MB1A
    Transaction variant     ZMB1A
    Activate "Cross-client"
    Select Professional User Transaction
    Activate SAP GUI for HTML
    Activate SAP GUI for Java
    Activate SAP GUI for Windows
    Now Click SAVE button.
    Now you can start using Transaction ZMB1A which will call Transaction Variant ZMB1A.

  • Unable to do a goods issue with a movement type with no consumption posting

    Dear Colleagues,
    I have a customer who sellls books, some of these books are printed on demand and hence no inventory is maintained and other books manage inventory as stocks are maintained.
    SD Orders and deliveries are managed for these products.
    However , the customer would like a process in the SAP delivery document to represent the goods leaving the printing plants, ie the goods issue.
    As for materials that do not manage inventory are not visible from the VL06G ( Outbound deliveries for goods issue) transaction. I configured a 'dummy' movement type and assigned it to a schedule line.
    The movement type has the setting 'consumption posting' removed.
    After doing this, the deliveries show up in VL06G, but when attempting to do the post goods issue, I get the following error message  "Deficit of SL Unrestricted-use "
    I have checked all the config that I know and there should not be any availability checks, but shome how it is being checkad at goods issue. Help!!! What am I missing?
    Many thanks
    Henry

    Hello
    From my point of view you need to use a Non Stock Material  (Material type: NOST)  to manage the books .
    then you sell books as you are selling service
    Best regards
    Meher

  • Goods Issue to sales order

    Hi Experts,
    When doing Goods issue to sales order using movement type 231, I am getting the following warning message 'Sales order (SOBKZ = ) is not provided for this goods movement'. I think this warning is due to difference in special stock indicator in sales order and Goods issue transactions. Where should be the maintanence done, in order to prevent this warning message in future.
    Regards,
    Prasanna. R

    Dear Prasanna
    The special stock indicator is not maintained for your sales order item category in VOV7
    Hence the error
    Please maintain special stock indicator E in the item category  details in VOV7 for your item category of yours
    231 Goods issue for a customer order (without Shipping)
    I hope you are doing this only
    If you ignore this as a warning message it will hit somewhere down the process
    So better maintain it in item category
    Regards
    Raja

  • Not able to post goods issue in case of delivery against a repair order

    A faulty part was received from customer and repaired and further it has to be sent to customer. Then delivery has been created. Also handling unit has been assigned. Now at the time of post goods issue, following error is appeared.
    "Deficit of sales order stock".
    When I checked with transaction MMBE, I don't find any stock assigned to this order.

    Hi Atul
    Please ensure that the settings is as per the followign link
    http://help.sap.com/saphelp_47x200/helpdata/en/00/044f350bea3278e10000009b38f839/frameset.htm
    Thanks
    G. Lakshmipathi

  • Goods Issue indicator

    Hi,
    Goods Issue indicator error in (Tcode MIGO > Movement type - 123)
    One excisable item has been returned to vendor (122 movement) wrongly, now when I am trying to revrese return to vendor delivery (123 movement type) for the same getting following error -
    Please enter Goods Issue indicator
    Message type__________ E (Error)
    Message class_________ 4F (Message class for India localization)
    Kindly suggest me the tcode OR path to maintain Goods issue indicator for this item.
    Same process I have doen for another excisable item no such error comes at that time.
    Thanks & Regards
    Sumedha
    Edited by: Sumedha Arya Hanspal on Feb 24, 2010 1:42 PM

    This transaction is not having 122 or 123 movement types..
    This issue is not related to SPRO, as the same reversal done for another item smoothly, this is related to particular item for which I need to set Goods Issue indicator.
    regards
    sumedha

  • Restrict goods issue if stock on posting date is zero

    Requirement:
    Current Inventory period : July 2011
    Stock of a material from 01.07.2011 to 30.07.2011 is zero(in MB5B report)
    I upload stock of material  or GRN occur on 31.07.2011. Say Quantity u2013 100
    Now stock as on 31.07.2011 is 100 in MB5B
    Still, Stock of a material from 01.07.2011 to 30.07.2011 is zero(in MB5B)
    Now, If I do goods issue of a material quantity 100 on 15.07.2011. System allows goods issue. though opening and closing stock as on 15.07.2011 is zero.
    After goods issue transaction if I check stock of material on any date between 16.07.2011 to 30.07.2011 , The opening stock and closing stock shows negative.
    I want to restrict goods issue if stock on posting date is zero or less then stock available on posting date.
    Please suggest

    Hi,
    This is not the way SAP is designed. As the previous speakers wrote (and as you noticed yourself), SAP maintains stock figures in the database per month rather than per day. MB5B makes complex calculations in order to find out how much stock you had on a specific date - as you probably noticed on the response time. Performing such calculations every time you do a GI would be unfeasibly heavy task for the system - remember there are organisations that perform hundreds of inventory movements a minute!
    An alternative solution I suppose would be to maintain the daily stock figures in the database. This would make the finding of the stock figure very quick, but on the other hand, the maintenance of such table would be unfeasible - if you post today a GI on say July 1st, you would need to calculate 36 stock figures and update 36 database records!
    Hope this explains the technical issue.
    BR
    Raf

  • Item Cost FIFO was wrong when Goods Issue. How to slove it?

    Dear Experts,
    I met item cost of FIFO item was wrong when I did Goods Issue. The scenario is I did goods receipt from PO that item cost was 8.02 per unit. Then I saw in the inventory audit report that item cost was 8.02 per unit. That's right.
    But after that I did goods issue the item cost was 7.485 per unit. And I check to Journal Entry and Inventory audit report were posted the wrong item cost, 7.485 per unit. What source does the system bring to calculation item cost for goods issue?
    I access to SQL for check OINM and OITM table. Both of OINM and OITM's item cost were correct in the goods receipt transaction, but they booked wrong cost, 7.485 per unit, in goods issue transaction. I don't understand the logical that SAP B1 use to calculation item cost that use for goods issue.  In the past I think the table that related to item cost calculation was only OITM, OITW, OINM, but now I think I misunderstand it due to this case.
    Regards,
    Pornrat  Trisauvapak

    Dear Gardon,
    I use the FIFO for calculation and in this case has only one lot remain, that cost 8.02. Now I observe OINM table again all field are correct except OpenValue field. I'm not sure this field is related to item cost of goods issue, or not?
    Regards,
    Pornrat Trisauvapak

  • Goods Issue activity creation for Funds Management Actuals Budgeting

    Hi All,
    We have implemented the commitment budget (PR/PO/GRIR) process at our workplace, and now we need to budget the actual consumption too (Goods Issue)
    While trying to assign a strategy, I find that in the Activity Group, there is no Goods Issue activity group, but there are groups like Purchase Orders, Purchase Requisitions, Actual Posting, Controlling Posting etc defined for group numbers like 20,30,40,60, etc.
    Do we need to create one, before we start budgeting the actuals too through the Goods Issuing process ? In that case, for the derivation strategy for this Goods Issue process, what value type and CO business transaction needs to be given to map it ? The value types too are categorised like invoices, payments, funds block, funds reservation, etc and the CO business transactions are FICA, RMBA, RMWA, etc, but there is not Goods Issue Transaction type.
    Regards,
    Wy

    Hi Eli,
    Thanks for the inputs !!
    I suppose you meant Goods Issue comes under Value Type "54",  which is named Invoices.
    I checked out for possible derivations in the AVC Activity Groups and found a CO Business Transaction RMWL - Possibly felt that there must be a derivation with this and value type 54 to get the correspoding activity 40 "Actual Posting" - I got a bit confused seeing a separate Goods Issue transaction type and thus felt that there might be a separate activity group too.
    Regards,
    Wy

  • Goods issue for Individual PO

    Hi friend,
    when doing third-party "Individual PO" (item category group BANC, item category TAB) , do we do a Goods Issue?
    If so, what transaction for Goods Issue do we use (MIGO, MIGO_GI, MIGO_TR, MB1A, VL01) ? What Movement Type
    gets triggered when we do a Goods Issue for "Individual PO" ?
    Also, in the Sales Order(VA02) -> Procurement tab, the Schedule Line is CB which is tied to Movement Type 601 (tcode VOV6).
    Does this mean that the Goods Issue transaction i must use is VL01? In tcode OMJJ, it shows allowed transaction for
    Movement Type 601 is VL01.
    Can anyone provide some clarification on this?
    Thanks so much.

    X = customer
    Y = my company
    Z = vendor
    Based on my understanding, third-party 'Individual PO' is slightly different than the regular third-party
    PO process. In regular third-party PO process, X orders goods from Y, Y order goods from Z, then
    Z sends the goods directly to X, Z invoice Y, then Y invoice X.  Thus, this process, i know that there's
    no need to post a Goods Issue like you said.
    However, in the 'Individual PO' process (from what i've read),
    Z would send the goods to Y instead of sending it  directly to X. Then Y sends the goods to X after
    receiving the goods from Z.  Here, i would think we would need Y to post a Goods Issue (when Y is sending goods to X).  Because when i do a Goods Receipt during the 'Individual PO' process,
    transaction MB5B shows that the plant(i'm assumping it's Y's plant) shows "Total Receipts = 5,
    Total Issues = 0 "  and my inventory g/l account also gets Debited. Thus, i wonder if Y posting a Goods Issue to customer X would then result in "Total Receipts = 5 , Total Issues = 5"  in transaction MB5B
    and hopefully my inventory g/l account gets Credit as well.
    Perhaps i'm confusing "Goods Issue" with outbound delivery VL01N?
    Is there a difference between Goods Issue and Outbound Delivery?
    Thank you.
    Your reply has been very helpful.

  • Actual goods issue date required to be equal to planned goods issue date

    Hi All,
    Can anybody tell me on what basis does the actual goods issue date get determined and what needs to be done if we want to restrict the actuall goods issue date to be equal to the planned goods issue date?
    Avinash

    Avinash,
    Can anybody tell me on what basis does the actual goods issue date get determined
    ???? It is the date that the goods are actually issued from stock, e.g. whatever the date was when the delivery was actually issued, that is the date that is normally written to this field in the delivery.
    what needs to be done if we want to restrict the actual goods issue date to be equal to the planned goods issue date
    That's a pretty restrictive criteria.  Basically, you are telling the warehouse that they are not able to issue the goods early or late.  In companies I have seen, that would constitute a lot of deliveries.  Hope your customers don't need the parts....
    Anyhow, the restriction would have to be against the goods issue transactions being used by the warehouse.  I don't believe there is any standard configuration that creates such a restriction, so it would require custom development.  If you pursue this restriction, make sure you leave yourself some kind of override.
    In many companies, this problem is handled through policy and procedure.  Warehouse manager simply creates a policy about early and late goods issues.  The system will track discrepancies in the case the policy is not followed.
    Best Regards,
    DB49

  • Wrong Amount in Goods Issue

    Dear Experts,
    I have a peculiar problem. My client posted goods issue transaction. the costing followed is moving average. as per the moving average costing... the cost of item A is Rs. 672. In the data base the same value is updated against the goods issue document. But in the front end the cost shown in the goods issue document Rs.652.
    Why does this happen. Please help me in this.
    thanks and regards,
    Yeshwanth

    hi Joseph,
    As you said i checked the item cost in the inventory data tab in item master. it shows the actual cost which has fallen in the database. Also I checked in the inventory audit report which also showed the different value which was same as shown in the goods issue document as item cost.
    regards,
    Yeshwanth

Maybe you are looking for