How to check idoc status through code

Hi All,
Can we check idoc status from within the code? My requirement is that once the idoc is transmitted correctly(status 12) to the system (outbound),I need to update a few fields in my custom table.
Please share some information if available on this.
Thanks and Regards,
Ameya Kulkarni

Hi
The table EDIDC will contain the necessary information.  Please check.

Similar Messages

  • How to close infopath form through code?

    Hi All,
    How to close infopath form through code, thanks in advance!

    Hi Sam,
    Please check if the articles below can be help:
    http://www.bizsupportonline.net/browserforms/programmatically-submit-infopath-form-sharepoint-send-email-close-form.htm
    http://www.bizsupportonline.net/blog/2009/01/how-to-programmatically-run-code-close-infopath-web-form/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to invoke safari browser through code?

    how to invoke safari browser through code?

    Hi Sam,
    Please check if the articles below can be help:
    http://www.bizsupportonline.net/browserforms/programmatically-submit-infopath-form-sharepoint-send-email-close-form.htm
    http://www.bizsupportonline.net/blog/2009/01/how-to-programmatically-run-code-close-infopath-web-form/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to check lock status of field in current document?

    Hi,
    How to check the status of field in current document(master agreement), that is whether its locked or not.
    I locked "Publish to Supplier" checkbox after MA is saved first time. Now, I want to check the status whether this field is locked or not in the same document.
    IsLockOwner( ) is not returning the correct value. Its not giving the current document field lock status.
    Is there any way to get current document field status?
    Thanks,
    Saloni

    Hi,
    If I understand correctly, your requirement is to get the value of this field "Publish to Supplier on". It can be achieved by writing the below:
    isVendorVisible = doc.getExtensionField("VENDOR_VISIBLE").get();
    Meaning, if the box is checked, it will return a value = true and if not then false.
    Hope this helps,
    Regards,
    Vikram Shukla

  • Hi GIRU,How to check workflow status in a database

    Hi GURU,
    I am a DBA one user asked me to chke the workflow status for om order line in database.Any body help me how to check the status of workflow om order line in database.

    See Oracle Database FAQs
    </br>

  • How to check import status in Windows??

    Hi,
    Import is running in my Wndows box.The log file is not updating from since long time. How to check the status of the import job??FYI its oracle 10g.
    And i checked from databse that.
    FYI
    ===
    Select * from DBA_DATAPUMP_SESSIONS;
    no rows selected.
    select * from DBA_JOBS_RUNNING;
    no rows selected
    select username,machine,module,sid,state,event,seq#,seconds_in_wait from v$session where type<>'IMPORT' and username='AUTOTIME';
    no rows selected
    Plz let me know.

    Hi
    use the below script two times and check the output.
    select
    substr(sql_text,instr(sql_text,'into "'),30) table_name,
    rows_processed, round((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60,1) minutes,
    trunc(rows_processed/((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60)) rows_per_minute
    from
    sys.v_$sqlarea
    where
    sql_text like 'insert %into "%' and command_type = 2 and open_versions > 0;
    KK

  • How to check system status from Windows command line?

    Does anyone has an idea how to check system status from Windows command line? In UNIX we use startsap check, unfortunately I didn't find an appropriate command provided by SAP.
    The only idea we have is to use
    tasklist /FI "Username eq SAPService<SID>" | find "disp+work"
    which isn't as nice as startsap check.

    Hi,
    In windows you can use the command
    go to profile directory in command prompt and the give the following command to check the status of the instance.
    sapstart check pf=START_DVEBMGS<nr>_<hostname>
    that means you need to mention start profile or instance profile. So that it will say whether the instance is running or not.
    If you want any other information please reply back to me.
    Thanks,
    Chaitanya.

  • How to check the status of an IDoc in the Target system

    Hi Experts,
    we are using a self-made program to send Material and BOMs from Client A to Client B into the same ERP System.
    How can I check the status of an IDoc in the Target Client B (like BD87 - ALE Monitor) ?
    If you have some examples or Function, please give me the information.
    Rewards if helpful.
    Regards,
    David

    Hi David
    As mentioned in the earlier reply you can check your status with tcodes:-BD87,WE02,WE05.What i guess from your querry is the staus of your idoc whether posted or not in target client B.Check in the target client for the message type which you are using (since its an program that means you must be using an customised idoc type or standard) .You might have maintained Basic type tcode:-WE30.Give in your messagetype,Basictype,Created at and executed using tcode :- BD87.The prerequisites are you need to create an Partner Profile(WE20) .For this you need to create to provide in your message type and Process code(we41,we42,we57).If you have to create an process code for customised one(se37) .You need to actuivate the idoc inbound processing .If you are using a file in your file make it sure the port is being maintained for the same to chek for unicode format in tcode :-WE21 (check or uncheck).
                    For standard BOM i recon you are using message type :-BOMMAT  and Processing code as:-BOMM.Its always advisible that instead of using an whole abap program you need to have an ETL tool that would take care of the extraction of data provided your client do have existing Legacy system in its place since it would be much faster and easier.
    Regards
    Somnath

  • Updating IDoc Status through PI

    Hello Experts,
    We are sending an IDoc to a third party system through PI 7.1. From there we are planning that they will send a acknowledgement. It will contain the Idoc number and its status (whether it got processed at their end or not).
    The requirement is that according to the status we have to update the IDoc status in R/3 system through PI 7.1.
    Kindly elaborate on how to do this? Are there some scenarios done like this?
    Thanks in advance,
    Suraj Sawarkar

    Hi Suraj,
    Check this: call the RFC 'WDLD_EDI_STATUS_SET'. Pass it the Idoc number(s) and status.
    Another alternative is given here
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/post-idoc-status-record-using-an-rfc-2539010
    Regards
    Suraj

  • How to check the status of file downloading?

    I have to download the selected file by using "file download" dialogue box.
    This "File Download" dialogue box provides options for "Open", "Save", "Cancel" or "More Info". It is similar to usual "File Downloading".
    And i am required to do further processing only if , file is "Open" or "Save".
    So how can i check the status of the option selected by the user?
    Following is the code snippet:
    res.setContentType("text/plain");
    res.addHeader("Content-Disposition", "attachment; filename=" +value);
    try
         uFile= new File(fPath);
         fSize=(int)uFile.length();
         fis = new FileInputStream(uFile);
         c=-1;
         while ((c = fis.read()) != -1)
              out.print((char)c);             
         fis.close();
         out.flush();
         out=null;
    catch(Exception e)
           out.println("Exception : " +e);
    } I tried to generate a flag and inside a while loop, and then checking the status of that flag outside of loop.
    But it doesn't work.
    It reflects the value of flag even if user selects "Cancel" Option.
    So, if there is any another way of checking the option selected by user from "Open","Save" or" Cancel", then please reply me.
    Thanks in advance.

    Is there any solution for this or any web link for this...?
    Thanks in advance,
    Waiting for reply

  • How to handle idoc status record.

    Hi expert,
    We have configure custom idoc, the status of inbound custom idoc when posting by process code is 64 (Ready to posting), How we can post with status 54, have any idea ?
    When I am using report RBDAPP01, it is in status 51 (Error),
    How I can change the idoc status with 54 (Successful).
    Please help,
    Regards,
    study sap

    hi,
    Retrigger from here
    Try with tcode BD87 For Inbound IDOCS.
    or BD88 for outbound IDOCs.
    Refer these links
    http://sap.ittoolbox.com/groups/technical-functional/sap-interfaces/idoc-status-64-1258234
    http://help.sap.com/saphelp_sm32/helpdata/en/52/16adef543311d1891c0000e8322f96/content.htm
    Cheers
    Mohinder Singh Chauhan
    Edited by: Mohinder Singh Chauhan on Jul 21, 2008 8:08 AM

  • How to change Idoc Status

    Hello Friends,
    How can i change status of Idocs from 02, 51, 64 to below status
    31 for Outbound idocs
    68 for Inbound Idocs
    I have searched the forum, and many people are advising to use BD87 to perform it.
    I have checked BD87 and i am unable to find option to change status to 31 or 68
    There is some thing similar
    BD87 -> Give input and Execute -> Goto -> Transactional RFC -> Convert Idoc Status -> but here there is no option to give final status 31 or 68. Even though i have executed, but status is not changed.
    Can any one please let me know what is correct path (or) any thing wrong ?
    Thank
    Tony

    for inbound run RBDAPP01 / RBDMANI2 depending on status 64 or 51, outbound RBDAGAIN for 02, uncheck background processign at the bottom of the screen, and on the next screen press Delete.

  • How to check the status of instance in my Process

    Hi,
    I have a requirement where I want to check for the status of an instance and if completes in error then send an email. I've been told that there are Bpel tables where I can check the status and there are also Bpel API's I can use.
    Can you please let me know what is the best way to do this and if so, some guidelines on how do I design this...I'm fairly new to BPEL and would really appreciate your help
    Thanks
    -Prapoorna

    Hi
    First let me explain how I understand your requirement.
    There is a bpel instance. This can either complete successfully or with error (basically some fault has occurred).
    If the process completes with error a email should be sent.
    Well this is how I would design this.
    Put the code that might succeed or fault in a scope. Add catch or catchAll block in the faultHandler of the scope.
    Write the email stuff in the faultHandler.
    Just in case you are still interested you can find the instance state Bpel table details in the below link.
    http://oraclebpelindepth.blogspot.com/2008/08/bpel-process-states.html
    If you are willing to explore the Java API stuff you can find some useful stuff in here.
    http://oraclebpelindepth.blogspot.com/search/label/Java%20API
    This will tell you how to setup context, include which jars and a simple java thing to see some thing working.
    Now regarding state, you can use locator.listInstances(WhereCondition wc) to get instances list in IInstanceHandle[].
    In the IInstanceHandle use the method getState() to get the state of the instance.
    Every Little Helps
    Kalidass Mookkaiah
    http://oraclebpelindepth.blogspot.com/

  • How to check on status of a ticket?

    I have a ticket concerning coverage problems at my home and was given a ticket number and was told that I would be able to check the status of the ticket on myVerizon.  So far I have not found out how to do that via the verisonwireless web site. If someone knows how, I would sure appreciate the instructions.
    Thanks,
    Jim

        Hi Magaliajim,
    Oh my! We can locate the status of the ticket here. When was ticket submitted? Did you receive a notification via email or text that your ticket was completed or resolved?
    Thanks,
    PamelaF_VZW
    Tweet us @vzwsupport

  • Program to check IDOC Status

    Hi,
    I am new to ABAP and this is my first assignment so request you to please help me with step wise details.
    I have to create a program which should trigger the mail automatically to the specific set of people about the status of an IDOC as per the
    Message Type,
    Direction,
    Message Variant,
    Message Function.
    Thank you
    I hope this is markes as question

    I am not a ABAPer but I will tell what we did to achieve this for Inbound IDOCs.
    We had different plants across the globe and they send IDOCs into SAP and wanted to send a status email to the plant leads if the idocs posted in SAP or not.
    We created a Business Workplace SBWP distribution list with plant code in the distribution list name, and included all the list of people email address in this distribution list who should receive the IDOC status email when IDOC's failed to post in SAP.
    In the inbound Process Code/Function module WE42, you can also click on process code from WE20 for your inbound message type and go to the function module characteristics and in the event INPUTERROROCCURRED, my ABAP team wrote the code to look for distribution list for the plant where the IDOC is coming from based on partner profile that we setup in WE20 and send an email out.
    Please also look into
    Mail to be triggered when IDOC fails
    thanks

Maybe you are looking for

  • How do I change the text of a specific MESSAGE field for a specific Alert

    I want to change the text for the "Message" field (10.2.0.5 OEMGC) for the "Blocking Session Count" alert that shows up in Notifications. Does anyone know where the text is stored? I do not find it in Preferences>Rules in the Console nor in any obvio

  • Storing and displaying web sites

    Hi, I'm writing an RSS Aggregator and I want to be able to download an HTML web site and present it to the user in a nice way. I know there are some very nice existing browsers out there, but the problem is they all take a URL. Therefore, they requir

  • Passing drop down value to java code

    Hi, I am using a htmlb dropdownlist element in a jsp file. And I have included the java code in the same jsp. I need to know how to pass the selected value from the drop down to the java code. Can anyone please help? Thanks & regards, Malita Fernande

  • My only font size option is px

    I am using Dreamweaver CS6. The only font option I ever get is px choices.  The CSS option Type Font size dropdown is greyed out and locked on px I have read that the default option should be percentage, but I cannot get that to appear. Advice would

  • Multiple ipods.exclusive playlists

    Someone PLEASE help me. We have 3 ipods in our home, a 4th gen, a 5th gen and a shuffle. I do NOT want all my son's music on my ipod, but even when we sign in as different individuals, all his junk gets put on our other ipods. Tell me how to make it