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

Similar Messages

  • MIRO- How to check the Status of Invoice Image in Document

    Hi,
    Can anyone help me extract a report from SAP to identify the list of documents (posted in MIRO) on which Invoice Images are attached? Is there any T-codes or programs? This is required to identify which all documents have invoice images & which are not having.
    Looking for your quick reply.
    Regards,
    Santosh Poojari.

    Hi,
    I  am not able to see T-code MIR5 in the system. Can you kindly help with the correct t-code before I can think of customising.
    Regards,
    Santosh.

  • 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>

  • Using Acrobat Pro how do I lock the fillable fields once the data is collected?

    Using Acrobat Pro how do I lock the fillable fields once the data is collected?

    Hi,
    Have a look at Paul's LockAllFields solution. You can download it in Paul's post here: http://forums.adobe.com/message/3168183#3168183.
    I have a version of it here as well: http://assure.ly/yDtfsM.
    Hope that helps,
    Niall

  • 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 for the sub folder in the document library Is already Exist using CSOM?

    Hi,
    My requirement is to create the  folder and sub folder in SharePoint document library. If already exist leave it or create the new folder and the subfolder in the Document library using client side object model
    I able to check for the parent folder.
    But cant able to check the subfolder in the document library.
    How to check for  the sub folder in the document library?
    Here is the code for the folder
    IsFolder alredy Exist.
    private
    string IsFolderExist(string InputFolderName)
    string retStatus = false.ToString();
    try
    ClientContext context =
    new ClientContext(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryLink"]));
                context.Credentials =
    CredentialCache.DefaultCredentials;
    List list = context.Web.Lists.GetByTitle(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryName"]));
    FieldCollection fields = list.Fields;
    CamlQuery camlQueryForItem =
    new CamlQuery();
                camlQueryForItem.ViewXml =
    string.Format(@"<View  Scope='RecursiveAll'>
    <Query>
                                            <Where>
    <Eq>
    <FieldRef Name='FileDirRef'/>
    <Value Type='Text'>{0}</Value>
                                                </Eq>
    </Where>
    </Query>
                                </View>",
    @"/sites/test/hcl/"
    + InputFolderName);
                Microsoft.SharePoint.Client.ListItemCollection listItems = list.GetItems(camlQueryForItem);
                context.Load(listItems);
                context.ExecuteQuery();
    if (listItems.Count > 0)
                    retStatus =
    true.ToString();
    else
                    retStatus =
    false.ToString();
    catch (Exception ex)
                retStatus =
    "X02";
    return retStatus;
    thanks
    Sundhar 

    Hi Sundhar,
    According to your description, you might want to check the existence of sub folder in a folder of a library using Client Object Model.
    Please take the code demo below for a try, it will check whether there is sub folder in a given folder:
    public static void createSubFolder(string siteUrl, string libName, string folderServerRelativeUrl)
    ClientContext clientContext = new ClientContext(siteUrl);
    List list = clientContext.Web.Lists.GetByTitle(libName);
    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXml =
    @"<View Scope='RecursiveAll'>
    <Query>
    <Where>
    <Eq>
    <FieldRef Name='FSObjType' />
    <Value Type='Integer'>1</Value>
    </Eq>
    </Where>
    </Query>
    </View>";
    //camlQuery.FolderServerRelativeUrl = "/Lib1/folder1";
    camlQuery.FolderServerRelativeUrl = folderServerRelativeUrl;
    ListItemCollection items = list.GetItems(camlQuery);
    clientContext.Load(items);
    clientContext.ExecuteQuery();
    Console.WriteLine(items.Count);
    if (0 == items.Count)
    //create sub folder here
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to see lock status of a table ?

    Hi,
    My question is : how to see the lock status of a table ?
    and how to lock a table except run the FM ENQUEUE_TABLENAME?
    Is there any transcation that can lock a table ?
    thx in advance.

    Hi Vincent
    Via transaction SM12 we can check the lock entries at a particular point of time...
    Kind Regards
    Eswar

  • 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 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

  • 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

  • How to check the status of Oracle DB?

    I just installed the Oracle Express 10 on LINUX machine. I check the status with
    /ect/init.d/oracle-xe status
    and get followings. How can I tell if the Oracle is running or not?
    [root@s003ap03n-test init.d]# ./oracle-xe status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 19-JUL-2010 10:18:45
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 19-JUL-2010 09:58:46
    Uptime 0 days 0 hr. 19 min. 58 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=s003ap03n-test.proactiv.de)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=7070))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
    Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "XE", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Connect with SYS or SYSDBA.
    SELECT instance_name, status, host_name
    FROM v$instance;
    Regards
    Asif Kabir
    Total Questions: *6 (6 unresolved)*
    -- Mark your helpful post as correct/helpful and close all the answered threads.

  • 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.

  • How to check FNDSM Status

    Hi,
    how to check the FNDSMListenerStatus from MT, i know we can use the APPS_sid is the MT listener, is there any other way to check the FNDSM Listener status,
    Thanks

    Hi,
    From the OS, you can use tnsping <FNDSM_*> to check the status of th listener.
    From the database, run the following query and make sure it returns something:
    SQL> select CONCURRENT_QUEUE_NAME
    from FND_CONCURRENT_QUEUES
    where CONCURRENT_QUEUE_NAME like 'FNDSM%';You may also review:
    Note: 735148.1 - How to Troubleshoot Concurrent Manager Start Up Issue Related to Service Manager
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=735148.1
    Regards,
    Hussein

  • How Adobe checks student status?

    I just bought Adobe Creative Cloud for students and my question is how Adobe checks my student status? I didn't receive any email on my .edu account or anything. Do they check it right away during sign up process or they check it after some time? How does it work?

    Hi Kacperel ,
    We collects the academic information as a separate step during the purchase process. However, We performs a spot check on these customers later on. During the spot check process, the education team pulls up the details of a percentage of these customers and validate their eligibility using standard guidelines. If the education team can't validate the customer’s eligibility, then they reach out to the customer requesting further information. If the customer doesn't provide the eligibility documents within 14 days, then their subscription is canceled.
    You can keep using the CC Edu Membership.
    Let me know if you need more info.
    Thanks!
    Eshant

Maybe you are looking for