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.

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

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

  • GI:How to set Indicator:Item Not Relevant for Goods Movements LIPS-NOWAB

    Hi,
    does anybody know what i have to do to get the Indicator: Item Not Relevant for Goods Movements set for a good issue delivey position? (Table LIPS field NOWAB)
    thanks in advance
    Steffen

    Hi,
    the thing is the following (maybe it doesn't work at all, i don't know) :
    a) i have a "Non-stock" material (e.g.material type NLAG)
    b)this material should be picked, so it should be relevant for the delivery (e.g.item category TAX)
    c) for a special reason the "Total goods movement status" in the outbound delivery header shouldn't be "Not relevant", therefore i assigned the item category TAX to a shedule line category that has a movement type (e.g. CN)
    d)but the bad thing is, that the customer has set the indicators "quantity updating" and "value updating" for the material type NLAG, and so the goods issue posting gets some errors. eg.g missing storage location etc.)
    During debugging i found a coding that checks the sign NOWAB of lips, the documentation says:
    "You can use this indicator to control whether the item is relevant for goods movement when the delivery is still being created.
    When this indicator is set, goods movement is not posted for this item - regardless of the movement type assigned  to it."
    So i head the idea it might be possible to set this indication (Lips-nowab) somewhere in the sales order or somewhere else but maybe this conflicts with point c) above .
    Maybe shomeone knows what to do or has a better idea.
    Best regards
    Steffen

  • The Reservation item is not allowed for goods movements

      Hi Experts,
      When i do the goods movements against the reservations in
    MIGO, I encounter the below error.
      The reservation
    xxxxxxx item xxxx is not allowed for Goods Movement.
      Can you please suggest on this.
      Regards,
      Venkat.

    What is the message number ?
    Can you please check the goods movement allowed for reservation in MB22 :

  • Function Modules for goods movement

    Hi Expert,
    I need FM Modules for goods movement from one bin to other bin and for Storage location to other storage location.which movement type we have to use for BIN to BIN and Sloc to Sloc.
    How to find the stock of a material with respect to bin level.
    -RK

    Hello,
    Hello have alook at below FM's:-
    CALL FUNCTION 'MB_CREATE_GOODS_MOVEMENT'
    CALL FUNCTION 'MB_POST_GOODS_MOVEMENT'
    Regards,
    Nikhil

  • GL Account Postings for Goods movement

    Hi,
    I have a requirement to setup a account determination for goods movement for charity.
    What happens is that at times goods are given out directly for charitable purposes.
    This is done using a direct goods movement using 562. I need to know what kind of accounts should be debited or credited?
    kindly advice.
    thanks.

    Hi,
    Generally it should be Goods Issue against Cost Center through Movement Type "201" (Here create "Admin" Cost Center and in Text line mention the purpose as Issue to Charity)
    Else create Charitable trust as a vendor and use option Goods Issue --> Others (Mvmt. Type 502) and issue the materials.
    Accounting Entry should be;
    Stock Account - Cr
    Consumption Account - Dr
    Also discuss once with your client.

  • BAPI FOR GOODS MOVEMENT    MB1B

    HI,
           WILL ANY BODY HELP ME FOR BAPI MB1B FOR GOODS MOVEMENT 411
    DEASSINGE.
    I'M USING THIS BAPI FOR THE SAME
    AND PASSING THIS DATA.
    wa-MATERIAL = it_data-matnr.
    wa-PLANT = 'SBST'.
    wa-stge_loc = IT_DATA-LGORT .
    wa-BATCH = it_data-charg.
    wa-MOVE_TYPE = '411'.
    WA-move_reas = '0003'.
    WA-STCK_TYPE = 'F'.
    wa-SPEC_STOCK = 'E'.
    wa-val_sales_ord = it_data-vbeln.
    wa-val_s_ord_item = it_data-posnr.
    wa-quantity  = it_data-qty .
    wa-entry_qnt = it_data-qty .
    WA-base_uom = 'MTS'.
    WA-MOVE_MAT = it_data-matnr.
    WA-MOVE_PLANT = 'SBST'.
    WA-move_stloc = IT_DATA-LGORT .
    WA-MOVE_BATCH = it_data-charg.
    MOVE   'SBST' TO wa-tr_part_ba.
    MOVE       'SBST' TO wa-move_plant.
    MOVE       'X' TO wa-no_more_gr.
    MOVE       'TNE' TO wa-entry_uom_iso.
    MOVE       'TNE' TO wa-st_un_qtyy_2_iso.
    append wa to l_it_item .
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header  = l_wa_header
          goodsmvt_code    = l_f_code
        IMPORTING
          goodsmvt_headret = l_wa_headret
        TABLES
          goodsmvt_item    = l_it_item
          return           = lit_bapiret2.
    Headling error message
      IF lit_bapiret2[] IS INITIAL.
    BUT IT GAVE ERROR
    Reason for Mvmt 0003 not supported (check your entry)
    WILL HELP
    MUKESH

    thanks

  • Why do we configure Record resaon for goods movement?

    Hi,
    I have seen the settings for "Record reason for goods movement" in customizing for different movement types. it can be optional , suppressed or required.
    Can somebody please let me know what is the effect of this setting? what it does at the front end or rather user level, what transaction does it effect?
    Thanks
    Regards

    Hi,
    We define Record reason for goods movement to input reason for material rejection to vendor or material srapped etc.
    By means of displaying the mtl doc anyone get idea why this mtl is rejected.
    Regards,
    Sandeep

  • MIGO not permitted for goods movement

    Hello gurus
    When I tried doing Goods Issue on an order (movement type 261), an error came up saying that the order was not found or not permitted for goods movement
    What would be the cause of this? How can I remedy it?
    Thanks in advance, points assured

    Hi,
    This is because the Order may be not released.
    Release the order and proceed further.
    Regards,
    Siva

  • Order not found or not permitted for goods movement

    Hi,
    I try to implement Goods Movement by using BAPI_GOODSMVT_CREATE. I try to do it over delivery number. So I use the following code. But somehow it returns "Order not found or not permitted for goods movement" error. I can do the same movement over MIGO transaction. But BAPI can not find the order. Do you have any idea? Do I miss a parameter o something?
    Thanks.
    data: begin of gmhead.
            include structure bapi2017_gm_head_01.
    data: end of gmhead.
    data: begin of gmcode.
            include structure bapi2017_gm_code.
    data: end of gmcode.
    data: begin of mthead.
            include structure bapi2017_gm_head_ret.
    data: end of mthead.
    data: begin of itab occurs 100.
            include structure bapi2017_gm_item_create.
    data: end of itab.
    data: begin of errmsg occurs 10.
            include structure bapiret2.
    data: end of errmsg.
    data: wmenge like iseg-menge,
          error_code(220) type C,
          temp_xchpf like mara-xchpf,
          sbatch like mseg-charg.
    DATA : temp_vbeln LIKE likp-vbeln.
    gmhead-pstng_date = sy-datum.
    gmhead-doc_date   = sy-datum.
    gmhead-pr_uname   = 'sy-uname.
    gmhead-VER_GR_GI_SLIP = '1'.
    gmhead-VER_GR_GI_SLIPX = 'X'.
    gmcode-gm_code  = '01'.        " for 101
    itab-mvt_ind    = 'F'.  
    itab-plant      = '0001'.
    itab-entry_qnt  = AMOUNT.
    itab-move_type  = '101'.
    itab-item_text  = 'invoice'.
    itab-deliv_numb = temp_vbeln.
    APPEND itab.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
      EXPORTING
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
        goodsmvt_headret            = mthead
      TABLES
        goodsmvt_item               = itab
        return                      = errmsg.
    CLEAR error_code.
    LOOP AT errmsg.
      IF errmsg-type EQ 'E'.
         error_code = errmsg-message.
      ENDIF.
    ENDLOOP.
    IF error_code IS INITIAL.
      COMMIT WORK.
      IF sy-subrc NE 0.
        error_code = 'Commit error'.
        EXIT.
      ENDIF.
    ENDIF.
    ERROR_C = error_code.

    Dzed,
    I set item information but I'm still getting error.
    Actually I didn't understand the difference between applying goods movement over delivery number or po number. What is the difference between them?
    If I try to use only deliv_num & deliv_item data, BAPI looks for PO and finds nothing and gives error. But when I use PO number and item for goods movement, this time it is still impossible to be successfull(another error). So I decided to use both delivery number and PO together in BAPI; so I filled those fields:
    po_number
    po_item
    deliv_numb
    deliv_item
    But as you may guess, no success.
    There are also another fields for delivery :
    deliv_num_to_search
    deliv_item_to_search
    I have no idea what are they for.
    And also there's another field in BAPI header:
    red_doc_no
    Maybe I have to use this field to pass delivery number. I'm not sure. I'm confused.

  • Tick for goods movement in production order

    Hi,
    I have one query with reference to tick for goods movement in production order.
    Where it comes from as soon as i released the order.
    Is there any customized setting or it is stanadard functionality?
    Tushar

    Hi,
    I am not sure about which tick you are talking. So pls clarify exactly which check boxes you are talking in Production Order.
    If you are talking about check boxes of Goods Receipt,  GR Non valuated & Delivery Completed check boxes then those are standard SAP functionality which comes automatically at the time of creation / release of the order.
    Revert with more details in case your query is not resolved.
    Regards,
    Tejas

  • 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

Maybe you are looking for

  • How do I re-install a product which was purchased over 30 days ago?

    I downloaded Adobe Photoshop cs5 Extended ages ago and now that I want to re-install it I can't find the product. I tried to find it in my order history however it was over 30 days ago.

  • IPod Video

    My iPod has audio but no video is showing? I can see the video play in iTunes but not on my iPod. Could someone please tell me how to watch the video? Getting frustrated...please help! lainey7672

  • Indesign to swf creates grey border

    I have asked this before. I have been experimenting with exporting a page turning swf file from Indesign. However, no matter what I do the resultant html file has a grey border. It seems to be generated in Indesign but I can't see any way of either c

  • Elements 9 Organizer

    I'm new to Elements and have a Mac with elments 9 loaded. Somehow I ended up loading all my photos from iPhoto into the organizer along with the album names and photos withtin each album. Also i noticed one album in the organizer was listed twice wit

  • Cannot create database

    Hello ALL I cannot create a database on my 8.1.6 SE After software installation database creation failed I looked through the problem and when I tried to run createseed.sh manualy I get ORA-27121: unable to determine size of shared memory segment Lin