Idoc generated for creation of sales order

Hi all,
In my project we have two different boxes-I and B.When a purchase order is created in I Box an idoc is triggered which goes to the B Box and creates a sales order.I want to do some changes in E1EDKA1 and E1EDPA1 segment in the idoc in I Box so that when it goes to B Box it will show the changed one.For example if there is EN in E1EDKA1 and E1EDPA1 segment then in B Box it will be appeared as ZA.I need to know that for this change I have to do the coding changes in which USER EXIT?The function module which is triggered during the sales order creation in B Box is IDOC_INPUT_ORDERS.
Thanks in advance
Raj

Hi Raj,
go to se37..
enter the function module and after each segement append there is a customer exit and badi is available to add you custom code..
in the user exit read the segement and modify the segemnt data..
these are the below exits available for the Orders
ORDCHG I VEDB0001 Sales Ord. Change
ORDERS I VEDA0001 Sales Orders                  "this is the user exit for you to code..
ORDRSP I MM06E001 Order Response for
Purchase Order
search--  CALL CUSTOMER-FUNCTION '011'--Fm--EXIT_SAPLVEDA_011--include--INCLUDE ZXVEDU13.
Regards,
Prabhudas

Similar Messages

  • EDI for creation of Sales Order and sending copy of Invoice

    Hello Experts,
    I am working on EDI. We have a scenario, where the purchase order created in the 3rd party system has to be converted into a sales order in our SAP system.
    Then, the regular flow would follow uptil delivery and creation of invoice in SAP.
    We have to send a copy of this Invoice back to the 3rd party system.
    So, in effect, we would have EDI at two points, while capturing the PO from the 3rd party and another when sending a copy of the Invoice back to the 3rd party.
    Please advise on how to go about implementing EDI in the above mentioned scenarios.
    Regards,
    Divyata

    Use EDI 850 Process code ORDE FM IDOC_INPUT_ORDERS for PO (Inbound)
    use EDI 810 Process code SD09  FM IDOC_OUTPUT_INVOIC for Invoic (Outbound)
    Edited by: srini korada on Jun 9, 2011 4:51 PM

  • FM for creation of sale order

    Hi All
    Kindly provide me lFM for sale order creation . Kindly don't suggest the BADI eg.BAPI_SALESORDER_CREATEFROMDAT,
    BAPI_SALESORDER_CREATEFROMDAT2.
    Actually I want use this function module in notification action box functionality to create sale order. I already have reference sale order, I just want fetch data from reference sale order and creation of new one. I tried BAPI_SALESORDER_CREATEFROMDAT in configuration  of action BOX but i got error"
    BAPI_SALESORDER_CREATEFROMDAT1 does not have E_QNQMASM0 parameter".
    Regards
    Sandeep

    Check this where similar topic was discussed
    Functional module to create PM order to be used in Action Box
    You can also have a look at the following note:-
    Note 1770396 - QM: Action box - Tasks and activities for item
    G. Lakshmipathi

  • Interface for  BAPI for creation of Sales Order.

    hai,
    what does meant by creating interface for BAPI to create sales order. and how to create the interface for BAPI to create sales order.

    Check Transaction BDFG and BDBG.
    BDBG is to create an interface for the BAPI
    http://help.sap.com/saphelp_nw04/helpdata/en/43/b46c4b53c111d395fa00a0c94260a5/frameset.htm
    BDFG is to create an interface for the FM (non BAPI).
    http://help.sap.com/saphelp_nw04/helpdata/en/00/a814b5d05b11d6b2ca00508b6b8b11/frameset.htm
    Regards,
    Naimesh Patel

  • Working on LSMW using IDoc method for processing Open Sales Orders

    We are currently in middle of creation of a new instance of production for a different Business SBU. We are looking to utilise the LSMW tool using IDocs for uploading / transferring the open orders to the new box. If some one has worked on LSMW using IDocs, please get in touch and if you could share any documents on the process of utilising the LSMW tool using Idocs for any kind of conversions, it would be great. The following is a sample case.
    1. Each order will have multiple segments with different qualifiers under various segments.
    2. Multiple line items would be available under each order.
    Issues we are currently looking to solve :
    1. How do you manage to loop through the qualifiers during processing for the same segment.
    2. How do you prepare the tool to recognise the multiple line items of the same order.
    3. What kind of strategy needs to be used to create the input data file(s). Like, splitting the header and detail level information ?
    Note  : The volume of data we are looking at is somewhere around 40-60 thousand orders worldwide.
    Thanks in Advance.

    hI vikram check this link
    and reward points if helpful
    http://www.****************/Tutorials/LSMW/IDocMethod/IDocMethod1.htm
    http://www.jt77.com/system-dynamics/model-01395.html

  • Creation of Sales Order and Service Contract from Inbound IDOC

    Hi Experts,
    My requirement is to create a Sales Order as well as a Service Contract from one Inbound IDOC. I am getting the Inbound IDOC from a third Party. The message type is ORDERS and Basic Type is ORDERS02. How ever i am using an extension type IDOC which carries all the required data for Sales Order and Service Contract. My requirement is like, to create a Sales Order first.
    I have created a Z FM which is attached to the Process Code and subsequently to the message type. Inside the FM i an calling FM 'IDOC_INPUT_ORDERS' for creation of Sales Order. After that i am changing the IDOC data for the Document Type. I am changing the document type which is responsible for Contract Creation.
    Then I am again calling the FM 'IDOC_INPUT_ORDERS' for creation of Contract with the help of IDOC data. But here the Contract is not getting created. It's getting failed during the Batch input session.
    I need to solve this problem as soon as possible. Please help me. If there are any other options also please share.
    Thanks in Advance.
    Regards,
    Priyabrata

    Actually there is problem with BDCDATA. Inside the FM it's calling transaction with help of BDCDATA. If i am creating a Sales order or contract alone its creating successfully. But when i am trying to create both, it's retuning sy-subrc '1001' after calling the transaction on the second attempt. Is there any problem with BDCDATA like we can't handle with less time gap? Please help and give your inputs.
    Regards,
    Priyabrata

  • Creation of sales order in CRM and replicating it to Multiple ECC system.

    We have a requirement for creation of sales order in CRM and replicating it to Multiple ECC system.
    We have checked the following standard Adapter objects in transaction R3AC1.
    BUS_TRANS_MSG
    The initial flow contexts does not support target site type as R/3(SMOF_ ERPSITE). So we are not able to replicate the sales order from CRM
    to ECC.
        2. SALESDOCUMENT
    Here the initial flow contexts does not support flow from CRM -> R/3 as we don’t see the target site as CRM.
    Please let us know if the standard sap middleware objects don’t support the sales order flow from CRM to multiple ECC or is there any
    other adapter object we need to use for this.

    Hey Vijay Duvvada,
    I hope you are already referred below sap note  and which explains scope & how to do   -
    1084315 - Consulting: Information about the multiple backend scenario
    1763516 - How-to: Basic Setup of MEP
    As explained by Rohit Sharma data should be start flowing to multiple sites.
    please let me know if it does help.
    Regards,
    Arjun

  • How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    Dear Friends,
    I am absolutely agree with your answer .
    But my question is,
    Lets say.....
    One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
    So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
    Hope you all understood my requirement .
    Thanks & Regards,
    Aditya

  • Idoc not created for a particular sales order

    Hi,
        For a particular sales order , idoc is not created .
    The idoc has to be generated when we create a sales order ,
    but for a particular sales order , the idoc is not generated when the sales order is created. The program is assigned in
    nace for output type zd00.  
    RSNASTED is the program which triggers the idoc and FM: IDOC_OUTPUT_ORDRSP.
    How to debug and see why the idoc is not generated,
    i had kept break point in idoc_output_ordrsp function module
    and program rsnasted, but my control does not
    reaches this point.
    can anyone help me in this issue.
    Thanks and regards,
    A. thirumaran.
    Edited by: thirumaran a on Jul 22, 2008 1:35 PM

    Hi,
    Could you please check if the output is processed or not, whether in the output type what all conditions you have maintained e.g send immediately.
    Reward me point if you find this helpful.
    regds.......
    Sumit

  • Restrict creation of sales order for specific customer

    Hello All,
    I want to restrict creation of sales order (of particular sales order type) for specific customer, please let me know how can I do it.
    Your early reply will be highly appreciated.
    Thanks & Regards,
    Mahavir

    HI
    As per My knowledge it is not possible in Standard SAP , you need to go with Enhancement
    Go to SE38 : MV45AFZB, User Exit: USEREXIT_CHECK_VBAK
    Regards,
    Prasanna

  • Creation of  sales order using inbound idoc

    hello all,
             I have a scenario where i need to read data from a flat file, then create a sales order with the flat file data using IDOC. we can also create sales order using BAPI but the problem is that we need to handle serveral errors so we want to use IDOC.
           we are trying to use the function modules 'Idoc_input_orders'  but we are not sure how exactly we need to pass the parameters into the function module, actullays data control structure is asking for different parameters like partner, idoc number, idoc port etc which we need not have as we are processing it internally in the same system.
        It would be great if some one could help me regarding.
    Thanks
    krishnam raju N
    Message was edited by:
            krishnam Raju N
    krishnam Raju N

    Hi,
    see FUNCTION 'IDOC_INBOUND_FROM_FILE'
    Regards,
    Clemens

  • Need IDOC and segment for mappping the sales order number

    Hi,
    we need the IDOC name and segment for mapping the sales order number created by oracle in sap for transaction VA01.
    Whether the sales order number created by Oracle can be used to create the sales order in sap using the idoc ACC_SALES_ORDER01?
    . If we can do,then what is the segment and field for the sales order number in the idoc ?
    Please reply asap it's very urgent
    Thanks
    Edited by: suresh kumar nandhagopal on May 16, 2008 12:07 PM

    Hi,
    IDOC for sales order is ORDERS05. Segment E1EDKA1, for field go to SE11 and enter E1EDKA1 to find field for sales order.
    Cheers.
    ...Reward if useful.

  • TCODE for Process order creation against Sales order

    Hi gurus,
    Pls tell me what is the TCODE for Process order creation against Sales order
    Eg. CO07 is for production order from sales orde

    Typically, in MTO scenario after the sales order is created you run MRP which will create planned order and then you convert that into production order using MD04.
    Or if you have SD settings correctly directly from the release of Sales Order it will create planned order or production order.
    please check and revert back.

  • Creation of sales order through Purchase order

    Hi all
    We have a special scenario in creation of Sales order with the help of purchase order,
    Could you please advice me how we can create sales order with the help of purchase order.
    Thank YOu
    Swaroop

    you can create the sales order from the purchase order.It can be achieved by Idocs.
    Please maintain the condition record for the output medium EDI and also maintain the Partner profile in WE20.

  • Confusion on IDOC types for creation of PO

    Hi,
    Requirement is sending PO from sendin SAP system to receiving system.
    For sending am using-
    Processing code ME10
    On serching forums and tutorials,  i came across IDOC type- ORDERS05 but this idoc type is for both PO and SO.
    PORDCR04 idoc type for creation of PO only.
    Some post says PORDCR04 doesnt create PO header text.On the other hand,For inbound processing of PO idoc ( using ORDERS05 ) processing code is not available.
    I will be thankful if somebody can guide me which of these idoc types is preferable.
    Thanks.
    Edited by: Sanjay_lnt on Jan 8, 2011 3:49 PM

    Hell Sanjay
    Outbound ORDERS (= Purchase Order) and inbound ORDERS (= Sales Orders) are like siblings which reflect the customer / supplier relationship.
    In case of the PORDCR04 IDoc it is somewhat different because does it make sense to have the same purchase order in different system?
    In our case a POS (= point of sales) system is used to create a purchase order (for replenishment) which is then converted (via SAP-PI) into an inbound PORDCR04 IDoc in the ERP system. Out of this purchase order a replenishment delivery (for the shops) is created.
    Regards
      Uwe

