Regarding Outbound IDOC for Goods Receipt with MBGMCR03

Hi Experts,
Please let me know ,how to handle TYPE QUANT fields when i am generating an Outbound IDOC for Goods receipt for message type MBGMCR with the IDOC type MBGMCR03.
At item level when passing the value for quantity received field ,the QUAN value into NUMC or CHAR before MASTER_IDOC_DISTRIBUTE to pass it to data record it is showing correctly in my BADI .
after generating the idoc , the field value is appended with next field value passed.
before generating IDOC
erfmg( 60.000) - ENTRY_QTY(060)
efrme (EA)       - ENTRY-UOM(EA)
after generating IDOC
IN WE02
ENTRY_QTY-060EA
later field values are mismatching .
Please let me know the resolution.
Thanks & regards
Vishnu

Hi,
     Standard Idoc types for invoice is  INVOIC01 and INVOIC02.
- Use WE30 for seeing Idoc types with segment.
Or otherwise go for Custom Idoc
           Create Custom Idoc type with required fields,custom output type and assign it to partner profiles.(If there is no std idoc type or output type)
          Use Funtion module MASTER_IDOC_DISTRIBUTE to generate Idocs while saving MIRO, for this you need to find exit or implement implicit enhancement while saving MIRO.
http://wiki.sdn.sap.com/wiki/display/ABAP/StepstocreatecustomIDOC - Creating Custom idocs

