Inconsistent IDOC status some partner getting status 30 randomly ?

Hi,
I have developed customize IDOC and distribute to around 100+ receiver partner type KU. There is always idoc with status 30 in between randomly (not always the same KU).
I have implemented below code :
COMMIT WORK.
      CALL FUNCTION 'DEQUEUE_ALL'.
Base on note Note 150202 - ALE: IDoc outbound - IDocs remain in status 30
One possible cause of this is a lock that is released too late:
First, you execute the COMMIT WORK and then a DEQUEUE ALL or EDI_DOCUMENT_DEQUEUE_LATER.
However, when you execute the COMMIT, the asynchronous processes are started that must first lock the IDoc again.
Some forum mention using code below:
IDoc status as 30
Used
CALL FUNCTION 'DB_COMMIT'.
CALL FUNCTION 'DEQUEUE_ALL'.
After FM 'MASTER_IDOC_DISTRIBUTE' and before COMMIT WORK.
Please advise ? is that the process is to fast ?
Thank you in advance
Fernand

Hi Vinay parakala
Schedule back ground job to program RSEOUT00 regularly to process the 30 status idoc....
Your program generates the idoc ... and RSEOUT00 will process you idocs which are in 30 status...
i hope  above info helps you
Note: enter Message type BOMMAT in  program RSEOUT00
Thanks
Ramesh

