Goods Issue causing problems

hi,
Imy prod orders are set to goods issue and not to backflush but when i confirm the pro with co11n it tries to backflush and creates a goods movement error. please help.
thanks

Hi saad
If your are using discrete without back flash
Before confirmation co 11 n , you should do GI for that particular prod order with movement type 261 in MB1A.
If you are doing that GI will be against order reservaion and Storage location. Then do order confimration in Co 11n.
At that time use Auto GR for production. Do setting in Production scheduling profile.
Automatically the order will be confimmed with Auyto GR.
To remove back flash indicator. Check you material master, Work center,Routing for the material, Production order. You assign back flash indicateo in the above mentioned locations. Please remove if it is set.
Regards
J. Saravan
Edited by: Jagannathan Saravanan on Feb 25, 2008 11:21 AM

Similar Messages

  • GOODS ISSUE BAPI_GOODSMVT_CREATE problem

    Hii Alll,
    BAPI_GOODSMVT_CREATE is not posting my document but its creating material document
    and doc year.
    n i hv tested in se37 same  prob .
    its not posting production  order

    hi
    good
    go through this below code and use the functionmodule accordingly,
    The following is an abap program making used of the BAPI function BAPI_GOODSMVT_CREATE to do Goods Receipts for Purchase Order after importing the data from an external system.
    BAPI TO Upload Inventory Data
    GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order
                         02 - MB31 - Goods Receipts for Prod Order
                         03 - MB1A - Goods Issue
                         04 - MB1B - Transfer Posting
                         05 - MB1C - Enter Other Goods Receipt
                         06 - MB11
    Domain: KZBEW - Movement Indicator
         Goods movement w/o reference
    B - Goods movement for purchase order
    F - Goods movement for production order
    L - Goods movement for delivery note
    K - Goods movement for kanban requirement (WM - internal only)
    O - Subsequent adjustment of "material-provided" consumption
    W - Subsequent adjustment of proportion/product unit material
    report zbapi_goodsmovement.
    parameters: p-file like rlgrap-filename default
                                     'c:\sapdata\TEST.txt'.
    parameters: e-file like rlgrap-filename default
                                     'c:\sapdata\gdsmvterror.txt'.
    parameters: xpost like sy-datum default sy-datum.
    data: begin of gmhead.
            include structure bapi2017_gm_head_01.
    data: end of gmhead.
    data: begin of gmcode.
            include structure bapi2017_gm_code.
    data: end of gmcode.
    data: begin of mthead.
            include structure bapi2017_gm_head_ret.
    data: end of mthead.
    data: begin of itab occurs 100.
            include structure bapi2017_gm_item_create.
    data: end of itab.
    data: begin of errmsg occurs 10.
            include structure bapiret2.
    data: end of errmsg.
    data: wmenge like iseg-menge,
          errflag.
    data: begin of pcitab occurs 100,
            ext_doc(10),           "External Document Number
            mvt_type(3),           "Movement Type
            doc_date(8),           "Document Date
            post_date(8),          "Posting Date
            plant(4),              "Plant
            material(18),          "Material Number
            qty(13),               "Quantity
            recv_loc(4),           "Receiving Location
            issue_loc(4),          "Issuing Location
            pur_doc(10),           "Purchase Document No
            po_item(3),            "Purchase Document Item No
            del_no(10),            "Delivery Purchase Order Number
            del_item(3),           "Delivery Item
            prod_doc(10),          "Production Document No
            scrap_reason(10),      "Scrap Reason
            upd_sta(1),            "Update Status
          end of pcitab.
    call function 'WS_UPLOAD'
      exporting
        filename                      = p-file
        filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = pcitab
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      OTHERS                        = 6
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      exit.
    endif.
    gmhead-pstng_date = sy-datum.
    gmhead-doc_date = sy-datum.
    gmhead-pr_uname = sy-uname.
    gmcode-gm_code = '01'.   "01 - MB01 - Goods Receipts for Purchase Order
    loop at pcitab.
      itab-move_type  = pcitab-mvt_type.
      itab-mvt_ind    = 'B'.
      itab-plant      = pcitab-plant.
      itab-material   = pcitab-material.
      itab-entry_qnt  = pcitab-qty.
      itab-move_stloc = pcitab-recv_loc.
      itab-stge_loc   = pcitab-issue_loc.
      itab-po_number  = pcitab-pur_doc.
      itab-po_item    = pcitab-po_item.
      concatenate pcitab-del_no pcitab-del_item into itab-item_text.
      itab-move_reas  = pcitab-scrap_reason.
      append itab.
    endloop.
    loop at itab.
      write:/ itab-material, itab-plant, itab-stge_loc,
              itab-move_type, itab-entry_qnt, itab-entry_uom,
              itab-entry_uom_iso, itab-po_number, itab-po_item,
                                                  pcitab-ext_doc.
    endloop.
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
      TESTRUN                     = ' '
    IMPORTING
        goodsmvt_headret            = mthead
      MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
        return                      = errmsg
    clear errflag.
    loop at errmsg.
      if errmsg-type eq 'E'.
        write:/'Error in function', errmsg-message.
        errflag = 'X'.
      else.
        write:/ errmsg-message.
      endif.
    endloop.
    if errflag is initial.
      commit work and wait.
      if sy-subrc ne 0.
        write:/ 'Error in updating'.
        exit.
      else.
        write:/ mthead-mat_doc, mthead-doc_year.
        perform upd_sta.
      endif.
    endif.
          FORM UPD_STA                                                  *
    form upd_sta.
      loop at pcitab.
        pcitab-upd_sta = 'X'.
        modify pcitab.
      endloop.
      call function 'WS_DOWNLOAD'
        exporting
          filename                      = p-file
          filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
        tables
          data_tab                      = pcitab
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      OTHERS                        = 6
    endform.
    *--- End of Program
    reward point if helpful.
    thanks
    mrutyun^

  • Purpose of Goods Issue function in Delivery

    Hai Guys,
       Do help me out in getting informations about the
       following.
    purpose of Goods Issue function in Delivery  and list out all the activities which happens automatically in R/3 due to goods issue operation.
    detailed answers or links for this pls...
      Thanku
      Regards
      Jino

    Dear  Jino,  
    It means ownership of the goods leavs the business and transfres to the  carrier.
    (list of activities ) Posting of goods issue causes -
    1) System to update stock quantities
    2) System automatically updates posting to the GL Acounts
    3) Systesm decreases the value of the stock on hand
    4) System increases the cost of goods sold
    5) System updates the  requirements in the stock
        requirements list
    6) System then proceed to update previous documents with a
        ststus that goods issue has been posted.
    7) System updates the deliveries relevant for billing
    Reward points if helpfull.
    Dhananjay

  • Special stock partner data problem in ERP system during "Post Goods issue"

    Hi all,
    I have a (probably) customizing issue in an ERP 6.0 EhP4 test system which not occurs in the ERP 6.0 test system. There is a difference but no one could tell me, what causes the problem in this scenario:
    I have two customers, C1 and C2. C2 is the special stock partner (SB) of C1.
    I've created a Consignment Fill-up order, then a delivery document based on the order and posted it with "Post Goods Issue". During the update process, a function module (SD_PARTNER_UPDATE) receives partner data in an internal table which contains the sold-to, ship-to and special partner data.
    When we tried the same process in the ERP 6.0 EhP4 test system then special-partner data did not occur in the parameter table (I've used the same customers and materials). The special stock partner is probably not taken into consideration due to some customizing settings.
    My question is what should I change in the customization to run the process the same way as in the ERP 6.0 system? As far as I know there are no new modifications which have effect on this area, and the used test customers and materials are almost the same - there are no noticable differences.
    Thanks in advance.
    Akos

    I tried setting that field in the sale order this morning.  By defaulting it to "C"; I was able to get warning message for TAE line.  I was able to post goods with TAE and TAQ, being different quantities.  I need the check to determine if TAE and TAQ delivery quantity are different.  Using this fields seems to be line specific.  Thanks for the suggestion.  I now know what that field does to the delivery.
    I rewarded points.
    Thanks,
    Tony

  • Problem on Goods Issue Order for stock in SU managed staging area

    During Goods Issue for production Order - mvt 261 - (both in case of MIGO or MB1A) an error message is received in case of material to be consumed in a storage unit managed area (control cycle setting).
    Error message - negative stock can't be created in SU managed area.
    Movement type 261 is used with standard SAP configuration on movement type configuration and IM/WM interface.
    Could someone help me explaining if SAP foresees the possibility of goods issue related to production order in case we set a sU managed area in the control cycle.
    The expected behaviour for the system is to:
    - create material document on IM
    - create negative stock in the interim goods issue area (914)
    - create the related the transfer orders or requirements from SU managed stating area to 914
    Unfortunately the negative stock error message is received and the goods issue posting is not possible.

    Hello.
    This topic is from 2012 and not answered yet.
    I am facing exactly the same problem.
    @ César: Did you find a solution for that?
    Does anyone else know what this causes?
    Thank you.

  • Problem in creating a new entry in Goods Issue via DI

    Good Day Experts,
    Im having trouble creating Goods Issue Document Entry via DI API. The code works fine,
    it just returns "-1150 (Invelid Index)" after adding the GI Document. I would like to know
    if there's something i missed out?
    Below is my sample code for the creation of GI :
            Dim goodsIssue As SAPbobsCOM.Documents = Nothing
            Dim lRetCode As Long
            Try
                goodsIssue = _company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenExit)
                With goodsIssue
                    '// HEADER
                    .DocNum = GetDocEntry()
                    .Reference1 = _InventoryTransferLOBO.DocNumber
                    .HandWritten = SAPbobsCOM.BoYesNoEnum.tNO
                    .DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
                    .DocDate = _InventoryTransferLOBO.CreatedDate
                    .DocDueDate = _InventoryTransferLOBO.CreatedDate
                    '// DETAILS
                    For x As Integer = 0 To _InvTransLOItems.Rows.Count - 1
                        .Lines.ItemCode = _InvTransLOItems.Rows(x).Item("U_ItemNo")
                        .Lines.ItemDescription = _InvTransLOItems.Rows(x).Item("U_ItemDesc") 'drITLOItems("U_ItemDesc")
                        .Lines.WarehouseCode = _InvTransLOItems.Rows(x).Item("U_FWhse") 'drITLOItems("U_FWhse")
                        .Lines.Quantity = _InvTransLOItems.Rows(x).Item("U_Qty") 'drITLOItems("U_Qty")
                        .Lines.AccountCode = GetAccountCode(_InvTransLOItems.Rows(x).Item("U_FWhse")) 'drITLOItems("U_FWhse"))
                        If x < _InvTransLOItems.Rows.Count - 1 Then .Lines.Add()
                    Next x
                    lRetCode = .Add()
                End With
                If Not lRetCode = 0 Then
                    _sboInventoryTransferLO.MessageBox("Error: " & lRetCode & ", " & _company.GetLastErrorDescription)
                End If
            Catch ex As Exception
            End Try
    Thanks in advenced
    Tyron James Gono

    Hi Sir Owen,
    Thank you so much for your reply, it still doesn't solved the problem. In my code below
    i repositioned the Line.Add Property and also added the "Lines.SetCurrentLine(Index)".
    It still returns the message "-1150 Invalid Index".
    Is it the row items im having a problem with? or the header itself?
                    For x As Integer = 0 To _InvTransLOItems.Rows.Count - 1
                        If x > 0 Then .Lines.Add()
                        .Lines.SetCurrentLine(x)
                        .Lines.ItemCode = _InvTransLOItems.Rows(x).Item("U_ItemNo")
                        .Lines.ItemDescription = _InvTransLOItems.Rows(x).Item("U_ItemDesc") 'drITLOItems("U_ItemDesc")
                        .Lines.WarehouseCode = _InvTransLOItems.Rows(x).Item("U_FWhse") 'drITLOItems("U_FWhse")
                        .Lines.Quantity = _InvTransLOItems.Rows(x).Item("U_Qty") 'drITLOItems("U_Qty")
                        .Lines.AccountCode = GetAccountCode(_InvTransLOItems.Rows(x).Item("U_FWhse")) 'drITLOItems("U_FWhse"))
                    Next x
                    lRetCode = .Add()
    Regards,
    Tyron

  • Goods Receipt and Goods Issue - Posting Date and Document Date Problem

    Hi All,
    I was using SDK to build own add on to insert Posting Date and Document Date under Inventory> Inventory Transactions> Goods Receipt and  Inventory> Inventory Transactions> Goods Issue, but the UI Screen Posting Date and Document Date shown current date.
    My SAP Business One version was 2007A SP00 PL42 and alreadly upgrade to SP05.
    End up result still the same.
    Is there someone can help me?
    Thanks you.
    Best Regards,
    danny

    Hi there,
    I already solve it by myself.
    Actually is i call the initialization twice:
    Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
    Thats what make this problem happened.
    Sorry.
    Best Regards,
    danny

  • Goods issue problem

    sir,
    we have prepare the p.o. regarding purchase of tea/coffe powder
    at the time of receipt migo following entry passed in a/c doc
    Inv-consumable  DR xxx
        To gr/ir                                xxx
    at the time of miro
    gr/ir a/c           Dr   xxxx
          To party a/c          xxx
    problem at the time of goods issue
    stores consumable (mp) a/c dr xxxx
    To inv-consumables                                  xxxx
    actaully we want to above exp go to tea Exp g/l instead of stores consumable (mp) a/c  .
    any care taken at the time of goods issue??

    Hi
    Please try the following
    1) Create a Material group for your requirement ( Log gen>Basic setting>Key fields for MMR>Mat grp)
    2) Create a valuation class(MM>Valuation>Account deter>Valuation cls)
    3) Assign the valuation class to the material group(MM>Purchasing>MMR>Entry aids w/o MMR)
    4) In OBYC>GBB maintain VBR/valuation class/GL account
    5) Use the material group in the material if u use material master or else in PO.(MM02 or ME21n)
    Hope it helps.
    Thanks/Karthik

  • Problem in goods issue

    Hi i have done following steps that lead me to a problem
    1. MIGO of a material done with posting date of march
    2. I have issued that material using mvt 281 Q to reservation with posting date in april
    Now, since i have done above step-2 by mistake, because i wanted to issue the material in march, i have done following two steps.
    3. I have cancelled the material issue document created by step 2 (Using MBST) above with posting date in march
    4. I have issued the material using 281 Q agaist a reservation in march
    Now the problem starts...System is showing the same material stock in March, which i dont want.
    System is also not allowing me to issue the mateial in march as already i have issued once agaist the reservation (Step 4)
    What should i do to remove that material from stock in march??
    Regards
    Kalpesh

    Hi,
    1) Have you cancelled the goods issue document on april date ??
    2) Once you cancel the goods issue document, again post the goods issue document on march's date..
    Regards,
    Prasath

  • Problem in Goods Issue against process order

    Dear All,
    I m facing the problem in Goods issance, I have one raw material batch whose last GR date is 01.09.2010. when i try to post Goods issue, posting date 29.09.2010. system generate the following error message:
    Deficit of BA Unrestr. prev. 25.00 KG: Material Number Plant storage location batch
    then i try to post the same in 01.10.2010. it allow me to post Goods Issuance
    Thanks

    HI
    Check the stock of the material/plant/batch/storage loc in T code MB5B for the previous period for 09.2010.as there is no stock in the system for that batch and period system doesnt allow you to do GI.
    Also check stock in MMBE or MB5B in current period as stock is present in current period, system allows you to do GI.
    Regards
    Anupam Sharma

  • Posting Goods Issue problem?

    Hi SDN,
    I am using BAPI  BAPI_GOODSMVT_CREATE for posting of goods issue using movement type 261.
    I am getting following error = Goods movement not possible with mvmt type 261.
    But if i use movement type other than 261 it works.
    But unfortunately i have to use movement type 261.
    Please help
    Regards,
    Rahul Wagh

    Dear
    Pls follow the steps,
    Use tcode OB53, put X    and create on P& L account G/L and put it there. That is " Define retained earnings account".
    Your problem is solved. Enjoy.............!!!!!!
    Regs
    Rajakumar.k

  • Problem in Good Issue

    Hello Frnds,
    Facing problm in STO,I have created an STO for 1205.900 kg wth T-Code ME21N ,try to issue material wth T-Code MB1B but whn i try to do so its displays following error msg :-
    "SL Unrestricted-use exceeded by 29,837.790 KG "
    i hve sufficient stock on tht particular location in tht particular date (Stock is 1849.600 kg)
    Thn also y its shows such type of msg
    Pls help me out
    Regards,
    safeesh

    >
    Safeesh wrote:
    > Few available qty as stock tht too in negative
    so at least it confirms that you have not enough stock to perform this goods issue.
    now you have to investigate the MRP elements that are eating your stock.
    Maybe you can cancel one of these, to free up the stock. then you can do your goods issue. Of course you then have a problem that you have not enough stock for this other element.

  • Reverse Goods Issue problem

    HI Experts,
    We are facing the problem in Reversing the Goods Issue through VL09.
    The document flow is as below.
    Order CAST/EDI 0002195925                                    2011-03-03                     Completed
    Product del. LKV 0080693508                                   2011-03-16                     Being processed     
    Picking request 0080693508                                      2011-03-16                     Completed     
    Handling unit 0000790648                                          2011-03-16
    GD goods issue:delvy 4902775730                           2011-10-11                     complete     
    Now I go to VL09 and give the delivery document number (  0080693508 )  then click on icon "Reverse" and I get the Popup "Reverse Goods Movement?" and I press on the continue icon (no result and the popup is gone)
    I again select the line and click on the Reverse Icon and I again get the same popup and i click on continue and now am getting the Popup Error message  "Function module MB_CREATE_GOODS_MOVEMENT cannot be executed"
    Not sure if this problem is coming only after we have upgraded EHP5 or there is some other way round to cancel the goods issue in case of handling units.
    Please let me know if you guys have any other queries to help you in resolving this issue.
    Awaiting your responses.
    Thanks in advance
    Regards,
    Anil.

    Hi Anil,
    Check in LG-> HU management-> basics-> Maintain Goods Movements for Handling Unit Stock-Posting any movement type is maintained against your opration( GI reverse) if yes then check with your abaper, looks like the movement type to reverse the goods issue is not picked.
    Thanks,
    Davinder

  • [svn] 863: Cleanup the jsp for some space issue that causes problem for proxy test on WAS .

    Revision: 863
    Author: [email protected]
    Date: 2008-03-19 11:39:05 -0700 (Wed, 19 Mar 2008)
    Log Message:
    Cleanup the jsp for some space issue that causes problem for proxy test on WAS. Update both trunk and 3.0.x branch.
    Modified Paths:
    blazeds/branches/3.0.x/qa/apps/qa-regress/remote/HttpXmlEchoService.jsp
    blazeds/trunk/qa/apps/qa-regress/remote/HttpXmlEchoService.jsp

    Revision: 863
    Author: [email protected]
    Date: 2008-03-19 11:39:05 -0700 (Wed, 19 Mar 2008)
    Log Message:
    Cleanup the jsp for some space issue that causes problem for proxy test on WAS. Update both trunk and 3.0.x branch.
    Modified Paths:
    blazeds/branches/3.0.x/qa/apps/qa-regress/remote/HttpXmlEchoService.jsp
    blazeds/trunk/qa/apps/qa-regress/remote/HttpXmlEchoService.jsp

  • Post goods issue problem

    Hi,
    We are using program WS_MONITOR_OUTB_DEL_GDSI to post goods issue deliveries in the background. We have this program set up as a background job to run regularly. The problem is that it does not allow you to specify the desired post goods issue date when it is run in the background (in the variant). However if we run it in the foreground you are prompted for the actual post goods issue DATE.
    Are there any other programs / solutions?
    Rgds,
    Finbarr

    Hi Lilly,
    Yes we tried that initally. However the dates in the inital screen of WS_MONITOR_OUTB_DEL_GDSI are for selection criteria only. Unfortunatlelt there is not an option for default GI DATE when you process in the background. I am currently checking OSS but cannot see any relevant notes for this issue in Version 4.7.
    Thanks for you reply,
    Rgds,
    conor

Maybe you are looking for