Cannot process IDocs in sequential order with qRFC

I have an issue posting MBGMCR goods movement IDocs. When a large number for the same material are posted into the receiving system, I get the following error:
The plant data of the material 2000311 is locked by the user RFC_XD1
I know that this is caused by the same material being processed by several IDocs at the same time, so I have been trying to serialise the processing to use qRFC processing. However, I cannot get it to work.
here is what I have done:
1. I have made sure in the interface determination to set the "Maintain Order At Runtime" flag.
2. In the receiver IDoc adapter I have set the "Queue processing" flag.
However, when I run multiple messages through PI, I still get the locking error, implying that I did not get my messages serially processed via qRFC.
Can somebody suggest what I may have missed here?

hi Anthony,
>>>1. I have made sure in the interface determination to set the "Maintain Order At Runtime" flag.
this is no necessary
is your IDOC receiver system based on WAS 6.40 or more?
if not you cannot use idocs in queues with XI and setting Queue processing flag
has on effect
all the steps to make IDOC flow use qRFC (in both directions) are described with screenshots in my book:
http://www.sap-press.de/katalog/buecher/titel/gp/titelID-2086?GalileoSession=50249550A39Xd..iZgI
Regards,
Michal Krawczyk

Similar Messages

  • Discrete production process after creating sales order with raw materials

    Dear all,
    I need your support on a specific solution related to discrete production process.
                                After creating a sales order where the materials are marked as raw materials (ROH), with reference to the sales order the production order is created and the store issues the material for assembly process and is sent for assembly of materials. After assembly of the materials the inventory is added to the sales order stock as same as raw material and after PGI the billing is done for raw material only.
    Please let me know the process of raw material to raw material scenario.
    Thanks
    Seshi

    Hi Seshi,
    This question seems to be related to ERP rather than to SAP ME. You'd better post it to ERP-related forum. Please use these instructions to find a proper space.
    Regards,
    Sergiy

  • While processing Idoc -error

    Hi ,
    While processing Idocs we are facing with 2 error can any one help me out.
    1.Order 123 does not exist
    2.Error in document: BKPFF $ DR0CLNT400
    Message no. RW609
    Diagnosis
    Errors occurred when checking or posting the document
    Reference type = BKPFF
    Reference key  = $
    Logical system = DR0CLNT400
    You can find the errors in the log
    Thanks and Regards
    Sri

    HI,
    Please go to transaction WE02 and look at the IDOC.
    The IDOC will have a STATUS section. when you expand it, it will give you a log with error status. Double click to look at the detailed error.
    Looking at the error it looks like you are bringing in an IDOC from another SAP system to this SAP system. The order # 123 against which IDOC is for, doesn't seem to exist in the receiving SAP system.
    Regards

  • Goods receipt against process order with inbound idoc

    Hi Experts,
    We need to post good receipt against process order with movement type 101 and for By-product 531.
    Can we use inbound idoc-WMMBID02,with message type WMMBXY to achieve this functionality?
    Or please advise if we can achieve this  from any other Idoc type.
    We are getting below field values for external system
    1. process order number
    2.plant
    3.material
    4.quantity in unit of entry
    5.unit of measure
    6.storage location
    7. movement type
    8.Batch
    Kindly advise how can we achieve this.
    Best Regards
    CS

    261 and 262 are two different movement types INDEPENDENT of each other. I definitely know for the fact that SAP allows you to create a 262 without a 261. if you were to restrict it... you can disable access through a tcode for that mov. type 262 and ask users to use MBST to cancel any material documents created via 261 movt type.. that would ensure a smooth process

  • Inbound IDoc w/message ORDERS - issues with error processing

    We are using inbound IDoc ORDERS05 with message type ORDERS to create the sales orders in SAP. In WE20 we have the following settings:
    - partner type LS (= Sales Org VKORG)
    - process code ORDE
    - trigger by background program
    - post-processing agent of type US (user) with a user ID.
    We create IDocs through an ABAP program and use RBDAPP01 to post the IDocs. When there is an application error in the IDoc posting we expect the designated user to receive a workflow item in the SAP Inbox, but for some reason this is not happening.
    I did some research and went through all the possible settings for workflow, task, etc. and everything seems to be set up correctly. When debugging RBDAPP01 I have noticed that it calls FM APPLICATION_IDOC_POST_IMMEDIAT, which, in turn, calls IDOC_START_INBOUND. If IDOC_START_INBOUND returns SY-SUBRC = 1 then the workflow item is sent correctly to the designated user, exactly as we want. But for some reason it returns 0 (I changed it to 1 in the debugger).
    It seems that IDOC_START_INBOUND reads TEDE2 records (TEVE2-EVCODE = ORDE) and sy-subrc = 1 is only possible when EDIVR2 is 1,2,3 or 4. In our case TEDE2-EDIVR2 = 6. It seems that TEDE2 is maintained in the transaction WE42. However, I tried to change the settings there but it affects the IDoc processing in whole (IDoc gets some odd status and doesn't get processed as before). I've also tried to use process code ORDE_BY_WORKFLOW in WE20 with the same "success".
    What do we need to do to get a workflow item for the errors that happen in the application layer when IDoc is posted? Is it even possible with this message type?
    Any ideas would be appreciated.

    Hi,
    Can you please share how do you overcome the problem, so that it can be helpful for others.

  • Process idocs in a particular order

    Hi,
    I have a problem where application generates multiple idocs. The idocs are dependent on each other. Now while processing it does not gets processed in a required order and hence fails.  We tried with qrfc where instead of trfc but could not control it.
    How do we maintain this ordering?
    Regards
    Anirudha

    Anyone know how to get all songs by one artist on a cd where it won't go through each cd. I'd like to hit random and it go wherever and not one cd at a time. It will random through the first cd, the second, but not random all of them at once. Does that make sense?

  • Create a Sales Order with Reference to Contract using IDoc / LSMW  ( AFS )

    Hi Gurus,
    I need to crate a Sales Order with reference to a Contract. I need to upload Sales Orders with reference to contract via LSMW.
    So far, I've been able to create the Sales Order with ref to contract. But, the Sales Order Quantity is not getting deducted from the Original Qty in Referred Contract ( When try to create another Sales Order referring to the same Contract.) When a Sales Order is created manually, this is working fine.
    Please tell me if I've missed some parameter which stopping it create the link to exact schedule line ( Sizes level )
    The Details of the IDoc which is been created via LSMW are as follows;
    Message Type: ORDERS
    Basic Type     : /AFS/ORDERS05
    Process Code : ORDE / DELO
    ( Tried with both process codes.  But the Identification is the same for both: IDOC_INPUT_ORDERS )
    *_In Header;_
    Segment : E1EDK02  - IDoc: Document header reference data *
    Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
    Contract Order is mapped for field BELNR
    *_In Item;_
    Segment : E1EDP02  - IDoc: Document Item Reference Data *
    Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
    Contract Order is mapped to field BELNR
    Line Item of the Contract is mapped to field ZEILE
    I also tried passing the Schedule line of Contract in Segment :  E1J3P01 AFS IDoc: Doc.item general data
    to following fields;
    J_3AETENV
    J_3AVGETE
    /AFS/UETENR
    Still its not getting updated in the VBEP also..
    Please help me with regard to this. Points will be awarded for your valuable contribution.
    Thanks.

    Hi,
    This issue is been resolved.
    One of my friend helped me with resolving this issue..
    Once the below mentioned configurations were done on SPRO, the Sales Order was created with reference to Contract and the Qty was reflected when tried to create a new Order referring the same contract.;
    u2022     SPRO --> SD  -->Sales  --> Sales Documents  --> Sales Document Header  --> Define Sales Document Types  --> Field : Outline agreement message; from blank to u201CBu201D.
    u2022     SPRO  -->SD  -->Sales  --> Sales Documents  --> Sales Document Header  --> Maintain Sales Document Types for AFS  --> Field : Outline agreement message; from blank to u201CAu201D

  • Process OB files in order and send idocs in order as well

    Hi.
    I've placed some files in a folder. With file adapter i want to pick them in order (by name). As result of each file, i get an IDOC posted in SAP.
    File1.csv, File2.csv, File3.csv and File4.csv.
    I set EOIO as quaility of service, added a queue name (TEST) and finally set processing sequence 'By Name'.
    My problem is that i see in SAP IDOCs, but not in order. It is very important to keep the order of them because data inside them is delta.
    I also set the idocs to be executed with a background job, not immediatly.
    Does anybody knows what is happening here?
    Kind regards,

    Hi
    Are you using EOIO with NFS or FTP Adapter?
    Refer the below forum discussion
    FTP - Sender File Adapter - Exactly Once In Order
    Regards,
    Ramg

  • Confirm sales order with idoc ORDERS05

    Hi everybody.
    I´d like to know if it´s possible to confirm a sales orders with idoc ORDERS05 and message type ORDCHG and posting FM IDOC_INPUT_ORDCHG_VMI.
    How would I have to fill the idoc data??
    Thanks a lot

    Hi,
    For inbound idoc you can use  the message Orders , process code ORDE and the function mdoule IDOC_INPUT_ORDERS to create  a sales order.
    Regards,
    Nagaraj

  • How manage outbound IDoc with QRFC in SAP CRM 5.O

    Hi experts,
    I want to manage outbound IDoc with QRFC. For doing it I selected the flag Query Processing in transaction WE20. When I run the program QRFC Monitor (RSTRFCM1) the system shows this error message:
    Status is SYSFAIL.
    "[SAP.111.9129] WMSAP Adapter: Missing notification
    - Message type: IDOC INBOUND"
    Can someone help me?
    Thanks a lot in advance,
    Lorenzo

    Hi,
    if you want to find out how to do outbound IDOCs
    with qRFC you can check my new book:
    /people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi
    in one of the scenarios it describes exactly what
    you're looking for (among other things)
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Inbound IDoc for Sales Order Creation with Serial Number

    I would like to create Sales Order with Serial Number input at Item Level using IDoc. I have tried to use the followings:
    1) Basic Type : ORDERS05
    2) Message Type : ORDERS
    3) Process Code : ORDE
    I have used segment E1EDP19 with the followings:
    1) QUALF = '014'
    2) IDTNR = Serial Number
    However, it fails. It seems that the system just expects us to input BOM explosion number (VBAP-SERNR) instead of the Serial Number that I want.
    If we use VA01, we can input the Serial Number from Menu: Extra --> Technical Objects.
    Is there any idea what should I do ?

    The error message is "Entry 1276 does not exist in SNUM - check your entry" (Message no. 00058).
    1276 is the Serial Number that I input. It treats the Serial Number that I input as the BOM explosion number (VBAP-SERNR).
    Regards,
    Alan.

  • OSSNOTES for releasing process orders with missing parts in background

    Hi All,
    The bapi 'BAPI_PROCORD_RELEASE' is not releasing the process orders
    with missing parts in background.
    Is there any OSSNotes for releasing these process orders in backgound through this bapi.
    Pls help.
    Thanks .

    Hi Suri - Thanks for your response. I tried both with blank(individual and collective) and 2 (collective req. only) but I still get the same result. I found one other setting that can solve this issue and that is checking the activate full confirmation logic at the the MRP group level in OPPR. I will test more and let you know if that works but we dont use MRP groups here at our client and that is why I was little hesistant to set up collective availability check parameters at the MRP group level. But looks like this is the only option that we can use to get this resolved.
    Thanks,
    Bharath

  • Return order with reference to the billing document created via IDOC.

    Dear Colleagues,
    I’m struggling to understand and confirm whether standard functionality of ORDERS05 idoc allows creating a return order with reference to existing billing document?
    I have tried using standard segment E1EDK02 and E1EDP02 with qualifiers 009,010,011,087 but unfortunately idol is not creating a return order with reference and ignoring this segment.
    Have any one came across similar problem? If yes then will be grateful for sharing his experience.
    Best regards,
    AL

    Dear Friend
    Welcome to SDN
    Return order is itself a challenge to SAP standard settings
    There are some scenarios
    1. Return order qty should not be increasesd say Billed qty of material X is 20 units
    While returning Material X should be a maximum of 20 units
    If made 21 it should throw error T code OVAH message class V4 message no 299 convert from warning to error thro customization
    2.Return order should be created only once referencing billing doc
    To control that T code SE91 message class V1 message no 499 convert from warning to error thro ABAP help
    3 Your issue is same like case 1 but the material X is entered as second line item in the return order with some qty
    This case system is not throwing even a warning
    Yes correct
    This is to be handled with userexit
    Discuss the same with ABAPer
    Check these threads on return issues which is of different scenario than of yours
    Forum post in ERP - Sales and Distribution (SD) General: Order Qty.
    Order Qty.
    Forum post in ERP - Sales and Distribution (SD) General: Return order
    Return order
    Regards
    Raja

  • Process order with reference to sales order

    Dear All,
    Is there any provision to create a manual process order with reference to a sales order .
    Regards,
    venkat

    If you would like to create a process order with assignment to sales order item, then you have to enter the sales order item on the initial screen of the Transaction COR1 via the Arrow besides the input field for  reference process order. This is the standard way to assign sales order for process order in COR1.
    For production orders, there is a separate Transaction CO08 for this purpose. But for process order, there is no such separate transaction available.

  • Error processing cube - requested operation cannot be performed on a file with a user-mapped section open

    Hi,
    We have recently moved our production servers and since the move have been experiencing an intermittent (but frequent) error when processing our OLAP cube.
    The error messages presented are:
    "Error: The following error occurred during a file operation: The requested operation cannot be performed on a file with a user-mapped section open"
    "Error: Errors in the OLAP storage engine: An error occurred while processing index for the <Partition Name> partition of the <Measure Group Name> measure group of the <Cube Name> cube from the <Database Name> database"
    I assume the second message is a consequence of the first error.  The partitions and measure groups seem to vary each time the process is run.
    It appears from similar threads that this is usually caused by backups or anti-virus applications locking the files that Analysis Services is using the process the cube.  I have ensured that there are no backups running at the time of processing and
    I have disabled anti-virus programs without success.
    I have also created a new version of the cube (using the deployment wizard) which deployed without error but then encountered the same error when processing for a second time.  There was nothing (client application wise) using this cube when it failed
    to process.
    As I mentioned earlier, this problem is intermittent.  Sometimes the cube will successfully process but usually it fails to process.
    We have not encountered this error in our previous production environment or in any of our development environments.
    Has anyone encountered this problem before? Any suggestions on possible solutions?
    Thanks
    Rich

    Hi jonesri,
    I think you can try to use SSAS Dynamic Management View to monitor SSAS instance, such as existing connections and sessions. For example, please run the following MDX query:
    SELECT[SESSION_COMMAND_COUNT],
    [SESSION_CONNECTION_ID],
    [SESSION_CPU_TIME_MS],
    [SESSION_CURRENT_DATABASE],
    [SESSION_ELAPSED_TIME_MS],
    [SESSION_ID],
    [SESSION_IDLE_TIME_MS],
    [SESSION_LAST_COMMAND],
    [SESSION_LAST_COMMAND_CPU_TIME_MS],
    [SESSION_LAST_COMMAND_ELAPSED_TIME_MS],
    [SESSION_LAST_COMMAND_END_TIME],
    [SESSION_LAST_COMMAND_START_TIME],
    [SESSION_PROPERTIES],[SESSION_READ_KB],
    [SESSION_READS],[SESSION_SPID],
    [SESSION_START_TIME],[SESSION_STATUS],
    [SESSION_USED_MEMORY],
    [SESSION_USER_NAME],
    [SESSION_WRITE_KB],
    [SESSION_WRITES]
    FROM $SYSTEM.DISCOVER_SESSIONS
    Use Dynamic Management Views (DMVs) to Monitor Analysis Services:
    http://msdn.microsoft.com/en-us/library/hh230820.aspx
    In addition, you can aslo use SQL Profiler to capture some events for further investigation.
    Use SQL Server Profiler to Monitor Analysis Services:
    http://technet.microsoft.com/en-us/library/ms174946.aspx
    If you have any feedback on our support, please click
    here.
    Regards,
    Regards,
    Elvis Long
    TechNet Community Support

Maybe you are looking for

  • Problem after download of new version of iTunes

    I just downloaded the newest version of iTunes and all went well until I synced my iPod... It told me to disconnect and now it is showing me a picture of a plug going into a wall outlet. I have never had a cable to plug into the wall, only a USB cabl

  • How to take human task values and store them in DB table

    Hi, I have a workflow and when I assign the task to someone I want to store some info in a database table that I created. I have checked the box allow task and routing customization in bpel call backs. And under the on Assign message, I put an assign

  • Multiple File Download Issue

    Hi In my application there is a attachments section, which displays all the attachments in a table with file name as LinkToAction UI element, in the action handler of the link i am using CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE method to push

  • RWB PMI Data Problem

    Hi, Everyone I having problem in XI 3.0 SP20 RWB end-to-end monitoring, data does't show at all I checked pretty much all configuration about Trobleshooting end-to-end monitoring Notes: 885405, and 1138909 1. RSXMB_ACTIVATE_ICF_SERVICES all services

  • Are you using the MathScript Node in LabVIEW or the MathScript Interactive Window?

    Are you using the MathScript Node in LabVIEW or the MathScript Interactive Window? I am very excited with the MathScript Node inside LabVIEW. However, I would like to see what other people think. Avalim