Outbound IDOC BW to R/3 for sales order information

Hello everybody,
is there someone, who has any experience with transferring data (sales order data) <b>from BW to R/3</b> via IDOC.
The customer has already implemented an EDI interface for R/3 via IDOC for generating sales orders. This IDOC interface should be used also for transferring BW data to R/3. So BAPI and flatfile interface BW-R/3 is not favored!
Is there any good documentation how to proceed which can be provided to me?
In particular i am interested how to create a function module to fill an IDOC structure from a standard data base table in BW (ODS table), how to create new message types etc.
Thanks in advance
Gunnar

Is it possible in general?
Yes, theoretically at least.
You do not have SAP standard IDOCs (ORDERS*) for Sales Orders, neither is the functions or message types etc available on BW system. This would mean you will have to create custom idocs/message-type/process-code and configuration setup. In addition, if you are going to read data from a cube (to create the orders), it is going to be a slow and painful work.
Another option, if you do have to create sales order IDOCs, would be to extract order data from BW to a , say Infospoke file, on BW. You can process this file in R/3 system to create/post a sales order idoc. This would help as the necessary components (eg sales order IDOC) are available there already. If you need help on that (creating sales order IDOC or BAPI posting, from a file), ABAP forum would be more helpful.

Similar Messages

  • New/Change Indicator for Sales Order IDoc

    Hi Gurus,
    Does anyone knows if there's a field in the IDoc Segment for ORDERS that shows or indicate if it's a new or changed order.
    We are sending IDocs to our freight company for sales order, but we are trying to see if there's a way we can let them know if its a new or changed IDoc for sales order.
    Is there any field for this or any work around on this?
    Thanks for your help.

    Segment Field ACTION is not been changed. I've just tested it and made changes to the Sales Order, the ACTION field is still carrying "000".
    Like thomas said, can this be because I'm using message type ORDRSP instead of ORDCHG?
    Does this make any difference?
    Edited by: Basil Balogun on May 10, 2011 4:54 PM
    Edited by: Basil Balogun on May 10, 2011 9:43 PM

  • Add segment to outbound Idoc for Sales order

    HI experts,
    I need to add segment E1EDP02 under Existing segment E1EDP01 for outbound IDOC for Sales order. FM" IDOC_OUTPUT_ORDRSP".
    I have used the Exit : "EXIT_SAPLVEDC_003" for the FM "IDOC_OUTPUT_ORDRSP"  in the include of the Exit   i wrote my code also for adding segment and activate it.
    But when i am trying to debug the code it's not working
    So please guide me how to debug it
    I have followed below steps to Debug.
    1. In VA02 i have repeat the output.
    2. Put the breakpoint in the Exit include program .
    3. put the Breakpoint in ALE processing Routine in RSNASTED program also
    4. Trigger the program RSNAST00 by giving the  Parameter value of SALES ORDER number and execute.
    But not working
    And i need to know whether i have used the Correct EXIT or not.In that case how to identify the correct exit's
    Thanks In advance

    Hi,
    I hope you have to add your segments through WE30 first for your IDOC type.
    Cheers,
    Raja.D

  • How to write a requirement for sales order outbound iDOC

    i need to write the requirement for sales order IDOC
    Please help

    Hi
    From the sales order screen itself you can create the delivery from the menu
    Sales order -> deliver/y
    or from VL01N , enter shipping point and Order number, create and save
    Reward points if useful
    Regards
    Anji

  • IDOC outbound for sales orders

    Hi developers,
    you can help with the name and the transaction where I can try the standard IDOC for sales orders?
    Thanks
    Domenico

    Domenico,
    WEDI is an area menu where you can find all the transactions regarding IDOCS.
    HOwever, If you trying to see the structure of a standard IDOC for sales order, you can go to WE30 and type the IDOC type(ORDERS01) and it should show you the structure of the same.
    Let me know if you have more questions.
    regards,
    Ravi
    Note : Please reward points if this helps you.

  • Outbound message control for sales order SISCSO.

    Hi...
    I am trying to generate IDoc for Sales order using message control. The IDoc of type SISCSO is getting generated as per the requirement.
    I want to calculate certain things before generating IDocs. I have done the following configurations:
    1. A function module 'ZIDOC_OUTPUT_SALES_ORD' is created with interface same as 'IDOC_OUTPUT_ORDRSP'. (Where i am planning to write a code)
    2. WE57 where Function module is assigned to SISCSO as outbound FM.
    No BD51 is done as it is only for inbound process.
    3. New process code ZSO is created through WE41, which is made message independent and FM created in step 1 is assigned to it.
    4. In WE20 , this process code is attached to V1 type of application under message control.
    Still, my FM is not getting called... I have checked it by applying Break point as well as raising exception in the FM. But still it's not working..
    Where am i going wrong??
    Can anybody suggest solution??
    Thanks,
    Audy.

    Hi,
    You need to use FM : MASTER_IDOC_DISTRIBUTE to create outbound idoc.fill the data in the tables EDIDC,EDIDD and generate the IDOC.
    check this link:
    Re: Master_IDoc_Distribute
    and use transaction : WEDI for IDOC configurations.
    here you will have all the transactions(step by step) to set the outbound IDOC configurations.
    Regards
    Appana

  • Want the code for sales order confirmation idoc

    New SAP output type ZA23 (with condition logic)for sales order confirmation  is needed to create ORDRSP IDoc when the following 3 cases are true: 1) Item Added, 2) Line Item Changed,3) Item Deleted.
    Changes to existing lines (option 002) can include:
    - qty
    - date
    - price

    Look at the function exits under the enhancement SDEDI001 you have many exits, i think the outbound idoc is primariy created by the function module: IDOC_OUTPUT_ORDRSP.
    Hope this helps.
    Rajeev

  • Urgent: Creating ALE IDOC for SALES ORDER

    hi
    please tell me <b>step by step procedure to create ALE IDOC for SALES ORDER?</b>
    reward for sure
    regards
    ravish

    Hi,
         ALE IDOC
    Sending System(Outbound ALE Process)
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Create Model View
    Tcode BD82 ? Generate partner Profiles & Create Ports
    Tcode BD64 ? Distribute the Model view
    Message Type MATMAS
    Tcode BD10 ? Send Material Data
    Tcode WE05 ? Idoc List for watching any Errors
    Receiving System(Inbound ALE )
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 ? Idoc List for inbound status codes
    ALE IDOC Steps
    Sending System(Outbound ALE Process)
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Create Model View
    Tcode BD82 !V Generate partner Profiles & Create Ports
    Tcode BD64 !V Distribute the Model view
    This is Receiving system Settings
    Receiving System(Inbound ALE )
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 !V Idoc List for inbound status codes
    Message Type MATMAS
    Tcode BD10 !V Send Material Data
    Tcode WE05 !V Idoc List for watching any Errors
    1)a Goto Tcode SALE
    Click on Sending & Receiving Systems-->Select Logical Systems
    Here Define Logical Systems---> Click on Execute Button
    go for new entries
    1) System Name : ERP000
    Description : Sending System
    2) System Name : ERP800
    Description : Receiving System
    press Enter & Save
    it will ask Request
    if you want new request create new Request orpress continue for transfering the objects
    B) goto Tcode SALE
    Select Assign Client to Logical Systems-->Execute
    000--> Double click on this
    Give the following Information
    Client : ERP 000
    City :
    Logical System
    Currency
    Client role
    Save this Data
    Step 2) For RFC Creation
    Goto Tcode SM59-->Select R/3 Connects
    Click on Create Button
    RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
    give the information for required fields
    RFC Destination : ERP800
    Connection type: 3
    Description
    Target Host : ERP000
    System No:000
    lan : EN
    Client : 800
    User : Login User Name
    Password:
    save this & Test it & RemortLogin
    3)
    Goto Tcode BD64 -- click on Change mode button
    click on create moduleview
    short text : xxxxxxxxxxxxxx
    Technical Neme : MODEL_ALV
    save this & Press ok
    select your just created modelview Name :'MODEL_ALV'.
    goto add message type
    Model Name : MODEL_ALV
    sender : ERP000
    Receiver : ERP800
    Message type :MATMAS
    save & Press Enter
    4) Goto Tcode BD82
    Give Model View : MODEL_ALV
    Partner system : ERP800
    execute this by press F8 Button
    it will gives you sending system port No :A000000015(Like)
    5) Goto Tcode BD64
    seelct the modelview
    goto >edit>modelview-->distribute
    press ok & Press enter
    6)goto Tcode : BD10 for Material sending
    Material : mat_001
    Message Type : MATMAS
    Logical System : ERP800
    and Execute
    7)goto Tcode : BD11 for Material Receiving
    Material : mat_001
    Message Type : MATMAS
    and Execute --> 1 request idoc created for message type Matmas
    press enter
    Here Master Idoc set for Messge type MATMAS-->press Enter
    1 Communication Idoc generated for Message Type
    this is your IDOC
    Change Pointers
    I know how to change the description of a material using ALE Change Pointers.
    I will give the following few steps
    1) Tcode BD61---> check the change pointers activated check box
    save and goback.
    2) Tcode BD50---> check the MATMAS check box save and comeback.
    3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
    4) Tcode BD52---> give message type : matmas press ok button.
    select all what ever you want and delete remaining fields.
    save & come back.
    5) 5) go to Tcode MM02 select one material and try to change the description and save it
    it will effects the target systems material desciption will also changes
    6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
    give Message type : MATMAS and Executte
    ALE/IDOC Status Codes/Messages
    01 Error --> Idoc Added
    30 Error --> Idoc ready for dispatch(ALE Service)
    then goto SE38 --> Execute the Program RBDMIDOC
    29 Error --> ALE Service Layer
    then goto SE38 --> Execute the Program RSEOUT00
    03 Error --> Data Passed to Port ok
    then goto SE38 --> Execute the Program RBDMOIND
    12 Error --> Dispatch ok
    Inbound Status Codes
    50 Error --> It will go for ALE Service Layer
    56 Error --> Idoc with Errors added
    51 Error --> Application Document not posted
    65 Error --> Error in ALE Service Layer
    for 51 or 56 Errors do the following steps
    goto WE19 > give the IDOC Number and Execute>
    Press on Inbound function Module
    for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
    Regards

  • How to look for sales order number if I know outbound delivery number?

    How to look for sales order number if I know outbound delivery number?

    Hi ,
        If you want to see the Sales order Number from Outbound delivery or invoice,go to their respective T-codes,say for example,
    for delivery,Goto Tcode: VL02N / VL03N.There you will find Document Flow Icon,click on that,or press F7.
    You will get a window,there you can see the Sales order Number before your outbound delivery Number
    With Thanks and Regards,
    Priya

  • IDOC for Sales order

    Dear Guru's,
                could anybody help me in creating the IDOC for sales order.
    As per My client Business Requirment we require the following Fields in One Basic Type only.
    The Fields are as follows.
    Order Type,Sales Area,Sales Office,Sales Group,Material Number,Order Quantity,Purchase order Number,Purchase order Date,
    Sold to party,Ship to party,Bill to party,Payer,
    Vendor no ( It is Third Party order)
    Contract Start Date, Contract End Date (in order we will give these dates for periodic billing purpose )..
    Now i want all the fields will include in one single Basic Type.
    Thank you
    suribabu

    hi,
    please check this link:
    this might be help ful.
    http://wwwdotsaptechnicaldotcom/Tutorials/ALE/Guide/Index.htm
    balajia

  • What is the IDOC Basic Type for sales order creation

    Hi Experts,
    Can anyone tell me Idoc Basic type for sales order creation.
    Thanks
    Prashant

    Hi,
    The basic types for creating the order are:
    1.Orders01
    2.Orders02
    3.Orders03
    4.Orders04
    5.Orders05.
    The basic type for SIS order is:
    SISCSO01.
    Regards,
    Krishna.

  • Outbound Cif userexit for Sales order

    Hi All,
    Is there any outbound cif userexit for sales order. I need to modify few data in outbound userexit in R/3 side.
    I know there is a Inbound userexit in APO but the requirement is such that I need to modify data in R/3 since data is available only in R/3.
    Regards,
    Prashant.

    Hi Prashant,
    yes, there is such an EXIT - it's 'EXIT_SAPLCSLS_002' which is called from function 'CIF_SL_DOC_SEND'. This is the very last place to modify data before sales documents are sent to APO.
    Hope this helps!
    Best regards,
    Sebastian Göbel

  • How can we identify what are all user exits are there for sales orders,deli

    Dear All,
    How can we identify what are all user exits are there for sales orders,deliverys and invoices
    thanks
    nitchel v

    Hi Nitchel
    There are many ways to find out the user exits..
    For example for VA01.
    Goto Transaction ie VA01:
    goto System-- Status
    doubleclick on the program name ie SAPMV45A
    SE38 -> Enter the program name and in the program( SAPMV45A) goto -- attributes
    get the package name from here ie VA
    note the package(VA) and get back to main screen
    goto SMOD tcode  and click on find button in the package spec giv the package name ie VA and execute it
    you will find list of exits available
    check out the exit that suits ur requirement
    goto cmod and create a new project and implement in that user exit.
    You will get the following exits in SMOD..
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly
    V45L0001  SD component supplier processing (customer enhancements
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing
    For Delivery you will get .. here the package name will be VL.
    V02V0001  Sales area determination for stock transport order
    V02V0002  User exit for storage location determination
    V02V0003  User exit for gate + matl staging area determination (h
    V02V0004  User Exit for Staging Area Determination (Item)
    V50PSTAT  Delivery: Item Status Calculation
    V50Q0001  Delivery Monitor: User Exits for Filling Display Fields
    V50R0001  Collective processing for delivery creation
    V50R0002  Collective processing for delivery creation
    V50R0004  Calculation of Stock for POs for Shipping Due Date List
    V50S0001  User Exits for Delivery Processing
    V53C0001  Rough workload calculation in time per item
    V53C0002  W&S: RWE enhancement - shipping material type/time slot
    V53W0001  User exits for creating picking waves
    VMDE0001  Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)
    For Billing VF01..Package is VF..
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference numbe
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedu
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lis
    V61A0001  Customer enhancement: Pricing
    Or another way is ..
    - Get the program name for that T-Code
    - Go to that program
    - In that program, search for word 'EXIT' or 'CUSTOMER-FUNCTION' by using where-used list which will give u the list of user exits for that program
    And also you can check in the tables in SE16 for user exits..
    MODSAP - Stores SAP Enhancements
    MODSAPT - Stores SAP Enhancements - Short Texts
    MODACT - Stores Modifications
    And there are other ways as well , pls check the forum for this ,
    Regards,
    Vvieks
    Note : If you have any specific requirement then pls let us know , we will guide you

  • FM:create a delivery for sales order in the background.

    Hi experts
    I want  Function Module to create a delivery for sales order in the background for both inbound and outbound.
    tcode : VL10A.
    Thanks in advance.
    kiran j

    Hi Kiran,
    Welcome to SDN Forums
    Please use the correct or most appropriate forum.
    The ABAP Objects Forum should be used for: ABAP Object definition and implementation including encapsulation, interfaces and inheritance in ABAP Objects.
    This thread will be moved from to .
    The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
    Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
    Also read this thread Welcome and Rules of Engagement.
    Greetings,
    Marcelo Ramos

  • User exit for  Sales order

    hi,
       i need to eliminate leading zeros for PO number which comes in SO created trough ALE.i found the enhancement for the FM idoc_input_orders.in that enahancement we have 12 FM's.my Leading zeros are comming for field belnr which comes in e1edk01 segment of idoc orders05.now i had coded my part of coding in FM exit_saplved.._oo1 and i had activated that.but it is not working for me.than i tought of going to other FM exit_sapl..._009.in which i'm not able go into the include either.plz help me out.thank you.

    Hi, Krishna!
    With IDOC_INPUT_ORDERS during IDoc interpretation PO number is assigned to XVBAK-BSTKD field which is later used for sales order creation with reference to PO.
    So all you need is to use some customer exit with changing parameters containing XVBAK after IDoc interpretation is completed. For example you can use EXIT_SAPLVEDA_009 which is called at the end of IDoc check after interpretation.
    Regards,
    Maxim.

Maybe you are looking for

  • Apple ID - Why is this so Hard?  "Email in use" why can't I fix?

    My son has an iPhone4s and a new Retina MAcBook we bought him to take to college. He has an Apple ID [email protected]   We can't think of any other apple ID that would've used that @me.com email.  When he tries to set up Messages on either his iPhon

  • Error while registering CCMS Agent !!!!

    Hey, I was trying to configure the SAPCCMSR agent in the development PORTAL which is a JAVA (Non ABAP)  stack through "J2ee Visual Administrator". I am getting the following error: 1 ) ERROR: DSR: Dynamic Library dsrlib.o is Non-Unicode.        Canno

  • IPhone 5c OS 8.2 will not boot up and hangs on apple logo

    I have upgraded my 5c to 8.2 and reset all the settings so that I can transfer the user , it now will not boot past the apple logo , can anyone help?

  • Bookmarks in PDFMaker

    Hi All, I'm using PDFMaker in a macro to create a pdf file. Using AdobePDFMakerForOffice.ISettings I'm able to set the other properties of the pdf but not the bookmarks preferences. I would like to set the bookmarks (like heading1, heading2 etc..) us

  • Filling custom VBAK field in user exit EXIT_SAPLVEDA_001

    Hai Experts, I created code and activated the user exit EXIT_SAPLVEDA_001. Via an iDoc i want to fill a custom field which is in VBAK. EXIT_SAPLVEDA_001 has an changing parameter type dxvbak, after user exit is triggered for the right segment, the cu