Maybe you are looking for

  • Report S_ALR_87012168

    Hi Guys I am running report S_ALR_87012168 with one company code which is in europe. It is giving me values in DEM but the company code currency is CHF. When I select Currency tab on it gives me Database currency CHF and List currency DEM. For brazil

  • Digitizer pen

    I have just recently bought an i7 Lenovo Yoga pro 2. As many of you may know, it does not come with a digitizer pen. I would like to purchase one but I am not sure what to get. Please help me with suggestions.

  • How to configure memory snapshots used in /HMUSA?

    Dear experts, Does anybody know how to configure memory snapshots? I want to call the /HMUSA and have a look at the snapshot using the Memory Inspector. But I would like to get a itemized list of the memory used, for example for the TTAB buffer I wou

  • DB13 Full Database Backup - Error

    Hello Everybody, Got this error with DB13 Full Database Backup. 2006-05-28 07:20:13.92 spid91    BackupMedium::ReportIoError: read failure on backup device ' ERB-HQ-BK2\SAPBK\DVE.BAK'. Operating system error 59(An unexpected network error occurred.).

  • What dpi should I use when making a file for a HD (1920x1080px) in Photoshop??

    I am making a graphic for an HD (1920x1080px) in Photoshop and I wanted to know which dpi Should I use? 72dpi?100dpi?300dpi? I dont want this to bee seen bad in a big screen...=S Thanks in Advance, Orangejuice.-