Edi orders inbound

Hi sap gurus
here below am mentioning my requirement details .
automate the creation of sales order documents in sap ecc using data in orders5 idocs, mapped from data transmitted by customers via edi are from other outside systems.
this interface must create sales order documents on demand,when triggered by the edi sub system.
this interface will accept idoc format data from a varity of sources ,and will create sales documents from that data.
bofore processsing to the idoc_input_orders,we have to fine the sold to customer number for the sales order idoc and loop through all items in sales order,checking to detaermine whether each item is frozen or dry.
for this we have to detrmine the material,then chek matirial transportation group.if the material has other  transportation group
besides z002, then it is dry material.
if all the items in the original idoc are frozen ,or all items are dry ,forward the original idoc for further processing .
if some items are frozen and and some are dry create two new idocs.
1) we have to copy all header records from the original idoc into each of the two new idocs.
2)append all frozen items to one new idoc and dry items to the other new idoc.
3)set the status of each of the two new idocs to 50 ,"idoc added" .
4)set the status of each of the new idocs to 64,"idoc ready to passed top application".
5)add astatus record to original idoc .use status 59,"not used".
pass either the original idoc or the two newly created idocs to function idoc_input_orders for further processing .
can u please explain me how teh original idoc should be splited into two based on the material transportation group.
one more thing is this interface should trigger script. give me piece of code for this .
Moderator Message: Requesting Demanding others to do your work for you is strictly prohibited here. Read the Rules of Engagement before further posting. This is your FIRST and LAST warning. Failing to abide by the rules will result in your User ID deletion.
Edited by: kishan P on Feb 22, 2011 2:34 PM

Can you check whether any function is avilable for mapping your additional fields? If not, can you check whether the data is getting populated in the structres before posting Sales order after coming out from User exit?