Similar Messages

  • Extended Idoc FIDCCP02 - getting status code 02

    Hello Friends,
    I am extending Idoc FIDCCP02 with an custom segment. I have followed this steps
    Created Segment - Created Extended Idoc with Custom Segment created - Released both Segment and Idoc - Attached Idoc to FIDDC2 message type - Added message type to model view - maitained partner Profiles with extended idoc - created port type 'G' - Added necessary code in user exit (I am able to view data in my custom segment)
    The Problem is - If I do not maintain Extended Idoc in partner profiles - I get Idoc XML created in external system with status code 03
    But once I add extended idoc to the partner profiles - I get Status Code 02 with error saying Error in passing data to HTTP Port 500 internal Server error
    Kindly can some body help me if I am missing some steps.
    Thanks for help.

    Dear Vasu,
    I am creating Z message type, when I am creating that idoc (I have used XML Port) its initially comes in status 30 (IDoc ready for dispatch (ALE service)).
    Now when I process this idoc with tcode WE19 then it give status 02 (Error passing data to port). Please suggest where i am doing mistake.
    Your help will be appreciated.
    Regards, Vicky M. Khambhati

  • Submitting idoc to RBDAPP01 getting status 51.

    Hi All,
    idoc with status 69 submitting from custom program to RBDAGAIE.
    from this RBDAGAIE,  idoc status changed to 64 and submitting  to RBDAPP01,here the idoc status changing to 51.
    Please tell me,what might be the reason
    As i am new to the idoc concept,please tell me,why we hav to use RBDAPP01 and why its getting status 51.
    Regards,
    Rama

    Rama,
    2 different questions.
    1. RBDAPP01 is a program that is used to process inbound idocs. This program has features of parallel processing where in based on the packet size defined on the selection screen of the program RBDAPP01, this program will process multiple idocs at the same time.
    ex: if you have a inbound idoc and the partner profile is set as "collective processing" then you will schedule this program to run in background at certain intervals (eg: every 10 mins). This program will pick up the idocs and then process the same.
    2. Idoc status is 51: This means that there was some problem in posting the document related to idoc.
    open the idoc in we02/05.
    open the satus folder and look for 51 status.
    expand the 51 status and double click. this will give you information on what went wrong.
    Thanks,
    Vikram.M

  • IDocs sent to XI, processed only some, others in status Scheduled for o/b..

    Hi guys!
    We have a scenario, where Idoc is sent from r/3 into XI, here enters integration process, where the idoc is mapped to soap req, sent sync to web service, ws response is mapped to other idoc type and integration process sends data to r/3.
    The problem is, when more idocs are sent into xi from r/3 in short time. Some idocs are processed correctly, but some remain in status - Scheduled for outbound processing. When the same idoc (same data etc) is sent later, separately, the data (process) is processed succesfully.
    Any ideas, what could be wrong?
    Thanx a lot! Olian

    Hi Olian,
    This problem occurs when XI has not received the response from the webservice and it gets timed out.  You can monitor this in RWB - Message Monitoring.
    Have a look at this weblog
    /people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts
    Hope this will help you in resolving the issue.
    Regards
    Sreenivas

  • Filtering My Open Task in SAP CRM based on Status, Transaction & Partner Function

    Hello
    Whenever i create a Task in SAP CRM, it displays that transaction in the My Open Task of all Business Partners involved in that Transaction.
    I want to restrict the My Open Tasks based on Transaction Type, Status and Partner Function.
    1) The system should work as it is for all other Tasks but for my Custom Transaction Type the logic should be based on status of the Transaction
    2) When My Open Task component is prepared the system should consider the Status and Partner Function as well i.e. if the status is Approval of Manager, the system should show the Open Task only to the Manager and not other parties.
    3) if the status of the Transaction is Open, the system should only display this Transaction / Task only to Employee Responsible and not to Manager and other people involved in their My Open Tasks.
    I have gone through the following post in SCN:
    https://scn.sap.com/thread/2056959
    I have implemented the method DO_PREPARE_OUTPUT as per the post but it does not do anything. When i redefine the method GET_QUERY_RESULT and remove everything,it does not prepare any list.
    If possible please specify which method needs to be redefined in the component/view CRMCMP_GS_WC/TodaysTasks & if possible please share the code that needs to be maintained in that method.
    Thanks

    Hi,
    Method DO_INIT_CONTEXT should be redefined
    This should be redifined to get the collections with your required filter criteria.
    * get the collection of entities for the tasks
       lr_col      = get_query_result( gc_status-open ).
    If this does not help, Delete the collections which are not required after above selection but before this code.
       me->typed_context->resultnew->collection_wrapper->set_collection( lr_col ).
    Thanks
    Ajay Singh

  • Error in idoc of basic type artmas05 - status 51 with Message no. MG537

    Hi all,
         I tried to upload the material master table through idoc creation of basic type artmas05. But when i'm trying to do that i'm getting status 51 with Message no. MG537. then I analysed the application log which displays the following
    *The field MARA-MEINS/BAPIE1MARART-BASE_UOM(_ISO) is defined as a required
    field; it does not contain an entry
    *The field MARA-TAKLV/BAPIE1MARART-TAX_CLASS is defined as a required field; it does not contain an entry        
    *The field MARA-TRAGR/BAPIE1MARART-TRANS_GRP is defined as a required field; it does not contain an entry
    *You have not fully maintained the tax classifications
    *The field MAW1-WLADG/BAPIE1MAW1RT-LOADINGGRP is defined as a required field; it does not contain an entry
    But i hv given values for all the above fields in their respective segments.So can any1 suggest me how to proceed further.
    It would be helpful if someone could tel me the required fields in idoc to upload material master table through idoc.
    Thanks in advance,
    Revathi.

    Hi,
    Anybody please tell me the reason for the following error, despite giving all the field values mentioned there. The same error occurs even if I run the BAPI (which the ARTMAS iDoc uses) directly by passing values.
    The field MARA-MEINS/BAPIE1MARART-BASE_UOM(_ISO) is defined as a required field; it does not contain an entry
    The field MARA-TAKLV/BAPIE1MARART-TAX_CLASS is defined as a required field; it does not contain an entry
    The field MARA-TRAGR/BAPIE1MARART-TRANS_GRP is defined as a required field; it does not contain an entry
    The field MAW1-WLADG/BAPIE1MAW1RT-LOADINGGRP is defined as a required field; it does not contain an entry
    Regards,
    Gowri.S

  • Some AR Invoice status are Closed but some AR invoice status are Open-Print

    Hi,
    I have seen some AR Invoice status are Closed but some AR invoice status are Open-Printed.
    There are any reason for this.
    Regards,
    Mzian

    Hello Mizan - if you add an AR Invoice and it immediately and automatically goes to "closed" status, then you have a big system problem on your hands.  There is no way SAP B1 should automatically close an AR Invoice unless someone has done a manual reconciliation or has created an AR Credit Memo or has made a payment or has closed/cancelled the AR Invoice manually.
    Call your SAP Partner or SAP Support immediately!!!
    Regards - Zal

  • Laptop Keyboard problem, some keys get randomly ignored

    Hello,
    This is a problem that occurs with all razer blade notebooks when running linux (does not occur in Windows 8); some keys get randomly ignored when you type at your normal speed, and it is very frustating especially when typing passwords or programming. At the moment we have to type very slowly in order to get all keystrokes caught. The keyboard has antighosting technology, maybe that info is useful.
    This is the further we went in this post:
    https://bbs.archlinux.org/viewtopic.php?id=161634
    In that post, a forum partner proposed to modify "drivers/hid/usbhid/hid-core.c" and set "interval = 1;" right after the mouse pooling interval was set, around line 1134 of the file. When we use that modified kernel, the keyboard feels a little better but i still get ignored keys when typing at normal speed.
    This are my usb devices:
    [cristobal@orion ~]$ lsusb -vv -d 1532:
    Bus 001 Device 003: ID 1532:0116 Razer USA, Ltd
    Couldn't open device, some information will be missing
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    idVendor 0x1532 Razer USA, Ltd
    idProduct 0x0116
    bcdDevice 1.00
    iManufacturer 1
    iProduct 2
    iSerial 0
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 123
    bNumInterfaces 4
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
    MaxPower 500mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass 1 Boot Interface Subclass
    bInterfaceProtocol 2 Mouse
    iInterface 0
    HID Device Descriptor:
    bLength 9
    bDescriptorType 33
    bcdHID 1.11
    bCountryCode 0 Not supported
    bNumDescriptors 1
    bDescriptorType 34 Report
    wDescriptorLength 75
    Report Descriptors:
    ** UNAVAILABLE **
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0008 1x 8 bytes
    bInterval 8
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 1
    bNumEndpoints 1
    bInterfaceClass 0 (Defined at Interface level)
    bInterfaceSubClass 0
    bInterfaceProtocol 0
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0040 1x 64 bytes
    bInterval 8
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 1
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass 0 No Subclass
    bInterfaceProtocol 1 Keyboard
    iInterface 0
    HID Device Descriptor:
    bLength 9
    bDescriptorType 33
    bcdHID 1.11
    bCountryCode 0 Not supported
    bNumDescriptors 1
    bDescriptorType 34 Report
    wDescriptorLength 159
    Report Descriptors:
    ** UNAVAILABLE **
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x82 EP 2 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0010 1x 16 bytes
    bInterval 8
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 2
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass 1 Boot Interface Subclass
    bInterfaceProtocol 1 Keyboard
    iInterface 0
    HID Device Descriptor:
    bLength 9
    bDescriptorType 33
    bcdHID 1.11
    bCountryCode 0 Not supported
    bNumDescriptors 1
    bDescriptorType 34 Report
    wDescriptorLength 71
    Report Descriptors:
    ** UNAVAILABLE **
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x83 EP 3 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0008 1x 8 bytes
    bInterval 8
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 3
    bAlternateSetting 0
    bNumEndpoints 2
    bInterfaceClass 255 Vendor Specific Class
    bInterfaceSubClass 240
    bInterfaceProtocol 0
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x01 EP 1 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x02 EP 2 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Does anyone know, based on their experience, what could be the cause of the keyboard malfunction?
    Does this type of error occur for some other notebooks too?
    It would be great if someone could point me in the right direction for where to look.
    Last edited by labotsirc (2013-08-31 17:27:38)

    Jeroen)Mathon wrote:
    A lot of people i know that  are running arch with a Razorblade keyboard are seeming to be having a lot of problems.
    Did the same happened to another keyboard like an (HP,Dell,Logitech,etc).
    For all i know (Not a lot) I'm thinking it might have something to do with your usb?(Worst answer ever!)
    Did you try a different port.
    Please let me know if this worked .
    On the side(What kernel version are you running?)
    Hi. Well in this case the problem is with the Razer Blade Laptop's keyboard, therefore i cannot choose another port. You gave me an idea however, i will try to get any usb keyboard, plug it into the razer blade and make sure it works so that i can discard any major problem.

  • Deactivate idoc generation for order when status is not completed

    Hi Guru,
                 In CRMD_ORDER when sales order is created it will generate bdoc and for that bdoc idoc is going to create for every status , my requirement is to stop the creation of idoc if status is not completed please provide solution for that.
    Regards,
    Naveen.

    Hi Naveen,
    As u said u dont want to create idoc on the particular User status(i.e. Not Completed ), in this case u check for u r subcription setting in administration console (txn: SMOEAC) that in which statuses u r idoc get created in field crieteria value, maintain status operator (NE) Not Equal to Not Completed , u r idoc will not get created if u r user status in Not Completed
    Regards,
    DD's

  • GET RESPONSE and GET STATUS

    Hi all,
    I wish some information about use of get response and get status commands or where I can find answer to my questions.

    Hi, GET STATUS command description can be found in GlobalPlatform 2.1.1 specification and ISO/IEC 7816-4 standard.
    GET RESPONSE is described in ISO/IEC 7816-4 and 7816-3 standards.
    Best regards,
    Eve

  • 0NOTIFICATN Status - Newly defined status does not get extracted?

    Hi All,
    There are few status defined in the SBIW under NTF1 and when extracting 0NOTIFICATN all these status are showing up. I need a new status need to be brought in from ECC. I went and added the status DLFL in the status maintenance of SBIW and when extracting 0STATUSNTF1_TEXT, I see the newly added status shows up, but However when I extract 0NOTIFICATN_ATTR, the new status does not come for any of the notifications.
    Does any one know why it is not picking up the new status that I defined? Is there any other steps missing to get the status?
    Any help is appreciated.
    Thanks,
    Alex.

    Dazed,
    I think you can assign any status to any STATUS* field. If you look closely you can see same status such as 'DLT' etc is assigned to multiple status. I am thinking more in line with order of status may be working here.
    01 - OSNO
    02 - NOPO
    03 - NOPR
    04 - NOCO
    05 - DLFL
    but the record has status in the following order
    NOCO OSTS DLFL. Since it finds NOCO before DLFL and the value of NOCO is given 04 and DLFL is given 05. NOCO seems to be taking the priority. I just want some one to confirm the way it behaves. Because the system is already defined with first 04 values and has been running the process for the past 2 years, and now I want to introduce the 05 as a new status.
    Does it makes sense?
    Alex.

  • IDoc Delays: 64 to 62 status

    Hello - We have been seeing some intermittent delays on some of our ORDERS idocs. They are configured to process immeadiately, but we have been seeing some delays when they are going from status 64 (Ready to be Transferred) to status 62 (IDoc passed to application). These delays are sporatic and ranging from 2 minutes to 20 minutes.
    Any thoughts?
    Thanks - Kyle Winters

    Hi,
    Are these idocs processed using workflows or ??
    Please have a look at following SAP notes.
    » SAP Note Number: 160670 Idocs remain in inbound with status 62
    » SAP Note Number: 836022 ALE: Link to application log in status 62
    » SAP Note Number: 92552 IDocs-Status 62 cannot be processed
    » SAP Note Number: 631039 IDoc: Problems with inbound processing using workflow
    » SAP Note Number: 194640 IDoc: Workflow is not started in RSEINB00
    » SAP Note Number: 181729 ALE: IDocs remain in status 64 / 3.X inbound
    » SAP Note Number: 168276 IDocs remain in status 64
    KR Jaideep,

  • FM or BADI in ECC to check SPL status of partner in GTS

    Hello All,
    Looking for a  FM/ RFC call from ECC which can check the SPL screening status of partner ( blocked or not) from GTS.
    We need to check in ECC if a partner is SPL blocked in GTS or not and accordingly update a flag on partner.
    Will appreciate if you can provide some guidance around it.
    Regards
    Amit

    Hi Amit,
    Check this FM,the name says it all :
    /SAPSLL/SPL_BLOCKED_BP_GET_RFC
    You need to provide the original source logical system, ECC partner number (customer/vendor) and type of partner
    01
    Partner: Vendor
    02
    Partner: Customer
    Its RFC enabled and does pointer table translation as well, perhaps its good to double check if entries on Negative list are returned as blocked or ignored.
    Results will come back in the export parameters  ET_BLOCKED_PARTNER and  ET_RESULT.
    Hope this helps,
    Cheers,
    Branio
    Branislav Petricek

  • System Status ACPT not getting updated

    Dear All,
    In some cases, I am noticing that system status is not getting updated on WBS, even thought the WBS is there in the Sales Order line item.
    Can anyone tell what can be the cause of this.
    Sales Order header data is same in both the cases (WBS with or without ACPT). Only material is different.
    Regards
    Shubham

    Hi Shubam,
    Thank you for sharing the details.
    Yes, let us conclude as follows (as per my previous reply)
    System Status ACPT will not be updated ...
            1) if the pricing condition is not updated in the sales order (or the net value is zero in the sales order).
           2) if the sales order is under credit block.
    Thanks
    abdul.
    abdul khader wrote:
    > I think because of the price (0 value). for credit block also system wont update.
    >
    >

  • How can I get Status of the report using after report trigger

    I want to get Status of my report on GUI . I am aware that we can look into XMLP_SCHED_OUTPUT table to get all the required details but I am not aware as how I can pull data from this table and make it available on GUI screen. Or is there any way to use jobid of the report and use in Data template of the same report?
    Any help on this will be greatly appreciated.

    What/which GUI? One of your own making? Design it and query from the table(s) of interest, and populate fields based on the results. Which job ID? The latest or one of your choosing? Add a drop down list or menu and let the user select which job. Fairly vague requirements you've listed.

Maybe you are looking for

  • Dump when loading Data from DSO to Cube

    Hi, i get a short dump DBIF_REPO_PART_NOT_FOUND when trying to load data from a dso to a cube. From DSO to DSO it works fine. any idea`s? thx! Dominik

  • Field Length in Alv Grid out put

    hi, How to increase the length of the filed in the output of alv grid, Actually i am getting one blank field in the alv grid out put, my requirement is to increase the length through out the column how to do that can anyone guide me plz SIRI

  • Free goods issue

    hi guys I created sales order for free goods free goods are inclusive.. but in order in line item for main item price takes where for free goods it is taking cost(vprs). why it is taking vprs into net value.. solutions please

  • Hyperion 9.3.1 to Office 2010

    Is there any workaround for opening the files exported to excel from 9.3.1 workspace? Currently whenever I try to open excel says the files is corrupted and does not open it

  • Wrong sys/thread.h shipped in 01/06 Solaris 10 distribution

    I downloaded and installed the official Solaris 10 01/06 distribution and tried using the 'ctx' mechanism. The sys/proc.h has the new prototypes for installctx/removectx where a new argument was added. But, sys/thread.h has the old ctxop structure th