Outbound ORDRSP IDOC not created while processing  using ALE_PROCESSING .

HI ALL,
i have done all the requiured config for o/b message control for ORDRSP idoc along with config in sale for dist.. model and assigning msg type to model etc and when i save my PO i can see the o/p being proposed but when i process that with A as medium, it is incorectly processed and no ordrsp idoc is created.i am using std idoc_output_ordrsp FM,  when i debug the code the see an error in ALE_PROCESSING IN the perform new_dyn_perform
can anyone pls tell me why the idoc is not created.
thanks,

Hi eswar,
i have configured the partner profile for the LOGICAL SYSTEM that i hav created along with the message control deatils in msg ctrl tab( which i think should not really matter) as i have already created a distrib. model for my log. sys and attached my msg typ to that.
when i debug the flow ( rsnast00-rsnasted-ale_processing-idoc_output_ordrsp) i think the error is somewhere in the call function tede1-routid( idoc_output_ordrsp) in the new_dyn_perform subroutine.
but that FM is holding good for other ORDRSP idocs.i am really unable to understand where the error actually is.
thanks

Similar Messages

  • Idoc not recive while sending using program & SEND IDOC IMMEDIATELY in we20

    <b>i am sending idoc using program</b> - with function master dat distribute function,
    now if i set SEND IDOC IMMEDIATELY in outbound message in we20 'partner profile' than idoc get status 03 but at reciver end idoc not found with any status.
    if select collect idoc immideatly than work properly.
    what precaution needed while sendig idoc throug send idoc immideatly with Program,
    regards,
    r p.

    Hi rp,
    when using SEND IDOC IMMEDIATELY in outbound messge, the packet size should be 1 and use start subsystem option.
    Thanks,
    Rajeev Gupta
    Message was edited by:
            RAJEEV GUPTA

  • Workflow Item not created while processing draft PO from SOCO

    Dear SAP SRM Experts,
    In SRM 7.0, I've a scenario where I create a PO draft in sourcing.
    In the 3step of the GAF, I've the option to
    1. Edit the PO and order it.
    2. Directly process the PO draft to create a PO..
    While in case one the WF item is created with status awaiting approval, in the second case (when I directly process the draft) the workflow item is not created but the status is still 'Awaiting Approval' !!.
    Use of PC workflow is done and the PO is not auto approved.
    Any pointer regarding this would be very helpful.
    The call stack is way different between the first step and second.
    My understanding is if there is some error in the follow on PO, the work item would not be created. But the SC in soco is similar and while in first case it does create the workitem in second case it doesn't.
    When does the decision to create workflow item is decided in second case?
    Thanks.
    Shushant

    Hi Guys,
    Thanks for your inputs.
    The problem has been identified. The error is because  the vendors are deleted completly from the system. And those were  earlier used in shopping cart as preffered vendor. Thats why the system is throwing the error message. 
    As we can not process this SC further we want to delete this SC (line item).  But again while deleting the SC the system is throwing the error message . "Business partner xxxxxxxxxxxxxxxxxxxxxxxx not found."  Thus its not allowing us to delete the SC.
    Do you have any ideas how we can delete the SC line items, or  SC ?  Any FM ?
    Thank you,

  • CO-PA document is not created while doing the sale order cycle

    Dear Experts,
    I have 4 company codes in my controlling area. I did all CO-PA configuration. But CO-PA Document is generated in Only one company code. Remaining company codes CO-PA document is not created while doing the sale order cycle
    I’ve carried a standard sales cycle that contains sales order (VA01),
    and (VF04,VF02). System should generate 4
    documents as follows
    1) FI Document
    2) CO Document
    3) Profit Center Accounting Document
    4) COPA Document
    But in my case for 3 company codes only 3 documents are generated instead of CO-PA. But for one company code 4 documents are generated.
    In my case i did all settings Operation concern level and assign to controlling area. I can,t Understood why system is generating CO-PA document for Only one company
    Please suggest me where i miss the settings..
    Regards,
    Krishna.V

    Dear Ajay,
    Cost element category is 01. Because hear is one another company they have FI only all transactions they maintain through FI only. so hear we maintain Cost elements category 01.
    I think it is not a problem. because hear i got CO-PA document from one company. Remaining 3 company is not generated.
    Hear we maintained all gl's chart of acc level and cost elements also.
    Please suggest me...
    Regards,
    Krishna. v

  • Can we chnge segment data of IDOC  while processing using EXITS ?

    Hi All,
    We have requirement that we have to do validations while processing of IDOC i.e. using User EXIT.
    i can access the data and can do validations final i can update the tables data coming from user exit , but I'm not able to update the Segment field data.
    here we can directly update the database  , but i'm not able change the IDOC segment values .
    for example
       FOR cond_a IDOC
    THE USER EXIT==>EXIT_SAPLVKOI_002
    FUNCTION EXIT_SAPLVKOI_002.
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(IDOC_CONTROL) LIKE  EDIDC STRUCTURE  EDIDC
    *"             VALUE(INPUT_METHOD) LIKE  BDWFAP_PAR-INPUTMETHD
    *"       TABLES
    *"              IDOC_DATA STRUCTURE  EDIDD
    *"       EXCEPTIONS
    *"              APPLICATION_ERROR
    i can acess the segement values using IDOC_DATA and validations are done .
    but how can i update this segmnent values that must apper in IDOCS again .if we see in we05.
    Regards
    Nandan.

    Hi Nadan ,
    Yes we can change segment data of an Idoc in the Exits.
    Below is the code to change the Idoc segment data .
    Here I took E1EDK04 as example I read the data from E1EDK04 and I change the segment data
    READ TABLE t_idoc_data INTO is_edidd
    WITH KEY segnam = c_segnam_e1edk04. "#EC *
    IF sy-subrc EQ 0.
    MOVE: is_edidd-sdata TO is_e1edk04.
    ENDIF.
    IF l_betrg = c_betrg.
    is_e1edk04-mwskz = C_TAX20.
    is_e1edk04-txjcd = c_txjcd.
    ELSEIF l_betrg = c_betrg1.
    is_e1edk04-mwskz = C_TAX21.
    is_e1edk04-txjcd = wa_ekpo-txjcd.
    ENDIF.
    LOOP AT t_idoc_data
    WHERE docnum = i_idoc_contrl-docnum.
    CASE t_idoc_data-segnam .
    WHEN c_segnam_e1edk04.
    MOVE is_e1edk04 TO is_edidd-sdata.
    MODIFY t_idoc_data FROM is_edidd.
    ENDCASE.
    ENDLOOP.
    Please let me know if u have any Queries .
    Rgds
    Sree m

  • ** File to IDoc scenario - IDoc not created in target system

    Hi friends,
    We are doing File to IDoc scenario. We made required setting in both application as well as XI system. While test the scenario, the file is picked up and successfully processed in SXMB_MONI, but the inbound IDoc is not created in target system. What could be the problem?
    We are using DEBMAS message type DEBMAS06 IDoc type. We checked the following.
    1) SM59 - Connections are OK both application and XI system
    2) IDX1 - In XI System, we have assigned SAP<R/3> port.
    3) IDX2 - IDoc is imported.
    4) In ID - Sender File - Business Service - Adapter-Specific Identifier - Logical System name is given.
    5) In application system. - Partner Profile maintained correctly.
    6) SM58 - There is no error.
    So, what could be the reason ?
    Kindly reply, friends,
    Thanking you.
    Kind Regards,
    Jeg P.

    Hi,
    Check all the steps ..
    File to IDOC
    Do these configurations in R/3 and in XI...
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    Thanks,
    Satya

  • Error in creating a process using runtime class - please help

    Hi,
    I am experimenting with the following piece of code. I tried to run it in one windows machine and it works fine. But i tried to run it in a different windows machine i get error in creating a process. The error is attached below the code. I don't understand why i couldn't create a process with the 'exec' command in the second machine. Can anyone please help?
    CODE:
    import java.io.*;
    class test{
    public static void main(String[] args){
    try{
    Runtime r = Runtime.getRuntime();
         Process p = null;
         p= r.exec("dir");
         BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
         System.out.println(br.readLine());
    catch(Exception e){e.printStackTrace();}
    ERROR (when run in the dos prompt):
    java.io.IOException: CreateProcess: dir error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:63)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:550)
    at java.lang.Runtime.exec(Runtime.java:416)
    at java.lang.Runtime.exec(Runtime.java:358)
    at java.lang.Runtime.exec(Runtime.java:322)
    at test.main(test.java:16)
    thanks,
    Divya

    As much as I understand from the readings in the forums, Runtime.exec can only run commands that are in files, not native commands.
    Hmm how do I explain that again?
    Here:
    Assuming a command is an executable program
    Under the Windows operating system, many new programmers stumble upon Runtime.exec() when trying to use it for nonexecutable commands like dir and copy. Subsequently, they run into Runtime.exec()'s third pitfall. Listing 4.4 demonstrates exactly that:
    Listing 4.4 BadExecWinDir.java
    import java.util.*;
    import java.io.*;
    public class BadExecWinDir
    public static void main(String args[])
    try
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec("dir");
    InputStream stdin = proc.getInputStream();
    InputStreamReader isr = new InputStreamReader(stdin);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    System.out.println("<OUTPUT>");
    while ( (line = br.readLine()) != null)
    System.out.println(line);
    System.out.println("</OUTPUT>");
    int exitVal = proc.waitFor();
    System.out.println("Process exitValue: " + exitVal);
    } catch (Throwable t)
    t.printStackTrace();
    A run of BadExecWinDir produces:
    E:\classes\com\javaworld\jpitfalls\article2>java BadExecWinDir
    java.io.IOException: CreateProcess: dir error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at BadExecWinDir.main(BadExecWinDir.java:12)
    As stated earlier, the error value of 2 means "file not found," which, in this case, means that the executable named dir.exe could not be found. That's because the directory command is part of the Windows command interpreter and not a separate executable. To run the Windows command interpreter, execute either command.com or cmd.exe, depending on the Windows operating system you use. Listing 4.5 runs a copy of the Windows command interpreter and then executes the user-supplied command (e.g., dir).
    Taken from:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • IDOC not created in R/3

    Hi,
    I am sending IDOC from XI to R/3 using IDOC Adapter.
    When I send around 2000 documents(2000 idoc are created in R/3)it works fine and I can see Idoc created in WE02.
    But When I send more then 6000 documents,IDOCS are not created in R/3.But I can see in idx5 in XI 6000 outbound idocs.
    Thanks in advance.
    Rekha.

    Have you checked whether the tRFC queue is full and creating with time delay ?
    Try to increase remote user login parameter in the instance profile.
    regards
    Shravan

  • VMI - ORDRSP IDOC to create a Purchase Order automatically

    Hello All,
    I would like to simulate the VMI process. Which data in a ORDRSP IDOC (Message variant VMI) has to be filled at least, so that from it an Purchase Order is created automatically? Does anyone of you have an example IDOC - maybe in the XML format?
    Thanks in advance
    BR
    RMP

    Hi Hanuma,
    For creation productin order IDoc, you can use standard program RCCLORD and FM CLOI_MASTERIDOC_CREATE_LOIPRO.
    For creation purchase order IDoc, you can use FM IDOC_OUTPUT_ORDCHG or IDOC_OUTPUT_ORDERS.
    There is customer exit available for you to populate new status and order number.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Transfer Order not created while performing GR for Production order

    Hi, I am facing a problem while recieving stock from a production order. The system does not create a transfer requirement or a TO.
    Let me give you a brief background.
    This is a new functionality introduced in ECC 6.0 for working with kanban in WM.
    Supply area is created for WM location.
    Control cycle is created for material, supply area. Warehouse, storage type and Bin is maintained in control cycle record. When the GR is done for production order material is recieved in this bin.
    1) Now when the Kanban is set empty a production order is automatically created.
    2) Once the production order is confirmed the material automatically shows up in the bin.
    A material document is created which shows IM movement type 101 and WM movement type 103. Also in material document Immediate auto TO checkmark is blank.
    3) *PROBLEM* - System does not create a TR or a TO. the material automatically shows up in the Bin. How can we enable an auto TR and TO creation.
    Following are the settings which I have already checked:
    1) In IMG, WM movement type 103 has auto TO indicator set.
    2) IM-WM interface for 102 movement type and 103 movement type is maintained.
    The main problem is: Although the material document displays WM movement type 103 and the stock lies in WM bin, System never created a Transfer requirement or a Transfer order.
    I would really appreciate if anyone can help me in this.
    Thanks

    Hi Mike,
    I do not know this function in SAP, so these are just my ideas:
    1.
    System does not create a TR or a TO. the material automatically shows up in the Bin.
    I think it's a normal SAP behaviour. If you do GR against a PO the quant(s) will appear in interim storage bin w/o TO. The TO is to move the quants from one bin to another, but in this case the quant comes from 'nothing' and arrives at the bin.
    If you make confirmation and consume the components refering to a PrdOrd, the components will disappear w/o TO from storage type 100 + dynamic bin, because there's no TO that could move them from dynamic bin to 'nothing'.
    So, these 'movements' are to change the WM stock level and TOs are not designed for this.
    2.
    There's difference between auto creation of TO and immediate TO creation. Please check what SAP help says in case of TOs for outbound deliveries:
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/f8406c4afa11d182b90000e829fbfe/frameset.htm
    3.
    Now when the Kanban is set empty a production order is automatically created.
    So, if you remove the stock from the Kanban it triggers the creation of a PrdOrd. This is very logical in a Kanban system because it is a pull system. but your problem is not this, it's clear.
    If you just created an automatic TO and would remove the stock from Kanban-bin, a new PrdOrd would be generated, and so on. As many times you remove the stock a new PrdOrd is created and this might be the reason why no TO is crated automatically. In this case this would be a push system and not kanban system.
    I do not know this process but if we concentrate only on the pull system, maybe this Kanaban is to store the FG until an event (e.g. shipment) should trigger the stock removal from this bin. (just my assumption)
    Please try to mark the TR creation for the movement type w/o auto / immediate TO and tell us the result (whether you get the TR if you confirm the PrdOrd).
    Regards,
    Csaba

  • MATMAS IDOC not creating required views

    Hi
    We have a scenario where an external system is sending material master data to ECC via PI. The msg type used is MATMAS03. The data gets processed successfully in ECC but does not create the basic data views. The inbound idoc has many fields which belong to basic data views, yet the views that have similar fields other than basic data get created. We have checked the configuration for screen sequencing (Industry standard sequence) and analysed the function module used for inbound processing of idocs. We did not find anything wrong with them. We see that the VPSTA and PSTAT maintenance fields get populated with all other views other than Basic data 1 and 2. This is automatically handled by SAP standard logic.
    Does anybody have any idea what could be causing this? Any troubleshooting tips will help.
    Thanks
    Arvind

    do you have a valid warehouse number and data for your warehouse in the IDOC?

  • Idoc not defined for processing

    i am using we19 the idoc try to create an idoc ekseks01 to be send to port internal which points to application server d:\idocs
    i get the following
    pattern idoc written to database
    not defined for processing
    what does this mean

    Hi,
    This error occurs when an idoc is created and is written to the database, but there are errors which prevents from further processing.
    Check your partner profile, process code and atlast go to we02 and watch your last status record.
    Regards

  • Outbound Delivery IDOC not updating values from MKPF for goods receipt

    hi all,
    I have a question say I am generating an outbound delivery IDOC. which  has fields Goods Issues & Goods Receipt date retrieve from MKPF(BUDAT).
    say when i post goods issues, MKPF is updated and  IDOC is gernerated with issues date taken from MKPF.
    and when i tried to goods receipt, MKPf is updated and IDOC is generated but no receipt date taken from MKPF. then i check in MKPF, date is there and then once again I triggered the IDOC, receipt date comes......so my doubt is the time issues say when IDOC is triggeres, no value in MKPF...but when i check the time it is 4 mins difference from the MKPF time and the IDOC time...
    and also 1 more thing for doing goods receipt, we do in different transaction and for good issue we do in Vl02n.
    so bit confused.
    kindly help

    True , but in BKPF only Issues date are stored not the receipt date say if the document type = WE.
    Please let me know is there any other options to fetch rather than MKPF.
    because at the time of IDOC generation, there is not entries in MKPF. I tried to do using WAIT UP TO 50 seconds , even that didnt work.
    Please guide me
    thanks

  • IDOCs not created for Payment method "P" and "B"

    Dear Experts,
    I have executed the Automatic Payment program for three payment methods (P,V and B - Foreign Currency) in one Run ID. Payment run was successful but it has created IDOCs for the documents / Vendors attached with payment method "V" but IDOCs were not created for the payment methods "P" and "B". I have checked the configuration relating to payment methods and those were assigned with Form details and the maximum amount is also defined in the payment methods.
    Can any one suggest me where I had made the mistake / where I need to check the configuration settings.
    Thanks a lot.
    Regards,
    Ramnath.

    Hi Surya,
    Please find below error log created while executing the Payment run for the issue.
    Step 002 started (program SAPFPAYM_SCHEDULE, variant &0000000116195, user ID V-PIZHA)
    Step 003 started (program RFFOEDI1, variant &0000003957078, user ID V-PIZHA)
    Maintain an output device in your user master record
    Job cancelled
    Thanks and Regards,
    Ramnath,
    SAP FIMM Team

  • Changes to published Locked Reference processor not reflected in process using that processor

    I performed the following steps:
    1) Created a Process A and made a processor P from a set of 3 standard EDQ processors in it
    2) Published the processor P as a 'Locked Reference Processor' P1 (at Project Level)
    3) Created a Process B that uses P1
    4) Changed P to use a different logic check and re-ran it in process A (gave the results I expected)
    5) Re-ran process B however that gave the original results from (3)
    6) Re-published processor P as P2
    7) Created a Process C that uses P2 that gave the new results from (4)
    I was expecting at step (5) to get the results from the revised processor logic but perhaps I've misunderstood how this works so would appreciate your advice.
    Also is it possible to 'unmake' the processor so that the group of processors (that one made a processor from) appears back on the process page.
    Thanks, Nik

    If you had re-published (step 6),  writing over the existing published processor, and then re-ran process B (step 5), you would have got the updated logic. Otherwise you have not actually updated the processor, only the 'master process' the you initially published it from.
    Hope this makes sense.
    Regards,
    Mike

Maybe you are looking for