Problem in Goods Issue using BAPI_PRODORDCONF_CREATE_TT

Hi All,
This is regarding goods issue in a production order.We are trying to do this using BAPI_PRODORDCONF_CREATE_TT.
We have a finished good say FK_PROD_ORD_CONV(with BOM -FKTESTOUT2).we need to do a Goods Issue for this which implies that at reporting point 0001,we need to issue x quantities of BOM  FKTESTOUT2 from a particular plant and storage location, and of a particular batch. Therefore, we need to pass the following:
Production order number
Plant
Material (BOM) = FKTESTOUT2
Movement indicator (which is u2018Fu2019 for goods movement) = u2018Fu2019.
Movement type = 261(for Goods Issue)
Storage location of BOM
Batch
Operation (Routing point) = 0001
Entry quantity
Entry Unit of measure = PC.
In addition, we need to maintain entries in Link_conf_goodsmov-INDEX_CONFIRM and link_conf_goodsmov-INDEX_GOODSMOV. The value for both would be u20181u2019.
In the Test program, although I am passing all these values, Goods Issue is not happening. I am not getting any error.The message just says that the production order has been confirmed but when i check for goods Issue,no corresponding data is there.
Please let me know if I have missed something.

Hello.
Are you calling FM BAPI_TRANSACTION_COMMIT afterwards? If yes, check the content of structure RETURN.
Regards.
Valter Oliveira.