Similar Messages

  • Outbound idoc when good receipt is performed

    Hi Gurus,
    I've been trying to create an outbound idoc as good receipt is performed in 46c.  I've looked into MBGMCR and STPPOD message types and they don't work.  I did some configuration so that I could manually create an outbound file going into MB02 tcode.  Your expert instructions to creating an outbound idoc when good receipt is done is greatly appreciated.
    Thanks,
    S.

    Hello,
    I've looked into WMMBID02 IDOC with Message type WMMBXY, and looked further into idoc documentation.  It is used for inbound GR transactions.  Below is what I intent to do.  We issue a PO to vendor via edi, vendor ships goods to us, and using MIGO, goods receipt transaction is performed.  What I intent to do is to create an outbound idoc when MIGO is performed, so that I can let the vendor know that we received the goods.
    Thanks,
    S

  • Outbound IDOC for Goods Reciepts (MBGMCR01)

    Hi All,
    We need to send outbound idoc for goods movement GR (Basic idoc type- MBGMCR01), the problem is how to trigger that idoc, through output type or is there any other way to do it,
    If it is through output type what all settings we need to configure for this.
    Thanks in Advance
    Regards
    Shazia

    Hi Shazia,
    Speaking in terms of EDI Idocs, system is not prepared for send Goods Receipts because normally is an incoming message not the opposite. All the output messages you can find are for printing purposes.
    So you need to configure everything for Output Determination and create a new function module to capture NAST message determination, retreive GR data, populate the Idoc and distribute it. Finally you have to create output process code, partner profile, port, rfc, distribution model, etc. etc.
    Your starting point is next IMG activities to configure new output type for EDI medium for application ME: Material Management>Invetory management and Physical inventory>Output Determination.
    Reward points if useful
    Roger

  • Outbound IDoc for Goods Movement

    HI
    We need to generate XML files for goods movement posted in SAP at Goods Receipt (MIGO) and Post Goods Issue (VL02N). Requirement is asynchronous update where the receiving system will poll the xml file at the end of the day.
    I have not been able to find any standard outbound idoc for goods movement.Can someone advise how they tackled any similar requirement? Any other approach also appreciated.
    Thanks
    Sriram

    Answer to the question, which would be useful to all.
    <b>MIGO</b>
    MB_CF001 - Customer Function Exit in the Case of Updating a Mat. Doc.
    This exit is called on update task, populate segments (edidc & edidd) of WMMBID02 (WMMBXY message type) and use MASTER_IDOC_DISTRIBUTE. Also you need to maintain the ALE Distribution model in WE64 for this message type.
    Inside the code you can restrict based on movement type. No need to issue COMMIT.
    <b>VL02N</b>
    You can use BAdi: LE_SHP_DELIVERY_PROC to perform this.
    Create Implementation and use the method SAVE_AND_PUBLISH_DOCUMENT.
    Hope this help to others as well.

  • Standard IDOC for Goods Receipt

    Hello ppl,
    I have a requirement wherein I need to trigger an IDoc whenever a Goods Receipt is saved.
    Is there any standard outbound IDoc for this functionality?
    Please help.
    Thanks,
    Dawood.

    HI
    Trigger an Idoc when GR is saved.
    Re: Idoc type for Goods Receipt
    Regards
    Pavan

  • Outbound Idoc for Goods Recept

    Hi All,
    I need to setup Idoc for transfer posting from storage location to storage location,So currently there is no outbound process code for trigerring outbound idoc from SAP system to external system.
    I hope we have to create a new output type and segments to do this.
    B'coz , WMMMBXY and its segments are used for inbound idoc creation during GR. and theFM for this process is    L_IDOC_INPUT_WMMBXY
    Can somebody help me in writing an  outbound idoc program for goods receipt done in MIGO.
    Thanks in advance.

    Hi Shazia,
    Speaking in terms of EDI Idocs, system is not prepared for send Goods Receipts because normally is an incoming message not the opposite. All the output messages you can find are for printing purposes.
    So you need to configure everything for Output Determination and create a new function module to capture NAST message determination, retreive GR data, populate the Idoc and distribute it. Finally you have to create output process code, partner profile, port, rfc, distribution model, etc. etc.
    Your starting point is next IMG activities to configure new output type for EDI medium for application ME: Material Management>Invetory management and Physical inventory>Output Determination.
    Reward points if useful
    Roger

  • LIV for Goods receipt with out PO?

    Hi all,
    How to do Invoice posting for Goods receipt withput PO but with vendor ?
    Is it possible in SAP? If not what is the alternative?
    Please reply.
    Thanks,
    Aravind

    hi all,
    Thanks for the replies.
    I am very new to MM, so far i have created LIV's with PO reference only.
    Please explain me how to create an Invoice with ref to Vendor in MIRO? I tried to create but it is giving the error "Enter atleast one allocation Item with PO reference" ?
    Thanks,
    Aravind

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

  • IDOC for Goods Receipt

    Dear All
    Pls let me know if there is any IDOC for T.Code: MB1C ( Other Goods Receipts).
    Right now we r using the message type:WPUWBW  but when i try to post it goes to the T.code:WPED ( SALES AUDIT EDITOR )
    Regards,
    Shanmugasundaram.

    hi,
    sure there is
    the new one is called MBGMCR02
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Idoc for Goods Receipt against a Purchase Order

    Hello Gurus,
    I am Using message type WHSORD to generate an Idoc when a GR happens against a Purchase Order (Mvmnt 101).
    Q. Can I use Message Controls to make this happen
    If Yes, Then what would be the Output type (T-code: NACE). ( We have already tried ME Application type and MLGR & WE03 Output types)
    If we cannot use message controls, then what method do I use to generate the Idoc.

    Hello Gurus,
    Desperately need help.
    Regards
    Sri

  • Idoc type for Goods Receipt

    hi to all
               I am new to XI and i am doing a scenario in which R/3 and SUS(Supplier Self-Service) is communicating through XI.
               Now i want send goods receipt from R/3 to SUS.So my question is
    what should be Idoc type there on R/3 and what should be message type on SUS side?
    thanks in advance.
    With Regards
    Sami

    Hi Sami,
    I was justing wondering if you used STPPOD/DELVRY03 msg type and idoc type for creating an outbound idoc when good receipt is performed.  I am in a sitation where I want to create an outbound idoc containing all the good receipt information that I want to send to the suppliers that we received the materials.  Goods receipt will be done by MIGO transaction and I want to create an outbound idoc.
    Regards,
    S

  • 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

  • Find a bapi for Creates a Goods Receipt with correspond to Inbound Delivery

    hi expert!
    exist a bapi for tcode:MIGO_GR ( Goods Receipt with correspond to Inbound Delivery)
    i know one bapI  BAPI_GOODSMVT_CREATE can Creates a Goods Receipt,
      but i can't know to use it to Creates a Goods Receipt with correspond to Inbound Delivery.
    or other bapi exist for MIGO_GR?
    Best Regard!

    Hi Vatcan,
    Chek the Inbound Delivery 1st weather you refer the right PO in it
    You can also chek in  PO i
    1 Me23n Go to confirmation tab here you can see the  Inbound delivery  quantity
    2 Chek  which reference document you recived the goods,  (i.e You recived the goods with reference to PO or  Inbound delivery)
    2 Coz if you refer the inbound delivery then syestem will deafult show the inbound quanity
    And yes the actual quanity will update in inbound delivery if you refer the inbound deivery while reciveing the goods

  • Good receipt with reference to outbound delivery document

    Hello Gurus,
    Could someone please help with the following scenario?
    Article 1234 has base unit of measure pc, altenative measure box, 1 box = 12 PC
    In the purchase order (stock transfer order from one site to another site) 4 box of article 1234 is ordered. Outbound delivery created with reference to the above purchase order (stock transfer order) has quantity of 4 boxes (this is copied from PO). And then an transfer order is created with reference to the above outbound delivery and quantity requested is 4 boxes (copied from outbound delivery), but in the transfer order confirmation the confirmed quantity is 14 pcs (this is now confirmed with base unit of measure). And now if we check the outbound delivery doc, the confirm quantity is 14 pcs (1,167 box )
    But when creating good receipt with reference to the outbound delivery document, the quantity confirmed is now 14.004 pcs (this is calculated with unit of measure conversion table, i guess). But actually good receipt quantity should be 14 pcs instead of 14,004 Pcs!
    What can we do in order to have 14 pc in good receipt?
    Thanks in advance for your great help.
    Br, Ailleen

    Hi,
    Thanks a lot for both of your answers. But if is there a way to receive 14 pcs instead of 14.004 pc although the system did the right calculation according to the conversion rules!
    But in this case the supplying plant has issued 14 pcs but receiving plant has received 14,004 pcs and now there is discrepancy! Is there some enhancement or user exit could fix the situation or do I have to change the coding in order to solve this problem!
    Thanks again for you helpful advice!
    Br, Ailleen

  • Price change for material with Goods Receipt with out Order reference?

    hi all,
    Our client company have some finished products produced from raw materials. But we are not using Production planning module. So in MM we are receiving these products with Goods receipt with out order reference(521).
    The issue is, the price for this product will change monthly. This new price will affect the existing stock as moving average price calculation.
    ex:
                                     Quantity             Price             Value
    Stock balanace        100To                 2.00/To         200 
    Newly produced      100To                 2.20/To         220   
    after the GRN for newly produced is done. The price also need to change as below.
    Total                         200To                 2.10/To         420
    This is easy if we receive goods with PO price, as moving average price will updae in the master record.
    But here no reference. So only quantity updated with existing price. 
    So how to achieve the change of price ? Please help.
    Thanks,
    Aravind

    Hi Bijay,
    Thanks for the reply. I will use the posting method suggested by you.
    but how you are arriving  newly produced material quantity & price!
    The reply for your comment is,
    Every month My client company revise the price of the produced material based on various factors including the
    raw material purchase cost.
    The price will be fixed for the whole month.
    While posting the GRN, the accounts updated are,
    Dr  Material account
    Cr Production Cost
    Please let me know what you have asked is answered or not.
    So that i can brief more. This is my initial project. So your feedback is very helpful to me.
    Thanks,
    Aravind

Maybe you are looking for

  • 24" 2.4ghz al imac freezes constantly after 10.5.8 update

    Hi, I have a 24" al imac that run perfectly for years until I installed the 10.5.8 update. Now my screen dims, displays the power button graphic and says "press the power button to restart..." which I do and then send the report to apple... It's lock

  • IDOC-FILE - If IDOC is not triggered, need to genarate file with constants

    Hi Friends, I have a scenario like this. IDOC to FILE scenario. 1. IDOC will get triggerd everyday and flat file will be genatated at specified location. 2. If IDOC is not genarated for the day, need to genarate falt file with some constants. Can any

  • Cant open word files from mac side

    hi all have just installed windows 7 and the office suite and all seems to work fine until i try and open any word files that are located in my mac partition. it suggests that i need to open and repair but this doesnt solve the problem. i can open ex

  • 9i forms/sso - at runtime can I display the current oid user on the form

    Hi , Is it possible programically retrieve the current oid user name so that I can display this name on the form at run time. I am also wanting to use the oid user name as a parameter to call a stored procedure inside the form, is there a built-in to

  • Error 503 cannot download ATOT podcast plz help!!

    I can't download a state of trance episode 100.Plz help! I tried both from itunes and dorectly from my ipod.Am able to download other podcasts.