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.

Similar Messages

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

  • Post Goods issue using delivery

    Hi,
    Anyone know a function module or BAPI to post goods issue (mvt:601) for delivery. function module BAPI_GOODSMVT_CREATE does not support 601 or like. and if we use BDC, there are no return message because we use transaction VL02N and in this if any error, it will stop at error screen.
    Pls let me know if you have any solution on this.
    regards,
    Nilesh

    Hi,
    I got solution with fm: WS_DELIVERY_UPDATE_2 which will update delivery, packing, picking.......
    Still waiting for answer on: creating delivery realted billing document. Tried BAPI_BILLINGDOC_CREATEMULTIPLE which will create order related only.

  • How to create post goods issue using sapgui.

    hi,
    can u pls tell how to create pgi for delivery .pls tell  spep by step procedure
    regards
    Guru

    Hi,
    Goto VL02N -> give the delivery number..Then press enter..
    In the resulting screen..There will be a button for called "Post goods issue"..Then press that..The goods issue will be posted automatically..
    Thanks,
    Naren

  • Amount and Quantity of Goods issue made for a material and movement type

    hi experts,
                   i need for a particular movement type considered, what are the goods issues made(Quatity, Amount) in the particular period for a material.Can u help me out in which table i can find this data. I think this can be achieved from MSEG,but it could be a performance issue.Which tables i have to approach to find the Quatity and amount of the GI made

    Hello
    Read MSEG and MKPF (for posting date in the document)

  • Multiple customers for same message type "invoic" and idoc type "invoic02"

    Dear Experts,
    I have SAP ALE process configured for single customer u2018Au2019 where I send invoic02 idoc (message type invoic) to the customer via PI server. Now I need to add one more customer u2018Bu2019 which require recepient determination. I am not sure whether this resolution of customer address at PI level or config is required at R3 itself.
    I tried to maintain partner profile type as KU but it generates the error "No partner profile is maintained". For existing customer u2018Au2019 I am keeping the partner profile type LS.
    I want to know the following:
    a.Whether the recipient determination at R3 (config of partner profile we20)- if so what are the essential steps. Do I really need to shift partner profile type as KU?
    b.Whether config is required at PI level itself- if so is there any pre-requisite config in R3 to support that in PI.
    I hope my question is clear since this is my maiden attempt to seek solution from expert group.
    Regards & Thanks

    Hi ,
    if you want to trigger the idoc  two times for basic type& Extension..
    1 ) you need to maintain  WE20 Partner Profiles (This is good already you did)
              --> But the Output type for Bsic type & extension type is same so output type is triggered Once so idoc is created One.
    2) try to create another Output type in T-code NACE for extension then two Idocs is created one for Basic and another for Extension.
    Regards,
    Prabhudas

  • STO Post goods issue reversal using vl09 not happening.

    hi
    user has done following cycle
    1.ME21N-PO document type UB and Item cat I.
    2.VL10B- Outbound delivery
    3.VL06G-goods issue using automatic MVT 647 and 101)
    4.VF01-Performa Invoice(billing Type JEX)
    5.J1IIN- Excise invoice.
    In billing base price is missing because of that all duties and net price zero.now user wants to cancel entire cycle. he has done excise cancellation using J1IH. we are not able to reverse billing using VF11, we are not able to PGI reversal using Vl09. it giving error "No dat available for your selection".
    Note: is it problem of JEX because we have not assigned cancell billing type and doc pric procedure to JEX?
    any solution for the above issue.

    the optional solution can be as following steps:
    1) create the bin manually with ls01n: storage type 904, bin name is the delivery number,
    2) reverse with vl09 and a material doc will be created.
    3) check the bin stock with ls24, you will see negative stock in 904.
    4) create TO to offset this negative qty with lt06 with above mentioned material doc. this TO's source bin is just the one in regular storage type.
    5) confirm TO
    6) don't forget to delete the bin created in step 1,  this is because it is created manually but not dynamic bin that will dissapear automatically.
    pls reward if helpful.

  • 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

  • Change BSEG-ZUONR  during the Post Goods issue.

    Hi
    We wanted to Update the BSEG-ZUONR with sales Order no( traverse back to the Original SO during reversal)  ( Basically Assignment field (ZUONR) in the Accounting side) after performing the Post Goods issue  USING TRANSACTION VL02N.
    Is there any user exit which can allow us to update the accounting field ( ZUONR) during the post goods issue ( Tcode VL02N)?
    Thanks a lot.

    Hi,
    you can achieve this using the concept of validation and substitution rules in FI (Check transaction OB28) or below help
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/27/06e23954d9035de10000000a114084/content.htm
    Hope this helps
    Regards
    Shiva

  • Dump "COMMIT_IN_POSTING" while posting Goods Issue

    Hi All,
    We are trying to post Goods Issue using the FM BAPI_GOODSMVT_CREATE.
    Based on the return status of this FM we are commiting the transaction using BAPI_TRANSACTION_COMMIT.
    On Execution we are getting the dump "COMMIT_IN_POSTING".
    Please let us know if anyone has any idea about this error.
    Regards,
    Lavanya.

    Hi Florian,
    I have commented the BAPI_TRANSACTION_COMMIT, but it is giving same dump since commit work is happening in another FM which I am using in my program. So I have commented that FM, now it is giving a dump MESSAGE_TYPE_X. The dump error analysis is:
    Short text of error message:
    Nested call of PERFORM ON COMMIT: NESTED_PERFORM_ON_COMMIT caller: SAPLM
    BRE program: SAPLMBRE form: DELTA_PUT
    Long text of error message:
    Diagnosis
         During processing of a routine called using PERFORM ... ON COMMIT,
         the system attempted to call PERFORM ... ON COMMIT again. Nesting
         of this is not allowed.
    System Response
    Procedure
         The program indicated after "Caller:" must be changed. This is the
         program that calls the routine indicated after "Form:" during
         COMMIT processing. This routine is part of the program indicated
         after     "Program:".
    Regards,
    Lavanya.

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

  • Message type and IDoc type to update a sales order

    I can create sales order at WE19 by the message type SALESORDER_CREATEFROMDAT2 and IDoc type SALESORDER_CREATEFROMDAT202 . Can I use the same message type and IDoc type to update a sales document (sales order) and also how can I do (I mean, which structures should I use; at E1BPSDHD1X - UPDATEFLAG what should I enter? Put an X to update a document or etsc?)? I enter the "E1BPSDHD1X - UPDATEFLAG" as X, "E1BP_SENDER - LOG_SYSTEM", "E1BPSDITM - ITM_NUMBER", " E1BPSDITM - MATERIAL", "E1BPPARNR - PARTN_ROLE", "E1BPPARNR - PARTN_NUMB" and "E1BPSCHDL - REQ_QTY". The sales order quantity is at "E1BPSCHDL - REQ_QTY" and it is the field that I want to update. When I look at the transaction code BD87, I see the status text as "Enter a document number between 0005000000 and 0005999999". I cannot update the order. How can I update it? Canybody explain me in a detailed manner?
    Thanks in advance....
    Edited by: Hikmet Akcali on Oct 21, 2009 4:00 PM

    At the IDoc type pop-up selection, there are 3 types. These are: ORD_ID01, ORDERS05 and /NFM/ORDERS05. SAP system component version is SAP ECC 6.0 . I choose ORD_ID01. There are structures EDI_Z1, EDI_Z3, EDI_Z5, EDI_Z9 and EDI_Z53. Where should I enter the number of the sales document to be updated? Also, which function module should I choose?
    Edited by: Hikmet Akcali on Oct 21, 2009 5:34 PM

  • Std Msg Type and Idoc Type to send multiple characteristics for equipment

    Hello Experts,
    I have the requirement to send all the assigned characteristics linked to an Equipment or linked to a Material, along with the all possible values BUT require only standard Message Type and Idoc Basic Type.
    I found Message Type = CHRMAS and Idoc Type = CHRMAS04, BUT it contain information of ONLY one characteristic, not solve my objective (multiple characteristics in one Idoc)
    Will you please provide me any standard Message Type and Idoc Basic Type that solve my above requirement?
    Thanks in advance,
    akg

    Hello Experts,
    Can you at least tell me, is there anything standrad that can fulfill my above requirement?
    If not then I will proceed with custom developments; and in this case is there any complexity to transmit the custom Idoc?
    Thanks in advance,
    Thanks & Regards
    akg

  • Post Goods Issue - error : Class type does not exist - Message no. VK662

    Hi,
    I am trying to do Post Goods Issue and getting this error: Class type does not exist
    When double click on the error, it shows it is a message no vk662.
    Any help to resolve it is appreciated. Thanks in advance.
    -Sri

    Sri
    There is a problem in batch determination.
    The batch you assigned to the material does not have a class or if it has a class, that class does not exist.
    Display the batch from the delivery item  using MSC3N and go into the Classification tab. You should have a class of class type 22.  See if that class exists in CL03 and its status in basic data tab. Work on these lines and revert.
    Hope this helps.

  • Help: one request using ALE&IDOC to Posting Goods Issue about MaterialScrap

    Hi Exports,
    i got a situation. My client is using ALE&IDOC to deal with the Material Scrapping. The business scenario is:
    1. One third system (Non-SAP) Send IDOC to SAP Production Server through the Intermedia SEEBEYOND.
        Message Type: MBGMCR
        IDOC Type: MBGMCR02
        BUSINESS OBJECT: BUS2017
    2. SAP Production Server use "Message Type: MBGMCR" to find out the BAPI in Distribution Model and trigger the BAPI.
    the Distribution Model:
    Model View
    SEEBEYONG
    PRODUCTION
    GoodsMovement.CreateFromData
    Reciever determination: no filter
    Now my client's request is:
    When the Movement Type is 551 in the IDOC Segment "E1BP2017_GM_ITEM_CREATE", This IDOC will be ignore and not trigger the BAPI to post goods issue.
    i try to add the destination filter in the Distribution Model. but when i add the filter group, there are only two filter parameter ("Plant" and "Storage Location") and don't allow to add others.
    i have no idea now. can anyone give me a favor. thank you very much in advance.
    Edited by: Dave Wang on Feb 29, 2008 7:09 AM

    We got hold of the Idoc type 'DELVRY03 PGI SHPCON' we are able to post the Idoc but we are able to do the packing only or we are able to change the deliveries but the PGI is not happening..
    please help us on this.. is there some condig that updates the delivery with the PGi or is there something else do be done in the Idoc....
    will provide additional details if required.
    Thanks
    Arun

Maybe you are looking for

  • Urgent: Problems with filters with routines in DTP

    Hi All.   I have this: ODS --> Transformation --> InfoCube   I've created a "full" DTP which has a routine in the filters because I need to calculate the from-to date in a routine.   The InfoObject in the ODS is: <b>0CREATEDON</b>   It has no errors.

  • Cannot Convert PDF to Word

    Hi, I am attempting to convert a PDF to word.  I had another file the exact same size and essentially the same content, but the latest file is a corrected version of the first.  I need to compare the two word documents to insure no additional changes

  • Has anyone managed to connect a canon 5d3 to FMLE for live streaming?

    Been trying to get this sorted for a project but its not proving simple at the moment. Any help at all will be appreciated

  • I restored my macbook air

    i restored  my macbook air to factory settings to delete all my stuff cause ill gonna give it to my sis,,, & it didn't dowload iphoto,imovie & garageband,, i tried to dowload from app store & it says that those apps were assigned to another apple id,

  • Product-profit center

    Hi guys, Rules & any documentation to map Product categories from legacy system to Profit centers...unable to approach the issue...any help...thanks