Get the current status of IDOC

Hi,
I want the current status of IDOC.
Is there any function module through which i can get the current status of IDOC?

Hi,
Use function module "FTR_IDOC_READ", Output structure "PE_IDOC_STATUS" holds the current status of IDOC number
Regards
Vinod

Similar Messages

  • Get the inherited status of attributes

    Hi All,,
    I have a requirement as below:
    o     Every time the program reaches a line where the attribute ID and/or position ID is different from the previous line or for the first line, all attribute values for the dedicated position and attribute ID that are not marked as Inherited need to be deleted.
    For this i want to get the inherited status of the attributes(Whihc is present in my input file)
    can anyone help me in this?
    Moderator Message: Specs-dumping is not allowed.
    Edited by: kishan P on Apr 12, 2011 2:12 PM

    Hi,
    Use function module "FTR_IDOC_READ", Output structure "PE_IDOC_STATUS" holds the current status of IDOC number
    Regards
    Vinod

  • Database Control always gets "The database status is currently unavailable"

    I have two 10.1.0 databases installed on a Windows XP machine. Instance orcl always gets this message. Instance orcltwo does not. If I shut down orcl and then start the web database control page I can select the startup button and it starts up the database and then goes back to the pages that says that the database is not available. The console for that database is running with no errors that I can find. The DBSNMP account is not locked. The SYSMAN account is not locked. There are no errors in any log file that I can find. What am I doing wrong here. The orcltwo instance has no problems at all.

    Just to share this experience with everyone. This happened with Grid Control (not sure if it applies to Database Control).
    All the targets in EM (except the Agent) showed Down or Unavailable for two weeks. This is how I checked it.
    Note that if the Agent is not able to upload Metrics to the repository due to one reason or the other, you will not be able to see the current status.
    Assuming your ORACLE_HOME is different from your AGENT_HOME. Check the emagent trace file in the Agent home.
    e.g with AGENT home as D:\oracle\agent\
    check D:\oracle\agent\sysman\log\emagent.trc to see the latest error message.
    Then check the upload directory to see if there are xml files waiting to be uploaded
    e.g D:\oracle\agent\sysman\emd\upload
    This directory should be clear of .xml file if your metrics loading is working.
    From the Agents Monitoring screen in Enterprice Manager (Management System -> Agent), under the Upload session where there is Upload Metric Data button, check for "Last Successful Upload" and "Data Pending Upload " and any error messages. If the Metric upload is not working, the Data Pending uplaod will be more than 0.00MB and the error message link will show you the xml file it is unable to load. Which you will find in my example D:\oracle\agent\sysman\emd\upload
    I my example upload file B0002332.xml is the one I found on the error url and when I viewed it in the directory, the structure is different from others. This inability to load it caused all other upload files to be queuing. There was a line in it as
         <METRIC_GUID><![CDATA[€=3F6739EE03C21CE7CA5E32FD9185]]></METRIC_GUID>
    Looking at the structure of other files, I took a guess (not the best , this is a test EM) and changed it to
         <METRIC_GUID>80C23F6739EE03C21CE7CA5E32FD9185</METRIC_GUID>
    Then all the two weeks 32MB of xml files loaded automatically within seconds. Logoff EM and Login, everything showed the correct status.
    Hope this helps.

  • Oracle 11i release 2 error "Unable to get the current group"

    Hi oracle gurus,
         I have been trying to install oracle 11g rel 2 on HPUX 11.31 and i am getting the following error
    # more installActions2010-01-06_10-27-37AM.log
    oracle.install.ivw.db.driver.DBInstaller
    -scratchPath
    /u01/tmp/OraInstall2010-01-06_10-27-37AM
    -sourceLoc
    /u01/install/database/install/../stage/products.xml
    -sourceType
    network
    -timestamp
    2010-01-06_10-27-37AM
    INFO: Loading data from: jar:file:/u01/tmp/OraInstall2010-01-06_10-27-37AM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigComma
    ndMappings.xml
    INFO: Loading beanstore from jar:file:/u01/tmp/OraInstall2010-01-06_10-27-37AM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigC
    ommandMappings.xml
    INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/u01/tmp/OraInstall2010-01-06_10-27-37AM/ext/jlib/installcommons_1.0.0b.jar!/
    oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    SEVERE: [FATAL] An internal error occurred within cluster verification framework
    Unable to get the current group.
    Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:11
    INFO: Advice is ABORT
    SEVERE: Unconditional Exit
    INFO: Adding ExitStatus FAILURE to the exit status set
    INFO: Finding the most appropriate exit status for the current application
    INFO: Exit Status is -1
    INFO: Shutdown Oracle Database 11g Release 2 Installer
    $
    >>
    # more oraInstall2010-01-06_10-27-37AM.err
    ---# Begin Stacktrace #---------------------------
    ID: oracle.install.commons.util.exception.DefaultErrorAdvisor:11
    oracle.cluster.verification.VerificationException: An internal error occurred within cluster verification framework
    Unable to get the current group
    at oracle.cluster.verification.ClusterVerification.<init>(ClusterVerification.java:200)
    at oracle.cluster.verification.ClusterVerification.getInstance(ClusterVerification.java:294)
    at oracle.install.driver.oui.OUISetupDriver.load(OUISetupDriver.java:407)
    at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:161)
    at oracle.install.commons.base.driver.common.Installer.run(Installer.java:216)
    at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:126)
    at oracle.install.commons.util.Application.startup(Application.java:869)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)
    ---# End Stacktrace #-----------------------------
    <<
    $ uname -a
    HP-UX rx2600 B.11.31 U ia64 <XXXXXXXX> unlimited-user license
    # swlist | grep -i oe
    HP-Caliper-PERF C.11.31.04 HP Caliper OE Bundle
    HP-WDB-DEBUGGER C.11.31.04 HP DEBUGGER OE Bundle
    HPUX11i-DC-OE B.11.31.0903 HP-UX Data Center Operating Environment
    # swlist | grep -i qpk
    QPKBASE B.11.31.0903.334a Base Quality Pack Bundle for HP-UX 11i v3, March 2009
    # swlist -l product | grep -i c++
    ACXX C.06.20 HP C/aC++ Compiler
    C-ANSI-C C.06.20 HP C/aC++ Compiler
    PHSS_37501 1.0 aC++ Runtime (IA: A.06.16, PA: A.03.76)
    PHSS_39824 1.0 HP C/aC++ Compiler (A.06.23)
    i start the installation as oracle and my group and user id is
    $ id
    uid=109(oracle) gid=102(oinstall) groups=101(dba),104(asmdba)
    Please let me know what else do i need, we might have to use the hardware for testing another application so i am limited in terms of time constraints
    any help is much appreciated, Thank you!!
    Regards,
    Dasjith
    Edited by: user10247524 on Jan 6, 2010 7:52 AM

    Hi Stig Sundqvist
    Where can i find MOS Doc 983713.1 ??You have to login https://support.oracle.com/CSP/ui/flash.html and you have to CSI account. This site is oracle site for tech. documents for can rise SR etc.. for more details please check
    What is CSI:
    Re: Installing Oracle Database 10.2.0.4
    And how do i do to fix this problem ????Login metalink then find upper note and follow document
    Hope it helps
    Regard
    Helios

  • How to get the current week from sysdate?

    Hi sir,
    i want to know how to get the current week from sysdate?
    thanks

    Hi Nicolas
    It seems you like to check my post and also make commend ;) thanks for your attention
    Have you ever read the posts above and given solutions ?Yes, I did
    Have you read the docs ? Yes, I checked
    What's the added value here ?Did youYou shared doc with solution(long one), I shared short one which point same solution(Check what Joel posted)..So what is benefit, As you can guess oracle docs are sometimes become so complicated as specialy for beginner...(At least it was like that for me and Belive me somedocs are still sooo complicated even for oracle coworkers ) But for you I dont know ;)
    => Why writting the PS in bold ?Why.. Let me think... Ohh Maybe I am looking some questions(many) and even user get answer they should not changed status so I am reading some posts and try to get problem and loosing time..
    So I am putting that PS wiht BOLD because I dont wanna lose time my friend ;) Because While I am trying to help ppl here In same time I am trying to giving support to my customer prod systems. Which mean time is very important for me...
    Hope my answer could satisfy you..
    One important PS for you.. You may not like my posts (or someone) but my friend I become tired to read&answer and make commend to on your comment which is about my posts.
    I am not newbie in forum(At least I fell like that) and I belive I know how I should make post..
    Thank you
    Regards
    Helios

  • How to get the current slide Index or Id?

    I can get the selected slide of presentation use blow method.
    Office.context.document.getSelectedDataAsync(Office.CoercionType.SlideRange, function (asyncResult) {
    if (asyncResult.status == Office.AsyncResultStatus.Failed) {
    write('Action failed. Error: ' + asyncResult.error.message);
    else {
    write('Selected slides: ' + JSON.stringify(asyncResult.value.slides));
    But, How can I get the executor slide?

    ​Hi,
    >> How to get the current slide Index or Id?
    In my option, when you select a slide, it change to current slide. So, you could use the getSelectedDataAsync method to get the current slide, and then get the index or id by using the Slice object. You could refer the link below for Slice Object.
    # Slice.index property (JavaScript API for Office)https://msdn.microsoft.com/EN-US/library/office/jj715285.aspx?f=255&MSPPError=-2147217396
    Some key code as below:
    <script>
    function getText() {
    Office.context.document.getSelectedDataAsync(Office.CoercionType.SlideRange,
    { valueFormat: "unformatted", filterType: "all" },
    function (asyncResult) {
    var error = asyncResult.error;
    if (asyncResult.status === Office.AsyncResultStatus.Failed) {
    write(error.name + ": " + error.message);
    else {
    // Get selected data.
    var dataValue = asyncResult.value;
    write('Selected data is ' + dataValue.slides[0].index);
    // Function that writes to a div with id='message' on the page.
    function write(message) {
    document.getElementById('message').innerText += message;
    </script>
    >> How can I get the executor slide?
    What do you mean by this? Is this a new issue which is different from the above issue? If so, I will recommend you post a new thread for this issue and share us more information about this.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BADI for CJ20N to get the WBS status when changed

    Hi all,
    Here's the requirement:
    I have to capture the previous status and currently changed status of the WBS element in CJ20N T-CODE and save this in the ZTABLE.
    Every time the STATUS of WBS element changes..the ZTABLE has to get updated.
    Will you please help me out to do this.
    I have tried with BADI - WORKBREAKDOWN_UPDATE, could find that the status part is updated after the call to WORKBREAKDOWN_UPDATE.
    Thanks and Regards,
    Krishna Chaitanya G
    Edited by: Krishna Chaitanya  G on Apr 27, 2009 6:30 PM

    Use BADI WORKBREAKDOWN_UPDATE method AT_SAVE.  The WBS elements are in internal table IT_WBS_ELEMENT which has structure PRPS.  Use OBJNR to find status with function module
    CALL FUNCTION 'STATUS_READ'
      EXPORTING
      CLIENT                 = SY-MANDT
        objnr                  = gs_wbs_element-objnr
        ONLY_ACTIVE            = ' '
      TABLES
        STATUS                 = et_status
      EXCEPTIONS
        OBJECT_NOT_FOUND       = 1
        OTHERS                 = 2
    The statuses are buffered in a separate memory area so be careful if you call any function modules that affect statuses e.g one to create Sales Orders as this initializes the buffered statuses and they are not changed when you save the WBS element.  To get round this problem put the current status in a separate memory area carry out the processing that initializes the statuses and then recall the status from memory.
      CALL FUNCTION 'STATUS_BUFFER_EXPORT_TO_MEMORY'
        EXPORTING
          i_memory_id = 'ZPSS_STATUS'.
      LOOP AT gt_pss_01 ASSIGNING <ls_pss_01>.
        AT NEW sold_to_party.
          CLEAR: ls_order_header,
                 lt_order_items,
                 ls_order_partners,
                 lt_order_partners.
          "Header
          ls_order_header-doc_type = c_rsbill_order_type.
          CALL METHOD <ls_pss_01>-o_pss01->get_sales_area
            IMPORTING
              e_sales_org  = ls_order_header-sales_org
              e_division   = ls_order_header-division
              e_distr_chan = ls_order_header-distr_chan
            EXCEPTIONS
              not_found    = 1.
          IF sy-subrc NE 0.
            CONTINUE.
          ENDIF.
          "Partner
          IF <ls_pss_01>-sold_to_party IS INITIAL.
            CONTINUE.
          ENDIF.
          ls_order_partners-partn_role = 'AG'.
          ls_order_partners-partn_numb = <ls_pss_01>-sold_to_party.
          APPEND ls_order_partners TO lt_order_partners.
        ENDAT.
        "Items
        CLEAR ls_order_items.
        ls_order_items-itm_number = <ls_pss_01>-posnr.
        ls_order_items-material = c_rsbill_material.
        ls_order_items-wbs_elem = <ls_pss_01>-posid.
        APPEND ls_order_items TO lt_order_items.
        AT END OF sold_to_party.
          CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
            EXPORTING
              order_header_in   = ls_order_header
              behave_when_error = space "'P' "Save when error occurs
              testrun           = space
            IMPORTING
              salesdocument     = <ls_pss_01>-sales_order
            TABLES
              return            = <ls_pss_01>-bapireturn
              order_items_in    = lt_order_items
              order_partners    = lt_order_partners.
        ENDAT.
      ENDLOOP.
    *--Re-fill status from memory
      CALL FUNCTION 'STATUS_BUFFER_IMPORT_FROM_MEMO'
        EXPORTING
          i_memory_id = 'ZPSS_STATUS'.
    Hope this is of some use

  • How to get the current filename and & or path

    How can I get the current path or filename?
    I didn't really find any answers in the net. this.path or app.path were suggested but I couldn't get it to work.
    Thanks in advance for your answer!
    Livecycle Designer ES 8.2.1.3144.1.471865

    Hi,
    event.target.path.toString();  will give the full path including the filename.
    event.target.documentFileName.toString();  will give the filename only.
    Good luck,
    Niall

  • How to get the current path of my application in java ?

    how to get the current path of my application in java ?
    thanks

    To get the path where your application has been installed you have to do the following:
    have a class called "what_ever" in the folder.
    then you do a litte:
    String path=
    what_ever.class.getRessource("what_ever.class").toString()
    That get you a string like:
    file:/C:/Program Files/Cool_program/what_ever.class
    Then you process the result a little to remove anything you don't want:
    path=path.substring(path.indexOf('/')+1),path.lastIndexOf('/'))
    //Might be a little error here but you should find out //quickly if it's the case
    And here you go, you have a nice
    C:/Program Files/Cool_program
    which is the path to your application.
    Hooray

  • How to get the Shipping status of a Invoice items in SAP?

    Hi All,
    Is there any way to get the Shipping status of a Invoiced Item ?
    While i extracting Sales Invoice lines,i can get the shipping method and the shipping date,how can i confirm whether the item is shipped or not?.
    Is there any table which contains the shipping status or any column in Invoice lines(INV1) which contains the shipping status?
    Please help me to come out from that problem
    Thanks
    JanakiRaman

    Hello Gilbert,
    The column what you specified INV1.TRNSCODE is to know how the shipping was done. My question, Is there any field to specify the material was shipped or not?
    Thanks
    Janakiraman

  • How to get the current user name of the host who is occupying a specific VM?

    I'm developing a winform app with c# code to manage Hyper-V. I need to remind someone if he/she would take a VM which has already been occupied by others.
    Is there any powershell cmd or WMI interface to get the current user of a specific VM?
    Thanks!

    Hiya,
    from cmd there are quser(Query user) and qwinsta(Query Session)
    which should give you that. Don't know how you can incoorperate that in C#, but that should give you something to work with :)
    https://technet.microsoft.com/en-us/library/cc785434.aspx
    https://technet.microsoft.com/en-us/library/cc788125.aspx

  • HT1338 my mac is running 10.5.8, I bought a new Nano, itunes is prompting me to get the current itunes, but my mac will not take it, states I need 10.6.8.  How do I get that?  When I run a software update, system says there is none.  Help

    my mac is running 10.5.8, I bought a new Nano, itunes is prompting me to get the current itunes, but my mac will not take it, states I need 10.6.8.  How do I get that?  When I run a software update, system says there is none.  Help

    Click here, check that your computer meets the requirements, buy and install the DVD, and then run Software Update.
    (73181)

  • How to get the current page URL

    HI All
    I am working in oracle apps 4.0
    I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
    How to get the current page url for the page item.
    Any steps should be help ful
    Thanks & Regards
    Srikkanth.M

    I'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
    If you want permanent/ID-independent links then use application and page aliases.
    so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
    Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
    There are many ways to provide links in APEX&mdash;including lists and nav bars.
    Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
    f?p=UNITY:ABOUT:&APP_SESSION.

  • How to get the "current date" in the BEx?

    Hi all,
    I need to get the "current date" in my Bex report in order to make a comparison. I know there is a "How to" which shows how to get the current date via a User Exit, but I didn't find it. Could you please help me?
    Thanks

    1. Create a  New Formula in Key Figures structure
    2. Give tech name and description and Select "New variable" option
    3. Next screen will launch Variable Wizard -> create a new variable with replacement path as processing type
    4. in next screene  select the date characteristic that represents the first date to use in the calculation (From Date)
    5. In the next  screen select Key in the Replace Variable with field. Leave all the other options as they are
    6. In the next Currencies and Units screen select Date as the Dimension ID.
    6. Save variable
    repeate the Above steps to create another variable (To Date)
    and now you can use these two new replacement path variables in your new formula.
    Dev

  • How to get the current logical system?

    Dear Abapers:
    I can't find the logical system value from the table SYST, pls tell me how to get the current logical system name, Thanks!

    Hi,
    Check with the table T000, the Logical system field name is LOGSYS.
    Regards
    Thiru

Maybe you are looking for

  • SAP message Log

    Does SAP maintain log of all the messages displayed on screen using MESSAGE statement? We are investigating a problem and want to see the messages displayed by SAP during the time when problem occured.

  • How to View/manage Files on Internal Storage?

    Does anyone know how to view/manage files on the Droid Mini? I did find a list of 'Misc. Files' in 'Settings' under 'Storage'. But it only gives the option to delete. My old phone had a 'Files' app (that came on the phone) where I could view/manage a

  • Workflow Trivia....and begin..

    TOOLS: FCP 5.04, G5 Quad, 8GB of Ram. FACTS: 90min program that needs to go to DVD Studio Pro 4 but cannot go thru Compressor from FCP. I have to run Compressor on another machine to keep the Quad open for other projects. A Quicktime Movie file said

  • Stereo balance in Windows Media Enco

    I have noticed a problem with stereo balance and separation using sound blaster products for input to Windows Media Encoder. One channel bleeds into the other, and the level indicators in WME don't work properly. Is there a way to correct this? Some

  • Material availability Date - User Exit

    Dear All, Can any one help me in finding out User Exit to change Material Availability date in VA01, which system propose automatically. The Problem is I need to assign Mat aval. date as say SY_DATUM + 60. Then system should take this date for ATP ca