Mail triggering for material received in inbound side using ale/idoc's

hi,
i have an issue iam sending a material from sending system to reciving system upto now it is working fine,now the reciving side end user has know that material is received and creted in inbound side..
here for enduser they doesn't go and check in we02 ..they should initimate externally that material is received  in receiving system .

thanks for u r reply ,,
iam new to ale/idoc concept,how can i carete a custom function module ,here what ever the mpping i required i did on sending side ,in inbound side just posting only..
please can u guide me

Similar Messages

  • Steps in Inbound Processing in ALE IDOC

    Hi all,
    Could anyone explain the steps to be followed in inbound processing in ALE Idoc.
    I know we have to create a FM n then call that in a program. But still the detail steps are not clear.
    An example will be really helpful.
    Thanx

    Hi
    Outbound:
    Step 1.  Application document is created when transaction is saved.
             2.  Message control is invoked.
             3.  Messages are processed by system.
             4.  Messages are Edited (if desired).
             5.  Output (ALE /  EDI) is checked
             6.  Validate against Message control record from Partner Profile
             7.  Application Document is saved.
             8.  Entry NAST table is created for every selected output program
                  along with Medium & Timing.
             9.  Check for Process Immediately .
                     If (yes)
                       Determine Processing Program from TNAPR Table.
                     ELSE
                       Execute RSNASTED Program.
           10.  Read Partner Profile to determine Process Code.
           11.  Process Code points to the Function Module & Invoked.
           12.  IDoc is generated. 
           13.  Check for ALE Request.
                        if (Yes)
                            Perform Filters, Conversions, Version Changes etc.
                        Else.
                            IDoc is stored in DATABASE.
    INBOUND:
    Step 1.  EDI Subsystem creates an IDoc file from EDI Messages
            2.   Subsystem calls Functional Module                                 EDI_DATA_INCOMING from startRFC program.
             3.  Data in Control Record is validate against the Partner                       Profile.
            4. IDoc is generated in Database and syntax check is                      carried out.
            5. IDoc file is deleted once file read.
            6. Event PROCESSSTATE REACHED is triggered in Idoc Object Workflow. 
                       7.  Check for Process Immediately.
                   If NO
                     Execute RBDAPP01 Program
                   Else
                      Read Process Code from Partner Profile        
                           Process Code Points to  Function Module
                     Application Document Posted.     
    further help:
    check url
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/ale/configuration.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapdevelopment.co.uk/training
    And also u can get lots of inof from the below link.
    http://www.sapgenie.com/ale/why_ale.htm
    Data Creation in Idoc
    IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
    asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
    While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
    IDoc is a intermediate document to exchange data between two SAP Systems.
    *IDocs are structured ASCII files (or a virtual equivalent).
    *Electronic Interchange Document
    *They are the file format used by SAP R/3 to exchange data with foreign systems.
    *Data Is transmitted in ASCII format, i.e. human readable form
    *IDocs exchange messages
    *IDocs are used like classical interface files
    IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
    WE30 - you can create a IDOC type.
    An IDOC with data, will have to be triggered by the application that is trying to send out the data.
    FOr testing you can use WE19.
    How to create idoc?
    *WE30 - you can create a IDOC type
    For more information in details on the same along with the examples can be viewed on:
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappoint.com/presentation.html
    http://www.allsaplinks.com/idoc_search.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.erpgenie.com/sapedi/idoc_abap.htm
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30 )
    Create Message Type ( WE81 )
    Assign Idoc Type to Message Type ( WE82 )
    Creating a Segment
    Go to transaction code WE31
    Enter the name for your segment type and click on the Create icon
    Type the short text
    Enter the variable names and data elements
    Save it and go back
    Go to Edit -> Set Release
    Follow steps to create more number of segments
    Create IDOC Type
    Go to transaction code WE30
    Enter the Object Name, select Basic type and click Create icon
    Select the create new option and enter a description for your basic IDOC type and press enter
    Select the IDOC Name and click Create icon
    The system prompts us to enter a segment type and its attributes
    Choose the appropriate values and press Enter
    The system transfers the name of the segment type to the IDOC editor.
    Follow these steps to add more number of segments to Parent or as Parent-child relation
    Save it and go back
    Go to Edit -> Set release
    Create Message Type
    Go to transaction code WE81
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter
    Click New Entries to create new Message Type
    Fill details
    Save it and go back
    Assign Message Type to IDoc Type
    Go to transaction code WE82
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back
    Check these out..
    Re: How to create IDOC
    Check below link. It will give the step by step procedure for IDOC creation.
    http://www.supinfo-projects.com/cn/2005/idocs_en/2/
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
    go trough these links.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
    1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
    2.IDOCs are independent of the sending and receiving systems.
    3.IDOCs are independent of the direction of data exchange.
    The two available process for IDOCs are
    Outbound Process
    Inbound Process
    AND There are basically two types of IDOCs.
    Basic IDOCs
    Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
    Extended IDOCs
    Extending the functionality by adding more segments to existing Basic IDOCs.
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30)
    Create Message Type ( WE81)
    Assign Idoc Type to Message Type ( WE82)
    imp links
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    www.sappoint.com
    --here u can find the ppts and basic seetings for ALE
    http://sappoint.com/presentation.html
    www.sapgenie.com
    http://www.sapgenie.com/ale/index.htm
    Check these links.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
    Please check this PDF documents for ALE and IDoc.
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    Check below link. It will give the step by step procedure for IDOC creation.
    http://www.supinfo-projects.com/cn/2005/idocs_en/2/
    Reward points for useful Answers
    Regards
    Anji

  • Passing Changed  extended fields using ALE-IDOC to receiving system

    Hi all,
    Please tell me how passing changed  extended fields using ALE-IDOC to receiving system can be achieved. Is it possible by Chnage pointer concept.Do i need to do some coading after data enters into receiving system as it is required while creating the entries in database table.
    For ex. in matmas05 extended for classification and inspection view and then created using 'CREATION'
    related bapi.Do i also need to incorporate the changes by change related bapi or ir can be handled by change pointer concept.
    Thanks.

    Hi Sanu
    1) Please tell me how passing changed extended fields using ALE-IDOC to receiving system can be achieved. Is it possible by Chnage pointer concept.
    => Looks like you have extended standard IDOC here. so you need to find User Exit or BADI for the Push program to populate the additional fields. Yes, it is possible thru change pointers as well.
    1) Do i need to do some coading after data enters into receiving system as it is required while creating the entries in database table.
    => Yes, as suggested in 1 try finding User Exits/BADIs.
    Regards
    Shital

  • Issue in transporting changed material type using ALE-IDOC

    Hi All,
    I am sending the material master data from one system to another using ALE-IDOC.The issue is that teh material type is not getting sent from one system to another after changing the material type.I mean the changes in material type are not getting updated.I will be indeed thankful if anyone can guide me resolve this issue.
    Thanks.

    Hi,
    Not all the fields that are changed in material master are sent in the Idoc. Material type is one such field.
    Create change pointer on some other field ex. net value or material desc. and transfer the material type changes under it.
    KR Jaideep,

  • Indound triggering for material master

    hi  abapers ,
    iam new to ale technology,
    here iam sending material from one system to other system..
    here the outbound side is ok.
    here inbound side ineed to do some mapping for materials sent by one system to other sytem.
    like if material type in sys1 is 'fert'
    there in receiving system it should be ''HAWA'
    like mapping is required ,so for this where i do coding.
    i found one exit     EXIT_SAPLMV02_002, here i can put the code?
    when this exiot will trigger how can we test in bebugg mode
    in my scenario ones material is receicved how this idoc_input_matmas01 is triggerd? and document is posted in appilcation..
    can any one explain me..

    thanks,
    thats clear..
    but my issue is stil not cleared..
    here i want to add my own code ..so for this i found on exit      EXIT_SAPLMV02_002
    the importing and exporting parameters are here.
    "Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(MESSAGE_TYPE) LIKE  EDIDC-MESTYP
    *"             VALUE(F_CUST_SEGMENT) LIKE  EDIDD STRUCTURE  EDIDD
    *"       TABLES
    *"              RES_FIELDS STRUCTURE  DELFIELDS
    *"       CHANGING
    *"             VALUE(F_MARA_UEB) LIKE  MARA_UEB STRUCTURE  MARA_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MAKT_UEB) LIKE  MAKT_UEB STRUCTURE  MAKT_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MARC_UEB) LIKE  MARC_UEB STRUCTURE  MARC_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MARD_UEB) LIKE  MARD_UEB STRUCTURE  MARD_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MFHM_UEB) LIKE  MFHM_UEB STRUCTURE  MFHM_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MPGD_UEB) LIKE  MPGD_UEB STRUCTURE  MPGD_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MPOP_UEB) LIKE  MPOP_UEB STRUCTURE  MPOP_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MPRW_UEB) LIKE  MPRW_UEB STRUCTURE  MPRW_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MVEG_UEB) LIKE  MVEG_UEB STRUCTURE  MVEG_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MVEU_UEB) LIKE  MVEU_UEB STRUCTURE  MVEU_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MARM_UEB) LIKE  MARM_UEB STRUCTURE  MARM_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MEAN_UEB) LIKE  MEA1_UEB STRUCTURE  MEA1_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MBEW_UEB) LIKE  MBEW_UEB STRUCTURE  MBEW_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MLGN_UEB) LIKE  MLGN_UEB STRUCTURE  MLGN_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MVKE_UEB) LIKE  MVKE_UEB STRUCTURE  MVKE_UEB
    *"                             OPTIONAL
    *"             VALUE(F_MLGT_UEB) LIKE  MLGT_UEB STRUCTURE  MLGT_UEB
    *"                             OPTIONAL
    *"       EXCEPTIONS
    *"              APPLICATION_ERROR
      INCLUDE ZXMGVU04.
    when iam executing function module idoc_input_matmas01.and putiing break point in that exit
    but for importing parameters F_CUST_SEGMENT it is showing empty..
    here iam not passing any values to F_CUST_SEGMENT,because the function module idoc_input_matms01 should call this exit and pass importing parameters..

  • Handling Fault Messages for JDBC Receiver (Syn Inbound)

    Dear Freinds,
    Can we handle fault messages for JDBC Receiver which is synchronous.
    OB Proxy Syn  <>  IB JDBC Syn
    1. How to handle the same ? Please give some examples.
    2. Should we use Stored Procedures at Oracle side to handle the fault messages and send back as response to the Proxy Response. Will it work.
    Thanks & Regards
    K.Ramesh

    Dear Friend,
    I have 2 interfaces where Proxy is OB & JDBC is IB. In the first interface both sender and Receiver are synchronous and in the second one it is Async.
    In the first interface i have to send one field from R/3 table along with Native SQL query string to XI and the response of the SELECT query is sent back to the sender.
    Assume if no fields are selected based on the field sent then proper error message has to be sent instead of the response message.
    In the second interface i will be using UPDATE query at Asyn JDBC receiver.
    How to do this if you are having JDBC Receiver.
    I saw in many blogs where they had mentioned that we cannot handle fault messages in the Receiver JDBC.
    KIindly explain.
    Thanks
    K.Ramesh

  • Alerts not getting triggered for invalid receiver receiver

    Hello,
    My scenario is IDoc to HTTP.I have defined alert rules for my scenario.
    I have condition mentioned in receiver determination.Depending on vendor number data is sent to corresponding receiver.
    But when i send IDoc is sent with invalid vendor number,it is failing in XI system with error as :No receiver could be determined but not alert is being thrown or triggered.
    Same situation is working in Dev and quality but not in production.
    I ahve checked the alert rules thorughly in all the 3 environments and they are all perfe

    does the error"RCVR_DETERMINATION.NO_RECEIVER_CASE_ASYNC" gets triggered only when reciever service is not
    mentioned in alert rule condition?
    This error gets triggered when no receiver matching with the mentioned Condition is found.....the Condition in Receiver Determination OR if no receiver service exists.
    I hope you have created a rule in Alert Rule section of RWB and have unchecked the Suppress Multiple Alerts options.
    When you get the above error in SXMB_MONI you should get an alert
    Regards,
    Abhishek.

  • Stk posting change for Material received in movement type 101

    Experts,
    A material received in Mov type:101 / Inspection type : 01 and rejected during Inspection was posted in To Reserves instead of Return Delivery.
    How to change the posting to Return delivery stock from Reserves stock.
    Regards,
    RPV.

    Dear,
    First check reservation is created against reserv stock of material.
    You can check reservation with MB23.
    If yes than delete it first and than create return delivery for material with MIGO.
    Regards,
    Mahesh Wagh.

  • Any Standard FM  for material stocks on posting date  using  Tcode  MB5B

    Hi,
    I  need   Standard  FM  to get  material stocks on posting date  using   Tcode   :   MB5B
    Stock type  i am using  is  : Storage Location/Batch Stock
    the  Input   i am  providing  is    Material, Plant , Storage Location, selection  date From , selecDate To.
    Then   i need  to get  data  that it  provides   header  and  document  item level.
    Can u please tel me  how do i get  that  material stock data  on posting date and in which tables
    it will be populated in the database.
    ITs required  can u take view and post info
    Thanks & Regards
    sivakumar kasa
    Edited by: siva kumar kasa on Dec 21, 2010 2:30 PM
    Edited by: siva kumar kasa on Dec 22, 2010 7:15 AM

    hi Rehan,
    I have checked all settings also enhancement  but there is no as such control to restrict backposting within current period
    I think its self disipline action not to post backdated GI when GR is done on later date
    Vishal...

  • Mail triggered for a PO which is old dated

    Dear Experts,
    I got a problem, Purchase order is way back ( created in 2008 April) and so far GR is not taken place.
    But all of a sudden user got the auto mail saying that for this PO GR is expected.
    How this message can trigger when PO is created long back and how system has triggered auto mail? what could have gone wrong?
    can you help me please?
    Thanking you
    Regards
    Sharan

    Hi
    Please review the following note from metalink:
    cancelling purchase orders / purchase orer lines [ID 105840.1]
    Hope this helps.
    Thanks and Regards
    Manish Jain

  • Movement type for material received at depot

    hi all,
    what is movement type used for receiving material(MIRO) at depot . is it same 101.?
    as i alredy use this movement type to update RG23 C Register .
    shall i use same movement type for  RG23d also???

    Hi
    It is also 101 and the register is Rg23D
    Reg
    Raja

  • Mail triggering for any personnel Action

    Hi Experts,
    Whenever any Personnel Action is carried out for an employee an mail should be automatically triggered to the Personnel Administrator, Payroll and Time Administrator.
    I tried through dynamic actions but it didnt work cananyone help me in this aspect.
    Regards,
    Smitha

    Hi Smitha,
    Through dynamic action mail will not go to all admins  which have been maintained in IT0001. You need to do few set up.
    1. Fist maintain code for all admin in T526 table.
    2. Then assign PersAdmin, Time admin and payroll admin in IT0001 for all employees which can be loaded thru LSMW.
    3. Mail ID and user ID should be maintained in IT0105 and sub tyoe 0001, 0010 for all admin which have been maintained in T526
    3. Create notification text thru SO10
    4. Create distribution list thru SBWP
    5. Then assign text & Distribution list in your custom feature which is copied from M0001
    6. In the feature maintain give X mark for RECV1 (Pers Admin), RECV2 (payroll admin), RECV3 (Time admin).
    7. Then call this feature in dynamic action
    Then notification will trigger to all admin. Revert for further clarification.
    Regards,
    Purnima

  • Query for Material Received Vs Material Return

    Good Afternoon Experts,
    How much cumulative Qty received update date for a particular warehouse  -- Item Wise  and returned Qty from a particular warehouse vice versa. Please help me in writing this Query.
    Regards,
    Umamahesh.

    Hi Uma,
    As Julie said, try to use System's report.
    Since querying OINM table requires more system resources if your database size is large.
    If not so, then you can try this query,
    SELECT T0.[ItemCode], max(T0.[Dscription]), T0.[DocDate], sum(isnull(T0.[InQty],0)) [Receipt], sum(isnull(T0.[OutQTY],0)) [Issue],T0.[Warehouse] FROM OINM T0 where T0.DocDate >= [%0] and T0.DocDate <= [%1]
    Group by T0.[ItemCode], T0.[DocDate], T0.[Warehouse]
    Order by T0.[ItemCode], T0.[Warehouse], T0.[DocDate]
    Regards,
    Bala

  • Post Goods Receipt for Inbound Delivery using WHSCON IDoc

    Dear All
    Currently I am working on a big project dealing with EDI connections to our logistics partner for the Export business. The entire message flow between Lindt and our partner should be via EDI. Our SAP release is (still) 4.6c.
    We will create two kinds of despatch advice messages, one for inbound deliveries and one for outbound deliveries for customers.
    I would appreciate your support in the following problem that I am facing with the inbound delivery scenario:
    We create stock transport orders (purchase orders, POs) for the goods intended to be delivered into the plant at our partner
    We create a delivery (type NL = replenishment delivery) for this POs
    As soon as we post the goods issue we send the despatch advice (as EANCOM D96A DESADV message) to our partner.
    At this point the delivery is basically completed, i.e. packing status (PS) and goods movement status (GM / GS) are equal to 'C' (= completed).
    Our logistics partner uses the same EDI message to send us the goods receipts data, e.g.:
    We dispatched 50 units of a product => QTY:50:12
    The partner received indeed 50 units => QVR:50:66
    Please note that we do not use the QVR segment for the quantity difference (between despatched and received quantity) but it contains the received units. This way we avoid negative values in the QVR segment.
    When the logistics partner sends back the DESADV message containing the received quantities (QVR segment) we want to make
    the goods receipts for the products in the original stock transport order and
    upate the message flow in the delivery
    My idea was to transform the incoming DESADV message into a WHSCON.DELVRY03 IDoc based on the documentation in: [Delivery Interface|http://help.sap.com/saphelp_crm40/helpdata/en/e2/654b15a9f411d184ec0000e81ddea0/content.htm]
    In the delivery header control E1EDL18 I used QUALF = 'PGI' (Post goods issue).
    I prepared an inbound WHSCON IDoc according to the documentation mentioned below. I managed to get some feedback from the Idoc processing implying that the system tried to do the goods receipt in the PO but failed.
    To make a long story short here are my questions:
    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?
    Does anybody have an example on how to fill the WHSCON IDoc?
    Or is my approach a cul-de-sac ?
    Kind Regards
       Uwe
    PS: A related question can be found here: Goods Receipt in PO AND Message Flow Update in Inb. Delivery using WMMBXY

    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

  • I would like to open multiple e-mail accounts for students, with limited in-school use. Are there anyways I can do this?

    I am a teacher in an outdated computer lab (my own problem). We use Windows 2000 and I'm thinking of FireFox 3.6. We are routed to the internet through a single server. I would like to be able to open multiple e-mail accounts through GMail or another free service, but I have been told that I will experience problems due to security protections. Does the multiFox extension allow me to do this?

    Unless you plan to have multiple email accounts open in different tabs at the same time, there is no need for Multifox. If each user has their own [[profiles|profile]], then the Multifox extension will not be required. If you want to open multiple email accounts at the same time in one instance of Firefox then you will need Multifox.

Maybe you are looking for

  • How to Store des key in keystore

    I'm writing a program to writing a symmetric key (DES key) to keystore. see the program below: public class KeyStoreTest { public static void main(String[] args) {   try { String keyStorePass = "password"; String keyStorePath="c:\\newKeyStoreName"; K

  • How to create logon group in a JAVA only system?

    We have a JAVA-only CI and several JAVA-only application servers. They are all for a single EP7. How to make sure that no end EP7 user can use CI ? Thanks! Points!

  • Upgrade 10.1.3.2 to 10.1.3.3 problem.

    After upgradeing 10.1.3.2 to 10.1.3.3. some of the model properties not working correctly. When we change data model (eny change) some of the fields (columns) created twice in EntObjMYOBJECTImpl. Than when we run application "Error(450,9): duplicate

  • How to execute EXP backup command of Oracle from JSP

    hi frens !!! i want a method by which i can call an EXP command of oracle in JSP. thanks and regards Allwyn

  • Iphoto is missing and I don't know where it went.

    My iphoto is missing from my computer. I went to click on it tonight and it had a question mark on it and would not open. I couldn't find it in my applications. My husband has been using my macbook some but he promises he hasn't messed with it. Where