How to access the global data in user exit.

Hi All,
How to access the global data in user exit.
the question is that when we were writing a code in the FM. i need to read data from the standard program like newly created documen and this document number need to be accessed in my program.
this document number is not imported to the FM i needed to access for frther proceed.
Thanks in advance.

See the below PDF file by Jeff Goldstein. There you can find all the details about accessing data outside of the exit.
[SAP User Exits and the People Who Love Them|]
This will help you to solve your problem.
Karthik D
Edited by: Karthik D on Dec 2, 2008 4:18 PM

Similar Messages

  • How to access the Custom Data type variable given in Expression edit control To and From LabVIEW

    Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
    Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
    VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
    Channel1: Number and
    Channel2: Number
    I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
    I would like to know how to get the values of this custom data type to LabVIEW?
    Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
    how do i need to set this cluster to the Custom Data type variable in TestStand?
    Thanks and Regards

    TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
     LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
    Hope this helps
    ....../ '---_BOT ____________ ]
    1.JPG ‏187 KB

  • How to find the list of all user exits modified by the users

    How to find the list of all user exits using by in R3

    Hi Mohamed
    You use Solution Manager to do the comparison for you.  There are some nice features that will highlight all your customised coding.  Have a look at the SolMan resources on the Support Portal e.g. using SolMan for upgrade comparisons.

  • How to see the last date of user modification , modify type etc......

    Hi All,
    We have installed EP 6.0 ,is there any out to get the details of changes made to a User/User account in the Portal like the following things :
    - last modified date.
    - modify type.
    - modifyed by.
    Secondly is there also any method tro get the following details on Portal for any user account :
    - someone changes the validity dates of a user.
    - updates Roles/Groups to a user.
    - deletes a user. etc.,
    PLZ revert back at earliest , i need this info at earliest.
    With Regards,

    Enable security log as mentioned in the below URL.
    This would capture all the creation/modification/Deletion of users, groups and roles objects.
    The above log will be stored in ......log/system/security.<n>.log and can be viewed with the LogViewer
    Hope this would be helpful.

  • How can I define global variable in user exit whic I can use anywhere.

    Hi all,
    How can I define global variable( Table ) which I can use when it come back to same user exit where I defined and stored some data.
    What I mean is I want to define 1 global table.
    In user exit when it comes I store some information. and again when it will come I will have that stored information so I can use it.
    Thanks a lot in advance.

    You can use EXPORT  TO MEMORY ID and IMPORT FROM MEMORY ID Statement for this.

  • How to find the structure in this user exit

    My requirement is add new field to Delivery due list ALV report(VL10G).For enhance this report i will append one field(LIKP-SDABW) in this structure SHP_VL10_ITEM.This structure is not showing in the include LV50R_VIEWG05
    USEREXIT_PREPARE_LAYOUT_FILL .Where i have to find this structure,and internal tables?
    Please help me.
    Thanks & Regards,

    Hi Sairam,
    Goto the program for transaction VL10G.In that u make a seach for the user-exit
    USEREXIT_PREPARE_LAYOUT_FILL.Then write the logic inside tht.U will need an access key for that.
    <b>Reward points if it solves ur query or answer is helpful</b>

  • How to access the record data send by a procedure

    Hi I have a procedure with below code snippet..
    create package pkg
    type t_rec is recod (id number,id_name varchar2(10));
    type t_data is table of t_rec index by binary_integer;
    act_data t_data;
    procedure return_data is (o_rec out t_data,dept in number,region in number) ;
    create package body pkg
    procedue return_data is (o_rec out t_data,dept in number,region in number) is
    p_cur sys_refcursor;
    l_text varchar2(100);
    indx number:=0;
    open p_cur for 'select id,id_name from tab1'||l_text';
    fetch p_cur into o_rec(indx).id,o_rec(indx).id_name;
    exit when p_cur%notfound; --p_cur.count=0 giving error
    dbms_output.put_line('id is '||o_rec(indx).id); ---- 4
    end loop;
    close p_cur;
    exception ....
    end pkg;Now ---4 is giving me values when i put value to id and id_name parameter.
    Then i try to fetch the returned value by below code
    bk_data PKG.T_DATA;
    PKG.RETURN_DATA(bk_data, 'parameter.pm1', 'parameter.pm2');
    dbms_output.put_line('id is '||bk_data(1).id);
    end;But it is not giving me any data and thowing error " no data found "
    Please help me how i can fetch and se the the data returned by PKG.RETURN_DATA
    Thanks in advance.
    Edited by: bp on May 31, 2012 2:56 PM

    I have corrected my code as below.
    No you haven't. You didn't fix the errors I mentioned.
    Worse you added new lines that have new errors.
    t_data:=&t_data -- i passed 10
    dept :&dept -- ipassd 10You added substitution variables to the package code; those are for sql*plus - not PL/SQL.
    Can ypu please post the sample code that is giving you data for the sample package pkg .
    If you aren't willing to post sample code why should we? The code you posted won't even compile so it can't possibly be the code you are actually using that purportedly has an error.
    exception ....That is invalid code as you undoubtedly know so what does it accomplish by adding it other than making people think your actual code was removed. But that means that the code you removed could have a problem in it that we can't see. And that means we have no hope of finding your problem because we can't see all of the code that might be causing it.
    Please ignore spelling mistakes.
    We can't ignore them if the code you post won't compile with them in it. The word 'procedue' you provided in the original question isn't a spelling mistake; it's because you did not cut & paste your actual code. It means that instead you manually entered text that is not code you are actually using.
    If you really want help with your problem you need to post the code that you are actually using and that is giving you the problem you are reporting.
    l_text varchar2(1000):=null; -- i have built some dynamic whee clause in this variable
    But are you using NULL for this value when you run your test? If not then maybe the problem is in the value that you are using. How could we possibly tell when you don't post what you are using?
    Post the code you are actually using. If you can't do that for proprietary reasons then modify it to remove the sensitive code. But the code you post has to be the code you are using and the code that is giving the problem.

  • I am new to ios & using 5C. I want to know where is all the media (Images, videos, Audio etc) received through Whatsapp are saved after downloading in Iphone. And also how to access the same.

    I am new to ios & using 5C. I want to know where is all the media (Images, videos, Audio etc) received through Whatsapp are saved after downloading  in Iphone. And also how to access the same.

    These are user to user forums.  You ARE NOT addressing Apple by posting here.
    Also, why are you YELLING at us??  Stop using ALL CAPS.
    What steps have you done to try and fix the problem?

  • I used a partitioned HDD for time machine, using a partition already containing other data files. I am now no longer able to view that partition in Finder. Disk Utility shows it in grey and "not mounted". Any suggestions of how to access the files?

    I used a partitioned HDD for time machine, using a partition already containing other data files. I am now no longer able to view that partition in Finder. Disk Utility shows it in grey and "not mounted". Any suggestions of how to access the files? Does using time machine mean that that partition is no longer able to be used as it used to be?
    HDD is a Toshiba 1TB, partitioned into two 500GB partitions.
    OS X version 10.9.2

    Yes, sharing a TM disk is a bad idea, and disks are cheap enough so that you don't need to.
    Have you tried to repair the disk yet

  • How to access the User's login portal ID?

    Hi all,
         How to access the user's portal login id??

    Try this
    String loginuser="";
              IWDClientUser wdUser = WDClientUser.getCurrentUser();
              IUser user = wdUser.getSAPUser();
              if(user != null)
                   IUserAccount acct[] = user.getUserAccounts();
                   if(acct[0] != null)
                        loginuser = acct[0].getLogonUid();
                        strUserid = strUserid + acct[0].getLogonUid();
    }catch(Exception e){
    Kind Regards

  • HT1175 How do I access the backup data on the Time Capsule?

    I can't find the directions on how to access my backup data on the Time Capsule.
    The Time Capsule I have is the Apple APTC2TB, not the newest version.
    Thanks for any help.

    Our forum expert Pondini has done a huge service with all his help..
    Please read the FAQ..
    Q14-17 cover restore.
    There are also instructions in several places.. for instance using migration or setup assistant.
    Also troubleshooting section..
    James who wrote it died before he could get to Mavericks.. but most of it is still relevant.

  • How to access the User Reports using 'Administrator' login in OBIEE 10g

    Is there any way to access the reports saved in Users/'My folders' using the Administrator Login?

    Hi User,
    Create a new shared folder.
    Provide access to all the users.
    Now, ask the user who created the report in 'My Folders' to save the report in this new shared folder.
    And, Delete those reports in 'My Folders'.
    Now, as the report is saved in New shared folder you can access - this one.
    Else--- Ask the user who created the report in my folder to make sure that it is available to all users. (Permissions - Permission should need to be provided for Administrator group)
    Thank you.

  • How does the Global Data Plan affect my limits while still in the states?

      I turned on the Global Data Plan for a trip next week.  Will my normal data limits apply while still in the states this week?

        Hi KBKB,
    I wish you a safe trip next week. The Global Data Plan has no impact on the data plan you would use in the states because they cover data differently at a separate cost and data allowance. Do you need more details on our Global Data plan? Visit
    Thank you! EdW_VZW
    Follow us on twitter @VZWSupport

  • Accessing the global Address List using Java Outlook Connector

    Hi All,
    I have written a code to access the Global Address List using (Jar) in Java outlook Connector
    However i am able to retriev the name and email address of that employee only.
    I want the other details like location(particularly).
    Please help out.

    Ari_Dev wrote:
    The scenario is i am an employee and i want to get information regarding other employees(name,location) which are stored in outlook through my java application(using JOC).Just a point of clarification, there is no actual java code in the Sun Outlook Connector. The use of Java with most of our products names is for marketing/branding purposes only.
    Now there are employees who are not stored in my address book or local contacts.For them when i try to read the GAL i can get only their name and email address.So the 'cn:' (name) and 'mail:' (email address) attributes are being provided by the directory for a GAL search.
    however if i try displaying their details using the JOC it comes with proper information through the outlook pop up but cannot read this data.As I said in my previous response, the data that the Sun Outlook Connector provides in the GAL view is determined by the user that the GAL binds to the directory server as, plus the restrictions that user has on the information the directory server will provide for GAL searches/queries.
    This bind user is usually different from the 'super-user' bind user that UWC/Communications Express uses which is why you may see more information in UWC/CE compared to in the GAL in Outlook.
    Therefore you need to work with the Directory Server administrator to increase the information that the Sun Outlook Connector user is able to see.

  • Best Practices for Accessing the Configuration data Modelled as XML File in

    I refer the couple of blof posts/Forum threads on How to model and access the Configuration data as XML inside OSB.
    One of the easiest and way is to
    Re: OSB: What is best practice for reading configuration information
    Another could be
    Uploading XML data as .xq file (Creating .xq file copy paste all the Configuration as XML )
    I need expert answers for following.
    1] I have .xsd file which is representing the Configuration data. Structure of XSD is
    <Config type="common" key="someKey">proprtyvalue</Config>
    2] As my project will move from one env to another the property-value will change according to the Environment...
    For Dev:
    <Config type="common" key="someKey">proprtyvalue_Dev</Config>
    For Stage :
    <Config type="common" key="someKey">proprtyvalue_Stage</Config>
    3] Let say I create the following Folder structure to store the Configuration file specific for dev/stage/prod instance
    OSB Project Folder
    4] I need a way to load these property file as xml element/variable inside OSb message flow.?? I can't use XPath function fn:doc("URL") coz I don't know exact path of XMl on deployed server.
    5] Also I need to lookup/model the value which will specify the current server type(Dev/Stage/prod) on which OSB MF is running. Let say any construct which will act as a Global configuration and can be acccessible inside the OSb message flow. If I get the vaalue for the Global variable as Dev means I will load the xml config file under the Dev Directory @runtime containing key value pair for Dev environment.
    6] This Re: OSB: What is best practice for reading configuration information
    suggest the designing of the web application which will serve the xml file over the http protocol and getting the contents into variable (which in turn can be used in OSB message flow). Can we address this problem without creating the extra Project and adding the Dependencies? I read configuration file approach too..but the sample configuration file doesn't show entry of .xml file as resources
    Hope I am clear...I really appreciate your comments and suggestion..
    Edited by: Sushil Deshpande on Jan 24, 2011 10:56 AM

    If you can enforce some sort of naming convention for the transport endpoint for this proxy service across the environments, where the environment name is part of the endpoint you may able to retrieve it from $inbound in the message pipeline.
    eg. http://osb_host/service/prod/service1 ==> Prod and http://osb_host/service/prod/service2 ==> stage , then i think $inbound/ctx:transport/ctx:uri can give you /service/prod/service1 or /service/stage/service1 and applying appropriate xpath functions you will be able to extract the environment name.
    Chk this link for details on $inbound/ctx:transport :

Maybe you are looking for