Inbound Goods receipt - IDOC WMMBXY/WMMBID02

I am able to post a GR with WMMBID02, but the status msg 53 only says 'Application document posted'. Why does it not provide the document number in message?

Hi,
  You need to do this programitically. For ex:
PERFORM idoc_status_fill USING c_idoc_status_ok_incomplete
                                                           v_idoc_docnum
                                                               c_success
                                                                    c_id
                                                                    44
                                                      struct_emkpf-mblnr
                                                      struct_emkpf-mjahr
                                                                   space
                                                                   space
                                                      p_i_tab_step-fname
                                                                   space
                                                                   space
FORM idoc_status_fill USING value(status)
                            value(docnum)
                            value(msgty)
                            value(msgid)
                            value(msgno)
                            value(msgv1)
                            value(msgv2)
                            value(msgv3)
                            value(msgv4)
                            value(routid)
                            value(segnum)
                            value(segfld).
  i_idoc_status-uname  = sy-uname.
  i_idoc_status-status = status.
  i_idoc_status-docnum = docnum.
  i_idoc_status-msgid  = msgid.
  i_idoc_status-msgno  = msgno.
  i_idoc_status-msgty  = msgty.
  i_idoc_status-msgv1  = msgv1.
  i_idoc_status-msgv2  = msgv2.
  i_idoc_status-msgv3  = msgv3.
  i_idoc_status-msgv4  = msgv4.
  i_idoc_status-segnum = segnum.
  i_idoc_status-segfld = segfld.
  i_idoc_status-repid  = sy-repid.
  i_idoc_status-routid = routid.
  APPEND i_idoc_status.
  CLEAR i_idoc_status.
ENDFORM.                    " idoc_status_fill

