Idoc sales order outbound issue

Hi,
i am new to IDOC's.I am generating IDOC for sales outbound process(standard).Few of the partners are created..now i need to get all the zpartner profiles for the sales order.
For this i am using EXIT_SAPLVEDC_002 user exit.I am trying to debug through program SD70AV1A,but output(debugger) is not getting stoped.
Please help me by giving valuable answers or sample codes.
Thanks in advance.

thanks gordan,
but when i check the INCLUDE LVEDCF0F.
686 line LOOP AT xvbpa WHERE vbeln = xvbak-vbeln
                AND   posnr = '000000'.
    SELECT SINGLE * FROM edpvw WHERE parvw = xvbpa-parvw.
    IF sy-subrc = 0.
here for standard partner like AG WE e.tc idoc gets generatedwith segments  but for customized segment it does not.
So i am looking for writing some code within EXIT_SAPLVEDC_002.
here problem is i xvbpa is clear.
so can u suggest how can i write logic for this.
sample code will be helpful.
thanks

Similar Messages

  • Sales Order Outbound IDOC - Restricting Items being created with a Segment

    Hi,
    I have a requirement to restrict segments being created for Items (Child) in Sales Order Outbound IDOC based on conditions in the Items (Parent & Child). Can you please suggest me a suitable solution?
    Basic Type: ORDERS05, Message Type: ORDRSP. What is the IDOC Function Module to be used to create Outbound IDOC for Sales Order?
    Appreciate Your Help.
    Thanks,
    Kannan
    Edited by: Kannan SA on Jan 3, 2008 3:03 PM

    Hi,
    if the segments are mandatory then you can't trigger the idoc without those segments.
    Otherwise, you can read the segment and clear all the data in it, the segment will not be attached to the outbound idoc.
    Where to do it? Search the CALL CUSTOMER-FUNCTION '002' for the outbound idoc for example IDOC_OUTPUT_INVOICE for Invocing.
    Regards,
    Baburaj

  • Sales Order - Outbound Delivery IDoc scenario.

    Hi Friends,
    I have the below urgent requirement. I would be gratful, if someone suggest possible options.
    Scenario: This is related to Sales order to Billing scenario.
    We are creating Sales orders by using ORDERS05 Idoc. After the Real goods despatch happens at legacy system, we will be getting despatch feed (IDoc) for outbound delivery trigger. Here if all sales Order items are complete, the system is creating Outbound delivery by using this IDoc and then PGI will follow. This is Ideal scenario.
    Practically what happening is, our sales orders are created with few incomplete items (Ex: Net price missing) because they are created via ORDERS05 Idoc.( Manually, we can't create sales order with incomplete items, unless we force the system to do so). When the Out bound delivery IDoc triggered, it will pick up only completed items and creates partial delivery and becomes 53 status. Now the sales order is left out with open and incomplete items.
    Now our aim is how to make this outbound delivery IDoc fail, if this is not able to create delivery for all items?? (I mean, if the sales order items are incomplete, the delivery Idoc must fail. So later, if sales order becomes complete, this Idoc can be reprocessed again) How can we make this scenario possible??
    Expecting your thoughts and inputs.
    Regards,
    Kaleeswaran

    HI,
    I suggest you to think of similar solution as below.
    1.As your issue is at order (few items are incomplete with Pricing issue or some other issue), at sales order level while saving each sales order write the code in user exit_save_document_prepare to check if any items exists as incomplete. if yes then populate a delivery block in the sales document header.(you can use a new delivery block to distinguish the reason for the block)
    2. While creating delivery for the order through Idoc since the incomplete orders have a delivery block at the sales document header level SAP wont create delivery for the entire Order.
    3.Handling this delivery block at sales order header: when ever a sales order is popluated with this new delivery block triggere a workflow which will shoot a mail to your End user team or customer representative team. they will correct the issue in the order and remove the delivery block. if you dont want to go with a workflow then you need to incorporate a process to remove the delivery block in the sales order
    Thanks,
    Srini

  • 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

  • Sales Order replication issue from SAP CRM  (7.0) to ECC

    Hi,
    I have issue in replicating the sales order from CRM to ECC below are the issue details ...
    Issue:
    Sales Order is created in CRM and Mbdoc is generated with status:001 (Yellow state),Order is not replicated to ECC system.
    I am trying to Replicate the sales Order1.Created Trnascation type: ZLS1 in CRM
    2.Number range assigned as Internal in CRM and External number range in ECC
    3.Item categories has been defined in Both the system.
    4.SMOEAC settings are completed successfully.
    5.Maintained table:SMOFPARSFAin both systems.
    Checked Couple of things:
    1.No items found in SMQ1 (Out bound queue ) in CRM
    2.Checked in SMQS,none of the entries found.
    Please let me know if i missed any of the settings to replicate the sales OrderPlease help us on this regards ASAP
    Thnaks.
    CRM Consultant.

    >
    Robert Kunstelj wrote:
    > Check in status shema of that order that it doesn't block distribution to R3.
    >
    > Also check that you don't have any fillters set in R3AC1.
    >
    > And also tell me, do you see in SMW01 CSA mbdoc for that orders? If yes, are they in red state and when you select one and click on button Show bdoc message extended data, do you get structure or not?
    >
    > Regards.
    Hello Robert,
    Here is the answers for the questions raised...
    1. I checked status schema ,understand distribution status is " To be distributed " in the sales order in CRM
    2.In R3ac1 ,standard document "SALESDOCUMENT " doesn't have the any filter setttings related to my transaction type.
    3.Mbdoc (Notification ) is generated in SMW01 with status " 001 " (Yello state),failed to reprocess the Bdocs.I coudn't able to find the Outbound queue in CRM for the corresponding order in CRM.
    4.I can see the Bdoc structure in the extended data in SMW01.
    Thanks.
    Sathya.

  • How to send IDoc(Sales Order Confirmation) without Message control

    Hi,
    I need to send Sales Order confirmation,Delivery and Invoice through ALE (IDoc's). I am asked not to use MESSAGE CONTROL or CUSTOM IDoc to send confimation.
    I dont need to send a instant confirmation but i can do it at a specified time intervals.
    Do we have any other possiblity other than the both?
    Can you please give the steps to do, if possible?
    Thank you in advance,
    Gangolu.

    Hi
    This link may be useful
    Re: Re-open EDI - ORDCHG for outbound sales order

  • Reg:IDOC -sales order creation

    Hi All,
         I am trying  to create sales order through IDOCS.Basic type is SALESORDER_CREATEFROMDAT201.
    My requirement is to know any user-exits where in I need to add to my code to hardstop sales order creation if the storage location which I am passing is marked for deletion.
    Kindly reply as soon as possible.
    Regards,
    Kaveri

    Hi,
    Check this one it will help u how to enhance the idocs.
    If we wnat to extend the idoc use the segments for adding the fields. use the tcode WE30 and we31.
    Please reward points if it is useful.
    Go through the following Steps For ALE/IDOC
    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,
    satish.

  • Sales order cost issue

    Hi All,
    I need help with the production issue.There are 2 sales orders which have cost recognized in one of the month
    but they are not posting to WIP.Can anyone explain me the reason for this problem.
    Thanks in advance.
    Edited by: Reema Sen on Jun 10, 2009 2:19 AM

    Hi,
    You will have to enable project manufacturing if you want to collect manufacturing cost on a project. Once you create a project, add this project to a project manufacturing organization through a PJM responsibility. Once you associate project and PJM org you will be able to put the PJM organization in the sales order line created on a Project sales order in Oracle OM. Also, mention the project number in that sales order.
    Once this sales order is shipped, run the cost collection program and it will bring in the manufacturing costs to project.
    Hope it helps
    Regards
    Kaushal

  • Sale Order Performance Issue.

    Hi,
    We are using EBS 12.0.6 and Database is 10g (10.2.3).
    We are facing performance issue with "Order management Sale Order Form",
    When user click on "Line Items" Tab of "Sale Order Form" and
    In "Main" Tab entring the "Ordered Item" then press tab and entring the "Qty" of item, its takes time 20 to 30 Second for one item if its related Items exists.
    We have 150 entiries against one sale order. Users are facing 20-30 second delay on each entry.
    Please advise how to improve the performance when related Itms exists?
    Thanks,
    Edited by: user12007410 on Feb 4, 2010 12:00 AM

    Pl create a trace file as outlined in MOS Doc 564817.1 (How To Create Forms And Database Level Trace For Receiving Transactions) to help pinpoint what SQL is causing the issue. Then open an SR as this may be a known issue for which a patch exists.
    Pl also verify that database statistics are current - see MOS Doc 169935.1 (Troubleshooting Oracle Applications Performance Issues) - section on "Statistics Gathering"
    HTH
    Srini

  • Vendor Drop Ship Sales Order statues Issues

    Process flow : OR ( item category ZVDS u2018Vendor Drop Ship" ) >> PO >> MIGO >> Invoice ( its order related billing ) no delivery involved in this because of drop ship
    after sales order OR system generate PR and PO and if customer reject the PO so user put line item as mark for deletion in PO we cant delete PO and its tie up with Sales order and Over all statues at header lever is OPEN u2026is there any way where we can change over overall statues in sales order
    We have an significant amount of these orders that continue to appear in numerous reports when they should not be of selected criteria,
    But the main issue being when these orders are cancelled, returned, etc. They are not removed from VF04 "Billing Due list".

    Pls reply me

  • ERP Sales Order : Performance issues with Product Proposal

    Hi
    we are working on CRM 2007 solution and are facing serious performance issues with the ERP Sales Order functionality provided in the ICWC of this version.
    In our development we are adding items in the ERP cart as soon as the user clicks on the 'New Sales Order' button of the sales order sreen. We get the items by very simple and optimized call to the ERP system and then add these entities in the Item Cart (Item collection ...in simple sense).
    For adding 10 items the application takes 10 seconds and this is too much for adding just 10 items.
    Can you please provide any Notes/alternative solution to resolve this issue.
    Regards
    Ajitabh

    Hi Ajithabh,
    Please apply the following SAP notes:
    1061423 - Interaction Center ERP Order Performance improvement
    1262277 - Performance: CRM value help causes dumps in ERP
    1292817 - Performance: Reduce RFC calls during creation of ERP order.
    1319885 - ERP sales order search with external reference
    1326527 - Reducing number of RFC calls in IC ERP Sales Order
    I hope it helps!
    Regards,
    Gabriel Santana

  • Sales order form issues

    Hi,
    Sales order form takes lots of time to get closed on r12.0.4 vison instance why?
    Regards

    Hi,
    Can you reproduce the issue on some other instance (same release)?
    Was this working properly before? If yes, any changes have been done recently?
    Try to generate the form via adadmin, and run the "Gather Statistics" concurrent program and see if this helps.
    Also, enable trace and generate the tkprof file, this may help in getting details about the issue -- (Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12).
    The following documents may be applicable, go through it and see if it helps.
    Note: 845014.1 - Saving Of Sales Order Reservation Too Slow With Lots
    Note: 739486.1 - Performance Issue When Querying Sales Order From Sales Order Form
    Regards,
    Hussein

  • Sales order Tax issue

    Hi All,
    I am having a issue with sales order that calculated taxes.  When created the invoice, no taxes were calculated.  Went back into the invoice (VF02) and went to the header pricing condition.  Did not make any changes, but green arrowed back.  Then went into each line item and the taxes are now calculated.  Posted the invoice to accounting and taxes are showing up. 
    The defect is.... We should NOT have to go into the header pricing condition tab in order to calculate taxes for the line items.
    Regards,
    Santosh

    Santosh,
    The first question I would ask is: do you have any user exits implemented for pricing condition type in your invoice document? If yes, analyze the code related to Tax. If not, contact your SD consultant to check the pricing procedure configuration.
    Thanks & Regards,
    Sandip Kamdar

  • EBS 12.0.6 Sale Order Performance Issue.

    We are using EBS 12.0.6 and Database is 10g (10.2.3).
    We are facing performance issue with "Order management Sale Order Form",
    When user click on "Line Items" Tab of "Sale Order Form" and
    In "Main" Tab entring the "Ordered Item" then press tab and entring the "Qty" of item, its takes time 20 to 30 Second for one item if its related Items exists.
    We have 150 entiries against one sale order. Users are facing 20-30 second delay on each entry.
    Please advise how to improve the performance when related Itms exists?

    Hi,
    Please see if these documents are applicable.
    Note: 845765.1 - R12: Performance Navigating To Line Item Tab: OE_AK_SOLD_TO_ORGS_V [ID 845765.1]      
    Note: 399998.1 - OEXOEORD: Performance Entering Item On A Sales Order Line
    Regards,
    Hussein

  • Sales order -goods issue

    hI
    1 What is goods issues for sales orders without
    account assignment object (the account is not a cost element)
    2. What is  goods issues for sales orders with
    account assignment object (account is a cost element)
    Pl explain

    If you do goods issue in [MTO]  scenario, then the account determination will be based on [KOFK]  which is a cost element.
    If you do goods issue in  [MTS]  scenario, then the account determination will be based on [KOFI]  which is not  a cost element.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Windows 7 display resolution problem on iMac 27"

    Hi, I have an iMac 27" that is running bootcamp with Windows 7.  The resolution on the OS X is fine, but on the Windows 7 side, it is messed up.  The display resolution choices make the screen look all stretched and weird; I cannot select the same re

  • Adobe Media Encoder CC Fails To Dynamically Link Embedded AE Comps Within PR.

    When launching a PR project in Media Encoder to kick off a render.  The dynamic link engine loads the PR sequence just fine but during the render it fails to read any clips that were "relaced with AE comp", instead inserting an "offline media" plate.

  • Adobe Acrobat Pro: Possible to change color of drawn lines / polygons? How?

    In working with Adobe Acrobat Pro --editing PDFs, is it possible to change the color of lines and polygons that are under the comments section. I would like to have lines and polygons of 3 maybe 4 different colors on the thing that I am working on.. 

  • 875P Neo-FIS2R & Maxtor Problem?

    I've installed a 80GB Maxtor S-ATA drive on friday and istalled Win XP on it. No problems so far. But when I booted the PC the next day I got lots of error messages regarding data loss when writing. And that all the time. :( Another thing is, when I

  • How-To:  Create the appearance of letters chiseled

    Using the image from the following location, how would I go about adding text above and below the fork that appears to be chiseled into the wood-like background? http://scribeus.com/fork-wood.jpg I followed a tutorial about engraving, which uses the