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

Similar Messages

  • Standard cost estimation after goods movement when material ledger is activ

    Hi!
    our client is activated material ledger, for some materials standard cost estimation is done till marking but not released.
    goods movements have been posted for those materials.
    Now system is not allowing to release the standar price for those material in the current period, as material ledger expects same price for entrie period.
    what is the alternative way to update the standard price for those materials ( with out reversing the goods movements).
    regs,
    ramesh

    Hi Ramesh,
    When you are using Material Ledger, after goods movemnets for materials, no need to change the standard cost estimate as Actual costing run will take care to derive the PUP price.
    If there is no standard cost estimation release for sold materials (e.g.FG), you will get an error message duirng the billing document release to accounting. To aviod this error, if you are using split valuation (valuation types) and mixing ratios (CK91N & CK94), try with the below steps:
    Create a new valuation type for the same material
    Crate CK11N & CK94,
    Run CK11N
    Run CK24.
    Then release the billing document.
    Let me know if you need more details.
    Thanks & Regards,
    ADI

  • How to undo changes in Delivery after goods movement happened

    Dear All,
    I need to undo the manual changes done in delivery note but the goods movement and billing document has been created.
    Advise me regarding this.
    Thanks in advance
    Raghu

    Agreed with Amit. It doesnt make a sense that after doing PGI and billing user can change delivery document. This is standard functionality of SAP to avoid missuses of Sales documents. Like Delivery document you also can't change billing document or delivered items in sales order. For this you need to go reverse your whole sale process e.g Reverse billing VF11 > Reverse PGI VL09 change or delete delivery document VL02N and change or delete sale order VA02

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

  • 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

  • Problem sending IDOC DESADV  /AFS/DELVRY03 to XI

    Hi Gurus,
    I have problems sending IDOCs DESADV (basic type /AFS/DELVRY03) created by function LSEND_IDOC to XI system. IDOC is correctly created by R3 system (AFS ECC 5.0) and correctly sent on the XI port (Status: Data passed to port OK - 03), but XI system doesn't receive IDOC.
    If I resend the same IDOC by WE19 tcode goes ok!!
    In R3 sending system nothing warnings/errors in syslog or sm58.
    Any suggests? Thanks in advance.

    Issue solved! It is necessary close the master idoc with a commit

  • I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sending data to Message borker.(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to save file in SAP fold

    I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sends data to Message borker(thru JMS channel).(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to create file with same data what ever send to Message broker and put the file in SAP folder without touching mapping. Is it possible? Please advise with the steps. We are using the ICO for this senario. Quick response is appriciated.

    Hi Pratik,
         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
    This link might help.
    regards
    Anupam

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

  • Goods Movement After Order TECO'd

    Hello All - Question is part MM and part PM.  It involves a TECO (technically complete status) on a workorder and the ability to perform a goods issue to the workorder.
    Is there configuration to allow a goods movement (GI) to a TECO'd workorder if the material in question has been reserved/requisitioned on the workorder prior to it being TECO'd?
    I'm quite certain that goods issues to TECO'd workorders are permitted PROVIDED the material request was on the workorder prior to it being TECO'd.  There must be configuration somewhere that allows/disallows this because at this client site, NO goods movements are allowed after the order is TECO'd.
    Any help would be much appreciated!
    Thanks
    Susan Page

    hi susan
    read this... u will understand
    Technical Completion of an Order 
    Use
    You usually complete an order technically once the maintenance work planned in the order has been performed.
    Features
    You use the technical completion of an order to define the following information for the order:
    u2022     The order obtains the status Technically completed. The order is marked as complete for Plant Maintenance.
    u2022     Now you can only make the following changes:
    o     Lock and unlock the order
    o     Set the deletion flag
    o     Post goods receipts for the order
    u2022     You can still enter confirmations for a technically completed order. In order to prevent this, you must create a user status that does not permit confirmations.
    u2022     The storage location and account assignment data entered for the order are fixed and can no longer be changed. However, the order can still receive costs, for example, through incoming invoices for materials delivered and used.
    If no settlement rule has yet been maintained for the order, the system creates one automatically. If missing data makes this impossible, the system takes you to the screen for maintaining the settlement rule.
    u2022     All the existing purchase requisitions for the order are flagged for deletion.
    u2022     All the existing reservations for the order are cleared.
    u2022     All outstanding capacities which have been scheduled for the order are cleared.
    u2022     All the notifications for the order are also completed, unless prevented for one of the following reasons:
    o     The Complete notifications indicator was not set in the Complete dialog box.
    o     One or more tasks have not been completed.
    o     A user status in the notification prevents it from been completed.
    u2022     If the order was created using a maintenance plan, the date of the technical completion will be used for the further Scheduling of the Maintenance Plan.
    You can make changes to the maintenance process procedure when completing orders. You can, for example, prevent all users that are allowed to complete orders and notifications from using this data simultaneously to change the scheduling of maintenance plans. For more information, see Separate Completion of Maintenance Call Dates.
    - pithan

  • Goods Movements After Workorder TECO'd

    Hello All - Question is part MM and part PM.  It involves a TECO (technically complete status) on a workorder and the ability to perform a goods issue to the workorder.
    Is there configuration to allow a goods movement (GI) to a TECO'd workorder if the material in question has been reserved/requisitioned on the workorder prior to it being TECO'd?
    I'm quite certain that goods issues to TECO'd workorders are permitted PROVIDED the material request was on the workorder prior to it being TECO'd.  There must be configuration somewhere that allows/disallows this because at this client site, NO goods movements are allowed after the order is TECO'd.
    Any help would be much appreciated!
    Thanks
    Susan Page

    Hi Susan,
    As soon as a work order is technically completed, any open purchase requisitions or reservations against the work order are automatically closed. It is assumed that the materials are no longer required.
    To assist our maintenance planners we implemented the following checks in user exit EXIT_SAPLCOIH_004 - PM Order: Customer Exit for Technical Completion Event
    We search for any unconverted purchase requisitions or open reservations against the work order and displaye them in a dialog box, giving the user the option to cancel the technical completion if he/she realises that the materials should have been issued against the order before it was closed. At least they are made aware of any outstanding planned materials and can make an informed decision on whether the close the order or not.
    We also put in code to check the order costing and warn the user if there are costing errors that should be resolved.
    Regards,
    Monika

  • 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

  • Post Goods Receipt for Inbound Delivery via IDoc SHPCON (DELVRY03)

    hi all,
    I'm using IDoc SHPCON (Delvry03) for posing goods receipt for inbound delivry.
    Can anyone give a sample IDoc or tell which segments must be filled.
    Thanks!
    Regards,
    Hui

    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

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

Maybe you are looking for

  • UPDATE ERROR! offline footage!

    Im having a serious problem with my adobe premiere elements 11 software! i use a windows 7 laptop. Adobe has LOST all of my footage, and replaced it with the red "offline" clip image. im assuming this has to do with an update problem, as i am unable

  • "External BP number has already been assigned"

    Execution of t-code BP, results in the following error for each vendor and customer with the same "external" number . External BP number 100000 has already been assigned for business partner 0000000045 Display this message for this business partner a

  • The buttons in the list are disabled

    Hi Experts, I want to create a list uibb.  Have embedded the customized list in the standard form. I have used the standard BOFU class as the feeder class /BOFU/CL_FBI_GUIBB_LIST. Added two standard buttons FBI_CREATE and FBI_DELETE, but these both b

  • Defect rate on Zen Mi

    Creative, What is the current rate of defecti've Zen Micros to solid working ZMs? If you don't know, you should because you might want to cut the fat and get rid of your Quality Assurance managers. I'm so sick of hearing all these people posting that

  • Is it possible to show Top 1 in GH3?

    Post Author: kcornett CA Forum: General I am using CR 11.0.0.1282 on XP Pro SP2 Group Header 1 separates by Product Code ("Mold", "Repair", or "Production") Group Header 2 separates by Order (list of order numbers) Details shows Jobs (list of order n