Similar Messages

  • Goods receipt - IDOC (WMMBXY/WMMBID02) error

    I am creating an inbound goods receipt with IDOC WMMBID02 and get the error 'Document date / / is incorrect in item 0000000001'. Error code: F5833.
    Error Diagnosis: 'Service financial accounting:  document date "  /  /" is technically incorrect in item "0000000001" of the accounting document.'
    Anyone know why I get this error. Appears to be FI related.

    Hi,
      The error occurs in the following function module:
    CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
           EXPORTING
                DATE                      = I_BLDAT
           EXCEPTIONS
                PLAUSIBILITY_CHECK_FAILED = 01.
      CHECK NOT SY-SUBRC IS INITIAL.
      MESSAGE E833 WITH I_BLDAT I_POSNR.
    Please check the documentation for the function module for details.
    regards
    Aveek

  • Inbound Goods Receipts IDOCS using L_IDOC_INPUT_WMMBXY

    Hi Guys.
    I am (trying to) creating Inbound material goods movement document using L_IDOC_INPUT_WMMBXY. I wrote a custom program mapped Control segment and data segment.  Control segment with the message type, IDOC type, etc.  Data segments with E1MBXYH, E1MBXYI, E1MBXYJ. Seems everything good to me, but when i execute the program the function module executes with sy-subrc = 0, but i am not seeing any idocs in WE02.  Am i missing anything here.
    Thanks
    Shankar

    Hi,
    The FM L_IDOC_INPUT_WMMBXY is the processing function module that will take the IDOC contents and create the GR document i.e. it does not create create the actual IDOC.
    If you want to create an IDOC in ABAP that will be processed by L_IDOC_INPUT_WMMBXY then use a function such as IDOC_WRITE_AND_START_INBOUND giving the necessary control record and data segments.  This will create the IDOC in the DB and trigger the inbound processing routine.
    Cheers,
    Pete

  • Goods Receipts Idoc

    Hi,
    Could you please help me out how to create Goods Receipt Idoc?
    I am using WMMBID02 with WMMBXY also in partner profile, but it is not generating any idoc?
    Please help me out.
    Kind Regards,
    Maulik Shah

    Hi,
    I think the below link is useful to you
    EXIT MB_CF001 for WMMBXY
    and
    http://help.sap.com/saphelp_nw04/helpdata/en/52/16ae23543311d1891c0000e8322f96/frameset.htm
    Regards
    Satya

  • Help needed on Outbound Goods Receipt (IDoc)...

    Hi Experts,
      Can we use the message type WMMBXY and IDoc type WMMBID02 for Outbound Goods Receipts scenario also (Sending Goods Receipts information to target system).
      Because WMMBID02 seems to be for Inbound going by the documentation in WE60. Can we use this for outbound as well? All the field mapping is perfect with respect to this IDoc and all the required fields exist in this IDoc.
       I am struggling to find a suitable outbound process code and processing function module to trigger Idoc from MIGO Transaction once the goods receipt is created / generated.
      Please advice me on how to achieve the above functionality.
    Thanks in Advance.

    Hi,
    check with this link it might be helpful to u ...
    <u>Purchase Order
    Re: Problem to send idoc for a Good Receipt created
    https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=1279261</u>
    Hope this will surely help u ...
    regards,
    sana.
    reward for useful answers...

  • Goods receipt idoc posting

    Hello All,
    I want to post an idoc for Goods receipt. Can anyone tell me the mandatory fields in Idoc for creating goods receipt through we19 idoc test tool.
    IDOC type: WMMBID02
    IDoc type: WMMBXY
    And if anyone has sample program to create GR idoc through ABAP program, please send it too. Thanks!
    Ricky

    I found using IDoc Type MBGMCR02 and message MBGMCR and much better IDoc/msg type to use then the WMMBID02 if you are doing a goods receipt or transfer order whether in WM or IM. It calls in a BAPI (configured via the WE20 partner profile ) to create a goods movement.

  • Account Assignment in an automatic PO created from a goods receipt idoc

    Hi guys,
    I'm doing a goods receipt via the IDOC MBGMCR that is automatically creating a PO.  Is there a way to make the item on that PO using the account assignement "K" (Cost Center) ?
    In the BAPI for the goods movement, they are calling the function module "ME_CREATE_PO_ITEM" to create/prepare the item.  In that called, they defaulted the account assignement to space!!! I don't know how I can overwrite it.  Is it possible via configuration ??
    Many thanks,
    Stéphane

    Hi Stephen,
    Did you find an answer to your query, i have the same question i want to default the account assignment 'K' for each item for a particular stock transport order.
    I'm wondering if it can be configured or do i need to have ABAP do it.
    your reply is greatly appreciated,
    Thanks,
    Michelle

  • Need to send BOM material in Idoc WMMBXY - WMMBID02

    Hi All,
    I have a requirement, the inbound GR gets posted into SAP from third party system, here they will send the BOM details with the main material. Pls let me know which segment the BOM value can be passed? so that the GR gets posted with BOM components.
    Pls note, If I send the main material from Idoc the component are picked from SAP and the GR posted with BOm components. My requirement is, If the BOM qty changes the will send the BOM and new qtys. I need to post the GR with the new BOM qty.
    Thanks in Advance.

    Hi Pavithra,
    How to Guide for sending mails:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d0964d7c-e66e-2910-24bb-ac535e4a5992
    Use StrictXML2PlainBean in the module processor to convert the data to CSV:
    /people/pooja.pandey/blog/2009/02/23/xml-to-text-conversion-made-easy-by-strictxml2plainbean
    http://help.sap.com/saphelp_nwpi711/helpdata/en/44/748d595dab6fb5e10000000a155369/content.htm
    Regards,
    Aravind

  • IDOC WMMBXY outbound - R3 idoc posting error

    Hi! All
    In a file(inbound) to IDOC scenario using the IDOC WMMBXY.WMMBID02(outbound), i have the following status notification and status grouping is also in red when the idoc is posted to R3...
    IDOC: 0000000000605076 Status: Application document not posted
    Qty and / or "delivery completed" ind. or final issue ind. are missing
    It would be very helpful, if you can let me know ...what i did wrong in the mapping/design.
    Thank you,
    Patrick

    Jones,
    The error states:
    <i>Qty and / or "delivery completed" ind. or final issue ind. are missing</i>
    So please check in the idoc whether you are passing the values for Qty and "delivery completed" or final issue ind. I think to post into R3 you need to have these values.
    Regards,
    ---Satish

  • Fields mapping IDOC WMMBXY to post Goods Receipt against Inbound Delivery

    Hi Friends
    I am testing Goods Reciept against Inbound Delivery using Inbound IDOC.
    IDOC Type used WMMBXY  and Function Module :
    System is giving erorr message as "Document does not contain any items".
    Kindly let me know segment data mapping for above IDOC type
    Following data are passed to segments,
    E1MBXYH-BLDAT  Document date
    E1MBXYH-BUDAT Posting date
    E1MBXYH- XBLNR  .. in this field i am passing Inbound Delivery number
    E1MBXYH- TCODE  ...  MIGO
    E1MBXYI-BEAKZ   ...  B Goods Receipt against Purchase Order
    E1MBXYI-MATNR     material number
    E1MBXYI-WERKS     Plant
    E1MBXYI-BWART    Movement Type
    E1MBXYI-LIFNR         Vendor code
    E1MBXYI-KZBEW      B
    E1MBXYI-POSNR      Item number in delivery
    E1MBXYI-VBELN       Inbound Delivery number
        E1MBXYJ-VLIEF_AVIS            Inbound Delivery number
        E1MBXYJ-VBELP_AVIS           Item number in Inbound Delivery
        E1MBXYJ-WM_KZBEW            Movement indicator
    Raj

    Hello,
    Did you recieve any answer or find a solution? I encounter a similar issue.
    Thanks in advance,
    Génia.

  • Goods receipt against process order with inbound idoc

    Hi Experts,
    We need to post good receipt against process order with movement type 101 and for By-product 531.
    Can we use inbound idoc-WMMBID02,with message type WMMBXY to achieve this functionality?
    Or please advise if we can achieve this  from any other Idoc type.
    We are getting below field values for external system
    1. process order number
    2.plant
    3.material
    4.quantity in unit of entry
    5.unit of measure
    6.storage location
    7. movement type
    8.Batch
    Kindly advise how can we achieve this.
    Best Regards
    CS

    261 and 262 are two different movement types INDEPENDENT of each other. I definitely know for the fact that SAP allows you to create a 262 without a 261. if you were to restrict it... you can disable access through a tcode for that mov. type 262 and ask users to use MBST to cancel any material documents created via 261 movt type.. that would ensure a smooth process

  • Ergent help about inbound IDoc for Goods Receipts

    Dear friends
    We have an ergent issue needing your help.
    It is about DEVRY03.
    Senarios is as following:
    When we create a delivery by using VL31n, system try the IDoc and transfer to XI.
    This is ok.After external warehouse system processes the IDoc,a message is sent back to SAP to post the goods receipts for the delivery.
    Inbound IDoc type is DEVRY03. Is it right?
    Which function module or which process ok is used for this senario?
    Can anyone suggest how to do it?
    Minghan

    Hi !
    Here comes some information for the INBOUND idocs....
    There is a IDOC for transmitting goods movements from a legacy system.
    It's message-type is: WMMBXY
    IDOC-Type is: WMMBID02 (See we60 for it's pretty good docu....)
    Prcoess-Code is :WMMB
    The function that processes the data is: L_IDOC_INPUT_WMMBXY
    Hope that helped a bit (for inbound)....
    Regards
    Rainer
    Some points would be nice if that helped.

  • Post Goods Receipt for Inbound Delivery using WHSCON IDoc

    Dear All
    Currently I am working on a big project dealing with EDI connections to our logistics partner for the Export business. The entire message flow between Lindt and our partner should be via EDI. Our SAP release is (still) 4.6c.
    We will create two kinds of despatch advice messages, one for inbound deliveries and one for outbound deliveries for customers.
    I would appreciate your support in the following problem that I am facing with the inbound delivery scenario:
    We create stock transport orders (purchase orders, POs) for the goods intended to be delivered into the plant at our partner
    We create a delivery (type NL = replenishment delivery) for this POs
    As soon as we post the goods issue we send the despatch advice (as EANCOM D96A DESADV message) to our partner.
    At this point the delivery is basically completed, i.e. packing status (PS) and goods movement status (GM / GS) are equal to 'C' (= completed).
    Our logistics partner uses the same EDI message to send us the goods receipts data, e.g.:
    We dispatched 50 units of a product => QTY:50:12
    The partner received indeed 50 units => QVR:50:66
    Please note that we do not use the QVR segment for the quantity difference (between despatched and received quantity) but it contains the received units. This way we avoid negative values in the QVR segment.
    When the logistics partner sends back the DESADV message containing the received quantities (QVR segment) we want to make
    the goods receipts for the products in the original stock transport order and
    upate the message flow in the delivery
    My idea was to transform the incoming DESADV message into a WHSCON.DELVRY03 IDoc based on the documentation in: [Delivery Interface|http://help.sap.com/saphelp_crm40/helpdata/en/e2/654b15a9f411d184ec0000e81ddea0/content.htm]
    In the delivery header control E1EDL18 I used QUALF = 'PGI' (Post goods issue).
    I prepared an inbound WHSCON IDoc according to the documentation mentioned below. I managed to get some feedback from the Idoc processing implying that the system tried to do the goods receipt in the PO but failed.
    To make a long story short here are my questions:
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    Does anybody have an example on how to fill the WHSCON IDoc?
    Or is my approach a cul-de-sac ?
    Kind Regards
       Uwe
    PS: A related question can be found here: Goods Receipt in PO AND Message Flow Update in Inb. Delivery using WMMBXY

    Hi Uwe,
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    The binary answer would be no. You should use WMMBXY or MBGMCR instead.
    But if we are doing goods receipt against Inbound delivery then answer is YES with additionally E1EDL18-QUALF = 'PIC' populated. But please remember no partial receipt is possible against Inbound Delivery.
    We should populate E1EDL20-VBELN with our Inbound delivery number and line item info should go to E1EDL24.
    I have done a similar interface recently where we are doing receipt against Inbound delivery. But our case was a bit complex because we had to support against Inbound delivery. So we had to go for a custom solution on top of IDOC_INPUT_DELVRY.
    Hope this helps. Let me know if you have more questions.
    Regards,
    Rudra

  • Inbound IDOC to post goods receipt with inbound delivery as reference

    Kindly let me know the message and IDOC type for
    Inbound IDOC to POST GOODS RECEIPT  with inbound delivery as reference
    I tried using WMMBXY but it didn;t work.
    Pls let me know asap.Your help is appreciated.
    Thanks and Regards
    Priti
    Edited by: Priti Adukia on Feb 11, 2008 4:48 AM

    Hi Nicole,
    What I've to do is quite the same as the case. Outbound and Inbound are in the same SAP system. If I've good understanding, I must set partner profile as follows :
    INBOUND - Parter LI with
                            Message DESADV
                            Operation code DELS
    OUTBOUND - Partner KU
                            Message DESADV
                            Operation code ???
    Please advise
    Suchart

  • Good Receipt Reversal using Idoc WMMBXY

    Hi to all,
    I've the following issue in a 4.6C R/3.
    I want to reverse a Goods Receipt from Purchase Order (MB01; goods movement 102) using inbound idoc WMMBXY.
    When I try to reverse some quantity in the PO of a material position without batch, there's no problem, the Idoc enter and reversal goes well.
    But when I try to reverse some quantity (i.e. 3 PCE) of a material position not batch managed, Idoc goes in status 51 and gives following error:
    "Deficit of PU GR quantity 3 PCE : [MATERIAL] [PLANT] [ST.LOC] [BATCH]
    Message no. M7 021"
    Anyone can help me?
    Thanks a lot,
    Alex

    No one can help me?

Maybe you are looking for