Similar Messages

  • Goods issue using bapi  BAPI_GOODSMVT_CREATE getting error E M7

    HI  consultants,
    While  posting goods issue using bapi BAPI_GOODSMVT_CREATE . Running the batch job(zprogram) to post the goods issue . The goods issue is been posted by passing  goods receipt data's.
    while processing 3 goods receipt , 2 works fine one goods receipt getting  E M 7 300 NO ITEMS ARE TRANSFERED error.
    when i  processing one by one all the 3 goods receipt is working fine and process sucessfully. While processing in bulk ,i am getting this issue.
    If anybody faces this same problem or knows the solution .Please post the answer.
    The way i am passing the parameter to bapi given bellow.
        WA_GOODSMVT_CODE-GM_CODE = C_03.
    *--populate header data
        WA_GOODSMVT_HEADER-DOC_DATE   = WA_MKPF-BLDAT.
        WA_GOODSMVT_HEADER-PSTNG_DATE = WA_MKPF-BUDAT.
    *--populate item data      
    *-- call the bapi for posting goods issue
                 IT_GOODSMVT_ITEM-NETWORK     = WA_RESBP-AUFNR.
                IT_GOODSMVT_ITEM-RESERV_NO   = WA_RESBP-RSNUM.
                IT_GOODSMVT_ITEM-RES_ITEM    = WA_RESBP-RSPOS.
                IT_GOODSMVT_ITEM-ACTIVITY    = WA_RESBP-VORNR.
                IT_GOODSMVT_ITEM-MOVE_TYPE   = C_281.
                IT_GOODSMVT_ITEM-ENTRY_QNT   = WA_RESBP-NET.
    *--get the item details
                  IT_GOODSMVT_ITEM-MATERIAL   = WA_MSEG-MATNR.
                  IT_GOODSMVT_ITEM-PLANT      = WA_MSEG-WERKS.
                  IT_GOODSMVT_ITEM-STGE_LOC   = WA_MSEG-LGORT.
                  IT_GOODSMVT_ITEM-ENTRY_UOM  = WA_MSEG-ERFME.
                  CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT'
                    EXPORTING
                      INPUT  = WA_MSEG-PS_PSP_PNR
                    IMPORTING
                      OUTPUT = WA_PSPHI_TEMP.
                  IT_GOODSMVT_ITEM-WBS_ELEM   = WA_PSPHI_TEMP.
                  APPEND IT_GOODSMVT_ITEM.  
                CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
                  EXPORTING
                    GOODSMVT_HEADER  = WA_GOODSMVT_HEADER
                    GOODSMVT_CODE    = WA_GOODSMVT_CODE
                  IMPORTING
                    MATERIALDOCUMENT = WA_MATERIALDOCUMENT
                  TABLES
                    GOODSMVT_ITEM    = IT_GOODSMVT_ITEM
                    RETURN           = IT_RETURN.
    With Regards,
    Ambrose Mohandoss.

    Problem solved.

  • Goods Issue using BAPI_GOODSMVT_CREATE movement type 541

    Hi
        According to my requirement I need to do Post goods issue using BAPI_GOODSMVT_CREATE. But I am unable to do PGI . how to consume BOM details if batches are changed. please let me know what values I need to pass to BAPI . give with an example.
    Its an urgent requirement.

    are you passing batch number to the BAPI?
    if not try pass the batch number the rest of the things bapi will take care of.
    bi

  • Post Goods issue using bapi_goodsmvt_create

    hi,
    Iam trying to do post goods issue using bapi_goodsmvt_create. please let me know what are the mandatory fields to be passed?

    hi,
    *& Report  ZRPT_SUB_KO01GOODSMOVEMENT
    REPORT  ZRPT_SUB_KO01GOODSMOVEMENT.
    PARAMETERS : P_BAG(17)  TYPE C,
                 P_ZZORG LIKE zaUFK-ZZORG,
                 P_MATNR LIKE MARA-MATNR,
                 P_WERKS LIKE AUFK-WERKS,
                 P_WERK LIKE AFPO-PWERK,
                 P_DATE LIKE MKPF-BUDAT,
                 P_LGORT LIKE GOITEM-LGOBE.
    DATA : BDC_DATA TYPE STANDARD TABLE OF BDCDATA. "internla table for bdc data
      DATA : WA_BDC_DATA TYPE BDCDATA .                "work area for bdc data
      DATA : T_XMSEG TYPE   MSEG.
      DATA : T_XMKPF TYPE MKPF.
      DATA : V_BAGS1(17) TYPE C.
    DATA : BEGIN OF WA_MB1B,
           ZZGCODE TYPE ZMIGO-ZZGCODE,
           ZZGBAGS TYPE ZMIGO-ZZGBAGS,
           WERKS TYPE AUFK-WERKS,
           LGORT TYPE VBRP-LGORT,
           ZZORG TYPE zAUFK-ZZORG,
           END OF WA_MB1B.
    DATA : V_MATERIAL TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
    data : v_date(10) type c.
    DATA : T_GOODSMVT_HEADER TYPE BAPI2017_GM_HEAD_01,
           T_GOODSMVT_CODE TYPE BAPI2017_GM_CODE,
           T_GOODSMVT_ITEM TYPE STANDARD TABLE OF BAPI2017_GM_ITEM_CREATE,
           T_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA : WA_GOODSMVT_ITEM TYPE BAPI2017_GM_ITEM_CREATE.
    DATA : BEGIN OF S_MARA,
           MEINS LIKE MARA-MEINS,
           END OF S_MARA.
    DATA : MATERIALDOCUMENT TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
    *FORM GOODSMOVEMENT TABLES T_RETURN
                             USING WA_MB1B LIKE WA_MB1B.
    SELECT SINGLE  MEINS
                   FROM MARA
                   INTO S_MARA
                   WHERE MATNR = P_MATNR.
       CONCATENATE p_date6(2) p_date4(2) p_date+0(4) INTO V_DATE SEPARATED BY '.'.
        T_GOODSMVT_HEADER-PSTNG_DATE = P_DATE.
        T_GOODSMVT_HEADER-DOC_DATE = P_DATE.
        T_GOODSMVT_CODE-GM_CODE = '04'.
        WA_GOODSMVT_ITEM-MATERIAL =      P_MATNR.                    "'000000000000001556'.
        WA_GOODSMVT_ITEM-PLANT  =        P_WERK.                     " '1000'.
        WA_GOODSMVT_ITEM-STGE_LOC =      P_LGORT.                    " '0001'.
        WA_GOODSMVT_ITEM-MOVE_TYPE =     'Z42'.
        WA_GOODSMVT_ITEM-VENDOR =         P_ZZORG.                   "'0000100224'.
        WA_GOODSMVT_ITEM-ENTRY_QNT =      P_BAG.                   " '1'.
        WA_GOODSMVT_ITEM-ENTRY_UOM =     S_MARA-MEINS.
        WA_GOODSMVT_ITEM-ENTRY_UOM_ISO = S_MARA-MEINS.
        WA_GOODSMVT_ITEM-MOVE_PLANT = P_WERKS.
        APPEND WA_GOODSMVT_ITEM TO T_GOODSMVT_ITEM.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
          GOODSMVT_HEADER          = T_GOODSMVT_HEADER
          GOODSMVT_CODE            = T_GOODSMVT_CODE
    IMPORTING
        MATERIALDOCUMENT           = V_MATERIAL
    TABLES
          GOODSMVT_ITEM            = T_GOODSMVT_ITEM
    RETURN                        = T_RETURN.
    BREAK shailajaa.
               EXPORT t_return  to MEMORY ID '123'.
               EXPORT V_MATERIAL TO MEMORY ID 'MAT'.
                CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
           WAIT          = ' '.
    *ENDFORM.

  • Cancel goods issue using idoc DELVRY03

    Hi,
    IS it possible to cancel goods issue using inbound idoc DELVRY03.
    The field 'qualf' of the segment E1EDL43 says it's possible to do It. But when I try to do IT I have a message saying that the GI has already been performed and that I can't do anything on the delivery.
    Do someone know if It's possible or not using DELVRY03.
    And if not what is the idoc allaowing this.
    Thanks in advance

    Hi omar,
    i have your same trouble.
    Have you found anything?
    thanks in advance

  • Cancel Goods Issue using VL09

    Hi,
    My Client have created a Delivery Order along with the Transfer order, the Goods Issue has been posted. When he tried to reverse the Goods Issue using VL09, it promoted the error: GI for Delivery XXX cannot be canceled for the following reason, Document (Material Movement Document: GI) does not contain any selectable items. Can anybody please help me?
    Thanks.

    Hi,
    Make sure  your User has created the Delivery only or Invoice also for that particular order if there is invoice also exist to that particular order he has to check first the Document Flow Status and he has to cancel the invoice by using tocode vf11, he has to cancel the shipment cost if there is vi02, he has to cancel the shipment vt02n then he can do goods reversal vl09 and Delivery.
    This may help you Inshallah
    Regards,
    Mh

  • Error during Goods Issue using movement type U61

    Dear All,
    There is this error with respect to goods movement type U61. It states u201C Difference in Object List header data: U61 previously /321 Newu201D
    I get this error when I am doing the Goods issue using the transaction EM10 or MB1A
    Any guidance or help is welcome
    Regards
    Balaji.J

    Hi,
    The goods issue movement type is 501, the previous movement type was also 501 only. The status of the device is in ESTO. By doing goods issue using movemenn type U61, I need to make them in to AVLB status.
    Regards
    Balaji.J

  • 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 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.

  • 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.

  • How to change the g/l a/c being used while doing goods issue using migo

    when I pass a migo entry whilie purchasing material
         , the entry goes through stock
         stock (230000 a/c no)    150        dr
          GR/IR (150000 a/c)      150        cr
    when I issue material after reservation for which again migo is done
        entry is
          repairs to plant and mach (4800569 a/c)   175
                    stock (230000 a/c no)           175
    The stock a/c is debited and credited due to t.code obyc where for inventory posting I have assigned a/c 2300000 for valuation class assigned to material.
    now I want to have a/c no  4800689 in place of 4800569. how can i change that.
    that is when I issue material from stock this should be debited to 4800689 instead of 4800569. please provide t.code to change the gl from 4800689 from 4800569
    full points will be awarded

    continuing my issue is it possible to that we donot have to change the gbb and vbr and still we can have the desired results.
    that is we are able to use different gl for debit while doing goods issue from a single stocked material
    or we want to have this result
    1.          repairs to p&m    1000    dr
                         stock of cement  a/c           1000    cr
    2.          repairs  to building    2000   dr
                          stock of cement  a/c            2000   cr.
    3.             construction     3500     dr
                                 stock  of cement     3500     cr
    we donot want to change the GBB and VBR every time    or change the GL a/c while doing reservation.
    is there any third option where we get the desired result without changing or entering the g/l manually
    if there is please let me know the t.codes

  • Error while reversing goods issue using VL09

    Hi All ,
      user is getting the error " 4902546971document does not contain any selectable items "  when reverse the GI using  VL09.
    Please find the below document flow.
    Free of Charge 70475917 / 10
    . Purchase order 9900099037 / 10
    . Delivery Standard 80721176 / 10
    .. Shipment 199662 / 1
    .. WMS transfer order 12862453 / 1
    .. Pro Forma Invoice 90070497 / 10
    .. GD goods issue:delvy 4902546971 / 1
    Regards,
    Amar

    Hi,
    Try to reverse the gods issue, with VL09, for document "Delivery Standard" with number 80721176
    Free of Charge 70475917 / 10
    . Purchase order 9900099037 / 10
    . Delivery Standard 80721176 / 10
    .. Shipment 199662 / 1
    .. WMS transfer order 12862453 / 1
    .. Pro Forma Invoice 90070497 / 10
    .. GD goods issue:delvy 4902546971 / 1
    Regards,
    Amar

  • 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

  • Problem when Goods Issue (02) Inspection.

    HI Gurus,
    I have a senario in which,
    I have created sales order in VA01,
    I have done outbound delevery VL01N, Inspection lot is generated while doing picking.
    I want to disable the Post goods issue tab in VL01N so that the inspection lot is cleared and certificate is printed and then only this tab ( Post goods Issue ) tab should get activated.
    Otherwise it should be activated in VL02N.
    Else is there any control other than this to post the goods issue so that the goods issue should only be done after clearing the inspection lot. Is there any user exit to suit this senario...
    Thanx in advance
    Praveen Kumar

    Hi
    There are some user exits available for Delivery Processing control
    V50PSTAT- Delivery: Item Status Calculation
    V50S0001 - User Exits for Delivery Processing
    use SMOD for viewing the user exit & components
    The first may deal your business requirement.
    thanks & regards
    Kishore

  • Posting goods issue using Message type SHPCON and idoc type DELVRY03

    Hi SAP Gurus,
    I am using message type SHPCON and idoc type DELVRY01 with processing code DELV to post goods issue for a delivery note.
    I tried to simulate the inbound entry via WE19. The scenario should be posting goods issue based on the delivery order.
    In some cases, quantity issued is less than the quantity in the DO. For this, I need to change the delv quantity in the DO via VL02N before I select Post goods issue button. This will change at the same time post the goods issue.
    What I have filled up are the fields:
    E1EDL20-VBELN = DO num
    E1EDL20-VSTEL = Plant
    E1EDL18-QUALF = "PGI"
    E1EDTH13-QUALF = "006"
    E1EDTH13-NTANF = date today
    E1EDL24-POSNR = 000010
    E1EDL24-MATNR = material num
    E1EDL24-WERKS = delv plant
    E1EDL24-LGORT = sloc
    E1EDL24-LFIMG = updated quantity
    But everytime I simulate using WE19, the entire quantity in the DO is not changed at all. The goods issue quantity posted is still the original DO quantity.
    May I know how to do this? Thanks.

    Put value in E1EDL24-LGMNG for qty to pgi.

Maybe you are looking for

  • Is there any way to get keywords to show up in grid view?

    Being able to see the keywords assigned to each photo in grid view would be incredibly helpful to me for managing my photos and videos as I add new keywords.  Just seeing the "this photo has keywords" tag does not help.  I need to see the actual keyw

  • Migration from 3.5.1 to 9.3.0

    Hi, I am also trying to migrate from 3.5.1 to 9.30 and getting an error unsuceesful log on. I have instralled 3.5.1 on a different machine Windows server 2003 and Oracle 9i. I ahve installed 9.3.0 on other machine and Oracle 10G. While creating the a

  • Changing from url-pattern /faces/* url-pattern

    I would like to change from having to go to /faces/mypage.jsp to get server faces to render. I was thinking of having a url pattern of: <url-pattern>*.jsf</url-pattern> Is there any way to get this type of functionality? I tried changing the url patt

  • Location to save Pages documents

    Can I choose not to have iCloud come up as the default location for saving my document?

  • Multiplexing/Mirroring a datafile

    Is there any way to multiplexing or mirroring a datafile in a database? Explain in detail with an example. DB: Oracle 10g OS: Redhat 5 ASM: No ASM is used