Problem with MIGO goods issue to a Service Order

Hello All
I have checked through out the forum as well as google and can not find the answer to my issue.  Please read the below details and advise....
In MIGO; when trying to perform a goods issue to a service order (created in IW31) I get an error message the document does not contain any selectable items.  I can not get passed this.  When I use the transaction MB11, it works just fine.  I went to the allowed transactions in OMJJ to ensure MIGO was listed as an allowed transaction... and MIGO is listed so I know that is not my issue.  It is not related to the service order not being released as it is and plus if it was not released it would not work in MB11.  I need this to work for the transaction MIGO....Please someone guide me in the proper direction of what is missing.

Hi Kimberly,
When you post the goods issue as an unplanned goods movement against the order, the reservation is not even read, so it is never updated.
The data that you enter manually in this unplanned goods issue does not even need to match with the data in the reservation: the material, the plant... evrything can be different. The order is just a CO Account Assignment in this case and the reservation is not processed in any moment. This way, it is not possible to close the reservation when posting this kind of unplanned goods issue, as the reservation is not even considered (and, therefore, never updated).
It is only when you post the planned goods issue referencing the order directly when you really post your goods issue with reference to the reservation behind the order. Only in this case is when the data in the posting is checked against the reservation (the material, the plant, etc cannot be changed because they are taken directly from the reservation). Also, it is only in this case when the quantity in the posting is checked against the quantity in the reservation. If we issue the total reserved quantity, the reservation is closed automatically.
In the first case for the unplanned goods issue there is never an automatic update of the reservation because the posting does not even consider the reservation. It is only when you post the goods movement with reference to the order (in MB1A using "To Order..." and in MIGO "Goods Issue + Order") when the reservation is taken into account in the goods movement and, therefore, updated.
You can also refer to the SAP Library:
[http://help.sap.com/saphelp_erp2005/helpdata/en/a5/6337db43a211d189410000e829fbbd/frameset.htm]
It says:
"This withdrawal is unplanned because there is no reservation to be referenced."
An unplanned goods issue with the movement 261 and the order (working as CO account assignment object) is more or less the same as a 201 for a cost center. The cost center and the order are just CO Objects in this scenario.
I hope this helps you further!
Best regards,
Esther.

Similar Messages

  • Problem with post goods issue

    hi
    I'm doing a delivery using vl01n bt at post goods issue its showing run time error.the error message details gvn below.
    Information on where terminated
    Termination occurred in the ABAP program "SAPLMBWL" - in
    "MB_POST_GOODS_MOVEMENT".
    The main program was "SAPMV50A ".
    In the source code you have the termination point in line 59
    of the (Include) program "LMBWLU21".
    Source Code Extract
    Line SourceCde
    29 * when a goods movement for an inbound or outbound delivery is posted
    30 * directly from VL31N/ VL01N, XBLNR is not yet known when we call
    31 * CKMV_AC_DOCUMENT_CREATE, but the number is supposed to be stored in
    32 * BKPF as well. There is no other way to forward XBLNR to FI as not
    33 * every document is posted by MB_CREATE -> a new function module in
    34 * MBWL for transferring the information, called by FI, meant to load
    35 * the complete function group for all MBxx postings when this isn't
    36 * required (Performance). Would be the better way to transport the
    37 * information after switching off MBxx in later release.
    38 * corresponding IMPORT ... FROM MEMORY ... can be found in
    39 * AC_DOCUMENT_POST (FORM FI_DOCUMENT_PREPARE (LFACIF5D))
    40 l_mem_id = 'MKPF-XBLNR'. " 641365
    41 EXPORT xblnr = xblnr_sd TO MEMORY ID l_mem_id. " 641365
    42 ENDIF.
    43 IF xmkpf-xabln IS INITIAL. "note 434093
    44 CALL FUNCTION 'MB_XAB_NUMBER_GET'. "note 434093
    45 ENDIF. "note 434093
    46
    47 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_01 SPOTS ES_SAPLMBWL STATIC.
    48
    49 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_02 SPOTS ES_SAPLMBWL.
    50 CALL FUNCTION 'MB_CREATE_MATERIAL_DOCUMENT_UT'
    51 EXCEPTIONS
    52 error_message = 4.
    53 * As soon as we have started to put things into UPDATE TASK, we must
    54 * ensure that errors definitely terminate the transaction.
    55 * MESSAGE A is not sufficient because it can be catched from
    56 * external callers which COMMIT WORK afterwards, resulting in
    57 * incomplete updates. Read note 385830 for the full story.
    58 IF NOT sy-subrc IS INITIAL.
    >>>>> MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH "385830
    60 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    61 * MESSAGE A263.
    62 ENDIF.
    plz tell me the configuration steps for post goods issue in SD if applicable.

    Hi Lakshmipati,
        I have maintained movement type 601 at OMJJ. I hav also added the filed cost center in that (before it was not available).
      I checked GL acct at fs00, it is already contain field status group g004 and the check box "post automaticallyt" is also activated. The cost element has also assigned to cost center. After assigning the cost center to cost element, the error is changed to fld selection for mvmt type 601/ acct 300021 differs for cost center
       But i noticed one thing: If i chage the field status group to g006, the error has not appeared and giving the other error:
    valuation area xxx2 (plant) not yet ptoductive with material ledger this error has been already posted by me but not yet received correct answer.
    Kindly provide the solution for this.
    Regads
    Sabera

  • Problem with post goods issue in SD std. delivery

    hi
    while doing post goods issue of a delivery in VL01n its showing run time error. the error message is gvn below.
    Information on where terminated
    Termination occurred in the ABAP program "SAPLMBWL" - in
    "MB_POST_GOODS_MOVEMENT".
    The main program was "SAPMV50A ".
    In the source code you have the termination point in line 59
    of the (Include) program "LMBWLU21".
    Source Code Extract
    Line SourceCde
    29 * when a goods movement for an inbound or outbound delivery is posted
    30 * directly from VL31N/ VL01N, XBLNR is not yet known when we call
    31 * CKMV_AC_DOCUMENT_CREATE, but the number is supposed to be stored in
    32 * BKPF as well. There is no other way to forward XBLNR to FI as not
    33 * every document is posted by MB_CREATE -> a new function module in
    34 * MBWL for transferring the information, called by FI, meant to load
    35 * the complete function group for all MBxx postings when this isn't
    36 * required (Performance). Would be the better way to transport the
    37 * information after switching off MBxx in later release.
    38 * corresponding IMPORT ... FROM MEMORY ... can be found in
    39 * AC_DOCUMENT_POST (FORM FI_DOCUMENT_PREPARE (LFACIF5D))
    40 l_mem_id = 'MKPF-XBLNR'. " 641365
    41 EXPORT xblnr = xblnr_sd TO MEMORY ID l_mem_id. " 641365
    42 ENDIF.
    43 IF xmkpf-xabln IS INITIAL. "note 434093
    44 CALL FUNCTION 'MB_XAB_NUMBER_GET'. "note 434093
    45 ENDIF. "note 434093
    46
    47 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_01 SPOTS ES_SAPLMBWL STATIC.
    48
    49 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_02 SPOTS ES_SAPLMBWL.
    50 CALL FUNCTION 'MB_CREATE_MATERIAL_DOCUMENT_UT'
    51 EXCEPTIONS
    52 error_message = 4.
    53 * As soon as we have started to put things into UPDATE TASK, we must
    54 * ensure that errors definitely terminate the transaction.
    55 * MESSAGE A is not sufficient because it can be catched from
    56 * external callers which COMMIT WORK afterwards, resulting in
    57 * incomplete updates. Read note 385830 for the full story.
    58 IF NOT sy-subrc IS INITIAL.
    >>>>> MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH "385830
    60 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    61 * MESSAGE A263.
    62 ENDIF.
    if there is any configuration step for post goods issue in SD thn plz mention it.
    Plz help..

    Hi Lakshmipati,
        I have maintained movement type 601 at OMJJ. I hav also added the filed cost center in that (before it was not available).
      I checked GL acct at fs00, it is already contain field status group g004 and the check box "post automaticallyt" is also activated. The cost element has also assigned to cost center. After assigning the cost center to cost element, the error is changed to fld selection for mvmt type 601/ acct 300021 differs for cost center
       But i noticed one thing: If i chage the field status group to g006, the error has not appeared and giving the other error:
    valuation area xxx2 (plant) not yet ptoductive with material ledger this error has been already posted by me but not yet received correct answer.
    Kindly provide the solution for this.
    Regads
    Sabera

  • MIGO Goods issue Reg

    Hi Gurus,
    We upgraded to 6.0 from 4.5b.When I am trying with MIGO,Goods issue with Mov type 201,221,261 etc.
    System is giving error message as"Update control of movement type is incorrect (entry 201 X X _ B)"
    Edited by: hanuma reddy on Mar 13, 2008 11:04 PM

    Hello Hanuma
    I would assume that this is caused by the fact that you do not specify the needed basis in the MIGO transaction.
    If you look in OMJJ for 201 movement type at folder short texts or update control, then you will see a column called Mvt for movement indicator.
    DO you see see Bs and Fs there or it is blank, if it is blank then try using other tcode as mentioned above MB1A or MIGO_GI.
    Regards
    Yogesh

  • With out goods issue confirmation should not be done

    Dear all ,
    Is there any method or user exit to  stop the confirmation with out goods issue to the production order.
    Regards
    Srinivas

    Reddy,
    User status to my is not a good solution if you are really looking to restrict confirmation if goods are not Issued, the reason why I am saying is that you can have referance of user status with respect to "GMPS"-Goods movement posted status.
    The major draw back is that SAP sets this status for partial goods movement or even incase GR alone is done, so how can this really help...
    Regards,
    Prasobh

  • ABAP Error:Illegal interruption of the event LOAD-OF-PROGRAM (in MIGO-Goods issue to Production)

    Hi Experts,
    while i am doing MIGO(Goods Issue to Production Order, I am getting the below ABAP Error:
    Please give solution, It is urgent requirement.
    THE ERROR IS:
    Short text
         Illegal interruption of the event LOAD-OF-PROGRAM.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "/MRSS/SAPLRAP_INT_OB" had to be terminated because it
          has come across a statement that unfortunately cannot be executed.
    Error analysis
         During the flow of the event LOAD-OF-PROGRAM (event for the
         initialization of an ABAP program), a condition occurred under which
         the event was to be left early. This is not permitted as it would
         result in an inconsistent status in the ABAP program.
    Trigger Location of Runtime Error
        Program /MRSS/SAPLRAP_INT_OB
        Include /MRSS/LRAP_INT_OBF00
        Row                                     34
        Module type                             (FORM)
        Module Name                             GLOBAL_INIT
    Source Code Extract
    Line  SourceCde
        4
        5 *&---------------------------------------------------------------------*
        6 *&      Form global_init
        7 *&---------------------------------------------------------------------*
        8 *       text
        9 *----------------------------------------------------------------------*
       10 FORM global_init.
       11
       12 * local data
       13   DATA lv_badi_impl_exists TYPE flag.
       14
       15
       16 * get ref to BAdIs
       17   CALL METHOD cl_exithandler=>get_instance "#EC CI_BADI_GETINST
       18     CHANGING
       19       instance = gv_ref_badi_inter_company.
       20 *  CALL METHOD cl_exithandler=>get_instance
       21 * CHANGING
       22 *      instance = gv_ref_badi_rap_back.
       23 *  CALL METHOD cl_exithandler=>get_instance
       24 *    CHANGING
       25 *      instance = gv_ref_badi_ps_int.
         26   CALL METHOD cl_exithandler=>get_instance "#EC CI_BADI_GETINST

    Hi Rob thanks for your response.  I thought about doing an OSS note however; I would think I would need to get the problem in config corrected first as it contradicts each other.  The problem I am talking about is how they are to return material to vendor....I have never even seen this as a process in my 10 years....
    Process.....when the PO is a return to vendor PO they go to migo and choose the goods receipt and mvmt type 101 and the system will default the 161 in the item level....the two are inconsistent.  If I try to change the top level to a 161 mvmt (as this is what I am used to seeing) it gives the error that the PO is not a stock transport order... Would you agree that I should correct that problem first before creating an OSS note?

  • MIGO- Goods Issue- Order, the value is not written into Table COSP

    Hi,
      We make a substitution of wbs element of line item( BSEG-PROJK ). The wbs filed will be filled automatically when the user input a cost center or a order number.
    But we found some inconsistency in standard report S_ALR_87013558 OR CJI3.
    The following is what we have done:
    In Tcode F-02, we enter a order(e.g. A), then the WBS Element is filled automatically. when we post the document, and go to Standard report: S_ALR_87013558,
    we can see the amount in the report.
    In MIGO, we make a goods issue by order(e.g. A. Movement type is 261) , when we post, Material Document and Accounting document and Controlling document , but in report S_ALR_87013558 or CJI3. the amount is wrong, we can not see the amount we have done in MIGO.
    The movement type 201 is also wrong, the value is also not written into tabl cosp.
    But GI for project-movement type 221, the value is written into table cosp.
    Can you tell me this is wrong or right? if right, why? if wrong, how can i correct it, i need some customizing or others? or my substitution affect the result?
    Best Regards
    qingda

    Sorry, not reply these days.
    And very thanks for all your replies.
    I am a abaper, not familiar with the business.
    The business consultant want to control budget, control cost. 
    At first, he let me do a substibution in FI line item of besg-projk(WBS Element), when we he test the substitution in TCode F-02, the WBS field is filled automatically as per G/L account and Cost Center or as per G/L Account and Order, and then in Standard Report 'S_ALR_87013558', we can see the changes of the cost.
    But when biz consultant do a MIGO->Goods Issue by order, we can not see the changes of the cost,but the value of WBS in FI Accounting Document is substituted correctly.
    And if we enter the WBS manually when we do a MIGO->Goods Issue by order, we can see the changes of the report 'S_ALR_87013558'.
    In the original post, i was wrong, when we do a goods issue with movement type 201, the result is the same as 261, also we cant see the changes. but if we enter the wbs manually(movement type 201),the changes is write to COSP table.
    The solution about the original requirement is right or wrong?
    Thank You All.
    Best Regards
    qingda

  • Problems with a non-BT product or service

    I have just contacted BT as my down IP Profile has become 30% less than it should be over an approximately 6 month period.  This is despite the fact that my line is surprising stable with an average up time of around 14 days and the main disconnection being  BT induced profile resets.
    I have had this issue three times before. The solution is 1 to 3 Openreach Engineer visits that find no fault and end up with a line reset to up the profile.
    This time the Indian call centre rang me, tested the line and found no fault  (as expected). They said because of this they could not do anything and suggested I contacted second line support.
    I then received  the following email 
    "Problems with a non-BT product or service
    Hi,
    You recently contacted us regarding a non-BT product or service. We confirmed that your BT Broadband service and equipment were working ok but we were unable to help you with your product/service as it's non-BT.
    We recommend that you check your user guide or contact your manufacturer regarding the product/service. Before you do that, check out these links below as they may help you further.
    Happy to pay for technical support from BT?
    BT has a team of technical experts. For a monthly fee they can help you with a range of problems. Go to www.bt.com/techexperts to find out more and sign up.
    I am using a BT supplied OpenReach modem and HomeHub 4 A so other than devices connected to the HH4 all kit is BT supplied.
    Can I have some (preferably Moderator) help on this please ?
    Solved!
    Go to Solution.

    DavidM wrote:
    Hi vofsanity2,
    Thanks for posting. I can look into this for you. Drop me an email with the details. You'll find the "contact us" form in the about me section of my profile. Once I have the details we'll take it from there.
    Cheers
    David
    I am pleased to say that thanks to moderator intervention I was contacted by Kevin who arranged for an OR Engineer visit.
    As expected no fault was found and after a line reset to restore my profile to what it should be (actually slightly better) my 30% drop was corrected.
    It is fairly clear that if you have FTTC and a connection to the cabinet of 1200-1400metres then the DLM is happy to reduce your line speed but reluctant (if at all)  to increase it. This means your profile decreases over time and has to have a manual reset.
    The worrying development this time is that now when the helpdesk tests your line and finds line speed and profile match they assume you have  a problem with a non-BT product or service where as previously they accepted that a 30% drop in profile was a BT Fault. 

  • Problem with downloading an issue to an Android tablet

    We're experiencing a problem with downloading an issue to an Android tablet.
    Adobe Content Viewer on a Samsung Galaxy Tab 2 attempts to download an issue, but after about 30 seconds of downloading ACW stops and without any error message returns to the previous state showing again the Download button. The Internet connection is good. Everything also works perfectly on other tablets we tried - ASUS Transformer and a previuos generation of Galaxy Tab.
    Is there any common resolution for this problem?

    I may not be using the correct jargon,,,,when I click on Amazon's link for the AmazonApp store download, an Adobe box comes up, so I follow the cues I get on the screen.  I don't know what else to do....my 1st step..https:/www.amazon.com/app-email    you have chosen to open Amazon_Appstore-release.apk which is apk file from: https://amznadsi-a.akamaihd.net  what should Firefox do with this file?  Save File  I click on OK    Then a download box comes up, which I click on, then there is 'Finder' and 'Adobe Reader'.  Adobe reader is highlighted, so I click, then OK and I get a box "Amazon_Appstore-release(9).apk" is an application which was downloaded from the Internet.  Are you sure you want to open it?  Cancel  Open.  I click Open.  Then a box that says  Adobe Reader could not open 'Amazon_Appstore-release(9).apk' because it is either not a supported file type or because the file was damaged (for example, it was sent as an email attachment and wasn't correctly decoded.)  I am a novice with this stuff....I hope you can help me.  Thanks  Char

  • Return under Warranty (Tracking Line only) Should we use MIGO - Goods Issue

    Return under Warranty (Tracking Line only) Should we use MIGO - Goods Issue when sending out Materials for repair or exchange under Warranty (Free)?

    Please post it in SD/MM forum.

  • I have a problem with my iPhone 4s. Location Services is turned on, but off in applications and I can not change it. It's just marked in gray. What should I do?

    I have a problem with my iPhone 4s. Location Services is turned on, but off in applications and I can not change it. It's just marked in gray. What should I do?

    No - restrictions are not on...
    and  under privacy>location Services - just like before - I can´t change it here

  • With out goods issue for order system should not allow for order confirmati

    Dear all
    with out goods issue system should not allow for order/operation confirmation.
    how it is possible.
    Regrads
    Srinivas

    Dear ,
    In some cases we required to do confirmation or TECO without GI .
    We can change it as per req using user exit
    Regards,
    Ishwar

  • Goods issue for plant maintenance order

    Goods issue with ref to plant maintenance order( Componenets of the order) is not possible in transaction code MIGO. Error message " MIGO is not possible for the refurbishment order".
    Goods issue for the same order can be posted with transaction MB!A.

    hi santhosh
    kindly check the order type .i think you are using MB1A for refurbishment process.but it is not possible.only maintenance order can be posted via MB1A
    follow the procedure for goods issue in refurbishment order.
    Choose Logistics ® Plant maintenance ® Maintenance processing ® Completion confirmation ® Goods movement ® Goods movement.
    The entry screen for a goods issue appears.
    Choose the pushbutton For order.
    Enter the relevant order number in the dialog box and choose Continue.
    An entry screen appears.
    Choose Copy.
    The Maintain Serial Numbers dialog box appears.
    Choose Reference document.
    Enter the order number in the Refurbishment order group box and choose Execute.
    A list appears with the planned serial numbers for the refurbishment order.
    Check the selections of serial numbers, for whose material you want to post a goods issue, and choose Copy.
    The serial numbers are copied into the Maintain Serial Numbers dialog box.
    Choose Exit window.
    The goods issue is posted.
    regards
    thyagarajan

  • Issuing material to Service order contractor and tracking it

    Hi Experts,
    We are creating service activity PR, PO, Service acceptance as per standard SAP. We would like to issue materials to this contractor on free of cost and he would return balance material, if any.
    We can reserve material for this activity and goods issue against this reservation (using movement type 221). But this material will be consumed in project.
    Is there any solution for this?
    Regards,
    RSVRMurthy.

    Hi Murthy,
    From the scenario explaination I believe you make a common procurement for the project and provide it to the service executed by various departments such Electrical Instrumentation etc.
    In that case create a Procurement WBS element in your project structure along with the mechanical,electrical instrumentation WBS structure.Make all project related procurements under this procurement WBS element by attaching material through dummy Internal activities(as you cannot attach material directly to WBSE).
    Your department WBS element will have all the subcontractor service activities.When you want issue the material to a particular subcontractor activity,make a stock transfer from Procurement WBS element to the WBS element to which the service activity is attached(in your case 1000 M).Till now it will be in the inventory.When the subcontractor provides you the actual consumption data, make a goods issue to that service activity(in your case 800M).
    In this way you can track the
    1)total procurement of cable
    2)Cable lying with each subcontractor
    3) actual cable consumption by subcontractor
    4)actual material cost realising against the actual execution activity.
    But there are some points to be noted,
    Hope you will be following Project stock concept, with procurement type being Res+PR for WBS.In this case the reservation will be in the internal activity under with Material(Cable) is attached.That is in the procurement WBSE.So while closing the project you have to clear those open reservation.You have option for clearing open reservations while confirming.As I mentioned earlier the internal activities are dummy, you should have a control key with cost irrelevant.
    One more point to note, while issuing the material to the service activity, you have to make a manual issue as there wont be any reservation against this service activity(that is you cannot adopt details of the reservation).
    regards

  • Regarding Goods Reversal and Goods Issue process for Production orders

    Hi,
    I have a issue regarding <b>Goods Reversal</b> and <b>Goods Issue</b> process for <b>Production orders</b>.
    Actually I am having a Z - Function Module in that i am passing <b>production order number other details</b> to
    make the <b>Goods Reversal</b> happen.
    The code for the above is as below:
                       i_mvtit-material      = wa_mdfa-matnr.
                        i_mvtit-plant         = i_resb-werks.
                        i_mvtit-spec_stock    = 'Q'.          "New
                        i_mvtit-stge_loc      = 'ZWIP'.
                        i_mvtit-stge_type     = i_resb-lgtyp. "New
                        i_mvtit-batch         = i_resb-charg. "New
                        i_mvtit-orderid       = i_resb-aufnr.
                        i_mvtit-spec_stock    = i_resb-sobkz.
                        i_mvtit-entry_qnt     = i_resb-enmng.
                        i_mvtit-entry_uom     = i_resb-erfme.
                        i_mvtit-entry_uom_iso = i_resb-meins. "New
                        i_mvtit-wbs_elem      = v_frwbs.
                        i_mvtit-move_type     = '262'.
                        i_mvtit-xstob         = 'X'.
                        i_mvtit-gr_rcpt       = i_resb-aufnr. "New
                        i_mvtit-reserv_no     = i_resb-rsnum.
                        i_mvtit-res_item      = i_resb-rspos.
                        APPEND i_mvtit.
    * HEADER ELEMENTS
                        k_gmvt_code-gm_code    = '03'.
                        k_gmvt_head-pstng_date = sy-datum.
                        k_gmvt_head-doc_date   = sy-datum.
    * CREATE GOODS MOVEMENTS
                        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
                          EXPORTING
                            goodsmvt_header = k_gmvt_head
                            goodsmvt_code   = k_gmvt_code
                          TABLES
                            goodsmvt_item   = i_mvtit
                            return          = i_return.
    The Above code does the <b>Goods Reversal</b> but then i will update one Z Table with fields like
    Production Order Number[AUFNR], Number of Reservation[RSNUM], Item Number of Reservation [RSPOS], Material Number [MATNR], Requirement Quantity [BDMNG], WBS element[PSPNR] etc. If Above BAPI runs sucessfully.
    That is happening correctly.
    But Then actual issue is i have do <b>Goods Issue</b> for those Z-Table records.
    There i will give Production order Number's & Storage Location in Selection-Criteria.
    Then i need to do <b>Goods Issue</b> for that order.
    The code i had written as follows.
    * POPULATE VALUES FOR BAPI CALL
            i_mvtit-material      = i_zpsi7603_01-matnr.
            i_mvtit-plant         = i_resb-werks.
            i_mvtit-spec_stock    = 'Q'.                "New
            i_mvtit-stge_loc      = p_sloc.
            i_mvtit-stge_type     = i_resb-lgtyp.       "New
            i_mvtit-batch         = i_resb-charg.
            i_mvtit-orderid       = i_resb-aufnr.
            i_mvtit-spec_stock    = i_resb-sobkz.
            i_mvtit-entry_qnt     = i_resb-enmng.
            i_mvtit-entry_uom     = i_resb-erfme.
            i_mvtit-entry_uom_iso = i_resb-meins.       "New
            i_mvtit-wbs_elem      = v_frwbs.
            i_mvtit-move_type     = c_261.
            i_mvtit-mvt_ind       = 'F'.                "New
            i_mvtit-xstob         = c_x.
            i_mvtit-gr_rcpt       = i_resb-aufnr.       "New
            i_mvtit-reserv_no     = i_resb-rsnum.
            i_mvtit-res_item      = i_resb-rspos.
            APPEND i_mvtit.
    * HEADER ELEMENTS
            k_gmvt_code-gm_code    = c_03.
            k_gmvt_head-pstng_date = sy-datum.
            k_gmvt_head-doc_date   = sy-datum.
    * CREATE GOODS MOVEMENTS
            CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
              EXPORTING
                goodsmvt_header = k_gmvt_head
                goodsmvt_code   = k_gmvt_code
              TABLES
                goodsmvt_item   = i_mvtit
                return          = i_return.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              EXPORTING
                wait = c_x.
            READ TABLE i_return INDEX 1.
            IF i_return-type EQ c_s.
              DELETE FROM zpsi7603_01 WHERE aufnr = i_resb-aufnr AND
                                            rsnum = i_resb-rsnum AND
                                            rspos = i_resb-rspos.
            ENDIF.
    If i run above code for <b>Goods Issue</b> it is giving error can anybody tell me what changes i need to do to make it work.
    The <b>Error Message</b> i am getting is as below:
    <b>Qty and / or "delivery completed" ind. or final issue ind. are missing</b>
    <b>Error Number for the above is : 264.</b>
    Can anybody solve my issue.
    Any help will be appreciated.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi,
    Thanks boss.
    It is working now correctly.
    The issue is the  i_mvtit-XSTOB should be equal space in case of Goods issue while incase of Reversal it should be equal to X.
    Thanks for ur efforts.
    I had awarded you points.
    Thanks a lot.
    Thanks & Regards,
    Rayeez.

Maybe you are looking for