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.

Similar Messages

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

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

  • Posting period for idoc mbgmcr goods movement

    Hi
    i am trying to run idoc mbgmcr as a standard inbound function module in we19
    i use posting date 20070415 - i get posting period 004 2007 is not open
    so i try using posting date 20070515 - i get posting only possible in 2007/04 and 2007/03
    so i go into mmpv for cc 3000 2007 04 - i see the current period(mo/yr) for control rec is 04 2007
    i also go into omsy and i see for cc 3000 2007 4
    so i assume it should let me post using a posting date 20070415
    so i guess i am really confused about this posting date for mbgmcr
    i have already tried to close an old period and open a new that is why i am at period 04 2007
    any help would be GREATLY APPRECIATED.
    Thank you in advance

    okay so here is the scoop
    i went into ob52   i saw for my cc 3000
                         from period   year     to period   year
    3000+               1               2003        12        2006
    3000A ZZZZZZ    1               2003        12        2006
    3000D ZZZZZZ    1                2003        12        2006
    3000K ZZZZZZ    1                2003        12        2006
    3000S ZZZZZZ    1                2003         12       2006
    so i went ahead and changed all the 2006 to 2007
    now at least i get a different error when trying to use idoc mbgmcr to post a goods receipt for a po 
    i use posting date 04/15/2007
    now i get for object rf_beleg 3000, number range interval 50 does not exist FBN1
    so i absolutely know nothing about FI and what i need to change in this transaction ob52  but i think that is what needs to be done
    so ANY HELP WOULD BE GREATLY APPRECIATED DIRECTING ME IN WHAT NEEDS TO HAPPEN IN THIS TRANSACTION
    PLEASE THANK YOU

  • Idoc: post goods movement and batch classification

    Hi,
    I want to process a goods receipt to PO (mvt: 101) via Idoc for a batch managed part and also add some data into the batch classification.
    The idoc processing works (including the creation of the classification data). but as soon as I want to add data to the classification within the same function module I get a lock entry error.
    Can someone give me a hint of how to do that? what is the best option to fill additional classification data (maybe a BAPI?)
    Thanks for any help!
    Right now I added the following coding to the function module (copy of IDOC_INPUT_MBGMCR) which processes the idoc (here I get the error that the data of material XXX is blocked!):
        PERFORM dynpro USING:
                'X'  'SAPMM03S'     '0105',
                ' '  'RM03S-MATNR'   batch_data-matnr,
                ' '  'RM03S-WERKS'   batch_data-werks,
                ' '  'RM03S-CHARG'   batch_data-batch,
                ' '  'RM03S-LGORT'   '    ',
                'X'  'SAPMM03S'     '0200',
                ' '  'BDC_OKCODE'   '/7',
                'X'  'SAPLCTMS'     '0109'.
        IF batch_data-trace1 NE space.
          PERFORM dynpro USING:
                ' '  'RCTMS-MNAME(1)'  'TRACECODE1',
                ' '  'RCTMS-MWERT(1)'   batch_data-trace1.
        ENDIF.
        IF batch_data-trace2 NE space.
          PERFORM dynpro USING:
                ' '  'RCTMS-MNAME(2)'  'TRACECODE2',
                ' '  'RCTMS-MWERT(2)'   batch_data-trace2.
        ENDIF.
        IF batch_data-lotno NE space.
          PERFORM dynpro USING:
                ' '  'RCTMS-MNAME(4)'  'STM_LOT',
                ' '  'RCTMS-MWERT(4)'   batch_data-lotno.
        ENDIF.
        IF batch_data-difflot NE space.
          PERFORM dynpro USING:
                ' '  'RCTMS-MNAME(5)'  'STM_DIFFUSION_LOT',
                ' '  'RCTMS-MWERT(5)'   batch_data-difflot.
        ENDIF.
        PERFORM dynpro USING:
                ' '  'BDC_OKCODE'   '/3',
                'X'  'SAPMM03S'     '0200',
                ' '  'BDC_OKCODE'   '/11'.
      post changes
        CLEAR:  msg, msg[].
        l_mode = 'N'.
        CALL TRANSACTION 'MSC2' USING tbdc MODE l_mode UPDATE 'S'
                                MESSAGES INTO msg.

    Sorry! resolved it myself. I was jsut a commit missing.
    I called the BAPI_TRANSACTION_COMMIT before processing my routine to update the classification data and it worked.

  • 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

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

  • 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

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

  • 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

  • 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

  • How to tranport goods movement reservation to external system!!

    I want to send idocs to external system when I save a goods movement reservation using tcode mb21,mb22,etc.
    I dont know what configuration or development about Message Control and ALE I need to do!!
    Thank you so much for your time and consideration.

    You have to maintain output determination in the SPRO transaction -> Materials Management -> Inventory Management and Physical Inventory -> Output Determination.
    You have to maintain Condition tables, Output determination procedures, conditions etc. to do that.
    This is really a MM functional analyst work and NEVER should be done by an XI consultant.
    regards
    Shravan

  • M7301 VALUE OF THIS GOOD MOVEMENT IS NEGATIVE

    Hi Gurus,
    While doing the GR ( via IDOC ) against the PO getting an error VALUE OF THIS GOOD MOVEMENT IS NEGATIVE. The process is below
    PO Created with more than 300 Items and 12 items was deleted. The PO is not GR based invoice veritifcation,
    IR has been done for the items.
    We are using inbound delivery to update the Purchase order. Later based on the Inbound delivery GR need to done.
    Not manual GR, 3 PL sends the file and in SAP it updates the GR against the inbound delivery.
    While doing GR we are facing the Error M701 VALUE OF THIS GOOD MOVEMENT IS NEGATIVE
    I checked all of the aspects likeOSS note 773515 we are using 4.7 version.
    Regards,
    Yuva

    What is the Movement type you are using?

Maybe you are looking for

  • Security deposit - Setting restriction automatically after payment

    Hello, After Iu2019ve created a security deposit (FPSEC1) and paid it for example with the cash desk. What I understand is that before you can release the security deposit you first have to u201Clocku201D the deposit using FPSEC2. This sets the restr

  • Hibernate Mapping Exception Error reading resource: Help Please

    I've downloaded Hibernate this weekend and have been working at getting this up and running in my spare time. I've run into a problem and can't seem to find the solution. I'm hoping some one here can help me out. I'm running MyEclipse MySQL and Hiber

  • When the SCS is used?

    Hi. In Netweaver7.0, there are SCS and ASCS. When we access the system, we set the address and port of  "application instance(called central instance before)" not but SCS or ASCS. When the SCS and ASCS is used? If we used "Logongroup", user access(fr

  • Import qeustion.  How to to update the image description

    We have imported 200k images using image manager, but there was not a way to specify the image description I thought I may be able to do it in the import manager from a source file which had fields for image name and image description, but can not fi

  • DotNet Web Controls 3.0 Auto-refresh Adaptive portlet javascript error

    Hi- I am getting this javascript error: "A Runtime Error has occurred. Error: 'PTLoader' is undefined", when trying to run a Auto-refresh portlet in Plumtree 6 with DotNet Web Controls 3.0 Thanks,-Raj