Similar Messages

  • Change inbound EDI order types

    Hi Gurus,
    Is there a transaction where in we could change inbound EDI orders from customers to process warranty orders.
    Thanks
    Anusha

    Look at this blog..Will tell you how to troubleshoot your IDoc issues..
    <a href="/people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process of ALE Process</a>
    Raja T

  • I found a exit CIFPUR02 for purchase order inbound process.is it suitable?

    I found a exit CIFPUR02 for purchase order inbound process.is it suitable?
    my idoc is PORDCR102 AND message type is PORDCR1. my requirement is this is EXIT should trigger before saving the data in me21n.
    Edited by: rk.kolisetty on Jun 24, 2010 4:59 PM

    Hi,
    Following are the user exit relevant to T Code ME21n.
    AMPL0001  User subscreen for additional data on AMPL
    LMEDR001  Enhancements to print program
    LMEKO001  Extend communications structure KOMK for pricing
    LMEKO002  Extend communications structure KOMP for pricing
    LMELA002  Adopt batch no. from shipping notification when posting
    LMELA010  Inbound shipping notification: Transfer item data from
    LMEQR001  User exit for source determination
    LMEXF001  Conditions in Purchasing Documents Without Invoice Rece
    LWSUS001  Customer-Specific Source Determination in Retail
    M06B0001  Role determination for purchase requisition release
    M06B0002  Changes to comm. structure for purchase requisition rel
    M06B0003  Number range and document number
    M06B0004  Number range and document number
    M06B0005  Changes to comm. structure for overall release of requi
    M06E0004  Changes to communication structure for release purch. d
    M06E0005  Role determination for release of purchasing documents
    ME590001  Grouping of requsitions for PO split in ME59
    MEETA001  Define schedule line type (backlog, immed. req., previe
    MEFLD004  Determine earliest delivery date f. check w. GR (only P
    MELAB001  Gen. forecast delivery schedules: Transfer schedule imp
    MEQUERY1  Enhancement to Document Overview ME21N/ME51N
    MEVME001  WE default quantity calc. and over/ underdelivery toler
    MM06E001  User exits for EDI inbound and outbound purchasing docu
    MM06E003  Number range and document number
    MM06E004  Control import data screens in purchase order
    MM06E005  Customer fields in purchasing document
    MM06E007  Change document for requisitions upon conversion into P
    MM06E008  Monitoring of contr. target value in case of release or
    MM06E009  Relevant texts for "Texts exist" indicator
    MM06E010  Field selection for vendor address
    MM06E011  Activate PReq Block
    MMAL0001  ALE source list distribution: Outbound processing
    MMAL0002  ALE source list distribution: Inbound processing
    MMAL0003  ALE purcasing info record distribution: Outbound proces
    MMAL0004  ALE purchasing info record distribution: Inbound proces
    MMDA0001  Default delivery addresses
    MMFAB001  User exit for generation of release order
    MRFLB001
    Rgd,
    Chetan

  • Convert between EDI order Unit of Measure to Base Unit of Measure

    Hi all,
    I am looking for a method whereby the following can be accomplished
    -  Customer orders certain products in LBS UOM...they have been quoted a per LB price and an equivalent CS price by sales and they choose to send EDI orders in LBS
    -  Base unit of measure for these products is in CS.  Stocking unit is cases.  Pricing also maintained in cases
    -   I've maintained alternative UOM in the MM records to convert LBS TO CASES
    What i really want is for the customer to submit the EDI order specifying LBS but when  the sales order is created i want the order lines in CS.  I want to deliver and bill in CS as well.  I do not want the sales units to be the units that the order was submitted in.   
    Any suggestions are appreciated.

    Thomas,
    We make creative use of the customer-material info record (CMIR) to do what you describe.
    Standard functionality of the CMIR will allow the customer to send their internal SKU on an EDI PO, converting it to our SAP material number for use in the sales order. 
    We maintain a u201Cconversion factoru201D in the CMIR field called Search Term.  We use an exit in the inbound IDoc processing code to apply the factor to the quantity ordered and the EDI1 price condition.  For example, the factor u201C/006CASu201D would divide the customeru2019s order quantity by six and use CAS as the UOM on the sales order.  The EDI1 price is multiplied by six, so that our CAS pricing matches up.
    This allows any customer to order with their internal SKU and UOM, while we process the orders with our internal material numbers and preferred units.
    An exit on the outbound process code allows us to use the same factor to change the values back into what the customer wants to see.
    This works great in the consumer products industry, where we, the supplier, have to deal with inflexible customer EDI requirements.
    Regards,
    Ken

  • ATP check for EDI orders

    hello all,
    When we create a sales order manually, we get a delivery proposal screen with the options of choosing different dates and quantity. Can I know how this works with an Inbound EDI order?
    Whether the sales order will be created with unconfirmed quantities ? Does user intervention is required if IDOC fails due to availability failure? Can we automate the process for EDI orders so that the order picks up alternate plant or material if it is linked to GATP(APO)?
    regards,
    shan

    closed

  • ATP check with EDI orders

    hello all,
    When we create a sales order manually, we get a delivery proposal screen with the options of choosing different dates and quantity. Can I know how this works with an Inbound EDI order?
    Whether the sales order will be created with unconfirmed quantities ? Does user intervention is required if IDOC fails due to availability failure? Can we automate the process for EDI orders so that the order picks up alternate plant or material if it is linked to GATP(APO)?
    regards,
    shan

    closed

  • How to add STRS2  value in the EDI order

    Hi Friends,
    I have to add one extra field STRS2 in the Idoc segment
    Field STRS2 ( CHAR 35 ) - "This field represents the second line of street address for vendor."
    We are not getting the value of  STRS2 on the  EDI Order.
    If we need it, how we have to proceed.
    Any one can guide with detaild information including where to change the code and all.
    Regards
    Kumar

    go to table TBDME and then pass the message class and execute then you will be getting the function module name.
    Then get into the source code of function module and search for call customer, it will give you the available exits..Then check out whether you will be getting that segment values in that exit.
    Hope it helps.
    Reward if it is useful.
    Thanks,
    Srinivas

  • [SAP XI] EDI orders posting job to SAP R/3

    Hi everyone!
    I would like to know if SAP XI has the capability to directly post EDI orders in SAP R/3 wherein IDocs are placed. If yes, how? (Please describe the process in detail)
    In normal EDI implementation (AI, 3rd party translator used), batchjobs are created to be able to post EDI orders. The AI/3rd party translator are sending the IDocs after conversion from customer format order file to the specified UNIX directory in SAP and batchjobs will post these as EDI orders that can be viewed in WE02/WE05.
    In SAP XI direct connection case, all IDocs received are automatically posted in SAP R/3 without having a batchjob executing this. However, orders are not successfully posted as there is an authorization issue** (user/system/technology posting EDI orders are not allowed to create an EDI order) so we need to determine which user/system/technology are executing the job (posting of IDocs to an EDI order).
    Please advise. Thank you very much!
    Fred

    Hi,
    U can do the send EDI data into SAP using third party tool or adapter(Seeburger) or by using the conversion agant.
    U need to have the XSD for the EDI structure and EDI data should be flat file.
    Check some links on Conversionagant and Seeburger.
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    SAP Adapters
    EDI with XI
    http://www.seeburger.com
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integration.pdf
    http://www.seeburger.com
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/43/6d95e0ac846fcbe10000000a1553f6/CMGetStart.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm
    /people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield
    /people/alexander.bundschuh/blog/2006/03/14/integrate-sap-conversion-agent-by-itemfield-with-sap-xi
    /people/paul.medaille/blog/2005/11/18/conversion-agent-a-free-lunch
    /people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
    Regards,
    Phani
    Reward points if Helpful

  • Java mapping for EDI order document

    hi,
    My project is to convert a EDI-850 Purchase Order Document using XI into an R/3 system.I planned t use java mapping So,I had got the java code necessary for the mapping from a tool called ALTOVA XML MAPRFORCE.
    I have converted the code into a .jar file and put into the XI server.The mapping is working fine now. If i give an EDI order document as input to the mapping and test the mapping the out put is coming correctly.
    Now i dont know what I should do in the Integration directory.
    As I have to convert this document and post it in a R/3 system.I have found the function module to create a Purchase Order also "BAPI_PO_CREATE".
    What should I do next ?

    Hi Mithun,
    Follow the steps below:
    1. BAPI is a RFC function module. So you import into Integration Repository. Then map your output to the structure of RFC.
    2. In the integration Directory,
    a. Create a business service representing your source.
    b. Create a business system representing your R/3 system.
        Before creating business sytem, first you need to register it as a techincal system and business system in sld.
    c. Create a Sender Agreement to pick the message from source system. Depending upon the type of source system, you need to configure the sender adapter.
    d. Create Receiver determination to route the message to the target system
    e. Create interface determination to pick the current Interface mapping to convert source message to target message
    f. Create Receiver Agreement to send the message to R/3 System. This should encapsulate Receiver Communication channel which is using IDoc adapter.
    Reward if helpful.
    Regards,
    Suraj Kumar.

  • EDI order to automatically reject line items that cannot be allocated( AFS)

    Hi All
    The requirement is as follows
    1. A specific type of customer EDI order enters SAP via IDOC
    2. We need to identify these specific orders in SAP and have the ability to automatically reject lines that cannot be allocated (AFS allocation)
    3. What are our options using standard functionality of SAP/AFS?  Iu2019d prefer an element other than a new doc type.  Something such as order reason, or Purchase Order Type (preferred)
    4. How is this possible?
    Appreciate your quick help and response.
    Thanks
    Yella

    Hi Roja,
      After seeing your query it can be done through user exit only,there is no option in standard.
    User exit in program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP or
    MV45AFZZ - USEREXIT_SAVE_DOCUMENT
    take ABAPer help he can fix the problem
    in the program you can tell in which conditions the order should be created with automatic reason for rejection.
    Regards
    Ram

  • EDI Orders

    Hi,
    My scenario is: we are getting different EDI orders from 5 different customers and should post them in ERP as sales orders:
    we are using AS2 adapter as sender and only one mail box is used to collect the data: For this,
    1.Do we need to create 5 sender CC's or one CC would serve my purpose:
    2.The data(feilds to be mapped) for the orders would be different for 5 customers, so obviosuly 5 different message mappings.
    3. would any more suggestions , so that i can only need to built 1 AS2 sender and solve this?
    4. One receiver agreement and reveiver determination for IDOC receiver, where the orders are posted in ERP as sales orders.
    Please clairfy,
    Thanks in advance.
    Smith

    Hi Chirag,
    Thanks for your reply.
    As per some forum questions answered by you and other guys..
    AS2 ID: Is a WAN number provided by the WAN provider which is need to recognise from which partner the data came.
    As I mentioned you, we are picking data from the mailbox...so in this AS2 ID: I beleive we need to provide the mailbox details where from the data is being picked. OR Do we need to provide from which WAN number of the customer, is sending the data to the mailbox. I'm confused. Please correct me.
    Regarding the message subject,  the message subject for all of them will be ORDERS, so i dont think this message subject would help us.
    Please clarify?
    Thanks in advance,
    Smith

  • EDI order creation

    Dear friends,
    I have used MV45FZZ program to add/activate  'ZD03' pricing condition at the sales order item level, based on some condition. I have included the logic in form, <b>USEREXIT_SAVE_DOCUMENT_PREPARE</b> . This logic is working fine for VA01/VA02; if we created orders manually.  But, ZD03 pricing condition is not getting activated for EDI orders.  I have tested by processing Idocs through WE19.
    Kindly let me know ur suggestions regarding this issue.
    Thanks in advance.
    Regards,
    Bharat.

    Hi,
    I think u are triggering the idoc from va02 tcode, by going to extras->output->header->edit...u also need to configure the medium to be EDI..now check if it is firing or not.
    Regards,
    nagaraj

  • EDI order Segregation

    Hi i'm new to EDI environment!
    The requirement is to make EDI robust enough to handle software orders(ZSW order type) in addition to the regular orders(ZEDI and ZCAT).We have a third party tool which submits order to Sap from sources like(customers or WEB) and defaults every order type ZEDI or ZCAT.So if the same or new customers submit a software order, it would still come in as standard EDI order.
    I need to split the order into 2 categories when applicable in SAP system.I know that firstly i need to perform customer level check from KNVV and seperate the Sales organisation with its corresponding order type and then check out the line item level check from MARA and MVKE.Then get the contract information and header information and i do this coding with the help of idoc_input_orders FM.I'm creating a user defined FM which is exactly the replica of Standard FM and i've been advised to write the corresponding code for the above check in the user defined FM and i need to call the Standard FM when applicable.
    Can any one please help me regarding this i can still give a detail explanation of my project if needed.

    Hi Roja,
      After seeing your query it can be done through user exit only,there is no option in standard.
    User exit in program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP or
    MV45AFZZ - USEREXIT_SAVE_DOCUMENT
    take ABAPer help he can fix the problem
    in the program you can tell in which conditions the order should be created with automatic reason for rejection.
    Regards
    Ram

  • EDI 810 Inbound - Vendor Invoice

    Hi
    What is the Message type, Basic type, Process code and Function module for Inbound Vendor Invoice (EDI 810 Inbound) ?
    Thanks
    Maruthi

    Hi
    I am  working on the Invoice receipt thru EDI-IDoc from Vendors (EDI-810 INBOUND). I am getting certain errors.
    Error 1:
    Customer , Vendor XXXXXXX not known
    Message no. FD110
    Error 2:
    G/L Account XXXXXXX can only be posted internally.
    Message no. F5562
    I have tried to trigger IDocs using basic types INVOIC01 and INVOIC02. But all in vain.
    Please rush your answer,
    Cheers
    Maruthi

  • EDI 810 Inbound

    Hi,
    i am trying to post an Inbound Idoc through message type:INVOIC.I have configured every thing and now able to post the Idoc by using WE19,Now i have file in application server with naming format OH_810_xxxxxxx.EDI. I am using the existing FILE port and have given the application server path in INDOUND FILE tab and the FM:EDI_PATH_CREATE_CLIENT_DOCNUM.
    the issue is now the file is not picking....how to automate it like when ever the file comes in application server the idoc should be trigered.

    Hi
    I am  working on the Invoice receipt thru EDI-IDoc from Vendors (EDI-810 INBOUND). I am getting certain errors.
    Error 1:
    Customer , Vendor XXXXXXX not known
    Message no. FD110
    Error 2:
    G/L Account XXXXXXX can only be posted internally.
    Message no. F5562
    I have tried to trigger IDocs using basic types INVOIC01 and INVOIC02. But all in vain.
    Please rush your answer,
    Cheers
    Maruthi

Maybe you are looking for

  • People Search without My Sites

    Hi, We are building our corporate intranet and trying to implement people search in our SharePoint 2013 Enterprise edition environment. The environment has been updated up to August CU and I am implementing host-named site collections. The challenge

  • Restrict download of documents from a Document library

    Hi, I am working on a trial version of SharePoint online E3. I enabled IRM on it with a hope that it will restrict "DOWNLOAD" of documents from a document library itself. However to my bad, it seems it allows downloading... with imposed restrictions.

  • How to change debugging in SAP 6.0?

    Hi experts!! In my computer I've SAP 6.0 and when I execute a program, the debuggin process is differents to the others versions... I can change this in the debugging menú and press classic debuggin..there's any way to put the debugging program alway

  • How to sent/recie​ve simple USB commands?

    Hello, Before I start. I've been reading om the internet (USB tutorials, nuggets, etc.) for the last 2 days to get this, but it is really confusing and I still have no idea how to do this. So I'm asking for your help. I setup a custom USB device in M

  • Material Master extension to different Plants.

    I am presently using BAPI_MATERIAL_SAVEDATA to create material master in a particular plant. Is there an easy way to extend these to another plant. or Do i need to use BAPI_MATERIAL_SAVEREPLICA and pass different plant numbers in the MARC table in th