Two status for one idoc while IDOC_STATUS_WRITE_TO_DATABASE, giving error

Hi
I am using a Z function module to process an incoming idoc (custom process code).
While using the test tool WE19, I am trying to process an idoc. When I am using Inbound Function Module tab, the idoc is processing normally. But when I am using Standard Inbound, it is giving me message Idoc saved but cannot or should be processed.
Idoc was in status 64.
I tried debugging and found that idoc (while processing from Standard Inbound) in FM IDOC_STATUS_WRITE_TO_DATABASE, it is giving an error message because two status are present for the same Idoc.
While processing from Inbound function module, there is only one status in FM IDOC_STATUS_WRITE_TO_DATABASE and idoc is processing successfully.
Please advice, if anyone know why it is happening and how it is happening. I have not searched for SAP notes.

Hi,
Check in your partner profile inbound parameters what options is selected. Trigger Immediately or Trigger by background program. Select Trigger immediately and try processing the idoc once again.
KR Jaideep,

Similar Messages

  • LMS 4.2 - Two notifications for one alarm.

    Currently when a device, say a router goes offline we receive two Active 'Unresponsive' alarms for the router and then when it comes back online we receive two Cleared 'Unresponsive' alarms. All have their own unique Event ID. (shown below)
    I was wondering if anyone could help me to config LMS to send only one Active 'Unresponsive' notification when a device is offline and then one Cleared 'Unresponsive' when the device is back online.
    Here's an example of the Active 'Unresponsive' alarms I receive when I power the router off:
    Notification 1
    EVENT ID               = 0002BI5
    TIME                   = Thu 29-Nov-2012 15:26:32 EST
    STATUS                 = Active
    SEVERITY               = Critical
    MANAGED OBJECT         = router.domain
    MANAGED OBJECT TYPE     = Routers
    EVENT DESCRIPTION       = Unresponsive::Component=172.16.1.254 [router.domain];ComponentClass=IP;ComponentEventCode=1098;InterfaceType=ETHERNETCSMACD;InterfaceMode=NORMAL;InterfaceAdminStatus=UP;Address=172.16.1.254;IPStatus=TIMEDOUT;InterfaceOperStatus=UP;Ne
    CUSTOMER IDENTIFICATION = COMMS TEAM
    CUSTOMER REVISION       = 1
    NOTIFICATION ORIGINATOR = Fault Management Module
    Notification 2
    EVENT ID               = 0002BI6
    TIME                   = Thu 29-Nov-2012 15:26:57 EST
    STATUS                 = Active
    SEVERITY               = Critical
    MANAGED OBJECT         = router.domain
    MANAGED OBJECT TYPE     = Routers
    EVENT DESCRIPTION       = Unresponsive::Component=router.domain;ComponentClass=Router;ComponentEventCode=1101;SystemObjectID=.1.3.6.1.4.1.9.1.569;Description=Cisco IOS Software, C870 Software (C870-ADVIPSERVICESK9-M), Version 12.4(15)T13, RELEASE SOFTWARE (
    CUSTOMER IDENTIFICATION = COMMS TEAM
    CUSTOMER REVISION       = 1
    NOTIFICATION ORIGINATOR = Fault Management Module
    Any suggestions?

    Am I alone with this issue of receiving two notifications for one Unreachable event?

  • How to create two respone for one request

    Hi
    is there any way for us to create two response for one request
    the scenario is as below
    1. user click on update button for particular record in the datatable (
    after its get updated and status get updated = 'UPDATED' it will remove the object from ObjectListDataProvider and clear the tablePhaseListener ).
    2. After it gets updated successfuly , i want to prompt the user with generateExcel function which using response.getOutputStream() using Apache POI.
    How can we combine 1 and 2 together
    Here what i have tried and didnt work
    1. i tried to put the generateExcel function in destroy() method after page is rendered but it gives me Exception
    2. i tried to put the generateExcel function in prerender() method
    but the page will only execute the generateExcel function
    - the data still get updated to the database but it doesnt refresh the page ( i meant the removing object and tablephaseListener.clear() doesnt work )
    3 . i tried to put generateExcel Function after it process the data
    public String updateData()
           //update data
           if(success){
                // prompt user to save excell sheet
            return null;
         }This one also doesnt work and gives the same behaviour as number 2
    The Prompt to save excel sheet still gets popped up
    but the page just doesnt get refreshed
    Thanks
    is anybody know the workaround?

    yea i did set some alert message and clear the table by calling
    provider.removeRow and commitChanges
    it just doesnt reflected in the page that we see
    by actually is already removing the row from the provider
    Thanks

  • Two prices for one material in sales order according condition type

    Hi,
    I configure the condition type according to following condition record:
    Plant/ Sales Organization/ Distribution channel/ Material / Customer
    (because system should calculate two prices for one material in two plants)
    In the sales order screen, when user firstly select material , quantity, plant ,  system calculate the related price correctly but if user select the material and quantity and enter and after that select the plant, system will show the error message in pricing procedure and to have a price for material, user should update the price in the price condition in sales order.
    It is so difficult for user to update one by one, because there are several sales orders which need to update.
    Is it any way to solve this problem?
    Thanks,

    > In the sales order screen, when user firstly select material , quantity, plant ,  system calculate the related price correctly but if user select the material and quantity and enter and after that select the plant, system will show the error message in pricing
    Hi,
    Why to let the user press Enter button before entering plant value Obviously, system will give error, because it doesnt get all the required value based on which you have maintained condition records.
    Ask the user to enter all the value at item level otherwise you will have go for the option that you are doing currently.
    It is said prevention is better than cure
    Hope you get some inputs
    regards,
    Sagar

  • Two address for one company code

    Hi SAPians,
    I have a doubt in maintaining company address for Invoice output!
    Is it possible to maintain two Address for one company code?
    Like if XYZ company code and say it has has two customers AB and CD.
    Then if i want to maintain Company address on print layout for invoice Different to each. how can i achieve it.
    If yes, please through light on it.
    Regards,
    Romesh

    Hi ,
    As far i know it is not possible to have two different address for the same company code.As table can hold only single unique data.
    As far as the above answer is concerned, we use International version fo Customers not for Company Codes.
    Hope it helps.
    Thanks and Regards
    Rohit.

  • Fetch New Data shows two entries for one account

    I have on a variety of accounts on my iPhone and my iPad: an iCloud, an Exchange, a IMAP, and a couple of Gmail accounts.
    Earlier this week, I noticed that in the "Fetch New Data" setting (Settings > Mail, Contacts, Calendar > Fetch New Data), there are TWO entries for one of the Gmail accounts.
    One entry lists "Mail and Calendars." I use this for this particular Gmail account. I have these selected in the "Accounts" section of Settings > Mail, Contacts, Calendar.
    The other entry lists "Contacts and Calendars." I don't sync Contacts, but I do sync Calendars. Why is it listed twice?
    I tried deleting
    the offending Gmail account, but it did not delete the duplicate entries.
    erasing all settings
    all of my accounts, including iCloud, IMAP, and other accounts.
    The ghost account is still there, fetching calendars and contacts.
    Has anyone else seen this behavior?
    I considered erasing settings and content, but that seems pretty extreme for something that might not be that big of an issue.

    Exact same problem here!!! Iphone 5s with IOS 7.0.3, using Gmail among other email providers.
    So it is definately a bug - the "fetch new data ghost account". I hope it will be solved in a newer release. In the meantime, I switched the ghost account to "manual" so it shouldn't interfere...

  • Two billing for one sales order for same customer

    Dear All ,
    I have a requirement of posting a two billings for one sales order.
    One is for Sales and another is for commission...
    Entry could be
    Sales Entry - Db Customer
                        Cr  Sales
    Commission entry could be
    Db - Cusomter
    Cr- Sales commission income account (P/L)
    We are having third party sales scenario , In this case billing is MIRO dependent.
    Once the miro is done then only billing is possible ...
    Could you please advise on that ..
    Regards,
    Sukh

    Dear Ratish,
    Thanks for yr reply.
    I already did that but it is not serving business purpose.
    Comm payment  - comes diff time than sales payment.
    so ,I will post one entry customer will get hit with total amount Sales + commission
    like below
    Let say 10, 000 is the sales value and 500 is the commission
    So , This entry will get posted
    Customer Db- 10,500
    Sales Cr- 10,000
    Comm Income Cr- 500
    But, As I said sales amt will be paid before so We need to clear it partially and some time customer pays also diff amount due to some defect.
    So, We wont be knowing for which case we have or havnet received the payment against commission.
    As , Customer account is got hit with total amount( Sales+ Comm..value).
    Pls advise how to solve this.
    Regards,
    Sukh

  • Two sids for One instance

    Hi All,
    I have to create two sids for one database. I am using Oracle 9i on Windows machine as well as linux machine. Is there any possible to assign two sid's for one database.
    Give me the suggestions...
    Cheers,
    Moorthy.GS

    I think you need to define your term 'database' here
    In Oracle world, database is usually referred to as instance.
    a SID is one database instance, that's why, people will tell you that you can't have two SID for one database (instance)
    However, if your 'database' means the schema and data, then yes, you can run two instances (with two SID of course) to host the same schema and data.

  • Two titles for one screen

    Hi Everyone,
    Is it possible to give two titles for one dialog screen.
    Based on a grid i perform centain things where the user has to enter the values in the dialog screen.
    To this screen i want to title based on the which grid it is. Is it possible to do.
    Can anyone help me on this.
    Thanks,
    Prabs.

    when you define the title bar (to be used with set title bar)
    enter the text with place holders like below.
    & & my &
    later in your program you can supply text for & using set title bar.
    set titlebar 'MYTITLE' with 'This' 'is' 'test' .
    This would produce title bar as
    This is my test
    set titlebar 'MYTITLE' with 'Where' 'is' 'Title' .
    This would produce title bar as
    Where is my Title.
    Hope this is clear.
    Regards
    Raja

  • Batch Search Strategy works for one plant while doesn't for other plant....

    Hi Experts,
    I have configured Batch Search Strategy for Transfer posting of consigh goods (311K).
    The Batch search is working fine for one plant while it is not for another plant. The msg. says 'The CLASS does not contain any Selection criteria'.
    This same CLASS is proposing the batches for the first plant. the selection criteria is 'Consign Stock - type K'
    Please advise this is very urgent..
    Thanks in advance,
    Manju

    Hi,
    Goto OMCE transaction check the batch level here check the batch level where it is activated whether is it at Plant level or Material level or Client level.
    rgds
    Chidanand

  • Two invoices for one sales order

    I want to create two invoices for one sales order
    Scenario is like to create sales order for value of 100 $, and I want to send order reference billing after saving the sales order for 10% of order amount
    I would say 10% of 100 $
    And after delivery I want to issue a invoice for 90 %( rest of the amount) which is delivery relevant invoice.
    Both invoices will be relevant of accounting.
    Would any body suggest this, how it would be mapped it in to SAP.

    Hi Suresh,
    It is possible in Partial billing. Maintain the Billing plan and create a plan with the inputs as u specified.
    Go to IMG-SD-Billing-Billing plan.   Do ur own configuration for Billing plan.
    Now in Sales document creation mode....header details-Billing plan, U block the billing schedules and as per ur requirement , remove the billing block and create billing document.
    If u configured Account detrmination procedure, U wld get the accounting document wrt billing document.
    Hope this wld help U.
    Regards,
    Praveen

  • Can we create two Filters for one cube

    Hi all,
    I created two filters for one cube (in 11v), I assigned this filters to one user in shared services , so which filter work,
    I think ,We have to assign only one filter for one user , please i need clarification....
    Thanks
    Edited by: user98631 on 12 mars 2010 05:13

    You can create many filters for one cube. I usually associate one group per filter and a user can have one or more groups assigned to them. Can't remember what happens when a user has access to conflicting filters (i.e. the order of preference). It is in the DBAG I am sure though.

  • TS1424 Hello! Tell me, why I paid two times for one game? Stray Souls: Dollhouse Story - Collector's Edition HD, Collector's Edition???

    Hello! Tell me, why I paid two times for one game? Stray Souls: Dollhouse Story - Collector's Edition HD, Collector's Edition???

    Check your purchase history. The second charge may be for unlocking someting in the game or might be in-game items.

  • WHILE expression giving Error 306, wrong number or types of args in call to

    WHILE expression giving Error 306, wrong number or types of args in call to '='
    declare
         block_id block;
         item_id item;     
    begin
         block_id := find_block(:system.cursor_block);
         item_id := find_item(:system.cursor_item);
         message('Current Block: ' || :system.cursor_block || '  Current Item: ' || :system.cursor_item);
         next_block;
         while find_block(:system.cursor_block) = block_id
         loop
              message('Current Block: ' || :system.cursor_block || '  Current Item: ' || :system.cursor_item);
              next_block;
         end loop;
    exception
         when others then
         message(sqlerrm);
    end;I don't see what the problem is?
    Gus

    other than that there are logical errors in this
    u hav to use here != with the while loop.
    Again loop willl never return to first block.It will stuck at last block and will show error.
    For ur question u can use as
    declare
         --block_id block;
         --item_id item;     
         vc_first_block varchar2(65);
    begin
         vc_first_block := :system.cursor_block;
         --block_id := find_block(:system.cursor_block);
         --item_id := find_item(:system.cursor_item);
         message('Current Block: ' || :system.cursor_block || ' Current Item: ' || :system.cursor_item);
         next_block;
         while :system.cursor_block != vc_first_block
         loop
    Message was edited by:
    jeneesh

  • How to update the status of Outbound IDOC in case of error

    I want to know about how to update the status of Outbound IDOC in case of error.
    I am using message control functionality here.

    HI,
    If u r using the standard message and basic type
    u can do it in the FM attached to the basic and message type.There u need to write ur own message instead of standard SAP message..chek if there r any userexits available in the FM..where u can overwrite ur own message ..
    If u r using the Zmessage and Zbasic type
    then u need to declare an internal table of EDIDS structure and then append ur message to the internal table..
    idoc_status-docnum   = idoc_contrl-docnum.
      idoc_status-msgty    = <message type>
      idoc_status-msgid    = message-id.
      idoc_status-msgno    = message-number.
      idoc_status-msgv1    = message-message_v1.
      idoc_status-repid    = sy-repid.
      idoc_status-status   = <give the error status>.
      APPEND idoc_status.
    Reward if u find useful
    Regards,
    Nagaraj

Maybe you are looking for

  • Smartmailbox - cut and paste

    I can't cut and paste info from my smart mailbox into a word document. I want to delete the mailbox, but save the content.  Any ideas?

  • Hitting Max Limit on Share Photo Streams - Bug or Feature?

    I am using the Aperture to create Shared Photo Streams.  Everything has been working well except that as I cannot seem to share more than 1390 photos.  I am doing so across 20 or so Photo Streams. When I try and share, say, 100 photos to a new Photo

  • Urgent firmware question (nokia E72)

    i just update my nokia e72 firmware to 031.023... but don have chinese in it.... do this new firmware got chinese + english version? if got how i gonna to flash back to get it?

  • How to use $controller.DateTimeUtils.DateGet method ?

    Hi everyone, Can someone tell me how to use the $controller.DateTimeUtils.DateGet method ? I would like to know whether a date is a saturday or sunday but I can't figure out how to use the method. Thanks in advance Chris

  • Two computers

    I have asked this questioned before but I have one thing to add. I have two computers and I started using one only for my iphone. I want to put my photos on the second computers but there are differences between the computers..contacts.etc and I don'