Skip to Content
author's profile photo Former Member
Former Member

Not able to create GR for MT 105 for corresponding 103 for remaining quantity in PO

Hello experts,

In workflow task I am using BAPI_GOODSMVT_CREATE to create the GR for movement type 105 for already created GR of movement type 103 by passing below data:

lw_lineitemdata-MATERIAL = lw_mseg-matnr.
lw_lineitemdata-PLANT = lw_mseg-WERKS.
lw_lineitemdata-MOVE_TYPE = 105.
lw_lineitemdata-VENDOR = lw_mseg-LIFNR.
lw_lineitemdata-ENTRY_QNT = lw_mseg-ERFMG.
lw_lineitemdata-ORDERPR_UN = lw_mseg-ERFME.
lw_lineitemdata-PO_PR_QNT = lw_mseg-BPMNG.
lw_lineitemdata-ENTRY_UOM = lw_mseg-bprme.
lw_lineitemdata-PO_NUMBER = lw_mseg-EBELN.
lw_lineitemdata-PO_ITEM = lw_mseg-EBELP.
lw_lineitemdata-COSTCENTER = lw_mseg-KOSTL.
lw_lineitemdata-MVT_IND = 'B'.

Scenario : PO quantily--> 200.

Step 1. GR created for 190 unit of 103 MT from MIGO.

Step 2. Workflow creates GR for 190 unit for 105 MT. (result on expected lines)

STEP 3. GR created for 10 unit of 103 MT from MIGO.

STEP 4. Corresponding GR for 105 MT is not created and throws the E022 type message ‘PU GR blocked stock exceeded by 10 EA : 100A’ where 100A is a plant number.

I am not able to figure out why this error occurs.

Please help…..


Tej Singh |

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 02, 2014 at 11:25 AM

    hi, i meet the same problen, you should set the

    REF_DOC "for 103 matnr doc



    it works.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.