Good Movement Outbound Idoc

Hi ,
We have to transmit Goods movement idoc to our partner.Since i couldn't find any standard outgoing idoc for material document posting.
Therefore we are considering below two approaches to get it done
Solution 1
We will use the user exit / customer exit like MB_CF001 available at material document posting to call FMs which will populate edidc & edidd of idoc type WMMBID02 (WMMBXY message type). We will updated NAST with our hard coded output types like ZABC.As soon as the the output type gets processed the message will be transmitted to partner.(For this output type we are planning to configure despatch time as IMMEDIALTELY therefore i believe message will get transmitted as soon as material document is posted.)
But we can see few challenges in this
1) Which program and routines we have to attach with output types ?
2) In NAST along with output type we also have to update , material document number. How to get it before posting a document ?
Solution 2
We will use the user exit / customer exit like MB_CF001 available at material document posting.Using this exit we create a XML file with field and place into a disred directory. XI people will do the rest work for us.
Need you advice on the feasible solution of two and which is more cost / effort effective 
regards
Shrey

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

Similar Messages

  • Related to goods movement and IDOC generation

    Hi,
    I need to create an IDOC for custom output type attached to transaction MIGO for purchase order after goods reciept.
    How can I attach an output type with transaction MIGO.
    Or is there is any other method to generate IDOC after good reciept.

    Dear Goutam
    All the three you can see in <b>MB51</b>.
    Thanks
    G. Lakshmipathi

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

  • Outbound IDOC- Goods movement

    Dear Experts,
    We have requirement to trigger idoc for MB1B, MB1C, MB0A, MB01, MIGO where we have
    to create IDOC on goods movement on all these transaction.
    We have found standard IDOC "WMMBID01" for goods movement. But we are struggling
    assign with output type on transaction basis.
    Is the same IDOC will use for all "MB1B, MB1C, MB0A, MB01, MIGO" transaction?????
    How we can define output type for all these transction?
    Is standard IDOC "WMMBID01" will use for all these transaction or different IDOC will use
    for diffenet transaction?
    Looking forward your valuable guidance...
    Will be thankfull to you all...
    Regards,
    This question is in general several times repeated in your different threads, hence I am locking this one
    Edited by: Jürgen L. on Dec 20, 2011 2:15 PM

    Thanks John. Even if I use an output type to trigger IDOC, do I still need to code to populate segments?
    BTW, I tried creating an output type but did not create any IDOCS. Steps I did are:
    1> Create a new output type Z001 with proc. program as RSNASTED and form as EDI_PROCESSING.
    2> Create an OUTBOUND partner profile for LS type and use WMMBXY message type. I am using an XML port to create a IDOC file and NOT use another SAP system to txfr the IDOC, so it creates IDOC as a flat file on app server.
    3> I then do MB1C with 'print' checked and post a 501 mvt type.
    BUT NO IDOC IS created? What am I missing here?
    I suspect improper creation of output type, I did play with it trying diff. options but nothing seems to work!
    Let me know if I am doing something grossly wrong here!
    Thanks and appreciate ur help!
    Bhaven

  • Send IDOC DESADV4.DELVRY03 after goods movement

    I need to send an IDOC DESADV4.DELVRY03 when a goods movement type 951 is done. The IDOC is standard but I need to fill it manually, obviously, because there is no real delivery with data to fill it.
    I think the steps are the following but I need a little help to do everything:
    1 - Go to transaction NACE and for application 'ME' define a new output type. But how I do that? What are the steps here to generate a message when a goods movement type 951 is created?
    2 - Now... I expect to have data in table NAST, for generated output messages, but I'm missing some configuration I think.
    3 - In WE20 I define a partner profile for my IDOC, there I specify in Message control tab the application and message defined in NACE, and a Z process code defined by me in transaction WE41. That process code will be related with a Z function module to generate manually the IDOC.
    As you can see, I have a bit knowledge about this but not enogh to finish it.

    Hi,
    We can see how to create invoice
    1. Create logical system in BD54
    2. Assign logical system to client in SCC4
    3. RFC Destination - SM59
    4. VK01 - Condition Element
    Give usage (B) and application type (v3)
    select condition types and click on continue
    click new entries to create youe own condition type
    Give access sequence 0001 , transmission medium 6 , partner bp , date - 4
    Click processing program Here enter the program name as RSNASTED and form routine as EDI_PROCESSING.
    Then in the initial condition type screen click partner definition button and add new entries and enter the data.Save and exit the screen
    Select Access sequences and press enter.
    There will be a list access sequence already defined, select u201810u2019 for the field access and click ok.
    Save and exit the screen and return to the initial condition element screen.
    Select Procedures in the condition element screen and press enter.
    Select the procedure u2018V0001u2019 which is defined for the access sequence u20180001 and then click control.
    Define the Step no, Control and Condition type and then save
    Port Definition:
    Transaction Code: WE21
    Create a file port as u2018YINVu2019 and in the function module field give u2018EDI_PATH_CREATE_USERNAMEu2019 in the outbound file tab.
    Partner profile:
    Transaction Code: WE20
    Select partner profile as type u2018KUu2019 u2013 Customer and select u2018<custno>u2019. Check the outbound parameter for message type u2018INVOICu2019 corresponding to invoice is there or not. If not define it by add entries. Then double click the message type to define the outbound parameter.
    Outbound parameter:
    Here you specify the receiver port as u2018YINVu2019 which was created and basic type as u2018INVOIC01u2019 in the outbound options. Then define parameters in the message control tab v3 , inv , sd09 and save
    or
    try http://www.saptechnical/Tutorials/ALE/Guide/Index.htm

  • IDOC for Goods Movements

    Hi gurus,
    I am currently looking for IDOCs configuration in order to send (outbound) and receive (inbound) goods movements between SAP and a legacy system.
    Basically information about configuration( how to trigger IDOC outbound to legacy system), message type, Idoc type, Process Code (For inbound).
    Any information will be appreciated.
    Best Regards,
    Gabriel Santana

    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 on Goods movement

    Hi Experts,
    I need to generate outbound IDOC on goods movement 551 - scrapping. It is an information IDoc whenever a 551 is posted. Let me know the message & basic type & steps to create the same.
    Thanks,
    Sourabh

    Message Type: WMMBXY
    Basic Type: WMMBID02
    FM: L_IDOC_INPUT_WMMBXY
    1 -  Create a new output type ZXXX with program as RSNASTED and form as EDI_PROCESSING and medium as 6.
    2 -  Create an OUTBOUND partner profile for LS type in WE20 and use WMMBXY message type. Create a port in Transactional RFC.
    3 - Create a condition record in MN21 for automatic processing for that output type.
    If you want the output type to be triggered only for 551 movement, create a requirement and assign it to the output type in the output determination procedure.

  • 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

  • Idoc mbgmcr02 movement type 311 ..  goods movement not possible w/mvmt type

    i am using we19 to create a test idoc...i have the ports and partners filled in...i am using movement type 311..i have the material , the plant, the storage location...the qty..i have the move material, the move plant and move storage location filled in...
    when i use standard inbound processing it generates the idoc..i go to we02 and look at the idoc..in the status records i get status 51 goods movement not possible with mvmt type 311..????what am i missing
    if i do the exact same thing with the transaction migo...works fine...
    am i missing something????

    i am trying to move material from one location to another using IDOC MBGMCR02..
    I am entering the following...
    E1BP2017_GM_Code=04
    in e1BP2017_GM_ITEM_Create
      Material=CON2020
      Plant=3000
      Stg_Loc=0001
      Move_Type=311
      Entry Qty=001
      Move_Mat=Con2020
      Move_Plant=3000
      Move_Stloc=0002
      Mvt_Ind=??????
      In the Mvt_Ind I have tried E,K,M,Q
      the in get a status 51 Update Control of Movement Type is incorrect(entry311XX_K)....
      Is E1BP2017_GM_CODE = 4 correct???
      What should be the Mvt_Ind???

  • Inbound idoc for posting Goods movements

    hi,
      iam using Transaction WE19 and posting some test data to post goods movement into same system for testing . i have used the message type MBGMCR and process code BAPI for the inbound processing.
    Iam posting test data for movement types 101,102,641 and 642 .and iam processing with the unbound FM BAPI_IDOC_INPUT1,  but iam getting a status 51 (application dod not posted ) with error as ' Update control of movement type is incorrect (entry 101 X X )'.
    what does this mean? please suggest why this error could come?
    if i get a status of 54 - EDI: Partner profile inbound not available .what may be the error? my partner profile setting were correct.
    thanks,
    soha

    Hi !
    The error means that there is an inconsistency between the "given" data and the date that BWA 101 is needing.
    The Table that is beeing checked is the T156.
    Check the data you are giving to the idoc. You may check it with the IDOC-docu or with the Docu of the FM BAPI_GOODSMVT_CREATE to see what fields
    have to be filled in what way to create an 101 .
    Regards
    Rainer
    Some points would be nice if that helped...

  • Stop generating delivery IDOC output (outbound IDOC)  if goods issued!

    How to stop generating delivery IDOC output (outbound IDOC)  if the delivery has been goods issued?! Any user exit or BADI for this?!
    Thanks

    We take a routine in output requirement! it's done!

  • 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

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

  • IDoc For Goods Movement

    Hi All,
    We have a catch weight management implemented and am using IDoc Type /CWM/MBGMCR01 to create goods movement.
    However, I do not see any segment in the IDOC where I could pass data into the batch characterisitcs for Goods Receipt. Currently we have around 20 characteristics on the batch for any particular GR and my client wants to create GR with all the characteristics our Vendor would be transmitting to us.
    Is there a way to achieve this.
    Thanks.

    in IDOC MBGMCR03 u can use extention segment E1BPPAREX for passing characteristics values directly to database table. U need to pass pass table name, fields name and values in parameter of this structure.
    Please search SDN for how to use extension structures in BAPI ..
    regards

Maybe you are looking for

  • How come my Adobe Illustrator CC does not recognize my keyboard layout ? How can I make it do that ?

    I have an Azerty keyboard, and the Illustrator CC defaults to Qwerty.

  • Controlling an FLV with a DW behavior

    Is there piece of Javascript, or better yet, an extension out there that I can use to control an FLV in a DW page? I am developing e-learning pages using Dreamweaver, where video #1 plays and the learner has to answer a question about it. When they c

  • OS X Mavericks Finder Bugs?

    Upon updating my iMac to OS X Mavericks I noticed that Cover Flow contained a few annoyances and I have yet to find any discussions about this particular one. I've always used Cover Flow since I migrated to Mac but this seems specific to Mavericks. E

  • Idvd 4

    Hope I've found the right forum. I have idvd 4, IMac g5 10.3.9. I have burned disk images in disk utility of projects to look at them before burning to disk. Well I'm sure that I used disk utility but now when I try I don't seem to have access to add

  • Using iPhoto and Snapfish

    I am trying to use Snapfish (www.snapfish.com) to share my photos with others and keep getting the message: "The page "Snapfish: Upload Pictures" has content of MIME type "application/x-photocenter-upload". Because you don't have a plug-in installed